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