<< 17-01-2021 >>

00:00:44disrupteki dunno, building machines these days is pretty enjoyable.
00:01:03disruptekif you can afford decent hardware, i mean.
00:01:06saemI've always gone that route
00:06:51ForumUpdaterBotNew thread by Tsojtsoj: How to create a new ref object from an immutable (non-ref) object?, see https://forum.nim-lang.org/t/7394
00:12:08FromDiscord<Avatarfighter> disruptek:
00:12:13FromDiscord<Avatarfighter> hey lol
00:12:29FromDiscord<Avatarfighter> ( ͡° ͜ʖ ͡°)
00:14:31*hmmm quit (Quit: WeeChat 3.0)
00:17:05*tane quit (Quit: Leaving)
00:44:07*Tanger joined #nim
00:47:31disruptekif that wasn't produced by cps, i don't care.
01:21:48*krux02 quit (Remote host closed the connection)
01:30:48TangerIs there a standard way to make http requests using the JS backend?
01:30:57disrupteknope.
01:32:18Tanger:(
01:32:26disruptek!pull jsfetch
01:32:27disbothttps://github.com/nim-lang/Nim/pull/12531 -- 3Add module jsfetch 7& 1 more...
01:36:27TangerThanks for the link. I have karax installed as a requirement
01:36:34TangerSo I'll just use kajax
01:59:19*NimBot joined #nim
02:08:31*vicfred joined #nim
02:38:45*vicfred quit (Remote host closed the connection)
02:41:25*vicfred joined #nim
02:41:45*vicfred quit (Remote host closed the connection)
02:43:40*vicfred joined #nim
02:45:28*xet7 quit (Quit: Leaving)
02:59:43*leorize quit (Ping timeout: 240 seconds)
03:04:53*leorize joined #nim
03:04:56*vicfred quit (Quit: Leaving)
03:08:36*lritter quit (Ping timeout: 256 seconds)
03:09:01*lritter joined #nim
03:20:46FromDiscord<Avatarfighter> lmao disruptek
03:27:12*^Q-Master^ joined #nim
03:29:15*wasted_youth quit (Quit: Leaving)
03:30:14*casaca quit (Ping timeout: 256 seconds)
03:30:14*Q-Master quit (Read error: Connection reset by peer)
03:33:12ForumUpdaterBotNew thread by AllenDang: How to convert const char * to string?, see https://forum.nim-lang.org/t/7395
03:43:39*a_b_m quit (Quit: Leaving)
03:48:09saemSo... no nim today.... bummer
04:13:36FromDiscord<Varriount> disruptek: At some point someone's going to have to fork your projects, if only so that they can have their names changed for use in a professional setting.
04:13:48disruptekhow sad for you.
04:14:10FromDiscord<Varriount> I know. It's soooo much effort pushing the "fork" button.
04:14:42disrupteknah, i pity the fool that has to work for someone who gives a fuck.
04:15:04FromDiscord<Varriount> I don't, but the management probably does.
04:15:36disruptekthe idea that a bunch of managers are sitting around a table somewhere talking about my balls is hilarious.
04:15:44disrupteki mean, it wouldn't be the first time, but still...
04:16:07miprijust wait for a c*ckr*achdb post on HN and reply to agree that the database is very reasonably named, and incidentally the Nim community has some testing frameworks that are very reasonably named, too
04:18:00FromDiscord<exelotl> love2d community had a long running tradition of giving their libraries risqué names
04:18:19*lritter quit (Ping timeout: 246 seconds)
04:18:41disruptekpeople need to get bent.
04:18:51disruptekmy project name generator, that is.
04:19:14FromDiscord<exelotl> Such a HUMP (Helper Utilities for Massive Progression) and probably the most infamous, HardonCollider
04:19:20*spiderstew joined #nim
04:19:25FromDiscord<ElegantBeef> That's a reference to dawkins
04:19:38*spiderstew_ quit (Ping timeout: 246 seconds)
04:19:42FromDiscord<exelotl> Aha
04:19:46FromDiscord<ElegantBeef> He published one of his books with the typo "Hardon collider"
04:20:05FromDiscord<exelotl> That's amazing lmao
04:20:07disruptekreminds me of a girl from high school.
04:20:21FromDiscord<apollo> Ok.
04:20:24FromDiscord<ElegantBeef> Hardon collider sounds more like a boys name
04:20:48disruptek!repo disruptek/bent
04:20:49disbotno results 😢
04:20:52disruptekhmm.
04:21:06disruptekget bent in private, i guess.
04:21:17disrupteker, /is/ private.
04:22:21FromDiscord<exelotl> Nowadays I think the suggestive names are less common in the community, especially cause they want love2d to be something people of all ages can use in classes and game jams
04:22:45FromDiscord<exelotl> I might be wrong though, I haven't checked for a while xD
05:05:15*waleee-cl quit (Quit: Connection closed for inactivity)
05:19:48FromDiscord<Rika> hardon just makes me think harman kardon instead of the lewd meaning
05:29:10*casaca joined #nim
05:34:50saemcan confirm that disruptek's balls would be a subject of conversation, but a fork to deal with the name is fine. 🤷‍♂️
05:39:36FromDiscord<ElegantBeef> No sense of humour
05:42:22saemNot about that sort of thing, it's not worth the headaches.
05:43:19disruptektestes -> balls.
05:43:41disruptekit was a huge pita, and not for the first time.
05:43:52saemYeah, renames aren't easy
05:45:52FromDiscord<Rika> whyd ya rename it
05:45:57FromDiscord<Rika> testes was perfectly fine imo
05:46:21disruptekthe powers that He said so.
05:46:47disruptekwhat's annoying is, i have testes in my hands.
05:47:07disrupteki mean, every time i go to test my code, there they be.
05:47:33disruptekit's hard to get my fingers used to the new balls.
05:47:47disruptekstill feels alien, you know what i mean, rika.
05:48:02FromDiscord<Rika> i do yeah
05:48:51disruptekcps is almost too messy to make work.
05:49:00disrupteki said /almost/ aight.
05:54:40*Gustavo6046 quit (Remote host closed the connection)
05:55:49*Gustavo6046 joined #nim
06:20:12*kwilczynski quit (Ping timeout: 258 seconds)
06:20:32*sirn quit (Ping timeout: 260 seconds)
06:20:56*sirn joined #nim
06:22:13*kwilczynski joined #nim
06:36:25saemdoooom!
06:44:44*crem quit (Ping timeout: 258 seconds)
07:17:12*habamax joined #nim
07:26:18Zevvdisruptek
07:26:27disruptekwut
07:26:30Zevvgo to bed
07:26:39disruptekoh shit.
07:26:53disruptekdude, cps... it's a mess.
07:26:58Zevvtell me about it
07:27:07disruptekyou can see where i am, though; i'll push this garbage.
07:29:53disruptekthe problem is that sometimes we need to goto (break or continue, say) and we need to know that we are in an uncolored, uncps tree when we do so.
07:30:18Zevvright
07:35:51Zevvaw you're going in deep
07:36:21disruptekthis is actually the best it has looked tonight.
07:36:39ZevvI don't remember: did my initial stuff do something like this? I remember having a recursive check to see if a block needs to be transformed
07:36:44Zevvbut that never worked I thin
07:37:10disruptekit has been rewritten several times.
07:37:16disruptekluckily, it's getting simpler.
07:37:24Zevvthat is nice
07:38:25disruptekturns out we hardly care /what/ nodes we are looking at.
07:38:47Zevvno surprise
07:39:22disruptekthe other problem is that we aren't really using scopes yet.
07:39:51Zevvin what way are we not using scopes yet
07:40:17disrupteklike, almost every way.
07:40:50disruptekeverything is on the env, basically.
07:41:02Zevvthat has been my point tons of time
07:41:03Zevvs
07:41:17Zevvwe need an env per scope, with only the stuff on there that matters
07:41:25Zevvalso it kills performance if we lift stuff that we don't need to
07:41:30disruptekwe need to reach the finish line on this thing so we're in a position to look back at the starting line and make a new path.
07:41:44Zevvphilosopher speaking
07:41:59disruptekthe lifting isn't a big deal, really, but we do a lot of compile-time labor that is wasted.
07:42:16Zevvsure, but we need proper logic to know what to split and lift, and what not
07:42:32Zevvso any scope that does not do anything cpsish in any of is sub scopes, we leave alone
07:43:01Zevvthat's a good start, although it can be better
07:43:35disruptekwe don't even create those scopes. in fact, we don't even create envs.
07:43:42Zevvright
07:43:54disrupteki mean, today, we don't.
07:44:19Zevvi know
07:44:29Zevvand it's not strictly required
07:44:59Zevvi guess it's ok to have just one per proc, but we should only put on it what needs to go on it, and no more
07:45:14Zevvit'll kill optimizations and require slower addressing modes
07:47:09disruptekwhy do we need one per each proc?
07:47:48Zevvnot need
07:47:54Zevvthat's what we have now, right?
07:48:00Zevvyou cps a proc, that creates one env type
07:48:11disruptekoh, for inputs, yes.
07:48:29disruptekbut it's not really about procs, i don't think. i think it's about return types.
07:48:37Zevvhmm
08:01:00*habamax_ joined #nim
08:02:56*mal``` joined #nim
08:03:22*mal`` quit (Ping timeout: 256 seconds)
08:03:30*dom96 quit (Ping timeout: 256 seconds)
08:04:04*habamax quit (Ping timeout: 256 seconds)
08:04:04*Cthalupa quit (Ping timeout: 256 seconds)
08:04:15*dom96 joined #nim
08:04:16*dom96 quit (Changing host)
08:04:16*dom96 joined #nim
08:04:20*Cthalupa joined #nim
08:06:59*hoijui joined #nim
08:30:15*hoijui quit (Remote host closed the connection)
09:00:12*Zambyte[m] quit (Quit: Idle for 30+ days)
09:00:20*neceve quit (Quit: Idle for 30+ days)
09:00:20*ee7[m] quit (Quit: Idle for 30+ days)
09:00:20*swamptest1[m] quit (Quit: Idle for 30+ days)
09:00:20*nikki93[m] quit (Quit: Idle for 30+ days)
09:00:21*slackytude[m] quit (Quit: Idle for 30+ days)
09:00:21*skrylar[m] quit (Quit: Idle for 30+ days)
09:00:21*rridley[m] quit (Quit: Idle for 30+ days)
09:00:21*sendell quit (Quit: Idle for 30+ days)
09:00:21*j4nvkvc quit (Quit: Idle for 30+ days)
09:00:23*guelosk[m] quit (Quit: Idle for 30+ days)
09:06:51*crem joined #nim
09:09:46*muffindrake joined #nim
09:21:14*Vladar joined #nim
09:32:35*hnOsmium0001 quit (Quit: Connection closed for inactivity)
09:42:45*lbart quit (Ping timeout: 240 seconds)
09:44:04*lbart joined #nim
09:44:04*lbart quit (Changing host)
09:44:04*lbart joined #nim
10:02:52Zevvwhy is my "hmm" still floating here. that looks silly
10:03:24FromDiscord<Rika> hmm
10:06:14FromDiscord<ElegantBeef> mmh
10:12:21FromDiscord<Rika> Now that’s just lewd
10:20:18*krux02 joined #nim
10:34:51FromDiscord<mratsim> Actually you can make it magic: https://github.com/jcosborn/cudanim
10:42:08FromDiscord<mratsim> thanks
10:43:06FromDiscord<mratsim> Sure
10:50:11FromDiscord<mratsim> Make it return a dummy bool
10:50:28*himup[m] joined #nim
10:50:33FromDiscord<dom96> Words to live by: https://twitter.com/ashevat/status/1350548449364623361?s=21
10:52:00FromDiscord<mratsim> Actually threads are a simple way to solve the multiple listener problem, it just doesn't scale like an event queue
11:06:47*wasted_youth joined #nim
11:18:00FromDiscord<lqdev> @mratsim i already switched to weave, gotta say it works pretty well
11:19:45FromDiscord<mratsim> Thanks, though Weave does the same as threadpool iirc, I also return void
11:20:22FromDiscord<lqdev> well i needed to return a bool as a success code anyway sooo
11:20:46FromDiscord<lqdev> guess it didn't matter that much eh
11:20:59FromDiscord<lqdev> also, how safe is weave to use with std/channels?
11:22:12FromDiscord<mratsim> not tested but Weave should work with all threadsafe data structures
11:22:48FromDiscord<mratsim> std/channel doesn't use ref/string/seq so it should have no problem
11:22:56FromDiscord<mratsim> (edit) "no" => "a"
11:24:12FromDiscord<lqdev> ah cool
11:24:17FromDiscord<mratsim> and for ref/seq/string, I expect ARC works but I didn't test. Weave is sinking everything, not copying so it shouldn't trigger GC refcount across threads (which is the main issue with the GC)
11:25:00FromDiscord<mratsim> (edit) std/channel doesn't use ref/string/seq so it shouldn't have a problem
11:51:54FromDiscord<lqdev> @mratsim if you have a bit of time, would you mind taking a peek at my code to see if there's anything obviously wrong sticking out? i'm still quite new to this multithreading stuff so any advice would help
11:51:59FromDiscord<lqdev> here's the code: https://github.com/liquidev/pan/blob/master/src/pan.nim#L277
11:58:10*liblq-dev joined #nim
11:58:16*liblq-dev quit (Client Quit)
11:59:06FromDiscord<lqdev> Zevv: any way i can customize how tokens are displayed in -d:npegTrace? it works well for strings but my tokens have some extra metadata that makes the trace completely fall apart
11:59:50FromDiscord<lqdev> like this.
11:59:55FromDiscord<lqdev> sent a code paste, see https://play.nim-lang.org/#ix=2MkG
12:00:31*xet7 joined #nim
12:00:37FromDiscord<lqdev> kinda looks like `repr` output to me
12:03:18FromDiscord<lqdev> yeah it totally uses repr
12:03:24FromDiscord<lqdev> just peeked at the source code
12:04:08FromDiscord<lqdev> it would be nice if i could override it with my own repr though
12:04:25FromDiscord<lqdev> right now it always binds to system.repr due to how generics work
12:06:55FromDiscord<lqdev> gonna make a PR
12:13:41*xet7 quit (Quit: Leaving)
12:41:05FromDiscord<mratsim> looking
12:42:57FromDiscord<mratsim> https://github.com/liquidev/pan/blob/master/src/pan.nim#L322-L323 this should be a doAssert @lqdev otherwise it won't sync with assertions:off (unless it's expected?).
12:43:14FromDiscord<lqdev> oh right
12:44:37FromDiscord<mratsim> are frames independent from each other? https://github.com/liquidev/pan/blob/master/src/pan.nim#L365-L368
12:44:46FromDiscord<mratsim> because in reserveFrame you are syncing
12:44:59FromDiscord<mratsim> so each frame will be done one after the other
12:45:24FromDiscord<mratsim> also you can use FlowEvent to attach a writePNG after the syncJob is done
12:45:38FromDiscord<mratsim> to represent producer->consumer dependencies
12:46:12FromDiscord<lqdev> so the idea is that the main thread produces frames one after the other, and then all the jobs write the frames to PNGs
12:46:21FromDiscord<mratsim> example: https://github.com/mratsim/weave/blob/master/weave/parallel_tasks.nim#L353-L363
12:46:29FromDiscord<mratsim> (edit) https://github.com/liquidev/pan/blob/master/src/pan.nim#L322-L323 this should be a doAssert @lqdev otherwise it won't sync with assertions:off (unless it's expected?).
12:46:30*FromDiscord quit (Remote host closed the connection)
12:46:44*FromDiscord joined #nim
12:47:21FromDiscord<lqdev> does weave have a better way of doing this than my convoluted syncJob-channel-thing mess?
12:47:42FromDiscord<lqdev> basically i need it to block if the amount of jobs exceeds a given threshold
12:48:07FromDiscord<mratsim> here you are blocking everytime: https://github.com/liquidev/pan/blob/master/src/pan.nim#L341
12:48:37FromDiscord<mratsim> that's the way to do it, that's called backpressure 😉
12:48:51FromDiscord<lqdev> it's not every time though, if it finds a frame that's not busy then it returns that and doesn't block
12:51:09FromDiscord<mratsim> You have a couple of examples of multithreaded arch here: https://github.com/mratsim/blocksmith/blob/master/hotdb.md#implementation↵https://github.com/mratsim/blocksmith/blob/master/quarantine.md#api
12:52:00FromDiscord<mratsim> Basically you have services/actors. They receive a message from a channel, and process it.
12:52:22FromDiscord<mratsim> in the message there is a "return mailbox" (a Flowvar here) to notify that processing is done
12:52:36FromDiscord<mratsim> and you have an event loop that waits for any message to be done
12:53:20FromDiscord<mratsim> that's how Actors (named service + anonymous channel) or CSP / Communicating sequential process (anonymous service + named channel) work.
12:53:26FromDiscord<mratsim> It just has a lot of syntax sugar.
12:57:45FromDiscord<mratsim> alternatively, if you have your own threads, for example one for UI, one for animation, one for physics, one for rendering and want to use Weave as a threadpool, you can run Weave in "back ground service mode": https://github.com/mratsim/weave#foreign-thread--background-service-experimental
12:58:48FromDiscord<lqdev> in my case the render process is separate and is part of the pan CLI, you do `pan animation.lua render` and it just fires away without any UI
12:58:58FromDiscord<lqdev> only extra thing i want though is progress reporting
12:59:09FromDiscord<lqdev> which is handled by the main thread
12:59:27FromDiscord<mratsim> you have an example here: https://github.com/mratsim/weave/blob/e5a3701d59ec17c1c71a22a299ab526777054b44/tests/test_background_jobs.nim
12:59:33FromDiscord<lqdev> the main thread also handles rendering frames because a frame depends on the state of the previous one
13:00:14FromDiscord<lqdev> but writing PNGs, which is a lengthy process, can be parallelized because once i actually have the bitmap it's just a matter of calling writePNG with the right parameters and waiting
13:00:38FromDiscord<mratsim> I see.
13:00:57FromDiscord<mratsim> isn't libpng parallel already though?
13:01:45FromDiscord<lqdev> i'm not using libpng, i'm using stb_image_write
13:02:04FromDiscord<lqdev> i could probably switch though
13:02:06FromDiscord<mratsim> I do think Weave is overkill if it's just for this, but if you have parallel computation in other part of your stack it makes sense
13:03:18FromDiscord<lqdev> well i did have a bit of trouble using std/threadpool due to seq[FlowVar[bool]] not being convertible to a openArray[FlowVarBase]…
13:04:11FromDiscord<lqdev> but then that was my older version where i just haphazardly rendered frames without caring about filling RAM
13:04:15FromDiscord<mratsim> Type-erasure
13:04:30FromDiscord<mratsim> I think we need a better type-erasure / vtable stories for pooling and scheduler
13:19:35*abm joined #nim
13:30:41*l1x joined #nim
13:34:14Zevvlqdev: wow mixin
13:34:20ZevvI never used that.
13:34:40Zevvmerged. you want a release for that?
13:35:27Zevvdisruptek: my next toy project is async uart I/O and led blinking on an atmel avr.
13:35:35disruptekno.
13:35:39Zevvon the first try I blew up the compiler, see latest branch
13:35:45Zevvyes.
13:36:25disruptekremember the project to read network traffic from across the room by measuring das blinkenlights?
13:36:35Zevvno I do not
13:36:47disruptekahh, internet history.
13:37:02ZevvI have a selective memoryu
13:37:15disrupteksomeone found that the fidelity of the SND/RCV leds was high enough to reconstruct traffic.
13:37:19FromDiscord<mratsim> @Zevv, I often need mixin with generics, to combat generic sandwiches
13:37:19Zevvhehe
13:37:37disruptekit should have been called /mayo/ instead.
13:37:40Zevvdisruptek: anyway, this is a bit of a nonsense project, but'll be a nice excersize in minimalism
13:38:05disruptekcps?
13:38:10Zevvon the atmel
13:38:29disruptekyou're in a race with leorize.
13:38:41Zevvyou know I'm not
13:38:47disrupteki think fighter dropped out for want of success after "a couple hours."
13:39:10Zevvwell if I didn't run into cps or compiler bugs, it would have been done this morning
13:39:17disruptekrude.
13:39:19Zevvit should e 'couple of hours anyway
13:39:30Zevvtimer and uart irq, event queue, and some cps glue
13:39:40disrupteki don't see any new PRs, so it must have been a compiler bug.
13:39:54ZevvI just pushed a branch with a bug
13:40:04ZevvI have no clue how to debug, let alone fix it
13:41:16disruptekthis is the while-with-local-var compiler crash in taste.
13:41:24Zevvah right
13:42:10*Tanger quit (Remote host closed the connection)
13:42:20disrupteki hate to say it, but we might need to `c = default(c)` at the top of our loops.
13:42:37Zevvoh
13:43:07disrupteknot that this will solve the problem; it's just a sad reality.
13:43:38Zevvcan't we blame clyybber?
13:43:45disrupteknot this time.
13:43:54disruptekbut, we can blame him for the crash, at least.
13:43:59Zevvlet's
13:44:03disruptekkk
13:44:17disruptek#16719
13:44:18disbothttps://github.com/nim-lang/Nim/issues/16719 -- 3CPS demonstrates SEGV in compiler during simple transform
13:44:42disruptekclyybber you slug, get your claws moving.
13:45:02Zevvbut we can't get the compiler to crash by feeding it the transformed code directly, I bet?
13:45:09disruptekof course not.
13:45:28ZevvAraq promised he'd prioritize compiler bugs stagnating CPS
13:46:40FromDiscord<lqdev> Zevv: no need for a release, already hacked 0.24.0 in my .nimble/pkgs to have that change
13:46:53Zevvk
13:46:54disruptekhow fun for you.
13:51:37Zevvlqdev: ha, I did it anyway
13:51:47FromDiscord<lqdev> cool.
13:51:57disruptekwhen i managed to hit an infinite loop in nimble, the CIs cloned my balls 130,000 times.
13:52:28Zevvyou knwo what the problem is with your balls
13:52:40disruptektoo many people want them.
13:52:54Zevvif you would just do ⬤ with some colors
13:52:56Zevvit would be fine
13:53:08Zevvbut you insist on using all these silly unicode chars that a lot of people have not availabel
13:53:16Zevvfonts should be shapes. colors come from elsewhere
13:53:52disruptekthe major source of grief in the codegen is your --dryBalls flag.
13:54:01ZevvI have debian unstable latest gratest with a very mainstream chrome-terminal. And no, there are no balls and cutleries in there
13:54:22Zevvwhy balls though, and not just fix teste?
13:54:25disruptekbut, pulls to my balls are entertained.
13:54:54disruptekif you don't have emojis, it's out of choice.
13:55:25disruptek!repo noto emoji
13:55:27disbothttps://github.com/googlefonts/noto-emoji -- 9noto-emoji: 11Noto Emoji fonts 15 1911⭐ 287🍴 7& 29 more...
13:55:34Zevvyeah nice for you
13:55:41ZevvI don't have that in my default os install
13:55:52Zevvoh I do
13:56:44disruptekyou're right, though. we could fix it to use a colored unicode char if you want.
13:57:08Zevvdoes this work for your average used with a default mainstream linux or windows install?
13:57:23disruptekyou're the only person who complains.
13:57:31ZevvI might be the only one /using/ t
13:57:51disruptekyou and 261,514 other clones.
13:57:58Zevvtalk talk
13:58:47disrupteki wonder how much data that infinite loop moved.
13:59:28disruptekalso, how do i move issues to discussions on github? i can no longer find the ui element to do this.
14:08:40*avass quit (Remote host closed the connection)
14:49:18FromDiscord<juliuskiesian> why does nimble ignore compiler opts? like in `nimble build --outdir:bin something`
15:07:53FromDiscord<faith_james> Is there a discord lib for nim
15:08:19FromDiscord<haxscramper> !repo dimscord
15:08:19disbothttps://github.com/krisppurg/dimscord -- 9dimscord: 11A Discord Bot & REST Library for Nim. 15 53⭐ 8🍴 7& 3 more...
15:09:15FromDiscord<haxscramper> IIRC `nimble build` specifically handles output directory internally
15:10:30FromDiscord<haxscramper> E.g. other flags should work, but the output directory is overridden by nimble. Though I might be wrong.
15:13:13FromDiscord<juliuskiesian> thanks.
15:16:16FromDiscord<dom96> @juliuskiesian you can also override by specifying `binDir` in your nimble file: https://github.com/nim-lang/nimble#optional
15:16:25dom96Prestige, I juiced up Stardust a bit :D
15:16:41dom96Still plenty that can be done, but hopefully it's better now
15:20:28FromDiscord<juliuskiesian> thanks, that's what i ended up doing.
15:20:45*tane joined #nim
15:26:53*waleee-cl joined #nim
15:32:57Oddmongerin times module, is there a quick function (without a lot of conversions) like the rdtsc , to get a time basis ?
15:33:37leorizemonotimes.getMonoTime() would be what you want I suppose
15:34:16Oddmongerah nice ! Thank you
15:55:25*Gustavo6046 quit (Ping timeout: 264 seconds)
16:00:23*JochenSchroeder[ quit (Quit: Idle for 30+ days)
16:04:55*dom96 quit (Ping timeout: 256 seconds)
16:05:10*Vladar quit (Ping timeout: 256 seconds)
16:05:35*Vladar joined #nim
16:05:44*FromDiscord quit (Ping timeout: 256 seconds)
16:05:44*Cthalupa quit (Ping timeout: 256 seconds)
16:06:00*FromDiscord joined #nim
16:06:00*Cthalupa joined #nim
16:07:45*dom96 joined #nim
16:07:45*dom96 quit (Changing host)
16:07:45*dom96 joined #nim
16:30:19*habamax_ quit (Quit: leaving)
16:53:11saembumbling and mumbling
17:11:34disruptekit's not gone well.
17:12:07saemcomputer was getting sad, mumble and pulse were fighting
17:12:12saemhopefully that's stopped now
17:12:47disruptekoh yeah
17:15:57disruptekdown not across
17:16:14saemI thought more down than across?
17:28:27*Gustavo6046 joined #nim
17:31:21*Gustavo6046 quit (Read error: Connection reset by peer)
17:54:01*Gustavo6046 joined #nim
18:03:02disruptekthis just might not be the day to fix splits.
18:04:20disruptekyeah, scopes have to go down AND across.
18:04:57FromDiscord<Avatarfighter> disruptek : how are your balls
18:05:06disruptekreally, really damp.
18:05:13disruptekbeen shoveling all morning.
18:05:31FromDiscord<Avatarfighter> rip dude
18:05:40FromDiscord<Avatarfighter> it snowed where you’re at ?
18:06:09disrupteklet me put it to you like this: it's so bad here that i had to modify my weather program to show accumulation lest my house get crushed.
18:06:20disruptekand by house, i mean trailer.
18:06:37FromDiscord<Avatarfighter> i wish i saw a cloud
18:08:33FromDiscord<Avatarfighter> disruptek i had to do a double take on what you said but that was way funnier to me than it should be
18:08:58disruptekyou might be high.
18:09:57FromDiscord<Avatarfighter> funny enough
18:10:06FromDiscord<Avatarfighter> you aren’t wrong
18:10:09disrupteksaem: lemme pat dry and then i'm down to mumble if you're still around.
18:10:16saemcool!
18:10:37disruptekneed to get my mic first.
18:12:11disruptek"warning: The VAD has been replaced by a hack pending a complete rewrite"
18:12:12Prestigedom96: Cool! I'll have to check it out soon
18:12:16disruptekthis man hacks.
18:12:25disruptekthat message has been in there for like 4 years.
18:14:59disruptekaight lil birdies, come will me
18:15:03disrupteki'll feed ya
18:15:25disruptekfighter show me some cps and i'll tell you why you're dumb.
18:16:43FromDiscord<Avatarfighter> bro i dont want to
18:16:58FromDiscord<Avatarfighter> Im restarting what i tried doing
18:17:17Prestigedom96: looking better :) hope to see more in the future
18:17:19FromDiscord<Avatarfighter> a really dumbed down example of it
18:32:58*natrys joined #nim
18:35:55*hnOsmium0001 joined #nim
18:36:05dom96Prestige, yay, thanks for taking a look :)
18:55:47leorizewhy doesn't concepts just work :(
18:56:10FromDiscord<lqdev> this tbh
18:58:06FromDiscord<zetashift> from what I read on RFCs/issues it's a hard thing to get right
19:00:21disruptekleorize: we're talking about versioning apis on mumble.
19:00:58leorizecan't join now, I'm trying to make the event queue work
19:01:07leorizeplease let me know if there's any cool ideas though
19:01:35*a_chou joined #nim
19:01:38disruptekprobably not, only saem is here.
19:02:03saemsavage :D
19:09:22leorizemy eventqueue compiled \o/
19:10:01disruptekw00t
19:10:03disrupteklet's see
19:10:30*a_chou quit (Quit: a_chou)
19:10:43leorizeI only got it to compile
19:10:51leorizewhether it works or not is an another matter
19:11:08leorizethis is probably the most inefficient queuing system out there :P
19:11:39*vicfred joined #nim
19:22:34FromDiscord<enimatek> is there maybe some build available somewhere for https://www.haiku-os.org/ ?
19:23:47*NimBot joined #nim
19:23:53leorizethere is one in HaikuPorts but I haven't updated it for awhile
19:24:21leorizelast time I tried there were bugs with regards to threadvar
19:26:02leorizeyou can try this PR with the current Haiku nightly if you're interested: https://github.com/haikuports/haikuports/pull/4845/
19:26:02disbotdev-lang/nim: update to 1.2.0
19:29:13*NimBot joined #nim
19:29:59disruptek!repo hastyscribe
19:30:00disbothttps://github.com/h3rald/hastyscribe -- 9hastyscribe: 11Self-contained markdown compiler generating self-contained HTML documents 15 163⭐ 9🍴
19:32:03FromDiscord<enimatek> ah ok, thanks. its not for now, but i was just wondering, im still busy with other hobby projects but i thought to learn about using c/c++ headers in nim it would be an idea to do this on haiku and use their gui, i've always been a silent fan of beos and still have their beos 5 boxed copy on my shelf that i bought when i was a teenager 😛 so it would make full circle
19:35:44*NimBot joined #nim
19:39:59*l1x quit (Quit: Connection closed for inactivity)
19:40:54*NimBot joined #nim
19:44:27leorizedisruptek: uh, how do I deal with cps-ifyed proc that can return a value?
19:45:30leorizeI don't remember seeing value returns in your cps tests
19:47:07leorizeor do I need one that won't return a value to start with?
19:52:52*lritter joined #nim
19:53:45leorizedisruptek: ok cps is erroring on me, wanna take a look?
19:53:55disruptekyeah.
19:54:01disruptekyou haven't pushed anything in two days.
19:56:48leorize[m]my computer panicked when I try to push this thing
19:57:10leorize[m]I know the code is bad but it shouldn't be that terrible
19:59:23*leorize quit (Ping timeout: 240 seconds)
20:00:44leorize[m]and now iwd gives up on me
20:12:25*leorize joined #nim
20:12:51disrupteklol
20:13:02disruptekthe wifi daemon?
20:13:06saemdid Cthulhu strike?
20:13:48leorizedisruptek: yes, and now my password manager hates me and won't give me my ssh keys
20:14:12disruptekfunny, araq and i were just talking about taking your keys.
20:14:18disruptekyou're drunk, son, sleep this one off.
20:17:14leorizedisruptek: https://github.com/alaviss/nim-sys/runs/1717903440?check_suite_focus=true#step:7:30
20:17:37ForumUpdaterBotNew post on r/nim by onefold_me: Do you consider nim to be a mature programming language? Why? (Why not?), see https://www.reddit.com/r/nim/comments/kzdzs1/do_you_consider_nim_to_be_a_mature_programming/
20:17:55disruptekuse 0.0.16 for starters.
20:18:28saemhah, I thought you meant nim version in response to that thread
20:20:57disruptekhttps://github.com/alaviss/nim-sys/blob/cps/src/sys/eventqueue.nim
20:21:14disruptekleorize: you can listen on mumble if you want.
20:21:16disruptek~stream
20:21:16disbotstream: 11https://twitch.tv/disruptek (live video/audio) and mumble://uberalles.mumbl.io/ (live voice chat) -- disruptek
20:21:41leorizejust did the cps upgrade, locally its still failing
20:24:35saemthis is what I'm looking at: https://github.com/alaviss/nim-sys/compare/cps
20:25:41leorizewill join mumble once I'm done eating
20:27:02leorize[m]let me know if you manage to get the thing to uh, not crash
20:27:14leorize[m]the event queue probably won't work
20:27:25disruptekit's a compiler crash, right?
20:33:59*idf quit (Ping timeout: 260 seconds)
20:39:25leorize[m]disruptek: looks like an exception in cps
20:39:41leorize[m]I pushed an upgrade to 0.0.16 if you wanna see what CI says
20:39:58disruptekyeah, i'm gonna stream the dissection if i can figure i tout.
20:44:15disruptek~stream
20:44:15disbotstream: 11https://twitch.tv/disruptek (live video/audio) and mumble://uberalles.mumbl.io/ (live voice chat) -- disruptek
21:05:36*xet7 joined #nim
21:05:44ForumUpdaterBotNew thread by VGA: Binaary file as resource (and loading it), see https://forum.nim-lang.org/t/7396
21:07:32*crem quit (Ping timeout: 256 seconds)
21:09:07*crem joined #nim
21:13:46disruptekping
21:13:53disruptekyou can see the stream?
21:14:07leorizeyes I'm on the stream
21:14:11saemYup
21:14:14leorizethe thing is just lagging
21:14:48FromDiscord<lqdev> idk you got kicked out from mumble
21:15:02*Cadey quit (Quit: WeeChat 3.0)
21:17:06*idf joined #nim
21:17:31*idf quit (Client Quit)
21:17:58*idf joined #nim
21:19:28leorizedisruptek: stream looks frozen
21:19:41*Xe joined #nim
21:20:43*Xe is now known as Cadey
21:22:16disruptekhow about now?
21:22:29saemmoving now
21:22:49saemand stopped
21:23:02leorizenow you're offline
21:23:03disruptekreally?
21:23:10saemyeah
21:26:16leorizestill not seeing anything
21:30:39FromDiscord<Herzog> Just found out the development of nim is funded in whole by the Serbian government. Im gonna need a minute. https://media.discordapp.net/attachments/371759389889003532/800477208732500008/unknown.png
21:31:24saemdisruptek: and you're back it seems
21:31:25FromDiscord<Daniel> https://media.discordapp.net/attachments/371759389889003532/800477398935404604/1610557503294.png
21:31:38leorizedisruptek: seems to work
21:39:28*natrys quit (Quit: natrys)
21:41:28FromDiscord<Avatarfighter> @Herzog it is?
22:04:58leorizedisruptek: your chat bot don't notify anymore or is it just lagging lol
22:05:23leorizelooks like I have "Low Latency" of 27s
22:12:40*NimBot joined #nim
22:13:12FromDiscord<bark> what
22:13:22FromDiscord<bark> i dont get this joke
22:16:31*leorize quit (*.net *.split)
22:17:06disrupteki know, my bandwidth is impossible.
22:18:49saemguessing you've already looked in killing the framerate, a slide show doesn't hurt for coding.
22:19:30disruptekit was kinda working once, but it's a total crap shoot with service here.
22:27:47*leorize joined #nim
22:50:02saemleorize you've poked at semMacroExpr, got any ideas as to how to make it more forgiving for nimsuggest?
22:55:55*tane quit (Quit: Leaving)
23:22:04*Vladar quit (Ping timeout: 256 seconds)
23:22:30*Vladar joined #nim
23:33:56*antranigv quit (Ping timeout: 240 seconds)
23:47:58*Vladar quit (Quit: Leaving)