squish102 | superfly: how long ago did you get here? | 03:25 |
---|---|---|
squish102 | but you have been to the usa before right? | 03:26 |
=== urbanslug is now known as zipper | ||
nsnzero | morning all | 08:14 |
Kilos | hi nsnzero and everyone else | 08:37 |
nsnzero | hi Kilos how you doing ? | 08:37 |
Kilos | ok ty and you | 08:37 |
nsnzero | bored atm - doing some research .... very boring stuff though | 08:40 |
Langjan | Good morning all | 08:42 |
nsnzero | morning Langjan | 08:42 |
Langjan | You well nsnzero? Hope you had a good Christmas | 08:43 |
=== MaNL is now known as MaNI | ||
Langjan | You there Kilos? | 09:15 |
Kilos | hi Langjan | 09:28 |
Kilos | compliments of the season to you and family | 09:29 |
Langjan | And to you many thanks Kilos | 09:33 |
Langjan | Maybe you saw my mail, got the Nautilus menu view sorted | 09:34 |
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:35 |
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:36 |
Langjan | you wont believe... | 09:37 |
Langjan | I was working with the wrong globe! Lmga! | 09:37 |
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:41 |
Langjan | You feeling OK? I was worried when I did not see you online yesterday | 09:43 |
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:44 |
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:45 |
Langjan | Many thanks appreciated, all seems fine even graphics behaving | 09:46 |
Kilos | yay | 09:46 |
Kilos | good to know | 09:46 |
Langjan | Mooi loop rus ;lekker en drink baie water op 'n leƫ maag | 09:47 |
Kilos | ok dankie sal so maak | 09:47 |
Langjan | en sny die gifpyle uit... | 09:48 |
=== urbanslug is now known as zipper | ||
nsnzero | evening all | 17:44 |
jerit | spent the afternoon with the girl who I hope will be my next girlfriend :3 | 18:13 |
jerit | there aren't words that I can use to tell you guys how awesome she is | 18:14 |
kulelu88 | jerit: apart from awesome? :D | 18:15 |
kulelu88 | nsnzero: did you make the algo faster? or next challenge? | 18:15 |
jerit | kulelu88: the word awesome is cheap in this case. It doesn't nearly even begin to be sufficient | 18:16 |
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:17 |
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:18 |
jerit | lol sorry | 18:19 |
kulelu88 | you a programmer? what language? jerit | 18:20 |
jerit | mostly .net stuff but getting deeper and deeper into linux | 18:20 |
kulelu88 | the "dark" side for you Win programmers | 18:21 |
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:24 |
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:26 |
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:27 |
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:28 |
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:29 |
kulelu88 | caching? | 18:30 |
kulelu88 | that's cheating :P | 18:30 |
nsnzero | ya thats 1 way to make it faster | 18:30 |
kulelu88 | nsnzero: try this challenge: given a number, find all the even numbers and sum all the even numbers up | 18:31 |
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:32 |
nsnzero | kulelu88: the code https://bin.snyman.info/mmmw7f9a | 18:38 |
nsnzero | so the challenge is say 12345678 is given , now do i add up 2 4 6 8 ? | 18:40 |
nsnzero | jerit: best of luck with the girl btw | 18:45 |
jerit | nsnzero: thanks :) | 18:45 |
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:50 |
nsnzero | oh - my misinterpretation of the question | 18:51 |
nsnzero | small change to the program that i wrote to add the even numbers found in a long number | 18:54 |
kulelu88 | that's part 1 of the challenge :D | 18:55 |
nsnzero | kulelu88: best prep another question i am almost finished | 18:55 |
nsnzero | part 2 please kulelu88 | 19:04 |
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:05 |
nsnzero | done kulelu88 | 19:08 |
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:09 |
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:15 |
nsnzero | i have a research the maths module - but i can see it already | 19:16 |
kulelu88 | what is the trend? | 19:18 |
kulelu88 | very interesting to know | 19:18 |
kulelu88 | math is beautiful :'D | 19:18 |
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:19 |
kulelu88 | very interesting to come to that conclusion | 19:20 |
nsnzero | code in python will be (number -(number%2) /2 | 19:21 |
kulelu88 | you normally code in static languages? nsnzero | 19:22 |
nsnzero | i havent coded i c for a while | 19:29 |
nsnzero | you refering to statically typed ? | 19:30 |
kulelu88 | yeah | 19:31 |
kulelu88 | cause this sounds too easy for you :P | 19:31 |
nsnzero | the difference in c and python coding is not a challenge just that you have to declare in c | 19:33 |
kulelu88 | but don't you need pointers to do a lot in C? | 19:34 |
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:37 |
kulelu88 | I was trying to learn Go and it was terrible that pointers were central to the way Go works | 19:38 |
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:39 |
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:40 |
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:41 |
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:43 |
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:44 |
nsnzero | lol - ok | 19:45 |
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:46 |
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:47 |
kulelu88 | I'll give you coding challenges instead | 19:48 |
kulelu88 | night | 19:48 |
smile | okay :) | 19:49 |
smile | they should update the look of their website | 19:49 |
smile | ;) | 19:49 |
Kilos | night all. sleep tight | 20:02 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!