<< 23-10-2015 >>

00:00:14*vqrs quit (Max SendQ exceeded)
00:00:38*vqrs joined #nim
00:01:29NimBotnim-lang/Nim devel f596e81 JamesP [+0 ±1 -0]: add simple example for execProcess, exeCmd, execCmdEx
00:01:29NimBotnim-lang/Nim devel ba63ea9 Andreas Rumpf [+0 ±1 -0]: Merge pull request #3454 from jlp765/osproc... 2 more lines
00:02:09NimBotnim-lang/Nim devel e5bcd28 Daniel Hertz [+0 ±1 -0]: Make sure the json module decodes UTF16 correctly... 5 more lines
00:02:09NimBotnim-lang/Nim devel 42975e6 Daniel Hertz [+0 ±1 -0]: Add UTF-16 decoding tests to json module
00:02:09NimBotnim-lang/Nim devel 1c9f05e Andreas Rumpf [+0 ±1 -0]: Merge pull request #3442 from Dhertz/devel... 2 more lines
00:23:10*edaaa__ quit (Ping timeout: 240 seconds)
00:35:18*jaco60 quit (Ping timeout: 240 seconds)
00:56:41*Kingsquee joined #nim
01:07:02*desophos quit (Ping timeout: 265 seconds)
01:10:32*brson quit (Quit: leaving)
01:25:17*desophos joined #nim
01:29:22*desophos quit (Ping timeout: 244 seconds)
01:34:15*strcmp1 joined #nim
01:55:35*FroznPanda quit (Read error: Connection reset by peer)
02:29:37*desophos joined #nim
02:47:50*no_name joined #nim
02:47:51*devzerp joined #nim
02:48:10*devzerp quit (Remote host closed the connection)
02:48:10*no_name quit (Remote host closed the connection)
02:51:03*vqrs quit (Ping timeout: 250 seconds)
02:53:55*vqrs joined #nim
02:55:29*pregressive quit ()
03:08:04*n99999i joined #nim
03:15:43*n99999i quit (Remote host closed the connection)
03:18:21*secretlives joined #nim
03:20:56*darkf joined #nim
03:28:16*__Greg joined #nim
03:28:20*__Greg left #nim (#nim)
03:30:30*secretlives quit (Ping timeout: 260 seconds)
03:31:10*secretlives joined #nim
03:31:10*secretlives quit (Client Quit)
03:31:15*coryg joined #nim
03:31:32*secretlives joined #nim
04:19:40*strcmp2 joined #nim
04:21:37*strcmp1 quit (Ping timeout: 250 seconds)
04:24:06*strcmp2 quit (Ping timeout: 250 seconds)
04:26:19*secretlives quit (Quit: My Mac has gone to sleep. ZZZzzz…)
04:50:04*strcmp1 joined #nim
04:58:39*desophos quit (Read error: Connection reset by peer)
05:03:01*Mat4 joined #nim
05:03:18Mat4hello
05:03:38*coryg quit (Ping timeout: 240 seconds)
05:08:35*strcmp1 quit (Ping timeout: 264 seconds)
05:25:41*gokr joined #nim
05:35:21*Mat4 quit (Quit: Leaving)
06:38:37*Ven joined #nim
06:41:45*Pisuke joined #nim
06:43:38*MyMind quit (Ping timeout: 272 seconds)
06:52:11*r-ku quit (Quit: ZNC - http://znc.in)
07:03:06*r-ku joined #nim
07:16:07*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
07:17:27*Ven joined #nim
07:18:25*Ven quit (Client Quit)
07:22:12*yglukhov joined #nim
07:27:44*Ven joined #nim
07:30:10*Trustable joined #nim
07:40:12*Arrrr joined #nim
07:42:32*vqrs quit (Ping timeout: 272 seconds)
07:45:17*vqrs joined #nim
08:06:28*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
08:08:25*vqrs quit (Ping timeout: 240 seconds)
08:10:17*vqrs joined #nim
08:10:28*edin joined #nim
08:10:49*nchambers is now known as agent_dtscode
08:16:23*Ven joined #nim
08:25:09*ephja quit (Ping timeout: 250 seconds)
08:31:10*vqrs quit (Ping timeout: 260 seconds)
08:34:24*vqrs joined #nim
08:35:52*coffeepot joined #nim
08:57:03*gokr quit (Quit: Leaving.)
08:57:09*gokr1 joined #nim
09:16:02*xificurC joined #nim
09:19:06*desophos joined #nim
09:19:20*Sembei joined #nim
09:20:31*xificurC_ quit (Ping timeout: 265 seconds)
09:21:00*Guest46705isaway quit (Ping timeout: 265 seconds)
09:21:17*Guest46705isaway joined #nim
09:21:29*Pisuke quit (Ping timeout: 265 seconds)
09:23:46*desophos quit (Ping timeout: 260 seconds)
09:28:09*xificurC quit (Remote host closed the connection)
09:28:43*xificurC joined #nim
10:00:27*biscarch_ joined #nim
10:00:33*vqrs_ joined #nim
10:02:08*clone1018__ joined #nim
10:04:09*Heartmender joined #nim
10:05:15*Ven quit (Read error: Connection reset by peer)
10:06:53*Ven joined #nim
10:07:44*vqrs quit (*.net *.split)
10:07:46*Yaiyan quit (*.net *.split)
10:07:46*sarlalian quit (*.net *.split)
10:07:48*Guest36282 quit (*.net *.split)
10:07:48*clone1018_ quit (*.net *.split)
10:07:48*Xaseron quit (*.net *.split)
10:07:50*biscarch quit (*.net *.split)
10:07:52*Quora quit (*.net *.split)
10:08:00*Yaiyan joined #nim
10:08:05*xificurC quit (Remote host closed the connection)
10:09:36*xxx joined #nim
10:09:39*xxx is now known as Guest99329
10:10:03*xificurC joined #nim
10:12:12*biscarch_ is now known as biscarch
10:14:01*Xaseron joined #nim
10:14:49*sarlalian joined #nim
10:29:17*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
10:47:58*elrood joined #nim
10:50:48*Guest46705isaway quit (Ping timeout: 268 seconds)
10:57:03*xificurC quit (Remote host closed the connection)
10:57:42*xificurC joined #nim
11:02:52*xificurC quit (Ping timeout: 244 seconds)
11:22:17*xificurC joined #nim
11:22:46*Ven joined #nim
11:32:56*strcmp1 joined #nim
11:42:03OnOcan I made distinct type and borrow all base procs? coz simple {.borrow.} on type does not have any effect
11:51:05*aziz joined #nim
12:11:28*barosl quit (Quit: Leaving)
12:12:28*joelmo joined #nim
12:15:09*barosl joined #nim
12:15:27AraqOnO: no, because there is no notion of what "all base procs" means
12:16:06OnOAraq: see http://forum.nim-lang.org/t/1708/4#10798
12:16:21OnOI want to make Defaulting[T] wrapper type
12:16:42OnOthat will respond to "defaulting" accessors when they are defained for Defaulting[T]
12:16:52OnOotherwise respond to regular T accessors
12:17:15OnOthe problem is that when I make it distinct T then I cannot make the all existing procs work out of the box
12:17:39OnOif I make it not-distinct then procs defined T are run not Defaulting[T] <- no idea why!?
12:30:39*Ven quit (Read error: Connection reset by peer)
12:32:10*Ven joined #nim
13:03:41*Kingsquee quit (Quit: http://i.imgur.com/EsXzoum.png)
13:07:10*BitPuffin joined #nim
13:11:37*xet7 quit (Quit: Leaving)
13:14:33Araqlet's see what the manual has to say about this: "Currently only the dot accessor can be borrowed in this way."
13:15:35Araqbut hey, surely we can add the 1000th "if this fails, try to skip the tyDistinct and try again" mechanism to the compiler
13:15:55*secretlives joined #nim
13:17:02Araqwhat can possibly go wrong, surely more language complexity is justified to solve the very important default dict problem
13:17:10Araq;-)
13:18:40*secretlives quit (Client Quit)
13:23:49*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
13:32:18*linkedinyou quit (Read error: Connection reset by peer)
13:34:09*desophos joined #nim
13:40:34*Ven joined #nim
13:57:07*secretlives joined #nim
14:29:57federico3any workaround for https://github.com/nim-lang/Nim/issues/1970 ?
14:32:13*joelmo quit (Quit: Connection closed for inactivity)
14:39:32dom96federico3: yep, workaround here: https://github.com/nim-lang/Nim/issues/3182
14:42:30federico3thanks
14:42:44*ephja joined #nim
14:54:10*yglukhov quit (Remote host closed the connection)
14:57:55*secretlives quit (Quit: My Mac has gone to sleep. ZZZzzz…)
14:59:04*secretlives joined #nim
15:07:35*yglukhov joined #nim
15:25:25*Ven quit (Read error: Connection reset by peer)
15:26:32*desophos quit (Read error: Connection reset by peer)
15:27:03*Ven joined #nim
15:29:09*Ven quit (Read error: Connection reset by peer)
15:31:50*Ven joined #nim
15:33:30*secretlives quit (Quit: Textual IRC Client: www.textualapp.com)
15:41:13*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
15:42:03*desophos joined #nim
15:42:55*keypusher is now known as tpm
15:44:39*anuj joined #nim
15:45:26anujFrom tutorial 1: Cases, ** Note that it is impossible to cover all possible string values: that is why string cases always need an else branch. **
15:45:47anujbut the first example in cases works without the else part
15:45:56anujwhat gives
15:46:17anujv0.11.2
15:46:44anujlet name = readLine(stdin)
15:46:44anujcase name
15:46:44anujof "":
15:46:44anuj echo("Poor soul, you lost your name?")
15:46:44anujof "name":
15:46:45anuj echo("Very funny, your name is name.")
15:46:47anujof "Dave", "Frank":
15:46:49anuj echo("Cool name!")
15:46:51anujwithout the
15:46:53anujelse:
15:46:55anuj echo("Hi, ", name, "!")
15:47:02anujIs it supposed to throw an error?
15:47:28desophosanuj, don't paste code in irc
15:47:56anujsorry
15:48:25desophosi have no answer though, sorry :)
15:51:03anujhm, it does give an error though in case of ints, "not all cases are covered"
15:54:23*tpm left #nim ("Konversation terminated!")
15:55:21*UberLambda joined #nim
15:59:03*tomp joined #nim
16:00:00*desophos quit (Remote host closed the connection)
16:02:18*yglukhov quit (Ping timeout: 260 seconds)
16:04:56*desophos joined #nim
16:08:22*anuj quit (Quit: Leaving)
16:11:30*coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
16:16:48*linkedinyou joined #nim
16:22:28*Ven joined #nim
16:24:52*desophos quit (Remote host closed the connection)
16:34:22*yglukhov joined #nim
16:38:14*desophos joined #nim
16:38:25*yglukhov quit (Ping timeout: 240 seconds)
16:49:58Arrrranuj use http://ideone.com/
16:50:51Arrrror pastebin.com
16:53:49*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
16:57:17*brson joined #nim
17:10:36*Metalmasterz joined #nim
17:10:52*Metalmasterz left #nim (#nim)
17:12:52*desophos quit (Remote host closed the connection)
17:14:08*matkuki joined #nim
17:14:41*UberLambda quit (Ping timeout: 250 seconds)
17:15:11*matkuki quit (Client Quit)
17:21:17*xificurC quit (Remote host closed the connection)
17:21:53*xificurC joined #nim
17:26:50*desophos joined #nim
17:32:23*strcmp1 is now known as Mudak
17:36:21NimBotnim-lang/Nim master d1bb246 Federico Ceratto [+0 ±1 -0]: Replace "prefix" with "suffix" in endsWith doc
17:36:21NimBotnim-lang/Nim master c7eaa8a Andreas Rumpf [+0 ±1 -0]: Merge pull request #3470 from FedericoCeratto/patch-5... 2 more lines
17:38:08*askatasuna joined #nim
17:46:50*askatasuna quit (Ping timeout: 260 seconds)
17:47:29*mytrile joined #nim
17:50:26*BitPuffin quit (Ping timeout: 265 seconds)
17:52:29*mytrile quit (Remote host closed the connection)
17:55:29*jaco60 joined #nim
17:58:29*desophos quit (Remote host closed the connection)
18:03:40*askatasuna joined #nim
18:07:14*vendethiel joined #nim
18:08:05*yglukhov joined #nim
18:08:26*desophos joined #nim
18:12:14*yglukhov quit (Ping timeout: 246 seconds)
18:12:57*desophos quit (Ping timeout: 268 seconds)
18:15:14*boop joined #nim
18:15:38*boop is now known as Guest97237
18:16:02dom96Araq: This is a funny bug: https://github.com/nim-lang/Nim/issues/3471
18:17:24*Jesin quit (Quit: Leaving)
18:26:51*Jesin joined #nim
18:28:59*Arrrr quit (Quit: WeeChat 1.2)
18:33:42*desophos joined #nim
18:35:51*yglukhov joined #nim
18:36:45*yglukhov quit (Remote host closed the connection)
18:37:55ephjahuehue
18:41:04*aziz quit (Remote host closed the connection)
18:43:34*yglukhov joined #nim
18:45:44*Matthias247 joined #nim
18:47:19*desophos quit (Remote host closed the connection)
18:47:43*linkedinyou quit (Quit: linkedinyou)
18:47:55Araqdom96: it's not funny. it's very hard to fix.
18:48:27Araqthe C codegen tries hard not to mangle local vars for better debugging support
18:48:50Araqany ideas are welcome.
18:49:10Araqthe C codegen used to mangle everything, this is the obvious solution that always works.
18:52:46*vqrs_ quit (Ping timeout: 260 seconds)
18:55:05*linkedinyou joined #nim
18:55:10*vqrs joined #nim
18:56:20*desophos joined #nim
18:57:21dom96Araq: How does quit() work?
18:57:35Araqit's mapped to C's exit()
19:00:51*desophos quit (Ping timeout: 255 seconds)
19:05:47*vqrs quit (Ping timeout: 246 seconds)
19:05:55*darkf quit (Quit: Leaving)
19:08:39*vqrs joined #nim
19:14:43*desophos joined #nim
19:26:06*vendethiel quit (Ping timeout: 244 seconds)
19:31:01*desophos quit (Remote host closed the connection)
19:31:37*desophos joined #nim
19:36:37*xet7_ quit (Ping timeout: 256 seconds)
19:50:51*yglukhov quit (Remote host closed the connection)
19:53:00*desophos quit (Remote host closed the connection)
19:53:51*desophos joined #nim
19:55:13*desophos quit (Remote host closed the connection)
19:55:32*desophos joined #nim
19:56:57*edaaa_ joined #nim
20:04:38*yglukhov joined #nim
20:08:50desophoswhich data storage format would you recommend to use with Nim? (e.g. JSON, CSV, etc., not databases)
20:09:00desophosi don't see a JSON library in nimble
20:09:12Araqit's part of the stdlib, that's why.
20:09:27AraqI would suggest sqlite though.
20:10:04desophoshaha i just realized that it might be in the stdlib, and indeed it is
20:10:16AraqI use it for everything, cannot stand the other ascii based crap
20:10:22desophosthis is for very simple data, i might move to sqlite eventually
20:10:39desophosbut this is stuff like sprite frame times
20:14:09desophosthe stdlib sure is huge, i never actually looked at the whole list of modules
20:14:51Araqwell ok, if you fill in the data by hand, sqlite is not a good option
20:16:26desophosoh, yeah, this is config stuff
20:16:29desophosnot actual data
20:16:51Araqparsecfg is also not bad IMO
20:17:31Araqfor config stuff you really want to use some ini like format, not json, not csv
20:17:56*vendethiel joined #nim
20:19:10desophoswell... not config per se but more like config than data :) like i said it's information used to load sprites
20:19:37dom96what does that information include?
20:19:48*agent_dtscode is now known as nchambers
20:19:50desophosframe times, names, positions, sizes
20:20:00desophosso i was thinking json
20:20:53Araqyou can also use Nimscript if you feel adventurous
20:21:17desophoshell yeah i'm adventurous
20:21:22desophosbut... 404 :( http://nim-lang.org/docs/nims.html
20:21:56desophosthe NimScript link in http://nim-lang.org/documentation.html links to that
20:22:03Araqhttp://nim-lang.org/0.11.3/nims.html
20:22:20Araqwhat the fuck
20:22:24Araqoh I see
20:22:42Araqwe made a mistake when deploying the website -.-
20:22:45Araqoh well
20:23:55desophoshmm. doesn't really look like what i need though
20:31:03elroodif you're comfortable using a c++ (or crystal, or rust) library or even feel like implementing it in nim you could use toml
20:33:46Araqparsecfg is quite close to toml.
20:33:49dom96elrood: there already is a parsetoml package.
20:34:00dom96also, yeah, the parse cfg module is very similar to tool.
20:34:04Araqit predates toml, because Nim is always ahead of its time. :P
20:34:42dom96Yep. If only you created a proper spec for it and a ruby parser you would be famous now :P
20:38:59*Trustable quit (Remote host closed the connection)
20:48:52*def- joined #nim
20:52:00Araqhi def- welcome back.
20:52:34def-hi Aray and thanks, but i'll be gone again in a few days
20:52:37def-Araq*
21:00:27*JStoker quit (Read error: Connection reset by peer)
21:15:12*JStoker joined #nim
21:33:22*edaaa_ quit (Quit: Leaving)
21:43:10*ayia joined #nim
21:45:17*Mudak quit (Remote host closed the connection)
22:00:11desophosJSON sprite data support worked on the first try :D
22:00:13*Mudak joined #nim
22:01:07*gokr1 quit (Ping timeout: 268 seconds)
22:01:43desophosi'm probably reinventing the wheel wrt what nimgame has done, but unfortunately that seems abandoned
22:01:56desophoshttps://github.com/Vladar4/nimgame
22:03:20*saml quit (Read error: Connection reset by peer)
22:03:59desophosit also uses "Nimrod" 0.9.0 and SDL1 :p
22:04:59desophoswow it has 9k LOC though
22:06:20*ayia quit (Remote host closed the connection)
22:12:13*vendethiel quit (Ping timeout: 268 seconds)
22:29:05*nande joined #nim
22:32:34*Guest99329 quit (Ping timeout: 268 seconds)
22:33:40*xxx joined #nim
22:33:44*xxx is now known as Guest22572
22:35:40*askatasuna quit (Ping timeout: 250 seconds)
22:41:55*elrood quit (Quit: Leaving)
22:53:08*askatasuna joined #nim
23:00:00*askatasuna quit (Ping timeout: 244 seconds)
23:00:30*yglukhov quit (Remote host closed the connection)
23:01:42*Guest97237 is now known as Guest97237isaway
23:23:51*ochkoffein quit (Ping timeout: 256 seconds)
23:27:45*desophos quit ()
23:53:36*desophos joined #nim