<< 28-12-2014 >>

00:00:11EXetoCekarlso-: no, but it happened to me with some other program when I ran it as root
00:00:34ekarlso-heh, well I dunno what can be wrong :(
00:01:20Araqekarlso-: there is a GTK build that uses the native osx stuff. do you use that? cause you should.
00:01:45ekarlso-gtk build of what ?
00:02:23EXetoCof gtk? :p
00:03:55ekarlso-I used homebrew to brew install gtksourceview
00:05:30ekarlso-oh well, give up that then :p
00:05:55*yglukhov_ quit (Ping timeout: 252 seconds)
00:07:24ekarlso-no clues ?
00:08:53EXetoCit's probably only gtk itself that is of relevance
00:09:56dom96ekarlso-: gtk on Mac is generally not very easy to set up I think.
00:10:05*z1y joined #nim
00:10:10ekarlso-meh, switch to QT :P
00:10:18dom96make a Qt wrapper and I will
00:10:28ekarlso-:(
00:10:38ekarlso-get a mac dom96 :)
00:11:00dom96ekarlso-: Sure, donate some money to that cause and I will ;)
00:12:59ekarlso-guess i'll stay in sublime for now :P
00:13:02ekarlso-this was a hassle
00:13:34dom96sure
00:14:34Araqdom96: I fixed the last bug I wanted to fix for 0.10.2
00:14:51Araqshould we release?
00:14:55gmpreussner_Varriount|Busy: uhm... no idea. i'm using a systemd service that flaviu sent me
00:15:05dom96Araq: Have you fixed the release article?
00:15:15Araqdom96: not really
00:15:30AraqI changed one sentence
00:15:42Varriount|Busygmpreussner_: Well, we'll know as soon as the build runs. If it fails when invoking python, I'll change it.
00:15:59gmpreussner_ok, but i need the details for the server first
00:16:06gmpreussner_i haven't put any configuration in yet
00:16:15gmpreussner_it's just a virgin buildbot slave
00:17:25Araqargh
00:17:45Araqnever mind, my fix produced a regression ... wtf
00:18:05dom96Araq: Please improve the article.
00:24:19Varriount|Busygmpreussner_: Connect the slave to port 9989 on buildbot.nim-lang.org
00:24:46Araqdom96: it's fine the way it is
00:24:56Araqalso
00:25:02Araqthis is only the website
00:25:10Araqwe improve that whenever we wish
00:25:16Araqit's not bound to a release
00:26:11dom96it is
00:26:20dom96because everybody will read it once it hits HN/Reddit
00:26:35*zedronar joined #nim
00:26:41dom96Maybe somebody else would be willing to improve it? https://github.com/Araq/Nim/blob/devel/web/news.txt#L9
00:26:59skyfexAraq: Is it possible to allow more keywords to be used as identifiers in objects? Such as "interface" and "type"
00:27:15Araqskyfex: `interface`: int # works
00:27:30Araqbut some wish for trailing underscores instead
00:28:19*z1y quit (Ping timeout: 256 seconds)
00:28:29skyfexAha, thanks
00:28:54skyfexmaybe c2nim should be made aware of such conflicts
00:29:08Araqyup
00:29:27Araqbut c2nim will see a pretty big update within the next months
00:32:42gmpreussner_Varriount|Busy: i'll be afk for a moment. i'll connect the slave in about 30 minutes. is there anything else i need to do after that?
00:33:28Varriount|Busygmpreussner_: Not really. I'll instruct the master to perform a manual run, to make sure things work, but that should be it.
00:34:58gmpreussner_ok cool, i'll set this up asap. i gotta run. i'll be back
00:35:59*Demos_ joined #nim
00:38:32*Demos quit (Ping timeout: 244 seconds)
00:44:26Araqdom96: the list of bugfixes is not exhaustive at all
00:45:07dom96indeed
00:45:48dom96I was going to write a program which finds commit messages which say "fixes #xxxx"
00:45:54dom96and then checks the issue's titles
00:47:16Araqso ... how do we manage the version?
00:47:36Araq0.10.2 will be released and then we quickly release 0.10.4 ?
00:48:26Araqbut oh, we just said, last release before 1.0 candidates come ...
00:48:45Araqwe need some "hotfix period"
00:48:59Araqor whatever you want to call it
00:50:22skyfexAraq: When creating a C wrapper, is it ok to use int32 instead of cint like c2nim generates? Why is it a distinct type?
00:50:40Araqcint could be 64bits
00:50:53AraqI know of no platform where that's the case
00:50:59Araqbut it could be :P
00:51:11Araqand then you're glad you used cint instead of int32
01:19:14*Varriount|Busy quit (Quit: Page closed)
01:25:52*skyfex quit (Quit: (null))
01:30:17*Trustable quit (Remote host closed the connection)
01:30:47flaviuhttp://prog21.dadgum.com/13.html is particularly relevent to Nim
01:31:33*nimnoob joined #nim
01:33:46Araqalready know it
01:34:01Araq"And if a hundred million dollars changes your approach to getting things done in a quick and reliable fashion, then why isn't it your standard approach?"
01:34:31Araqeven IF the answer is here "C, oh C, über alles" that approach means we never make any progress whatsoever
01:36:32Araqso that's why it isn't the standard approach
01:41:26flaviuAraq: I don't really care for the ultimate conclusion either, but it makes excellent points.
01:42:06Araqhow so?
01:43:44Araqhe spreads some general FUD about GC and boxing and pretends you cannot measure these things upfront to see if they suit your goal
01:46:46Araqif you cannot measure maybe you should learn how to do it instead of switching to some technology where every single basic operation is full of undefined behaviour
01:47:28Triplefoxas i see it there are basically only two answers and they depend on your schedule
01:47:51Triplefoxone is that you program like an actuary - figure out the risk and effort and make your best estimate (i.e. most projects)
01:48:03Triplefoxthe other is that you go ground-up and design the language to fit the problem exactly
01:49:57flaviuAraq: His goal isn't to say that C is the best language, but to say that there are more factors to the usability of a programming language than are immediately apparent.
01:50:07*yglukhov_ joined #nim
01:50:48Araqflaviu: in my opinion he argues for development driven by fear.
01:52:10flaviuYes, when dealing with high-stakes decisions, it's a good idea to make conservative decisions.
01:54:09Triplefoxi think the most valid point of it would be against going for "easy" - e.g. using a framework and trying to wrangle its assumptions into the problem space
01:54:17Araqit's a better idea to learn how and what to measure
01:54:25*yglukhov_ quit (Ping timeout: 255 seconds)
01:54:59Triplefoxbut i think the way it which he talks about it makes it sound like this is not an everyday occurrence in software
01:58:13Araqgood night
01:58:26Triplefoxnini
02:09:11*ARCADIVS joined #nim
02:21:37*zedronar quit (Quit: Page closed)
02:21:50Araqdom96: good news
02:21:58AraqI found a serious bug in the openssl wrapper
02:22:01dom96oh?
02:22:09Araqwhich explains the reported issues
02:22:11dom96cool
02:22:15dom96what's the bug?
02:22:23Araq CRYPTO_set_mem_functions(alloc, realloc, dealloc)
02:22:37Araqyou cannot pass these to SSL and expect things to work
02:22:55Araqusually the calling convention would have prevented this
02:23:05Araqbut proc CRYPTO_set_mem_functions(a,b,c: pointer){.cdecl,
02:23:06Araq dynlib: DLLUtilName, importc.}
02:23:12dom96oh right
02:23:14Araqis declared to use 3 pointers. sloppy
02:23:23dom96makes sense
02:23:28dom96is it easy to fix?
02:23:39Araqsure
02:24:14Araqgood we found it before the release
02:24:25dom96yeah, can you comment on the guy's issue?
02:24:26Araqwould have been yet-another-hotfix-after-a-release
02:25:55dom96indeed
02:26:31Araqwhy do we set these btw?
02:26:49Araqwe don't do it on windows
02:27:02dom96no idea
02:27:08dom96I didn't write this code
02:27:11Araqcheck the history
02:27:37*nimnoob quit (Ping timeout: 240 seconds)
02:27:42AraqI didn't write it either
02:28:05gmpreussner_Varriount: sorry for the delay, i'm back now
02:28:13*gmpreussner_ is now known as gmpreussner
02:28:25Araqgmpreussner: I'm working on static[T] now
02:28:30Araqjust fyi
02:30:14*z1y joined #nim
02:30:38gmpreussnerhooray
02:31:25dom96ok, maybe I did. My bad.
02:33:53dom96Araq: I can attempt to fix it tomorrow.
02:33:58dom96This requires some research I guess.
02:34:47dom96good night
02:34:56Araqsame here, good night
02:38:19gmpreussnerflaviu: you around?
02:38:25flaviuyep
02:55:11dts|pokeballi dont think he is
02:55:46gmpreussnerVarriount: when you have a minute, can you add an armv7 slave as well?
02:56:23*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
03:09:41*dts|pokeball quit (Ping timeout: 272 seconds)
03:10:06*darkf joined #nim
03:13:20*dts|pokeball joined #nim
03:24:36*BitPuffin quit (Ping timeout: 264 seconds)
03:24:56Demos_gmpreussner, pong, what did you want last night?
03:26:13gmpreussnerheya
03:26:36gmpreussnerpm
03:37:34flaviunight
03:38:55*yglukhov_ joined #nim
03:43:29*yglukhov_ quit (Ping timeout: 265 seconds)
03:51:20gmpreussnergnite flav
04:03:05*dts|pokeball quit (Read error: Connection reset by peer)
04:03:05*dts_ joined #nim
04:08:37*dts_ is now known as dts|pokeball
04:22:09*dts|pokeball quit (Ping timeout: 265 seconds)
04:29:57ldleworkdoes Nim have infinity values?
04:34:00reactormonkldlework, think so, they're defined at the OS level IIRC
04:34:31ldleworknot sure what that means, how do I use them in Nim?
04:35:57reactormonkldlework, what do you want to do?
04:36:11ldleworkhave a value for which all other values are less than it
04:36:15ldleworkor vice versa
04:40:49gmpreussnerthere are the Inf and NegInf constants for floating point values
04:40:57gmpreussnerthere's also NaN
04:43:46*gmpreussner quit (Quit: Konversation terminated!)
04:44:03*z1y quit (Ping timeout: 272 seconds)
04:45:09ldleworkthanks
04:56:19*EXetoC quit (Quit: WeeChat 1.0.1)
04:56:42*dts|pokeball joined #nim
05:14:39*Demos joined #nim
05:16:21*Demos_ quit (Ping timeout: 272 seconds)
05:27:49*yglukhov_ joined #nim
05:32:19*yglukhov_ quit (Ping timeout: 245 seconds)
05:34:49*Boscop quit (Ping timeout: 245 seconds)
06:11:11ldleworkCan anyone think of a way to create a do-while loop?
06:11:58ldleworkeh I can try
06:16:21*Varriount|Remote joined #nim
06:20:31*BitPuffin joined #nim
06:22:40*Varriount|Remote quit (Ping timeout: 246 seconds)
06:25:24*BitPuffin quit (Ping timeout: 265 seconds)
06:26:25def-ldlework: something like this?: https://github.com/def-/nimrod-unsorted/blob/master/dowhile.nim
06:26:39ldleworknice that's what I came up with
06:27:04ldleworkdef-: hmm
06:27:11ldleworkcan we expand it to take stmt, expr, stmt
06:27:19def-don't think so
06:27:20ldleworkso we can initialize the variable as part of the dowhile
06:27:30ldleworkwait
06:27:36ldleworkoh right
06:27:42ldleworkpoo
06:27:53ldleworkdef-: are you sure?
06:28:02def-ldlework: nope, go ahead and try
06:33:01ldleworknot sure how to invoke it
06:33:05ldleworkanyway the normal dowhile is fine
06:33:07ldleworkthanks
06:37:10ldleworkdef-: this could be a nice snippet for the front page, https://gist.github.com/dustinlacewell/5a4e604b312b4401b8d9
06:38:19def-I don't know, I don't like do-while loops anyway
06:38:34*Ssactung joined #nim
06:38:36ldleworklol that's not really the point
06:39:11def-the frontpage should show examples of doing something useful, so I think that's relevant
06:39:22def-but not my decision anyway
06:41:20*ldlework rolls his eyes
06:45:21notfowl15 mins :o
06:46:04notfowler wrong channel
06:49:15*Varriount|Remote joined #nim
06:50:58*starless joined #nim
06:56:32*gour joined #nim
06:58:22*Ssactung quit (Quit: Page closed)
07:00:20Varriount|RemoteMeep
07:00:50ldleworkmoop
07:05:53ldleworkI'm not sure how to organize my Nim code when I have different objects that need to refer to each other
07:08:01Varriount|Remoteldlework: Hm? What do you mean?
07:08:29ldleworkVarriount|Remote: because recursive type require you to define the types in the same type block
07:09:59Varriount|Remoteldlework: What kind of types are you working with? AST?
07:10:01notfowlldlework, the best way to circumvent the module system is to only use one module
07:10:16ldlework:3
07:15:01Varriount|Remoteldlework: There's another way... have your recursive type use a 'RootObj' or 'ref RootObj', and cast
07:15:25ldleworkthat doesn't seem good
07:15:34Varriount|Remote*shrug*
07:15:49notfowlyou can use type classes
07:16:21notfowlyou dont care what type it is as long as it adheres to some API
07:16:37ldleworkYeah but then I'm defining type classes when really I just have one type
07:16:45*yglukhov_ joined #nim
07:16:46ldleworkbut I do appreciate the workarounds
07:17:27notfowlyou can separate the type definitions into another module and make everything public
07:18:05ldleworkheh
07:18:35Varriount|Remoteldlework: I know that this is one of those 'rough patches' in the Nim implementation/language
07:18:38ldleworkwe all do agree it should just eventually support recursive types across modules?
07:18:43ldleworkVarriount|Remote: sure, I'm okay with that
07:19:00Varriount|Remoteldlework: Yeah, I agree. However it's not simple to implement.
07:20:15Varriount|Remoteldlework: Have you tried invoking the compiler with the 'no forward declaration' option?
07:20:28ldleworkVarriount|Remote: what does that do?
07:20:51*loz joined #nim
07:21:00*yglukhov_ quit (Ping timeout: 250 seconds)
07:21:09Varriount|Remoteldlework: It's an experiment option to disable to the need for forward declarations for procedures. I don't know if it allows for recursive types in separate blocks.
07:21:17Varriount|Remote*experimental
07:22:38Varriount|Remoteldlework: It *might* work though. ;P
07:37:06*BlaXpirit joined #nim
07:48:16ldleworkDoes Nim have "generators"?
07:49:49*Varriount|Remote quit (Ping timeout: 246 seconds)
07:51:16*notfowl quit (Ping timeout: 255 seconds)
07:51:18*fowl joined #nim
07:55:37ldleworklike
07:55:50ldleworka function that I can yield from and call over and over until it stops returing values
07:56:17ldleworkI guess alternatively, can I use iterators outside of a looping context?
07:58:17*yglukhov_ joined #nim
07:58:30ldleworkit doesn't look like it..
07:59:06ldleworkhrm
07:59:34ldleworkoh
07:59:52ldleworkoh nice
07:59:56ldleworkclosure iterators
07:59:58ldleworkwoo
08:02:55*yglukhov_ quit (Ping timeout: 272 seconds)
08:08:52ldleworkwait
08:09:04ldleworkcan you declare variabls inside a closure iterator?
08:09:16ldleworkgc.nim(167) nimGCunrefNoCycle
08:12:10ldleworkI guess this is where I break for the night
08:16:34ldleworkbleh it works with a wrapping function
08:16:39ldleworkbut that seems superflous
08:16:45ldleworkwait a minute
08:17:38ldleworkthe hell
08:19:05ldleworkthat must be a bug or something
08:19:45ldleworkhttps://gist.github.com/29c970f1a69a329bf820 this fails
08:19:50*gour_ joined #nim
08:20:10ldleworkbut this works fine, https://gist.github.com/fa5d2bace7de59395880
08:20:21*jefus_ joined #nim
08:22:04*dts|pokeball quit (Read error: Connection reset by peer)
08:23:09*gour quit (Ping timeout: 245 seconds)
08:24:13*jefus quit (Ping timeout: 252 seconds)
08:30:21*dts|pokeball joined #nim
08:42:21lozhi, is it possible to get random element from set?
08:52:43ldleworkloz: https://github.com/BlaXpirit/nimrod-random
08:52:49ldleworkyou can install it with nimble
08:53:00BlaXpirit:o
08:53:02ldleworkit adds random_choice
08:53:09BlaXpiriti wonder if it even still works
08:54:19lozldlework: i see to_seq there, i think it can help me, thanks!
08:54:53*kapil__ joined #nim
08:55:13ldleworkI really wonder how to write a template that takes two stmt blocks
08:55:20ldleworkor rather how to invoke one
08:58:16fowldo:
08:58:41fowlhave you read the manual btw
08:59:52fowlput a do: on the same indentation
09:04:22ldleworkfowl: I have read the manual
09:04:45ldleworkwell
09:04:48ldleworkI have picked through it :)
09:05:35ldleworkfowl: hmm I'm not sure I understand how to use do to invoke a template that takes two stmts
09:06:01ldleworkoh
09:06:03BlaXpirit[:59:50] <fowl> put a do: on the same indentation
09:06:36BlaXpirityou have the call, then indented stmt, then unindented do:, then indented stmt
09:06:41BlaXpiritthat's what i understand from it
09:07:20fowlyes
09:08:10fowlldlework, https://gist.github.com/fowlmouth/28cf465fb62bc407c364
09:08:35ldleworkalright
09:08:36ldleworkthanks
09:08:49ldlework(its kinda ugly :)
09:11:31*starless quit (Quit: WeeChat 0.4.2)
09:12:07ldleworkfowl: how about, expr, stmt, stmt
09:12:30fowlldlework, when adding it there was no language found to base it off of
09:12:40ldleworkfowl: I change my mind, its not that bad really
09:12:45fowlno language found that lets you pass two code blocks like that
09:12:53ldleworkyeah, its ok
09:13:06ldleworkfowl: any idea how to invoke it, if its expr, stmt, stmt
09:14:27ldleworkfowl: this is what I have, https://gist.github.com/9631b72ed91d50c36f7c
09:14:32ldleworkit says wrong number of arguments though
09:14:49*milosn quit (Ping timeout: 252 seconds)
09:14:55fowluse parens
09:17:10ldleworknot sure exactly how
09:17:23ldleworksorry
09:19:21ldleworkfowl: can you illustrate when you have a second
09:20:09fowlno look my gist it uses parens at the template invocation
09:20:18fowli'm busy playing a game
09:20:55fowlyou always need ()s to use do: though
09:23:00ldleworkyeah its just telling me wrong number of arguments
09:23:22ldleworkhttps://gist.github.com/ce641677530ff4dcf91d
09:25:11ldleworkfowl: it looks just like your example
09:25:55ldleworkmaybe some bug with immediate templates
09:28:33ldleworkI'll just skip on the macro for now
09:28:44*yglukhov_ joined #nim
09:29:04ldleworkwill be cool to get that working though
09:29:19ldleworkits like a little generator where you can specify the initialization and the loop body
09:29:30ldleworkimplicit yield at the end
09:31:46lozwhat is correct return type for function returning array of strings?
09:32:25lozfor [string] compiler says Error: type expected
09:33:09*yglukhov_ quit (Ping timeout: 252 seconds)
09:33:09*dts|pokeball quit (Ping timeout: 245 seconds)
09:38:28ldleworkloz: array[string] ?
09:38:58lozldlework: i found that i need variable size, and seq[string] did the job :)
09:39:05ldleworkyeah
09:40:38ldleworkfowlllllll
10:00:44*skyfex joined #nim
10:02:44*gokr quit (Quit: Leaving.)
10:23:53*Demos quit (Ping timeout: 256 seconds)
11:28:31*Trustable joined #nim
12:29:23*gokr joined #nim
12:53:52*dyu joined #nim
13:14:56Araqdyu: got my comment on your bug report?
13:19:00dyuAraq: I'll post the missing parts
13:21:47dyuAraq: done
13:28:43Araqping zahary
13:32:51ekarlso-dom96: how does one dump a object in the api ?
13:33:01ekarlso-Araq: how can one dump a object to json ?
13:33:17dv-can i do something like type Vec[n] = array[0..n, float64] ?
13:34:09Araqdv-: yeah in theory. in practice I'm working on the bugs that prevent it from working
13:34:24ekarlso-Araq: got a clue ?
13:34:34Araqekarlso-: check out marshal.nim
13:35:20ekarlso-seems complex :p
13:40:30Araqimport marshal
13:40:45Araq$$myobject # Json as a string
13:40:50Araqvery complex indeed
13:48:41*nimnoob joined #nim
13:50:15*zedronar joined #nim
13:50:20dyuAraq: did it crash?
13:55:43*BitPuffin joined #nim
13:56:17lozdoes latest nimble work?
13:56:18*yglukhov_ joined #nim
13:59:42lozi got SIGSEGV: Illegal storage access. (Attempt to read from nil?) from nimble with nimrod 0.9.7
14:03:23dv-you need to update to 0.10 i think
14:04:48lozdv-: devel branch?
14:07:44dv-i don't think you need to do anything special. just follow the github instructions
14:08:28dyuloz: devel branch
14:08:32dv-might want to uninstall the previous installation since the language has been renamed
14:09:43lozok, thank you
14:18:49loznice, it works now =)
14:25:21*z1y joined #nim
14:29:35*z1y1 joined #nim
14:29:47*z1y quit (Ping timeout: 252 seconds)
14:33:59*yglukhov_ quit (Quit: Be back later ...)
14:35:32*z1y1 quit (Ping timeout: 244 seconds)
14:38:06*drewsrem joined #nim
14:40:15*yglukhov_ joined #nim
14:42:34*drewsrem quit (Ping timeout: 244 seconds)
14:43:19loznow opengl bindings compilation failed(
14:44:38*yglukhov_ quit (Ping timeout: 244 seconds)
14:45:53*z1y joined #nim
14:48:34dom96loz: what's the error?
14:49:29loz/home/maxvel/.nimble/pkgs/opengl-1.0/opengl.nim(377) wrapErrorChecking(413, 0) Info: instantiation from here
14:49:29lozlib/system.nim(2164, 6) Error: unhandled exception: false Invalid node kind nnkSym for macros.`$`
14:50:14dom96I might be able to fix that for you :)
14:51:29*z1y quit (Ping timeout: 245 seconds)
14:52:56lozdom96: it would be really cool, i'm trying to run a game with ludens engine
15:02:31*darkf quit (Quit: Leaving)
15:04:47*bjz_ quit (Read error: Connection reset by peer)
15:05:03*bjz joined #nim
15:21:57*hector4 joined #nim
15:22:20*hector4 quit (Client Quit)
15:23:47dom96loz: Done. Update nim and the opengl wrapper.
15:25:30*z1y joined #nim
15:27:27*z1y quit (Client Quit)
15:28:38*z1y joined #nim
15:32:57lozdom96: update nim?
15:34:22lozdom96: i just updated opengl, it compiled successfully, thanks!
15:38:09*z1y quit (Ping timeout: 245 seconds)
15:38:37*Demos joined #nim
15:41:27*gmpreussner joined #nim
15:42:59lozokey, now /home/maxvel/.nimble/pkgs/ludens-0.1/game.nim(196, 2) Error: undeclared identifier: 'GC_step', is there anything needed to be imported for GC_step?
15:44:25*EastByte joined #nim
15:49:26Araqloz: -d:useRealtimeGc iirc
15:51:06lozAraq: thanks)
15:51:49*Varriount|Mobile joined #nim
15:53:13Varriount|MobileBlarghblarghblargh
15:53:24gmpreussnerhey Varriount|Mobile
15:53:44Varriount|MobileHi gmpreussner
15:53:53gmpreussnerit looks like all the builders are builders have been failing on upload recently
15:54:03gmpreussner-are builders
15:54:18gmpreussneri just woke up. can't type yet :)
15:55:29gmpreussnerVarriount|Mobile: when you get a chance, can you add an armv7 slave for me as well?
15:55:45Varriount|MobileYep.
15:55:50gmpreussnerthx :)
15:56:02Varriount|MobileThe upload error is odd...
15:56:33gmpreussnerserver full? firewall?
15:56:53gmpreussneri don't know how it's intended to work. i guess i can read up on it.
15:57:05*z1y joined #nim
15:58:49gmpreussnerah, according to the error log it looks like the upload script may not work
15:59:45gmpreussnerposixpath.py, line 261, 'path' is None
16:04:46*EXetoC joined #nim
16:08:22*z1y left #nim (#nim)
16:09:26Varriount|Mobilegmpreussner: Yeah, I found the cause. A wrapper function wasn't returning anything.
16:09:34gmpreussnerhooray
16:11:07*z1y1 joined #nim
16:12:06Varriount|Mobilegmpreussner: Did you get my message?
16:12:50gmpreussnerno, it got cut off
16:17:42*gokr quit (Quit: Leaving.)
16:23:12*ARCADIVS quit (Quit: ARCADIVS)
16:27:49*gokr_ joined #nim
16:29:09*yglukhov_ joined #nim
16:33:20*yglukhov_ quit (Ping timeout: 244 seconds)
16:42:41*z1y1 quit (Quit: Leaving.)
16:46:51*zedronar left #nim (#nim)
16:50:42*jefus_ quit (Ping timeout: 244 seconds)
16:53:14*nimnoob quit (Ping timeout: 265 seconds)
16:54:06*Ven joined #nim
16:59:17lozwhat is a correct type for a {1:2} table?
17:00:21lozor how can i check the type? can compile code only with auto for now..
17:01:03gmpreussnerVarriount|Mobile: armv7 build slave is now online as well
17:02:04flaviu.eval proc t[T](a: T)=; echo($T);t({1:2})
17:02:07Mimbusflaviu: eval.nim(5, 1) Info: instantiation from here
17:04:15flaviu.give loz import typetraits;proc t[T](a: T)=; echo(name(T));t({1:2})
17:04:19Mimbusloz: array[0..0, tuple[int, int]]
17:05:02flaviuIt's not a table until you convert it to one with http://nim-lang.org/tables.html#inc,TCountTable%5BA%5D,A,int
17:05:13flaviuerr, http://nim-lang.org/tables.html#toTable,openArray%5Btuple%5BA,B%5D%5D
17:05:39lozflaviu: hm, but what is 0..0 as array dimension?
17:05:54flaviu.eval import typetraits;proc t[T](a: T)=; echo(name(T));t({1:2,1:3})
17:05:57Mimbusflaviu: array[0..1, tuple[int, int]]
17:05:59gmpreussnerarray with one element
17:06:18flaviuYeah, I think that the array range is inclusive, not exclusive
17:07:36lozso for dynamically created and filled hash table i need to use tables module?
17:09:41*nimnoob joined #nim
17:15:20*Matthias247 joined #nim
17:16:05*nimnoob quit (Ping timeout: 258 seconds)
17:16:12flaviuloz: Yes
17:16:43lozi can't even create one: Error: 'initTable' cannot be passed to a procvar
17:18:03lozok, i forget to write () :)
17:21:31*kapil__ quit (Quit: Connection closed for inactivity)
17:34:07*nimnoob joined #nim
17:38:23*gour__ joined #nim
17:42:25*gour_ quit (Ping timeout: 272 seconds)
17:49:21*gmpreussner_ joined #nim
17:50:01*gmpreussner quit (Ping timeout: 272 seconds)
17:54:31*minciue joined #nim
17:54:31*nimnoob quit (Read error: Connection reset by peer)
17:54:38*nimnoob joined #nim
18:11:32*Varriount|Mobile quit (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com ))
18:12:26minciuedom96: hi. are you around by any chance?
18:12:43dom96minciue: yes, what's up?
18:13:34minciueI’ve started dabbling in nim and I wanted to submit a little PR against nimble. The tests don’t seem to run though
18:13:52minciueI’m not sure what the situation is as far as the tests go
18:15:07minciuehere’s what’s happening: http://pastie.org/9802403
18:17:08minciuedom96: any ideas?
18:17:57*yglukhov_ joined #nim
18:18:06dom96hrm, I guess something changed in the unittest module which caused my tester to now fail.
18:18:19dom96What PR are you making?
18:18:55minciueI’m adding a buildDir option, so that I can use nimble build to build executables in a bin directory
18:20:44dom96cool
18:21:12minciueI’d like to have something like nimble run as well, similar to what rust’s cargo does
18:21:16dom96I'll try to fix the tester for you.
18:21:22minciueok, I’ll wait
18:21:38dom96how does that work with rust's cargo?
18:21:51minciueit does a build and then executes the file for you
18:22:01minciuealso, the build is in debug mode I believe
18:22:22*yglukhov_ quit (Ping timeout: 245 seconds)
18:22:32minciuethe build subcommand would probably need some kind of release/debug flag
18:23:10dom96It might be a good idea to pass whatever params you pass with the build command to the nim compiler.
18:23:38dom96perhaps the build subcommand should also build in debug mode by default
18:23:52dom96however when installing the implicit build should be made in release mode
18:23:59minciueyeah, that’s what I’m thinking
18:26:40*nimnoob quit (Ping timeout: 255 seconds)
18:30:19dv-is there a way to generate docs for all functions rather than just exported functions?
18:31:40Araqdv-: no. why is that useful?
18:33:23*nimnoob joined #nim
18:35:19*yglukhov_ joined #nim
18:37:51*nimnoob quit (Ping timeout: 264 seconds)
18:39:02dv-hm. i don't know. maybe for the main module?
18:39:24*yglukhov_ quit (Ping timeout: 244 seconds)
18:46:23*gour__ quit (Remote host closed the connection)
18:48:55dom96well, it seems it's a regression that Araq caused so he needs to fix it :P
18:51:02minciueheh
18:53:02*BitPuffin quit (Ping timeout: 250 seconds)
18:53:22*gour joined #nim
19:02:19gmpreussner_flaviu: i read up on big endian linux on raspi, and i think it's going to be a giant pain in the ass. not sure if it's worth it.
19:03:12flaviuI told you it'd be difficult. It's probably not worth it unless you would enjoy doing it.
19:03:13gmpreussner_i couldn't find any big endian distributions that run on it, so one would have to bare metal a linux from scratch, i think
19:03:19flaviuYep
19:10:51*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
19:18:48minciue@dom96 https://github.com/nim-lang/nimble/pull/78
19:19:28minciueI know I’ve made the code uglier in the process; I’m thinking of ways to clean it up.
19:20:03minciuealso, I have no idea if the tests pass or not, I was able to build/install nimble and a toy project of mine and that’s pretty much it
19:20:16*yglukhov_ joined #nim
19:20:35Araqthe tests all fail for me anyway
19:20:46Araqand it invokes 'nimrod', not 'nim'
19:20:51minciueoh
19:20:58minciueI missed that
19:21:25*Ven joined #nim
19:22:39dom96Yeah, I kinda forgot I had those tests.
19:22:51minciueAraq: From what I can tell, it does look for nim in master
19:23:17minciuebut the other tests do seem to fail when I comment out the one w/ the regression
19:24:17minciuedom96: the other thing I’d like to work on is a nimble test subcommand ;)
19:25:42dom96minciue: awesome :)
19:29:20minciuedom96: I plan to call it a day soon-ish; should I wait for you to take a look at that PR or should I check again tomorrow?
19:29:22dom96minciue: Looks good, but could you also document that new option in the readme?
19:29:29minciueoh, sorry, yes
19:29:38dom96Once you do that I will merge it :)
19:35:15*Ven quit (Quit: Textual IRC Client: www.textualapp.com)
19:49:00*gokr joined #nim
19:49:32*yglukhov_ quit (Quit: Be back later ...)
19:50:39minciuedom96: pushed; I also made `nimble build` output to the root dir by default, even if a srcDir is set
19:50:51*bpr joined #nim
19:51:21minciueI don’t think nimble build should ever output binaries or libs into the src dir
19:51:24*BlaXpirit quit (Quit: Quit Konversation)
19:51:42*BlaXpirit joined #nim
19:52:29*gokr_ quit (Ping timeout: 258 seconds)
19:53:07dom96Perhaps it's time we made srcDir = "src" and buildDir = "bin" by default?
19:53:50minciuedom96: I agree about srcDir (and having init make one) but buildDir could also be “lib”
19:54:24dom96minciue: You can't build libraries though.
19:54:51minciueoh, how so?
19:55:30minciueoh, I see, they’re just modules, right?
19:55:53minciueand you compile them when you compile a binary that depends on them?
19:57:02*gmpreussner__ joined #nim
19:57:35*gmpreussner_ quit (Ping timeout: 252 seconds)
19:58:05dom96minciue: indeed
19:59:34minciueI see. I’m not sure what to make of this sentence in the docs: “Note: Currently the creation of nimrtl.dll with thread support has never been tested and is unlikely to work!”
20:00:46minciuedoes that mean one should only use nimrod to output binaries for the time being? or that nimrod code can’t be linked into binaries that use threads?
20:02:04minciuedom96: this being the case, I agree about srcDir and buildDir
20:03:28bprIs there a way to get the nim compiler to pick up the shared object file of a library from the system?
20:03:36*BlaXpirit quit (Read error: Connection reset by peer)
20:04:35*BlaXpirit joined #nim
20:05:15Araqminciue: that means that we didn't test it. at one point I got tired of DLL support and its never ending PITA for the ultimate goal of saving 30KB on your hard disks in exchange for a deployment nightmare
20:05:51minciueAraq: fair enough
20:06:20AraqI will do it for version 1.0 though because people love their "plugin systems"
20:06:29minciueheh
20:06:45Araqgod knows why ... I've yet to see a plugin system that is worth its costs
20:07:06flaviuAraq: lua?
20:07:10bprFor example, mysql.nim has a 'lib = "libmysqlclient.so.15"' line hardcoded; to make it work on my setup I've had to change this. On Linux at least this could be picked up in a build script with ldd or some such.
20:07:57Araqbpr: you can use --dynlibOverride:mysqlclient and then link statically against libmysqlclient.a like other C programs do
20:08:11*yglukhov_ joined #nim
20:08:16Araqyou can also fix it to use a pattern instead
20:08:44bprThanks Araq! I guess I should RTFM :-)
20:08:49minciueAraq: I see what you mean about the deployment PITA btw
20:10:11dom96minciue: We can always detect if the package is a library or an application.
20:10:20dom96minciue: So for the future it's not an issue.
20:10:24minciueok
20:10:40dom96Making srcDir = "src" will break some packages though
20:10:44dom96so maybe it's not a good idea.
20:11:22minciueI think it should just be the default when `nimble init` is called
20:11:36minciuelike actually create those two dirs and set them up in the .nimble file
20:11:51dom96sure
20:11:56minciueor is there a way that could break some packages that I’m missing?
20:11:57dom96That can be easily done.
20:12:09dom96You thinking the same thing for buildDir?
20:12:14minciueyup
20:12:18dom96Yeah. That sounds good.
20:13:05minciuewould you prefer to use this same PR for these changes?
20:14:03minciueI’m thinking they should be separate, but whatever strikes your fancy
20:16:46dom96separate is fine
20:17:22dom96This seems incorrect: https://github.com/minciue/nimble/commit/6b007e88092f1d36a550a22f786b3a9caa9536f2#diff-70e5f2bec3bf023dee3f11479f378f0bR215
20:17:52minciuewhich part?
20:18:14minciueyou can also leave inline comments in the PR if you want
20:18:58dom96The description of buildDir
20:19:42*minciue blushes
20:23:16minciuedom96: pushed
20:26:51*fowl quit (Read error: Connection reset by peer)
20:27:24*fowl joined #nim
20:30:10*Ven joined #nim
20:30:17dom96minciue: thanks
20:33:17minciuedom96: I’m out for now, I’ll create another PR for the nimble init stuff tomorrow
20:33:20*brson joined #nim
20:34:42*nimnoob joined #nim
20:37:35*minciue quit (Quit: minciue)
20:38:58*nimnoob quit (Ping timeout: 255 seconds)
20:40:24*dyu quit (Quit: Leaving)
20:45:43*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
20:49:13BlaXpiritguys, what is the latest status on case-insensitivity or underscore replacement?
20:50:28EXetoCBlaXpirit: the first letter is case-sensitive now
20:50:46BlaXpiritEXetoC, and the rest is insensitive, and underscores ignored?
20:52:18flaviuyep
20:52:37BlaXpiritthat's OK. thanks.
20:52:54flaviu.eval let X_x = 1;Xx = 2;echo X_x
20:52:57Mimbusflaviu: eval.nim(4, 0) Error: 'X_x' cannot be assigned to
20:53:03flaviu.eval var X_x = 1;Xx = 2;echo X_x
20:53:06Mimbusflaviu: 2
20:53:29BlaXpirit.eval var xX = 1; x_x = 2; echo xX;
20:53:32MimbusBlaXpirit: eval.nim(4, 4) Error: invalid indentation
20:53:42BlaXpirit.eval var xX = 1;x_x = 2;echo xX
20:53:45MimbusBlaXpirit: 2
20:54:00BlaXpiritok. cool. so i will not abandon ship.
20:54:15ldleworkBlaXpirit: yay \o/
20:54:44BlaXpiritthat's like #1 feature of nim for me xD
20:55:19AraqBlaXpirit: interesting. you should learn to raise your voice earlier. ;-)
20:55:35BlaXpiritAraq, what do you mean?
20:56:12BlaXpiritthere have been many good suggestions, this option seems to be the best for general consensus
20:56:28BlaXpiritbut I probably like _x -> X best
20:56:40BlaXpiritand fully case-sensitive otherwise
20:56:45BlaXpiritbut who cares
20:57:00Araqusually we only get the feedback from the people who don't like it and that affects our views
20:57:36Araqbut wait? you didn't like the insensitvity?
20:58:17Araqah never mind
20:58:20BlaXpiriteverything that I care about is that I don't have to suffer from mixedCase
20:58:20AraqI misread
20:58:25BlaXpiritit is preserved, i'm happy
20:58:48Araqok, good
21:05:26ldleworkBlaXpirit: what you been using Nim for
21:05:35BlaXpiritnothing
21:05:47Araqlol
21:05:48ldleworkAlright what might you want to write with it?
21:06:51BlaXpiritgames
21:06:57BlaXpiritusing SFML
21:07:56ldleworkBlaXpirit: I too am writing games with Nim
21:08:07BlaXpirithow?
21:08:13ldleworkwhat?
21:08:21BlaXpirithow do you write games with Nim?
21:08:36ldleworkhmm this question confuses me. What do you mean how?
21:08:40ldleworklike what library?
21:09:16ldleworkif that's what you mean, I've just been using SDL
21:09:40BlaXpirit:|
21:09:59ldlework?
21:10:24AraqBlaXpirit: don't worry. at least fowl used every gaming lib under the sun with Nim ;-)
21:10:42BlaXpirityeah, but SFML bindings are not in a good state, I'm afraid
21:11:09ldleworkBlaXpirit: I've also used libtcod
21:11:21BlaXpiritnever heard :|
21:11:37*bjz quit (Read error: Connection reset by peer)
21:11:44*bjz_ joined #nim
21:12:04ldleworkBlaXpirit: its a roguelike library ontop of SDL
21:12:11BlaXpiritweird
21:12:24ldleworkit is?
21:16:29BlaXpiritwell, not really, I just never saw the point of narrowly-specified game libraries
21:16:59BlaXpiritalso, roguelike as a term got brutally killed in recent years
21:17:03ldleworkBlaXpirit: because each time I want to write a roguelike game, I don't have to reimplement a terminal based interface for SDL and redo pathfinding and so on
21:19:58fowl<BlaXpirit> yeah, but SFML bindings are not in a good state, I'm afraid -- the bindings are perfect, as evidenced by the 0 issues and 0 pull requests
21:20:09BlaXpiritfowl, right....
21:20:19BlaXpiritwell it's just that there are like 3 different ways
21:20:43BlaXpiritsfml.nim sfml2.nim csfml.nim
21:20:45BlaXpiritlike.. really?
21:20:52BlaXpiritand that arbitrary csfml_audio.nim file
21:21:17fowlBlaXpirit, use csfml and what makes csfml_audio arbitrary
21:21:35BlaXpiritI mean csfml_colors
21:22:07*gour quit (Quit: Leaving)
21:22:19*Demon_Fox joined #nim
21:22:24fowlBlaXpirit, does its existence offend you?
21:22:24*Demon_Fox left #nim ("Leaving")
21:22:35BlaXpiritfowl, its separation
21:22:38BlaXpiritfor no reason
21:23:02fowlwill accept a PR
21:23:24BlaXpiritwhat bugs me the most, though, is I don't know Nim and don't see a way to learn it if I've read the manual and all that stuff but feel extremely uncomfortable with it
21:24:44BlaXpiritfowl, are you planning to clean up the "extra" files maybe?
21:24:53BlaXpiritwhat's the point if they're outdated anyway?
21:25:19BlaXpiritif it was me, I'd leave only one for sure
21:26:39fowlBlaXpirit, yea they should be moved to a separate directory, one shows how to do a native c++ wrapper, the other is a newer attempt with newer c++ wrapping macros
21:26:53BlaXpiritfowl, so what do you think is the best way?
21:27:00BlaXpiriti mean, you did just say csfml is the way to go
21:27:10BlaXpiritbut then I can only repeat, what is the point of others?
21:27:30BlaXpiritby the way, I have made a csfml wrapper myself recently for a different language
21:27:40BlaXpiritso i kinda know what i'm talking about
21:28:11fowlBlaXpirit, use csfml and create a PR moving the extra stuff to another directory
21:28:12*loz quit (Ping timeout: 245 seconds)
21:28:28fowli just cant be arsed to right now but i can accept a PR pretty easily
21:28:42BlaXpiritfowl, when will you have time to work on this?
21:29:03BlaXpiritI'm really interested in getting SFML bindings in top shape
21:29:56fowl<fowl> i just cant be arsed to right now but i can accept a PR pretty easily
21:29:56BlaXpiritcollaboration is possible, but first I have to actually learn everything needed
21:30:47BlaXpiritand moving to folders is not something I care enough about right now
21:31:01fowlme too ^
21:31:08BlaXpiritjust asking when we can extensively talk about all this
21:31:16*nimnoob joined #nim
21:31:24ldleworkBlaXpirit: start opening issues on the project
21:31:28ldleworkthat's how you start talking about it
21:31:35ldleworknot everyone has time to sit down over coffee, y'know
21:31:38ldleworkjust start the conversation
21:31:42ldleworkas an issue
21:32:05BlaXpiritthe formality of that often limits my ability to express myself
21:32:49*Ven joined #nim
21:35:27fowlBlaXpirit, dont be formal then, next time i'm on linux i'll go through all the new issues on github and fix what i can, if there's nothing for nimrod-sfml then it won't get any attention
21:36:02*Jessin quit (Quit: Leaving)
21:38:00fowlI made an issue for it
21:39:52*Demos quit (Ping timeout: 265 seconds)
21:41:50BlaXpiritfowl, "Nimrod binding of SFML 2.0" - have you updated for 2.1 and 2.2?.
21:42:39ldleworkBlaXpirit: when are you going to update random
21:43:02BlaXpiritldlework, when I get an issue >:o
21:43:07ldlework:)
21:43:12BlaXpiritwhat exactly do you mean though?
21:43:34ldleworkBlaXpirit: I was just giving you some of your medicine
21:43:53BlaXpiritit is not effective, because i know there is absolutely no interest in that library
21:45:58Araqhrm what does realloc(NULL, 0) do according to ansi c?
21:46:29fowlBlaXpirit, 2.1 definitely works, 2.2 most likely works but is missing some new functions
21:46:34BlaXpirit"If ptr is NULL, the behavior is the same as calling std::malloc(new_size). "
21:46:54Araqcan malloc(0) return NULL?
21:47:06BlaXpiritIf size is zero, the behavior is implementation defined (null pointer may be returned, or some non-null pointer may be returned that may not be used to access storage)
21:47:13BlaXpiritjust copying stuff from http://en.cppreference.com/w/cpp/memory/c/realloc
21:47:21BlaXpiritand i have to say sorry, because it's actually C++
21:47:24BlaXpiritbut i hope it's the same thing
21:47:55Araqok, well i'm reading this page too
21:48:15*dloss joined #nim
21:49:15BlaXpirithm maybe this is better http://en.cppreference.com/w/c/memory/realloc
21:49:27BlaXpiritthis is supposed to actually be C
21:49:41BlaXpiritand it says the same thing
21:49:53*BitPuffin joined #nim
21:50:02ldleworkfowl: Araq can you show me how to invoke this template which takes expr, stmt, stmt? https://gist.github.com/b514af5f31f148619a8b
21:50:17ldleworkI tried doing what fowl told me last night with the parens, but it still says wrong number of arguments
21:51:02*dloss quit (Remote host closed the connection)
21:52:26Araquh oh
21:53:02Araqseems like removing implicit 'do' wasn't a wise move
21:53:36Araqldlework: you use it correctly, please report a bug
21:54:17BlaXpirit:(
21:54:34*BitPuffin quit (Ping timeout: 255 seconds)
21:55:48Araqldlework: the more traditional way to do is:
21:55:54Araqtask A1:
21:55:55Araq init:
21:55:58Araq ....
21:56:06Araq loop:
21:56:08Araq ...
21:56:24Araqwhere 'task' is a macro that interprets the inner 'init' and 'loop' sections
21:56:43ldleworkthose are 'blocks' ?
21:57:11Araqsyntactically these are template/macro invocations
22:02:50ldleworkAraq: so the AST would represent init and loop as additional macro invocation nodes?
22:03:06Araqthat is correct
22:08:15*Demon_Fox joined #nim
22:08:20Demon_Foxbetter ldlework ?
22:12:27fowlldlework, unittest module uses this pattern, https://github.com/Araq/Nim/blob/devel/lib/pure/unittest.nim#L49
22:13:09Araqhi Demon_Fox welcome
22:13:43Demon_FoxI suspected this:
22:13:44Demon_FoxPascal
22:13:51Demon_FoxPascal like syntax
22:15:12Demon_FoxBy the way
22:15:32Demon_FoxDoes this work in nim?: (var >> 1) << 2
22:16:08Araqif you declare << and >>
22:16:23Demon_Foxdarn
22:19:47*BlaXpirit quit (Quit: Quit Konversation)
22:20:54ldleworkDemon_Fox: its very easy to do
22:21:21ldleworkproc `>>`(a, b: int): int =
22:21:25ldleworkor whatever
22:28:55*Jesin joined #nim
22:30:34*gokr1 joined #nim
22:32:46*Varriount|Remote joined #nim
22:38:51Varriount|RemoteAraq: Just to let you know, the buildbot should be outputting test results to the correct directories from now on.
22:40:08Varriount|RemoteAraq: Also, what are your thoughts on correcting the problem in http://forum.nimrod-lang.org/t/686 ? I know that you dislike hijacking of blocks, but hijacking is something that might be wanted.
22:41:23Araqit's a bug that eventually I have to fix
22:41:41Araqit's quite some work to fix/change it though
22:44:36Varriount|RemoteAraq: So what is the intended behavior of defer when used in templates?
22:46:11gokr1Ooohh, work on Qt (QML), nice"!
22:48:56dom96oooh awesome. Must try it!
22:51:32gokr1Been looking hard at Qt lately.
22:52:02dom96Annoying that it requires a C++ bridge library.
22:52:56gokr1I read up a bit - apparently there was a libqtc library earlier, but it died off.
22:53:02gokr1(C wrapper)
22:54:43gokr1But perhaps Araq can make c2nim handle C++ :)
22:54:58dom96IIRC c2nim can already handle it.
22:55:05gokr1ok
22:55:15Araqyup, but it's about to be tested ;-)
22:55:36gokr1Btw, some such wrapper gen tools apparently go via Doxygen.
22:56:00gokr1But if you already cracked the "parse C++" part, then I guess that's not interesting.
22:56:35Araqparsing c++ is suprisingly easy when you go for heuristics anyway
22:56:42Araqwell no.
22:56:50fowli had an idea of using a macro to generate a c wrapper (and DLL)
22:57:00Araqit's easy because all the hard stuff is required by plain C already
22:57:01fowlthe same macro would be used to interface with it
22:57:51gokr1ok, time to hit the sack in decent time for once. Keep up the good work :)
22:59:36*Demos joined #nim
23:01:01ekarlso-dom96: u know how one can set the content type in a request ?
23:01:56dom96ekarlso-: resp "Content", "text/html"
23:02:23dom96Don't be afraid to look at the source code https://github.com/dom96/jester/blob/master/jester.nim#L296
23:04:57ekarlso-i:D
23:06:33ekarlso-how can I make a field "method" on a object ?
23:06:37*nimnoob quit (Ping timeout: 240 seconds)
23:07:43dom96name it something else, or use `method`
23:07:52dom96i'd recommend naming it something else
23:13:41*Demos_ joined #nim
23:14:17*Demos quit (Ping timeout: 272 seconds)
23:17:19ekarlso-http://pastebin.com/41Qdbdej < does that look sane ?
23:19:15*gokr1 quit (Quit: Leaving.)
23:23:16*Varriount|Remote quit (Ping timeout: 246 seconds)
23:31:22dom96ekarlso-: That won't generate the JSON you think it will.
23:31:40ekarlso- dom96 rly ?
23:31:47dom96yes
23:32:06ekarlso-why not
23:32:12dom96try it and see
23:34:13*yglukhov_ quit (Quit: Be back later ...)
23:34:40gmpreussner__is anyone using 'generic' yet? do we have some more complex/complete examples other than what's in the manual?
23:37:59*nimnoob joined #nim
23:38:24EXetoCI don't know, but it is broken in several ways, so you might come to a halt all of a sudden
23:39:26gmpreussner__sadness
23:43:12*nimnoob quit (Ping timeout: 245 seconds)
23:44:12EXetoCit will be fixed some time after 1.0
23:48:07*milosn joined #nim
23:48:31*yglukhov_ joined #nim
23:52:49*yglukhov_ quit (Ping timeout: 244 seconds)