00:00:44 | disruptek | i dunno, building machines these days is pretty enjoyable. |
00:01:03 | disruptek | if you can afford decent hardware, i mean. |
00:01:06 | saem | I've always gone that route |
00:06:51 | ForumUpdaterBot | New 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:08 | FromDiscord | <Avatarfighter> disruptek: |
00:12:13 | FromDiscord | <Avatarfighter> hey lol |
00:12:29 | FromDiscord | <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:31 | disruptek | if that wasn't produced by cps, i don't care. |
01:21:48 | * | krux02 quit (Remote host closed the connection) |
01:30:48 | Tanger | Is there a standard way to make http requests using the JS backend? |
01:30:57 | disruptek | nope. |
01:32:18 | Tanger | :( |
01:32:26 | disruptek | !pull jsfetch |
01:32:27 | disbot | https://github.com/nim-lang/Nim/pull/12531 -- 3Add module jsfetch 7& 1 more... |
01:36:27 | Tanger | Thanks for the link. I have karax installed as a requirement |
01:36:34 | Tanger | So 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:46 | FromDiscord | <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:12 | ForumUpdaterBot | New 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:09 | saem | So... no nim today.... bummer |
04:13:36 | FromDiscord | <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:48 | disruptek | how sad for you. |
04:14:10 | FromDiscord | <Varriount> I know. It's soooo much effort pushing the "fork" button. |
04:14:42 | disruptek | nah, i pity the fool that has to work for someone who gives a fuck. |
04:15:04 | FromDiscord | <Varriount> I don't, but the management probably does. |
04:15:36 | disruptek | the idea that a bunch of managers are sitting around a table somewhere talking about my balls is hilarious. |
04:15:44 | disruptek | i mean, it wouldn't be the first time, but still... |
04:16:07 | mipri | just 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:00 | FromDiscord | <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:41 | disruptek | people need to get bent. |
04:18:51 | disruptek | my project name generator, that is. |
04:19:14 | FromDiscord | <exelotl> Such a HUMP (Helper Utilities for Massive Progression) and probably the most infamous, HardonCollider |
04:19:20 | * | spiderstew joined #nim |
04:19:25 | FromDiscord | <ElegantBeef> That's a reference to dawkins |
04:19:38 | * | spiderstew_ quit (Ping timeout: 246 seconds) |
04:19:42 | FromDiscord | <exelotl> Aha |
04:19:46 | FromDiscord | <ElegantBeef> He published one of his books with the typo "Hardon collider" |
04:20:05 | FromDiscord | <exelotl> That's amazing lmao |
04:20:07 | disruptek | reminds me of a girl from high school. |
04:20:21 | FromDiscord | <apollo> Ok. |
04:20:24 | FromDiscord | <ElegantBeef> Hardon collider sounds more like a boys name |
04:20:48 | disruptek | !repo disruptek/bent |
04:20:49 | disbot | no results 😢 |
04:20:52 | disruptek | hmm. |
04:21:06 | disruptek | get bent in private, i guess. |
04:21:17 | disruptek | er, /is/ private. |
04:22:21 | FromDiscord | <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:45 | FromDiscord | <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:48 | FromDiscord | <Rika> hardon just makes me think harman kardon instead of the lewd meaning |
05:29:10 | * | casaca joined #nim |
05:34:50 | saem | can confirm that disruptek's balls would be a subject of conversation, but a fork to deal with the name is fine. 🤷♂️ |
05:39:36 | FromDiscord | <ElegantBeef> No sense of humour |
05:42:22 | saem | Not about that sort of thing, it's not worth the headaches. |
05:43:19 | disruptek | testes -> balls. |
05:43:41 | disruptek | it was a huge pita, and not for the first time. |
05:43:52 | saem | Yeah, renames aren't easy |
05:45:52 | FromDiscord | <Rika> whyd ya rename it |
05:45:57 | FromDiscord | <Rika> testes was perfectly fine imo |
05:46:21 | disruptek | the powers that He said so. |
05:46:47 | disruptek | what's annoying is, i have testes in my hands. |
05:47:07 | disruptek | i mean, every time i go to test my code, there they be. |
05:47:33 | disruptek | it's hard to get my fingers used to the new balls. |
05:47:47 | disruptek | still feels alien, you know what i mean, rika. |
05:48:02 | FromDiscord | <Rika> i do yeah |
05:48:51 | disruptek | cps is almost too messy to make work. |
05:49:00 | disruptek | i 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:25 | saem | doooom! |
06:44:44 | * | crem quit (Ping timeout: 258 seconds) |
07:17:12 | * | habamax joined #nim |
07:26:18 | Zevv | disruptek |
07:26:27 | disruptek | wut |
07:26:30 | Zevv | go to bed |
07:26:39 | disruptek | oh shit. |
07:26:53 | disruptek | dude, cps... it's a mess. |
07:26:58 | Zevv | tell me about it |
07:27:07 | disruptek | you can see where i am, though; i'll push this garbage. |
07:29:53 | disruptek | the 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:18 | Zevv | right |
07:35:51 | Zevv | aw you're going in deep |
07:36:21 | disruptek | this is actually the best it has looked tonight. |
07:36:39 | Zevv | I 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:44 | Zevv | but that never worked I thin |
07:37:10 | disruptek | it has been rewritten several times. |
07:37:16 | disruptek | luckily, it's getting simpler. |
07:37:24 | Zevv | that is nice |
07:38:25 | disruptek | turns out we hardly care /what/ nodes we are looking at. |
07:38:47 | Zevv | no surprise |
07:39:22 | disruptek | the other problem is that we aren't really using scopes yet. |
07:39:51 | Zevv | in what way are we not using scopes yet |
07:40:17 | disruptek | like, almost every way. |
07:40:50 | disruptek | everything is on the env, basically. |
07:41:02 | Zevv | that has been my point tons of time |
07:41:03 | Zevv | s |
07:41:17 | Zevv | we need an env per scope, with only the stuff on there that matters |
07:41:25 | Zevv | also it kills performance if we lift stuff that we don't need to |
07:41:30 | disruptek | we 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:44 | Zevv | philosopher speaking |
07:41:59 | disruptek | the lifting isn't a big deal, really, but we do a lot of compile-time labor that is wasted. |
07:42:16 | Zevv | sure, but we need proper logic to know what to split and lift, and what not |
07:42:32 | Zevv | so any scope that does not do anything cpsish in any of is sub scopes, we leave alone |
07:43:01 | Zevv | that's a good start, although it can be better |
07:43:35 | disruptek | we don't even create those scopes. in fact, we don't even create envs. |
07:43:42 | Zevv | right |
07:43:54 | disruptek | i mean, today, we don't. |
07:44:19 | Zevv | i know |
07:44:29 | Zevv | and it's not strictly required |
07:44:59 | Zevv | i 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:14 | Zevv | it'll kill optimizations and require slower addressing modes |
07:47:09 | disruptek | why do we need one per each proc? |
07:47:48 | Zevv | not need |
07:47:54 | Zevv | that's what we have now, right? |
07:48:00 | Zevv | you cps a proc, that creates one env type |
07:48:11 | disruptek | oh, for inputs, yes. |
07:48:29 | disruptek | but it's not really about procs, i don't think. i think it's about return types. |
07:48:37 | Zevv | hmm |
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:52 | Zevv | why is my "hmm" still floating here. that looks silly |
10:03:24 | FromDiscord | <Rika> hmm |
10:06:14 | FromDiscord | <ElegantBeef> mmh |
10:12:21 | FromDiscord | <Rika> Now that’s just lewd |
10:20:18 | * | krux02 joined #nim |
10:34:51 | FromDiscord | <mratsim> Actually you can make it magic: https://github.com/jcosborn/cudanim |
10:42:08 | FromDiscord | <mratsim> thanks |
10:43:06 | FromDiscord | <mratsim> Sure |
10:50:11 | FromDiscord | <mratsim> Make it return a dummy bool |
10:50:28 | * | himup[m] joined #nim |
10:50:33 | FromDiscord | <dom96> Words to live by: https://twitter.com/ashevat/status/1350548449364623361?s=21 |
10:52:00 | FromDiscord | <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:00 | FromDiscord | <lqdev> @mratsim i already switched to weave, gotta say it works pretty well |
11:19:45 | FromDiscord | <mratsim> Thanks, though Weave does the same as threadpool iirc, I also return void |
11:20:22 | FromDiscord | <lqdev> well i needed to return a bool as a success code anyway sooo |
11:20:46 | FromDiscord | <lqdev> guess it didn't matter that much eh |
11:20:59 | FromDiscord | <lqdev> also, how safe is weave to use with std/channels? |
11:22:12 | FromDiscord | <mratsim> not tested but Weave should work with all threadsafe data structures |
11:22:48 | FromDiscord | <mratsim> std/channel doesn't use ref/string/seq so it should have no problem |
11:22:56 | FromDiscord | <mratsim> (edit) "no" => "a" |
11:24:12 | FromDiscord | <lqdev> ah cool |
11:24:17 | FromDiscord | <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:00 | FromDiscord | <mratsim> (edit) std/channel doesn't use ref/string/seq so it shouldn't have a problem |
11:51:54 | FromDiscord | <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:59 | FromDiscord | <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:06 | FromDiscord | <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:50 | FromDiscord | <lqdev> like this. |
11:59:55 | FromDiscord | <lqdev> sent a code paste, see https://play.nim-lang.org/#ix=2MkG |
12:00:31 | * | xet7 joined #nim |
12:00:37 | FromDiscord | <lqdev> kinda looks like `repr` output to me |
12:03:18 | FromDiscord | <lqdev> yeah it totally uses repr |
12:03:24 | FromDiscord | <lqdev> just peeked at the source code |
12:04:08 | FromDiscord | <lqdev> it would be nice if i could override it with my own repr though |
12:04:25 | FromDiscord | <lqdev> right now it always binds to system.repr due to how generics work |
12:06:55 | FromDiscord | <lqdev> gonna make a PR |
12:13:41 | * | xet7 quit (Quit: Leaving) |
12:41:05 | FromDiscord | <mratsim> looking |
12:42:57 | FromDiscord | <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:14 | FromDiscord | <lqdev> oh right |
12:44:37 | FromDiscord | <mratsim> are frames independent from each other? https://github.com/liquidev/pan/blob/master/src/pan.nim#L365-L368 |
12:44:46 | FromDiscord | <mratsim> because in reserveFrame you are syncing |
12:44:59 | FromDiscord | <mratsim> so each frame will be done one after the other |
12:45:24 | FromDiscord | <mratsim> also you can use FlowEvent to attach a writePNG after the syncJob is done |
12:45:38 | FromDiscord | <mratsim> to represent producer->consumer dependencies |
12:46:12 | FromDiscord | <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:21 | FromDiscord | <mratsim> example: https://github.com/mratsim/weave/blob/master/weave/parallel_tasks.nim#L353-L363 |
12:46:29 | FromDiscord | <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:21 | FromDiscord | <lqdev> does weave have a better way of doing this than my convoluted syncJob-channel-thing mess? |
12:47:42 | FromDiscord | <lqdev> basically i need it to block if the amount of jobs exceeds a given threshold |
12:48:07 | FromDiscord | <mratsim> here you are blocking everytime: https://github.com/liquidev/pan/blob/master/src/pan.nim#L341 |
12:48:37 | FromDiscord | <mratsim> that's the way to do it, that's called backpressure 😉 |
12:48:51 | FromDiscord | <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:09 | FromDiscord | <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:00 | FromDiscord | <mratsim> Basically you have services/actors. They receive a message from a channel, and process it. |
12:52:22 | FromDiscord | <mratsim> in the message there is a "return mailbox" (a Flowvar here) to notify that processing is done |
12:52:36 | FromDiscord | <mratsim> and you have an event loop that waits for any message to be done |
12:53:20 | FromDiscord | <mratsim> that's how Actors (named service + anonymous channel) or CSP / Communicating sequential process (anonymous service + named channel) work. |
12:53:26 | FromDiscord | <mratsim> It just has a lot of syntax sugar. |
12:57:45 | FromDiscord | <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:48 | FromDiscord | <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:58 | FromDiscord | <lqdev> only extra thing i want though is progress reporting |
12:59:09 | FromDiscord | <lqdev> which is handled by the main thread |
12:59:27 | FromDiscord | <mratsim> you have an example here: https://github.com/mratsim/weave/blob/e5a3701d59ec17c1c71a22a299ab526777054b44/tests/test_background_jobs.nim |
12:59:33 | FromDiscord | <lqdev> the main thread also handles rendering frames because a frame depends on the state of the previous one |
13:00:14 | FromDiscord | <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:38 | FromDiscord | <mratsim> I see. |
13:00:57 | FromDiscord | <mratsim> isn't libpng parallel already though? |
13:01:45 | FromDiscord | <lqdev> i'm not using libpng, i'm using stb_image_write |
13:02:04 | FromDiscord | <lqdev> i could probably switch though |
13:02:06 | FromDiscord | <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:18 | FromDiscord | <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:11 | FromDiscord | <lqdev> but then that was my older version where i just haphazardly rendered frames without caring about filling RAM |
13:04:15 | FromDiscord | <mratsim> Type-erasure |
13:04:30 | FromDiscord | <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:14 | Zevv | lqdev: wow mixin |
13:34:20 | Zevv | I never used that. |
13:34:40 | Zevv | merged. you want a release for that? |
13:35:27 | Zevv | disruptek: my next toy project is async uart I/O and led blinking on an atmel avr. |
13:35:35 | disruptek | no. |
13:35:39 | Zevv | on the first try I blew up the compiler, see latest branch |
13:35:45 | Zevv | yes. |
13:36:25 | disruptek | remember the project to read network traffic from across the room by measuring das blinkenlights? |
13:36:35 | Zevv | no I do not |
13:36:47 | disruptek | ahh, internet history. |
13:37:02 | Zevv | I have a selective memoryu |
13:37:15 | disruptek | someone found that the fidelity of the SND/RCV leds was high enough to reconstruct traffic. |
13:37:19 | FromDiscord | <mratsim> @Zevv, I often need mixin with generics, to combat generic sandwiches |
13:37:19 | Zevv | hehe |
13:37:37 | disruptek | it should have been called /mayo/ instead. |
13:37:40 | Zevv | disruptek: anyway, this is a bit of a nonsense project, but'll be a nice excersize in minimalism |
13:38:05 | disruptek | cps? |
13:38:10 | Zevv | on the atmel |
13:38:29 | disruptek | you're in a race with leorize. |
13:38:41 | Zevv | you know I'm not |
13:38:47 | disruptek | i think fighter dropped out for want of success after "a couple hours." |
13:39:10 | Zevv | well if I didn't run into cps or compiler bugs, it would have been done this morning |
13:39:17 | disruptek | rude. |
13:39:19 | Zevv | it should e 'couple of hours anyway |
13:39:30 | Zevv | timer and uart irq, event queue, and some cps glue |
13:39:40 | disruptek | i don't see any new PRs, so it must have been a compiler bug. |
13:39:54 | Zevv | I just pushed a branch with a bug |
13:40:04 | Zevv | I have no clue how to debug, let alone fix it |
13:41:16 | disruptek | this is the while-with-local-var compiler crash in taste. |
13:41:24 | Zevv | ah right |
13:42:10 | * | Tanger quit (Remote host closed the connection) |
13:42:20 | disruptek | i hate to say it, but we might need to `c = default(c)` at the top of our loops. |
13:42:37 | Zevv | oh |
13:43:07 | disruptek | not that this will solve the problem; it's just a sad reality. |
13:43:38 | Zevv | can't we blame clyybber? |
13:43:45 | disruptek | not this time. |
13:43:54 | disruptek | but, we can blame him for the crash, at least. |
13:43:59 | Zevv | let's |
13:44:03 | disruptek | kk |
13:44:17 | disruptek | #16719 |
13:44:18 | disbot | https://github.com/nim-lang/Nim/issues/16719 -- 3CPS demonstrates SEGV in compiler during simple transform |
13:44:42 | disruptek | clyybber you slug, get your claws moving. |
13:45:02 | Zevv | but we can't get the compiler to crash by feeding it the transformed code directly, I bet? |
13:45:09 | disruptek | of course not. |
13:45:28 | Zevv | Araq promised he'd prioritize compiler bugs stagnating CPS |
13:46:40 | FromDiscord | <lqdev> Zevv: no need for a release, already hacked 0.24.0 in my .nimble/pkgs to have that change |
13:46:53 | Zevv | k |
13:46:54 | disruptek | how fun for you. |
13:51:37 | Zevv | lqdev: ha, I did it anyway |
13:51:47 | FromDiscord | <lqdev> cool. |
13:51:57 | disruptek | when i managed to hit an infinite loop in nimble, the CIs cloned my balls 130,000 times. |
13:52:28 | Zevv | you knwo what the problem is with your balls |
13:52:40 | disruptek | too many people want them. |
13:52:54 | Zevv | if you would just do ⬤ with some colors |
13:52:56 | Zevv | it would be fine |
13:53:08 | Zevv | but you insist on using all these silly unicode chars that a lot of people have not availabel |
13:53:16 | Zevv | fonts should be shapes. colors come from elsewhere |
13:53:52 | disruptek | the major source of grief in the codegen is your --dryBalls flag. |
13:54:01 | Zevv | I have debian unstable latest gratest with a very mainstream chrome-terminal. And no, there are no balls and cutleries in there |
13:54:22 | Zevv | why balls though, and not just fix teste? |
13:54:25 | disruptek | but, pulls to my balls are entertained. |
13:54:54 | disruptek | if you don't have emojis, it's out of choice. |
13:55:25 | disruptek | !repo noto emoji |
13:55:27 | disbot | https://github.com/googlefonts/noto-emoji -- 9noto-emoji: 11Noto Emoji fonts 15 1911⭐ 287🍴 7& 29 more... |
13:55:34 | Zevv | yeah nice for you |
13:55:41 | Zevv | I don't have that in my default os install |
13:55:52 | Zevv | oh I do |
13:56:44 | disruptek | you're right, though. we could fix it to use a colored unicode char if you want. |
13:57:08 | Zevv | does this work for your average used with a default mainstream linux or windows install? |
13:57:23 | disruptek | you're the only person who complains. |
13:57:31 | Zevv | I might be the only one /using/ t |
13:57:51 | disruptek | you and 261,514 other clones. |
13:57:58 | Zevv | talk talk |
13:58:47 | disruptek | i wonder how much data that infinite loop moved. |
13:59:28 | disruptek | also, 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:18 | FromDiscord | <juliuskiesian> why does nimble ignore compiler opts? like in `nimble build --outdir:bin something` |
15:07:53 | FromDiscord | <faith_james> Is there a discord lib for nim |
15:08:19 | FromDiscord | <haxscramper> !repo dimscord |
15:08:19 | disbot | https://github.com/krisppurg/dimscord -- 9dimscord: 11A Discord Bot & REST Library for Nim. 15 53⭐ 8🍴 7& 3 more... |
15:09:15 | FromDiscord | <haxscramper> IIRC `nimble build` specifically handles output directory internally |
15:10:30 | FromDiscord | <haxscramper> E.g. other flags should work, but the output directory is overridden by nimble. Though I might be wrong. |
15:13:13 | FromDiscord | <juliuskiesian> thanks. |
15:16:16 | FromDiscord | <dom96> @juliuskiesian you can also override by specifying `binDir` in your nimble file: https://github.com/nim-lang/nimble#optional |
15:16:25 | dom96 | Prestige, I juiced up Stardust a bit :D |
15:16:41 | dom96 | Still plenty that can be done, but hopefully it's better now |
15:20:28 | FromDiscord | <juliuskiesian> thanks, that's what i ended up doing. |
15:20:45 | * | tane joined #nim |
15:26:53 | * | waleee-cl joined #nim |
15:32:57 | Oddmonger | in times module, is there a quick function (without a lot of conversions) like the rdtsc , to get a time basis ? |
15:33:37 | leorize | monotimes.getMonoTime() would be what you want I suppose |
15:34:16 | Oddmonger | ah 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:11 | saem | bumbling and mumbling |
17:11:34 | disruptek | it's not gone well. |
17:12:07 | saem | computer was getting sad, mumble and pulse were fighting |
17:12:12 | saem | hopefully that's stopped now |
17:12:47 | disruptek | oh yeah |
17:15:57 | disruptek | down not across |
17:16:14 | saem | I 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:02 | disruptek | this just might not be the day to fix splits. |
18:04:20 | disruptek | yeah, scopes have to go down AND across. |
18:04:57 | FromDiscord | <Avatarfighter> disruptek : how are your balls |
18:05:06 | disruptek | really, really damp. |
18:05:13 | disruptek | been shoveling all morning. |
18:05:31 | FromDiscord | <Avatarfighter> rip dude |
18:05:40 | FromDiscord | <Avatarfighter> it snowed where you’re at ? |
18:06:09 | disruptek | let 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:20 | disruptek | and by house, i mean trailer. |
18:06:37 | FromDiscord | <Avatarfighter> i wish i saw a cloud |
18:08:33 | FromDiscord | <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:58 | disruptek | you might be high. |
18:09:57 | FromDiscord | <Avatarfighter> funny enough |
18:10:06 | FromDiscord | <Avatarfighter> you aren’t wrong |
18:10:09 | disruptek | saem: lemme pat dry and then i'm down to mumble if you're still around. |
18:10:16 | saem | cool! |
18:10:37 | disruptek | need to get my mic first. |
18:12:11 | disruptek | "warning: The VAD has been replaced by a hack pending a complete rewrite" |
18:12:12 | Prestige | dom96: Cool! I'll have to check it out soon |
18:12:16 | disruptek | this man hacks. |
18:12:25 | disruptek | that message has been in there for like 4 years. |
18:14:59 | disruptek | aight lil birdies, come will me |
18:15:03 | disruptek | i'll feed ya |
18:15:25 | disruptek | fighter show me some cps and i'll tell you why you're dumb. |
18:16:43 | FromDiscord | <Avatarfighter> bro i dont want to |
18:16:58 | FromDiscord | <Avatarfighter> Im restarting what i tried doing |
18:17:17 | Prestige | dom96: looking better :) hope to see more in the future |
18:17:19 | FromDiscord | <Avatarfighter> a really dumbed down example of it |
18:32:58 | * | natrys joined #nim |
18:35:55 | * | hnOsmium0001 joined #nim |
18:36:05 | dom96 | Prestige, yay, thanks for taking a look :) |
18:55:47 | leorize | why doesn't concepts just work :( |
18:56:10 | FromDiscord | <lqdev> this tbh |
18:58:06 | FromDiscord | <zetashift> from what I read on RFCs/issues it's a hard thing to get right |
19:00:21 | disruptek | leorize: we're talking about versioning apis on mumble. |
19:00:58 | leorize | can't join now, I'm trying to make the event queue work |
19:01:07 | leorize | please let me know if there's any cool ideas though |
19:01:35 | * | a_chou joined #nim |
19:01:38 | disruptek | probably not, only saem is here. |
19:02:03 | saem | savage :D |
19:09:22 | leorize | my eventqueue compiled \o/ |
19:10:01 | disruptek | w00t |
19:10:03 | disruptek | let's see |
19:10:30 | * | a_chou quit (Quit: a_chou) |
19:10:43 | leorize | I only got it to compile |
19:10:51 | leorize | whether it works or not is an another matter |
19:11:08 | leorize | this is probably the most inefficient queuing system out there :P |
19:11:39 | * | vicfred joined #nim |
19:22:34 | FromDiscord | <enimatek> is there maybe some build available somewhere for https://www.haiku-os.org/ ? |
19:23:47 | * | NimBot joined #nim |
19:23:53 | leorize | there is one in HaikuPorts but I haven't updated it for awhile |
19:24:21 | leorize | last time I tried there were bugs with regards to threadvar |
19:26:02 | leorize | you can try this PR with the current Haiku nightly if you're interested: https://github.com/haikuports/haikuports/pull/4845/ |
19:26:02 | disbot | ➥ dev-lang/nim: update to 1.2.0 |
19:29:13 | * | NimBot joined #nim |
19:29:59 | disruptek | !repo hastyscribe |
19:30:00 | disbot | https://github.com/h3rald/hastyscribe -- 9hastyscribe: 11Self-contained markdown compiler generating self-contained HTML documents 15 163⭐ 9🍴 |
19:32:03 | FromDiscord | <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:27 | leorize | disruptek: uh, how do I deal with cps-ifyed proc that can return a value? |
19:45:30 | leorize | I don't remember seeing value returns in your cps tests |
19:47:07 | leorize | or do I need one that won't return a value to start with? |
19:52:52 | * | lritter joined #nim |
19:53:45 | leorize | disruptek: ok cps is erroring on me, wanna take a look? |
19:53:55 | disruptek | yeah. |
19:54:01 | disruptek | you haven't pushed anything in two days. |
19:56:48 | leorize[m] | my computer panicked when I try to push this thing |
19:57:10 | leorize[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:44 | leorize[m] | and now iwd gives up on me |
20:12:25 | * | leorize joined #nim |
20:12:51 | disruptek | lol |
20:13:02 | disruptek | the wifi daemon? |
20:13:06 | saem | did Cthulhu strike? |
20:13:48 | leorize | disruptek: yes, and now my password manager hates me and won't give me my ssh keys |
20:14:12 | disruptek | funny, araq and i were just talking about taking your keys. |
20:14:18 | disruptek | you're drunk, son, sleep this one off. |
20:17:14 | leorize | disruptek: https://github.com/alaviss/nim-sys/runs/1717903440?check_suite_focus=true#step:7:30 |
20:17:37 | ForumUpdaterBot | New 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:55 | disruptek | use 0.0.16 for starters. |
20:18:28 | saem | hah, I thought you meant nim version in response to that thread |
20:20:57 | disruptek | https://github.com/alaviss/nim-sys/blob/cps/src/sys/eventqueue.nim |
20:21:14 | disruptek | leorize: you can listen on mumble if you want. |
20:21:16 | disruptek | ~stream |
20:21:16 | disbot | stream: 11https://twitch.tv/disruptek (live video/audio) and mumble://uberalles.mumbl.io/ (live voice chat) -- disruptek |
20:21:41 | leorize | just did the cps upgrade, locally its still failing |
20:24:35 | saem | this is what I'm looking at: https://github.com/alaviss/nim-sys/compare/cps |
20:25:41 | leorize | will join mumble once I'm done eating |
20:27:02 | leorize[m] | let me know if you manage to get the thing to uh, not crash |
20:27:14 | leorize[m] | the event queue probably won't work |
20:27:25 | disruptek | it's a compiler crash, right? |
20:33:59 | * | idf quit (Ping timeout: 260 seconds) |
20:39:25 | leorize[m] | disruptek: looks like an exception in cps |
20:39:41 | leorize[m] | I pushed an upgrade to 0.0.16 if you wanna see what CI says |
20:39:58 | disruptek | yeah, i'm gonna stream the dissection if i can figure i tout. |
20:44:15 | disruptek | ~stream |
20:44:15 | disbot | stream: 11https://twitch.tv/disruptek (live video/audio) and mumble://uberalles.mumbl.io/ (live voice chat) -- disruptek |
21:05:36 | * | xet7 joined #nim |
21:05:44 | ForumUpdaterBot | New 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:46 | disruptek | ping |
21:13:53 | disruptek | you can see the stream? |
21:14:07 | leorize | yes I'm on the stream |
21:14:11 | saem | Yup |
21:14:14 | leorize | the thing is just lagging |
21:14:48 | FromDiscord | <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:28 | leorize | disruptek: stream looks frozen |
21:19:41 | * | Xe joined #nim |
21:20:43 | * | Xe is now known as Cadey |
21:22:16 | disruptek | how about now? |
21:22:29 | saem | moving now |
21:22:49 | saem | and stopped |
21:23:02 | leorize | now you're offline |
21:23:03 | disruptek | really? |
21:23:10 | saem | yeah |
21:26:16 | leorize | still not seeing anything |
21:30:39 | FromDiscord | <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:24 | saem | disruptek: and you're back it seems |
21:31:25 | FromDiscord | <Daniel> https://media.discordapp.net/attachments/371759389889003532/800477398935404604/1610557503294.png |
21:31:38 | leorize | disruptek: seems to work |
21:39:28 | * | natrys quit (Quit: natrys) |
21:41:28 | FromDiscord | <Avatarfighter> @Herzog it is? |
22:04:58 | leorize | disruptek: your chat bot don't notify anymore or is it just lagging lol |
22:05:23 | leorize | looks like I have "Low Latency" of 27s |
22:12:40 | * | NimBot joined #nim |
22:13:12 | FromDiscord | <bark> what |
22:13:22 | FromDiscord | <bark> i dont get this joke |
22:16:31 | * | leorize quit (*.net *.split) |
22:17:06 | disruptek | i know, my bandwidth is impossible. |
22:18:49 | saem | guessing you've already looked in killing the framerate, a slide show doesn't hurt for coding. |
22:19:30 | disruptek | it was kinda working once, but it's a total crap shoot with service here. |
22:27:47 | * | leorize joined #nim |
22:50:02 | saem | leorize 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) |