<< 13-03-2024 >>

00:11:55FromDiscord<treeform> In reply to @ricky._.spanish "<@107140179025735680> your websocket library": Thanks!
00:37:30*SchweinDeBurg joined #nim
00:57:40*m5zs7k quit (Remote host closed the connection)
01:01:19*jmdaemon quit (Ping timeout: 260 seconds)
01:01:28*m5zs7k joined #nim
01:07:36*jmdaemon joined #nim
02:01:30*jmdaemon quit (Ping timeout: 255 seconds)
02:04:45*SchweinDeBurg quit (Quit: WeeChat 4.3.0-dev)
02:05:11*SchweinDeBurg joined #nim
02:29:57*SchweinDeBurg quit (Quit: WeeChat 4.3.0-dev)
03:46:33FromDiscord<maker_of_mischief> sent a code paste, see https://play.nim-lang.org/#pasty=nKGqZlBGDOzs
03:46:48FromDiscord<Elegantbeef> Nope
03:46:55FromDiscord<maker_of_mischief> (edit) "https://play.nim-lang.org/#pasty=UCHGMYPnQXvD" => "https://play.nim-lang.org/#pasty=yqCwsiReEIZR"
03:46:55FromDiscord<maker_of_mischief> aw
03:46:56FromDiscord<maker_of_mischief> sad
03:47:32FromDiscord<maker_of_mischief> is it possible to get it to work with the Event.Hello stuff
03:47:46FromDiscord<maker_of_mischief> just not with the sub declarations
03:47:51FromDiscord<Elegantbeef> You can make a template to do it
03:48:20FromDiscord<Elegantbeef> `template Hello(_: typedesc[Event]): untyped = TheTypeNameYouDecided`
03:48:23FromDiscord<Elegantbeef> But just why
03:49:50FromDiscord<maker_of_mischief> I just wanted to format my code that way for utilizing discord websocket API's because i thought it was easier to read that way
04:16:29*SchweinDeBurg joined #nim
04:43:28*krux02 quit (Remote host closed the connection)
05:40:19FromDiscord<Phil> In reply to @chronos.vitaqua "Hey <@180601887916163073>, do you": I never used that feature myself, so not familiar with it off the cuff
05:40:27FromDiscord<Phil> Anything more would require me to do some research myself
06:04:01*xet7 quit (Remote host closed the connection)
06:05:10*advesperacit joined #nim
06:08:56*xet7 joined #nim
06:09:52*hexeme quit (Quit: co'o ro do)
06:10:25*hexeme joined #nim
06:10:47*redj quit (Ping timeout: 268 seconds)
06:11:34*redj joined #nim
06:17:24*ntat joined #nim
07:14:00*PMunch joined #nim
07:42:59FromDiscord<Robyn [She/Her]> Fair enough! Thanks anyway!
08:20:29*ntat quit (Quit: Leaving)
08:39:09FromDiscord<pmunch> In reply to @maker_of_mischief "I just wanted to": Typically you'd do stuff like this in modules and sub-modules
08:39:17FromDiscord<pmunch> If I understood what you meant correctly
08:57:25*ntat joined #nim
08:57:47*redj quit (Ping timeout: 256 seconds)
09:20:20*ntat quit (Read error: Connection reset by peer)
09:20:54*ntat joined #nim
09:29:59*ntat quit (Ping timeout: 264 seconds)
09:44:41NimEventerNew thread by scippie: Custom type conversion, see https://forum.nim-lang.org/t/11211
09:56:38*ntat joined #nim
10:11:49*deadmarshal_ quit (Ping timeout: 264 seconds)
10:17:33*deadmarshal_ joined #nim
10:49:01*sintheta joined #nim
10:49:37*anddam_ joined #nim
10:49:42*src quit (Ping timeout: 252 seconds)
10:49:42*anddam quit (Ping timeout: 252 seconds)
11:03:56FromDiscord<luteva> sent a long message, see https://pasty.ee/KmfJzeLIMgee
11:04:15FromDiscord<luteva> (edit) "long message," => "code paste," | "https://pasty.ee/WzHNiIGpMahM" => "https://play.nim-lang.org/#pasty=nHMOrOvJRvpw"
11:05:12FromDiscord<luteva> (edit) "https://play.nim-lang.org/#pasty=eSLHSBfmqHNs" => "https://play.nim-lang.org/#pasty=GKEnXJpKuNyq"
11:06:55FromDiscord<luteva> https://media.discordapp.net/attachments/371759389889003532/1217428673653768192/image.png?ex=6603fdce&is=65f188ce&hm=5ade7ad7f603b5b6cebfc786eb5e8a90abcc6123651a3e51712db15d0efd3f79&
11:07:18FromDiscord<luteva> (edit) "" => "This is the version from the forum, that i am using"
11:12:35FromDiscord<acro.ille.gal> sent a code paste, see https://play.nim-lang.org/#pasty=QXWKhkOZnAFY
11:12:46FromDiscord<acro.ille.gal> try this
11:17:05*ntat quit (Quit: Leaving)
11:49:15PMunch@luteva, wrap that template in a `block:`
11:49:22PMunchThe inside of it
11:52:59FromDiscord<maker_of_mischief> sent a code paste, see https://play.nim-lang.org/#pasty=szQGYArkeGxG
11:54:27FromDiscord<acro.ille.gal> np
12:14:01*redj joined #nim
12:21:13*PMunch_ joined #nim
12:23:41*krux02 joined #nim
12:23:52*PMunch quit (Ping timeout: 268 seconds)
12:26:02*ntat joined #nim
12:26:38*krux02 quit (Client Quit)
13:05:18FromDiscord<ricky._.spanish> How can I make a package like nimterop that is triggered always prior to the build? I want some mind of custom step to pull binaries before the nim build that is loosely defined
13:07:01PMunch_Not quite sure what you mean
13:07:38*PMunch_ is now known as PMunch
13:07:57PMunchNimterop is only run if you import it in your project
13:08:57PMunchSince all code in the top-level of a module is put where the import happens if you simply throw a `static:` block with some commands in the top-level of your module it will be executed during compilation if your module is included.
13:22:38FromDiscord<bosinski2023> @pmunch hi, i saw this recently and thought it might make Futhark even better than it is today ? https://github.com/appleseedlab/superc
13:23:25PMunchHmm, I'm not so sure..
13:23:42PMunchPart of the reason Futhark works so well is that Clang figures out all the messy pre-processor stuff for you
13:24:02PMunchOf course macros are a bit trickier, but those would be impossible to port 1:1 anyways
13:24:43PMunchBut I'd love to be proven wrong, you could even just replace the Opir part of Futhark and spit out compatible JSON to feed into Futhark
13:26:35FromDiscord<bosinski2023> In reply to @PMunch "Of course macros are": no, i won't try that 🙂 since i'm busy with the fastes sorting-algo on the planet 😉 i just thought it might contain smth that could inspire you somehow...
13:26:49FromDiscord<bosinski2023> (edit) "fastes" => "fastest"
13:29:03FromDiscord<bosinski2023> @pmunch and as to the discaussion of yesterday - do it like your neighbours from Finnland - i read they train guerilla - and i think the other neighbour who troubles europe has tried smth. in finnland and failed miserably..#
13:29:15FromDiscord<bosinski2023> (edit) "miserably..#" => "miserably.."
13:29:45FromDiscord<bosinski2023> (edit) "@pmunch and as to the discaussion of yesterday - do it like your neighbours from Finnland - i read they train guerilla - and i think the other neighbour who troubles europe has tried smth. in finnland and failed miserably.. ... " added "anyway : keeping the peace."
13:30:00FromDiscord<bosinski2023> (edit) "discaussion" => "discussion"
13:31:03PMunchPlease try to limit edits, they absolutely spam the IRC channel
13:31:49PMunchBut yeah, the winter war (not sure if that's what it's called in English) against Finland was a big failure from Russia
13:32:40FromDiscord<zumi.dxy> all i know is the Njet Molotoff song that came out of that
13:41:18PMunchThe force imbalance and losses of that war is pretty crazy to look at
13:43:39FromDiscord<MDuardo> Search about Simo Hayha, dude was unreal
13:44:50PMunchThat's the sniper guy right?
13:48:39FromDiscord<MDuardo> Yep
13:59:54*lucasta joined #nim
15:13:49*PMunch quit (Quit: Leaving)
15:17:43*lucasta quit (Quit: Leaving)
15:50:41FromDiscord<kiloneie> sent a long message, see https://pasty.ee/BzZavxLveTOU
15:59:09FromDiscord<user2m> In reply to @kiloneie "**New video:** Nim for": these written tutorials are great!
16:05:35FromDiscord<kiloneie> In reply to @user2m "these written tutorials are": Thanks, i was wondering if anyone reads them at all. I use nimib to write my script in order for me to actually be able to navigate what i have written in a nice way. And well, it also serves as a written tutorial version, win win i guess.
16:11:20FromDiscord<kiloneie> Does anyone know why the thumbnail is not showing for the last 2x videos on patreon ? i did exactly the same as always...
16:21:43FromDiscord<user2m> In reply to @kiloneie "Thanks, i was wondering": No they are fantastic. I wanted to do a nim series on YT to educate on wriitng js in nim, but got bored doing the actual talking / video editing etc. I think I'll use your format (which is ultimately what nimib was made for) and just create these written ttuorials
16:22:38FromDiscord<user2m> In reply to @kiloneie "Thanks, i was wondering": Are you using github pages to host it? I'm guessing so but never looked into how github pages works
16:23:21FromDiscord<kiloneie> Yeh github pages
16:23:40FromDiscord<kiloneie> I don't think having a personal website would benefit me in any way.
16:30:12FromDiscord<kiloneie> Also github pages are really easy to setup, there is info on that on github: https://docs.github.com/en/pages/getting-started-with-github-pages/creating-a-github-pages-site
16:48:13*pusewicz joined #nim
16:50:49*SchweinDeBurg quit (Quit: WeeChat 4.3.0-dev)
16:51:37FromDiscord<tapeda> Oh yeah that's super cool, I wonder how difficult It'd be to add collapsible sections to Nimib.. I peeked at the show source, maybe a template that sets some display:none property is enough?
16:56:36FromDiscord<saint.___.> https://www.youtube.com/watch?v=avPVtGUd-oQ
16:56:41FromDiscord<saint.___.> This is gonna be good!
16:56:53FromDiscord<saint.___.> In reply to @kiloneie "**New video:** Nim for": Nice
17:00:54FromDiscord<kiloneie> In reply to @tapeda "Oh yeah that's super": That's a good idea, might look into it
17:08:24FromDiscord<nnsee> guys, I know I said this like 2 weeks ago, but pasty.ee is actually going down for a couple of hours while i migrate it to a new machine
17:09:30FromDiscord<saint.___.> Cool service
17:55:46FromDiscord<nnsee> should be up now but some pastes from the last week or so might be missing while i migrate those over
17:56:04FromDiscord<nnsee> also the AAAA record might be cached to still point to the old machine
17:56:15FromDiscord<nnsee> ipv4 was behind NAT so it's not an issue there
17:59:20*junaid_ joined #nim
18:18:58*pusewicz1 joined #nim
18:22:11*pusewicz quit (Ping timeout: 264 seconds)
18:46:37*ntat quit (Ping timeout: 264 seconds)
18:49:33*ntat joined #nim
19:25:58*LuxuryMode joined #nim
19:35:46FromDiscord<kiloneie> sent a long message, see https://pasty.ee/wPzyNpBnNcHd
19:38:16FromDiscord<odexine> array index oobs are not exceptions
19:38:40FromDiscord<odexine> as in they can always be found on compile time
19:38:54FromDiscord<odexine> since array indices are stored on the type
19:40:06FromDiscord<kiloneie> okay, thanks
19:48:28NimEventerNew question by Lucius_Will: What are the types of arrays with variable size and accommodating different types in Nim?, see https://stackoverflow.com/questions/78156476/what-are-the-types-of-arrays-with-variable-size-and-accommodating-different-type
19:54:14*ntat quit (Remote host closed the connection)
19:56:23*ntat joined #nim
19:59:30*junaid_ quit (Remote host closed the connection)
20:28:13FromDiscord<ricky._.spanish> In reply to @PMunch "Since all code in": maybe this is a stupid question but is there no more forceful way to for example make it so if its imported at all it will always occur first no matter the order, i.e rewrite the AST prior to compilation such that it will execute always as the first node
20:28:30FromDiscord<ricky._.spanish> (edit) "In reply to @PMunch "Since all code in": maybe this is a stupid question but is there no more forceful way to for example make it so if its imported at all it will always occur first no matter the ... order," added "import"
20:52:45*ntat quit (Quit: Leaving)
20:53:09FromDiscord<morgan> does the official atomics library support the c backend? i see importcpp in the docs
21:04:05FromDiscord<axl_1> yo
21:23:22FromDiscord<Elegantbeef> It does @morgan
21:24:50*def- quit (Quit: -)
21:29:15*def- joined #nim
21:43:10*krux02 joined #nim
21:49:57FromDiscord<morgan> cool
22:43:58NimEventerNew thread by mszs: Debugging with GDB?, see https://forum.nim-lang.org/t/11214
22:48:34*krux02 quit (Remote host closed the connection)
22:59:04*advesperacit quit ()
23:27:07*SchweinDeBurg joined #nim