<< 25-02-2018 >>

00:00:14*rauss quit (Read error: Connection reset by peer)
00:03:47*Cthalupa- quit (Ping timeout: 256 seconds)
00:03:56*endragor quit (Ping timeout: 245 seconds)
00:08:45*Cthalupa joined #nim
00:34:15*couven92 quit (Quit: Client Disconnecting)
00:52:19*PMunch quit (Quit: leaving)
01:05:39*ketralnis joined #nim
01:34:03*francisl joined #nim
01:38:56*francisl quit (Ping timeout: 245 seconds)
01:56:37*rauss joined #nim
01:57:14*endragor joined #nim
02:13:48*arecacea1 quit (Read error: Connection reset by peer)
02:14:11*arecacea1 joined #nim
02:22:33*arnetheduck quit (Ping timeout: 240 seconds)
02:34:59*yglukhov joined #nim
02:37:42*SenasOzys quit (Ping timeout: 245 seconds)
02:39:29*yglukhov quit (Ping timeout: 248 seconds)
02:41:18*endragor quit (Remote host closed the connection)
02:41:28*arnetheduck joined #nim
02:41:53*endragor joined #nim
02:43:57*endragor quit (Remote host closed the connection)
02:46:35*endragor joined #nim
02:53:05*vlad1777d quit (Ping timeout: 240 seconds)
02:57:20*jxv joined #nim
03:09:14*yglukhov joined #nim
03:13:31*yglukhov quit (Ping timeout: 245 seconds)
03:26:31*vivus quit (Quit: Leaving)
03:30:06*endragor quit (Remote host closed the connection)
03:34:35*francisl joined #nim
03:37:36GitDisc<Asmoaesl> is this official?
03:37:45GitDisc<Asmoaesl> or at least the "main" one
03:38:32*francisl quit (Ping timeout: 240 seconds)
03:46:08FromGitter<zetashift> yes welcome!
04:07:35GitDisc<Asmoaesl> great, cool
04:07:50GitDisc<Asmoaesl> and does Nim have a project manager like Cargo for Rust, or Dub for D?
04:15:39GitDisc<treeform> it has nimble, its a packaged manager though not a project manager
04:16:06GitDisc<treeform> Cargo is the Rust package manager
04:16:52GitDisc<treeform> project manager is a profession, not a tool?
04:17:39GitDisc<treeform> it has nimble, its a package manager though not a project manager
04:25:41FromGitter<zetashift> @Asmodoael: yeah you're probably looking for nimble: https://github.com/nim-lang/nimble it just had an nice update! And to browse the available packages check: https://nimble.directory/
04:30:36*endragor joined #nim
04:38:48GitDisc<treeform> what whas the update?
04:50:54*yglukhov joined #nim
04:55:29*yglukhov quit (Ping timeout: 248 seconds)
05:09:39FromGitter<zetashift> @treeform: https://github.com/nim-lang/nimble/commit/6a2da5627c029460f6f714a44f5275762102fa4b
05:15:32*endragor quit (Remote host closed the connection)
05:15:46*endragor joined #nim
05:34:25*francisl joined #nim
05:39:13*francisl quit (Ping timeout: 252 seconds)
05:41:08*earenndil quit (Quit: ZNC 1.6.3+deb1 - http://znc.in)
05:43:28*endragor quit (Remote host closed the connection)
05:44:41*endragor joined #nim
05:44:41*earenndil joined #nim
05:49:05*endragor quit (Ping timeout: 240 seconds)
05:52:00*jxv quit (Quit: my string on the can snapped off)
06:09:32*arthurz quit (Ping timeout: 240 seconds)
06:10:24*arthurz joined #nim
06:31:39*yglukhov joined #nim
06:36:03*yglukhov quit (Ping timeout: 252 seconds)
06:46:40*endragor joined #nim
06:49:30*nsf joined #nim
06:54:00*r3d9u11 joined #nim
07:04:06*rauss quit (Quit: WeeChat 2.0.1)
07:05:22*rauss joined #nim
07:06:29*miran joined #nim
07:24:16*solitudesf joined #nim
07:39:31*yglukhov joined #nim
07:43:55*yglukhov quit (Ping timeout: 256 seconds)
08:10:40*rokups joined #nim
08:28:54*r3d9u11 quit (Remote host closed the connection)
08:41:05Araq" pointer into the original data and a length" ... sooo, a cache miss?
08:41:29Araqdoesn't sound fast to me, you can easily reuse the token buffer
08:41:42Araqand then you can handle files bigger than 4GB too
08:42:14Araqsince you can stream instead of mmap'ing stuff
09:02:30*el_tejon joined #nim
09:22:41*xkapastel quit (Quit: Connection closed for inactivity)
09:28:01*endragor quit (Ping timeout: 252 seconds)
09:34:47*gangstacat quit (*.net *.split)
09:34:47*RushPL quit (*.net *.split)
09:34:47*Calinou quit (*.net *.split)
09:34:47*msmorgan quit (*.net *.split)
09:34:48*dada78641 quit (*.net *.split)
09:34:48*CcxWrk quit (*.net *.split)
09:35:29*yglukhov joined #nim
09:36:16*el_tejon quit (Quit: el_tejon)
09:36:30*gangstacat joined #nim
09:36:31*RushPL joined #nim
09:36:31*Calinou joined #nim
09:36:31*msmorgan joined #nim
09:36:31*dada78641 joined #nim
09:36:31*CcxWrk joined #nim
09:37:49*kunev quit (Ping timeout: 260 seconds)
09:39:48*kunev joined #nim
09:46:59*BitPuffin joined #nim
10:01:48*rauss quit (Read error: Connection reset by peer)
10:03:36*rauss joined #nim
10:18:54*vlad1777d joined #nim
10:25:39*endragor joined #nim
10:49:46*SenasOzys joined #nim
10:51:57*nsf quit (Quit: WeeChat 2.0.1)
11:38:26*r3d9u11 joined #nim
11:43:06*r3d9u11 quit (Remote host closed the connection)
11:52:07*miran quit (Ping timeout: 256 seconds)
12:04:17*yglukhov quit (Remote host closed the connection)
12:09:54FromGitter<tim-st> When I have a rune that takes two or more indices `x1,x2,...`, can I call `runeAt` at one of these `x1,x2,...` and always get the same rune?
12:10:20FromGitter<tim-st> my first test shows that could work
12:13:48FromGitter<tim-st> Ok, was wrong, it doesnt work :\
12:15:24FromGitter<tim-st> oh, it works, sry for the trouble, it was difficult to see in vs code terminal..
12:17:24*yglukhov joined #nim
12:18:40*yglukhov quit (Remote host closed the connection)
12:18:54dom96So it looks like we have an SSL regression.
12:20:22FromGitter<nitely> @tim-st mmh, generally no. If it does, it's only by chance
12:21:21FromGitter<tim-st> ok, interesting, I tested it for `»`
12:23:21FromGitter<nitely> try a Japanese character
12:25:16FromGitter<tim-st> thanks, your right!
12:25:17FromGitter<tim-st> echo "«".runeAt(0) == "«".runeAt(1) ⏎ echo "こ".runeAt(0) == "こ".runeAt(1)
12:25:22FromGitter<tim-st> true, false
12:26:02FromGitter<tim-st> would be an interesting information as proc description
12:33:43FromGitter<mratsim> @PMunch, someone has issues with your package: https://forum.nim-lang.org/t/3578
12:41:45dom96wtf
12:41:51dom96how is that person's git failing with the same error
12:44:03federico3dom96: SSL regression already?
12:44:09*r3d9u11 joined #nim
12:44:22dom96looks like it
12:44:34dom96on macOS at least
12:44:46dom96This fails https://gist.github.com/dom96/83f64faeaf9269bdd5a5624ad4d1ce03
12:46:10federico3but... was the cert check merged?
12:50:44Yardanico:D it wasn't
12:51:26*SenasOzys quit (Ping timeout: 245 seconds)
12:52:38dom96hmmmm
12:54:22dom96that's a bit annoying
12:54:32dom96Nim doesn't pass environment vars to the binary when using `-r`
12:54:50dom96So I did `export DYLD_LIBRARY_PATH=/usr/local/opt/openssl/lib` and it wasn't passed -.-
12:55:55dom96Okay, so no regression after all
12:56:06dom96I think I will improve the error message though
13:00:21*SenasOzys joined #nim
13:18:41dom96ugh...
13:18:56dom96Nim complaining that the procs have an unlisted effect: RootEffect...
13:19:47dom96I thought I reported an issue for that already
13:25:59*francisl joined #nim
13:30:43*francisl quit (Ping timeout: 256 seconds)
13:30:46*yglukhov joined #nim
13:31:15*r3d9u11 quit (Remote host closed the connection)
13:35:33dom96Hopefully this will help people out: https://github.com/nim-lang/Nim/commit/1975998c566d2235cad216b2addb2246b8ee95f0
13:37:27Yardanicowhat are these error codes?
13:37:46dom96They're magical
13:39:57*yglukhov quit ()
13:41:30*yglukhov joined #nim
13:42:07dom96They're in the error message (but in hex)
14:00:19Araqwhats up?
14:16:33*endragor quit (Ping timeout: 240 seconds)
14:29:02dom96hrm, did we decide what to do with TaintedString in the end?
14:37:23dom96I think in the end we might have to make some more breaking changes in future releases before v1 happens
14:37:46dom96concentrating it all in v0.18.0 was nice in theory, but there is only so much you can do before you need to release it
14:39:59AraqI think TaintedString is fine the way it is
14:53:02dom96Araq: Perhaps it would be worth looking into this: https://github.com/nim-lang/Nim/issues/7257
14:53:33dom96It's blocking one of my PRs which fix something in the stdlib (in a breaking change way)
14:53:51dom96But like I said, we can hold off some of these until the release after 0.18.0
14:58:04AraqI think it lists this because it can have the RootEffect
14:59:03Araqnot every effect is an IOEffect so why would your explicit listing affect the error message?
15:00:13*xet7 quit (Ping timeout: 252 seconds)
15:00:25dom96Well what about the PR issue?
15:00:36dom96https://github.com/nim-lang/Nim/pull/7229#issuecomment-366759766
15:01:15Araqsame explanation?
15:01:59dom96I don't understand
15:02:12dom96Please read what I've written and point out my misunderstanding
15:02:30dom96Maybe my assumption about how inheritance interacts with effects is wrong?
15:03:00Araqyes, you have it backwards
15:03:28*eldiz joined #nim
15:03:30Araqwhen I say 'effects: ReadDirEffect' then it can have a Read dir effect or some inherited effect
15:03:56Araqbut IOEffect is not a subtype of ReadDirEffect
15:04:13Araqyou claim it only reads from dirs
15:04:28Araqthe compiler tells you that it might read from other IO sources.
15:05:14AraqI don't know what else to say. it's quite intuitive IMO
15:05:20dom96That doesn't seem intuitive at all to me
15:05:43dom96ReadDirEffect implies ReadIOEffect
15:05:50*xkapastel joined #nim
15:05:56Araqit's a specialization.
15:06:15dom96If you're reading from a directory then you are also performing read IO
15:06:33dom96What is the point of inheritance at all here?
15:06:44Araqproc foo() {.tags: [ReadDirEffect].} = let x = readFile()
15:07:05Araqby your logic that should compile?
15:07:08Araqit lies.
15:07:33Araqit reads the contents of a file!
15:07:46dom96No, because readFile is presumably tagged ReadFileEffect
15:07:58Araqthe point of inheritance is that it works the other way round
15:08:00dom96But I guess that doesn't exist
15:08:12Araqyou can say IOEffect and be done with it.
15:10:12dom96So I have to go over every proc and add ReadIOEffect because osLastError now is tagged with it
15:10:28Araqyeah you shouldn't have done this
15:10:38Araq.sideEffect should be good enough
15:11:02AraqosLastError really doesn't have a ReadIOEffect
15:11:23Araqall it does is that it accesses a thread local var
15:11:55dom96It seems to me that 'sideEffect' and 'tags' should be merged
15:12:22dom96osLastError not having any tagged effects doesn't seem right
15:12:43*xet7 joined #nim
15:16:07AraqsideEffect is a misnomer but apart from that it's fine
15:16:35AraqsideEffect means "accesses global"
15:18:14dom96okay, I fixed the PR https://github.com/nim-lang/Nim/pull/7229
15:18:43*nsf joined #nim
15:21:02*Senketsu_ quit (Read error: Connection reset by peer)
15:30:47*francisl joined #nim
15:32:06FromGitter<tim-st> is that normal that when my first proc echos 4 lines to debug, and the next proc raises, that the stack traces is between the second and the third echo of the first proc?
15:32:54*yglukhov quit (Read error: Connection reset by peer)
15:33:34*yglukhov joined #nim
15:33:40FromGitter<tim-st> or does this depend on the editors console?
15:34:26FromGitter<tim-st> yes, that was the reason, so no error here ;)
15:34:29GitDisc<treeform> Does it doe that in a real console? Maybe your editor reads stdout and stderr differently some how?
15:35:04FromGitter<tim-st> in vs code real native windows terminal it works good I just found out, in the unicode supporting vs code terminal it doesnt
15:35:16*francisl quit (Ping timeout: 256 seconds)
15:48:20*miran joined #nim
16:21:31GitDisc<ethanpmorgan> Dom, Ireland may have beaten us in Rugby, but we're still the better country 😉
16:22:54GitDisc<ethanpmorgan> Dom, Ireland may have beaten us in Rugby, but Wales is still the better country 😉
16:31:44GitDisc<ethanpmorgan> Can Nim be used in placement of C for things like writing OS's, drivers and so on?
16:33:25*Trustable joined #nim
16:42:49dom96lol
16:43:03dom96yes it can
16:44:50livcdWould be interesting to see an os for IoT in Nim
16:45:47*r3d9u11 joined #nim
16:48:25GitDisc<ethanpmorgan> Cheers Dom, 2 more days till my book arrives, can't wait
16:53:43federico3livcd: what's an "OS for IoT" exactly?
16:55:08livcdfederico3: idk something that your fridge runs on ?
16:59:59GitDisc<ethanpmorgan> HHahaha
17:00:06GitDisc<ethanpmorgan> FridgeOS
17:00:40GitDisc<ethanpmorgan> I'm such a child to find that funny, excuse my immaturity 😄
17:03:59*Senketsu joined #nim
17:36:25*francisl joined #nim
17:41:21*francisl quit (Ping timeout: 248 seconds)
17:42:22*yglukhov quit (Remote host closed the connection)
17:42:58*yglukhov joined #nim
17:44:54*r3d9u11 quit (Remote host closed the connection)
17:47:12*yglukhov quit (Ping timeout: 240 seconds)
17:49:42*Senketsu quit (Ping timeout: 265 seconds)
18:26:03*Quantem joined #nim
18:34:26*rauss quit (Read error: Connection reset by peer)
18:35:18*rauss joined #nim
18:47:18*ludocode quit (Quit: ludocode)
18:54:53*eldiz quit (Ping timeout: 240 seconds)
18:58:47*eldiz joined #nim
19:02:58*ludocode joined #nim
19:09:44*ludocode quit (Ping timeout: 276 seconds)
19:12:20*yglukhov joined #nim
19:16:08FromGitter<Varriount> ToasterOS
19:16:32*yglukhov quit (Ping timeout: 240 seconds)
19:18:20*ludocode joined #nim
19:18:58*Trustable quit (Remote host closed the connection)
19:21:38*donotturnoff joined #nim
19:27:09*ludocode quit (Ping timeout: 252 seconds)
19:28:15*SenasOzys quit (Ping timeout: 252 seconds)
19:31:10*ludocode joined #nim
19:32:05*ludocode quit (Read error: Connection reset by peer)
19:35:38*Jesin joined #nim
19:36:08*SenasOzys joined #nim
19:48:06*miran quit (Quit: Konversation terminated!)
19:52:04*yglukhov joined #nim
19:56:22*gangstacat quit (Quit: Ĝis!)
20:01:39*donotturnoff quit (Quit: Leaving)
20:03:37FromGitter<zetashift> seems people are really liking what Nim has to offer but have concerns about stability: https://www.reddit.com/r/godot/comments/7zmpld/is_nim_ready_for_godot/
20:03:44FromGitter<zetashift> how would one calm these worries?
20:04:01*rokups quit (Quit: Connection closed for inactivity)
20:14:06*endragor joined #nim
20:18:54*endragor quit (Ping timeout: 260 seconds)
20:19:20FromGitter<mratsim> Well it’s like getting your first client, first date or this: https://www.youtube.com/watch?v=fW8amMCVAJQ At one point you need someone who dives in and says that the water is warm.
20:23:18*yglukhov quit (Remote host closed the connection)
20:23:54*yglukhov joined #nim
20:28:14*yglukhov quit (Ping timeout: 256 seconds)
20:30:21*ludocode joined #nim
20:37:29*vivus joined #nim
20:40:25*gangstacat joined #nim
20:44:33*Quantem quit (Quit: Connection closed for inactivity)
20:51:24*yglukhov joined #nim
21:02:21shashlickThought on stability - #head is almost always passing all tests. The only stability challenging thing is existing and new bugs, and breaking changes. You cannot do much about bugs besides fixing them over time. The only thing you have control over is minimizing breaking changes
21:05:59dom96zetashift: thanks for that link
21:06:24*yglukhov quit (Remote host closed the connection)
21:06:58*yglukhov joined #nim
21:11:18*yglukhov quit (Ping timeout: 256 seconds)
21:29:08GitDisc<spaceghost> dom96: I'm working on a IoT libretro-based start to what I hope to evolve to a unikernel somewhat like a rumprun kernel.
21:30:58dom96spaceghost: awesome, what will you use this kernel for?
21:32:09*xkapastel quit (Quit: Connection closed for inactivity)
21:49:19*solitudesf quit (Ping timeout: 248 seconds)
21:58:56*solitudesf joined #nim
22:06:39FromGitter<zetashift> spaceghost that sounds awesome
22:07:47*nsf quit (Quit: WeeChat 2.0.1)
22:14:44*yglukhov joined #nim
22:19:39*yglukhov quit (Ping timeout: 260 seconds)
22:33:06*solitudesf quit (Ping timeout: 245 seconds)
22:49:41*Jesin quit (Quit: Leaving)
22:57:10*Jesin joined #nim
22:59:17*eldiz quit (Quit: Leaving)
23:02:10*zolk3ri joined #nim
23:23:35*arecacea1 quit (Remote host closed the connection)
23:24:54*arecacea1 joined #nim
23:36:14*francisl joined #nim
23:37:24*xkapastel joined #nim
23:38:48*shodan45_ quit (Remote host closed the connection)
23:38:50*yglukhov joined #nim
23:39:06*shodan45 joined #nim
23:41:01*francisl quit (Ping timeout: 256 seconds)
23:43:06*yglukhov quit (Ping timeout: 245 seconds)