[03:25] superfly: how long ago did you get here? [03:26] but you have been to the usa before right? === urbanslug is now known as zipper [08:14] morning all [08:37] hi nsnzero and everyone else [08:37] hi Kilos how you doing ? [08:37] ok ty and you [08:40] bored atm - doing some research .... very boring stuff though [08:42] Good morning all [08:42] morning Langjan [08:43] You well nsnzero? Hope you had a good Christmas === MaNL is now known as MaNI [09:15] You there Kilos? [09:28] hi Langjan [09:29] compliments of the season to you and family [09:33] And to you many thanks Kilos [09:34] Maybe you saw my mail, got the Nautilus menu view sorted [09:35] well done [09:35] i been outside mostly [09:35] thks, you taught me to use Synaptic [09:35] hahaha [09:35] synaptic is a good tool [09:36] Yes indeed [09:36] Sri Lanka 22-3 [09:36] sjoe [09:36] Also managed to sort my light prob [09:37] you wont believe... [09:37] I was working with the wrong globe! Lmga! [09:41] hahahaha [09:41] always look at the basics first [09:41] Very confusing system with four globes [09:41] lol [09:43] You feeling OK? I was worried when I did not see you online yesterday [09:44] went to a friend of ians, sorry should have told peeps here [09:44] im ready to go lie down now again [09:44] No prob as long as you are fine and enjoyed it [09:44] bit heavy feeling [09:45] Have a god rest [09:45] good [09:45] ty you look ater you as well and shout if you need help [09:46] Many thanks appreciated, all seems fine even graphics behaving [09:46] yay [09:46] good to know [09:47] Mooi loop rus ;lekker en drink baie water op 'n leƫ maag [09:47] ok dankie sal so maak [09:48] en sny die gifpyle uit... === urbanslug is now known as zipper [17:44] evening all [18:13] spent the afternoon with the girl who I hope will be my next girlfriend :3 [18:14] there aren't words that I can use to tell you guys how awesome she is [18:15] jerit: apart from awesome? :D [18:15] nsnzero: did you make the algo faster? or next challenge? [18:16] kulelu88: the word awesome is cheap in this case. It doesn't nearly even begin to be sufficient [18:17] you're new here jerit . Must be a young guy :P all the old ooms here only complain about their wives :D [18:17] I'm 29 lol [18:17] that's young ;) [18:17] was just gonna say :P [18:18] are you on zatech also? jerit [18:18] thing is all you old ooms complaining about your wives have done something I've not yet managed... you got a woman to agree to spend a significant amount of time with you [18:18] kulelu88: nope, never heard of it [18:18] "all `you` old ooms"? I'm not old :D [18:19] lol sorry [18:20] you a programmer? what language? jerit [18:20] mostly .net stuff but getting deeper and deeper into linux [18:21] the "dark" side for you Win programmers [18:24] eh I don't mind really... php is much the same as c# syntactically [18:24] its python I don't understand [18:26] that comes as a shock, considering Python has the easiest syntax [18:26] its more the application structure that I don't get [18:26] of Django? [18:27] of python [18:27] hi jerit and kulelu88 [18:27] hello [18:27] there is no standard app structure in Python [18:28] design-decisions are made by opinionated frameworks [18:28] opinionated? [18:28] kulelu88: i dont think i can make this code faster without resorting to c [18:28] django, like rails, is opinionated [18:28] nsnzero: you can try Cython :P [18:29] anyways, ja, I think another challenge would be more fun [18:29] I didn't get to see your code though [18:29] what is am trying to do is save previous result and use that [18:30] caching? [18:30] that's cheating :P [18:30] ya thats 1 way to make it faster [18:31] nsnzero: try this challenge: given a number, find all the even numbers and sum all the even numbers up [18:32] cython i never really tried it - seems like you have to declare like c [18:32] cython is easier than C or Go [18:38] kulelu88: the code https://bin.snyman.info/mmmw7f9a [18:40] so the challenge is say 12345678 is given , now do i add up 2 4 6 8 ? [18:45] jerit: best of luck with the girl btw [18:45] nsnzero: thanks :) [18:50] nsnzero: say I give you the number 5438, find all the even numbers from 1 to 5438 and then add them up [18:50] including 5438 [18:51] oh - my misinterpretation of the question [18:54] small change to the program that i wrote to add the even numbers found in a long number [18:55] that's part 1 of the challenge :D [18:55] kulelu88: best prep another question i am almost finished [19:04] part 2 please kulelu88 [19:05] nsnzero: now find all the odd numbers and add those up [19:05] then, subtract the total of all the even numbers from the total of all the odd numbers [19:08] done kulelu88 [19:09] nsnzero: can you test to see if a trend exists by testing: (sum of even numbers) - (sum of odd numbers) = answer (by repeating experiment about 10-1000 times) [19:15] I'm not sure if you could use a lib to find a trend [19:15] maybe the math lib supports it [19:16] i have a research the maths module - but i can see it already [19:18] what is the trend? [19:18] very interesting to know [19:18] math is beautiful :'D [19:19] for an even number the difference is number/2 [19:19] for an odd number the difference is (number -1) /2 [19:19] need to put both together somehow [19:20] very interesting to come to that conclusion [19:21] code in python will be (number -(number%2) /2 [19:22] you normally code in static languages? nsnzero [19:29] i havent coded i c for a while [19:30] you refering to statically typed ? [19:31] yeah [19:31] cause this sounds too easy for you :P [19:33] the difference in c and python coding is not a challenge just that you have to declare in c [19:34] but don't you need pointers to do a lot in C? [19:37] pointers come from when memory was a big deal - instead of moving variable pointers where used to reference it to conserve memory [19:37] i dont use them [19:38] I was trying to learn Go and it was terrible that pointers were central to the way Go works [19:39] to avoid pointers, one would use Vala, C#, C++, JavaScript, TypeScript, Gambas .. :) [19:39] and a lot of other programming languages I currently do not think of :p [19:39] Gambas? [19:39] Visual Basic for Linux [19:40] nice for writing small applications quickly [19:40] VB for Linux D: 0.o [19:40] GUI applications! :D [19:40] in a few minutes. [19:40] what does the output come as? GTK? [19:41] a .gambas executable file, but you can also make REAL binaries and installation packages (deb, rpm) with dependencies and all [19:41] gambas supports both GTK and Qt [19:41] smile : you refering to gambas ? [19:41] yes [19:41] but I'm not related to the gambas dev team [19:41] I think Nim doesn't have pointers also [19:41] ok really simple coding in gambas i was amazed what a few lines can do [19:43] go doesnt have a gui in linux as yet - hence i didnt go there yet [19:43] kulelu88: what's Nim? :p [19:43] smile: nim-lang.org [19:44] kulelu88: i will research go and try and help you - its very similar to c [19:44] nsnzero: don't :P I'm focused on Python and an actual project, any yak-shaving will just kill my precious spare time :D [19:45] lol - ok [19:46] i think learning 1 language properly and then moving on is best too [19:46] I'm going to need to figure out how to host 2 Flask apps on 1 server though :P [19:47] that is true, better to be productive in a language you know [19:47] mmmmh - something to research now .... [19:47] take care guys - goodnight all [19:47] nsnzero: don't waste your time with those things :P [19:48] I'll give you coding challenges instead [19:48] night [19:49] okay :) [19:49] they should update the look of their website [19:49] ;) [20:02] night all. sleep tight