<< 25-12-2014 >>

00:05:25*z1y quit (Ping timeout: 272 seconds)
00:50:54*dapz quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
00:56:59*yglukhov_ joined #nim
00:58:54*dapz joined #nim
01:00:14*dapz quit (Client Quit)
01:01:56*yglukhov_ quit (Ping timeout: 250 seconds)
01:14:03onionhammerdom96 hmm? you want to tap into my vast wealth?
01:16:19*z1y joined #nim
01:16:32dom96sure
01:33:54*dts|pokeball quit (Ping timeout: 265 seconds)
01:46:45*ehaliewicz quit (Ping timeout: 272 seconds)
01:50:25*dts|pokeball joined #nim
02:20:00*z1y quit (Ping timeout: 256 seconds)
02:34:05*darkf joined #nim
02:34:47*Trustable1 joined #nim
02:38:54*kapil__ joined #nim
02:38:56*Trustable quit (Ping timeout: 264 seconds)
02:45:09*dapz joined #nim
02:46:07*yglukhov_ joined #nim
02:50:42*yglukhov_ quit (Ping timeout: 250 seconds)
02:58:56*z1y joined #nim
03:05:57*Trustable1 quit (Remote host closed the connection)
03:10:13*yglukhov_ joined #nim
03:14:22*yglukhov_ quit (Ping timeout: 240 seconds)
03:17:47*MyMind quit (Max SendQ exceeded)
03:19:13*MyMind joined #nim
03:32:32VarriountMeep
03:32:38VarriountMerry Christmas!
03:34:26VarriountAraq: A) What is the 'release revision', and have the docs been generated and uploaded yet?
03:41:30*BitPuffin quit (Ping timeout: 265 seconds)
04:00:35*ARCADIVS joined #nim
04:01:19*saml_ joined #nim
04:16:44*Mimbus joined #nim
04:17:06flaviu.give #nim echo("merry christmas!")
04:17:09Mimbus#nim: merry christmas!
04:37:35*BitPuffin joined #nim
04:42:17*BitPuffin quit (Ping timeout: 258 seconds)
05:19:45*quasinoxen quit (Read error: Connection reset by peer)
05:21:05*quasinoxen joined #nim
05:28:27*t4nk325 joined #nim
05:28:40t4nk325merry xmas nimroders
05:28:49*t4nk325 is now known as zedronar
05:31:44*EXetoC quit (Ping timeout: 264 seconds)
05:33:41*Trixar_za quit (Quit: ZNC - http://znc.in)
05:33:56*mohaslan joined #nim
05:34:05*mohaslan left #nim (#nim)
05:38:27*mohaslan joined #nim
05:38:47*mohaslan left #nim (#nim)
05:54:17*nimnoob joined #nim
05:58:10*kokozedman quit (Ping timeout: 256 seconds)
05:58:27*kokozedman joined #nim
06:01:09*z1y quit (Remote host closed the connection)
06:01:20*z1y joined #nim
06:01:42*BitPuffin joined #nim
06:03:38*yglukhov_ joined #nim
06:06:52*BitPuffin quit (Ping timeout: 255 seconds)
06:07:48*yglukhov_ quit (Ping timeout: 244 seconds)
06:14:38*dapz quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
06:15:13*dapz joined #nim
06:17:45*dapz quit (Client Quit)
06:18:03*dapz joined #nim
06:25:36*saml_ quit (Quit: Leaving)
06:27:31*jefus_ joined #nim
06:30:43*jefus quit (Ping timeout: 255 seconds)
06:36:01*z1y quit (Ping timeout: 244 seconds)
06:38:20*nimnoob quit (Ping timeout: 264 seconds)
06:41:33*milosn joined #nim
06:50:21Varriount.help
06:54:06*gour joined #nim
07:02:13*gour quit (Ping timeout: 255 seconds)
07:11:44*gour joined #nim
07:13:25*AMorpork is now known as ZzZMorpork
07:17:12*dts|pokeball quit (Ping timeout: 250 seconds)
07:35:53*zedronar quit (Quit: Page closed)
07:46:51*yglukhov_ joined #nim
07:50:46*BitPuffin joined #nim
07:55:20*BitPuffin quit (Ping timeout: 250 seconds)
08:01:10*z1y joined #nim
08:28:39*ARCADIVS quit (Quit: ARCADIVS)
08:35:09*jefus_ quit (Ping timeout: 252 seconds)
08:38:54*dapz quit (Quit: Textual IRC Client: www.textualapp.com)
09:14:52*milosn quit (Ping timeout: 245 seconds)
09:39:32*BitPuffin joined #nim
09:44:27*BitPuffin quit (Ping timeout: 252 seconds)
09:51:03*milosn joined #nim
09:52:14gokrMerry Christmas folks!
09:52:32gokrGot a Raspberry Pi from my brother yesterday, humptidum...
09:55:37*nimnoob joined #nim
10:00:45*nimnoob quit (Ping timeout: 272 seconds)
10:03:22*gour_ joined #nim
10:06:38*gour quit (Ping timeout: 250 seconds)
10:21:54*z1y quit (Ping timeout: 245 seconds)
10:27:31*z1y joined #nim
10:40:33*gour_ is now known as gour
11:22:22*z1y quit (Ping timeout: 245 seconds)
11:28:17*BitPuffin joined #nim
11:33:04*BitPuffin quit (Ping timeout: 256 seconds)
11:47:31*gour quit (Remote host closed the connection)
11:50:28*gour joined #nim
11:57:15*nimnoob joined #nim
11:57:59*z1y joined #nim
12:01:45*nimnoob quit (Ping timeout: 264 seconds)
12:08:08*BitPuffin joined #nim
12:10:45*z1y quit (Ping timeout: 264 seconds)
12:54:17*gour quit (Ping timeout: 272 seconds)
12:54:47*gour joined #nim
13:04:43*EXetoC joined #nim
13:12:23*milosn quit (Remote host closed the connection)
13:52:20*nimnoob joined #nim
13:56:44*nimnoob quit (Ping timeout: 244 seconds)
14:56:58*z1y joined #nim
15:01:30*kapil__ quit (Quit: Connection closed for inactivity)
15:04:14*darkf quit (Quit: Leaving)
15:20:03*saml_ joined #nim
15:25:49*z1y quit (Ping timeout: 252 seconds)
15:26:16gmpreussnergokr: nice. i have two myself
15:29:54gmpreussneri pulled a fresh copy of nim from GitHub this morning, and i can no longer bootstrap it. did anything change in the past 3-4 days?
15:30:26gmpreussneri see that the csources have moved. i pulled those fresh as well
15:30:42gmpreussneroddly enough, it creates bin/nimrod instead of bin/nim again
15:31:10*dyu joined #nim
15:32:03dom96gmpreussner: yeah, that's for backwards compat.
15:32:27gmpreussnerwhen i run "nimrod c koch" i get SIGSEGV: Illegal storage access. (Attempt to read from nil?)
15:32:37dyuMerry Christmas folks!
15:32:55gmpreussnerhappy Kwanzaa, dyu!
15:34:23dyuthanks ... whatever that means :-)
15:34:28dom96gmpreussner: You should build using c sources first.
15:34:37gmpreussnerdyu: i'm just messing with you :)
15:35:16gmpreussnerdom96: i ran (1) cd csources && sh build.sh, (2) bin/nimrod c koch
15:35:22gmpreussnerbuild.sh completed successfully
15:35:54dom96Did you get the correct c sources?
15:36:14gmpreussnergit clone -b master --depth 1 git://github.com/nim-lang/csources
15:36:18dom96I.e. devel branch of C sources if you're trying to build devel nim?
15:36:24gmpreussneroh
15:36:26gmpreussnernevermind
15:36:30gmpreussner^_^
15:36:37gmpreussnerthanks
15:36:49gmpreussnerit was 4:30 a.m.
15:42:53dom96http://forum.nimrod-lang.org/t/687
15:44:20gmpreussner:)
15:47:34*milosn joined #nim
15:53:54*nimnoob joined #nim
15:58:21*nimnoob quit (Ping timeout: 244 seconds)
16:15:24*nimnoob joined #nim
16:25:29*silven joined #nim
16:38:17gokrgmpreussner: http://goran.krampe.se/category/nim/
16:38:27gokrEspecially "Bootstrapping Nim(rod)"
16:39:29*gokr wondering what I can do with a Raspberry
16:47:40*silven quit (Remote host closed the connection)
16:48:52*dts|pokeball joined #nim
16:54:37flaviugokr: http://nim-lang.org:8010/waterfall
16:54:51flaviuCurrently, there's only armv5, arv6 might be useful
16:55:11flaviubut you should speek to Varriount about that.
16:57:23*yeye123 joined #nim
17:02:59*nimnoob quit (Ping timeout: 252 seconds)
17:05:52onionhammermerry christmas :D
17:06:00onionhammerdid everyone get what they wanted?
17:06:06dts|pokeballyes
17:06:14dts|pokeballcoding standards by sutter and herbert
17:06:57*silven joined #nim
17:11:22gmpreussnergokr: your bootstrapping article needs an update. the csources have moved. see http://nim-lang.org/download.html
17:11:44gmpreussnerit's all good on my end now. i accidentally grabbed 'master' csources instead of 'devel'
17:12:30gmpreussnerflaviu: i can look into armv7 if needed
17:13:43flaviuThat'd be good, my armv5 box is incredibly slow, armv7 is probably going to be faster.
17:14:03yeye123merry christmas, frohe weinachten, god jul :D
17:15:06*silven quit (Quit: No Ping reply in 180 seconds.)
17:22:53*silven joined #nim
17:31:39VarriountHm?
17:33:20*silven quit (Remote host closed the connection)
17:35:41*t4nk545 joined #nim
17:37:38gmpreussnerwhat naming conventions do you guys recommend for type names? in C++ we would often have them fully verbose as in SpecialVersionOfSomeFoobar, or using namespaces as in SpecialVersionOf::SomeFoobar. in nim there seems to be a preference for short (but descriptive) names, so maybe something like SpecialVersionOf/SomeFoobar where the first part is the module sub-directory?
17:38:42gmpreussneror more generally: is it advisable to interpret module subdirectories as a kind of namespace mechanism for types?
17:40:31gmpreussnerwill there be any issues with declaring types with the same name in different modules?
17:42:03EXetoCcollisions can be resolved with by qualifying with the module name
17:42:04flaviuVarriount: You're doing the build system, so I was suggesting that gokr speak to you if he's interested in donating time on his raspberry pi to the build system.
17:42:54EXetoC-with
17:43:22gmpreussnerflaviu: i have two idle Raspis sitting around as well. was gonna sell them on craigslist, but i'd be willing to set them up as a 24/7 build farm
17:44:14*yglukhov_ quit (Ping timeout: 250 seconds)
17:44:57*silven joined #nim
17:45:31*dyu quit (Quit: Leaving)
17:46:28*loz1 joined #nim
17:47:14gmpreussnerflaviu: lemme know what i need to do and i'll hook em up
17:47:23flaviugmpreussner: Varriount can get you a password
17:47:42flaviuIf you want a project, you can try to get big-endian linux on there
17:48:54flaviuBut to get things running, install the buildbot slave. If you're using a systemd distro, add https://gist.github.com/flaviut/9ddfcb94ebe6161b3bc6 to manage running the slave
17:49:30gmpreussnerok, i'll take a look at it after lunch. i'll likely be installing Arch on it
17:52:15*Pisuke joined #nim
17:52:37*MyMind quit (Read error: Connection reset by peer)
18:01:58*starless joined #nim
18:06:36*silven quit (Remote host closed the connection)
18:11:46*saml_ quit (Quit: Leaving)
18:23:57*voldern quit (Ping timeout: 264 seconds)
18:25:39*silven joined #nim
18:33:46*silven quit (Quit: No Ping reply in 180 seconds.)
18:41:24*silven joined #nim
18:42:41Araqdom96, Varriount confusing nnkDo stuff for macros is no more
18:48:17*silven quit (Remote host closed the connection)
18:52:03*voldern joined #nim
18:54:03dom96Araq: cool
18:56:54*silven joined #nim
19:06:32Araqdom96: released Nimble?
19:06:35*yglukhov_ joined #nim
19:10:41*t4nk545 quit (Quit: Page closed)
19:15:41dom96Araq: no
19:24:19*silven quit (Quit: No Ping reply in 210 seconds.)
19:25:33*silven joined #nim
19:33:29*silven quit (Quit: No Ping reply in 180 seconds.)
19:33:37*irrequietus joined #nim
19:34:44*silven joined #nim
19:38:39*silven quit (Client Quit)
19:39:52*silven joined #nim
19:46:03*silven quit (Quit: No Ping reply in 180 seconds.)
19:49:52*Jesin quit (Quit: Leaving)
19:54:03*Jesin joined #nim
19:55:45*milosn quit (Ping timeout: 264 seconds)
19:58:04*EXetoC quit (Ping timeout: 258 seconds)
19:59:46*silven joined #nim
20:01:51*EXetoC joined #nim
20:24:48*milosn joined #nim
20:29:38*nimnoob joined #nim
20:43:29*loz1 quit (Quit: Leaving.)
21:15:10*yeye123 quit (Quit: Leaving)
21:23:52*Banjomaster quit (Ping timeout: 265 seconds)
21:27:57*nimnoob_ joined #nim
21:27:57*nimnoob quit (Read error: Connection reset by peer)
21:40:44*starless quit (Quit: WeeChat 0.4.2)
21:41:33*matkuki joined #nim
21:43:30matkukiHi, just built the latest git repo on Windows x86.
21:44:25matkukiEverything went fine, except now when I compile flaviu's OOP macro, I get: Error: undeclared identifier: 'NnkIdent'
21:44:43flaviumatkuki: Right, I noticed that
21:44:47flaviuI forgot to commit a fix
21:45:07flaviujust s/Nnk/nnk/
21:46:28flaviumatkuki: Ok, fixed. It'll update in a few moments.
21:46:58matkukiflaviu: You mean the repo? Great, thanks!
21:47:18matkukioh, the macro!
21:47:38flaviuyep
21:51:11matkukiflaviu: It works, thanks.
21:53:37*nimnoob_ quit (Ping timeout: 245 seconds)
21:54:29*Trustable joined #nim
22:17:41*Trustable quit (Remote host closed the connection)
22:18:06*irrequietus quit ()
22:23:09Araqflaviu: want to fix #784, #782 ? I commented how we should do it
22:24:47flaviuI'm working on an unrelated project at the moment so I don't have time, but I don't like that solution anyway
22:25:30Araqof course. but it's not enough to dislike everything. sometimes you have to suggest alternatives
22:26:25flaviuSomeone suggested that we use the OS certificate bundles in IRC, that doesn't look as impractical as I initially thought it would be
22:26:40flaviubut still, I don't have time to implement anything.
22:27:49AraqI don't want to bundle anything. but then I don't see the point of certificates anyway.
22:27:56*gour quit (Quit: Leaving)
22:28:15*ARCADIVS joined #nim
22:28:35flaviuNo, I understand. I mean to ask the OS where it keeps the certificates
22:28:49flaviuIt wouldn't involve distributing anything.
22:30:39ekarlso-Where would u host something like packages.nim.org then ?
22:30:55Araqekarlso-: on our VPS?
22:31:04ekarlso-oh ok :p
22:31:40ekarlso-Araq: any kewl users of nim yet ?
22:32:11flaviuhttps://www.godaddy.com/domains/searchresults.aspx?ci=83269
22:32:22flaviu:O
22:32:49ekarlso-flaviu: what's that search for ?
22:33:16flaviuekarlso-: that domain you linked. $4800
22:33:35ekarlso-ah
22:38:02ekarlso-what branch should one be using atm Araq ?
22:38:10flaviudevel
22:38:26flaviuI'm not Araq tough ;)
22:38:30flaviu*though
22:38:50Araqit's ok, you think like me. :P
22:40:09ekarlso-sucks nim.io isn't free :(
22:41:26flaviuekarlso-: It will be soon
22:41:40flaviuStatus : pendingDelete, Expiry : 2014-10-07
22:42:02ekarlso-shouldn't that be freed then already ? :p
22:43:34ekarlso-so Araq one should be using the devel branch ?
22:43:52Araqyeah
22:44:36flaviuekarlso-: good point, it looks like that site is out of date. Looks like godaddy got it, probably to auction
22:44:51flaviuoh, wait not
22:44:56flaviuI screwed up the search
22:45:30*dts|pokeball quit (Read error: Connection reset by peer)
22:46:03ekarlso-any updated doc to install nim?
22:48:13matkukiWhy is "nnkPostfix(nnkIdent(!"*"), nnkIdent(!"myvar"))" giving me: Error: expression 'nnkIdent(! "*")' cannot be called ?
22:48:28flaviuah, it looks like some registers have different grace periods.
22:49:11flaviumatkuki: Because * is not a unary postfix operator
22:49:37flaviuyou probably are not intending to emit that, try using dumpTree to figure out what you really want to emit
22:50:18Araqno, because these enum values don't act as constructors (for better or worse)
22:50:20*dts|pokeball joined #nim
22:50:44AraqdumpTree doesn't tell you how the AST can be built, it only tells you how it looks like
22:50:49flaviuOh, you're trying to use that syntax to construct trees? Yeah, what Araq said.
22:50:53ekarlso-not able to compile master with the docs
22:50:55ekarlso-http://nim-lang.org/download.html
22:51:00ekarlso-ehm, i mean devel
22:52:36Araqekarlso-: macosx?
22:52:44ekarlso-linux
22:53:53matkukiflaviu: This worked in 0.9.6, how do you add an '*' to a node?
22:54:41flaviu.eval dumpLisp: proc foo*(): bar = ""
22:54:44Mimbusflaviu: eval.nim(3, 14) Error: complex statement requires indentation
22:54:55flaviu.eval dumpLisp: proc foo*(): bar =; discard
22:54:58Mimbusflaviu: eval.nim(3, 14) Error: complex statement requires indentation
22:55:03flaviu.eval dumpLisp:; proc foo*(): bar =; discard
22:55:06Mimbusflaviu: eval.nim(5, 9) Error: invalid indentation
22:56:05flaviu.eval dumpLisp:; proc foo*(): bar = discard
22:56:08Mimbusflaviu: StmtList(ProcDef(Postfix(Ident(!"*"), Ident(!"foo")), Empty(), Empty(), FormalParams(Ident(!"bar")), Empty(), Empty(), StmtList(DiscardStmt(Empty()))))
22:56:29flaviumatkuki: huh, you're right
22:57:10matkukiflaviu: about what?
22:57:34flaviuYou export a node in the way that you showed: with a postfix "*"
22:57:40flaviuI was just confused
22:59:21Araqthere is lots of stuff to generate ASTs in macros.nim already.
22:59:50Araqekarlso-: picked 'devel' for both csources and the compiler?
23:07:05*matkuki quit (Read error: Connection reset by peer)
23:07:32*matkuki joined #nim
23:12:04*ZzZMorpork is now known as AMorpork
23:18:14matkukiIs the nnkPostFix thing a bug, or am I doing something wrong?
23:18:46Araqmatkuki: impossible to say, since we don't know what you're doing
23:18:56Araqgist it please
23:19:56ekarlso-Araq: yes
23:20:07*yglukhov_ quit (Quit: Be back later ...)
23:21:51ekarlso-http://pastebin.com/EKVWhbWt < Araq
23:24:42matkukiAraq: Oh sorry, it's flaviu's OOP macro, I'm just trying to make the class exportable by adding a '*' to the symbol name: http://pastebin.com/W0fH6i8U
23:25:22matkukiThe first elif is added just for orientation! the second elif is the one I added.
23:26:16Araqmatkuki: like we said, you cannot *build* ASTs this way at all. unfortunate, but true.
23:26:43matkukiWhy did it work in 0.9.6? A bug?
23:26:58AraqnnkPostfix(nnkIdent(!"*") , head[1]) never worked
23:28:43AraqnnkPostfix(a, b) --> replace with: newNimNode(nnkPostfix).add(a, b)
23:28:49ekarlso-any clue Araq ?
23:30:41Araqekarlso-: what 'lib/system' does the compiler use?
23:30:52Araqmy bet is there is some old installation that confuses it
23:31:10ekarlso-lib/system Araq ?
23:31:26Araqwhat path is that?
23:31:41matkukiAraq: You're right , sorry. This was the code that worked: defName = Postfix(head[1], "*")
23:32:46Araqmatkuki: and now it's postfix with a lower cased 'p'
23:32:53ekarlso-Araq: it's under my local Nimrod git clone ?
23:34:03matkukiAraq: yupee, that's it,thanks!
23:34:38matkukiBy the way, syntax in macros is case sensitive?
23:35:23Araqno. Nim is "partially" case sensitive, Nimrod wasn't.
23:35:36matkukigood to know.
23:35:39Araqmacros have nothing to do with it
23:36:23ekarlso-Araq: I think your readmes / docs should be updated to just use build.sh :p
23:36:54Araqekarlso-: are you sure there is no old nim(rod) installation?
23:37:16ekarlso-Araq: fresh git clone...
23:37:48flaviuAre there any traffic statistics wrt the nim website?
23:38:24flaviuI'm messing around with google analytics, seems pretty powerful
23:38:42flaviuYou can see what % of people visit the front page and then go on to visit some other page
23:44:01matkukithanks for the help guys, bye
23:44:12*matkuki quit (Quit: ChatZilla 0.9.91.1 [Firefox 34.0.5/20141126041045])
23:46:34dom96flaviu: yes, we have analytics.
23:48:54flaviudom96: Are there any interesting patterns? If possible I'd like to be added to the "account".
23:49:48flaviuAdmin -> Account -> User Management
23:50:44dom96Sure. Araq, you alright with that?
23:51:21Araqekarlso-: edit build.sh please, get rid of the -O3 and add -g
23:51:29Araqand then run bin/nimrod under gdb
23:52:27Araqdom96: sure
23:55:13dom96flaviu: email?
23:55:28flaviudom96: PM'd you it
23:56:03dom96Done
23:56:28flaviuthanks!
23:57:42*dts|pokeball quit (Read error: Connection reset by peer)
23:58:18ekarlso-Araq: got it going by install.sh :p
23:58:28ekarlso-Araq: is there a library for doing REST API's with num ?
23:58:31ekarlso-s/num/nim
23:58:47Araqekarlso-: what?
23:59:09ekarlso-http://falconframework.org/ f ex for nim...
23:59:11dom96ekarlso-: jester?
23:59:19*dts|pokeball joined #nim