<< 30-10-2014 >>

00:00:04Varriountflaviu: I don't mind the command line. What I mind is being made to do trivial work that can be easily automated.
00:00:45flaviuIt's not trivial. It shouldn't be automated. You need to understand what's going on; if it breaks you'll know how to fix it.
00:01:19*Matthias247 quit (Read error: Connection reset by peer)
00:01:32*Varriount points to Ubuntu and the myriad of other Linux distro's with installers.
00:02:38*Joe_knock joined #nimrod
00:02:40flaviu\me points to the horrible number of help vampires in the Ubuntu community
00:02:43*flaviu points to the horrible number of help vampires in the Ubuntu community
00:03:13*Trustable quit (Quit: Leaving)
00:03:21*Joe_knock helps flaviu to point
00:03:25flaviusorry
00:03:41flaviuBTW, I managed to allocate lots of gigs with mmap
00:04:09VarriountAraq: Only in Linux-Land will you find people willing to make something *less* user friendly.
00:04:20flaviuI once read a suggestion that the vector resize policy be 8, 64, 1024GB
00:04:58flaviulooks like that's actually practical on linux
00:06:12*darkf joined #nimrod
00:06:28Joe_knockDo we have any statistical packages for Nim?
00:06:52Jehan_Varriount: Ahem. Plenty of other communities, too, but I don't want to start a flame war here. :)
00:07:48Joe_knockAre we more Linux or Win users here?
00:08:12Araqflaviu: I burned the arch CD, got a bare-bones command line and couldn't be bothered
00:08:32flaviulol
00:08:35Araqthen I burned that other thing Arch+livedisc UI
00:08:44Araqthat immediately crashed
00:09:01flaviuUse the wiki, Araq
00:09:21VarriountAraq: Or use the installer script that I coughed up.
00:09:21Araqoh I know how to install it via command line
00:09:32Araqthat's not the issue
00:09:51Araqthe issue is that I want a working liveCD so I can see it works with my hardware
00:10:03flaviuAraq: Arch doesn't require you to use X
00:10:24flaviuAnyway, you can just install it into memory and test it out
00:10:26Varriountflaviu: But he wants to see if X will work on his system, before installing it.
00:10:30*Fr4n quit (Quit: Leaving)
00:10:33flaviu^
00:10:39Araqand apparently the alternative liveCD crashes. so there.
00:10:54AraqI have to assume now that a real installation will crash too.
00:11:13Joe_knockWhy Arch?
00:11:17Jehan_Varriount: About the GMP wrapper: Too low-level to be useful by all appearances, more the basis for an actual wrapper.
00:11:25flaviuAraq is just looking for excuses not to become an Uber-Hacker :P
00:12:02Araqwhere Uber-Hacker here means "worshipping 70ies' technology"
00:12:13Araq"and never improving it"
00:12:30VarriountOuch.
00:12:46flaviuAraq: Learn to appreciate it, it has some really nice things to it that modern technology doesn't
00:13:17Araqyeah, I also recently replaced my car's engine with a steam engine
00:13:39flaviuanyway, I'm back on-topic
00:13:46flaviuI can argue in #nimrod-offtopic
00:14:11VarriountAnyone here have experience configuring BuildBot?
00:16:18*brson quit (Quit: leaving)
00:16:58*brson joined #nimrod
00:17:22AraqVarriount: an alternative is to build on top of the tester and its database model a new nimbuild
00:17:47*q66[lap]_ joined #nimrod
00:18:07VarriountAraq: Both you and I know that neither of has the time to do that quickly.
00:18:35flaviuWhat happened to nimbuild?
00:18:46Varriountflaviu: Ongoing system deprivation.
00:18:50Varriount*systemic
00:19:04VarriountI would rather we get a BuildBot system up and running, and when Nimbuild is further developed, switch back.
00:19:38flaviuSounds like a fun project
00:20:05flaviuIs it alright if I work on that?
00:20:25Araqflaviu: only if you can promise us some level of support
00:20:51flaviuuhh.. I'll be in IRC at least 5 days per week for the next 6 months?
00:20:54*q66[lap] quit (Ping timeout: 250 seconds)
00:21:31Araqflaviu: (1) your code doesn't use 'box' ;-)
00:21:53Araq(2) your code is readable and only does what's necessary
00:22:11Araq(3) we can summon you and yell at you at any time
00:22:29AraqXD
00:22:39flaviuAs long as "any time" is one of the 5 days per week, sure
00:22:40*johnsoft quit (Ping timeout: 244 seconds)
00:22:42Joe_knocksounds exciting
00:23:02*johnsoft joined #nimrod
00:24:00*vendethiel quit (Ping timeout: 272 seconds)
00:26:42*[CBR]Unspoken quit (Ping timeout: 258 seconds)
00:27:12*[CBR]Unspoken joined #nimrod
00:27:18Jehan_Araq: Is it intended that you can use spawn outside a parallel statement?
00:27:40Araqsure, and it's documented
00:27:55*Hakaslak quit (Quit: TODO: Generate 'Computer Sleep Quit Message')
00:28:42Varriountflaviu: You want to rework nimbuild?
00:28:58flaviuNo, get buildbot working
00:28:59Araq'parallel' adds a DSL and an implicit barrier on top 'spawn'
00:29:17flaviuunless you've already got significant progress in that direction
00:29:23Jehan_Araq: Alright, I didn't see it in the documentation.
00:29:30Araqhey, I thought you want to write a second nimbuild
00:29:40Jehan_At least not where I looked. :)
00:29:46flaviusorry, nope. That's too much work
00:29:51Araqmy comments do not make any sense otherwise
00:30:03flaviubuildbot still requires code
00:30:33VarriountYes, but it's significantly less code (hopefully)
00:30:39AraqJehan_: doc/manual/threads.txt (bigbreak)
00:31:22Jehan_Okay, seeing it now.
00:31:41*flaviu quit (Remote host closed the connection)
00:32:08*flaviu joined #nimrod
00:32:13Araqoh I see it's slightly wrong ...
00:35:20*flaviu quit (Remote host closed the connection)
00:35:53Jehan_I see that it's currently a warning, not an error if the spawned function is not gc-safe. Is that going to remain the case? (For what it's worth, I prefer it to be a warning.)
00:36:04*vendethiel joined #nimrod
00:36:53*flaviu joined #nimrod
00:37:07Araqno, it'll be an error
00:37:21Araqbut i'm thinking about making gcsafety inference smarter
00:39:16Jehan_I'm saying this because this can be extremely tedious if you want to use third-party libraries that are gcsafe, but don't have their gcsafety declared.
00:39:29Jehan_You'll essentially have to maintain a patched version.
00:40:48*boydgreenfield quit (Quit: boydgreenfield)
00:41:37Araqwell it's already inferred
00:41:53Araqit's not like you need to declare it everywhere
00:42:02Jehan_Hmm. Even with external C functions?
00:42:21Araqimportc implies gcsafe
00:42:44Araqthat's a problem when you importc generated Nim code
00:42:45Jehan_Huh. Interesting. In this case I may retract my concern.
00:43:03Araqbut it's a reasonable compromise
00:43:50Jehan_It may still be useful for gcsafe or effects-based stuff to be able to override inference locally.
00:44:20Jehan_But I'll have to look at that more closely.
00:44:27*vendethiel quit (Ping timeout: 245 seconds)
00:44:28Jehan_s/inference/inference and checking/
00:45:04gokr1Araq: Why don't you just use Ubuntu?
00:45:31gokr1I messed with fringe distros years back, sure, fun and all. Lunar-linux was great - but such a time sink.
00:45:55Araqgokr1: I did, wanted rolling releases, picked mint, mint worked great, mint update broke
00:46:00Araqre-installed mint
00:46:04Araqnow nothing works
00:46:09gokr1We use CentOS for cloud servers (will eventually move to Ubuntu) and Ubuntu for everything else.
00:46:15*flaviu quit (Ping timeout: 265 seconds)
00:46:25Araqubuntu's UI is annoying
00:46:37gokr1Well, I got used to it. Decided to not fight it :)
00:47:14AraqI usually use XFCE and tweak it until it works like win XP
00:47:16gokr1At least IMHO everything does work really well with Ubuntu on this Lenovo X220.
00:47:27gokr1Xubuntu then.
00:47:47Araqyeah well, tried that one too once
00:48:29gokr1I kinda decided that I didn't want to fight - so I picked the "most popular" and just went with the flow. Ubuntu does work really well, at least for me.
00:49:18gokr1Use virtualbox to run XP and various other things. Vbox can even do accelerated 3D in XP.
00:49:34Araqdid that too.
00:50:04Araqwhen I re-installed mint, I forgot about my virtualbox setup
00:50:05gokr1But Ron just runs W7 I think, with VMWare to run all others.
00:50:14gokr1Plus a mac on the side :)
00:50:51gokr1Shit I gotta get to bed... gnite folks
00:50:53Araqso that's why the installers weren't tested on win xp by me. it's all Mint's fault.
00:50:57VarriountMy only big gripe with Windows Explorer at the moment is that you can't get it to automatically resize certain columns to always fit
00:51:03gokr1Hehe
00:56:20*flaviu joined #nimrod
00:59:39Jehan_Hmm, I'm getting a crash in cleanFlowVars.
01:00:35Araqyeah, this thing needs way more tests
01:00:49*vendethiel joined #nimrod
01:00:57Jehan_Using a variant of the convex hull code that runs the body in an 1..10 loop.
01:01:46Jehan_Hmm, there's a GC_unref there, but no matching GC_ref; is that generated by the compiler?
01:02:49Araqshould be, yes
01:05:24Araqin compiler/lowerings.nim, line 237 it's explained
01:06:09Araqit should generate: args.fv.data = f(a, b, ...)
01:06:39Araqand since 'data' is nil, that amounts to a GC_ref of what 'f' returns
01:06:59Araq('f' being the function that is spawn'ed)
01:08:00*mko quit (Ping timeout: 265 seconds)
01:10:34Araqbut hrm
01:11:00AraqI think this is not implemented properly
01:11:18Araqsince 'data' is a pointer no write barrier is emitted
01:11:30Araqanyway, good night
01:13:01*xenagi joined #nimrod
01:21:39*flaviu quit (Remote host closed the connection)
01:25:55*flaviu joined #nimrod
01:37:21*flaviu quit (Read error: No route to host)
01:39:08*flaviu joined #nimrod
01:42:37*superfunc quit (Quit: Connection closed for inactivity)
01:48:13*Joe_knock left #nimrod ("Leaving")
01:49:32*flaviu quit (Remote host closed the connection)
01:53:01*flaviu joined #nimrod
02:02:03*Fr4n joined #nimrod
02:18:17*flaviu quit (Ping timeout: 260 seconds)
02:27:22*flaviu joined #nimrod
02:30:18*flaviu quit (Remote host closed the connection)
02:30:36*flaviu joined #nimrod
02:35:40*AFKMorpork is now known as AMorpork
02:47:01*BitPuffin quit (Ping timeout: 265 seconds)
02:47:25*Jehan_ quit (Quit: Leaving)
03:03:09*boydgreenfield joined #nimrod
03:15:23*flaviu quit (Ping timeout: 240 seconds)
03:18:47*xenagi quit (Quit: Leaving)
03:20:57*flaviu joined #nimrod
03:26:04*flaviu quit (Remote host closed the connection)
03:27:03*flaviu joined #nimrod
03:30:56*boydgreenfield quit (Quit: boydgreenfield)
03:37:09*flaviu quit (Ping timeout: 272 seconds)
03:43:43*bjz joined #nimrod
03:49:21VarriountAMorpork: Ankh-Morpork?
03:49:27AMorporkAye.
03:49:42Varriount!
03:50:23VarriountI love Terry Pratchett's books. Sadly, my nickname is not discworld themed.
03:50:33AMorporkYeah, they're definitely my favorite series.
03:50:38AMorporkIf the name wasn't a dead giveaway :p
03:54:02*vendethiel quit (Ping timeout: 245 seconds)
03:55:51VarriountAMorpork: Do you have any of the audiobooks?
03:56:03AMorporkI have a few of them.
03:56:23AMorporkMort is my favorite of the ones I've heard.
03:56:49*vendethiel joined #nimrod
03:56:55VarriountI have almost all of them. I don't have Mort yet though.
03:57:13VarriountI've read the book however.
04:00:56AMorporkYeah, that was really the book that got me into the series.
04:01:18AMorporkDon't get me wrong, I enjoyed the previous books, but Mort felt like the first real Discworld book in a lot of ways.
04:13:01*brson quit (Quit: leaving)
04:20:17*edayo joined #nimrod
04:33:59Triplefoxi got into Discworld with "Men At Arms" which is really quite a bit after the style developed. but went back and read all the others. i think i need to catch up, the last i read one was in the mid-2000s
04:34:45VarriountI love the books with Vimes in them - he's such a cynic. :P
04:35:17Triplefoxyeah he's great, all the watch characters are great
04:35:22*bjz quit (Ping timeout: 240 seconds)
04:37:20VarriountTriplefox: There's also been a couple of Discworld movies.
04:37:52Triplefoxoh? i didn't know that
04:39:15VarriountYeah - There's been movies for "The Light Fantastic", "Hogfather", and "Going Postal"
04:42:23*bjz joined #nimrod
04:43:22*kemet joined #nimrod
04:53:21*Hakaslak joined #nimrod
04:55:29*Hakaslak quit (Max SendQ exceeded)
04:56:06*Hakaslak joined #nimrod
04:57:02*Varriount quit (Read error: Connection reset by peer)
05:07:05*johnsoft quit (Ping timeout: 272 seconds)
05:07:19*johnsoft joined #nimrod
05:09:23*hsuh quit (Ping timeout: 240 seconds)
05:10:11*Varriount joined #nimrod
05:10:24*hsuh joined #nimrod
05:10:41*kemet quit (Ping timeout: 255 seconds)
05:15:40*superfunc joined #nimrod
05:16:53superfuncgokr1: enjoyed the article. also found it interesting as I am trying to test out the FP merits of Nim. Not that I plan on programming in that style for serious work in it, but it is fun to see how we are seeing how well each paradigm of a multi-paradigm is done
05:17:07superfuncmy article on it should be done this weekend btw
05:19:25superfuncgokr1: I also learned a lot about distinct' from it, so thank you for that
05:24:39superfuncdom96_: For when pointers are needed, not saying I need them now, does Nim have something similar to unique_ptr<T>?
05:31:24*ARCADIVS joined #nimrod
06:03:12*skroll1 quit (Ping timeout: 245 seconds)
06:09:13*boydgreenfield joined #nimrod
06:12:12*Demos quit (Quit: Leaving)
06:15:15VarriountAraq: Found a buildbot plugin for building/testing on Github PR comment - https://github.com/Kami/node-buildbot-github
06:19:59*boydgreenfield quit (Quit: boydgreenfield)
06:22:04gokrsuperfunc: Thanks
06:24:25*boydgreenfield joined #nimrod
06:29:37*superfunc_ joined #nimrod
06:30:29*skroll1 joined #nimrod
06:35:17reactormonkWouldn't the
06:35:31reactormonk... unmatched pegs be a good way to introduce a Maybe?
06:44:24*flyx quit (Ping timeout: 250 seconds)
06:48:52*superfunc quit (Ping timeout: 246 seconds)
06:48:52*superfunc_ is now known as superfunc
06:51:25*rpag quit (Ping timeout: 255 seconds)
06:57:17*Hakaslak quit (Quit: TODO: Generate 'Computer Sleep Quit Message')
07:21:21*boydgreenfield quit (Quit: boydgreenfield)
07:49:41*khmm joined #nimrod
08:10:43*edayo_ joined #nimrod
08:12:32*edayo quit (Ping timeout: 244 seconds)
08:29:37*nullmove joined #nimrod
08:39:07*irrequietus joined #nimrod
08:39:16*irrequietus quit (Client Quit)
08:40:13nullmoveCouldn't found much on Slices in the manual.
08:40:47nullmoveDo they give a copy or simply an iterator of the 'view'?
08:41:15nullmoveAnd if not the latter, then why not?
08:42:37*superfunc quit (Quit: Connection closed for inactivity)
08:54:46NimBotAraq/Nimrod bigbreak bc3464e Flaviu Tamas [+0 ±2 -0]: Modify pegs.nim such that no match will return nil... 7 more lines
08:54:46NimBotAraq/Nimrod bigbreak 218cb75 Flaviu Tamas [+0 ±2 -0]: re module returns nil on failed captures... 3 more lines
08:54:46NimBotAraq/Nimrod bigbreak e4260dd Andreas Rumpf [+0 ±3 -0]: Merge pull request #1605 from flaviut/patch-1... 2 more lines
08:55:34*irrequietus joined #nimrod
09:03:10*bjz quit (Read error: Connection reset by peer)
09:03:22*bjz joined #nimrod
09:05:56*nullmove quit (Quit: Page closed)
09:14:11*Francisco joined #nimrod
09:17:04*Fr4n quit (Ping timeout: 265 seconds)
09:22:17*gokr quit (Remote host closed the connection)
10:01:27*johnsoft quit (Read error: No route to host)
10:02:01*johnsoft joined #nimrod
10:04:59*untitaker quit (Ping timeout: 255 seconds)
10:15:30*khmm quit (Ping timeout: 244 seconds)
10:18:27*khmm joined #nimrod
10:35:49*flaviu joined #nimrod
10:38:36gokr1Nim: "You shoot the foot, then you get fancy and create a term rewriting macro that shoots all feet, everywhere, automatically."
10:38:58gokr1Someone can do better? :)
10:42:40*khmm quit (Ping timeout: 244 seconds)
10:51:09*flaviu quit (Ping timeout: 244 seconds)
10:51:54*johnsoft quit (Ping timeout: 245 seconds)
10:52:30*johnsoft joined #nimrod
10:54:17*khmm joined #nimrod
11:20:00*untitaker joined #nimrod
11:24:31*untitaker quit (Ping timeout: 244 seconds)
11:24:45*untitaker_ joined #nimrod
11:53:18*irrequietus quit ()
12:01:13*edayo joined #nimrod
12:02:11dom96Araq: Varriount: I know what's wrong with Nimbuild.
12:04:22*edayo_ quit (Ping timeout: 258 seconds)
12:26:40*Trustable joined #nimrod
12:32:54NimBotnimrod-code/nimbuild master 3eb7b8c Dominik Picheta [+0 ±1 -0]: Better process info. Fixes C sources cloning.
12:34:23dom96Varriount: Update the builder.
12:41:45*khmm quit (Ping timeout: 260 seconds)
12:45:47*khmm joined #nimrod
12:49:12dom96Araq: Can't get Nim to bootstrap on Linux x86_64
12:58:10*khmm quit (Ping timeout: 255 seconds)
13:01:09*BitPuffin joined #nimrod
13:01:53*gokr joined #nimrod
13:18:03TrustableHi dom96
13:25:35*khmm joined #nimrod
13:27:11*darkf quit (Quit: Leaving)
13:30:09*ARCADIVS quit (Quit: ARCADIVS)
13:37:41*rpag joined #nimrod
13:40:58*gokr quit (Ping timeout: 258 seconds)
13:41:44*gokr joined #nimrod
13:42:58*gokr_ joined #nimrod
13:46:20*gokr quit (Ping timeout: 258 seconds)
13:50:03*gokr joined #nimrod
13:52:05*gokr_ quit (Ping timeout: 258 seconds)
13:56:25*gokr_ joined #nimrod
13:56:25*gokr quit (Read error: Connection reset by peer)
13:57:08*gokr joined #nimrod
13:57:08*gokr_ quit (Read error: Connection reset by peer)
13:57:48*gokr_ joined #nimrod
13:58:41*gokr quit (Read error: Connection reset by peer)
13:58:41*gokr_ quit (Read error: Connection reset by peer)
13:58:59*gokr_ joined #nimrod
14:34:55dom96_hey Trustable, sorry for not reviewing those PRs yet.
14:35:11dom96_I'll get it to it ASAP.
14:35:18dom96_*get to
14:42:38*dom96_ quit (Ping timeout: 255 seconds)
14:44:06Trustabledom96, I'm back from dentist, have you solved your bootstrap problem?
14:45:17*AMorpork is now known as AFKMorpork
14:57:02*dom96_ joined #nimrod
15:11:38*gokr joined #nimrod
15:11:38*gokr_ quit (Read error: Connection reset by peer)
15:13:52dom96_Trustable: No.
15:14:40Trustabledom96_: so, what exactly is the problem?
15:15:05dom96_Something about 'locks:0'
15:16:19dom96_The compiler compiled from C sources cannot compile compiler/nimrod.nim
15:16:25dom96_*compiler/nim.nim
15:17:25Trustabledom96_: Do you use "nim" instead of "nimrod" when you call the compiler?
15:17:49dom96_I am using bin/nimrod
15:18:00Trustabledom96_: On which branch are you?
15:18:04dom96_bigbreak
15:18:33Trustabledom96_: You should delete the binary "nimrod"
15:18:41dom96_Tried that.
15:18:48dom96_But I'll simply reclone.
15:18:58dom96_Can't do it now though.
15:19:22Trustabledom96_: Your problem looks the mine from yesterday.
15:19:48Trustable*like mine
15:19:56dom96_I guess the problem was that something was outdated?
15:20:25Trustableyes
15:21:26Trustabledom96_: Do you use csources in branch bigbreak?
15:21:40gokr1bigbreak should produce a "nim", the "nimrod" is an old artefact.
15:21:52dom96_Trustable: yes
15:22:03gokr1Don't you get a "nim" in bin?
15:22:24dom96_no. AFAIK the csources still give you a "nimrod" binary for backwards compatibility.
15:22:51gokr1I did this bootstrap yesterday and it worked. But using "nimrod" you can't compile stuff - because it doesn't fit the bigbreak system.nim
15:23:13gokr1Doesn't nim work?
15:23:33TrustableI also did a bootstrap yesterday on Linux x64.
15:25:38dom96_Likely something stale in the copy of the local repo. This was on one of nimbuild's testing machines so it seems likely.
15:52:00*edayo_ joined #nimrod
15:54:36*edayo quit (Ping timeout: 256 seconds)
16:01:16*AFKMorpork is now known as AMorpork
16:04:12*nande joined #nimrod
16:05:03*boydgreenfield joined #nimrod
16:05:43*Jehan_ joined #nimrod
16:07:34*boydgreenfield quit (Client Quit)
16:07:38*brson joined #nimrod
16:07:39*BitPuffin quit (Read error: Connection reset by peer)
16:22:14*boydgreenfield joined #nimrod
16:24:00*askatasuna joined #nimrod
16:29:14*BitPuffin joined #nimrod
16:30:28*mko joined #nimrod
16:35:27*Matthias247 joined #nimrod
16:40:15*boydgreenfield quit (Quit: boydgreenfield)
16:51:51*dom96_ quit (Quit: Page closed)
17:02:25*khmm quit (Ping timeout: 244 seconds)
17:08:35*Araq0 joined #nimrod
17:12:58*Joe_knock joined #nimrod
17:15:44*dom96_ joined #nimrod
17:29:26*dom96_ quit (Ping timeout: 258 seconds)
17:33:33*Araq0 quit (Quit: Page closed)
17:34:52*dom96_ joined #nimrod
18:06:31*superfunc joined #nimrod
18:28:55*gokr1 quit (Quit: Leaving.)
18:29:19*BitPuffin quit (Read error: Connection reset by peer)
18:32:12*gokr_ joined #nimrod
18:34:23*gokr quit (Ping timeout: 244 seconds)
18:48:54*gokr joined #nimrod
18:52:37*gokr_ quit (Ping timeout: 258 seconds)
18:56:41*AMorpork is now known as AFKMorpork
18:56:55*Hakaslak joined #nimrod
18:58:42*nande quit (Read error: Connection reset by peer)
19:21:19*Hakaslak quit (Quit: TODO: Generate 'Computer Sleep Quit Message')
19:28:05*noam joined #nimrod
19:32:24*BlaXpirit joined #nimrod
19:32:44*noam quit (Ping timeout: 245 seconds)
19:42:36*flaviu joined #nimrod
19:42:51*edayo joined #nimrod
19:45:52*edayo_ quit (Ping timeout: 240 seconds)
20:06:29flaviuIIRC someone criticized linux IPC. dbus is getting merged (https://lkml.org/lkml/2014/10/29/854), so now that's not vaild, even if it was before
20:14:43*gokr_ joined #nimrod
20:16:37*Ven joined #nimrod
20:16:54*gokr quit (Ping timeout: 245 seconds)
20:25:30*Hakaslak joined #nimrod
20:27:35*Hakaslak quit (Max SendQ exceeded)
20:28:29*Hakaslak joined #nimrod
20:29:24*gokr joined #nimrod
20:29:24*gokr_ quit (Read error: Connection reset by peer)
20:29:37*Hakaslak quit (Max SendQ exceeded)
20:30:20*Hakaslak joined #nimrod
20:32:35*Hakaslak quit (Max SendQ exceeded)
20:33:35*Hakaslak joined #nimrod
20:34:51*Hakaslak quit (Max SendQ exceeded)
20:35:04*mko quit (Read error: Connection reset by peer)
20:35:42*Hakaslak joined #nimrod
20:41:37*gokr1 joined #nimrod
20:48:12*edayo quit (Ping timeout: 245 seconds)
20:50:00*Hakaslak quit (Quit: TODO: Generate 'Computer Sleep Quit Message')
20:57:34*Mat3 joined #nimrod
20:57:37Mat3hello
20:57:59ldleworkshi
20:58:22Mat3hi ldlework
21:06:11*Hakaslak joined #nimrod
21:18:54*Hakaslak quit (Quit: TODO: Generate 'Computer Sleep Quit Message')
21:31:51*Hakaslak joined #nimrod
21:52:33*askatasuna quit (Quit: WeeChat 1.0.1)
21:54:01*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
22:01:37*Demos_ joined #nimrod
22:02:37*superfunc quit (Quit: Connection closed for inactivity)
22:09:37*xenagi joined #nimrod
22:30:47gokr1Muuahaha.
22:31:07gokr1I experimented with various solutions to the "super call" problem.
22:31:20gokr1Read up a bit on generics, I am definitely rusty (no pun intended) there.
22:31:46gokr1First I tried composition a bit, got something working but... man, it got messy.
22:32:22gokr1Then I found what I guess you guys would have done in the first place.
22:33:31Mat3sorry, what means rusty ?
22:33:33gokr1I broke out the "base" implementation into a generic proc with a different name. Then I can call that one from "subclasses" and no type info is lost.
22:33:40*brson quit (Ping timeout: 265 seconds)
22:33:56gokr1(rusty as in... it was a long time since I used generics)
22:33:57ldleworkMat3: it means you're not as good at something as you used to be
22:34:01gokr1right.
22:34:17ldleworkMat3: as in, metal things that are not used for a long time tend to get covered in rust
22:35:10gokr1And then you can't inherit a base implementation of the proc in question - all the concrete subclasses will need to implement it - but you can of course just call the generic proc, so its a oneliner if you aren't going to override.
22:36:22gokr1So given you want to use procs and not methods, this style is probably what you would do.
22:38:13gokr1oooh, no, wait. I can implement it in the base class. wtf...
22:43:17*superfunc joined #nimrod
22:43:33gokr1Nice! Even better.
22:56:13*Jehan_ quit (Quit: Leaving)
22:57:30*brson joined #nimrod
23:00:54*Jehan_ joined #nimrod
23:19:40Trustablegokr1: Can you post your code as example?
23:19:50gokr1I am about to publish it in an article.
23:20:06ldleworkheh nice
23:20:11gokr1It turned out fairly simple - but it took me quite a lot of experimentation to arrive there.
23:20:27ldleworkgokr1: story of our lives
23:27:23Mat3ciao
23:28:06*Mat3 quit (Quit: Verlassend)
23:34:40gokr1http://goran.krampe.se/2014/10/31/nim-and-oo-part-ii/
23:39:04*BitPuffin joined #nimrod
23:43:59flaviugokr1: post your favorite article that you've written about nim to reddit, they might like it. Don't forget that the title is the most important part :P
23:51:02*BlaXpirit quit (Quit: Quit Konversation)
23:52:34*Matthias247 quit (Quit: Matthias247)
23:52:48*mko joined #nimrod
23:55:54*johnsoft quit (Ping timeout: 256 seconds)
23:56:04*johnsoft joined #nimrod
23:58:21flaviuRunes in unicode.nim are `int`s? Aren't `uint32`s more appropriate?
23:59:59*darkf joined #nimrod