<< 25-07-2019 >>

00:16:04*mwbrown quit (Ping timeout: 246 seconds)
00:16:21*mwbrown joined #nim
00:20:20*shomodj quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
00:33:22*ertp07 quit (Ping timeout: 245 seconds)
00:44:24*ertp07 joined #nim
00:45:54rayman22201@Zevv what was your motivation for building npeg again? It's such a nice library actually :-)
00:59:41*krux02_ is now known as krux02
01:06:06*dgreen quit (Remote host closed the connection)
01:22:47*ertp07 quit (Read error: Connection reset by peer)
02:19:32*krux02 quit (Remote host closed the connection)
02:47:10*ertp07 joined #nim
03:23:51FromGitter<zacharycarter> is there a way to know what the name mangling process produces? in other words a map from mangled name to de-mangled name?
03:24:09FromGitter<zacharycarter> Nim could really use a proper debugger that knows these things
03:24:22FromGitter<zacharycarter> right now there's no good way to do things like conditional breakpoints
03:39:04*ertp07 quit (Read error: Connection reset by peer)
03:39:48*ertp07 joined #nim
03:46:30*laaron joined #nim
03:53:46shashlickHow does npeg compare with stdlib pegs
04:11:56*dddddd quit (Remote host closed the connection)
04:16:20leorizezacharycarter: https://github.com/nim-lang/Nim/blob/devel/compiler/sighashes.nim
04:19:36FromGitter<zacharycarter> leorize: interesting... if I ever have time it might be fun to try and patch gdb to call into, and Nim to expose these procs, and see if managed names can be resolved on the fly
04:19:58leorizethe mangled name are md5-ed
04:20:02leorizeit's one way
04:20:08leorizeyou can't reverse it
04:20:27FromGitter<zacharycarter> oh
04:21:02FromGitter<zacharycarter> I obviously didn't look very closely at the implementation
04:21:20leorizebut since we would know what the source file is, it's easy to have an utility that create a mapping for the debugger
04:21:28FromGitter<zacharycarter> yeah
04:21:57FromGitter<zacharycarter> gotta start getting ready for work - be back soonish
04:27:45*rockcavera quit (Remote host closed the connection)
04:38:03FromGitter<Varriount> Anyone had "No stack traceback available" be written to stdout when an error is raised, even when that error is caught?
04:40:15leorizeno? might be a bug
04:41:34rayman22201@zacharycarter, the nim-gdb script that krux02 made already does this :-)
04:42:18*nsf joined #nim
04:44:26leorizeno it doesn't?
04:44:58leorizeI still find myself using auto complete to get the variable/proc name
04:45:31rayman22201It doesn't reverse md5 (obviously) but it maps mangled names
04:46:04rayman22201unless I'm mistaken
04:46:08*rockcavera joined #nim
04:50:10FromGitter<zacharycarter> rayman22201: huh - I don't think I've ever seen / used that script
04:50:30FromGitter<zacharycarter> will have to give it a try this evening
04:51:37rayman22201ah, @leorize is right. It's just types. I forgot. You should definitely check it out though
04:51:42rayman22201https://github.com/nim-lang/Nim/blob/devel/tools/nim-gdb.py
04:53:26rayman22201I was running into a similar issue when I was doing the godbolt integration (still wip... :-/). The md5 just gets appended to the end of the name, so it's actually pretty easy to demangle. That's what Araq told me anyway lol.
05:13:48*actuallybatman joined #nim
05:34:31*laaron quit (Remote host closed the connection)
05:35:44*laaron joined #nim
05:38:32*laaron quit (Client Quit)
05:38:46*laaron joined #nim
05:40:39*laaron quit (Client Quit)
05:40:56*laaron joined #nim
05:41:47*laaron quit (Client Quit)
05:42:19*laaron joined #nim
05:43:10*laaron quit (Client Quit)
05:43:26*laaron joined #nim
05:44:17*laaron quit (Client Quit)
05:44:34*laaron joined #nim
05:47:20leorizerayman22201: I've looked closer, and you're right. Demangling is just removing the md5, then match the param list with Nim's
05:47:34leorizeexcept that in the generated asm, param list doesn't exist
05:48:32*laaron quit (Client Quit)
05:48:48*laaron joined #nim
05:50:32*laaron quit (Client Quit)
05:50:36rayman22201which is why I just deferred to whatever godbolt does :-)
05:50:47*laaron joined #nim
05:54:03*laaron quit (Client Quit)
05:54:17*laaron joined #nim
05:57:03*laaron quit (Client Quit)
05:57:19*laaron joined #nim
06:00:53*laaron quit (Client Quit)
06:01:20*laaron joined #nim
06:02:17*ertp07 quit (Ping timeout: 250 seconds)
06:02:48*absolutejam2 joined #nim
06:04:03*laaron quit (Client Quit)
06:04:18*laaron joined #nim
06:07:22*laaron quit (Client Quit)
06:07:52*laaron joined #nim
06:08:43*ertp07 joined #nim
06:10:30*narimiran joined #nim
06:18:12*solitudesf- joined #nim
06:18:43*laaron quit (Quit: ZNC 1.7.1 - https://znc.in)
06:20:07*laaron joined #nim
06:21:09*Cthalupa quit (Ping timeout: 258 seconds)
06:22:04*laaron quit (Client Quit)
06:22:29*laaron joined #nim
06:26:32*laaron quit (Client Quit)
06:27:23*laaron joined #nim
06:32:58*Cthalupa joined #nim
06:32:58*ertp07 quit (Read error: Connection reset by peer)
06:33:47*ertp07 joined #nim
06:39:27*laaron quit (Quit: ZNC 1.7.1 - https://znc.in)
06:40:07*laaron joined #nim
06:42:04*laaron quit (Client Quit)
06:42:23*laaron joined #nim
06:46:32*laaron quit (Client Quit)
06:47:06*laaron joined #nim
06:49:10*laaron quit (Client Quit)
06:49:27*laaron joined #nim
06:49:55*solitudesf- quit (Quit: Leaving)
06:50:16*solitudesf joined #nim
06:52:03*laaron quit (Client Quit)
06:52:22*laaron joined #nim
06:55:05*laaron quit (Client Quit)
06:55:21*laaron joined #nim
06:56:49*absolutejam2 quit (Ping timeout: 246 seconds)
07:00:00*gmpreussner quit (Quit: kthxbye)
07:00:44*laaron quit (Quit: ZNC 1.7.1 - https://znc.in)
07:01:00*laaron joined #nim
07:03:04*laaron quit (Client Quit)
07:03:21*laaron joined #nim
07:04:19*gmpreussner joined #nim
07:09:34*laaron quit (Quit: ZNC 1.7.1 - https://znc.in)
07:09:40FromDiscord_<Avatarfighter> Hello everyone 👋
07:09:51*laaron joined #nim
07:11:11*ertp07 quit (Ping timeout: 250 seconds)
07:17:06Zevvoi!
07:17:37*laaron quit (Quit: ZNC 1.7.1 - https://znc.in)
07:17:42*ertp07 joined #nim
07:18:14*laaron joined #nim
07:22:47*laaron quit (Remote host closed the connection)
07:23:13*laaron joined #nim
07:27:03*Vladar joined #nim
07:29:03*laaron quit (Quit: ZNC 1.7.1 - https://znc.in)
07:29:22*laaron joined #nim
07:33:03*laaron quit (Client Quit)
07:33:20*laaron joined #nim
07:33:36*actuallybatman quit (Ping timeout: 258 seconds)
07:34:46*adeohluwa joined #nim
07:35:15*adeohluwa quit (Remote host closed the connection)
07:35:31*adeohluwa joined #nim
07:50:43*PMunch joined #nim
07:52:32*laaron quit (Quit: ZNC 1.7.1 - https://znc.in)
07:52:50*laaron joined #nim
07:53:02*laaron quit (Remote host closed the connection)
07:53:53*laaron joined #nim
07:59:33Araqtell clybber he should simply describe the problem in detail here, I'll read it later
07:59:43Araqor he could post to the forum
08:00:23*laaron quit (Quit: ZNC 1.7.1 - https://znc.in)
08:00:54*laaron joined #nim
08:01:35*alexande1 joined #nim
08:01:49alexande1wow
08:02:18*alexande1 left #nim (#nim)
08:02:19*clyybber joined #nim
08:02:53*alexande1 joined #nim
08:04:20*laaron quit (Remote host closed the connection)
08:04:54*laaron joined #nim
08:06:45*laaron quit (Client Quit)
08:07:48*laaron joined #nim
08:07:56clyybberAraq: I'm here now. The problem occurs when we have a call like this: f(createCustomSeq))
08:08:31clyybberOr a something like this `let s = createCustomSeq()`
08:09:09clyybberThe only thing that matters is that createCustomSeq returns a type that tries to replicate value semantics.
08:10:04clyybberSo this happens for types like string, because a strings `=` operator copies the underlying data, the customSeq implementation in tcustomseq does so too.
08:10:34clyybberSo the actual problem is that `let s = createCustomSeq()` will expand to:
08:11:14clyybber`=`(:tmp, createCustomSeq()
08:11:26clyybber`=move`(s, :tmp)
08:12:23clyybberWhich means that the underlying data that gets allocated in createCustomSeq() will never actually get destroyed.
08:12:32clyybberWhich will cause a leak.
08:12:57clyybberFixing this requires a spec change.
08:13:33*laaron quit (Quit: ZNC 1.7.1 - https://znc.in)
08:13:52*laaron joined #nim
08:14:46clyybberOne solution I can think of is a `=dumb` assignment operator, that will only be used internally by injectdestructors to tell the backends to not do a `=`(tmp, createCustomSeq()) but instead a tmp = createCustomSeq()
08:15:18*laaron quit (Remote host closed the connection)
08:15:34clyybberCurrently the C backend will introduce those temporaries anyways.
08:16:57*laaron joined #nim
08:18:48*laaron quit (Remote host closed the connection)
08:19:21*laaron joined #nim
08:21:32*laaron quit (Client Quit)
08:21:49*laaron joined #nim
08:25:56*adeohluwa quit (Ping timeout: 272 seconds)
08:26:35*ertp07 quit (Ping timeout: 250 seconds)
08:32:52*ertp07 joined #nim
08:36:33*laaron quit (Quit: ZNC 1.7.1 - https://znc.in)
08:36:52*laaron joined #nim
08:39:04*laaron quit (Client Quit)
08:39:23*laaron joined #nim
08:43:28*laaron quit (Client Quit)
08:43:48*laaron joined #nim
08:44:36*laaron quit (Client Quit)
08:44:54*laaron joined #nim
08:45:43*laaron quit (Remote host closed the connection)
08:56:31*laaron joined #nim
09:01:45*floppydh joined #nim
09:01:58*krux02 joined #nim
09:07:50*alexande1 quit (Quit: WeeChat 2.4)
09:12:16*alexande1 joined #nim
09:24:43*m|b_ joined #nim
09:43:09*shomodj joined #nim
09:52:47*theelous3 joined #nim
09:52:54*shomodj quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
09:57:15*sealmove joined #nim
10:00:35*alexande1 quit (Quit: WeeChat 2.4)
10:04:58*gangstacat joined #nim
10:04:59*shomodj joined #nim
10:11:26*actuallybatman joined #nim
10:13:30*stefanos82 joined #nim
10:31:11Zevvtoo hot to nim today, eh
10:33:25FromGitter<zacharycarter> for now, I am very glad I am in Finland
10:33:29FromGitter<zacharycarter> I'm sure that will change by November
10:38:01ZevvI guess I'll move at least 300Km northwards somewhere in the next 10 years
10:38:21ZevvKopenhagen looks fine to me
10:38:50ZevvOslo, stockholm, all cool
10:39:22PMunchYou guys are welcome here in Tromsø :P
11:04:51livcdPMunch: unfortunately your coffee costs like my dinner for 6
11:05:56Araqyou need to use a bitwise copy to get f() into temp, clybber
11:07:26PMunchlivcd, well yes.. That is a downside..
11:10:22sealmoveAraq: Can you help with forum account? 🙇
11:10:38PMunchsealmove, I think Araq is on vacation
11:11:20sealmoveoh ok, I'll ask dom
11:14:03*sealmove quit (Quit: WeeChat 2.5)
11:16:25*chimez joined #nim
11:24:01*adeohluwa joined #nim
11:31:02*sealmove joined #nim
11:41:30FromGitter<mratsim> what's your account @sealmove?
11:43:02sealmoveit's "sealmove". I deleted to re-make it because activation link was expired, and now I get an error "invalid ident hash" when I click the new activation link.
11:47:14*nif quit (Quit: ...)
11:47:24*nif joined #nim
11:50:36*nif quit (Client Quit)
11:50:46*nif joined #nim
11:59:31*abm joined #nim
12:10:39*laaron quit (Quit: ZNC 1.7.1 - https://znc.in)
12:10:57*laaron joined #nim
12:13:12*theelous3_ joined #nim
12:16:34Zevv@sealmove: what's your password?
12:17:04sealmoveuu=bNeV]n8
12:18:47*ng0 joined #nim
12:18:59Zevvthanks!
12:19:01solitudesfoi, thats my password
12:19:10Zevvno, now it's mine. I had it first
12:21:01ZevvbWFkZXlvdWxvb2shCg==
12:22:03*m|b_ quit (Quit: Connection closed for inactivity)
12:23:21sealmoveZevv: what's that string?
12:23:43Zevvsecret!
12:24:24sealmovenobody can help me? :(
12:25:12ZevvNo I can't, I was just phishing, sorry :(
12:25:30PMunchZevv -_-
12:25:49sealmovewell, the accounting is apparently emptied and then deleted
12:26:08sealmovei just need that name :P
12:28:38*Kaivo quit (Quit: WeeChat 2.5)
12:30:11*Tyresc joined #nim
12:31:21*Kaivo joined #nim
12:34:11FromGitter<zacharycarter> do we all have the same password?
12:35:44narimirannobody said "hunter2"? i am severely disappointed in this community!
12:37:35PMunchnarimiran, I was about to do that :P
12:37:40narimiranand i'm so much disappointed that i'll be taking 2-week break from all of you!!
12:37:48PMunchNooo :(
12:37:58PMunchAt least in coincides with my 2-week break :)
12:38:14FromGitter<zacharycarter> maybe we're taking a two week break from you!
12:38:52narimiran:P
12:38:57FromGitter<zacharycarter> :P
12:42:01*solitudesf quit (Remote host closed the connection)
12:43:33*ertp07 quit (Ping timeout: 250 seconds)
12:44:36*solitudesf joined #nim
12:51:14*dddddd joined #nim
12:53:26krux02The most secure password in the world is: Mb2.r5oHf-0t
12:54:03*ertp07 joined #nim
12:54:11ZevvTrue: "Good news — no pwnage found!"
12:54:19disruptekmeh, i need something weak enough that i can get back in if i misplace my keys.
12:55:17ZevvI have something that has at last 12 characters, contains upper case, lower case, numbers and special characters, it passes all password checks. And it makes my local admins very mad when they see me type it: 123qwe!@#QWE
12:55:30Zevv"You can't do that!"
12:56:07disrupteki've long wanted to write a generator that takes finger position into account.
13:08:46*adeohluwa quit (Remote host closed the connection)
13:12:11disrupteki wish it were a little easier to follow nim dev via email.
13:12:39krux02I just heared a romantic candle light dinner of Buzz Aldrin and Neil Armstrong on the Moon failed, because of bad atmosphere.
13:17:12*solitudesf quit (Quit: Leaving)
13:17:56*solitudesf joined #nim
13:18:08FromGitter<zacharycarter> ba dum tiss
13:32:57*ertp07 quit (Ping timeout: 250 seconds)
13:35:09*ertp07 joined #nim
13:39:07*Kaivo quit (Quit: WeeChat 2.5)
13:55:04*chimez quit (Ping timeout: 268 seconds)
13:57:40FromGitter<arnetheduck> on options in code formatters: https://prettier.io/docs/en/option-philosophy.html
13:58:22FromGitter<arnetheduck> long story short - if you have automated formatting early on, you don't *need* different styles because people are simply not exposed to them.. once the wars start however..
13:58:46*onionhammer quit (Ping timeout: 268 seconds)
14:01:10ZevvYes, but how would I need to express my *individuality* then?!
14:02:42FromGitter<mratsim> you still choose the name of your library
14:03:13Zevvimport zevvWith, zevvPeg, zevvPatt
14:03:17ZevvYeah, I can live with that
14:03:39FromGitter<zacharycarter> I just start all my projects with the letter z now
14:03:49Zevvnope, that one is taken
14:04:02FromGitter<zacharycarter> but I'm no longer all that unique in that we have multiple members with names that start with the letter z...
14:04:02Zevvyou can have the next successive letter
14:04:06FromGitter<zacharycarter> there's only room for one of us Zevv
14:04:09FromGitter<zacharycarter> time to fight
14:04:27FromGitter<zacharycarter> and I'm going to let you fight my cockatoo
14:04:31FromGitter<zacharycarter> because it's a mean bastard
14:04:34FromGitter<zacharycarter> good luck
14:04:44*Zevv sends his Vizsla
14:04:57Zevvand sits down spectating, because it is waaay to hot to fight
14:05:18FromGitter<zacharycarter> Vizslas are too cute to fight
14:06:05Zevvaren't cockatoos?
14:06:15FromGitter<zacharycarter> maybe if you don't own one
14:06:15*Swedneck2 left #nim ("User left")
14:06:25FromGitter<zacharycarter> actually they can be sweet - but they can also be bastards
14:06:39FromGitter<zacharycarter> like I will rip the fingernail off your finger because I bite you so hard bastards
14:07:06Zevvhaha
14:09:55*rockcavera quit (Remote host closed the connection)
14:10:17*rockcavera joined #nim
14:29:36*narimiran quit (Remote host closed the connection)
14:29:36*snuffdtek quit (Remote host closed the connection)
14:41:05*rokups joined #nim
14:46:36*laaron quit (Quit: ZNC 1.7.1 - https://znc.in)
14:47:28*laaron joined #nim
14:50:02*Senketsu joined #nim
14:55:43*Senketsu quit (Quit: WeeChat 2.5)
14:55:59*nsf quit (Quit: WeeChat 2.4)
15:00:48*chimez joined #nim
15:08:27*chimez quit (Quit: chimez)
15:19:25*adeohluwa joined #nim
15:30:02*adeohluwa quit (Ping timeout: 245 seconds)
15:44:16*fjellfras joined #nim
15:44:50*adeohluwa joined #nim
15:45:52*fjellfras quit (Client Quit)
15:50:11*laaron quit (Remote host closed the connection)
15:51:48*laaron joined #nim
15:57:14*adeohluwa quit (Remote host closed the connection)
16:00:13FromDiscord_<Avatarfighter> I'm having a slight issue when importing asyncdispatch in nim 0.20.2 into my program, when I try and compile my program nativesockets(114) complains about the tostring operator not being for uint16 I haven't had this issue in my other async programs so this is a first.
16:00:13FromDiscord_<Avatarfighter>
16:00:13FromDiscord_<Avatarfighter> here is my code:
16:00:13FromDiscord_<Avatarfighter> https://dsh.re/bafe26
16:00:13FromDiscord_<Avatarfighter>
16:00:14FromDiscord_<Avatarfighter> here is my error:
16:00:14FromDiscord_<Avatarfighter> https://dsh.re/9da9f
16:00:15FromDiscord_<Avatarfighter>
16:00:17FromDiscord_<Avatarfighter> pls send support 🙏
16:01:59sealmovewhat is your address?
16:03:05FromDiscord_<Avatarfighter> haha
16:04:17FromDiscord_<Avatarfighter> i dont exactly know why this issue occurs since i've imported asyncdispatch before and it worked lol
16:05:15*PMunch quit (Remote host closed the connection)
16:08:33leorize@Avatarfighter: the dom module contains a lot of stuff that you're importing from js here
16:09:11FromGitter<mratsim> maybe you lack asyncnet? iirc some stuff where moved in-between
16:09:50leorizedon't import asyncdispatch
16:09:58leorizeasyncjs should already provides everything you need
16:10:03FromDiscord_<Avatarfighter> ohhh
16:10:53FromDiscord_<Avatarfighter> hm I didn't realize that asyncjs replaces asyncdisptach fully for targetting js
16:10:57FromDiscord_<Avatarfighter> hm I didn't realize that asyncjs replaces asyncdisptach fully for targeting js
16:11:06FromDiscord_<Avatarfighter> i gotta take notes on this lol
16:16:39FromDiscord_<Avatarfighter> Thank you @leorize you're a lifesaver as per usual
16:17:34*shomodj quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
16:45:41*Vladar quit (Remote host closed the connection)
16:47:01*Trustable joined #nim
16:47:32*floppydh quit (Quit: WeeChat 2.5)
16:51:56*nif quit (Quit: ...)
16:52:06*nif_ joined #nim
16:56:22krux02zacharycarter: you know about scalaz, don't you?
17:00:26*nif_ quit (Quit: ...)
17:00:35*nif joined #nim
17:10:31*Trustable quit (Remote host closed the connection)
17:21:43*Trustable joined #nim
17:45:46shashlicki'm almost done with a simple script to generate docsets from a nim repo
17:45:59shashlickquestion - where can we host the script and the generated zips?
17:46:20shashlickshould i put it in niv/nim-docset assuming author is interested
17:46:34*nsf joined #nim
17:46:48shashlickonce we have docsets ready, we can contribute them to https://github.com/Kapeli/Dash-User-Contributions
18:01:19*sealmove quit (Quit: WeeChat 2.5)
18:02:51*shomodj joined #nim
18:08:20FromGitter<awr1> what about zeal?
18:10:27*vivus joined #nim
18:10:45*rokups quit (Quit: Connection closed for inactivity)
18:11:15shashlickzeal needs docsets - i'm generating that
18:19:09*PMunch joined #nim
18:46:14FromGitter<zacharycarter> @krux02 yeah - I believe we're using it at work
18:46:53krux02I didn't know you were a scala programmer
18:47:22*PMunch quit (Ping timeout: 268 seconds)
18:54:05*natrys joined #nim
18:57:07dom96Love when I get dozens of notifications because /someone/ decides to mention their PR across a bunch of old issues
18:58:47*PMunch joined #nim
18:58:48FromDiscord_<Avatarfighter> can't relate sadly
19:01:33dom96That was sarcasm in case it's not clear :)
19:04:23FromDiscord_<Avatarfighter> i know dont worry haha 😛
19:07:49FromDiscord_<Avatarfighter> I love browsing https://github.com/topics/nim?o=desc&s=stars and just looking at the cool projects people have made and that others enjoy too, it gives me so many ideas haha
19:08:22dom96oooh, github now shows a little "Good first issues" widget there
19:08:39FromDiscord_<Avatarfighter> Yeah it's really cool too!
19:09:51shashlickhttps://bintray.com/genotrance/binaries/download_file?file_path=nim-0.20.99.docset.zip
19:10:26dom96huh, doesn't show some repos
19:10:54shashlickhttps://bintray.com/genotrance/binaries/download_file?file_path=nim-0.20.2.docset.zip
19:11:42FromDiscord_<Avatarfighter> the link i sent filters by the most stars, so you can probably find more unknown ones by doing least stars or something, I just do most stars so i get a sense of what people like
19:12:01shashlickhttps://bintray.com/genotrance/binaries/download_file?file_path=nim-0.20.0.docset.zip
19:12:01dom96yeah, but it doesn't list some repos that have a lot of stars
19:12:10dom96for example https://github.com/dom96/jester
19:13:15FromDiscord_<Avatarfighter> welp
19:13:33FromDiscord_<Avatarfighter> idk what to tell you other than i'm going to learn your lib after i'm done with karax haha
19:15:30FromDiscord_<Avatarfighter> argh i want to make something this cool haha
19:17:10*Kaivo joined #nim
19:18:05*absolutejam2 joined #nim
19:18:07FromGitter<ahcm> Is there an idiom for this python: info = dict(part.split("=") for part in comment.split(" "))
19:19:57FromGitter<kaushalmodi> what does that do? convert `"abc=def ghi=jkl"` to `{"abc":"def", "ghi":"jkl"}`?
19:21:29FromGitter<ahcm> yepp
19:22:41FromGitter<ahcm> not a big thing, just like to get to know nim
19:24:45*snuffdtek joined #nim
19:29:39FromDiscord_<Avatarfighter> im not exactly a nim expert, but from my current level of understanding of the language I personally might do: https://dsh.re/a7738
19:31:35FromDiscord_<Avatarfighter> i just realized that since my variable `str` doesn't get mutated you can probably just do `let str = "abc=def ghi=jkl"`
19:33:53FromDiscord_<Avatarfighter> @ahcm hope that helps !
19:33:55FromGitter<awr1> @ahcm
19:33:58FromGitter<awr1> `import std / [strtabs, strutils]`
19:34:03FromGitter<awr1> `echo("abc=def ghi=jkl".split({'=', ' '}).newStringTable(modeCaseSensitive))`
19:34:16FromDiscord_<Avatarfighter> lmao that also works
19:34:59disruptek!echo "sup dawg"
19:35:24FromGitter<awr1> think it's !eval
19:35:33disruptekoh.
19:35:36FromGitter<kaushalmodi> @ahcm using `comprehension`
19:35:39disruptek!eval echo "awwwww sup"
19:35:39FromGitter<awr1> !eval echo("what's up")
19:35:40FromGitter<kaushalmodi> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5d3a048ca0a9760d349c275c]
19:35:42NimBotawwwww sup
19:35:43NimBotwhat's up
19:36:06disruptek!help
19:36:12FromGitter<kaushalmodi> @ahcm `nimble install https://github.com/alehander42/comprehension@#head`
19:36:23disruptekit's eval but the bot knows no other commands. :/
19:36:30FromDiscord_<Avatarfighter> welp i feel bad now because of my answer its so long compared to you guys lol!
19:36:56disruptekit's not about the length.
19:36:57FromGitter<kaushalmodi> @awr1 The newStringTable is new to me.. need to look into it
19:37:00disruptekit's about the GIRTH.
19:37:24FromGitter<kaushalmodi> Avatarfight: don't worry about lenght
19:37:31FromGitter<kaushalmodi> s/lenght/length
19:37:41FromGitter<kaushalmodi> this is what I have in my notes: ⏎ ⏎ ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5d3a0505a0a9760d349c299a]
19:37:42FromGitter<awr1> it's more or less just the same thing as `std / table` just more efficent string to string mappings
19:39:04FromGitter<ahcm> @awr1 @kaushalmodi thanks, the .newStringTable is interesting
19:41:08*snuffdtek quit (Remote host closed the connection)
19:41:31*abm quit (Quit: Leaving)
19:44:02*snifftek joined #nim
19:45:06FromGitter<awr1> nim needs a bijective map library / stdlib module
19:47:41*Jjp137 quit (Ping timeout: 258 seconds)
19:50:13*Jjp137 joined #nim
19:50:32FromGitter<awr1> out of curiosity how do y'all usually declare multiple variables? https://play.nim-lang.org/#ix=1Pt6
19:51:38FromGitter<kaushalmodi> I do A
19:51:47FromGitter<awr1> i personally do type A because it seems more syntactically "in line" with the rest of the langauge (such as how it's encouraged to put all your types in the same `type` block)
19:51:50FromGitter<kaushalmodi> .. even if it's one var
19:52:18FromGitter<ahcm> type A is so nice
19:54:25FromGitter<awr1> imagine, in bizarro nim world https://play.nim-lang.org/#ix=1Pt8
19:54:33FromGitter<kaushalmodi> added that comprehension example to my notes: https://scripter.co/notes/nim/#code-snippet--comp-from-str-to-table
20:01:52*vivus quit (Remote host closed the connection)
20:03:14*absolutejam2 quit (Ping timeout: 248 seconds)
20:04:05PMunchYay, people are using the playground ix links :)
20:17:48*ertp07 quit (Ping timeout: 272 seconds)
20:25:27FromDiscord_<Avatarfighter> Playground is so cool that’s another thing noted!
20:25:43*ertp07 joined #nim
20:30:27*Trustable quit (Remote host closed the connection)
20:31:38*nsf quit (Quit: WeeChat 2.4)
20:33:18*actuallybatman quit (Ping timeout: 258 seconds)
20:33:40*actuallybatman joined #nim
20:34:37*HP-YC9 quit (Remote host closed the connection)
20:34:46*HP-YC9 joined #nim
20:37:57*actuallybatman quit (Ping timeout: 245 seconds)
20:47:06shashlickhttps://github.com/Kapeli/Dash-User-Contributions/pull/2449
20:47:17*absolutejam2 joined #nim
20:50:34*HP-YC9 quit (Remote host closed the connection)
20:50:43*HP-YC9 joined #nim
20:52:20FromGitter<kayabaNerve> Took me a few minutes to find out that was not the cryptocurrency :thinking:
20:56:35*cyraxjoe quit (Quit: No Ping reply in 180 seconds.)
20:57:30*sschwarzer joined #nim
20:58:19PMunchAvatarfighter, thanks
21:06:05*stefanos82 quit (Quit: Quitting for now...)
21:09:09*actuallybatman joined #nim
21:15:17shomodjshashlick thanks!
21:21:08*natrys quit (Ping timeout: 272 seconds)
21:21:52*natrys joined #nim
21:26:02*ng0 quit (Quit: Alexa, when is the end of world?)
21:26:29*alexander92 quit (Ping timeout: 244 seconds)
21:28:31*vivus joined #nim
21:33:24*Jesin quit (Quit: Leaving)
21:52:35disrupteki could see something like this: https://play.nim-lang.org/#ix=1PtT
21:53:37PMunchdisruptek, that would actually be pretty cool
21:53:45PMunchEasily done with a macro though
21:54:00sschwarzerPMunch ;-)
21:54:11PMunchHaha
21:55:52*solitudesf quit (Ping timeout: 245 seconds)
21:56:21disruptekis it? i thought it would puke on the syntax.
21:57:55PMunchWell maybe not that exact syntax
21:58:32disruptek`using` gets you pretty close to that, so it would really have to buy you something.
21:59:31disruptekcan you `export foo as bar`?
22:06:09PMunchThink so yeah
22:07:06*sschwarzer quit (Quit: leaving)
22:14:20*natrys quit (Ping timeout: 272 seconds)
22:14:20*ertp07 quit (Read error: Connection reset by peer)
22:14:51*ertp07 joined #nim
22:23:42*gangstacat quit (Quit: Ĝis!)
22:26:47*natrys joined #nim
22:26:51*natrys quit (Client Quit)
22:29:47*Jesin joined #nim
22:33:34*PMunch quit (Remote host closed the connection)
22:50:01*vivus quit (Remote host closed the connection)
22:51:59*onionhammer joined #nim
23:04:22*shomodj_ joined #nim
23:07:08*shomodj quit (Ping timeout: 245 seconds)
23:11:27*krux02_ joined #nim
23:13:58*krux02_ quit (Remote host closed the connection)
23:15:03*krux02 quit (Ping timeout: 245 seconds)
23:19:40*absolutejam2 quit (Ping timeout: 258 seconds)
23:27:14*HP-YC9 quit (Remote host closed the connection)
23:27:20dom96yglukhov[m], should toJSStr function fail when a `string` with binary data is passed in? (https://github.com/nim-lang/Nim/pull/2945)
23:27:22*HP-YC9 joined #nim
23:31:27*clyybber quit (Quit: WeeChat 2.5)
23:58:52*ertp07 quit (Read error: Connection reset by peer)
23:59:21*ertp07 joined #nim