--- Log opened Tue May 24 00:00:33 2016 |
00:10 | | Kindamoody[zZz] [Kindamoody@Nightstar-0lgkcs.tbcn.telia.com] has quit [Ping timeout: 121 seconds] |
00:11 | < simon_> | hmm |
00:11 | | Kindamoody|autojoin [Kindamoody@Nightstar-0lgkcs.tbcn.telia.com] has joined #code |
00:11 | | mode/#code [+o Kindamoody|autojoin] by ChanServ |
00:11 | < simon_> | I'm generating combinations. |
00:12 | < simon_> | or rather, I'm generating permutations by accident. |
00:12 | < simon_> | http://lpaste.net/2417703482522861568 |
00:15 | | * Vornicus tries to figure out enough haskell to tell what's up |
00:16 | < simon_> | that's Standard ML |
00:16 | < Vornicus> | well okay |
00:17 | < simon_> | I'm taking the total sum, n, and the available coins, cs, and calling recursively allPossible (n-c), i.e. having spent c. |
00:17 | <&McMartin> | Put in front takes a list of lists and prepends x to each of those lists, right? |
00:17 | < Vornicus> | okay. It looks like what you might need to do is look at the *last* element of your existing lists and only allow appending of coins of equal or greater value than the one you have |
00:17 | < simon_> | McMartin, yup |
00:17 | < Vornicus> | or first I guess if that's pif |
00:18 | < simon_> | Vornicus, yeah, that sounds right. |
01:11 | | macdjord [macdjord@Nightstar-ahbhn1.cable.rogers.com] has quit [[NS] Quit: Where there's a whip! (Whup-CHA!) There's a way!] |
01:26 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
01:57 | | himi [fow035@Nightstar-dm0.2ni.203.150.IP] has joined #code |
01:57 | | mode/#code [+o himi] by ChanServ |
02:23 | | ion_ [Owner@Nightstar-6grqph.vs.shawcable.net] has joined #code |
02:24 | | M-E [M@Nightstar-9p7hb1.direct-adsl.nl] has joined #code |
02:24 | | Netsplit Kakrafoon.Nightstar.Net <-> Deepthought.Nightstar.Net quits: abudhabi, @jeroud, @Syloq, @iospace, Attilla, [R], grindhold, @Reiver, @froztbyte, @Orthia, (+17 more, use /NETSPLIT to show all of them) |
02:25 | | Netsplit over, joins: Syloq |
02:25 | | Netsplit over, joins: @PinkFreud |
02:25 | | mode/#code [+o Syloq] by ChanServ |
02:25 | | Netsplit over, joins: @Ogredude, &Reiver, @Tamber, Xon, abudhabi, ^Xires, pjdelport, @Namegduf, catadroid` |
02:26 | | [R] [rstamer@Nightstar-d7h8ki.org] has joined #code |
02:26 | | crystalclaw [crystalclaw@Nightstar-12q9ui.xyz] has joined #code |
02:27 | | Netsplit over, joins: Attilla |
02:27 | | mode/#code [+o gnolam] by ChanServ |
02:27 | | Netsplit over, joins: gnolam |
02:27 | | crystalclaw is now known as crystalclaw|AFK |
02:27 | | Netsplit over, joins: grindhold |
02:27 | | Netsplit over, joins: Azash |
02:27 | | jerith [jerith@Nightstar-ip7ar2.slipgate.net] has joined #code |
02:28 | | Netsplit over, joins: jeroud |
02:28 | | Netsplit over, joins: Turaiel[Offline] |
02:28 | | mode/#code [+ao jerith jerith] by ChanServ |
02:29 | | Alek [Alek@Nightstar-9qtiqv.il.comcast.net] has joined #code |
02:29 | | mode/#code [+o Alek] by ChanServ |
02:30 | | iospace [Alexandria@Nightstar-fkokc2.com] has joined #code |
02:30 | | mode/#code [+o iospace] by ChanServ |
02:30 | | froztbyte [froztbyte@Nightstar-ck4.fu5.9.176.IP] has joined #code |
02:30 | | mode/#code [+o froztbyte] by ChanServ |
02:30 | | Orthia [quassel@Nightstar-ksqup0.co.uk] has joined #code |
02:30 | | mode/#code [+o Orthia] by ChanServ |
02:31 | | macdjord [macdjord@Nightstar-pk7ki5.cable.rogers.com] has joined #code |
02:31 | | mode/#code [+o macdjord] by ChanServ |
02:47 | | catadroid [catadroid@Nightstar-3b56sa.dab.02.net] has joined #code |
02:50 | | catadroid` [catadroid@Nightstar-seklp3.dab.02.net] has quit [Ping timeout: 121 seconds] |
03:35 | | Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has quit [Ping timeout: 121 seconds] |
03:47 | | celticminstrel [celticminst@Nightstar-80kfip.dsl.bell.ca] has joined #code |
03:47 | | mode/#code [+o celticminstrel] by ChanServ |
03:51 | | Turaiel[Offline] is now known as Turaiel |
03:51 | | Turaiel is now known as Turaiel[Offline] |
03:57 | | Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code |
03:57 | | mode/#code [+o Reiv] by ChanServ |
04:04 | | Reiv_ [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code |
04:05 | | Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has quit [Ping timeout: 121 seconds] |
04:30 | | catadroid [catadroid@Nightstar-3b56sa.dab.02.net] has quit [Connection closed] |
04:31 | | catadroid [catadroid@Nightstar-3b56sa.dab.02.net] has joined #code |
05:01 | | Derakon is now known as Derakon[AFK] |
05:05 | | crystalclaw|AFK is now known as crystalclaw |
05:18 | | macdjord is now known as macdjord|slep |
05:25 | | Netsplit Kakrafoon.Nightstar.Net <-> Krikkit.Nightstar.Net quits: @PinkFreud |
05:42 | | gnolam_ [lenin@Nightstar-t1tbf0.cust.bahnhof.se] has joined #code |
05:46 | | gnolam [lenin@Nightstar-t1tbf0.cust.bahnhof.se] has quit [Ping timeout: 121 seconds] |
05:54 | | Netsplit over, joins: @PinkFreud |
05:59 | | crystalclaw is now known as crystalclaw|AFK |
06:09 | | Reiv_ [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has quit [Ping timeout: 121 seconds] |
06:10 | < simon_> | Vornicus, http://stackoverflow.com/questions/37396197/find-all-possible-combination-of-cha nge-in-sml/37403136 :P |
06:11 | < simon_> | I like blasting people with extensive answers. it's an excellent procrastination task. |
06:11 | < simon_> | Vornicus, and thanks, your hint got me through in a much shorter time. |
06:11 | <~Vornicus> | Nice |
06:13 | <~Vornicus> | also, preach it |
06:15 | < simon_> | I think what's often missing from programming tutorials is people's mistakes. I feel it'd be dishonest if I didn't somehow go through my first attempt with permutations before magically showing the right solution. like when math teachers/mentors prove things but don't think their wrong paths aloud. |
06:22 | <~Vornicus> | Thing is |
06:23 | <~Vornicus> | You show the wrong path and it gets fixed in their mind |
06:29 | <~Vornicus> | anchoring bias, 'n all that. |
06:31 | | celticminstrel [celticminst@Nightstar-80kfip.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
06:52 | < simon_> | Vornicus, hm? |
06:52 | < simon_> | Vornicus, I imagine if you show a really crappy, but easily approachable way to solve a problem, it might get stuck in favor of better ways to think. |
06:53 | <~Vornicus> | What happens is that if you show them the wrong way then the right way they'll much more easily remember the wrong way 'cause it was first. |
07:00 | | Crossfire [Z@Nightstar-r9lk5l.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
07:08 | < simon_> | oh. |
07:08 | < simon_> | on another note, I've realized that three co-workers consistently both spell and pronounce 'filing' as 'filling' in code and emails. worst entity name I've picked so far. |
07:09 | < simon_> | I feel like an idiot for sending other people's spelling mistakes in function names through reviews. |
07:10 | < simon_> | actually, that's slightly related. they've got the pathways for parsing "filling", so this "filing" shows up, and, them not being native english speakers, they hop to the nearest meaningful word. |
07:27 | | gnolam_ is now known as gnolam |
07:27 | | mode/#code [+o gnolam] by ChanServ |
07:33 | | Kindamoody|autojoin is now known as Kindamoody |
08:00 | | Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds] |
08:02 | | ion_ [Owner@Nightstar-6grqph.vs.shawcable.net] has quit [Ping timeout: 121 seconds] |
08:03 | | Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code |
08:03 | | mode/#code [+o Syloq] by ChanServ |
08:05 | | ion [Owner@Nightstar-6grqph.vs.shawcable.net] has joined #code |
08:16 | <@gnolam> | ... so when people want me to remote in and test experimental features and fixes for their configuration, I tend to assume it's a test setup they have in their lab. Not an actual production machine on the factory floor. >_< |
08:16 | <~Vornicus> | ... |
08:17 | <~Vornicus> | Yes. |
08:18 | < abudhabi> | Welcome to the real world, Neo! :V |
08:26 | | Alek [Alek@Nightstar-9qtiqv.il.comcast.net] has quit [Operation timed out] |
08:31 | | himi [fow035@Nightstar-dm0.2ni.203.150.IP] has quit [Ping timeout: 121 seconds] |
08:39 | | Reiv [NSwebIRC@Nightstar-qts.on2.251.116.IP] has joined #code |
08:39 | | mode/#code [+o Reiv] by ChanServ |
08:57 | < [R]> | <toraton> but prod is the only prodlike environment |
08:57 | < [R]> | I'm guessing there was a ton of physical damage that occured? |
08:58 | | Kindamoody is now known as Kindamoody|afk |
09:00 | | Alek [Alek@Nightstar-9qtiqv.il.comcast.net] has joined #code |
09:00 | | mode/#code [+o Alek] by ChanServ |
09:18 | | catadroid` [catadroid@Nightstar-mbr381.dab.02.net] has joined #code |
09:19 | | Reiv [NSwebIRC@Nightstar-qts.on2.251.116.IP] has quit [Ping timeout: 121 seconds] |
09:20 | | catadroid [catadroid@Nightstar-3b56sa.dab.02.net] has quit [Ping timeout: 121 seconds] |
10:03 | < abudhabi> | Hm. "cock-a-doodle-doo" looks sort of like a demented UUId. |
10:07 | | catadroid` [catadroid@Nightstar-mbr381.dab.02.net] has quit [[NS] Quit: Bye] |
10:58 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
10:58 | | mode/#code [+o himi] by ChanServ |
11:26 | | mac [macdjord@Nightstar-pk7ki5.cable.rogers.com] has joined #code |
11:26 | | mode/#code [+o mac] by ChanServ |
11:26 | | gnolam_ [lenin@Nightstar-t1tbf0.cust.bahnhof.se] has joined #code |
11:28 | | macdjord|slep [macdjord@Nightstar-pk7ki5.cable.rogers.com] has quit [Ping timeout: 121 seconds] |
11:29 | | gnolam [lenin@Nightstar-t1tbf0.cust.bahnhof.se] has quit [Ping timeout: 121 seconds] |
11:32 | | gnolam_ is now known as gnolam |
11:32 | | mode/#code [+o gnolam] by ChanServ |
12:02 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed] |
12:08 | < abudhabi> | ErikMesoy: This does not seem to have what I want. It mostly concerns itself with observations as from Earth, not arbitrary solar system modelling. |
12:40 | | catadroid [catadroid@Nightstar-mbr381.dab.02.net] has joined #code |
13:04 | | Emmy [NSkiwiirc@Nightstar-v1pu8a.static.chello.nl] has joined #code |
13:16 | < Emmy> | yay string manipulation |
13:54 | | mac is now known as macdjord|wurk |
14:05 | < abudhabi> | Can someone tell me WHY Python has gone with indentation for their blocking scheme? |
14:07 | < pjdelport> | It's user-friendly. |
14:08 | < pjdelport> | Python more or less inherited it from https://en.wikipedia.org/wiki/ABC_(programming_language) |
14:08 | < [R]> | It guarantees proper indentation |
14:08 | < [R]> | Also consistant indentation |
14:10 | | Crossfire [Z@Nightstar-r9lk5l.cust.comxnet.dk] has joined #code |
14:10 | | mode/#code [+o Crossfire] by ChanServ |
14:10 | < pjdelport> | http://python-history.blogspot.com/2009/02/early-language-design-and-development .html has more on it. |
14:11 | < pjdelport> | The pattern of leading indentation with a colon was an ABC innovation, after user testing. |
14:25 | < Azash> | Meh, I find it incredibly annoying after getting used to explicit blocks |
14:26 | < catadroid> | I find it fine so long as you've got visible whitespace turned on |
14:27 | < catadroid> | Otherwise you end up accidentally ending a block for no reason |
14:28 | <@TheWatcher> | It fucks with my head something terrible. |
14:30 | | * [R] has little problem with it, except for when people don't use the proper whitespace. |
14:31 | < abudhabi> | catadroid: Do you use, like, 1 or 2 spaces per level? |
14:31 | < abudhabi> | Because it is easy to make mistakes with too few spaces. |
14:42 | < catadroid> | I'd imagine tabs set to four spaces |
14:42 | < catadroid> | This is one of my issues |
14:44 | <@ErikMesoy> | abudhabi: The way I see it is that in so many languages you'd be indenting anyway as a matter of style as well as using {} or the like, so just indenting was a simplification. |
14:48 | | celticminstrel [celticminst@Nightstar-80kfip.dsl.bell.ca] has joined #code |
14:48 | | mode/#code [+o celticminstrel] by ChanServ |
15:01 | < pjdelport> | Your editor should be handling indentation. |
15:02 | < Emmy> | Sadly, this is not always the case... :( |
15:02 | < Emmy> | see for example the vba editor. :( |
15:03 | < Emmy> | It's a good thing that i'm rather strict in code cleanliness and readability. :) |
15:03 | < Emmy> | also, i use a lot of smilies. :| |
15:06 | < catadroid> | ...i am designing a new STL container |
15:06 | < catadroid> | How exciting |
15:06 | < catadroid> | (though why it doesn't already exist anywhere is beyond me) |
15:07 | < ToxicFrog> | What container is it, if you can say? |
15:09 | < catadroid> | An open addressed hash map |
15:09 | < catadroid> | Which would be something like std::flat_unordered_map |
15:10 | < catadroid> | This is all the fault of whoever designed unordered_map, who put the bucket backend details in the public interface |
15:11 | < catadroid> | Also our hash map claims to be based on std::hash_map, which is exciting because there is no such thing |
15:47 | | Emmy [NSkiwiirc@Nightstar-v1pu8a.static.chello.nl] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] |
15:48 | | catadroid` [catadroid@Nightstar-2bamha.dab.02.net] has joined #code |
15:48 | < ToxicFrog> | catadroid: there is! It's not part of the standard, but it's part of the SGI STL and they put it in std:: because ???? |
15:51 | | catadroid [catadroid@Nightstar-mbr381.dab.02.net] has quit [Ping timeout: 121 seconds] |
15:57 | < catadroid`> | lol |
15:57 | | catadroid` is now known as catadroid |
16:13 | | Crossfire [Z@Nightstar-r9lk5l.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
16:26 | | crystalclaw|AFK is now known as crystalclaw |
16:47 | | M-E is now known as Emmy |
17:07 | | gizmore [kvirc@Nightstar-9cnsra.dip0.t-ipconnect.de] has joined #code |
19:35 | | crystalclaw is now known as crystalclaw|AFK |
19:43 | | crystalclaw|AFK is now known as crystalclaw |
19:43 | | Kindamoody|afk is now known as Kindamoody |
20:08 | | crystalclaw is now known as crystalclaw|AFK |
20:58 | | gizmore|2 [kvirc@Nightstar-9cnsra.dip0.t-ipconnect.de] has joined #code |
20:59 | | gizmore [kvirc@Nightstar-9cnsra.dip0.t-ipconnect.de] has quit [Operation timed out] |
21:00 | | gizmore [kvirc@Nightstar-9cnsra.dip0.t-ipconnect.de] has joined #code |
21:01 | | gizmore|3 [kvirc@Nightstar-9cnsra.dip0.t-ipconnect.de] has joined #code |
21:03 | | gizmore|4 [kvirc@Nightstar-9cnsra.dip0.t-ipconnect.de] has joined #code |
21:03 | | gizmore|2 [kvirc@Nightstar-9cnsra.dip0.t-ipconnect.de] has quit [Ping timeout: 121 seconds] |
21:04 | | gizmore [kvirc@Nightstar-9cnsra.dip0.t-ipconnect.de] has quit [Ping timeout: 121 seconds] |
21:05 | | gizmore|3 [kvirc@Nightstar-9cnsra.dip0.t-ipconnect.de] has quit [Ping timeout: 121 seconds] |
21:06 | | gizmore [kvirc@Nightstar-9cnsra.dip0.t-ipconnect.de] has joined #code |
21:07 | | gizmore|4 [kvirc@Nightstar-9cnsra.dip0.t-ipconnect.de] has quit [Operation timed out] |
21:08 | | gizmore|2 [kvirc@Nightstar-9cnsra.dip0.t-ipconnect.de] has joined #code |
21:09 | | gizmore|3 [kvirc@Nightstar-9cnsra.dip0.t-ipconnect.de] has joined #code |
21:11 | | gizmore|4 [kvirc@Nightstar-9cnsra.dip0.t-ipconnect.de] has joined #code |
21:11 | | gizmore [kvirc@Nightstar-9cnsra.dip0.t-ipconnect.de] has quit [Ping timeout: 121 seconds] |
21:12 | | gizmore [kvirc@Nightstar-9cnsra.dip0.t-ipconnect.de] has joined #code |
21:12 | | gizmore|2 [kvirc@Nightstar-9cnsra.dip0.t-ipconnect.de] has quit [Ping timeout: 121 seconds] |
21:13 | | gizmore|3 [kvirc@Nightstar-9cnsra.dip0.t-ipconnect.de] has quit [Operation timed out] |
21:14 | | gizmore|4 [kvirc@Nightstar-9cnsra.dip0.t-ipconnect.de] has quit [Operation timed out] |
21:14 | | gizmore|2 [kvirc@Nightstar-9cnsra.dip0.t-ipconnect.de] has joined #code |
21:16 | | gizmore|3 [kvirc@Nightstar-9cnsra.dip0.t-ipconnect.de] has joined #code |
21:16 | | gizmore|3 [kvirc@Nightstar-9cnsra.dip0.t-ipconnect.de] has quit [[NS] Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/] |
21:17 | | gizmore [kvirc@Nightstar-9cnsra.dip0.t-ipconnect.de] has quit [Ping timeout: 121 seconds] |
21:18 | | gizmore|2 [kvirc@Nightstar-9cnsra.dip0.t-ipconnect.de] has quit [Operation timed out] |
21:23 | | crystalclaw|AFK is now known as crystalclaw |
21:33 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
21:33 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
21:55 | | ion [Owner@Nightstar-6grqph.vs.shawcable.net] has quit [Ping timeout: 121 seconds] |
21:58 | | Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code |
21:58 | | mode/#code [+o Reiv] by ChanServ |
22:16 | | Crossfire [Z@Nightstar-r9lk5l.cust.comxnet.dk] has joined #code |
22:16 | | mode/#code [+o Crossfire] by ChanServ |
22:18 | | catadroid` [catadroid@Nightstar-sgccre.dab.02.net] has joined #code |
22:18 | | ion [Owner@Nightstar-6grqph.vs.shawcable.net] has joined #code |
22:21 | | catadroid [catadroid@Nightstar-2bamha.dab.02.net] has quit [Ping timeout: 121 seconds] |
22:27 | <@gnolam> | [R]: belatedly, no. But I'm bloody terrified now. |
22:31 | <@Alek> | gnolam: I am so sorry. It's probably too late to finish now? :( |
22:47 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection reset by peer] |
22:55 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
22:55 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
23:21 | | Emmy is now known as Emmy-zZz |
23:26 | | Kindamoody is now known as Kindamoody[zZz] |
23:28 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
23:37 | | thalass [thalass@Nightstar-283.o7s.158.104.IP] has joined #code |
23:37 | | mode/#code [+o thalass] by ChanServ |
--- Log closed Wed May 25 00:00:48 2016 |