<< 24-09-2021 >>

00:53:20FromDiscord<leorize> [saem](https://matrix.to/#/@saem:matrix.org)
01:06:35FromDiscord<cabboose> You get used to it when your work is always wrong like mine
01:06:43FromDiscord<cabboose> Squiggles are my friend
01:24:32*neurocyte0132 joined #nim
01:24:32*neurocyte0132 quit (Changing host)
01:24:32*neurocyte0132 joined #nim
01:26:22*neurocyte013 quit (Ping timeout: 252 seconds)
01:26:22*neurocyte0132 is now known as neurocyte013
01:53:41*vicfred quit (Quit: Leaving)
03:13:48*kayabaNerve joined #nim
03:25:46nrds<Prestige99> I'm having a var echo that it's 1.68, but thatVar == 1.68 is false so I assume it's actually like 1.6800000001 or whatever. Is there a way to compare approx. equality with floats in Nim?
03:29:11FromDiscord<ynfle (ynfle)> On devel there is https://nim-lang.github.io/Nim/math.html#almostEqual%2CT%2CT%2CNatural
03:29:53nrds<Prestige99> Thanks, I'll probably just copy paste till it's in stable
03:30:05FromDiscord<ynfle (ynfle)> Yup
03:37:32*arkurious quit (Quit: Leaving)
03:47:29FromDiscord<Alea> Does nim have a ``in`` equivalent?
03:47:51FromDiscord<Alea> (edit) "``in`` equivalent?" => ""in" equivalent like python?"
03:48:17FromDiscord<Rika> In what context
03:48:35FromDiscord<Rika> Checking if a container has an element? Yes
03:48:41FromDiscord<Rika> For in? Of course
03:56:22FromDiscord<Elegantbeef> `in` is an operator which by default in system calls `a.contains(b)`
03:57:51FromDiscord<Rika> Aka it matches any type that has contains defined for it
03:58:08FromDiscord<Rika> b in a -> a.contains b
04:06:01*supakeen quit (Quit: WeeChat 3.3)
04:06:31*supakeen joined #nim
04:30:54NimEventerNew thread by SFR0815: Nested concepts, see https://forum.nim-lang.org/t/8453
05:01:22*rockcavera quit (Remote host closed the connection)
05:43:11*Vladar joined #nim
05:46:39FromDiscord<sken130> Hi, is there any roadmap for the Nim language?
06:11:23*kayabaNerve quit (Read error: Connection reset by peer)
06:12:57*kayabaNerve joined #nim
06:51:40*Lord_Nightmare quit (Quit: ZNC - http://znc.in)
07:06:00*max22- joined #nim
07:23:42FromDiscord<leorize> short answer\: nope
07:24:00FromDiscord<leorize> long answer\: ask in #internals and hope that you get something useful
07:24:06FromDiscord<cabboose> Awesome work PMunch on your library!
07:24:53FromDiscord<cabboose> Theres some bits and pieces scattered about. There’s a milestone on GitHub but it’s not much of an actual roadmap.↵(@sken130)
07:25:19FromDiscord<cabboose> Although I am now remembering there’s a RFC on the RFC repo that contains aims for 2.0 etc
07:26:18FromDiscord<xflywind> https://forum.nim-lang.org/t/7983
07:26:26FromDiscord<xflywind> https://news.ycombinator.com/item?id=27165366
07:26:30FromDiscord<xflywind> ^
07:54:52*Lord_Nightmare joined #nim
07:56:03NimEventerNew thread by Robb1e: HolyC as compilation target, see https://forum.nim-lang.org/t/8454
07:56:48FromDiscord<Rika> Is this guy a troll or something
08:00:31FromDiscord<Elegantbeef> I'd assume so
08:00:48FromDiscord<Elegantbeef> Wait you me the OP
08:03:35nrds<Prestige99> Lol
08:31:25*Mister_Magister quit (Read error: Connection reset by peer)
08:44:17nrds<Prestige99> Just found out about https://www.goodboygalaxy.com/ this is pretty neat
08:44:28FromDiscord<impbox [ftsf]> late to the party!
08:44:34FromDiscord<impbox [ftsf]> it's super cool
08:45:00FromDiscord<Elegantbeef> Jeez they're almost done their kickstarter
08:45:03nrds<Prestige99> I just started looking into gba development (like an hour ago) because I was introduced to https://www.analogue.co/pocket
08:45:18FromDiscord<Elegantbeef> Nice amount of kickstarting there
08:45:34FromDiscord<impbox [ftsf]> yeah, it's doing super well!
08:46:23FromDiscord<Elegantbeef> 200 dollars that damn
08:46:28nrds<Prestige99> 256k / 24k pledged :o
08:46:43nrds<Prestige99> well gba was originally $200 and the pocket is pretty sweet
08:47:18FromDiscord<Elegantbeef> Sure i just more mean there are cheaper handhelds that just emulate 😛
08:47:29nrds<Prestige99> Haha yeah definitely
08:49:42FromDiscord<Elegantbeef> It's kinda the same boat as the playdate
08:49:47FromDiscord<Elegantbeef> Mostly just novelty to me
08:50:02FromDiscord<Elegantbeef> Have you stumbled upon exelotl's natu yet?
08:50:12nrds<Prestige99> Yeah :)
08:50:33nrds<Prestige99> When the pocket is back in stock I'll get started on using it
08:51:24FromDiscord<Rika> In reply to @nrds "<Prestige> I just started": OH so that’s what that Japanese dude was using in that tweet about an IPS game boy
08:51:43nrds<Prestige99> Not sure what you're referring to actually
08:54:07FromDiscord<Elegantbeef> I'm relatively silly since i'm more interested in the odroid-go due to gpio pins and having the abillity to run any software
08:54:35FromDiscord<Elegantbeef> The silly part is i'd never use those gpio pins or probably would run any software on it, but alas
08:54:44FromDiscord<Rika> Ah no it looks similar but it’s not it
08:54:46FromDiscord<Rika> https://twitter.com/yyuta342/status/1440482173111320576?s=21
08:54:52FromDiscord<Rika> Looks like just a mod
08:55:04nrds<Prestige99> interesting
08:55:13FromDiscord<Elegantbeef> Yea that's an sp mod
08:55:19nrds<Prestige99> hm the odroid-go looks nice
08:55:35FromDiscord<Rika> In reply to @Elegantbeef "Yea that's an sp": Well I didn’t recall because it’s been prolly a week since I saw it
08:55:39FromDiscord<Rika> Paid no attention
08:55:49FromDiscord<Elegantbeef> I mean it's done well either way
08:56:13FromDiscord<Elegantbeef> Though i guess the trigger buttons are on the back?
08:56:34FromDiscord<Rika> What do you mean
08:56:42FromDiscord<Elegantbeef> the gba had triggers
08:57:56FromDiscord<Elegantbeef> Ah their pointer fingers were resting on them
08:58:10FromDiscord<Rika> Yeah
08:58:17FromDiscord<Rika> Was wondering the fuck you were talking about
08:58:31FromDiscord<Rika> Though I haven’t ever owned a game boy so
09:00:43*neurocyte013 quit (Quit: The Lounge - https://thelounge.chat)
09:06:08*Schnouki quit (Ping timeout: 246 seconds)
09:10:35FromDiscord<impbox [ftsf]> mine :3 https://media.discordapp.net/attachments/371759389889003532/890887925515059200/DK-73fvUIAAa5iC.png
09:11:03FromDiscord<Elegantbeef> Shame it's transparent due to the light leak 😛
09:11:38nrds<Prestige99> Hm I wonder where my old gameboys are..
09:12:03FromDiscord<Elegantbeef> Have you done a battery mod?
09:12:07FromDiscord<impbox [ftsf]> don't really notice it when using it
09:12:23FromDiscord<impbox [ftsf]> nah, battery is fine, added line out, PS/2 input
09:12:37*kayabaNerve quit (Ping timeout: 265 seconds)
09:12:38*kayabaNerve_ joined #nim
09:13:06FromDiscord<impbox [ftsf]> https://twitter.com/impbox/status/1240191421363023874
09:13:43FromDiscord<Elegantbeef> I have a gbasp that i've been meaning to add a usb port for charging
09:14:16FromDiscord<impbox [ftsf]> mmm GBA is missing from my collection, though I have an original DS which is backwards compatible
09:14:26FromDiscord<impbox [ftsf]> I really like GBAs though
09:14:41FromDiscord<Elegantbeef> Not as much as exelotl
09:15:16FromDiscord<impbox [ftsf]> probably not
09:17:38nrds<Prestige99> heh
09:17:47nrds<Prestige99> that game does look very nice
09:27:49FromDiscord<cabboose> Any recommendations for a theme for vscode that jives well with nim
09:28:02FromDiscord<cabboose> Looking for something new
09:28:18FromDiscord<Elegantbeef> I like ayu mirage
09:28:33FromDiscord<Rika> ~~so—~~
09:31:49*Vladar quit (Remote host closed the connection)
09:33:16FromDiscord<cabboose> This is
09:33:24FromDiscord<cabboose> Not good
09:33:42FromDiscord<cabboose> For me anyway
09:33:48FromDiscord<cabboose> Or maybe just found a bad mirage
09:34:01FromDiscord<Elegantbeef> Uhh
09:34:15FromDiscord<Elegantbeef> image.png https://media.discordapp.net/attachments/371759389889003532/890893889400086538/image.png
09:35:24FromDiscord<cabboose> Not enough contrast for me and my color blind eyes
09:35:29FromDiscord<cabboose> 🤣
09:36:26FromDiscord<Rika> Oh hey fellow colourblind person
09:36:36FromDiscord<Rika> So now my suggestion might actually be good
09:36:54FromDiscord<Rika> In reply to @Rika "~~so—~~": I was about to say solarised
09:37:44*xet7 quit (Remote host closed the connection)
09:38:48*xet7 joined #nim
09:40:35FromDiscord<cabboose> Datll do
09:41:05FromDiscord<Rika> Haha amazing how one of the themes basically everyone hates works best for us colourblind fucks
09:42:39FromDiscord<cabboose> Damn it the integers are not a nice red though
09:42:45FromDiscord<cabboose> Fuck it I’m using high contrast
09:46:02*neurocyte0132 joined #nim
09:46:02*neurocyte0132 quit (Changing host)
09:46:02*neurocyte0132 joined #nim
09:46:44FromDiscord<Rika> In reply to @cabboose "Damn it the integers": I don’t know I use neovim and the plugin has semantic highlighting
09:54:48FromDiscord<cabboose> Curses
09:58:09FromDiscord<haxscramper> Who hates solarized?↵(@Rika)
09:58:30FromDiscord<Rika> I don’t know last time I said I used it pretty much everyone else said “what the fuck?”
09:58:38FromDiscord<haxscramper> I also use it, probably the best one after `doom-lasershow`, but it is broken for my config
09:58:54FromDiscord<Rika> It’s good for me because of said colourblindness
09:59:27FromDiscord<Rika> If anyone has any better suggestions where the green and the red are that distinct be my guest I guess
10:03:34nrds<Prestige99> I use gruvbox with a darker bg
10:03:40nrds<Prestige99> It's pretty nice
10:39:49*stkrdknmibalz quit (Quit: WeeChat 3.0.1)
10:40:06FromDiscord<auxym> Anyone have an idea why the compiler doesn't like this? https://play.nim-lang.org/#ix=3zOw
10:43:18FromDiscord<Rika> Pointers don’t exist on compile time
10:45:51FromDiscord<auxym> shucks
11:05:04FromDiscord<7815> is a nimgl pure wayland project possible?
11:05:12FromDiscord<7815> without the Xlib headers at all?
11:05:30FromDiscord<7815> it'd be unfortunate if i had to install them simply to play around with rendering in nim..
11:06:04nrds<Prestige99> You could always just switch to x11, like the cool kids.
11:06:55FromDiscord<7815> damn, i must've downgraded in "coolness" once i ditched x11, pulse, and systemd
11:07:15nrds<Prestige99> You're missing out :P
11:07:31FromDiscord<Rika> Eh?
11:08:44FromDiscord<7815> it sure is a shame that i can run a compositor a friend wrote, screenshare on linux through webrtc, and use jack noise supression with half the overhead
11:08:51FromDiscord<7815> man, i'm missing out
11:09:06nrds<Prestige99> nimgl requires xlib headers, if that's what you're asking about @Rika
11:09:28FromDiscord<7815> currently i'm missing out on nim, and practicing gl/vulkan rendering practice
11:09:44FromDiscord<Rika> No I am just wondering why the fuck you two are arguing passive aggressively about being cool
11:09:46FromDiscord<7815> i'm not so sure if i'd call it "missing out on nim" anymore
11:10:20FromDiscord<7815> maybe being told that "oh, how about you change your entire setup to use a programming language" is a fallacy
11:10:40FromDiscord<7815> i'd write .Net program if that were the case
11:10:41FromDiscord<Rika> Well that is their stance
11:10:50FromDiscord<7815> (edit) "program" => "programs"
11:10:52FromDiscord<Rika> Right now there isn’t I believe
11:11:09nrds<Prestige99> Oh I was making a joke since I don't know why xlib headers are required
11:11:15nrds<Prestige99> idc about x vs wayland
11:11:21FromDiscord<7815> that's unfortunate, glfw works on wayland
11:11:45FromDiscord<7815> is there some nimglfw-wayland?
11:11:55FromDiscord<7815> (edit) "nimglfw-wayland?" => "glfw-wayland nimble package?"
11:12:29FromDiscord<Rika> Not that I know of
11:13:26FromDiscord<7815> so no comfortable way of opening an opengl/vulcan context within wayland
11:13:35FromDiscord<Rika> Well as of now
11:13:52FromDiscord<Rika> The issues of having a small community is that there aren’t much packages
11:14:40FromDiscord<7815> In reply to @Rika "The issues of having": of course, and i will refrain from comparisons to other communities
11:14:55FromDiscord<Rika> I don’t mind
11:15:02FromDiscord<Rika> It’s a fact anyway
11:15:58nrds<Prestige99> wayland doesn't have a huge userbase either so the overlap probably isn't very big
11:16:49FromDiscord<Rika> Maybe PMunch can help lol I kid
11:17:09FromDiscord<Rika> I mean he prolly can but I don’t know if he has time for it
11:18:51FromDiscord<7815> @PMunch would you have time to aid in an attempt to open gl/vulkan contexts on wayland?
11:20:08FromDiscord<7815> In reply to @nrds "<Prestige> wayland doesn't have": ubuntu users exist
11:21:22FromDiscord<Rika> Did Ubuntu fully switch to wayland now
11:21:24FromDiscord<Rika> Cool
11:21:57FromDiscord<Rika> But I would still say they’re still pretty low in count
11:46:27*max22- quit (Ping timeout: 240 seconds)
11:52:00FromDiscord<7815> In reply to @Rika "But I would still": https://media.discordapp.net/attachments/371759389889003532/890928551505829888/unknown.png
11:53:01FromDiscord<7815> In reply to @Rika "But I would still": the image for "Linux distribution" on wikipedia shows ubuntu running a wayland compositor: https://en.wikipedia.org/wiki/Linux_distribution
11:53:54FromDiscord<7815> In reply to @Rika "But I would still": your statement disagrees with the caption of the image: https://media.discordapp.net/attachments/371759389889003532/890929027790024724/unknown.png
11:54:36supakeenIf you're the most popular in a diverse set of things it doesn't mean you hold a majority :)
11:54:53supakeenBut yea, Wayland is becoming more common for the better.
11:56:35FromDiscord<@hjarausch_gitlab-5fa43a7bd73408> sent a code paste, see https://paste.rs/eO4
11:58:05FromDiscord<7815> In reply to @supakeen "If you're the most": unless "low in count" or "a majority" is defined we're talking past another anyway.↵i agree wayland is a blessing, so i posed counterexamples the inferred statement: "wayland is insignificant".
12:01:51FromDiscord<Rika> Low dev count does not mean insignificant
12:01:58FromDiscord<Rika> Unless you think Nim is indignity
12:02:01FromDiscord<Rika> Insignificant
12:03:08FromDiscord<Rika> And also
12:03:24FromDiscord<Rika> Ubuntu is definitely one of the most popular distro
12:03:33FromDiscord<Rika> But did the whole of the Ubuntu community switch
12:06:02*supakeen quit (Quit: WeeChat 3.3)
12:06:32*supakeen joined #nim
12:12:09FromDiscord<Rika> Well whatever
12:12:20FromDiscord<Rika> No point in arguing further
12:16:08FromDiscord<konsumlamm> ~~is Nim really significant in though?~~
12:17:34FromDiscord<cabboose> konsumlamm#6288\: dayum. low blow
12:17:56*arfy left #nim (Closing Window)
12:18:30FromDiscord<Rika> You decide
12:46:32FromDiscord<Goel> Nim `is` the significance
12:56:31*arkurious joined #nim
13:17:02*rockcavera joined #nim
13:17:02*rockcavera quit (Changing host)
13:17:02*rockcavera joined #nim
13:18:10FromDiscord<clyybber> In reply to @@hjarausch_gitlab-5fa43a7bd73408 "A help hand please": no need to bisect for that compile perf regression, I know what caused it, a improvement is now in #devel and a further improvement will come too
13:22:55*Vladar joined #nim
13:45:21*neurocyte01328 joined #nim
13:45:21*neurocyte01328 quit (Changing host)
13:45:21*neurocyte01328 joined #nim
13:47:53*neurocyte0132 quit (Ping timeout: 252 seconds)
13:47:53*neurocyte01328 is now known as neurocyte0132
14:00:15FromDiscord<@hjarausch_gitlab-5fa43a7bd73408> @Clyybber Your first commit is big step forward. Compilation time fell down from \>140 minutes to 3.5 minutes. I hope your next improvement comes closer to the 14 seconds which are needed by 1.4.8. Thanks!
14:06:05*max22- joined #nim
14:19:29NimEventerNew thread by EnteryName: Composition in Nim (newbie question), see https://forum.nim-lang.org/t/8455
14:21:50FromDiscord<tandy> \`import ../[types, models]\` why doesnt this work?
14:22:29FromDiscord<haxscramper> because of a bug with `../`
14:22:34FromDiscord<haxscramper> Use `".."/`
14:23:24FromDiscord<tandy> epic ty
14:26:22FromDiscord<Rika> ~~whats the bug~~
14:27:03FromDiscord<tandy> lol
14:27:29FromDiscord<tandy> someone should write an NLP bot in nim for these questions
14:44:57FromDiscord<Gumber> done and done
14:45:09FromDiscord<Gumber> sent a code paste, see https://play.nim-lang.org/#ix=3zPS
14:45:19FromDiscord<Gumber> (edit) "https://play.nim-lang.org/#ix=3zPS" => "https://play.nim-lang.org/#ix=3zPT"
14:45:25FromDiscord<Gumber> (edit) "https://play.nim-lang.org/#ix=3zPT" => "https://play.nim-lang.org/#ix=3zPU"
14:45:34FromDiscord<Gumber> (edit) "https://play.nim-lang.org/#ix=3zPU" => "https://play.nim-lang.org/#ix=3zPV"
14:46:13FromDiscord<Gumber> sent a code paste, see https://paste.rs/E3F
15:04:18*LyndsySimon quit (Ping timeout: 268 seconds)
15:07:29*LyndsySimon joined #nim
15:28:34FromDiscord<Rika> Fuck you I was so confused
15:45:47FromDiscord<Gumber> lololol
15:51:05*kayabaNerve_ quit (Ping timeout: 252 seconds)
15:51:17FromDiscord<dom96> wait, what did you use to generate that?
15:52:37FromDiscord<Rika> https://bellard.org/textsynth/
15:53:21FromDiscord<brainproxy> sent a code paste, see https://play.nim-lang.org/#ix=3zQt
15:53:25FromDiscord<brainproxy> has anyone run into similar?
15:53:51FromDiscord<brainproxy> or is it a known thing that Nim can't link against OpenSSL v3?
15:54:24FromDiscord<Rika> i dont know why you would assume something that uses a v1 could use a v3...
15:54:30FromDiscord<enthus1ast> textsynth is creepy as hell...
15:55:05FromDiscord<Rika> In reply to @enthus1ast "textsynth is creepy as": i just fed it the first line of what brainproxy said and wow lmao
15:55:47*ehmry quit (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
15:55:51FromDiscord<enthus1ast> brainproxy?
15:56:00FromDiscord<enthus1ast> ah
15:56:01FromDiscord<enthus1ast> nevermind
15:56:04FromDiscord<Rika> lol
15:56:07FromDiscord<enthus1ast> me to ;)
15:56:30*ehmry joined #nim
15:56:56FromDiscord<enthus1ast> sent a code paste, see https://play.nim-lang.org/#ix=3zQv
15:57:01*ehmry quit (Client Quit)
15:57:10FromDiscord<Rika> i posted mine in offtopic
15:57:16FromDiscord<enthus1ast> yeah
15:57:22FromDiscord<enthus1ast> prob better
15:57:31*ehmry joined #nim
15:57:43FromDiscord<enthus1ast> but the offtopic matrix room is empty
15:57:46FromDiscord<enthus1ast> so yeah
15:58:13FromDiscord<Rika> but yeah i dont think something that uses v1 could use v3....
15:58:15FromDiscord<brainproxy> In reply to @Rika "i dont know why": I didn't assume anything, I just started getting compiler errors that weren't happening earlier in the day but suddenly started
15:58:21FromDiscord<Rika> oh huh
15:58:50FromDiscord<brainproxy> anyway, I narrowed it down to the fact that `openssl` had just switched from meaning `openssl@3` instead of `[email protected]`
15:58:57FromDiscord<Rika> i see
15:59:24FromDiscord<Rika> In reply to @brainproxy "or is it a": i said the assume thing because of this
16:22:10FromDiscord<dom96> sent a long message, see http://ix.io/3zQF
16:22:29FromDiscord<dom96> lol
16:22:35FromDiscord<dom96> The first sentence ain't bad
16:23:12FromDiscord<Gumber> you should look at #offtopic from last night dom
16:23:17FromDiscord<Gumber> we were going HAAM in there
16:23:19FromDiscord<dom96> sent a long message, see http://ix.io/3zQG
16:23:19FromDiscord<Gumber> I produced this gem
16:23:37FromDiscord<dom96> oh shit, I'm not in #offtopic oops
16:23:43FromDiscord<Gumber> sent a code paste, see https://play.nim-lang.org/#ix=3zN5
16:23:50FromDiscord<Gumber> oh wait
16:23:52FromDiscord<Gumber> actually that wasn't the good one
16:23:53FromDiscord<Gumber> one sec
16:24:11FromDiscord<Gumber> lol HEREEEE we go...
16:24:19FromDiscord<Gumber> sent a code paste, see https://play.nim-lang.org/#ix=3zQH
16:24:23FromDiscord<Gumber> started that with `COVID-19 isn't real and`
16:24:24FromDiscord<Gumber> lol
16:40:52FromDiscord<zentoad> Question: I'm trying to compile this example for the Nim in Action book:
16:41:08FromDiscord<zentoad> sent a code paste, see https://play.nim-lang.org/#ix=3zQQ
16:41:25FromDiscord<zentoad> but I'm getting this error:↵`multi_threads2.nim(10, 1) Error: undeclared identifier: 'spawn'`
16:43:03FromDiscord<Gumber> yeah
16:43:10FromDiscord<Gumber> don't use threadpool or spawn or any of that stuff in the stdlib
16:43:22FromDiscord<Gumber> at least that's my advice 🙂
16:43:34FromDiscord<Rika> if you want to (like in the example) put `--threads:on` prolly?
16:45:01FromDiscord<zentoad> `nim c -r --threads:on threads\multi_threads2.nim`
16:45:10FromDiscord<zentoad> i'm setting threads on
16:45:23FromDiscord<QueenFuckingAdrielle> In reply to @Gumber "don't use threadpool or": Why not?
16:45:36FromDiscord<QueenFuckingAdrielle> Have anyone used the bitsrange type
16:45:50FromDiscord<Gumber> because the implementations are bad
16:46:00FromDiscord<Gumber> and Nim's changed a lot since those modules were authored
16:46:12FromDiscord<QueenFuckingAdrielle> has no one updated them?
16:46:13FromDiscord<Gumber> like it's memory model (if you use orc/arc) has changed in fundamental ways
16:46:30FromDiscord<Rika> i can compile it
16:46:31FromDiscord<Gumber> I mean I'm sure they're updated and compiled but like optimal implementations of a thread pool / parallelize for implementation
16:46:34FromDiscord<Gumber> they are definitely not
16:46:42FromDiscord<Gumber> and historically they were buggy af
16:46:42FromDiscord<QueenFuckingAdrielle> gotcha
16:46:47FromDiscord<Gumber> so I just stay away with a 10 ft pole
16:46:48FromDiscord<QueenFuckingAdrielle> would you use weave instead?
16:46:56FromDiscord<Gumber> and if I need a threadpool or to schedule work across threads I do it myself
16:47:04FromDiscord<QueenFuckingAdrielle> ah gotcha
16:47:08FromDiscord<Gumber> I dunno what the status of weave is - the last time I tried to use it, it had way too many issues
16:47:13FromDiscord<Gumber> so I wrote my own fiber based job system for my game engine
16:47:22FromDiscord<QueenFuckingAdrielle> i see
16:47:26FromDiscord<Gumber> using boost context (without the boost)
16:47:30FromDiscord<Rika> i dont know dude not everyone has the time to do that
16:47:33FromDiscord<Gumber> for context switching asssembly routines
16:47:38FromDiscord<Gumber> again - it's just my advice lol
16:47:58FromDiscord<Gumber> if you want to deal with Nim's potentially buggy and non-optimal implementations of parallel for and thereadpool be my guess
16:48:13FromDiscord<QueenFuckingAdrielle> i feel like i have a decent amount of success with nim thus far. Its concerning to hear people mention poor implementations and buggy stdlib stuff though. It makes me concerned about my codebase : /
16:48:18FromDiscord<Gumber> it's just I went down that road at one point (and admittedly I knew nowhere near as much about concurrency as I do now)
16:48:22FromDiscord<zentoad> In reply to @Rika "i can compile it": really? huh
16:48:28FromDiscord<Gumber> and I regretted it
16:48:33FromDiscord<Rika> In reply to @QueenFuckingAdrielle "i feel like i": you will get the same reaction on other languages i would say
16:48:34FromDiscord<Gumber> but Nim's changed alot
16:48:38FromDiscord<Gumber> and maybe the situation has improved
16:48:44FromDiscord<Gumber> the one thing I'm pretty confident about is this -
16:48:53FromDiscord<Gumber> Nim's threadpools' scheduler sucks donkey nuts
16:49:05FromDiscord<Gumber> and is going to cause more problems than it's worth
16:49:06FromDiscord<QueenFuckingAdrielle> ive been writing a distributed graph package and ive had a lot of successes
16:49:11FromDiscord<Rika> @zentoad https://media.discordapp.net/attachments/371759389889003532/891003338043301980/unknown.png
16:49:26FromDiscord<QueenFuckingAdrielle> i use ipc+zmq
16:49:48FromDiscord<Gumber> https://nim-lang.org/blog/2021/02/26/multithreading-flavors.html
16:49:50FromDiscord<Gumber> that article might be worth reading
16:50:00FromDiscord<Gumber> if you want more context / understanding of what I'm talking about
16:50:03FromDiscord<Gumber> and that's by the author of Weave
16:50:03FromDiscord<zentoad> In reply to @Rika "<@!459174286104461312>": Thank you. Obviously something really weird is happening
16:50:12FromDiscord<QueenFuckingAdrielle> i still question whether we should have moved to nim. i love the language though.
16:50:13FromDiscord<Rika> nim --version is?
16:50:25FromDiscord<Rika> In reply to @QueenFuckingAdrielle "i still question whether": why?
16:50:44FromDiscord<zentoad> sent a code paste, see https://play.nim-lang.org/#ix=3zQU
16:50:44FromDiscord<Rika> because people are talking about bugs?
16:51:03FromDiscord<Gumber> In reply to @QueenFuckingAdrielle "i still question whether": I mean the concurrency picture in any language like Nim isn't rosy
16:51:12FromDiscord<Gumber> the fact that Nim has a threadpool implementation in its stdlib is pretty crazy if you think about it
16:51:20FromDiscord<Rika> sent a code paste, see https://play.nim-lang.org/#ix=3zQV
16:51:22FromDiscord<zentoad> huh
16:51:30FromDiscord<Gumber> because generally the only languages with those higher level constructs are ones that have memory models unlike Nim
16:51:47FromDiscord<QueenFuckingAdrielle> In reply to @Rika "because people are talking": There are tradeoffs with any language. We rely on gpu computation quite a bit which is another factor.
16:52:47FromDiscord<QueenFuckingAdrielle> Yea we use something like an actor system for the graphs. The overall system is designed for agent-based cognitive architectures.
16:54:08FromDiscord<QueenFuckingAdrielle> The benchmarks we've run have consistently outperformed c/gcc and c++/g++ which has been nice
16:56:55FromDiscord<QueenFuckingAdrielle> When we switched we looked at julia, crystal, and rust. The only one that was a real contender was julia due to easy c integration and ecosystem.
16:57:21FromDiscord<Rika> i woulda thought rust was a good one
16:58:02FromDiscord<QueenFuckingAdrielle> The issue with rust is that is had many of the cons of just switching completely to c/c++ without many advantages.
16:58:09FromDiscord<Rika> lol
16:58:43FromDiscord<QueenFuckingAdrielle> we have more people familiar with c/c++ than rust so it wouldn't have made sense long term
17:01:37FromDiscord<Gumber> I think Nim is a good choice
17:01:49FromDiscord<Gumber> I mean you're never going to have the safety you get with Rust with Nim
17:02:19FromDiscord<Gumber> and you're never going to have the memory model to have the concurrency situation that Golang or Erlang or Pony, etc... has
17:02:22FromDiscord<Rika> well safety isnt what nim is for
17:02:25FromDiscord<Gumber> yeah I agree
17:02:35FromDiscord<Gumber> I mean Nim was designed how Nim was designed for a reason
17:02:48FromDiscord<Rika> In reply to @Gumber "and you're never going": eh why not
17:02:50FromDiscord<Gumber> but I will say this - Andreas Rumpf, the creator of Nim, is one of the smartest people I have ever encountered in my career
17:03:01FromDiscord<Gumber> because Nim allows threads to share memory
17:03:03FromDiscord<Gumber> that's why not
17:03:10FromDiscord<Gumber> erlang and golang etc don't use system threadss
17:03:10FromDiscord<brainproxy> you mean doesn't allow
17:03:15FromDiscord<Gumber> no it does allow
17:03:16FromDiscord<Gumber> lol
17:03:25FromDiscord<Gumber> it doesn't use the actor model or message passing or anything like that
17:03:27FromDiscord<Gumber> and it has a shared heap
17:03:28*federico3 quit (Changing host)
17:03:28*federico3 joined #nim
17:03:38FromDiscord<Gumber> so threads can touch the same memory with Nim unlike in Golang or Pony or Elixir
17:03:43FromDiscord<Gumber> where there's just software (green threads)
17:03:51FromDiscord<brainproxy> ah, I'm thinking of the memory model of e.g. Nim 1.2
17:03:53FromDiscord<QueenFuckingAdrielle> we tend to favorite processes over threads anyways
17:03:54FromDiscord<Gumber> and no system threads involved besides the single one the runtime is executing on
17:03:57FromDiscord<cabboose> Unfortunately it doesnt solve the issues of temporal validation
17:04:00FromDiscord<brainproxy> are you referring to the memory model of 1.4?
17:04:07FromDiscord<Gumber> I'm referring to all of the memory models
17:04:15FromDiscord<Gumber> Nim could always share memory between threads
17:04:19FromDiscord<Gumber> you just had to pass pointers around
17:04:20FromDiscord<Gumber> or use channels
17:04:31FromDiscord<Gumber> it wasn't an easy thing to make safe
17:04:38FromDiscord<Gumber> especialy if you had multiple Nim runtimes executing at once on your machine
17:04:45FromDiscord<Gumber> because they each had their own GC that wasn't aware of the other
17:04:55FromDiscord<Gumber> and if you limited one runtime to have no GC you couldn't use more than half of the stdlib
17:04:56FromDiscord<brainproxy> so in e.g. Nim 1.2, you can't safely read/write re: an object on one thread from a different thread
17:05:01FromDiscord<Gumber> yes you can
17:05:02FromDiscord<brainproxy> you can force it
17:05:03FromDiscord<Gumber> you use channels
17:05:10FromDiscord<brainproxy> channels copy, dude
17:05:11FromDiscord<cabboose> golang does have system threads in the background for io↵(@Gumber)
17:05:15FromDiscord<QueenFuckingAdrielle> Yea idk... i still preferred shared nothing
17:05:20FromDiscord<Gumber> not if you pass a pointer
17:05:25FromDiscord<Gumber> you copy the po inter
17:05:28FromDiscord<Gumber> the underlying memroy isn't copied
17:05:32FromDiscord<Gumber> (edit) "memroy" => "memoy"
17:05:34FromDiscord<cabboose> No brain is right; it’s still not safe
17:05:38FromDiscord<Gumber> and you don't even need channels to do that
17:05:43FromDiscord<cabboose> Unless you use locks
17:05:47FromDiscord<cabboose> or friends
17:05:47FromDiscord<brainproxy> that's right, and do you know what will happen if your program runs long enough?
17:05:50FromDiscord<cabboose> it’ll still be unsafe
17:05:53FromDiscord<Rika> well who said anything about safety?
17:05:55FromDiscord<Gumber> yeah but you cantg schedule work on system threads in userland
17:05:55FromDiscord<brainproxy> and it's not even safe with locks
17:06:08FromDiscord<QueenFuckingAdrielle> In reply to @Rika "well who said anything": yea exactly
17:06:10FromDiscord<Gumber> I never claimed it was asfe
17:06:11FromDiscord<Gumber> lol
17:06:16FromDiscord<Gumber> I said it was never going to be safe as rust
17:06:18FromDiscord<Rika> he said you can do it
17:06:21FromDiscord<Gumber> or as rosy as Golang or Erlang etc
17:06:34FromDiscord<cabboose> you can have relative safety
17:06:34FromDiscord<Gumber> I'm saying Nim's threading and memory model are unsafe
17:06:36FromDiscord<Gumber> by deisgn
17:06:37FromDiscord<brainproxy> you can do it, sure, but you will eventually get a SIGSEGV
17:06:37FromDiscord<Gumber> yes you can
17:06:39FromDiscord<cabboose> wheres the lack of safety using locks?
17:06:41FromDiscord<Rika> i still dont see why it cant be as "rosy" w/e the fuck you mean by that
17:06:51FromDiscord<Gumber> because you can schedcule work in userland on system threads
17:06:55FromDiscord<QueenFuckingAdrielle> i feel like safety is something you give up with a systems language
17:06:58FromDiscord<Gumber> you can't do that in erlang or pony or golang etc
17:07:03FromDiscord<Gumber> the runtime does it for you
17:07:10FromDiscord<Gumber> you tell the runtime I want to make this task concurrent
17:07:20FromDiscord<Gumber> the runtime will schedule the task on a software (green thread)
17:07:25FromDiscord<Gumber> and use the actor model aka message passing
17:07:29FromDiscord<Gumber> to achieve memory safety
17:07:32FromDiscord<Gumber> or relative memory safety
17:07:33FromDiscord<QueenFuckingAdrielle> I know rust has made headway with that, but thats not reason enough to use it
17:07:43FromDiscord<Gumber> in Nim and C and C++ etc
17:07:44FromDiscord<Gumber> you can be like
17:07:46FromDiscord<Gumber> run this on this system thread
17:07:54FromDiscord<Gumber> and memory doesn't have to be passed in messages or whatever
17:07:54FromDiscord<cabboose> Wheres the lack of safety with locks people
17:08:01FromDiscord<Gumber> I never said there was cabboose
17:08:04FromDiscord<brainproxy> so, in this task runner thing a colleague and I are working on (it's for Nim 1.2, which our organization is stuck on for the time being), we use nim-chronos and AsyncChannel, and do immutable message passing
17:08:06FromDiscord<Gumber> it's just you need to employ locks
17:08:12FromDiscord<Gumber> or other synchronization primitives
17:08:18FromDiscord<brainproxy> with that structure, we have notion of worker thread, or worker pool
17:08:20FromDiscord<QueenFuckingAdrielle> actor/agent programming is the easiest way to make use of a large number of processors. itll be hard to convince me otherwise
17:08:20FromDiscord<cabboose> not you m8
17:08:20FromDiscord<Gumber> whereas with golang, pony, erlang etc
17:08:22FromDiscord<cabboose> brainproxy
17:08:22FromDiscord<brainproxy> works pretty well
17:08:22FromDiscord<Gumber> you don't have tod o any of that
17:08:23FromDiscord<Gumber> oh
17:08:25FromDiscord<Gumber> gotcha
17:08:38FromDiscord<Gumber> In reply to @QueenFuckingAdrielle "actor/agent programming is the": yeah and then you deal with all the copies 🙂
17:08:47FromDiscord<QueenFuckingAdrielle> processors are getting cheaper
17:08:52FromDiscord<Gumber> if you know what you're doing with locks and atomics and sync primitives
17:09:09FromDiscord<Gumber> and you have a strong mental model and understand of your system, CPU arch, os and os scheduler
17:09:22FromDiscord<cabboose> yeah status can’t guarantee that
17:09:25FromDiscord<Gumber> and you understand how code and programs are compiled and executed
17:09:27FromDiscord<cabboose> therefore it’s a bad idea
17:09:46FromDiscord<Gumber> then you don't really need to pay for the abstraction of message passing and copying data around everywhere
17:09:56FromDiscord<Gumber> you can just achieve safety by knowing what you're doing
17:10:00FromDiscord<Rika> what are you two arguing about because from what im reading you're not even talking about the same thing
17:10:04FromDiscord<Gumber> we are
17:10:05FromDiscord<QueenFuckingAdrielle> lol
17:10:08FromDiscord<Gumber> it's all related
17:10:13FromDiscord<Rika> its related but not the same
17:10:14FromDiscord<Gumber> I just don't think you grok it all Rika
17:10:22FromDiscord<Gumber> it's connected / tangental
17:10:25FromDiscord<Rika> barely
17:10:28FromDiscord<Gumber> not at al
17:10:29FromDiscord<Gumber> it's like
17:10:29FromDiscord<cabboose> Are you the chap who ported the code over to the task-runner?↵(@brainproxy)
17:10:34FromDiscord<Gumber> you can design a language to focus on certain things
17:10:36FromDiscord<Gumber> like safe concurrency
17:10:38FromDiscord<Gumber> or memory safety
17:10:46FromDiscord<brainproxy> In reply to @cabboose "Are you the chap": which code?
17:10:46FromDiscord<Gumber> (edit) "like safe ... concurrency" added "and easy"
17:10:53FromDiscord<Gumber> but they're all trade offs
17:10:58FromDiscord<cabboose> the AsyncChannels
17:11:00FromDiscord<Gumber> so while we might appear to be talking about very different things
17:11:02FromDiscord<Rika> is that not obvious
17:11:05FromDiscord<Gumber> they're all related because you focus on one and give up another
17:11:08FromDiscord<brainproxy> In reply to @cabboose "the AsyncChannels": yes
17:11:17FromDiscord<Rika> who is talking to who
17:11:18FromDiscord<Gumber> so Nim will neve rhave what Rust has
17:11:22FromDiscord<Rika> is there two conversations or one
17:11:25FromDiscord<Gumber> unless it is redesigned
17:11:30FromDiscord<Gumber> I'm talking to you
17:11:32FromDiscord<Rika> no
17:11:34FromDiscord<QueenFuckingAdrielle> lol
17:11:37FromDiscord<Gumber> Nim will never have what golang is
17:11:38FromDiscord<Rika> whatever
17:11:39FromDiscord<QueenFuckingAdrielle> this is hilarious
17:11:39FromDiscord<Gumber> (edit) "is" => " has"
17:11:40FromDiscord<Rika> i dont care anymore
17:11:42FromDiscord<Gumber> unless it is redesigned
17:11:43FromDiscord<Gumber> okay
17:12:34FromDiscord<cabboose> Well why not do this
17:12:40FromDiscord<cabboose> have a couple thousand threads
17:12:43FromDiscord<cabboose> a fast MPMC lock free
17:12:48FromDiscord<cabboose> and just toss everything at it
17:13:01FromDiscord<cabboose> with memory assurance by cache line invalidation of refs passed through
17:13:08FromDiscord<cabboose> go nuts
17:13:19FromDiscord<Gumber> yup
17:13:21FromDiscord<Gumber> I lke it
17:13:23FromDiscord<Gumber> (edit) "lke" => "like"
17:13:43*SebastianM joined #nim
17:13:54FromDiscord<cabboose> this is a mans man
17:13:57FromDiscord<Gumber> I'll probably just end using though... https://gametechdev.github.io/GTS-GamesTaskScheduler/documentation/html/index.html
17:14:04FromDiscord<Gumber> and not do the work myself
17:14:49FromDiscord<cabboose> Oooo that’s actually a really useful link
17:14:49FromDiscord<cabboose> cheers
17:15:23FromDiscord<Gumber> sure thing bud!
17:15:50FromDiscord<cabboose> I’m in the process of writing a cache invalidation operation for refs passed through loony so hopefully we can get some speedy concurrency going on in nim
17:16:02FromDiscord<Gumber> always nice to have more folks with deeer threading and concurrency knowledge in the community
17:16:08FromDiscord<Gumber> (edit) "deeer" => "deeper"
17:16:10FromDiscord<cabboose> Although we’re kind of just doing it for cps
17:16:11FromDiscord<Gumber> we've lacked that for a LONG time
17:16:30FromDiscord<Gumber> Eh, cps might end up being the future
17:16:39FromDiscord<Gumber> especially since some of the most talented devs in the community are building around it
17:16:45FromDiscord<cabboose> I’ve had to learn it because I’m the gimp in charge of implementing it \:’)
17:16:50FromDiscord<Gumber> so I'm excited to see where it goes - I don't have time to work on it / contribute to it
17:17:01FromDiscord<Gumber> but I'm going to use it if it makes it into mainline
17:17:03FromDiscord<Gumber> for sure
17:17:11FromDiscord<Gumber> and also I'll need it all to support the cpp backend 😉
17:17:28FromDiscord<cabboose> hahahaha thats haxscrampers job
17:17:32FromDiscord<Gumber> xD
17:18:17FromDiscord<Gumber> In reply to @cabboose "I’ve had to learn": I had to learn it all because for years everyone in this community had no idea how the F to write a multithreaded program in Nim that didn't deadlock / sigsev
17:18:26FromDiscord<Gumber> beyond little toy examples of things
17:18:40FromDiscord<Gumber> the only people that knew or understood were like Araq and others who had no time to explain or teach others
17:18:58FromDiscord<Gumber> so that's when I started down the whole quest / journey of actually learning about these things instead of just trying to rely on them without understanding how they worked
17:18:59FromDiscord<cabboose> Disruptek and zevv made me watch herb sutter \:’)
17:19:07FromDiscord<Gumber> I guess I need to watch that too now...
17:19:30FromDiscord<Gumber> any recommendations as far as talks by them go?
17:19:33FromDiscord<Gumber> or reading material?
17:19:47FromDiscord<cabboose> nah I was just oblivious to how caches worked until they got me into it
17:19:56FromDiscord<Rika> how do you guys have so much time
17:19:57FromDiscord<cabboose> dude you already know it hahahaha
17:20:02FromDiscord<Gumber> I'm currently about to start on - https://bigmachine.io/products/the-imposters-handbook/ - but prob not till this weekend
17:20:05FromDiscord<Gumber> ah okay haha
17:20:13FromDiscord<cabboose> I learn quickly if its interesting
17:20:16FromDiscord<Gumber> same
17:20:23FromDiscord<Gumber> I try to find something that is related to it
17:20:23FromDiscord<cabboose> and it’s logical once you can find a good resource that actually digs deep enough
17:20:26FromDiscord<Gumber> yeah
17:20:32FromDiscord<Gumber> like at first everything makes no sense
17:20:39FromDiscord<Gumber> but then you understand one little piece of the puzzle and then something else clicks
17:20:48FromDiscord<Gumber> and it just goes like that until one day you're like HOLLLY SHITTTT
17:20:51FromDiscord<Gumber> I get this stuff now it all makes sense
17:20:53FromDiscord<cabboose> I actually do have a very good book for you
17:20:58FromDiscord<Gumber> kind of like my life recently and ADHD xD
17:21:00FromDiscord<cabboose> Delivered from Distraction
17:21:04FromDiscord<cabboose> it’s by a psychiatrist with ADHD
17:21:07FromDiscord<Gumber> okay googling now
17:21:10FromDiscord<cabboose> yip
17:21:15FromDiscord<Gumber> ah thank you - yeah all the ADHD resources I can use for sure xD
17:21:47FromDiscord<cabboose> very good read definitely
17:22:04FromDiscord<cabboose> also since he has it he kind of designs the book to be distraction friendly hahaha
17:22:17FromDiscord<Gumber> niceeee I'm excited 😄 I can finally read books now
17:22:21FromDiscord<Gumber> and remember things from them
17:22:40FromDiscord<Gumber> I no longer need to buy books with the intention of reading them and then never reading them because my brain won't let me xD
17:22:58FromDiscord<Gumber> and btw I just purchased it and the audible version so I'll start listening to it when I'm driving around or have some spare time. Thank you!
17:23:18FromDiscord<cabboose> It is a life changing diagnosis as an adult for sure \:)
17:23:22FromDiscord<cabboose> hahaha that was quick! I know you’ll enjoy it
17:23:30FromDiscord<cabboose> You’ll have a lot of those “SO TRUE” moments
17:24:02FromDiscord<Gumber> yeah it's just batshit crazy stuff
17:24:06FromDiscord<Gumber> like being a baby again
17:24:14FromDiscord<Gumber> need to learn how to talk to others and stuff
17:24:30FromDiscord<Gumber> it's like being an autist and at the same time not being able to even control your own life
17:24:51FromDiscord<Gumber> I don't pretend to know what being an autist is (because I haven't been diagnosed as one yet) but I def wouldn't be surprised if I was on the spectrum now that I know what I know about ADHD and Autism
17:25:21FromDiscord<Gumber> going to have to get tested for that soon too
17:25:41FromDiscord<cabboose> Atypical brains get isolated quickly; lack of social interactions or appropriate therapy causes further social deficits and accentuates brain development of ASD/ADHD
17:25:48FromDiscord<cabboose> Not like it matters
17:25:53FromDiscord<Rika> call me when you two are done
17:25:55FromDiscord<cabboose> unless its causing you problems
17:25:57FromDiscord<cabboose> why get labelled
17:26:27FromDiscord<Gumber> yeah I agree
17:26:38FromDiscord<Gumber> I just want to know so I can know effectivley how to treat it and what therapy I should pursue
17:26:43FromDiscord<Gumber> I don't care about the label at all
17:26:56FromDiscord<Gumber> for my entire adult life I've been tossed around mental health professionals
17:27:24FromDiscord<Gumber> I was diagnosed as bi-polar type 2, manic depressive, major clinical depression with general anxiety disorder etc
17:27:47FromDiscord<Gumber> I was on and off SSRIs (because I couldn't maintain any routine in my life, much less take medication on a regular cadence) for my entire adult life
17:27:50FromDiscord<cabboose> Yeah I can understand that must have been really difficult wow
17:27:55FromDiscord<Gumber> at times was prescribed benzos and stuff
17:27:59FromDiscord<cabboose> that’s quite hectic
17:28:01FromDiscord<Gumber> and like none of that madee things better - it just altered my brain chemstiry
17:28:10FromDiscord<Gumber> and then when I inveitibly got off the anti-depressants
17:28:23FromDiscord<Gumber> I'd have to deal with the crazy ass side effects you experience when you don't wean yourself off them
17:28:31FromDiscord<Gumber> not to mention the entire time I was self medicating with alcohol and pot
17:28:46FromDiscord<Gumber> so I had the whole stigma and message that I was an alcoholic and drug addict and I needed to gointo AA or ssome other 12 step programs
17:28:52FromDiscord<Gumber> get rid of all my friends
17:28:54FromDiscord<cabboose> Yeah well fair enough
17:28:56FromDiscord<cabboose> if you’re dealing with all that then that makes sense
17:28:58FromDiscord<Gumber> give up the only things that brought me any relief etc
17:28:59FromDiscord<Gumber> yeah
17:29:07FromDiscord<Gumber> I just want to have all the information now
17:29:15FromDiscord<Gumber> because like, for once in my life I have some feeeling of control over things
17:29:32FromDiscord<Gumber> and it's amazing, but like making decisions I've realized requires all the information you can gather and a clear and complete picture of what's happening
17:29:56FromDiscord<Gumber> and since I never unerstood that or had the capacity to make it happen before, it's very important to me now that I do all of this the right way
17:30:04FromDiscord<Gumber> I literally have EVERY symptom of adult ADHD in both disorders
17:30:10FromDiscord<Gumber> so every attention symptom and every hyperactive symptom
17:30:13FromDiscord<Gumber> and all the behavior stuff
17:30:21FromDiscord<cabboose> I just have the attention \:’)
17:30:26FromDiscord<Gumber> so I have the worst possible imaginable ADHD you can have
17:30:29FromDiscord<Gumber> yeah I think my wife is like that too
17:30:37FromDiscord<Gumber> I found out at 18 if you have the hyperactive stuff
17:30:41FromDiscord<cabboose> Surprised they didnt catch it sooner
17:30:52FromDiscord<Gumber> since you can't be a hyper ass 18 year old and get through life
17:30:59FromDiscord<Gumber> you internalize it and it becomes this feeling of restlessness
17:31:06FromDiscord<Gumber> which I always told my shrinks and therapists and stuff was anxiety
17:31:13FromDiscord<Gumber> I just didn't know wtf it was
17:31:24FromDiscord<cabboose> Mmmm; the odds of passing college are significantly reduced with undiagnosed ADHD
17:31:32FromDiscord<Gumber> so like three years ago my therapist suggested maybe I was on the spectrum or had an attention disorder
17:31:36FromDiscord<Gumber> yeah somehow I did it I dunno how
17:31:44FromDiscord<Gumber> somehow I was making six figures by the age of 21 and I don't know how
17:31:45FromDiscord<cabboose> and unfortunately you had GAD too so if a psychiatrist isn’t sharp then they don’t pick it up
17:31:56FromDiscord<Gumber> somehow I managed to keep and maintain and evena dvance my career while abusing the heck out of pot and booze
17:32:12FromDiscord<Gumber> and now I don't even know what my potential is or how life is going to be
17:32:19FromDiscord<Gumber> I have to go back to my first memory and reframe everything
17:32:29FromDiscord<cabboose> Probably more ‘measured’ than anything
17:32:31FromDiscord<Gumber> and deal with all the trauma and greif etc that's associated with that process
17:32:42FromDiscord<Gumber> and have all of the more difficult conversations with family friends loved ones etc, including my wife
17:32:45FromDiscord<cabboose> Well congratulations man
17:32:57FromDiscord<Gumber> because she's only known ADHD zach and not Zach with adderall in his system
17:32:59FromDiscord<cabboose> Oh your wife will enjoy some parts of that book
17:33:04FromDiscord<Gumber> thanks man, It's the best thing that could have ever happened to me
17:33:12FromDiscord<Gumber> I think she will for sure - esp if she has ADD like I think she does
17:33:22FromDiscord<Gumber> will try to get her to listen to it together with me 🙂
17:33:48FromDiscord<cabboose> Well there’s parts where the psych talks about the ADHD partner
17:33:50FromDiscord<Gumber> also glad to not be worrying anymore about constantly dying from drinking eventually
17:33:53FromDiscord<Gumber> ah okay
17:33:59FromDiscord<cabboose> and how to deal with the ADHD
17:34:01FromDiscord<cabboose> etc etc
17:34:02FromDiscord<Gumber> gtocha
17:34:06FromDiscord<cabboose> like he works alot of stories into it
17:34:07FromDiscord<Gumber> yeah we're both learning a lot
17:34:28FromDiscord<Gumber> that's good - cause yeah I know the behavior and stuff can be very aberrant at first
17:34:59FromDiscord<Gumber> like she's been weirded out by all of it, which is very much expected and natural
17:35:16FromDiscord<Gumber> so we've had to have conversations about like - I don't know what's playing out and how it's going to shape up
17:35:30FromDiscord<Gumber> and also for me, like it's all new and I don't understand so when something happens or I notice a change I get excited and think it's going to be this way from now on
17:35:32FromDiscord<Gumber> but I don't know that
17:35:49FromDiscord<cabboose> How long have you been medicated for?
17:35:51FromDiscord<Gumber> so just like, expressing that stuff to her is difficult because she is used to me being this way for so long and now I"m thinking that's not going to be the case anymore
17:36:04FromDiscord<Gumber> I started taking the meds as prescribed in July
17:36:09FromDiscord<cabboose> Because it does “blunt” after a while
17:36:10FromDiscord<cabboose> but not that bad
17:36:12FromDiscord<cabboose> Ah
17:36:14FromDiscord<Gumber> I got re-prescribe them in May but I was so use dto abusing substances
17:36:17FromDiscord<cabboose> you’re still in the peak
17:36:18FromDiscord<Gumber> that like that was my relationship with it at first
17:36:24FromDiscord<Gumber> yeah I'm very early into this
17:36:41FromDiscord<Gumber> and only in the past two weeks did I collect enough self evidence to start forming some of these connections / thoughts
17:36:49FromDiscord<Gumber> so yeah, very new and raw and weird atm
17:36:52FromDiscord<cabboose> Hahaha a fun time ahead partner
17:36:58FromDiscord<Gumber> yeah I'm excited xD
17:37:16FromDiscord<Gumber> and thank you again - it's very nice to talk to people that can relate or even empathize
17:37:29FromDiscord<Gumber> because I know it's something where unelss you've been through it or know someone who has
17:37:34FromDiscord<Gumber> it doesn't make a lot of sense
17:37:50FromDiscord<cabboose> Of course; I’d say anytime but maybe in the offtopic, I do enjoy discussing these things.
17:37:54FromDiscord<Gumber> I thought ADD/ADHD were a joke my entire life because of how overprescribed riddilin was when I was akid, and that was kind of the stigma society attached to it
17:38:04FromDiscord<cabboose> Yeah
17:38:07FromDiscord<Gumber> yeah def - we can wrap this one up - I usually try to talk about it in there 🙂
17:38:19FromDiscord<Gumber> I gotta run to a meeting and stuff though, but good chat and will catch you later!
17:38:23FromDiscord<cabboose> I told my psych I didn’t have it when he asked me about it because I didn’t want that label
17:38:28FromDiscord<cabboose> Cya later mate!
17:45:34ZevvCaboose: how did sutter work out for you?
17:45:57Zevvare you enlightened?
18:34:01FromDiscord<haxscramper> Has anyone used cmake to build nim projects? I'm specifically interested in handing dynamically generated files
18:34:25FromDiscord<haxscramper> There is a `execute_process/file(GLOB/target_sources`, but this does not handle rebuilding properly
19:02:16*SebastianM quit (Quit: Bye)
19:13:10*Gustavo6046 quit (Ping timeout: 240 seconds)
19:26:48FromDiscord<Gumber> ummm
19:26:53FromDiscord<Gumber> there was someone @haxscramper ....
19:26:56FromDiscord<Gumber> let me find them....
19:27:00FromDiscord<Gumber> @nikki
19:28:47FromDiscord<nikki> i've done that yep
19:28:48FromDiscord<Gumber> https://github.com/Kaynato is their github
19:28:52FromDiscord<Gumber> oh hey niki!
19:28:54FromDiscord<Gumber> (edit) "niki!" => "nikki!"
19:29:05FromDiscord<Gumber> good to see you! well in discord anyway 😅
19:29:15FromDiscord<nikki> https://github.com/nikki93/ng-public
19:29:18nrds<R2D299> itHub: 7"<No Description>"
19:29:28FromDiscord<Gumber> I'm Zachary Carter btw
19:29:31FromDiscord<Gumber> my handle changed
19:29:33FromDiscord<nikki> the run.sh + CMakeLists.txt is the build setup
19:29:44FromDiscord<nikki> In reply to @Gumber "I'm Zachary Carter btw": oh hey!!!
19:29:44FromDiscord<Gumber> well a lot is changing for me lol
19:29:51FromDiscord<Gumber> but uh, that's a longer story
19:30:14FromDiscord<Gumber> found out I had undiganosed adult adhd at 36
19:30:31FromDiscord<Gumber> can talk in #offtopic or dms if you're interested but, prob best not for this channel haha - too much of that happened earlier today already xD
19:31:36FromDiscord<Gumber> but I hope life is good with you 🙂 haven't chatted much lately - I know you stay busy!
19:32:23FromDiscord<nikki> ooh i tried to dm you but i think it's friends only and sent a friend req which i think you're not accepting 😅
19:32:40*Gustavo6046 joined #nim
19:33:15FromDiscord<nikki> In reply to @Gumber "but I hope life": it's good! i've been writing a go (my own very specific subset + metaprogramming lol) to c++. inspired by some stuff from nim fosho
19:33:41FromDiscord<nikki> go stdlib has a good parser and typechecker for it which helps headstart and they just added generics which i parse and generate c++ templates
19:33:49FromDiscord<haxscramper> sent a code paste, see https://play.nim-lang.org/#ix=3zRH
19:33:52FromDiscord<Gumber> oh nice
19:33:58FromDiscord<Gumber> are you doing the same memory model?
19:34:04FromDiscord<haxscramper> sent a code paste, see https://play.nim-lang.org/#ix=3zRI
19:34:10FromDiscord<nikki> i was going to keep it explicit or raii
19:34:16FromDiscord<nikki> not really reference and gc heavy
19:34:17FromDiscord<Gumber> I like that
19:34:22FromDiscord<haxscramper> It does have enough integration with qtcreator, though still not ideal wrt. to rebuilding
19:34:23FromDiscord<Gumber> system threads?
19:34:49FromDiscord<Gumber> is this like a C replacement basically then? Kind of like Zig? but more focused on metaprogramming too?
19:35:13FromDiscord<Gumber> because Go strives to be simple like C for the most part I think
19:35:18FromDiscord<Gumber> it just like focuses on the concurrency story mostly
19:35:18FromDiscord<nikki> kinda like zig tbh
19:35:21FromDiscord<Gumber> niceee
19:35:22FromDiscord<Gumber> this sounds really cool
19:35:27FromDiscord<Gumber> please keep me / us updated!
19:35:28FromDiscord<nikki> i like the pure structs + adding methods from outside paradigm
19:35:31FromDiscord<nikki> will do!
19:35:51FromDiscord<nikki> https://gist.github.com/nikki93/37256c81766d4b8806aaa6cf2195b00d?ts=2
19:36:02FromDiscord<nikki> entire current state of compiler and example input and output haha
19:36:43FromDiscord<nikki> In reply to @haxscramper "For now I ended": interesting i see
19:36:58FromDiscord<nikki> yeah i end up always using an external script to run my cmake so have been ok with doing it at that level
19:37:27FromDiscord<nikki> In reply to @Gumber "it just like focuses": yea going to just not do any concurrency initially
19:39:50FromDiscord<nikki> (or probably ever lol unless someone uses it for sth that wants that -- i want to just do gameplay programming against an ecs with it (don't we all in this discord))
19:40:56FromDiscord<nikki> @Gumber add me btw if you wanna chat about this more! (i can't add you 😶)
19:44:34FromDiscord<Gumber> gotcha
19:44:37FromDiscord<Gumber> ah okay
19:44:51FromDiscord<Gumber> did you get the request @nikki ?
19:49:24FromDiscord<Gumber> I tried sending you a message via our existing DM but it didn't work 😦
19:49:34FromDiscord<Gumber> guess we have to be friends
19:58:55FromDiscord<nikki> yup got it!
20:06:35NimEventerNew thread by Trisub: Closures inside loops without capturing loop variable?, see https://forum.nim-lang.org/t/8457
20:45:08FromDiscord<alehander42> In reply to @Gumber "I'm Zachary Carter btw": ah this is you. i still preserve the question as it was just a baffling sequence of reads for me until i connected it 😄
20:49:25*Gustavo6046_ joined #nim
20:50:13*Gustavo6046 quit (Ping timeout: 252 seconds)
20:51:59*Gustavo6046_ is now known as Gustavo6046
20:54:02*Vladar quit (Remote host closed the connection)
20:58:22FromDiscord<Gumber> In reply to @alehander42 "ah this is you.": sorry about that!
20:59:40FromDiscord<alehander42> 😄 no problem
22:02:51FromDiscord<Luisrdevy> Can make a REST-API using Nim Lang?
22:07:11FromDiscord<exelotl> In reply to @Luisrdevy "Can make a REST-API": Yeah, try using jester: https://github.com/dom96/jester
22:07:13nrds<R2D299> itHub: 7"A sinatra-like web framework for Nim."
22:15:02nrds<Prestige99> exelotl: just found out about your game yesterday, it looks great
22:18:33FromDiscord<Gumber> yes it does
22:25:40*Gustavo6046 quit (Ping timeout: 240 seconds)
22:26:02*Gustavo6046 joined #nim
22:44:58FromDiscord<garett> Anyone know of a function in the Nim standard library that will convert a string like "VK_STRUCTURE_TYPE_RenderPassCreateInfo" to "VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO"
22:48:08FromDiscord<garett> I guess this wouldn't make sense in Nim, I will just write it myself 🙂
22:49:24FromDiscord<exelotl> Prestige: thanks! <3
22:50:19*Gustavo6046 quit (Quit: ZNC 1.8.2 - https://znc.in)
22:50:44nrds<Prestige99> Looking forward to grabbing it in the future :)
22:50:59*Gustavo6046 joined #nim
23:00:43*max22- quit (Quit: Leaving)
23:09:40*Gustavo6046 quit (Ping timeout: 240 seconds)
23:11:46FromDiscord<alehander42> capitalizeAscii ? @garett
23:12:00FromDiscord<alehander42> from strutils
23:13:21*Gustavo6046 joined #nim
23:25:14*Gustavo6046 quit (Quit: ZNC 1.8.2 - https://znc.in)
23:25:38*Gustavo6046 joined #nim
23:50:39*Gustavo6046 quit (Remote host closed the connection)
23:51:23*Gustavo6046 joined #nim