<< 28-03-2019 >>

00:02:46*krux02 quit (Remote host closed the connection)
00:19:57*rnrwashere quit (Remote host closed the connection)
00:30:53*jjido_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
00:33:51*ghidra joined #nim
00:35:17*ghidra left #nim (#nim)
00:53:45*shpx quit (Quit: shpx)
01:05:02*Cthalupa quit (Ping timeout: 250 seconds)
01:06:05*Cthalupa joined #nim
01:08:02*rnrwashere joined #nim
01:08:21*rnrwashere quit (Remote host closed the connection)
01:08:37*chimez joined #nim
01:08:44*chimez quit (Client Quit)
01:09:34*rnrwashere joined #nim
01:09:41*rnrwashere quit (Remote host closed the connection)
01:12:45*rnrwashere joined #nim
01:24:13*theelous3_ quit (Ping timeout: 245 seconds)
01:28:49*shpx joined #nim
01:37:33*Cthalupa quit (Ping timeout: 245 seconds)
01:38:13*sealmove quit (Quit: WeeChat 2.4)
01:39:42*Cthalupa joined #nim
01:46:35*shpx quit (Quit: shpx)
01:52:07*rnrwashere quit (Remote host closed the connection)
01:58:23*rnrwashere joined #nim
02:06:49*rnrwashere quit (Remote host closed the connection)
02:07:32*rnrwashere joined #nim
02:08:16*d10n-work joined #nim
02:30:47*Snircle joined #nim
02:40:15FromDiscord<Mohamed> hello
02:40:16FromDiscord<Mohamed> im new to nim
02:40:27FromDiscord<Mohamed> it looks pretty ncie
02:40:29FromDiscord<Mohamed> have a nice night
02:42:14FromDiscord<Avatarfighter> @Mohamed welcome to the best language ™ ™
03:05:58*banc quit (Quit: Bye)
03:27:23*banc joined #nim
03:33:14*shpx joined #nim
03:38:33*noeontheend quit (Ping timeout: 250 seconds)
03:42:43*noeontheend joined #nim
03:50:17*rnrwashere quit (Remote host closed the connection)
03:51:07*noeontheend quit (Ping timeout: 250 seconds)
03:59:50*shpx quit (Quit: shpx)
04:08:45*shpx joined #nim
04:23:22*shpx quit (Quit: shpx)
04:36:10*nsf joined #nim
04:45:25*Snircle quit (Quit: Textual IRC Client: www.textualapp.com)
04:49:21*dddddd quit (Remote host closed the connection)
05:04:04*shpx joined #nim
05:15:55*d10n-work quit (Quit: Connection closed for inactivity)
05:19:07*shpx quit (Quit: shpx)
05:25:02*narimiran joined #nim
05:44:49*shpx joined #nim
06:09:06*rnrwashere joined #nim
06:15:57*shpx quit (Quit: shpx)
06:21:29*chimez joined #nim
06:30:07*chimez quit (Quit: chimez)
06:30:44*xet7 quit (Quit: Leaving)
06:32:05*krux02 joined #nim
06:32:55*solitudesf joined #nim
06:48:31*fredrik92 joined #nim
07:00:00*gmpreussner quit (Quit: kthxbye)
07:01:41*solitudesf quit (Quit: Leaving)
07:04:50*gmpreussner joined #nim
07:07:59*solitudesf joined #nim
07:13:09*shpx joined #nim
07:15:36*PMunch joined #nim
07:18:22*chimez joined #nim
07:20:02*rnrwashere quit (Remote host closed the connection)
07:21:44*chimez quit (Client Quit)
07:23:21*nc-x joined #nim
07:23:46nc-xAraq: why have you downvoted your own RFC?
07:23:50nc-xhttps://github.com/nim-lang/RFCs/issues/144
07:24:17Araqthat's what we do to get a voting going
07:24:57nc-xAh, okay...
07:26:52*solitudesf quit (Ping timeout: 255 seconds)
07:28:47*jken quit (Ping timeout: 245 seconds)
07:29:43*xet7 joined #nim
07:30:26ZevvAraq: I don't like the nil assignment for dangling pointers - I feel this does not clearly show intention and needs something more explicit
07:30:32*jken joined #nim
07:31:53*nc-x quit (Ping timeout: 256 seconds)
07:37:18*sutke11782 joined #nim
07:37:25*xet7 quit (Ping timeout: 246 seconds)
07:38:42*jjido_ joined #nim
07:40:28*sutke1178 quit (Ping timeout: 245 seconds)
07:50:42*xet7 joined #nim
08:04:22*jjido_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
08:18:04AraqZevv, we need to see how often it comes up really. We can use sugar for it but we can also start to detect nil derefs at compile-time in more cases
08:18:43AraqI like how Kotlin solved the null problem and I think it would work just as well for Nim
08:21:31*shpx quit (Ping timeout: 250 seconds)
08:25:25ZevvI slowly start to grasp the mechanism I think
09:00:51*stefanos82 joined #nim
09:03:53*Vladar joined #nim
09:09:07*neceve joined #nim
09:20:36*ghidrah joined #nim
09:25:13*ghidrah quit (Ping timeout: 256 seconds)
09:36:16*hoijui joined #nim
10:04:39PMunchCool, someone at work just mentioned in passing that he had been looking at this small language called Nim to create some utilities
10:08:51*Vladar quit (Remote host closed the connection)
10:08:53narimiranPMunch: make sure you weren't looking at a mirror and talking to yourself! :D
10:09:19*Vladar joined #nim
10:10:05Araqnarimiran, now that's mean
10:23:31*idletime quit (Ping timeout: 258 seconds)
10:23:53*livcd quit (Changing host)
10:23:53*livcd joined #nim
10:25:48PMunchHaha, nope!
10:26:10PMunchIt's catching on!
10:32:41FromGitter<mratsim> instead of = nil just use dispose
10:37:16Araqdispose means to free memory, not to 'unarm' a dangling pointer. we could use 'unarm'.
10:37:44Araqshort and unknown.
10:38:59*uptime joined #nim
10:40:59Araqor maybe it's "disarm", my English sucks
10:44:10FromGitter<mratsim> unref?
10:46:03Zevvunref feels ok. Isn't explict unreffing also better because you could change the implementation of the operation at any time - that's harder to do with assigning to nil.
10:49:55FromGitter<mratsim> yes, in the future it can be a no-op without potentially introducing backward compatibility issue
10:52:51Araqthere is already GC_unref with different semantics
11:01:12*ng0 quit (Quit: Alexa, when is the end of world?)
11:07:02*abm joined #nim
11:11:37*narimiran_ joined #nim
11:13:00*narimiran quit (Ping timeout: 250 seconds)
11:17:38FromGitter<alehander42> Btw should I finish the nil pr
11:17:52FromGitter<alehander42> Araq? (The ref nil check
11:18:23AraqI don't like the fact that you used yet another IR
11:18:29Araqmaybe I misremember
11:18:48Araqwhy not patch sempass2 to do the checking better?
11:21:17*bobby quit (Ping timeout: 245 seconds)
11:23:52*bobby joined #nim
11:25:10FromGitter<alehander42> I don't think I did, I reused pnodes
11:25:59FromGitter<alehander42> Eh it's messy I don't think it belongs in the same pass
11:26:59Araqit already does it except that we gave up a bit too quickly
11:33:21*Bob- joined #nim
11:34:26*bobby quit (Ping timeout: 258 seconds)
11:38:41*narimiran_ is now known as narimiran
11:43:10*cgfuh joined #nim
11:46:51Zevvc
11:55:22*jjido quit (Quit: Connection closed for inactivity)
11:59:17*Cthalupa quit (Quit: ZNC 1.6.6+deb1ubuntu0.1 - http://znc.in)
12:01:08*stefanos82 quit (Remote host closed the connection)
12:04:03*Cthalupa joined #nim
12:08:07FromGitter<alehander42> I am not sure the previous approach would've worked too well
12:08:20FromGitter<alehander42> If that's the not nil annotation one
12:09:02FromGitter<alehander42> It's still part of sempass2
12:09:17FromGitter<alehander42> It just resides in it's own module
12:10:01FromGitter<alehander42> And it's invoked in the end of track
12:59:04*nsf quit (Quit: WeeChat 2.4)
13:01:36*sealmove joined #nim
13:06:08*dddddd joined #nim
13:07:56*rnrwashere joined #nim
13:15:26*Snircle joined #nim
13:16:48*d10n-work joined #nim
13:22:45*a_b_m joined #nim
13:26:17*abm quit (Ping timeout: 245 seconds)
13:27:13*abm joined #nim
13:29:34*a_b_m quit (Ping timeout: 255 seconds)
13:29:34*seni joined #nim
13:36:27*rnrwashere quit (Remote host closed the connection)
13:36:55*rnrwashere joined #nim
13:39:52*xet7 quit (Quit: Leaving)
13:41:19*gangstacat quit (Ping timeout: 250 seconds)
13:41:49*NimBot joined #nim
13:47:17FromGitter<coocheenin> Hi, Folks. You are welcomed to write your thoughts here: ⏎ https://github.com/FedericoCeratto/nim-package-directory/issues/18 (https://github.com/FedericoCeratto/nim-package-directory/issues/18) ⏎ It's about getting the latest version of a package in Nim Package Directory
13:48:39FromGitter<mratsim> you probably should change "religious" to "holistic"
13:49:40*rnrwashere quit (Read error: Connection reset by peer)
13:50:00FromGitter<coocheenin> @mratsim Done
13:51:00*rnrwashere joined #nim
13:51:59*sealmove quit (Quit: WeeChat 2.4)
14:07:27FromGitter<Varriount> ryukoposting: You there?
14:07:34*rnrwashere quit (Remote host closed the connection)
14:15:45*rnrwashere joined #nim
14:20:31*rnrwashere quit (Remote host closed the connection)
14:32:59*gangstacat joined #nim
14:44:21*rnrwashere joined #nim
14:50:50*solitudesf joined #nim
15:05:52*hoijui quit (Ping timeout: 245 seconds)
15:20:22*PMunch quit (Remote host closed the connection)
15:36:37*rnrwashere quit (Remote host closed the connection)
15:44:16*abm quit (Ping timeout: 250 seconds)
16:08:54*neceve quit (Read error: Connection reset by peer)
16:09:58*sentreen quit (Ping timeout: 250 seconds)
16:18:06planetis[m]alehander42: don't forget to remove submodule.nim from your comprehension package
16:18:43shashlickhttps://llvm.org/pubs/2006-DSN-DanglingPointers.pdf
16:19:06planetis[m]also i didn't know that python had set and table comprehensions, cool
16:19:42narimiranplanetis[m]: yeah, it has them and they are quite convenient to use
16:21:48planetis[m]is there a problem supporting the syntax you posted in your comment?
16:25:21*Trustable joined #nim
16:28:04narimiranwhich syntax, what comment?
16:32:41*rnrwashere joined #nim
16:35:10*seni quit (Quit: Leaving)
16:37:13*rnrwashere quit (Ping timeout: 255 seconds)
16:39:36*rnrwashere joined #nim
16:41:51*rnrwashere quit (Remote host closed the connection)
16:42:23*rnrwashere joined #nim
16:46:48*rnrwashere quit (Ping timeout: 250 seconds)
17:00:58*rnrwashere joined #nim
17:01:58*vlad1777d quit (Ping timeout: 268 seconds)
17:05:40*rnrwashere quit (Ping timeout: 268 seconds)
17:22:20*rnrwashere joined #nim
17:24:51*abm joined #nim
17:26:30*rnrwashere quit (Ping timeout: 244 seconds)
17:38:51*nsf joined #nim
17:42:22*uvegbot quit (Remote host closed the connection)
17:43:26*uvegbot joined #nim
17:45:32*a_b_m joined #nim
17:45:42*xet7 joined #nim
17:48:48*abm quit (Ping timeout: 245 seconds)
17:49:10*neceve joined #nim
17:49:21FromGitter<coocheenin> Thanks to everyone who took the time to respond (about getting latest version of a package). And thanks to @FedericoCeratto for his contribution. Nim Community rocks!
18:06:13*rockcavera quit (Remote host closed the connection)
18:06:43*sealmove joined #nim
18:20:28*ikan-keli_ quit (Ping timeout: 245 seconds)
18:25:39*elrood joined #nim
18:42:32*jjido joined #nim
18:42:48*rnrwashere joined #nim
18:47:12*rnrwashere quit (Ping timeout: 246 seconds)
18:48:52*kapil____ joined #nim
18:53:51*Trustable quit (Remote host closed the connection)
18:54:34FromGitter<kayabaNerve> If I have a proc, and need to see if `echo` exists anywhere in it, even in a for loop, what's the best way to do that?
18:54:59narimiranturn it into a `func` and see if compiler complains? :D
18:56:32*PMunch joined #nim
18:57:25*Vladar quit (Read error: Connection reset by peer)
18:57:33FromGitter<kayabaNerve> Echo is an example
18:57:46FromGitter<kayabaNerve> I'm writing a lib to stop exception bubble up
18:58:03FromGitter<kayabaNerve> Where it won't compile unless you only raise what that function explicitly raises
18:58:19FromGitter<kayabaNerve> Which requires replacing every raise with a discard and testing against a blank raises pragma
19:10:55FromGitter<kayabaNerve> Or not 0_o
19:11:03FromGitter<kayabaNerve> ```code paste, see link``` ⏎ ⏎ returns true. [https://gitter.im/nim-lang/Nim?at=5c9d1c470b3b8749f4daeff5]
19:11:36*rnrwashere joined #nim
19:14:43FromGitter<kayabaNerve> I'm not saying compiles shouldn'']
19:15:33FromGitter<kayabaNerve> I guess I'd have to return two different procs and strip the unused one...
19:15:52*rnrwashere quit (Ping timeout: 250 seconds)
19:18:02*sentreen joined #nim
19:19:17*narimiran quit (Read error: Connection reset by peer)
19:19:52*sealmove quit (Quit: WeeChat 2.4)
19:20:02*narimiran_ joined #nim
19:22:00planetis[m]namiran: sorry seems that my matrix client (nheko) is completly broken and desyncs
19:22:32planetis[m]i was talking about alehanders comment in his library
19:25:19FromGitter<brentp> is there a way to clear a builtin set?
19:25:51planetis[m]can someone explain, why is this https://gist.github.com/b3liever/7c413a9654023c2595748ab4f77f9ef3 not working? And how can I make it work.
19:26:21*narimiran_ is now known as narimiran
19:26:31FromGitter<brentp> maybe `zeroMem(aset.addr, sizeof(aset)` ?
19:28:48*neceve quit (Ping timeout: 245 seconds)
19:36:55*hoijui joined #nim
19:39:11xaceis there a way to get the exitcode from a osproc.execProcess() or should i use osproc.startProcess() ?
19:45:23*a__b__m joined #nim
19:48:47*a_b_m quit (Ping timeout: 245 seconds)
19:50:40shashlickexecCmdEx?
19:52:01*rnrwashere joined #nim
19:57:03xaceisnt it deprecated?
19:58:23xacefacepalm i was reading the wrong command's comments... execcmdex works fine
20:01:33*nsf quit (Quit: WeeChat 2.4)
20:01:42Araqbrentp: s = {}
20:05:49Zevvtalking about sets: is there a way to construct a full set other then iterating and including all its members
20:07:20FromGitter<brentp> @Araq. cheers.
20:07:42AraqZevv: {low(T)..high(T)}
20:08:07Zevvof course
20:10:05Zevvtakk
20:15:30*Trustable joined #nim
20:16:49*rnrwashere quit (Remote host closed the connection)
20:17:25*rnrwashere joined #nim
20:19:40*rnrwashe_ joined #nim
20:20:15*rnrwashere quit (Remote host closed the connection)
20:21:45Zevvnarimiran: what is your github profile image from?
20:23:21narimiranhaha, it is not from anywhere, it was made for me when i complained "i don't have an avatar" :)
20:23:54narimiranwhy do you ask?
20:24:13Zevvintriguing. It is not trivial, not sure why
20:24:40Zevvprobably overthinking it :)
20:26:45ZevvWhy is the background not simply monochrome but slightly blotted? What is the reason for the assymetry in the overlapping part of the squares? why? why?!
20:27:54narimiranhaha :)
20:31:52narimiranyou really did spend some time looking at it
20:33:08*ikan-keli_ joined #nim
20:39:51*Trustable quit (Remote host closed the connection)
20:40:15FromGitter<coocheenin> @Zevv It looks like man and women together...
20:41:48*Trustable joined #nim
20:43:02*Trustable quit (Remote host closed the connection)
20:43:49ZevvHadn't seen that in there yet :) It just made me wonder: it feels to me it was not just slapped together, there's more to it. For some reason, it works for me. It would make for great cover art for abstract electronic minimalism music.
20:43:56*Trustable joined #nim
20:44:30*elrood quit (Remote host closed the connection)
20:48:27narimiranok, now we're getting somewhere....
20:49:39FromGitter<kayabaNerve> Araq, damn, meant to catch you.
20:49:55FromGitter<kayabaNerve> Curious as to why deadCodeElim is gone 0_o
20:50:08Araqit's always on
20:50:10FromGitter<kayabaNerve> The hint for it still exists, but the manual doesn't mention it as of 0.19.0
20:50:18Araqit's always on
20:50:22FromGitter<kayabaNerve> ... no, I generate dead code specifically
20:50:31FromGitter<kayabaNerve> And when I don't generate, the EXE is smaller
20:50:39narimiranso all those pragmas in stdlib can be removed?
20:50:44FromGitter<kayabaNerve> So unless the compile time macro is included in the EXE, it's bugged.
20:50:53FromGitter<kayabaNerve> Sorry. Not trying to act like I know more here.
20:51:25Araqmaybe your idea of dead code is different
20:52:27FromGitter<kayabaNerve> NVM, I only had my code run on debug.
20:52:39FromGitter<kayabaNerve> When I used a custom define and compiled both with debug, they were the same size.
20:52:47FromGitter<kayabaNerve> I just messed up. Sorry to bother you.
20:53:37Araqk
20:55:34*narimiran quit (Remote host closed the connection)
21:22:04*mosORadi joined #nim
21:29:27*hoijui quit (Remote host closed the connection)
21:35:17*jjido quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
21:38:51*rnrwashe_ quit (Remote host closed the connection)
21:46:35*theelous3_ joined #nim
21:50:31*Trustable quit (Remote host closed the connection)
21:53:03dom96The fact that this: %{"error": "No messages"} now gives a JArray seems like a bug
21:57:56Araqdom96: it's the new '%' for tuples, I'll remove it again
22:08:08*PMunch quit (Remote host closed the connection)
22:11:12*rockcavera joined #nim
22:13:09*vlad1777d joined #nim
22:34:37*solitudesf quit (Ping timeout: 245 seconds)
22:49:56*krux02 quit (Remote host closed the connection)
22:54:25*noeontheend joined #nim
23:00:30*noeontheend quit (Remote host closed the connection)
23:11:32FromGitter<Varriount> Araq: A new operator for tuples?
23:30:38*rnrwashere joined #nim
23:31:49*mosORadi quit (Quit: Connection closed for inactivity)
23:40:58*rnrwashere quit (Remote host closed the connection)
23:46:04*rnrwashere joined #nim
23:46:14*noeontheend joined #nim
23:53:16*rnrwashere quit (Remote host closed the connection)
23:55:18*sealmove joined #nim