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