| 00:01:57 | * | Ekho quit (Ping timeout: 240 seconds) | 
| 00:29:15 | * | krux02_ joined #nim | 
| 00:31:33 | * | krux02 quit (Ping timeout: 245 seconds) | 
| 00:33:16 | madprops | is it possible to iterate over: (kind: String, stringVal: ".git")(kind: String, stringVal: ".svn") ? | 
| 00:34:15 | disruptek | shashlick: demo of nimph https://asciinema.org/a/aoDAm39yjoKenepl15L3AyfzN | 
| 00:37:42 | shashlick | Nice, hard to tell on the phone tho, will check again at home | 
| 00:48:16 | * | lritter quit (Ping timeout: 240 seconds) | 
| 01:14:34 | * | endragor quit (Remote host closed the connection) | 
| 01:15:22 | * | ng0 quit (Quit: Alexa, when is the end of world?) | 
| 01:16:27 | * | Ekho joined #nim | 
| 01:31:39 | * | dwdv quit (Ping timeout: 246 seconds) | 
| 01:36:20 | * | krux02_ quit (Remote host closed the connection) | 
| 01:53:55 | madprops | this is confusing: fg8Bit,                     ## 256-color (not supported, see ``enableTrueColors`` instead.) | 
| 01:54:23 | madprops | if i enable that, how do i use it | 
| 01:54:59 | disruptek | got a link? | 
| 01:55:04 | disruptek | !repo terminaltables | 
| 01:55:05 | disbot | https://github.com/xmonader/nim-terminaltables -- 11terminal tables for nim 8 16β15 1π΄ | 
| 01:55:14 | madprops | https://nim-lang.org/docs/terminal.html#ForegroundColor | 
| 01:56:50 | disruptek | setForegroundColor takes an integer. | 
| 01:58:03 | disruptek | you feel me, mr. props? | 
| 01:58:06 | madprops | aight im gonna try | 
| 01:59:03 | * | thomasross quit (Ping timeout: 265 seconds) | 
| 02:01:11 | * | endragor joined #nim | 
| 02:01:29 | madprops | disruptek: ideally i'd need the code | 
| 02:01:38 | madprops | like  ansiForegroundColorCode | 
| 02:01:53 | madprops | but that doesn't take an int | 
| 02:02:18 | disruptek | !repo chroma | 
| 02:02:19 | disbot | https://github.com/treeform/chroma -- 11Everything you want to do with colors, in nim. 8 28β15 5π΄ | 
| 02:03:46 | disruptek | hey, it has 5 cutleries. | 
| 02:04:39 | madprops | doesn't seem to support ansi codes :( | 
| 02:04:56 | madprops | i can just do it manually | 
| 02:06:11 | * | endragor quit (Ping timeout: 276 seconds) | 
| 02:06:30 | disruptek | you can use chroma to covert anything into an int. | 
| 02:06:55 | madprops | oh yeah i could it for converting red to int etc good idea | 
| 02:07:06 | madprops | but the ansi escapes im gonna have to input manually | 
| 02:08:39 | disruptek | nah, you make the int with chroma and then you pass it to setForegroundColor. | 
| 02:15:45 | * | endragor joined #nim | 
| 02:16:01 | * | Kaynato quit (Quit: Leaving) | 
| 02:47:23 | * | Ven`` quit (Quit: Textual IRC Client: www.textualapp.com) | 
| 03:10:53 | * | thomasross joined #nim | 
| 03:20:20 | * | endragor quit (Ping timeout: 268 seconds) | 
| 03:23:07 | * | uu91 quit (Read error: Connection reset by peer) | 
| 03:23:18 | * | uu91 joined #nim | 
| 03:34:05 | * | endragor joined #nim | 
| 03:36:36 | * | uu91 quit (Ping timeout: 240 seconds) | 
| 03:38:15 | * | uu91 joined #nim | 
| 03:45:25 | * | abm quit (Quit: Leaving) | 
| 04:11:58 | * | chemist69 quit (Ping timeout: 245 seconds) | 
| 04:14:10 | * | chemist69 joined #nim | 
| 04:14:44 | * | dchem joined #nim | 
| 04:24:05 | FromGitter | <Willyboar> @madprops !repo rainbow | 
| 04:24:54 | FromGitter | <Willyboar> !github rainbow | 
| 04:24:55 | disbot | https://github.com/thebigbaron/rainbow -- 11π 256-color support for console outputs 8 7β15 1π΄  7& 1 more... | 
| 04:25:27 | disruptek | lol there's more than one rainbow repo.  amazing. | 
| 04:25:31 | disruptek | !repos rainbow | 
| 04:25:32 | disbot | https://github.com/thebigbaron/rainbow -- 11π 256-color support for console outputs 8 7β15 1π΄ | 
| 04:25:34 | disbot | https://github.com/ba0f3/cauvong.nim -- 11CαΊ§u Vα»ng mean Rainbow in Vietnamese 8 0β15 0π΄ | 
| 04:58:36 | FromDiscord_ | <yewpad> Can somebody give me instructions how to cross compile from Windows to MacOS (--os:macosx)? I got MinGW and LLVM installed | 
| 04:58:51 | FromDiscord_ | <yewpad> `nim --opt:speed -x:off -a:off --passL:-s --passL:-static -d:release --cpu:amd64 --os:macosx c skinextractor.nim` | 
| 04:58:51 | FromDiscord_ | <yewpad> This the command I'm using | 
| 04:58:58 | FromDiscord_ | <yewpad> Fails with `Error: execution of an external compiler program 'clang.exe -c  -w -O3  -I"C:\Program Files\Nim\lib" -ID:\projects\playground\nim\skinextractor -o C:\Users\4zure\nimcache\skinextractor_r\stdlib_strutils.nim.c.o C:\Users\4zure\nimcache\skinextractor_r\stdlib_strutils.nim.c' failed with exit code: 1` | 
| 04:59:18 | FromDiscord_ | <yewpad> `C:\Users\4zure\nimcache\skinextractor_r\stdlib_strutils.nim.c:10:10: fatal error: 'string.h' file not found` | 
| 05:00:52 | FromDiscord_ | <yewpad> Sometimes it is 'string.h' that is not being found | 
| 05:01:02 | FromDiscord_ | <yewpad> Sometimes it is 'stdio.h' | 
| 05:04:45 | * | blueberrypie quit (Quit: leaving) | 
| 05:06:40 | * | blueberrypie joined #nim | 
| 05:16:38 | * | noonien quit (Quit: Connection closed for inactivity) | 
| 05:24:40 | FromDiscord_ | <Rika> yewpad im searching how to do it and people have generally said that its either a pain or that there's this tool | 
| 05:25:00 | FromDiscord_ | <Rika> anyway maybe this can help https://stackoverflow.com/q/693952 | 
| 05:52:51 | FromDiscord_ | <yewpad> Maybe try compile it with GitHub Actions or so, idk. I gave in already π | 
| 05:53:01 | FromDiscord_ | <yewpad> it via GitHub Actions* | 
| 05:58:10 | Araq | yewpad: for consistent error messages try --parallelBuild:1 | 
| 06:24:00 | * | Jjp137 quit (Read error: Connection reset by peer) | 
| 06:24:30 | * | Jjp137 joined #nim | 
| 07:05:23 | * | sealmove joined #nim | 
| 07:12:08 | * | solitudesf- joined #nim | 
| 07:14:37 | * | dchem quit (Ping timeout: 240 seconds) | 
| 07:22:56 | * | nsf joined #nim | 
| 07:23:43 | * | letto quit (Quit: Konversation terminated!) | 
| 07:30:44 | * | solitudesf- quit (Quit: Leaving) | 
| 07:31:02 | * | solitudesf joined #nim | 
| 07:36:19 | * | uu91 quit (Read error: Connection reset by peer) | 
| 07:36:33 | * | uu91 joined #nim | 
| 07:44:36 | * | narimiran joined #nim | 
| 07:47:08 | Zevv | Araq: btw, what is the reason for the VM to use excess offsets instead of two's complement? | 
| 07:51:44 | FromGitter | <zacharycarter> how to debug a crash with `-d:danger` ? Just apply the flags one by one and see which one causes things to break? | 
| 08:00:00 | * | gmpreussner quit (Quit: kthxbye) | 
| 08:04:06 | Araq | use -d:release instead of -d:danger? | 
| 08:04:38 | Araq | Zevv, it was easier to reason about this way and Lua does the same | 
| 08:04:39 | FromGitter | <zacharycarter> gotcha | 
| 08:05:01 | * | gmpreussner joined #nim | 
| 08:05:13 | Araq | Nim's VM is heavily inspired by Lua's which is the best design IMO all things considered | 
| 08:05:15 | FromGitter | <zacharycarter> for some reason I was thinking that -d:release was no longer to be used | 
| 08:06:04 | Araq | I almost never use -d:danger, instead I'm waiting for Nim's codegen and the backend optimizers to catch up | 
| 08:06:13 | Araq | ;-) | 
| 08:06:46 | FromGitter | <zacharycarter> π | 
| 08:09:56 | madprops | made my ls thingy themeable lol https://camo.githubusercontent.com/4dfd56b2b1a65d7b1253dfc33596b16640674d92/687474703a2f2f692e696d6775722e636f6d2f776531377266722e6a7067 | 
| 08:10:01 | madprops | oops long link | 
| 08:10:25 | madprops | the nice thing about it is that it's easy to know past executions because they're separated in blocks | 
| 08:16:54 | * | filcuc joined #nim | 
| 08:19:33 | FromGitter | <zacharycarter> hmm shashlick / lqdev[m] - I think I will open an issue because cOverride and unions aren't working as advertised in the master branch of nimterop | 
| 08:19:38 | FromGitter | <zacharycarter> unless I should be using some other branch | 
| 08:20:27 | FromGitter | <zacharycarter> I might be doing something wrong though - so I'd like to verify that this should work before opening the issue | 
| 08:21:10 | FromGitter | <zacharycarter> https://gist.github.com/zacharycarter/23f1b8731d1b167a4a28f4a08671a6fd | 
| 08:21:34 | * | dddddd quit (Remote host closed the connection) | 
| 08:22:14 | FromGitter | <zacharycarter> also - I believe there are some spots where Nimterop should be using an UncheckedArray but instead is doing ptr ptr | 
| 08:24:36 | * | endragor quit (Remote host closed the connection) | 
| 08:29:39 | * | uu91 quit (Read error: Connection reset by peer) | 
| 08:29:53 | * | uu91 joined #nim | 
| 08:30:36 | FromGitter | <zacharycarter> in case anyone wants to load gltf models with Nim - https://github.com/zacharycarter/gltf.nim | 
| 08:31:40 | * | sealmove quit (Quit: WeeChat 2.6) | 
| 08:41:58 | * | letto joined #nim | 
| 08:49:02 | * | zyklon quit (Quit: Konversation terminated!) | 
| 08:49:06 | * | uvegbot joined #nim | 
| 08:52:23 | * | filcuc quit (Remote host closed the connection) | 
| 08:55:39 | * | endragor joined #nim | 
| 08:56:18 | * | bacterio quit (Quit: bacterio) | 
| 08:56:31 | * | bacterio joined #nim | 
| 08:58:57 | * | livcd quit (Quit: Lost terminal) | 
| 08:59:38 | * | njoseph quit (Ping timeout: 246 seconds) | 
| 08:59:54 | * | filcuc joined #nim | 
| 09:07:01 | * | ng0 joined #nim | 
| 09:15:32 | * | filcuc quit (Ping timeout: 268 seconds) | 
| 09:22:56 | * | filcuc joined #nim | 
| 09:43:27 | * | matic joined #nim | 
| 09:43:55 | * | matic quit (Client Quit) | 
| 09:44:47 | * | matic joined #nim | 
| 09:44:59 | * | krux02 joined #nim | 
| 09:46:34 | matic | Hey guys, is it possible to make an object's field const, so that you can only assign to it at object construction? | 
| 09:47:58 | * | luis_ joined #nim | 
| 09:50:18 | FromDiscord_ | <Rika> dont make it public and make a getter | 
| 09:50:57 | FromDiscord_ | <Rika> convention for private fields are p{field}, ex: i want a health field private, i use phealth | 
| 09:51:06 | FromDiscord_ | <Rika> getter will be health of course | 
| 09:51:06 | * | uu91 quit (Read error: Connection reset by peer) | 
| 09:51:21 | Araq | no, make the fields private, write a constructor and use the module system | 
| 09:51:21 | * | uu91 joined #nim | 
| 09:51:42 | FromDiscord_ | <Rika> huh? i dont see the difference from what i said | 
| 09:51:54 | FromDiscord_ | <Rika> other than the getter | 
| 09:52:05 | Araq | I replied first in my timeline | 
| 09:52:36 | FromDiscord_ | <Rika> ah great the bridge is prolly slow lmao | 
| 09:53:29 | FromGitter | <alehander92> hmm | 
| 09:57:52 | * | nsf quit (Quit: WeeChat 2.6) | 
| 10:01:26 | * | njoseph joined #nim | 
| 10:06:23 | * | dwdv joined #nim | 
| 10:06:27 | matic | @Araq: Ok, thanks. | 
| 10:13:05 | * | leorize joined #nim | 
| 10:17:54 | * | Araq quit (*.net *.split) | 
| 10:17:54 | * | acidx quit (*.net *.split) | 
| 10:17:55 | * | gsingh93 quit (*.net *.split) | 
| 10:20:08 | * | luis_ quit (Ping timeout: 246 seconds) | 
| 10:23:19 | * | Araq joined #nim | 
| 10:23:19 | * | acidx joined #nim | 
| 10:23:19 | * | gsingh93 joined #nim | 
| 10:27:02 | * | Trustable joined #nim | 
| 10:35:00 | Zevv | sealmove: I split the PR; first making one with only the refactoring, if that gets through we can put the register increases in there. Also works on 32 bits now, so that should be fine. | 
| 10:41:06 | * | kungtotte quit (Quit: WeeChat 2.6) | 
| 10:42:58 | dom96 | hello all, how's things? | 
| 10:43:17 | Zevv | fine here, over there? | 
| 10:46:02 | * | kungtotte joined #nim | 
| 10:54:06 | * | narimiran quit (Ping timeout: 265 seconds) | 
| 10:57:11 | * | matic quit (Quit: Leaving) | 
| 11:08:52 | * | kungtotte quit (Quit: WeeChat 2.6) | 
| 11:12:24 | dom96 | good good | 
| 11:17:24 | * | filcuc_ joined #nim | 
| 11:17:47 | * | filcuc quit (Ping timeout: 265 seconds) | 
| 11:24:34 | Zevv | look at us two being social and all | 
| 11:31:08 | FromDiscord_ | <Rika> here, you can see two developers interacting in their natural habitat | 
| 11:32:29 | Zevv | I can assure, for me this was quite the effort already | 
| 11:39:29 | * | solitudesf quit (Ping timeout: 276 seconds) | 
| 11:45:11 | FromDiscord_ | <alehander42> Oy | 
| 11:45:17 | FromDiscord_ | <alehander42> I can social | 
| 11:45:21 | FromDiscord_ | <alehander42> Too | 
| 11:46:01 | Zevv | that's *can* vs *want*, right? | 
| 11:46:11 | FromDiscord_ | <alehander42> My English amazing | 
| 11:46:32 | FromDiscord_ | <alehander42> Stop syntax checking i me | 
| 11:51:58 | ng0 | Rika: I've read this with the most david attenborough voice I can imagine O.o | 
| 11:53:03 | * | nsf joined #nim | 
| 12:03:16 | * | filcuc_ quit (Ping timeout: 268 seconds) | 
| 12:07:46 | * | filcuc_ joined #nim | 
| 12:25:24 | * | narimiran joined #nim | 
| 12:29:00 | lqdev[m] | oi, everyone | 
| 12:37:24 | * | Perkol joined #nim | 
| 12:37:28 | FromDiscord_ | <Rika> ~~does nim have a cfscrape equivalent?~~ | 
| 12:38:42 | FromDiscord_ | <Rika> rather, what's the most 1:1 module to python's `requests` | 
| 12:40:42 | * | endragor quit (Remote host closed the connection) | 
| 13:00:03 | * | tane joined #nim | 
| 13:16:31 | * | NimBot joined #nim | 
| 13:27:02 | * | Perkol quit (Remote host closed the connection) | 
| 13:27:36 | shashlick | @zacharycarter nimterop still doesn't support nested structs and unions | 
| 13:28:39 | * | Vladar joined #nim | 
| 13:37:20 | * | livcd joined #nim | 
| 13:37:45 | FromDiscord_ | <mratsim> @narimiran, As you like my code comments/blog posts here you go: https://github.com/mratsim/weave/tree/master/weave/memory | 
| 13:37:45 | FromDiscord_ | <mratsim> | 
| 13:37:45 | FromDiscord_ | <mratsim> One-upping Rust, Go, Erlang, Intel TBB, Cilk on memory management for task runtimes π | 
| 13:38:09 | narimiran | :) | 
| 13:38:29 | * | endragor joined #nim | 
| 13:43:47 | * | endragor quit (Ping timeout: 268 seconds) | 
| 13:46:15 | * | lritter joined #nim | 
| 13:51:37 | * | solitudesf joined #nim | 
| 14:06:20 | * | nif quit (Quit: ...) | 
| 14:06:29 | * | nif joined #nim | 
| 14:09:42 | livcd | 3A state-of-the-art Message-Passing based, fast, scalable, ultra-low overhead multithreading runtime | 
| 14:09:49 | livcd | this is too much for me to handle | 
| 14:19:19 | * | endragor joined #nim | 
| 14:23:35 | FromDiscord_ | <mratsim> I can remove the fast, scalble ultra-low overhead part if you prefer | 
| 14:23:49 | * | endragor quit (Ping timeout: 252 seconds) | 
| 14:23:56 | FromDiscord_ | <mratsim> done | 
| 14:25:04 | FromDiscord_ | <mratsim> the readme needs rework anyway, when I saw the text blob, I was, huh, it didn't seem that big when i wrote it | 
| 14:26:17 | livcd | no it sounded so awesome :-) | 
| 14:26:21 | livcd | like something from an anime | 
| 14:26:42 | FromDiscord_ | <mratsim> A super duper multithreading runtime :p | 
| 14:26:53 | FromDiscord_ | <mratsim> then I'll readd it :p | 
| 14:44:44 | FromDiscord_ | <Rika> haaa i wish i had such intelligence to make something like that lmoa | 
| 14:57:48 | * | ng0 quit (Ping timeout: 260 seconds) | 
| 15:03:50 | * | ng0 joined #nim | 
| 15:08:16 | FromDiscord_ | <mratsim> everyone their area of specialty π | 
| 15:39:13 | * | filcuc joined #nim | 
| 15:39:45 | * | filcuc_ quit (Ping timeout: 265 seconds) | 
| 15:40:05 | * | dddddd joined #nim | 
| 15:43:28 | * | gangstacat quit (Remote host closed the connection) | 
| 15:43:48 | * | gangstacat joined #nim | 
| 16:17:00 | disruptek | i'm at that tipping point where the code does more things right than it does wrong. | 
| 16:17:04 | disruptek | hard to know what to work on. | 
| 16:27:10 | Araq | destructors? | 
| 16:28:54 | disruptek | either the `nimph fork` feature, or arbitrary version rolling, or lockfiles. | 
| 16:30:33 | disruptek | btw i put a demo screencast up for lazy folks. | 
| 16:30:52 | disruptek | !repo disruptek/nimph | 
| 16:30:53 | disbot | https://github.com/disruptek/nimph -- 11a nim package hierarchy manager from the future 8 2β15 0π΄ | 
| 16:31:03 | Araq | I've seen it but the emojis distracted me from the contents | 
| 16:31:30 | Zevv | especially the cutlery, right? | 
| 16:31:32 | disruptek | emojis? | 
| 16:32:05 | Zevv | aw, I did it again, sorry man | 
| 16:32:06 | disruptek | they look so different on my screen. | 
| 16:32:26 | Zevv | https://zevv.nl/div/cutlery.png | 
| 16:32:52 | disruptek | i guess i will make it a toggle and use color instead. | 
| 16:33:15 | disruptek | that's actually a little better than my font, zevv. | 
| 16:37:54 | disruptek | it's awesome being able to just go into my dependencies directly, hack the code, bump the version, and get back to work. | 
| 17:00:17 | Zevv | that's rapid disrupting | 
| 17:01:44 | Araq | disruptek, 'nimph fork' because it's easy and then lockfiles | 
| 17:02:10 | disruptek | noted. | 
| 17:02:38 | disruptek | first i have to give zevv rainbow output. | 
| 17:05:17 | Zevv | try me | 
| 17:06:05 | disruptek | hehe | 
| 17:06:31 | Zevv | do the azure CI run times have any value as metrics, or are they jittery? | 
| 17:10:40 | * | narimiran quit (Quit: leaving) | 
| 17:12:29 | disruptek | i wouldn't put much stock in 'em. | 
| 17:17:48 | Zevv | ok, thanks | 
| 17:18:16 | Zevv | then my PR might or might not have a performance inpact | 
| 17:18:28 | Zevv | but statistically I guess I'm fine - a few are slower, a few are faster | 
| 17:26:35 | FromDiscord_ | <mratsim> what was the PR, changing register sizes? | 
| 17:26:46 | disruptek | !pull register is:open | 
| 17:26:47 | disbot | https://github.com/nim-lang/Nim/pull/12232 -- 3Virtual async events @11rayman22201  7& 2 more... | 
| 17:26:55 | disruptek | !pull vm is:open | 
| 17:26:56 | disbot | https://github.com/nim-lang/Nim/pull/12777 -- 3Increased regBx size from 16 to 24 bits to increase jump range in the VM @11zevv  7& 3 more... | 
| 17:27:21 | FromDiscord_ | <mratsim> not bad π | 
| 17:27:50 | disruptek | i use it all the time.  it's amazing. | 
| 17:28:11 | FromDiscord_ | <mratsim> That sounds like a sketchy MLM ads | 
| 17:28:11 | FromGitter | <Willyboar> this bot rocks | 
| 17:28:24 | disruptek | you can just /msg disbot so no one has to be spammed. | 
| 17:28:51 | FromDiscord_ | <mratsim> we need a better cross IRC/Discord/Gitter bot π | 
| 17:28:58 | Zevv | mratsim: I closed the earlier one in favour of a few separate PRs. Araq pulled in the refactoring so the others are just tiny | 
| 17:29:06 | FromDiscord_ | <mratsim> yes i saw | 
| 17:29:07 | * | kungtotte joined #nim | 
| 17:29:20 | disruptek | !pulls is:open author:zevv | 
| 17:29:21 | disbot | https://github.com/nim-lang/Nim/pull/12777 -- 3Increased regBx size from 16 to 24 bits to increase jump range in the VM @11zevv | 
| 17:29:21 | FromDiscord_ | <mratsim> I wouldn't worry as long as you don't ask the VM to use the int128 | 
| 17:30:05 | FromGitter | <bung87> is nim possible build a js module ? | 
| 17:30:21 | FromDiscord_ | <mratsim> in general on x86-64, int32 and int64 are faster than int8 and int16 unless there is so much data that it doesn't fit in L1 cache (64KB) | 
| 17:30:46 | FromDiscord_ | <mratsim> oh bung87, it's been a long time, nice work on Nim NLP | 
| 17:31:00 | Zevv | disruptek: look what I found: π! | 
| 17:31:30 | disruptek | seems like terminal module doesn't set fgDefault correctly; i expected it to set to the default foreground color but it left the color unchanged.  am i wrong about how this works? | 
| 17:31:37 | FromGitter | <bung87> hah , mratsim long time no see | 
| 17:31:47 | * | sentreen_ quit (Ping timeout: 276 seconds) | 
| 17:31:50 | disruptek | Zevv: πͺ | 
| 17:35:47 | FromGitter | <bung87> found when using {.exportc.} it generate a fun in global namespace without modify its name | 
| 17:40:17 | * | abm joined #nim | 
| 17:43:51 | * | sentreen_ joined #nim | 
| 17:44:39 | disruptek | Zevv: how do you feel about text styles in your terminal? | 
| 17:44:57 | Zevv | there is no such thing, | 
| 17:44:58 | disruptek | i mean, do you want a toggle? | 
| 17:45:15 | disruptek | oh, you clamp 'em? | 
| 17:45:31 | Zevv | right so, just as colors and all other things | 
| 17:45:42 | disruptek | okie, cool. | 
| 17:45:48 | Zevv | so go wild :) | 
| 17:52:00 | disruptek | but you use emojis... π€¨ | 
| 17:52:35 | Zevv | only on my phone, on my desktop they dont render | 
| 17:52:49 | Zevv | not by choice, I just use a crappy font | 
| 17:53:29 | disruptek | so to send rainbows you have to use your phone? | 
| 17:54:41 | Zevv | no I search the icon in firefox, and cut and paste in my terminal | 
| 17:54:47 | Zevv | the things I do for love | 
| 17:55:15 | disruptek | you're a wildman. | 
| 17:55:25 | Zevv | but then you returned my a pink dinosaur egg with dots on it, so you left me in a state of confusion regarding the state of your relationship | 
| 17:55:51 | Zevv | so I now need to cut and pste the pink dinosaur egg in firefox and have google look up the meaning | 
| 17:55:53 | disruptek | it was the only way i could think of to get pink on your screen. | 
| 17:56:27 | disruptek | i have to run a special VT50 console hooked up to my NAS box just to render text as you might read it. | 
| 17:56:44 | disruptek | the things i do for love... | 
| 17:57:05 | Zevv | so proud of you man | 
| 17:58:02 | * | filcuc quit (Quit: Konversation terminated!) | 
| 17:58:16 | * | filcuc joined #nim | 
| 18:03:44 | * | filcuc_ joined #nim | 
| 18:04:56 | * | filcuc quit (Ping timeout: 276 seconds) | 
| 18:05:58 | * | matic joined #nim | 
| 18:09:31 | matic | Can a proc be generated inside a template, with the name from a template string argument? Example: template genProc(name: string) = proc ???() = echo(name) | 
| 18:12:02 | Zevv | yes: just use `proc name()` | 
| 18:12:33 | Zevv | oh wait: I wasnt reading right, you pass a string. | 
| 18:12:49 | Zevv | there is something for that, but Im on the road, cant look it up | 
| 18:14:45 | matic | No problem, thanks for the hint. I'll keep digging around. | 
| 18:21:10 | FromDiscord_ | <exelotl> lol I could never figure out how to do that | 
| 18:22:45 | disruptek | ah, #12779 seems to fix the terminal bug i ran into. | 
| 18:22:48 | disbot | https://github.com/nim-lang/Nim/pull/12779 -- 3nimgrep improvements @11a-mr; snippet at 12https://play.nim-lang.org/#ix=23dQ π | 
| 18:23:27 | FromGitter | <dumjyl> matic: It would be easier to do the opposite: https://play.nim-lang.org/#ix=23dR | 
| 18:23:56 | dom96 | why does disbot include a link to the playground when a PR number is posted? | 
| 18:24:45 | disruptek | it pulls in the first snippet of code, which is expected to demonstrate the problem, so that it may be run in the playground for testing. | 
| 18:25:11 | disruptek | yeah, i need to write a bayes sniffer.  haven't bothered. | 
| 18:25:54 | matic | dumjyl: That's exactly what I need, thanks! | 
| 18:28:07 | Zevv | you might get away with using $, even | 
| 18:28:13 | Zevv | or repr | 
| 18:33:57 | matic | ... or maybe that doesn't solve the problem. I'll make an example of what I'm trying to achieve ... | 
| 18:36:48 | matic | https://play.nim-lang.org/#ix=23dV | 
| 18:37:20 | matic | The part inside the template I don't know how to achieve | 
| 18:40:19 | FromDiscord_ | <me2beats> @Kiloneie just subbed to your youtube channel | 
| 18:40:20 | FromDiscord_ | <me2beats> I hope I'll finally understand the basics of Nim lang without much effort. | 
| 18:40:20 | FromDiscord_ | <me2beats> please keep going) I see a lack of such videos | 
| 18:41:38 | * | filcuc_ quit (Ping timeout: 268 seconds) | 
| 18:42:27 | FromDiscord_ | <Kiloneie> I have nothing planned right now, but i should finish up the series sometime. | 
| 18:44:31 | * | zyklon joined #nim | 
| 18:44:52 | * | uvegbot quit (Ping timeout: 265 seconds) | 
| 18:49:21 | * | thomasross quit (Ping timeout: 250 seconds) | 
| 18:49:27 | * | krux02 quit (Remote host closed the connection) | 
| 18:52:41 | FromDiscord_ | <mratsim> @matic, you can't with a template but you can with a macro as long as the name is known at compile time | 
| 18:57:16 | * | thomasross joined #nim | 
| 18:57:18 | FromDiscord_ | <me2beats> @Kiloneie yea sure. | 
| 18:57:18 | FromDiscord_ | <me2beats> (a bit offtopic), I think it also would be very cool to have a series of tutorials - about how things created on python can be implemented (rewritten) on Nim. | 
| 18:57:18 | FromDiscord_ | <me2beats> | 
| 18:57:19 | FromDiscord_ | <me2beats> This would be useful not only for me, since I believe many newcomers to Nim are more or less fluent in python | 
| 18:59:08 | FromDiscord_ | <mratsim> @matic: here is the modified version: https://play.nim-lang.org/#ix=23e1 | 
| 19:01:02 | FromDiscord_ | <mratsim> You might also find useful stuff in my x86-64 jit assembler: https://github.com/numforge/laser/blob/master/laser/photon_jit/x86_64/x86_64_base.nim | 
| 19:01:03 | FromDiscord_ | <mratsim> | 
| 19:01:03 | FromDiscord_ | <mratsim> Example usage here via jitted hello world: https://github.com/numforge/laser/blob/master/examples/ex06_jit_hello_world.nim | 
| 19:01:03 | FromDiscord_ | <mratsim> and for a Jitted brainfuck interpreter: https://github.com/numforge/laser/blob/master/examples/ex07_jit_brainfuck_vm.nim | 
| 19:03:14 | * | njoseph quit (Ping timeout: 265 seconds) | 
| 19:12:27 | matic | mratsim: Yes, perfect! Thanks! Also thanks for the examples, I'm trying to reverse engineer an old DOS game. | 
| 19:13:54 | * | nsf quit (Quit: WeeChat 2.6) | 
| 19:22:38 | FromDiscord_ | <Rika> so i was just looking around in that git repo mratsim sent, and what the hell it has brainfuck benchmarks | 
| 19:22:46 | FromDiscord_ | <Rika> wait, no, examples | 
| 19:28:14 | FromDiscord_ | <mratsim> It's a JIT compiler for branfuck π | 
| 19:28:31 | FromDiscord_ | <mratsim> I directly generate x86 assembly dynamically at runtime | 
| 19:29:20 | FromDiscord_ | <mratsim> so I read your brainfuck program and I generate assembly from it, then I execute that assembly | 
| 19:30:00 | * | uu91 quit (Ping timeout: 252 seconds) | 
| 19:30:29 | * | uu91 joined #nim | 
| 19:35:06 | FromDiscord_ | <Rika> damn. | 
| 20:00:44 | * | njoseph joined #nim | 
| 20:06:40 | * | endragor joined #nim | 
| 20:11:15 | * | endragor quit (Ping timeout: 250 seconds) | 
| 20:15:56 | * | uvegbot joined #nim | 
| 20:16:17 | * | krux02 joined #nim | 
| 20:20:47 | * | zyklon quit (Ping timeout: 276 seconds) | 
| 20:28:14 | * | thomasross_ joined #nim | 
| 20:28:14 | * | thomasross is now known as Guest84024 | 
| 20:28:14 | * | Guest84024 quit (Killed (card.freenode.net (Nickname regained by services))) | 
| 20:28:14 | * | thomasross_ is now known as thomasross | 
| 20:34:17 | * | thomasross quit (Ping timeout: 240 seconds) | 
| 20:35:28 | * | nsf joined #nim | 
| 20:44:48 | * | thomasross joined #nim | 
| 21:06:38 | matic | @mratsim: I want to make a small upgrade to your example, can you take a look: https://play.nim-lang.org/#ix=23eA | 
| 21:07:33 | matic | It raises an error that it cannot evaluate 'size' at compile-time, but it should be a const value. Isn't it? | 
| 21:09:53 | nisstyre | is there a stdlib function to break a string up into chunks of N with the last one being the remainder of string.len / N ? | 
| 21:10:09 | nisstyre | or whatever | 
| 21:11:58 | nisstyre | to clarify I mean the last chunk would be <= N | 
| 21:18:58 | nisstyre | looks like what I want is sequtils distribute | 
| 21:46:05 | * | Jesin quit (Quit: Leaving) | 
| 21:47:24 | * | Jesin joined #nim | 
| 21:52:35 | matic | Can anyone look at this and tell me why it doesn't compile: https://play.nim-lang.org/#ix=23eA | 
| 21:59:15 | * | Trustable quit (Remote host closed the connection) | 
| 22:01:28 | * | nsf quit (Quit: WeeChat 2.6) | 
| 22:17:57 | * | sentreen_ quit (Ping timeout: 240 seconds) | 
| 22:24:06 | * | sealmove joined #nim | 
| 22:28:50 | * | solitudesf quit (Ping timeout: 276 seconds) | 
| 22:40:59 | * | tane quit (Quit: Leaving) | 
| 22:41:39 | * | matic quit (Quit: Leaving) | 
| 22:44:21 | * | Vladar quit (Quit: Leaving) | 
| 22:45:58 | * | sentreen joined #nim | 
| 22:47:01 | lqdev[m] | matic: https://play.nim-lang.org/#ix=23f7 | 
| 22:47:35 | lqdev[m] | you're inserting a literal `size` into the `when` statement, not the `size` you have in the macro | 
| 22:51:16 | FromGitter | <bung87> https://play.nim-lang.org/#ix=23f8 | 
| 22:51:57 | FromGitter | <bung87> @matic seems works after modify it to when `size` | 
| 22:58:52 | FromGitter | <zacharycarter> to emulate a static member in a C++ struct, would I just assign a ref / pointer to a single instance of an object - or is there some other more idiomatic way of doing this? | 
| 23:00:03 | * | ng0 quit (Remote host closed the connection) | 
| 23:00:41 | * | sentreen quit (Ping timeout: 276 seconds) | 
| 23:01:16 | * | ng0 joined #nim | 
| 23:03:50 | * | sentreen joined #nim | 
| 23:04:52 | * | lritter quit (Ping timeout: 252 seconds) | 
| 23:11:31 | sealmove | zacharycarter: "static members" are just namespaced global variables | 
| 23:11:58 | sealmove | try {.global.} ? | 
| 23:14:57 | * | sentreen quit (Ping timeout: 240 seconds) | 
| 23:20:35 | FromGitter | <zacharycarter> I think the global pragma only works inside a proc | 
| 23:21:09 | FromGitter | <zacharycarter> but I think I'm fine - just need to make sure I'm not copying on assignment so I think using a ref object stored in a global var will work | 
| 23:22:05 | * | matic joined #nim | 
| 23:26:19 | * | matic quit (Client Quit) | 
| 23:32:00 | * | sentreen joined #nim | 
| 23:36:11 | * | ng0 quit (Quit: Alexa, when is the end of world?) | 
| 23:38:34 | * | oprypin quit (Quit: Bye) | 
| 23:38:41 | * | oprypin joined #nim | 
| 23:40:57 | * | sentreen quit (Ping timeout: 240 seconds) | 
| 23:46:42 | FromDiscord_ | <mratsim> @matic, I was off, id you fix your issue? | 
| 23:49:34 | FromDiscord_ | <mratsim> @nisstyre, Iloked into sequtils.distribute, it seems quite complex. This is what I use: https://forum.nim-lang.org/t/5579#34696 | 
| 23:50:42 | nisstyre | mratsim: that looks great, thanks. I'm not too happy with sequtils.distribute because it gives me a sequence of seq[char] and I have to convert them back to strings | 
| 23:50:49 | nisstyre | so I'll probably do something like that |