00:01:39 | leorize[m] | for sys/exec, should I look in PATH for `sh` or should I hardcode `/bin/sh`? |
00:02:12 | leorize[m] | POSIX said I should do a search, but I have seen people hardcoding the path so not sure what I should do |
00:05:06 | disruptek | seems crazy to hardcode the path. |
00:05:21 | FromDiscord | <Clyybber> @alehander42 thanks for the thanks :D although I'm as clueless as zach |
00:06:08 | disruptek | leorize[m]: btw, i exposed the runner code in balls. |
00:07:33 | FromDiscord | <Clyybber> leorize hey did you see my earlier ping? |
00:07:56 | FromDiscord | <Clyybber> curious if my PR fixed your issue |
00:07:59 | leorize[m] | disruptek: nice |
00:08:19 | leorize[m] | @Clyybber I haven't test it yet, sorry |
00:08:39 | FromDiscord | <Clyybber> ah no problem, I added your repro as a test |
00:08:56 | FromDiscord | <Clyybber> the minimal one |
00:09:33 | FromDiscord | <Clyybber> disruptek: again, which bug do you want fixed? |
00:09:39 | FromDiscord | <Clyybber> the for loops? |
00:09:46 | FromDiscord | <Clyybber> cause thats not a bug. |
00:09:59 | FromDiscord | <Clyybber> as i said a few times |
00:10:00 | disruptek | #16719 |
00:10:01 | disbot | https://github.com/nim-lang/Nim/issues/16719 -- 3CPS demonstrates SEGV in compiler during simple transform |
00:10:17 | leorize[m] | @Clyybber can I have a guarantee that stuff that has to be initialized will not have their destructor called before initialization? |
00:10:30 | FromDiscord | <Clyybber> disruptek ah thanks |
00:10:41 | FromDiscord | <Clyybber> leorize not yet |
00:11:04 | leorize[m] | will that be an actual thing in the spec? |
00:11:14 | FromDiscord | <Clyybber> probably |
00:11:25 | disruptek | if it's not, it's insane. |
00:15:50 | FromDiscord | <konsumlamm> anyone wanna review #16820 |
00:15:50 | disbot | https://github.com/nim-lang/Nim/pull/16820 -- 3Sugar tests |
00:19:44 | * | idxu_ joined #nim |
00:19:45 | * | idxu quit (Ping timeout: 240 seconds) |
00:20:06 | * | j-james[m] quit (Ping timeout: 246 seconds) |
00:20:25 | * | def- quit (Ping timeout: 240 seconds) |
00:20:26 | * | cmc[m] quit (Ping timeout: 246 seconds) |
00:20:27 | * | codic quit (Ping timeout: 246 seconds) |
00:20:27 | * | Kurre[m] quit (Ping timeout: 246 seconds) |
00:20:27 | * | lytedev[m] quit (Ping timeout: 246 seconds) |
00:20:27 | * | unclechu quit (Ping timeout: 246 seconds) |
00:20:36 | * | def-- joined #nim |
00:20:45 | * | VijayMarupudi[m] quit (Ping timeout: 265 seconds) |
00:20:46 | * | MTRNord quit (Ping timeout: 265 seconds) |
00:20:46 | * | jaens[m] quit (Ping timeout: 265 seconds) |
00:20:46 | * | stisa[m] quit (Ping timeout: 265 seconds) |
00:20:52 | * | idxu_ is now known as idxu |
00:21:00 | * | def-- is now known as def- |
00:21:50 | * | xace quit (Remote host closed the connection) |
00:22:08 | * | xace joined #nim |
00:22:21 | * | j-james[m] joined #nim |
00:23:48 | * | cmc[m] joined #nim |
00:23:48 | * | Kurre[m] joined #nim |
00:23:48 | * | codic joined #nim |
00:24:47 | * | jaens[m] joined #nim |
00:25:59 | * | lytedev[m] joined #nim |
00:26:04 | * | MTRNord joined #nim |
00:26:24 | * | unclechu joined #nim |
00:26:38 | * | VijayMarupudi[m] joined #nim |
00:27:37 | * | stisa[m] joined #nim |
00:41:08 | * | asdflkj quit (Ping timeout: 260 seconds) |
00:43:26 | * | mahlon quit (Ping timeout: 240 seconds) |
00:44:04 | * | mahlon joined #nim |
00:44:27 | * | rockcavera quit (Killed (hitchcock.freenode.net (Nickname regained by services))) |
00:44:28 | * | rockcavera joined #nim |
00:46:52 | * | Gustavo6046 quit (Ping timeout: 256 seconds) |
00:48:13 | * | Gustavo6046 joined #nim |
00:57:31 | * | Tanger joined #nim |
01:11:09 | * | Kurre[m] quit (*.net *.split) |
01:11:09 | * | k0mpjut0r quit (*.net *.split) |
01:11:10 | * | planetis[m] quit (*.net *.split) |
01:11:10 | * | Northstrider[m] quit (*.net *.split) |
01:11:10 | * | beatmox quit (*.net *.split) |
01:11:10 | * | qwertfisch quit (*.net *.split) |
01:12:51 | * | Kurre[m] joined #nim |
01:12:51 | * | k0mpjut0r joined #nim |
01:12:51 | * | planetis[m] joined #nim |
01:12:51 | * | Northstrider[m] joined #nim |
01:12:51 | * | beatmox joined #nim |
01:12:51 | * | qwertfisch joined #nim |
01:14:26 | * | himup[m] quit (Ping timeout: 240 seconds) |
01:14:26 | * | Avatarfighter[m] quit (Ping timeout: 240 seconds) |
01:14:27 | * | lnxw37d4 quit (Ping timeout: 240 seconds) |
01:14:42 | * | j-james[m] quit (Ping timeout: 246 seconds) |
01:14:49 | * | Juno[m] quit (Ping timeout: 244 seconds) |
01:14:49 | * | awici[m] quit (Ping timeout: 244 seconds) |
01:14:50 | * | d10n-work_ joined #nim |
01:14:57 | * | BitPuffin quit (Ping timeout: 240 seconds) |
01:14:57 | * | matthias[m] quit (Ping timeout: 240 seconds) |
01:14:57 | * | GitterIntegratio quit (Ping timeout: 240 seconds) |
01:14:57 | * | cadmium[m] quit (Ping timeout: 260 seconds) |
01:14:57 | * | vindaar[m] quit (Ping timeout: 260 seconds) |
01:14:58 | * | Clonkk[m] quit (Ping timeout: 258 seconds) |
01:14:58 | * | silvernode[m] quit (Ping timeout: 258 seconds) |
01:15:00 | * | ee7[m] quit (Ping timeout: 260 seconds) |
01:15:00 | * | dilawar_uchiha[m quit (Ping timeout: 260 seconds) |
01:15:00 | * | Zoom[m] quit (Ping timeout: 260 seconds) |
01:15:01 | * | leorize[m] quit (Ping timeout: 258 seconds) |
01:15:01 | * | Avahe[m] quit (Ping timeout: 260 seconds) |
01:15:02 | * | stisa[m] quit (Ping timeout: 246 seconds) |
01:15:03 | * | d10n-work quit (Ping timeout: 265 seconds) |
01:15:04 | * | d10n-work_ is now known as d10n-work |
01:15:22 | * | codic quit (Ping timeout: 265 seconds) |
01:15:26 | * | lytedev[m] quit (Ping timeout: 240 seconds) |
01:15:31 | * | jaens[m] quit (Ping timeout: 268 seconds) |
01:15:31 | * | cmc[m] quit (Ping timeout: 268 seconds) |
01:15:31 | * | BauxnaMatrix[m] quit (Ping timeout: 268 seconds) |
01:15:31 | * | William[m]1 quit (Ping timeout: 268 seconds) |
01:15:45 | * | Kurre[m] quit (Ping timeout: 258 seconds) |
01:16:08 | * | MTRNord quit (Ping timeout: 268 seconds) |
01:16:45 | * | planetis[m] quit (Ping timeout: 240 seconds) |
01:17:12 | * | k0mpjut0r quit (Ping timeout: 240 seconds) |
01:17:55 | * | VijayMarupudi[m] quit (Ping timeout: 244 seconds) |
01:18:02 | * | unclechu quit (Ping timeout: 264 seconds) |
01:19:11 | * | reversem3 quit (Ping timeout: 258 seconds) |
01:23:44 | * | abm quit (Read error: Connection reset by peer) |
01:27:10 | * | oddp quit (Ping timeout: 246 seconds) |
01:27:11 | FromDiscord | <konsumlamm> (edit) anyone wanna review #16820? |
01:27:12 | disbot | https://github.com/nim-lang/Nim/pull/16820 -- 3Sugar tests |
01:35:47 | * | stisa[m] joined #nim |
01:37:14 | * | j-james[m] joined #nim |
01:38:27 | * | Avahe[m] joined #nim |
01:38:49 | * | codic joined #nim |
01:42:02 | * | lnxw37d4 joined #nim |
01:42:37 | * | awici[m] joined #nim |
01:42:39 | * | Juno[m] joined #nim |
01:43:04 | * | cmc[m] joined #nim |
01:43:37 | * | himup[m] joined #nim |
01:43:39 | * | matthias[m] joined #nim |
01:43:42 | * | Avatarfighter[m] joined #nim |
01:44:20 | * | dilawar_uchiha[m joined #nim |
01:44:20 | * | ee7[m] joined #nim |
01:44:20 | * | Zoom[m] joined #nim |
01:45:20 | * | leorize[m] joined #nim |
01:46:16 | * | silvernode[m] joined #nim |
01:46:17 | * | BauxnaMatrix[m] joined #nim |
01:46:18 | * | Clonkk[m] joined #nim |
01:50:28 | * | Kurre[m] joined #nim |
01:50:44 | * | vindaar[m] joined #nim |
01:50:45 | * | cadmium[m] joined #nim |
01:52:17 | * | k0mpjut0r joined #nim |
01:53:16 | * | rockcavera quit (Ping timeout: 240 seconds) |
01:53:49 | * | VijayMarupudi[m] joined #nim |
01:56:34 | * | BitPuffin joined #nim |
01:56:34 | * | lytedev[m] joined #nim |
01:56:39 | * | unclechu joined #nim |
01:57:25 | * | William[m]1 joined #nim |
02:03:11 | * | Hexeratops joined #nim |
02:03:11 | * | Hexeratops quit (Client Quit) |
02:03:32 | * | VijayMarupudi[m] quit (Ping timeout: 260 seconds) |
02:03:37 | * | stisa[m] quit (Ping timeout: 268 seconds) |
02:03:39 | * | lnxw37d4 quit (Ping timeout: 258 seconds) |
02:03:43 | * | cmc[m] quit (Ping timeout: 265 seconds) |
02:03:54 | * | William[m]1 quit (Ping timeout: 244 seconds) |
02:03:54 | * | BitPuffin quit (Ping timeout: 244 seconds) |
02:03:54 | * | vindaar[m] quit (Ping timeout: 244 seconds) |
02:03:54 | * | Kurre[m] quit (Ping timeout: 244 seconds) |
02:03:54 | * | BauxnaMatrix[m] quit (Ping timeout: 244 seconds) |
02:03:54 | * | ee7[m] quit (Ping timeout: 244 seconds) |
02:03:56 | * | dilawar_uchiha[m quit (Ping timeout: 240 seconds) |
02:04:05 | * | Zoom[m] quit (Ping timeout: 240 seconds) |
02:04:05 | * | matthias[m] quit (Ping timeout: 240 seconds) |
02:04:05 | * | Juno[m] quit (Ping timeout: 240 seconds) |
02:04:05 | * | awici[m] quit (Ping timeout: 240 seconds) |
02:04:12 | * | silvernode[m] quit (Ping timeout: 265 seconds) |
02:04:14 | * | Clonkk[m] quit (Ping timeout: 268 seconds) |
02:04:14 | * | j-james[m] quit (Ping timeout: 268 seconds) |
02:04:25 | * | k0mpjut0r quit (Ping timeout: 258 seconds) |
02:04:25 | * | leorize[m] quit (Ping timeout: 258 seconds) |
02:04:28 | * | cadmium[m] quit (Ping timeout: 260 seconds) |
02:04:28 | * | himup[m] quit (Ping timeout: 260 seconds) |
02:04:28 | * | Avahe[m] quit (Ping timeout: 260 seconds) |
02:04:40 | * | Avatarfighter[m] quit (Ping timeout: 265 seconds) |
02:04:41 | * | codic quit (Ping timeout: 265 seconds) |
02:08:04 | * | lytedev[m] quit (Ping timeout: 240 seconds) |
02:08:14 | * | unclechu quit (Ping timeout: 246 seconds) |
02:26:36 | * | jaens[m] joined #nim |
02:28:25 | * | planetis[m] joined #nim |
02:29:50 | * | MTRNord joined #nim |
02:31:29 | * | reversem3 joined #nim |
02:31:39 | * | William[m]1 joined #nim |
02:33:27 | * | lnxw37d4 joined #nim |
02:35:28 | * | BitPuffin joined #nim |
02:37:59 | * | stisa[m] joined #nim |
02:39:04 | disruptek | no. |
02:41:37 | * | VijayMarupudi[m] joined #nim |
02:44:24 | * | cmc[m] joined #nim |
02:44:56 | * | NimBot joined #nim |
02:49:37 | * | Clonkk[m] joined #nim |
02:50:27 | * | j-james[m] joined #nim |
02:51:22 | * | silvernode[m] joined #nim |
02:52:49 | * | Kurre[m] joined #nim |
02:52:50 | * | vindaar[m] joined #nim |
02:53:50 | * | BauxnaMatrix[m] joined #nim |
02:54:06 | * | ee7[m] joined #nim |
02:55:38 | * | dilawar_uchiha[m joined #nim |
02:59:41 | * | Zoom[m] joined #nim |
02:59:49 | * | Juno[m] joined #nim |
02:59:51 | * | matthias[m] joined #nim |
02:59:55 | * | awici[m] joined #nim |
03:01:23 | * | k0mpjut0r joined #nim |
03:02:10 | * | leorize[m] joined #nim |
03:04:01 | * | cadmium[m] joined #nim |
03:05:19 | * | himup[m] joined #nim |
03:05:37 | * | Avatarfighter[m] joined #nim |
03:05:50 | * | codic joined #nim |
03:06:18 | * | lytedev[m] joined #nim |
03:06:33 | * | unclechu joined #nim |
03:07:24 | * | Avahe[m] joined #nim |
03:30:30 | * | dv^_^9 joined #nim |
03:38:50 | * | Tanger quit (*.net *.split) |
03:38:50 | * | euantorano quit (*.net *.split) |
03:38:50 | * | kinkinkijkin quit (*.net *.split) |
03:38:50 | * | joast quit (*.net *.split) |
03:38:50 | * | Ekho quit (*.net *.split) |
03:38:50 | * | sepples_ quit (*.net *.split) |
03:38:51 | * | dv^_^ quit (*.net *.split) |
03:39:35 | * | Ekho- joined #nim |
03:39:57 | * | Kurre[m] quit (Ping timeout: 246 seconds) |
03:39:57 | * | MTRNord quit (Ping timeout: 246 seconds) |
03:39:58 | * | jaens[m] quit (Ping timeout: 246 seconds) |
03:40:05 | * | Northstrider[m] quit (Ping timeout: 240 seconds) |
03:40:22 | * | matthias[m] quit (Ping timeout: 265 seconds) |
03:40:22 | * | BauxnaMatrix[m] quit (Ping timeout: 265 seconds) |
03:40:24 | * | awici[m] quit (Ping timeout: 240 seconds) |
03:40:25 | * | vindaar[m] quit (Ping timeout: 240 seconds) |
03:40:38 | * | leorize[m] quit (Ping timeout: 246 seconds) |
03:40:40 | * | Northstrider[m] joined #nim |
03:40:44 | * | Avahe[m] quit (Ping timeout: 240 seconds) |
03:40:45 | * | BitPuffin quit (Ping timeout: 240 seconds) |
03:41:20 | * | mahlon quit (Ping timeout: 246 seconds) |
03:41:55 | * | sz0 quit (Ping timeout: 246 seconds) |
03:42:55 | * | Kurre[m] joined #nim |
03:43:29 | * | Tanger joined #nim |
03:43:29 | * | sepples_ joined #nim |
03:43:42 | * | sz0 joined #nim |
03:43:49 | * | jaens[m] joined #nim |
03:44:04 | * | cyraxjoe quit (Quit: I'm out!) |
03:45:11 | * | mahlon_ joined #nim |
03:45:46 | * | BauxnaMatrix[m] joined #nim |
03:45:54 | * | awici[m] joined #nim |
03:46:10 | * | matthias[m] joined #nim |
03:46:35 | * | vindaar[m] joined #nim |
03:46:37 | * | kinkinkijkin joined #nim |
03:46:38 | * | euantorano joined #nim |
03:46:55 | * | MTRNord joined #nim |
03:47:00 | * | cyraxjoe joined #nim |
03:47:42 | * | leorize[m] joined #nim |
03:50:37 | * | Avahe[m] joined #nim |
03:50:47 | * | BitPuffin joined #nim |
03:55:45 | * | Ekho- is now known as Ekho |
04:01:42 | * | muffindrake quit (Ping timeout: 244 seconds) |
04:03:40 | * | muffindrake joined #nim |
04:23:23 | FromGitter | <timotheecour> @konsumlamm done |
04:23:55 | FromDiscord | <ElegantBeef> A rare occurrence of a timothee in realtime chat 😄 |
04:25:00 | FromGitter | <timotheecour> :) |
04:55:15 | * | spiderstew_ joined #nim |
04:55:50 | * | spiderstew quit (Ping timeout: 264 seconds) |
04:56:02 | * | zedeus joined #nim |
05:42:17 | * | narimiran joined #nim |
06:03:00 | * | a_chou joined #nim |
06:20:56 | * | krux02 joined #nim |
06:43:10 | saem | Hmm, now I'm trying to figure out what that means macros don't work well. |
06:44:52 | saem | oh, it's for the whole graph, it just bails all the time from then on without trying to make any progress. |
06:46:38 | FromGitter | <Araq> see my PR |
06:46:44 | FromGitter | <Araq> after an error we never evaluate macros |
06:48:00 | saem | Yeah, it's not scoped narrower like say in vm.myProcess, which is for the pass context. |
06:48:13 | saem | see one and then forever bail |
06:49:23 | FromGitter | <Araq> the fix is easy, we need to remove these lines |
06:49:46 | saem | I'm trying that out for the macro test |
06:51:35 | saem | Not thinking great at this time of night. So I was trying to see how ast and semtypinst changes fit into it, but that's a different matter. |
06:56:07 | saem | definitely fix the successive call issue for twithin_macro_prefix. \o/ |
06:57:58 | saem | twithin_macro no longer crashes, but it's falling back to "suggest_all_the_things", which is much improved. I have a hunch to chase up there, though. |
07:00:02 | * | cyraxjoe quit (Ping timeout: 264 seconds) |
07:00:43 | * | waleee-cl quit (Quit: Connection closed for inactivity) |
07:01:12 | * | cyraxjoe joined #nim |
07:02:11 | disruptek | nice job. |
07:05:28 | * | a_chou quit (Quit: a_chou) |
07:13:11 | FromDiscord | <ElegantBeef> Currently playing around with views and splitting strings, and for large data, it's like 1.5-3 times as fast with my meh implementations |
07:14:14 | FromDiscord | <ElegantBeef> by large data i mean a 100,000 character long randomly generated string 😄 |
07:14:39 | FromDiscord | <ElegantBeef> Not anywhere near a practical example |
07:20:15 | FromGitter | <Araq> note that views are unfixably broken though |
07:20:36 | FromGitter | <Araq> well "unfixably" here means "needs a new RFC before we can fix them" |
07:20:56 | FromGitter | <Araq> the existing RFC was too simple |
07:21:33 | FromDiscord | <ElegantBeef> Yea i've walked into bad codegen already toying with them |
07:22:03 | FromDiscord | <ElegantBeef> my `split(string, string)` is also slower than the stdlib's |
07:23:04 | FromGitter | <Araq> codegen bugs are just bugs, design problems are tougher |
07:23:11 | * | Gustavo6046 quit (Ping timeout: 265 seconds) |
07:30:23 | FromDiscord | <ElegantBeef> I've gotta ask, what's the flaw(s) with them as they sit? |
07:31:51 | disruptek | they are taking time away from fixing codegen bugs in properly-designed features. |
07:32:01 | FromDiscord | <ElegantBeef> lol |
07:35:18 | disruptek | https://github.com/disruptek/bloom/runs/1789498262?check_suite_focus=true#step:4:621 |
07:35:39 | disruptek | every version fails differently. |
07:37:27 | FromGitter | <Araq> ElegantBeef: when we reify a view type from `openArray` the mutability aspect must become part of the type, `var openArray` vs `openArray` is not good enough |
07:37:27 | disruptek | the program doesn't even produce output on windows; it crashes immediately due to stack overflow. |
07:38:50 | FromDiscord | <ElegantBeef> Close windows, you're letting the stack out |
07:39:38 | saem | Ain't no one paying to stack the outside. |
07:39:42 | FromGitter | <Araq> in C# there are mutable and immutable views for the same reason and also some complexity like you cannot have a view inside a `class`, it must stay on the stack. I don't know yet if I like this idea better than borrow checking, it certainly is simpler though |
07:43:15 | saem | Would a reasonable approximation be: views as a type that is a "stack of types", where the current type is whatever the top of the stack is, and me types are pushed/popped based on when it changes hand? |
07:43:36 | saem | s/me/new |
07:44:08 | FromGitter | <Araq> I don't know what that means |
07:49:24 | saem | Presently, anything with a var, lent, open array is a view type. Basically anything that looks at memory that is elsewhere. |
07:49:34 | saem | That's my rough approximation |
07:50:07 | FromGitter | <Araq> yeah |
07:50:56 | FromDiscord | <ElegantBeef> Were you saying that the lifetime works like a stack that is pushed/popped until out of scope? |
07:51:02 | saem | So a slice, on an open array, or a immutable version of some existing thing passed to say a proc is creating new views and the view itself has a lifetime we reason about |
07:51:23 | saem | Yes, beef, but lifetime is also type |
07:51:58 | FromDiscord | <ElegantBeef> "lifetime is also type" doesnt mean anything to me |
07:52:18 | FromDiscord | <ElegantBeef> I'm a numpty afterall, so use small works like "a", "i" and so one |
07:52:19 | FromDiscord | <ElegantBeef> (edit) "one" => "on" |
07:53:01 | saem | As in push, at some point in the code, a new type, and then pop at some other point in the code |
07:53:03 | FromDiscord | <Rika> NumPty |
07:54:29 | FromDiscord | <ElegantBeef> I have no idea what that'd do differently, so i'll be in the corner clapping my hands |
07:54:58 | saem | The type remembers it's history |
07:55:39 | saem | And you can check for violations of a time like, thou shalt not broaden definition. If that's what you want to enforce. |
07:56:02 | * | adnan338 joined #nim |
07:56:09 | saem | Ugh, phone... also tired |
07:59:00 | saem | Beef I think you get it, and maybe I misunderstood you. |
07:59:11 | FromDiscord | <ElegantBeef> I dont think i do |
08:00:12 | saem | If I change the type of something from one thing to another, that's a destructive operation in that information is lost. The old type |
08:00:26 | saem | Hence why I'm saying stack |
08:00:32 | saem | A stack remembers |
08:00:59 | FromDiscord | <ElegantBeef> To me it just seems like you're suggesting a stack based borrow checker |
08:01:38 | saem | When I'm saying stack I don't mean the stack as in stack vs heap |
08:01:46 | FromDiscord | <ElegantBeef> I know |
08:01:55 | saem | Ok, just making sure |
08:02:33 | * | PMunch joined #nim |
08:03:45 | saem | But I honestly don't see how else views work. They're effectively saying for x lifetime you can do some stuff to this memory over there. |
08:03:45 | * | adnan338 quit (Read error: Connection reset by peer) |
08:05:15 | FromDiscord | <ElegantBeef> Well the current borrow checker just sees if any views of the original are used after any given line, if so you cannot directly mutate the object |
08:06:06 | FromDiscord | <ElegantBeef> I might be overly tired so probably at a great level to speak about anything 😄 |
08:06:27 | saem | LoL, two peas in a pod |
08:09:16 | * | oddp joined #nim |
08:15:15 | FromGitter | <Araq> not "after any given line" but close enough. there is an "abstract clock ticking" |
08:18:50 | saem | Rereading the restrictions mentioned on the experimental page, by pushing a type that doesn't allow said mutation for that lifetime. A bunch of the other restrictions that require looking at history, max lifetime would be cannot exceed previous type. Heap to heap definitely means yet more metadata and careful analysis. |
08:20:02 | * | Tanger quit (Remote host closed the connection) |
08:21:44 | saem | It seems a lot like a restricted version of affine types? |
08:26:13 | FromDiscord | <ElegantBeef> Having read one wikipedia sentence on them, those are clearly more restricted than views, since you can only use them at most one time |
08:30:24 | saem | Yeah, restricted isn't the right word, i meant limited in terms of how far it goes. |
08:31:06 | saem | I need to stop trying to think this hard late at night, getting incoherent |
08:31:21 | FromDiscord | <ElegantBeef> Lucky for me i'm always incoherent |
08:32:13 | saem | "that's the trick, I'm always incoherent" |
08:32:15 | FromDiscord | <ElegantBeef> I personally do like the idea of views and how they're intended to be implemented but i also have 0 idea any actual issues with the implementation 😄 |
08:32:29 | PMunch | Hmm, well this doesn't seem right: tm: (tm_sec: 49, tm_min: 8, tm_hour: 11, tm_mday: 25, tm_mon: 5, tm_year: 80276403, tm_wday: 4, tm_yday: 175, tm_isdst: 1) |
08:32:43 | FromDiscord | <ElegantBeef> Back on the int32 issue 😄 |
08:33:14 | PMunch | Well it seems like it's more of an issue with the local times module.. |
08:33:34 | saem | Tracking that much state, doing it accurately and precisely, then drawing correct conclusions on all that is a whole thing. |
08:33:49 | PMunch | tm_year: 80276403 |
08:41:21 | * | krux02 quit (Remote host closed the connection) |
08:43:43 | PMunch | This is so weird.. |
08:43:54 | PMunch | So localtime takes a CTime |
08:44:38 | PMunch | I have echoed out my values, and I pass the exact same CTime to localtime twice, and sometimes it works, but sometimes it fails.. |
08:51:11 | * | Vladar joined #nim |
09:20:14 | * | adnan338 joined #nim |
09:20:50 | adnan338 | Hi, not relevant but does a typical consumer level x86 processor qualify as a microcontroller unit? |
09:22:54 | FromDiscord | <ElegantBeef> Uhh, not by most definitions, micro controllers are typically much more limited in memory and speed than desktop CPUs |
09:31:24 | FromDiscord | <mratsim> Did we mentioned being limited by memory? |
09:32:10 | FromDiscord | <mratsim> even a Raspberry Pi is not a microcontroller |
09:36:19 | FromDiscord | <Goel> https://takahser.github.io/tldr/rust-performance-safety.png↵Where would you place Nim on this graph? |
09:37:33 | FromDiscord | <mratsim> It's missing ADA which would be even more on the right than Rust and Haskell |
09:38:38 | FromDiscord | <mratsim> Unsure, I would put it at the same level as Rust, it has definitely as much control as C. |
09:39:27 | FromDiscord | <ElegantBeef> ~~Cant resist mentioning pico~~ |
09:39:33 | FromDiscord | <mratsim> and safety is similar with twist: Rust has no range type or distinct type for example. The borrow checker and not nil references are more advanced though the experimental view types are closing the gap. |
09:39:47 | FromDiscord | <Recruit_main707> if we consider rust and c the same level of control/performance, ye |
09:39:50 | FromDiscord | <Goel> (edit) https://takahser.github.io/tldr/rust-performance-safety.png↵Where would you place Nim on this graph?↵Safety goes from 1 to 10↵Control/Performance goes from 1 to 10 |
09:40:26 | FromDiscord | <ElegantBeef> Yea the generic term "safety" doesnt mean much |
09:40:55 | FromDiscord | <Recruit_main707> there was a web wich explained safety in multiple langs... |
09:40:58 | FromDiscord | <Recruit_main707> let me see |
09:41:11 | FromDiscord | <ElegantBeef> To reference rick and morty, I've seen what rust considers unsafe 😄 |
09:41:23 | FromDiscord | <Goel> I read "safety" as: This programming language tries his best to prevent you to get Error/bugs prior compile time |
09:43:53 | FromDiscord | <Recruit_main707> http://www.toodarkpark.org/computers/humor/shoot-self-in-foot.html |
09:43:53 | FromDiscord | <mratsim> I don't see how C++ can be slower than C. |
09:44:12 | FromDiscord | <mratsim> just like Nim, if you write C++ like C it's the same performance. |
09:44:18 | FromDiscord | <ElegantBeef> There is nothing stopping you to write Nim like C but with different syntax so i dont think that's a fantastic metric, unless you mean "when writing idiomatic" |
09:44:34 | FromDiscord | <mratsim> also destructors improved C++ safety a lot |
09:45:24 | FromDiscord | <mratsim> I don't consider Rust data race safe for example. You need formal verification to be data race free, whatever people say. |
09:47:57 | FromDiscord | <Goel> Also i have another question, let's say im running out of Examples and Tutorials... Which would be considered the "closer" language to have a look at for their Examples/Tutorial and trying to test them on Nim? |
09:48:21 | FromDiscord | <Goel> (edit) "Tutorials..." => "Tutorials in the Nim references..." |
09:51:49 | ForumUpdaterBot | New thread by Vinyll: Immutable vs mutable, see https://forum.nim-lang.org/t/7443 |
09:53:18 | * | fanta1 joined #nim |
09:54:41 | FromDiscord | <mratsim> Are you a low-level dev or a high-level dev? |
09:55:19 | FromDiscord | <mratsim> If you come from C, C++, Rust or even Go I think it's actually easier to pick up Nim. |
09:55:46 | FromDiscord | <Goel> I have no experience in C or C++, i have some on Rust and Python |
09:55:57 | FromDiscord | <mratsim> We recruited Go engineers and they could grasp and produce excellent code in a month despite having a huge codebase and very advanced concepts (cryptograph, blockchain, networking). |
09:56:19 | FromDiscord | <mratsim> Rust will help a lot I think. |
09:56:38 | FromDiscord | <mratsim> Python will help regarding the loss of curly braces :p |
09:57:00 | FromDiscord | <mratsim> you can have a look at this: https://github.com/nim-lang/Nim/wiki/Nim-for-Python-Programmers |
09:57:13 | FromDiscord | <Goel> I'll take a look thanks |
09:57:33 | FromDiscord | <mratsim> Regarding safety, this is what I wrote for our security auditor: https://nimbus.guide/auditors-book/ |
09:58:07 | FromDiscord | <mratsim> (I'm working at Status and we are writing a Nim client for the Ethereum 2 blockchain, live since December 1 and securing $4B USD of assets at the moment) |
09:58:58 | FromDiscord | <mratsim> It uses state of the art cryptography that we helped push a internet standard for and state of the art P2P networking. |
09:59:52 | FromDiscord | <Goel> Mostly about "safety" i was just concerned about Implicity, like i was looking about something basic examples on Scala, and i noticed that if you define a variabile = 1 + "2" it will automatically convert it to a string "3" and thats stupid, nothing like that exist on Rust fortunatly |
10:01:05 | FromDiscord | <ElegantBeef> That's just intelligent type safety |
10:01:10 | FromDiscord | <ElegantBeef> Nim's loaded full of it 😄 |
10:01:48 | FromDiscord | <mratsim> there is no integer promotion thankfully |
10:01:53 | FromDiscord | <ElegantBeef> Most conversion in Nim have to be done explicitly unless you have a `converter` which are generally frowned upon unless the use case is reasonable |
10:02:12 | FromDiscord | <mratsim> you need to explicitly do `import std/lenientops` if you want more implicit conversion. |
10:03:00 | FromDiscord | <mratsim> also generics usually remove the need of conversion. Just write generic proc. |
10:03:16 | FromDiscord | <mratsim> lenientops is mostly for float->int covnersion |
10:03:21 | FromDiscord | <Rika> Oh man generics are legitimately a blessing |
10:04:29 | FromDiscord | <Rika> And no you can’t do JavaScript style fuckery in Nim unless you force it to do so |
10:04:50 | FromDiscord | <ElegantBeef> It's flexible, but it requires you to push it |
10:05:09 | FromDiscord | <Goel> Im just complaining about the "design" of Scala for the little i know, why would you set that int to string convertion to Default? I don't understand, but me as a noob in program language i want to get an error if i try to add an Int to a String, and not an implicit conversion that i never asked |
10:05:27 | FromDiscord | <Rika> Don’t worry then |
10:05:31 | FromDiscord | <Rika> You get those errors here |
10:05:37 | FromDiscord | <ElegantBeef> Just shit talk scala and move along 😛 |
10:05:54 | FromDiscord | <Rika> Though Nim’s errors are still a bit hard to read |
10:05:54 | FromDiscord | <ElegantBeef> Just dont let jsgrant see you say anything like that |
10:06:09 | FromDiscord | <Rika> Isn’t he more of a Common guy |
10:06:15 | FromDiscord | <mratsim> to be faire, I just had a Java program throw me errors and they are haaaaaaarrrddd |
10:06:17 | FromDiscord | <ElegantBeef> He likes CL and scala |
10:06:24 | FromDiscord | <mratsim> (edit) "faire," => "fair," |
10:06:32 | FromDiscord | <ElegantBeef> Yea you need a cvs reciept to be able to read a java error message |
10:06:36 | FromDiscord | <Rika> Lol |
10:07:27 | FromDiscord | <ElegantBeef> One super long namespaces/packages, two super long stack traces, that i think go far enough back until before the first jvm was made |
10:07:52 | FromDiscord | <Rika> Nim has insane length stack traces for async though |
10:08:07 | FromDiscord | <ElegantBeef> Havent seen them |
10:08:12 | FromDiscord | <Rika> How |
10:08:20 | FromDiscord | <ElegantBeef> I've only ever used async once |
10:08:21 | FromDiscord | <Rika> Do you never use async |
10:08:25 | FromDiscord | <Rika> What the hell |
10:08:31 | FromDiscord | <Rika> I use it basically all the time |
10:08:35 | FromDiscord | <ElegantBeef> I dont see the benefit |
10:08:39 | FromDiscord | <Rika> It’s so useful |
10:08:41 | FromDiscord | <Rika> What |
10:08:51 | FromDiscord | <Goel> Is Nim good even for Machine Learning and Data Science? (even though usually they consider better at this Python or the new Julia or R)? |
10:08:55 | FromDiscord | <Rika> Man the fuck kinda programs do you write |
10:08:57 | FromDiscord | <ElegantBeef> I do small things that i dont see/feel the need to async |
10:09:05 | FromDiscord | <ElegantBeef> Mratsim is the guy to talk to about ML and the like |
10:09:06 | FromDiscord | <Rika> I think it’s a good language for that |
10:09:32 | FromDiscord | <Rika> If it’s small sure but anything long running should be async IMO |
10:09:35 | FromDiscord | <mratsim> It has a lot of potential, but we need time to build the tools |
10:09:42 | FromDiscord | <ElegantBeef> Eh i've got threads |
10:09:48 | FromDiscord | <Rika> That’s just awful |
10:10:00 | FromDiscord | <ElegantBeef> My most complex nim software is using threads for watching git branches and starting unity builds |
10:10:00 | FromDiscord | <Rika> You don’t even get errors there sometimes |
10:10:15 | FromDiscord | <Rika> You don’t need threads for that |
10:10:25 | FromDiscord | <Rika> What the fuck dude |
10:10:40 | FromDiscord | <Rika> Smh https://shouldiusethreads.com |
10:10:54 | FromDiscord | <mratsim> @Goel https://github.com/nim-lang/needed-libraries/issues/77 and https://discord.com/channels/371759389889003530/755344160592101389/791367184541941760 |
10:10:54 | disbot | ➥ [Meta] Are we scientists yet? |
10:11:27 | FromDiscord | <ElegantBeef> I havent had any issues with threading yet and it works fine it seems |
10:11:38 | FromDiscord | <mratsim> > But, perhaps your problem is CPU bound. In that case — you still shouldn't use threads! ↵That's so wrong |
10:11:41 | FromDiscord | <ElegantBeef> I'm not sharing anything cross threads |
10:12:10 | FromDiscord | <ElegantBeef> Each thread is watching a single git branch, and if it gets a commit it starts 3 async unity builds, one for each desktop platform then uploads them to the GCS or github |
10:12:24 | FromDiscord | <ElegantBeef> Seems threads are perfectly fine for that |
10:12:25 | FromDiscord | <Rika> Yes but in this case beef isn’t cpu bound h |
10:12:50 | FromDiscord | <ElegantBeef> No i'm just you know blocked by building unity projects which can take 5-10 minutes |
10:13:06 | FromDiscord | <Rika> You can start processes asynchronously can’t you |
10:13:33 | FromDiscord | <mratsim> sent a long message, see http://ix.io/2NCZ |
10:13:37 | FromDiscord | <ElegantBeef> Feel free do audit this, some of it is overly ugly https://github.com/beef331/unity-auto-builder |
10:13:44 | FromDiscord | <Rika> Good to know what’s wrong about it, I’d like to know why it’s wrong though |
10:13:49 | FromDiscord | <mratsim> I agree on the event loop and coroutine part |
10:14:24 | FromDiscord | <ElegantBeef> I pretty much never touch async being close to "single loop game dev go brrr" |
10:14:34 | FromDiscord | <mratsim> "the user of the program may have a more novel idea about how to distribute work", using threads doesn't remove the control from the user. |
10:14:50 | FromDiscord | <ElegantBeef> Async isnt built on game time which results in not many use cases for my size of projects |
10:14:59 | FromDiscord | <Rika> What is game time |
10:15:07 | FromDiscord | <mratsim> a much better architecture is putting a service per thread, and using channels to establish producer->consumer pipelines. |
10:15:17 | FromDiscord | <Rika> Most of the things I make are tiny web servers that do kinda random stuff |
10:15:20 | FromDiscord | <ElegantBeef> Game time is the time of the actual game which is increased by `deltaTime timeScale` |
10:15:23 | FromDiscord | <mratsim> you don't need shared memory to do threads |
10:15:50 | FromDiscord | <mratsim> microservices are basically producers-> consumers pipe. |
10:15:50 | FromDiscord | <Rika> I think the author is unaware of channels |
10:15:51 | FromDiscord | <Rika> Maybe |
10:15:53 | FromDiscord | <Rika> No clue |
10:15:58 | FromDiscord | <mratsim> I think so |
10:16:02 | FromDiscord | <lqdev> processes are more costly and quite a bit more flaky to work with than threads ime |
10:16:10 | FromDiscord | <Rika> Yes they are more costly |
10:16:14 | FromDiscord | <Rika> Not sure on flaky |
10:16:19 | FromDiscord | <lqdev> in nim, at least |
10:16:28 | FromDiscord | <lqdev> coordinating a few ffmpeg processes was a nightmare |
10:16:47 | FromDiscord | <mratsim> it's complex to share data between process because of separate address space |
10:17:05 | FromDiscord | <mratsim> suddenly you involve kernel context switch for pipes or need to do some mmap magic. |
10:17:14 | FromDiscord | <ElegantBeef> But dont worry rika i used async in there https://github.com/beef331/unity-auto-builder/blob/master/src/unity_auto_builder.nim#L216 |
10:17:18 | FromDiscord | <Rika> Context switch :monkaChrist: |
10:17:42 | FromDiscord | <mratsim> kernel context switch means flushing all your cache and goodbye high performance computing |
10:17:55 | FromDiscord | <lqdev> while i do agree with some points on that website, multithreading still has its uses |
10:17:56 | FromDiscord | <Rika> Yeah I’ve heard it’s basically death to speed |
10:18:15 | FromDiscord | <Rika> I agree with any of the points when not cpu bound |
10:18:20 | FromDiscord | <lqdev> yeah |
10:18:28 | FromDiscord | <mratsim> It's related to what I posted yesterday, RAM is very slow compaed to a CPU |
10:18:29 | FromDiscord | <Rika> I’m not well versed in cpu bound processing so I have no opinion on that |
10:18:51 | FromDiscord | <lqdev> @mratsim you seem to collect tons of these latency comparison diagrams btw |
10:19:03 | FromDiscord | <Rika> They’re useful haha |
10:19:06 | FromDiscord | <lqdev> yeah |
10:19:09 | FromDiscord | <mratsim> I just google search for them when needed |
10:19:10 | FromDiscord | <lqdev> very good analogies |
10:19:14 | FromDiscord | <ElegantBeef> I do have to say i haven ran my build system for an extended period so i have no clue how reliable it is |
10:19:20 | FromDiscord | <ElegantBeef> (edit) "haven" => "havent" |
10:19:25 | FromDiscord | <Rika> Inb4 unreliable |
10:19:40 | FromDiscord | <mratsim> they are all linked in the comment of this gist: https://gist.github.com/jboner/2841832 |
10:19:45 | FromDiscord | <ElegantBeef> It was working fine when it was just uploading to github |
10:19:53 | FromDiscord | <ElegantBeef> My friend hasnt got around to setting it up for his game yet |
10:20:31 | FromDiscord | <ElegantBeef> But this is why i'm not allowed to develop, i'll stop working on stuff to make other software, working on cords and having to swap between build platforms caused me to make that |
10:20:39 | FromDiscord | <ElegantBeef> Bad software sucks worse than badly written software 😛 |
10:20:45 | FromDiscord | <mratsim> One thing for sure is that, before thinking threads for optimizations, you need to optimize the algorithm and if still slow, check if the bottle neck is IO, memory or CPU |
10:21:20 | FromDiscord | <mratsim> IO is fixable with caches. |
10:21:22 | FromDiscord | <lqdev> true that |
10:21:24 | FromDiscord | <mratsim> memory is hard |
10:21:30 | FromDiscord | <mratsim> CPu is multithreading |
10:21:36 | FromDiscord | <lqdev> i wanted to multithread my parser but then i just made it suck less |
10:21:44 | FromDiscord | <lqdev> and now it's one of the fastest in its kind |
10:21:56 | FromDiscord | <lqdev> threads would only slow it down tbh |
10:22:00 | FromDiscord | <ElegantBeef> Now go work on the nimvm to get it faster 😄 |
10:22:05 | FromDiscord | <lqdev> n |
10:22:30 | FromDiscord | <mratsim> for parsing you need to do a prepass to find the byte indices of the new lines or whatever important marker you can use. |
10:22:46 | FromDiscord | <mratsim> I don't think the NimVM is bottlenecked on parsing. |
10:22:51 | FromDiscord | <lqdev> yeah but if parsing a large file takes like, 70ms, then what's the point |
10:22:54 | FromDiscord | <mratsim> likely bottlenecked on type resolution |
10:24:56 | FromDiscord | <ElegantBeef> Well it also has more passes which i assume other interpreters dont deal with, though i'm speaking out of my arse like 99% of the time |
10:25:45 | FromDiscord | <Rika> What do y’all use for web servers? Prologue? |
10:28:19 | FromDiscord | <ElegantBeef> I'd tell you i used anything 😄 |
10:29:16 | FromDiscord | <ElegantBeef> Anyway, i sleep now, send your hatemail to your least favourite usuer |
10:29:18 | FromDiscord | <ElegantBeef> (edit) "usuer" => "usur" |
10:29:23 | FromDiscord | <ElegantBeef> I cannot spell |
10:30:32 | FromDiscord | <Rika> Lol |
10:35:38 | PMunch | I modified my local times.nim with this: http://ix.io/2ND7 and this is the output: http://ix.io/2ND6 |
10:35:44 | PMunch | I'm seriously confused |
10:56:34 | PMunch | It just seems like the underlying `localtime` returns completely wrong results.. |
10:58:09 | PMunch | But it only seems to happen on the RPi |
11:16:40 | * | antranigv_ joined #nim |
11:17:01 | * | antranigv quit (Ping timeout: 256 seconds) |
11:17:27 | FromDiscord | <dom96> > I pretty much never touch async being close to "single loop game dev go brrr"↵Stardust uses async 😄 |
11:18:03 | FromDiscord | <dom96> Avoid threads like the plague |
11:20:03 | * | mmohammadi9812 joined #nim |
11:27:44 | FromDiscord | <Meowz> I've just used asyncio on python so just for my understanding: Nim's async works the same right. An event loop and procedures need to be I/O bound. Like you can't await an cpu intensive task right. You would still need threads there. I barely know what I'm talking about so excuse me please 😄 |
11:28:48 | FromDiscord | <Meowz> (edit) "right." => "right which would block the event loop." |
11:28:55 | PMunch | This is even more confusing, added a try/catch around it and now it just stopped outputting half my echoes.. |
11:31:01 | * | fanta1 quit (Quit: fanta1) |
11:31:59 | FromDiscord | <dom96> @Meowz you are exactly correct |
11:39:37 | FromDiscord | <dom96> PMunch: consider whether endianess is a problem, since the RPi uses arm the endianess will be different to what we typically run this code on |
11:40:06 | PMunch | The problem is that it sometimes works just fine for the same timestamp.. |
11:45:37 | FromDiscord | <dom96> that usually implies a memory corruption somewhere |
11:45:54 | FromDiscord | <dom96> if you compile with arc and use valgrind it could give you some hints |
11:51:43 | FromDiscord | <Rika> i believe all async works like that |
11:54:02 | * | hmmm joined #nim |
11:55:01 | hmmm | dear nimions, what can I do after a if is I want nothing do be done? like pass or discard smth? |
11:55:22 | hmmm | jesus my english |
11:55:26 | FromDiscord | <lqdev> discard |
11:55:44 | FromDiscord | <lqdev> `if yourCondition: discard` |
11:55:56 | hmmm | perfect, I'll try ty my bro |
11:55:57 | FromDiscord | <lqdev> though then your if is a noop so you may as well remove it completely |
11:56:24 | hmmm | ye I was thinking the same but at the same time I didn't want to touch something that is working lol |
11:56:51 | FromDiscord | <lqdev> well it's fine if that if statement is part of code that is still wip |
11:57:45 | hmmm | perfect it works |
11:57:53 | hmmm | <3 |
12:04:14 | hmmm | ok time for some eyecandy, what can I use to output colored text to terminal |
12:08:30 | FromDiscord | <Rika> terminal module |
12:08:35 | FromDiscord | <Rika> in stdlib |
12:08:40 | FromDiscord | <Rika> unless youre in windows |
12:08:50 | FromDiscord | <Rika> needs more fuckery to get that working in windows i believe |
12:09:36 | hmmm | Rika! <3 |
12:09:50 | hmmm | ye I'm on linux for this one |
12:09:57 | hmmm | I'll look into it |
12:10:26 | FromDiscord | <Rika> oh yeah hi /hm+/ |
12:20:20 | FromDiscord | <Meowz> terminal works fine in windows |
12:20:32 | FromDiscord | <Meowz> well at least colors and basics |
12:20:43 | FromDiscord | <Rika> might be changed since windows terminal app |
12:20:54 | FromDiscord | <Rika> (edit) "be" => "have" |
12:21:07 | FromDiscord | <lqdev> works even on cmd.exe |
12:21:11 | FromDiscord | <Meowz> yup |
12:21:28 | FromDiscord | <Rika> good to know |
12:21:28 | FromDiscord | <lqdev> it doesn't work on git bash though |
12:21:37 | FromDiscord | <lqdev> or so i think |
12:21:50 | FromDiscord | <lqdev> nim compiler output is not colored on git bash for some reason |
12:23:27 | * | rockcavera joined #nim |
12:27:36 | hmmm | my brain is too small to understand terminal documentation: basically if I call setStyle(styleBright =1) my next echo lines will be bright? |
12:28:26 | FromDiscord | <Recruit_main707> anyone knows why i get `Error: invalid type: 'PNGResult' for var`↵with this code? `var png: PNGResult`↵https://github.com/jangko/nimPNG/blob/316cfbb795ec2984a36e03faf8c9a9550dde1108/nimPNG.nim#L232-L236 |
12:28:27 | FromDiscord | <Rika> yes |
12:28:39 | hmmm | ty Rika I'll try |
12:28:48 | FromDiscord | <Rika> @Recruit_main707 missing generic parameter? |
12:29:11 | FromDiscord | <Recruit_main707> tanks |
12:29:14 | FromDiscord | <Recruit_main707> thanks lol |
12:29:47 | FromDiscord | <Rika> lol |
13:00:33 | * | sepples_ quit (*.net *.split) |
13:00:33 | * | mmohammadi9812 quit (*.net *.split) |
13:00:33 | * | Vladar quit (*.net *.split) |
13:00:34 | * | zedeus quit (*.net *.split) |
13:00:34 | * | muffindrake quit (*.net *.split) |
13:00:34 | * | Avahe[m] quit (*.net *.split) |
13:00:34 | * | Northstrider[m] quit (*.net *.split) |
13:00:34 | * | beatmox quit (*.net *.split) |
13:00:34 | * | qwertfisch quit (*.net *.split) |
13:00:34 | * | BitPuffin quit (*.net *.split) |
13:00:34 | * | MTRNord quit (*.net *.split) |
13:00:34 | * | awici[m] quit (*.net *.split) |
13:00:34 | * | unclechu quit (*.net *.split) |
13:00:34 | * | Zoom[m] quit (*.net *.split) |
13:00:35 | * | lnxw37d4 quit (*.net *.split) |
13:00:35 | * | William[m]1 quit (*.net *.split) |
13:00:36 | * | koltrast quit (*.net *.split) |
13:00:36 | * | BauxnaMatrix[m] quit (*.net *.split) |
13:00:36 | * | codic quit (*.net *.split) |
13:00:36 | * | Juno[m] quit (*.net *.split) |
13:00:36 | * | cmc[m] quit (*.net *.split) |
13:00:37 | * | planetis[m] quit (*.net *.split) |
13:00:37 | * | Ekho quit (*.net *.split) |
13:00:37 | * | zielmicha__ quit (*.net *.split) |
13:00:37 | * | jjido quit (*.net *.split) |
13:00:37 | * | nikki93 quit (*.net *.split) |
13:00:37 | * | saem quit (*.net *.split) |
13:00:37 | * | npgm quit (*.net *.split) |
13:00:37 | * | EastByte quit (*.net *.split) |
13:00:37 | * | deepend quit (*.net *.split) |
13:00:37 | * | antranigv_ quit (*.net *.split) |
13:00:37 | * | PMunch quit (*.net *.split) |
13:00:37 | * | leorize[m] quit (*.net *.split) |
13:00:38 | * | silvernode[m] quit (*.net *.split) |
13:00:38 | * | d10n-work quit (*.net *.split) |
13:00:38 | * | crem quit (*.net *.split) |
13:00:38 | * | sknebel quit (*.net *.split) |
13:00:38 | * | leorize quit (*.net *.split) |
13:00:38 | * | vindaar[m] quit (*.net *.split) |
13:00:38 | * | jaens[m] quit (*.net *.split) |
13:00:38 | * | lytedev[m] quit (*.net *.split) |
13:00:38 | * | j-james[m] quit (*.net *.split) |
13:00:38 | * | Clonkk[m] quit (*.net *.split) |
13:00:39 | * | stisa[m] quit (*.net *.split) |
13:00:39 | * | hpyc9 quit (*.net *.split) |
13:00:39 | * | tsujp1 quit (*.net *.split) |
13:00:39 | * | rockcavera quit (*.net *.split) |
13:00:39 | * | cyraxjoe quit (*.net *.split) |
13:00:39 | * | narimiran quit (*.net *.split) |
13:00:39 | * | spiderstew_ quit (*.net *.split) |
13:00:39 | * | dv^_^9 quit (*.net *.split) |
13:00:39 | * | jholland__ quit (*.net *.split) |
13:00:39 | * | xet7 quit (*.net *.split) |
13:00:39 | * | Lord_Nightmare quit (*.net *.split) |
13:00:39 | * | Amun_Ra quit (*.net *.split) |
13:00:39 | * | Zevv quit (*.net *.split) |
13:00:39 | * | so quit (*.net *.split) |
13:00:39 | * | idxu quit (*.net *.split) |
13:00:39 | * | FromDiscord quit (*.net *.split) |
13:00:39 | * | hyiltiz quit (*.net *.split) |
13:00:40 | * | junland quit (*.net *.split) |
13:00:40 | * | acidx quit (*.net *.split) |
13:00:40 | * | euantorano quit (*.net *.split) |
13:00:40 | * | kinkinkijkin quit (*.net *.split) |
13:00:40 | * | Avatarfighter[m] quit (*.net *.split) |
13:00:40 | * | wasted_youth quit (*.net *.split) |
13:00:40 | * | notchris quit (*.net *.split) |
13:00:40 | * | Prestige quit (*.net *.split) |
13:00:40 | * | D_ quit (*.net *.split) |
13:00:40 | * | Jjp137 quit (*.net *.split) |
13:00:40 | * | ehmry quit (*.net *.split) |
13:00:40 | * | Yardanico quit (*.net *.split) |
13:00:40 | * | opal quit (*.net *.split) |
13:00:40 | * | surma quit (*.net *.split) |
13:00:40 | * | ormiret quit (*.net *.split) |
13:00:40 | * | xace quit (*.net *.split) |
13:00:40 | * | def- quit (*.net *.split) |
13:00:40 | * | blueberrypie quit (*.net *.split) |
13:00:40 | * | Q-Master quit (*.net *.split) |
13:00:40 | * | nekits07 quit (*.net *.split) |
13:00:40 | * | DrWhax quit (*.net *.split) |
13:00:41 | * | hmmm quit (*.net *.split) |
13:00:41 | * | sz0 quit (*.net *.split) |
13:00:41 | * | r4vi quit (*.net *.split) |
13:00:41 | * | fowl quit (*.net *.split) |
13:00:41 | * | Adeon quit (*.net *.split) |
13:00:41 | * | Evolver quit (*.net *.split) |
13:00:41 | * | skelett quit (*.net *.split) |
13:00:41 | * | FromGitter quit (*.net *.split) |
13:00:41 | * | Fish-Face quit (*.net *.split) |
13:00:41 | * | oprypin quit (*.net *.split) |
13:00:41 | * | Kurre[m] quit (*.net *.split) |
13:00:42 | * | VijayMarupudi[m] quit (*.net *.split) |
13:00:42 | * | ChanServ quit (*.net *.split) |
13:00:42 | * | kitech1 quit (*.net *.split) |
13:00:42 | * | evbo quit (*.net *.split) |
13:00:42 | * | letto quit (*.net *.split) |
13:00:42 | * | mal`` quit (*.net *.split) |
13:00:42 | * | cornfeedhobo quit (*.net *.split) |
13:00:42 | * | clemens3 quit (*.net *.split) |
13:00:42 | * | nickster quit (*.net *.split) |
13:00:42 | * | wowi42 quit (*.net *.split) |
13:00:42 | * | casaca quit (*.net *.split) |
13:00:42 | * | mfiano quit (*.net *.split) |
13:00:42 | * | jxy quit (*.net *.split) |
13:00:42 | * | adnan338 quit (*.net *.split) |
13:00:42 | * | sacredfr- quit (*.net *.split) |
13:00:42 | * | hoek quit (*.net *.split) |
13:00:42 | * | literal quit (*.net *.split) |
13:00:42 | * | Cthalupa quit (*.net *.split) |
13:00:42 | * | lbart quit (*.net *.split) |
13:00:42 | * | synthmeat quit (*.net *.split) |
13:00:43 | * | nisstyre quit (*.net *.split) |
13:00:43 | * | matthias[m] quit (*.net *.split) |
13:00:43 | * | mahlon_ quit (*.net *.split) |
13:00:43 | * | himup[m] quit (*.net *.split) |
13:00:43 | * | sirn quit (*.net *.split) |
13:00:43 | * | kwilczynski quit (*.net *.split) |
13:00:43 | * | grobe0ba quit (*.net *.split) |
13:00:43 | * | disbot quit (*.net *.split) |
13:00:43 | * | njoseph quit (*.net *.split) |
13:00:43 | * | pbb quit (*.net *.split) |
13:00:43 | * | astronavt quit (*.net *.split) |
13:00:43 | * | gangstacat quit (*.net *.split) |
13:00:43 | * | Cadey quit (*.net *.split) |
13:00:43 | * | oz quit (*.net *.split) |
13:00:43 | * | bozaloshtsh quit (*.net *.split) |
13:00:43 | * | stefantalpalaru quit (*.net *.split) |
13:00:43 | * | JStoker quit (*.net *.split) |
13:00:43 | * | vqrs quit (*.net *.split) |
13:00:43 | * | blackbeard420 quit (*.net *.split) |
13:00:43 | * | dddddd quit (*.net *.split) |
13:00:43 | * | revere quit (*.net *.split) |
13:00:43 | * | kali_ quit (*.net *.split) |
13:00:43 | * | drewr quit (*.net *.split) |
13:00:43 | * | dgb quit (*.net *.split) |
13:00:43 | * | giaco quit (*.net *.split) |
13:00:43 | * | federico3 quit (*.net *.split) |
13:00:43 | * | shashlick quit (*.net *.split) |
13:00:44 | * | d10n quit (*.net *.split) |
13:00:44 | * | dsrw_ quit (*.net *.split) |
13:00:44 | * | oddp quit (*.net *.split) |
13:00:44 | * | actuallybatman quit (*.net *.split) |
13:00:44 | * | lain quit (*.net *.split) |
13:00:44 | * | jken quit (*.net *.split) |
13:00:44 | * | disruptek quit (*.net *.split) |
13:00:44 | * | mwbrown quit (*.net *.split) |
13:00:44 | * | ldlework quit (*.net *.split) |
13:00:44 | * | CcxWrk quit (*.net *.split) |
13:00:44 | * | Onionhammer quit (*.net *.split) |
13:00:44 | * | Oddmonger quit (*.net *.split) |
13:00:44 | * | GaveUp quit (*.net *.split) |
13:00:44 | * | shodan45 quit (*.net *.split) |
13:00:44 | * | cadmium[m] quit (*.net *.split) |
13:00:44 | * | ee7[m] quit (*.net *.split) |
13:00:45 | * | rayman22201 quit (*.net *.split) |
13:00:45 | * | mids quit (*.net *.split) |
13:00:45 | * | voltist quit (*.net *.split) |
13:00:45 | * | ForumUpdaterBot quit (*.net *.split) |
13:01:21 | * | planetis[m] joined #nim |
13:01:21 | * | cmc[m] joined #nim |
13:01:21 | * | Juno[m] joined #nim |
13:01:21 | * | codic joined #nim |
13:01:21 | * | BauxnaMatrix[m] joined #nim |
13:01:21 | * | tane joined #nim |
13:01:21 | * | mmohammadi9812 joined #nim |
13:01:21 | * | rockcavera joined #nim |
13:01:21 | * | hmmm joined #nim |
13:01:21 | * | antranigv_ joined #nim |
13:01:21 | * | adnan338 joined #nim |
13:01:21 | * | Vladar joined #nim |
13:01:21 | * | oddp joined #nim |
13:01:21 | * | PMunch joined #nim |
13:01:21 | * | cyraxjoe joined #nim |
13:01:21 | * | narimiran joined #nim |
13:01:21 | * | zedeus joined #nim |
13:01:21 | * | spiderstew_ joined #nim |
13:01:21 | * | muffindrake joined #nim |
13:01:21 | * | BitPuffin joined #nim |
13:01:21 | * | Avahe[m] joined #nim |
13:01:21 | * | leorize[m] joined #nim |
13:01:21 | * | MTRNord joined #nim |
13:01:21 | * | euantorano joined #nim |
13:01:21 | * | kinkinkijkin joined #nim |
13:01:21 | * | vindaar[m] joined #nim |
13:01:21 | * | matthias[m] joined #nim |
13:01:21 | * | awici[m] joined #nim |
13:01:21 | * | mahlon_ joined #nim |
13:01:21 | * | jaens[m] joined #nim |
13:01:21 | * | sz0 joined #nim |
13:01:21 | * | sepples_ joined #nim |
13:01:21 | * | Kurre[m] joined #nim |
13:01:21 | * | Northstrider[m] joined #nim |
13:01:21 | * | Ekho joined #nim |
13:01:21 | * | dv^_^9 joined #nim |
13:01:21 | * | unclechu joined #nim |
13:01:21 | * | lytedev[m] joined #nim |
13:01:21 | * | Avatarfighter[m] joined #nim |
13:01:21 | * | himup[m] joined #nim |
13:01:21 | * | cadmium[m] joined #nim |
13:01:21 | * | Zoom[m] joined #nim |
13:01:21 | * | ee7[m] joined #nim |
13:01:21 | * | silvernode[m] joined #nim |
13:01:21 | * | j-james[m] joined #nim |
13:01:21 | * | Clonkk[m] joined #nim |
13:01:21 | * | VijayMarupudi[m] joined #nim |
13:01:21 | * | stisa[m] joined #nim |
13:01:21 | * | lnxw37d4 joined #nim |
13:01:21 | * | William[m]1 joined #nim |
13:01:21 | * | d10n-work joined #nim |
13:01:21 | * | qwertfisch joined #nim |
13:01:21 | * | beatmox joined #nim |
13:01:21 | * | xace joined #nim |
13:01:21 | * | def- joined #nim |
13:01:21 | * | idxu joined #nim |
13:01:21 | * | kitech1 joined #nim |
13:01:21 | * | blueberrypie joined #nim |
13:01:21 | * | sirn joined #nim |
13:01:21 | * | blackbeard420 joined #nim |
13:01:21 | * | hpyc9 joined #nim |
13:01:21 | * | evbo joined #nim |
13:01:21 | * | kwilczynski joined #nim |
13:01:21 | * | sacredfr- joined #nim |
13:01:21 | * | r4vi joined #nim |
13:01:21 | * | grobe0ba joined #nim |
13:01:21 | * | wasted_youth joined #nim |
13:01:21 | * | letto joined #nim |
13:01:21 | * | koltrast joined #nim |
13:01:21 | * | disbot joined #nim |
13:01:21 | * | hoek joined #nim |
13:01:21 | * | notchris joined #nim |
13:01:21 | * | Prestige joined #nim |
13:01:21 | * | fowl joined #nim |
13:01:21 | * | Adeon joined #nim |
13:01:21 | * | Evolver joined #nim |
13:01:21 | * | zielmicha__ joined #nim |
13:01:21 | * | jholland__ joined #nim |
13:01:21 | * | rayman22201 joined #nim |
13:01:21 | * | jjido joined #nim |
13:01:21 | * | nikki93 joined #nim |
13:01:21 | * | saem joined #nim |
13:01:21 | * | npgm joined #nim |
13:01:21 | * | mids joined #nim |
13:01:21 | * | xet7 joined #nim |
13:01:21 | * | FromDiscord joined #nim |
13:01:21 | * | leorize joined #nim |
13:01:21 | * | Q-Master joined #nim |
13:01:21 | * | Lord_Nightmare joined #nim |
13:01:21 | * | mal`` joined #nim |
13:01:21 | * | dddddd joined #nim |
13:01:21 | * | njoseph joined #nim |
13:01:21 | * | D_ joined #nim |
13:01:21 | * | hyiltiz joined #nim |
13:01:21 | * | cornfeedhobo joined #nim |
13:01:21 | * | pbb joined #nim |
13:01:21 | * | clemens3 joined #nim |
13:01:21 | * | actuallybatman joined #nim |
13:01:21 | * | Jjp137 joined #nim |
13:01:21 | * | Amun_Ra joined #nim |
13:01:21 | * | nickster joined #nim |
13:01:21 | * | junland joined #nim |
13:01:21 | * | nekits07 joined #nim |
13:01:21 | * | astronavt joined #nim |
13:01:21 | * | revere joined #nim |
13:01:21 | * | skelett joined #nim |
13:01:21 | * | wowi42 joined #nim |
13:01:21 | * | ehmry joined #nim |
13:01:21 | * | casaca joined #nim |
13:01:21 | * | DrWhax joined #nim |
13:01:21 | * | kali_ joined #nim |
13:01:21 | * | EastByte joined #nim |
13:01:21 | * | deepend joined #nim |
13:01:21 | * | drewr joined #nim |
13:01:21 | * | lain joined #nim |
13:01:21 | * | jken joined #nim |
13:01:21 | * | Yardanico joined #nim |
13:01:21 | * | tsujp1 joined #nim |
13:01:21 | * | sknebel joined #nim |
13:01:21 | * | crem joined #nim |
13:01:21 | * | literal joined #nim |
13:01:21 | * | gangstacat joined #nim |
13:01:21 | * | Cadey joined #nim |
13:01:21 | * | Cthalupa joined #nim |
13:01:21 | * | lbart joined #nim |
13:01:21 | * | oz joined #nim |
13:01:21 | * | acidx joined #nim |
13:01:21 | * | voltist joined #nim |
13:01:21 | * | FromGitter joined #nim |
13:01:21 | * | Fish-Face joined #nim |
13:01:21 | * | so joined #nim |
13:01:21 | * | Zevv joined #nim |
13:01:21 | * | ormiret joined #nim |
13:01:21 | * | surma joined #nim |
13:01:21 | * | opal joined #nim |
13:01:21 | * | oprypin joined #nim |
13:01:21 | * | synthmeat joined #nim |
13:01:21 | * | disruptek joined #nim |
13:01:21 | * | dgb joined #nim |
13:01:21 | * | bozaloshtsh joined #nim |
13:01:21 | * | mfiano joined #nim |
13:01:21 | * | giaco joined #nim |
13:01:21 | * | GaveUp joined #nim |
13:01:21 | * | shodan45 joined #nim |
13:01:21 | * | d10n joined #nim |
13:01:21 | * | dsrw_ joined #nim |
13:01:21 | * | federico3 joined #nim |
13:01:21 | * | shashlick joined #nim |
13:01:21 | * | vqrs joined #nim |
13:01:21 | * | Oddmonger joined #nim |
13:01:21 | * | Onionhammer joined #nim |
13:01:21 | * | CcxWrk joined #nim |
13:01:21 | * | ldlework joined #nim |
13:01:21 | * | mwbrown joined #nim |
13:01:21 | * | nisstyre joined #nim |
13:01:21 | * | JStoker joined #nim |
13:01:21 | * | stefantalpalaru joined #nim |
13:01:21 | * | jxy joined #nim |
13:01:21 | * | ForumUpdaterBot joined #nim |
13:01:23 | * | reversem3 quit (Max SendQ exceeded) |
13:02:52 | * | mmohammadi9812 quit (Read error: Connection reset by peer) |
13:02:59 | * | BitPuffin quit (*.net *.split) |
13:02:59 | * | MTRNord quit (*.net *.split) |
13:02:59 | * | awici[m] quit (*.net *.split) |
13:02:59 | * | unclechu quit (*.net *.split) |
13:02:59 | * | Zoom[m] quit (*.net *.split) |
13:03:00 | * | lnxw37d4 quit (*.net *.split) |
13:03:00 | * | William[m]1 quit (*.net *.split) |
13:03:00 | * | koltrast quit (*.net *.split) |
13:03:11 | * | mmohammadi9812 joined #nim |
13:03:41 | * | Juno[m] quit (Ping timeout: 244 seconds) |
13:03:44 | * | Avahe[m] quit (Ping timeout: 240 seconds) |
13:03:51 | * | BitPuffin joined #nim |
13:03:51 | * | MTRNord joined #nim |
13:03:51 | * | awici[m] joined #nim |
13:03:51 | * | Zoom[m] joined #nim |
13:03:51 | * | lnxw37d4 joined #nim |
13:03:51 | * | William[m]1 joined #nim |
13:03:51 | * | koltrast joined #nim |
13:03:56 | * | Kurre[m] quit (Ping timeout: 240 seconds) |
13:03:56 | * | dilawar_uchiha[m quit (Ping timeout: 265 seconds) |
13:04:06 | * | lnxw37d4 quit (Max SendQ exceeded) |
13:04:08 | * | leorize[m] quit (Ping timeout: 246 seconds) |
13:04:09 | * | silvernode[m] quit (Ping timeout: 246 seconds) |
13:04:12 | * | BauxnaMatrix[m] quit (Ping timeout: 244 seconds) |
13:04:19 | * | vindaar[m] quit (Ping timeout: 260 seconds) |
13:04:20 | * | jaens[m] quit (Ping timeout: 260 seconds) |
13:04:20 | * | lytedev[m] quit (Ping timeout: 260 seconds) |
13:04:20 | * | j-james[m] quit (Ping timeout: 260 seconds) |
13:04:26 | * | VijayMarupudi[m] quit (Ping timeout: 240 seconds) |
13:04:31 | * | BitPuffin quit (Ping timeout: 258 seconds) |
13:04:31 | * | MTRNord quit (Ping timeout: 258 seconds) |
13:04:31 | * | awici[m] quit (Ping timeout: 258 seconds) |
13:04:31 | * | William[m]1 quit (Ping timeout: 258 seconds) |
13:04:43 | * | codic quit (Ping timeout: 244 seconds) |
13:04:43 | * | cmc[m] quit (Ping timeout: 244 seconds) |
13:04:43 | * | planetis[m] quit (Ping timeout: 244 seconds) |
13:04:50 | * | Avatarfighter[m] quit (Ping timeout: 264 seconds) |
13:04:53 | * | matthias[m] quit (Ping timeout: 272 seconds) |
13:04:53 | * | himup[m] quit (Ping timeout: 272 seconds) |
13:04:54 | * | Zoom[m] quit (Ping timeout: 258 seconds) |
13:04:54 | * | k0mpjut0r quit (Ping timeout: 265 seconds) |
13:05:05 | * | hmmm quit (Quit: WeeChat 2.8) |
13:05:25 | * | Zevv quit (Ping timeout: 261 seconds) |
13:05:39 | * | Zevv joined #nim |
13:05:39 | * | Zevv quit (Changing host) |
13:05:39 | * | Zevv joined #nim |
13:06:06 | * | sagax joined #nim |
13:08:23 | * | cadmium[m] quit (Ping timeout: 268 seconds) |
13:08:23 | * | ee7[m] quit (Ping timeout: 268 seconds) |
13:09:00 | * | Clonkk[m] quit (Ping timeout: 260 seconds) |
13:09:00 | * | stisa[m] quit (Ping timeout: 260 seconds) |
13:09:37 | * | Kaivo joined #nim |
13:10:04 | * | abm joined #nim |
13:17:01 | FromDiscord | <konsumlamm> idk what you were doing, but that is not true (at least by default), `1 + "2"` will result in `"12"` and even that is deprecated now |
13:18:13 | * | asdflkj joined #nim |
13:29:54 | * | Kurre[m] joined #nim |
13:30:04 | * | vindaar[m] joined #nim |
13:31:18 | * | leorize[m] joined #nim |
13:35:02 | * | silvernode[m] joined #nim |
13:36:14 | * | VijayMarupudi[m] joined #nim |
13:37:30 | * | ee7[m] joined #nim |
13:37:31 | * | cadmium[m] joined #nim |
13:38:20 | * | Clonkk[m] joined #nim |
13:38:20 | * | stisa[m] joined #nim |
13:38:30 | * | jaens[m] joined #nim |
13:38:43 | * | j-james[m] joined #nim |
13:39:02 | * | himup[m] joined #nim |
13:39:06 | * | matthias[m] joined #nim |
13:39:33 | * | Avatarfighter[m] joined #nim |
13:41:57 | * | hmmm joined #nim |
13:42:08 | * | k0mpjut0r joined #nim |
13:42:26 | * | dilawar_uchiha[m joined #nim |
13:42:45 | hmmm | haha my terminal colors are so pretty |
13:42:49 | hmmm | ty rika ! |
13:43:08 | hmmm | my current problem is that the colors stay after execution :o |
13:43:21 | hmmm | how do I reset to normal before terminating |
13:43:57 | * | Avahe[m] joined #nim |
13:44:02 | FromDiscord | <Yardanico> https://nim-lang.org/docs/terminal.html#resetAttributes |
13:44:10 | FromDiscord | <Yardanico> if you mean terminal module of course |
13:44:21 | hmmm | yardanico you absolute beauty, will try it just now |
13:44:56 | FromDiscord | <Yardanico> How safe is it to define a global int variable and modify from multiple threads? |
13:48:04 | * | k0mpjut0r quit (Ping timeout: 240 seconds) |
13:48:04 | * | himup[m] quit (Ping timeout: 240 seconds) |
13:48:24 | * | silvernode[m] quit (Ping timeout: 265 seconds) |
13:48:26 | * | stisa[m] quit (Ping timeout: 240 seconds) |
13:48:28 | * | j-james[m] quit (Ping timeout: 268 seconds) |
13:48:28 | * | Kurre[m] quit (Ping timeout: 268 seconds) |
13:48:36 | * | VijayMarupudi[m] quit (Ping timeout: 246 seconds) |
13:48:36 | * | Avahe[m] quit (Ping timeout: 258 seconds) |
13:48:36 | * | Clonkk[m] quit (Ping timeout: 258 seconds) |
13:48:36 | * | vindaar[m] quit (Ping timeout: 258 seconds) |
13:48:38 | * | dilawar_uchiha[m quit (Ping timeout: 244 seconds) |
13:48:56 | * | Avatarfighter[m] quit (Ping timeout: 246 seconds) |
13:48:59 | * | ee7[m] quit (Ping timeout: 258 seconds) |
13:49:05 | * | matthias[m] quit (Ping timeout: 268 seconds) |
13:49:05 | * | leorize[m] quit (Ping timeout: 268 seconds) |
13:49:07 | * | jaens[m] quit (Ping timeout: 260 seconds) |
13:49:07 | * | cadmium[m] quit (Ping timeout: 260 seconds) |
13:49:41 | FromDiscord | <konsumlamm> sounds very unsafe |
13:52:11 | FromDiscord | <lqdev> not safe |
13:52:32 | * | njoseph quit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) |
13:52:34 | FromDiscord | <lqdev> unless you use atomicInc and atomicDec, and similar atomic operations |
13:52:57 | * | njoseph joined #nim |
13:53:23 | FromDiscord | <Yardanico> oh yeah, just found the atomics module |
13:53:27 | FromDiscord | <Yardanico> wonder if it still works 🤔 |
13:54:51 | FromDiscord | <lqdev> beware, last time i checked it uses the c++ backend 🥶 |
13:55:25 | FromDiscord | <Yardanico> nah, seems to use builtins with the C backend now |
13:55:26 | FromDiscord | <Yardanico> https://github.com/nim-lang/Nim/blob/version-1-4/lib/pure/concurrency/atomics.nim#L170 |
13:55:32 | FromDiscord | <lqdev> jk of course, the c++ backend needs more use |
14:01:52 | * | awe00 joined #nim |
14:04:10 | PMunch | This times module issue is really bugging me.. |
14:06:31 | FromDiscord | <Rika> it is called a bug after all |
14:12:55 | hmmm | hey yall how do I erase everything from an opened file |
14:13:09 | hmmm | maybe open with write! |
14:13:14 | FromDiscord | <lqdev> yeah |
14:13:17 | FromDiscord | <lqdev> exactly |
14:13:23 | hmmm | I'm certified genius |
14:13:32 | PMunch | @Rika true.. |
14:14:35 | * | cvoxel joined #nim |
14:15:07 | hmmm | but I can't lqdev becuase I passed to my proc the file already opened, so my proc doesn't know the filename, do we have something to retrieve it |
14:16:17 | * | stisa[m] joined #nim |
14:18:09 | FromDiscord | <lqdev> hm, that may be a bit difficult |
14:18:15 | FromDiscord | <lqdev> there isn't a way i know of |
14:18:24 | FromDiscord | <lqdev> but C has freopen |
14:18:29 | FromDiscord | <lqdev> give me a minute |
14:18:48 | FromDiscord | <lqdev> aw frick, reopen takes a filename too |
14:22:15 | FromDiscord | <Deorder> How do I disable `ConvFromXtoItselfNotNeeded` from a nim.cfg? |
14:22:31 | FromDiscord | <Deorder> I get thus `Error: unknown warning: ConvFromXtoItselfNotNeeded` |
14:22:53 | FromDiscord | <Deorder> (edit) "I get thus `Error: unknown warning: ConvFromXtoItselfNotNeeded` ... " added "when doing this `--warning[ConvFromXtoItselfNotNeeded]:off`" |
14:23:07 | FromDiscord | <lqdev> doesn't --warning[ConvFromXtoItselfNotNeeded]:off work? |
14:23:12 | FromDiscord | <lqdev> ah |
14:23:14 | FromDiscord | <Deorder> (edit) "thus" => "this" |
14:23:27 | FromDiscord | <lqdev> sounds like a bug |
14:26:14 | hmmm | hey apparently it exist something called reopen |
14:26:29 | hmmm | I might try just that and see if the entire thing doesn't blow up in my face |
14:27:35 | PMunch | Just realised that the time structs I get are completely different between my machine and the RPi |
14:27:42 | PMunch | Is this a wrapping issue? |
14:28:13 | FromDiscord | <lqdev> hmmm: told you about it, but it also needs a filename string |
14:28:18 | hmmm | ah ok |
14:28:21 | hmmm | hmm |
14:28:49 | FromDiscord | <Deorder> Apparently I had to do `--hint[ConvFromXtoItselfNotNeeded]:off` instead |
14:29:08 | FromDiscord | <lqdev> ahh |
14:29:10 | FromDiscord | <lqdev> it's a hint |
14:29:26 | FromDiscord | <lqdev> yeah you have to look at whether it says `Hint:` `Warning:` or `Error`: |
14:29:27 | FromDiscord | <lqdev> (edit) "`Error`:" => "`Error:`" |
14:30:27 | FromDiscord | <Deorder> the vscode plugin seems to hide this detail |
14:30:42 | FromDiscord | <Deorder> (edit) "plugin" => "extension" |
14:32:16 | FromDiscord | <lqdev> possibly |
14:32:51 | Prestige | PMunch: sounds possible - 32 bit RPi? |
14:32:57 | PMunch | Yes |
14:43:45 | PMunch | So it's definitely smaller.. |
14:44:20 | PMunch | Not that it really should matter |
14:44:26 | PMunch | And it doesn't explain why it sometimes work.. |
14:59:09 | * | drewr quit (Ping timeout: 256 seconds) |
14:59:47 | FromDiscord | <Deorder> Can `nim.cfg` conditionally add flags according to the selected compiler? |
15:00:26 | FromDiscord | <Deorder> sent a code paste, see https://paste.rs/Fi2 |
15:00:42 | FromDiscord | <Deorder> Searched online, looking at nim.cfg files from different projects, without luck |
15:03:01 | FromDiscord | <Deorder> sent a code paste, see https://play.nim-lang.org/#ix=2NEw |
15:04:03 | PMunch | Yes it can |
15:04:07 | FromDiscord | <Deorder> Should just talk to the teddybear next time 😄 |
15:04:19 | * | hmmm quit (Quit: WeeChat 3.0) |
15:07:07 | * | lnxw37d4 joined #nim |
15:07:07 | * | Avahe[m] joined #nim |
15:07:08 | * | Avatarfighter[m] joined #nim |
15:07:08 | * | unclechu joined #nim |
15:07:08 | * | MTRNord joined #nim |
15:07:08 | * | jaens[m] joined #nim |
15:07:08 | * | reversem3 joined #nim |
15:07:08 | * | BitPuffin joined #nim |
15:07:08 | * | William[m]1 joined #nim |
15:07:08 | * | VijayMarupudi[m] joined #nim |
15:07:08 | * | matthias[m] joined #nim |
15:07:08 | * | leorize[m] joined #nim |
15:07:09 | * | j-james[m] joined #nim |
15:07:10 | * | planetis[m] joined #nim |
15:07:10 | * | GitterIntegratio joined #nim |
15:07:10 | * | lytedev[m] joined #nim |
15:07:13 | * | Clonkk[m] joined #nim |
15:07:13 | * | Zoom[m] joined #nim |
15:07:14 | * | dilawar_uchiha[m joined #nim |
15:07:15 | * | cmc[m] joined #nim |
15:07:15 | * | ee7[m] joined #nim |
15:07:15 | * | awici[m] joined #nim |
15:07:15 | * | silvernode[m] joined #nim |
15:07:15 | * | himup[m] joined #nim |
15:07:15 | * | BauxnaMatrix[m] joined #nim |
15:07:15 | * | codic joined #nim |
15:07:16 | * | Kurre[m] joined #nim |
15:07:16 | * | Juno[m] joined #nim |
15:07:16 | * | cadmium[m] joined #nim |
15:07:16 | * | k0mpjut0r joined #nim |
15:07:17 | * | vindaar[m] joined #nim |
15:09:15 | * | joast joined #nim |
15:11:16 | saem | Ugh, why am I awake. |
15:12:40 | * | asdflkj quit (Read error: Connection reset by peer) |
15:12:45 | * | asdflkj2 joined #nim |
15:12:48 | PMunch | Because you haven't gone to sleep yet |
15:12:59 | saem | I did, but could barely sleep |
15:13:13 | saem | Which doesn't bode well for evening programming |
15:13:17 | PMunch | Ah, that sucks |
15:13:21 | saem | Blah |
15:14:33 | saem | Sigh, I still find the amount of effort I need to load the context of the compiler into my brain is still really high. So the lack of sleep is a killer. |
15:15:24 | * | adnan338_ joined #nim |
15:19:02 | * | adnan338 quit (Ping timeout: 256 seconds) |
15:19:03 | * | adnan338_ is now known as adnan338 |
15:20:10 | * | kiwibirdlolol joined #nim |
15:23:25 | kiwibirdlolol | which stdlib library would be the equivalent of python's multiprocessing? |
15:23:41 | kiwibirdlolol | (or can osproc launch procedures, rather than executables) |
15:25:00 | PMunch | threads? |
15:25:09 | FromDiscord | <m_m> Hello. I have installed nim by choosenim on my ubuntu. Evetything was fine till the moment when I've tried to use any of the installed packages (for example leveldb). I am getting that nim cannot open a file "leveldb". What could be the reason? |
15:25:26 | PMunch | How did you install the package? |
15:25:39 | PMunch | And how do you import it? |
15:25:43 | kiwibirdlolol | PMunch: I want to control the stdin/out/err and use custom streams for them, osproc allows this |
15:26:12 | FromDiscord | <Rika> threads dont have a separate stdin/out/err |
15:26:20 | PMunch | stdin/out/err are concepts that only exists for executables.. |
15:26:48 | FromDiscord | <m_m> @PMunch I have installed it by "nimble install" and I am importing it by "import leveldb" |
15:27:24 | PMunch | Hmm, that is strange |
15:28:09 | FromDiscord | <dom96> @m_m are you compiling using `nim` or `nimble`? |
15:28:25 | FromDiscord | <m_m> @dom96 nimble |
15:28:32 | FromDiscord | <zetashift> ah, you gotta use nim for that |
15:28:36 | FromDiscord | <zetashift> nimble is for nimble packages |
15:28:37 | FromDiscord | <dom96> then you need to add `requires "leveldb"` to your .nimble file |
15:28:48 | PMunch | @zetashift, you can use nimble to compile |
15:28:49 | FromDiscord | <zetashift> or what dom96 said ^ |
15:28:55 | FromDiscord | <m_m> I have added it with a version |
15:29:19 | FromDiscord | <m_m> I have "requires "nim >= 1.4.2", "leveldb >= 0.3.0"" in my nimble file |
15:29:23 | FromDiscord | <dom96> is the .nimble file in your CWD? |
15:29:28 | FromDiscord | <zetashift> @PMunch oh yes, I thought the file was being compiled as a simple nim file |
15:29:48 | FromDiscord | <m_m> I have generated my project by "nimble init" |
15:29:59 | FromDiscord | <m_m> So my nimble file is in the path of my project |
15:30:26 | FromDiscord | <dom96> that should work then, weird. You can see what Nimble is executing with the `--debug` flag |
15:30:39 | FromDiscord | <dom96> might give you some clues about what `--path`'s it's passing to Nim |
15:31:47 | * | adnan338 quit (Quit: adnan338) |
15:32:41 | FromDiscord | <m_m> is it normal that it is using "nim c" with flag "--noNimblePath ? |
15:32:55 | PMunch | Yes |
15:33:10 | FromDiscord | <m_m> Ok, it is adding the path of leveldb |
15:33:15 | PMunch | It does that and passes all the packages you require in order to make sure you don't use something you don't require |
15:36:23 | * | cvoxel quit (Ping timeout: 268 seconds) |
15:37:00 | FromDiscord | <m_m> So, nim has the leveldb path but still I am getting the error. |
15:40:25 | FromDiscord | <m_m> Ok, I have checked with jester and it is working. So it is problem with "leveldb" lib for nim. |
15:42:51 | PMunch | Maybe try import leveldb/leveldb |
15:43:05 | * | junland quit (Quit: %ZNC Disconnected%) |
15:43:22 | FromDiscord | <m_m> Still the same error. |
15:43:46 | FromDiscord | <dom96> @m_m have you checked what's in the path that is passed to Nim? |
15:43:51 | FromDiscord | <dom96> is there a leveldb.nim file there? |
15:44:12 | * | junland joined #nim |
15:44:21 | FromDiscord | <m_m> @dom96 "--path:/home/michmajchrzak/.nimble/pkgs/leveldb-0.3.0" |
15:45:08 | FromDiscord | <m_m> @dom96 there is leveldb.nimble there and in the leveldb executable |
15:45:30 | FromDiscord | <m_m> wait a second....why executable ? |
15:48:34 | ForumUpdaterBot | New thread by Tubbs: Trying to use times now, see https://forum.nim-lang.org/t/7445 |
15:59:14 | FromDiscord | <m_m> It looks that nimble has install leveldb binary as a "leveldbtool" without wrappers. |
16:01:00 | PMunch | Hmm, this is interesting: https://forum.nim-lang.org/t/7439 |
16:01:13 | PMunch | And definitely reflects the feeling I have from hanging around on the IRC as well |
16:02:42 | FromDiscord | <zetashift> We got frontpage of HN a lot of times with some blogposts about Nim |
16:02:49 | FromDiscord | <zetashift> there might have been exposure from that |
16:02:54 | PMunch | Could be |
16:03:00 | * | William[m]1 left #nim ("User left") |
16:03:17 | PMunch | If I get these times issues figured out I'll be writing some stuff on running Nim on HomeAssistant by the way |
16:03:19 | FromDiscord | <zetashift> Also some cool Nim projects on GitHub too |
16:03:39 | FromDiscord | <zetashift> @PMunch good luck!! |
16:03:56 | PMunch | It's such a weird issue as well |
16:04:05 | PMunch | It seems like it is the C localtime thing that messes up.. |
16:04:21 | PMunch | But it's not always, and it's only one project.. |
16:06:00 | * | mmohammadi9812 quit (Ping timeout: 264 seconds) |
16:07:28 | * | mmohammadi9812 joined #nim |
16:10:15 | asdflkj2 | HN has definitely increased my interest in Nim |
16:10:36 | asdflkj2 | But it was nitter.net that first got me interested |
16:17:10 | * | PMunch quit (Quit: leaving) |
16:18:16 | * | kiwibirdlolol quit (Quit: Connection closed) |
16:21:04 | planetis[m] | are Nim seqs mapped directly to Array in the js backend? |
16:21:22 | planetis[m] | would casting an Array to a seq work? |
16:39:04 | FromDiscord | <dom96> HN traffic usually gives sudden spikes |
16:39:13 | FromDiscord | <dom96> but this seems to be sustained for 2 months now |
16:39:42 | FromDiscord | <dom96> unless it's because our blog posts have been close enough to give that small bit of extra traffic month-over-month |
16:40:03 | FromDiscord | <zetashift> I inspected the generated JS from a simple nim file to see if it does, as far as I can tell, yes they map to `Arrays` |
16:41:07 | FromDiscord | <Rika> discord replies dont go over the bot |
16:41:23 | FromDiscord | <zetashift> ah force of habit to click the reply button |
16:41:36 | FromDiscord | <zetashift> but plantis will see it one day 😛 |
16:41:38 | planetis[m] | yes i did that and it seems it does |
16:41:44 | FromDiscord | <zetashift> (edit) "plantis" => "planetis" |
16:42:39 | planetis[m] | must have been a codegen error, bc i was getting smth `nimCopy(null, null, myJson)` but now i don't remember the exact code that produced it.. |
16:43:42 | FromDiscord | <zetashift> reading the generated JS, feels like the first time I ever read C++ code |
16:43:55 | planetis[m] | btw I think that nimforum can be sped up if we remove json imports from the frontend and use native jsonNodes |
16:44:16 | FromDiscord | <zetashift> Even faster!? Nice |
16:44:21 | planetis[m] | @dom96 are you accepting such a pr? |
16:44:49 | planetis[m] | Im not sure if its correct though |
16:45:50 | planetis[m] | yeah strings wouldn't work |
16:46:06 | planetis[m] | must convert every string to cstring first |
16:54:44 | ForumUpdaterBot | New thread by Drkameleon: Problem with asynchttpserver and GC - yep, the usual one, see https://forum.nim-lang.org/t/7446 |
16:59:33 | FromDiscord | <lqdev> @ElegantBeef hey beef, are submissions to this month's this month with nim closed already? i'd like to chip in |
17:00:22 | FromDiscord | <dom96> planetis: if you can show it's faster and it doesn't require tons of changes then sure |
17:01:03 | FromDiscord | <dom96> actually, IIRC the json module already uses native JS JSON parsing on the JS target |
17:01:28 | disruptek | lqdev: there's a new month coming along any day now. |
17:02:10 | FromDiscord | <lqdev> disruptek: yeah, but the things i wanna submit were made this month. |
17:02:27 | disruptek | newsflash: no one gives a shit. |
17:02:31 | FromDiscord | <Rika> bruh |
17:03:33 | FromDiscord | <dom96> disruptek: not cool |
17:04:17 | saem | I've also seen some upticks in install numbers of the extension. |
17:05:43 | disruptek | no one cares when the code was written and no amount of contempt will convince me otherwise. |
17:14:12 | * | waleee-cl joined #nim |
17:18:05 | * | Gustavo6046 joined #nim |
17:21:30 | FromDiscord | <Zachary Carter> I don't even find what Disruptek said to be offensive... |
17:21:46 | FromDiscord | <Zachary Carter> it was obviously in jest and wasn't personal or even insulting |
17:22:12 | FromDiscord | <Zachary Carter> they're just saying no one cares when the code for a "This month in Nim" submission was authored |
17:24:31 | FromDiscord | <Zachary Carter> And I agree with the sentiment - no one has to know when a submission was authored. I might do something this month in Nim, but not have time to write a blog post until next month. Does anyone really care? Probably not... |
17:25:03 | FromDiscord | <lqdev> good point |
17:30:15 | FromDiscord | <dom96> I understand the sentiment, but such strong language can be misinterpreted |
17:32:04 | Zevv | well, we all know who is talking, right |
17:35:22 | FromDiscord | <dom96> I don't think so, we were just remarking about the newcomers to our community. There are always going to lurkers that aren't as active as probably the minority of us are. |
17:35:29 | FromDiscord | <dom96> (edit) "I don't think so, we were just remarking about the newcomers to our community. There are always going to ... lurkers" added "be" |
17:37:40 | asdflkj2 | ^ |
17:42:15 | disruptek | zachary carter: how can i earn my sponsorship this month? |
17:42:55 | disruptek | though i don't think they send me a check until late april or something. 🤷 |
17:44:51 | FromDiscord | <Zachary Carter> lol I guess just keep doing what you're doing? I sponsored you because I think you do certain things that help the community, not because I want anything out of it. |
17:45:09 | FromDiscord | <Zachary Carter> you also do things that harm the community, like piss off dom, so just do less of that I guess? |
17:45:15 | disruptek | ah fuck. |
17:45:31 | disruptek | is it possible to reject sponsorship? 🤔 |
17:45:37 | FromDiscord | <Zachary Carter> lol |
17:46:40 | FromDiscord | <Zachary Carter> Let's just all try to respect one another and keep in mind that we all have varying levels of comfort with one another. If anyone has a problem with another community member, bring it to a mod or admin and let them deal with it 🙂 |
17:47:18 | disruptek | wow, there really isn't a good way to disable a sponsor. |
17:48:44 | FromDiscord | <Rika> forceful acceptance of money |
17:49:00 | disruptek | srsly |
17:49:35 | asdflkj2 | GitHub sponsorship? |
17:50:17 | disruptek | ~disruptek |
17:50:18 | disbot | disruptek: 11broke: https://github.com/sponsors/disruptek -- disruptek |
17:50:18 | disbot | disruptek: 11:disruptek: |
17:50:18 | disbot | disruptek: 11an unsafe nil deref |
17:50:18 | FromDiscord | <Zachary Carter> I mean, I will take my $18 back if you really don't want it lol |
17:50:30 | disruptek | you mean /this/ $14? |
17:50:40 | FromDiscord | <Zachary Carter> oh sorry it's $16 |
17:50:41 | FromDiscord | <Zachary Carter> my bad |
17:51:03 | disruptek | i am --> this <-- close to covering my starlink subscription cost. |
17:51:19 | disruptek | streaming will resume in less than a week. |
17:51:36 | FromDiscord | <Zachary Carter> dude..., satellite internet? |
17:51:40 | disruptek | indeed. |
17:51:48 | FromDiscord | <Zachary Carter> I'm sorry... |
17:52:12 | disruptek | it should be pretty great. it's not like the exceed/hughes stuff. |
17:52:28 | FromDiscord | <Zachary Carter> I'm spoiled, I have google fiber |
17:52:30 | disruptek | i've used those, too. |
17:53:01 | disruptek | the bandwidth is similar, it's just a little worse latency. |
17:53:31 | FromDiscord | <Zachary Carter> I rescinded a contract I put on a house I was going to buy, because I could only get sat internet |
17:53:36 | FromDiscord | <Zachary Carter> Starlink wasn't a thing back then though either |
17:55:17 | disruptek | it's a game-changer. |
17:57:07 | disruptek | lqdev: you're in the top-5 nim coders, afaic. you know i have mad respect for you, right? |
17:58:25 | asdflkj2 | I can believe StarLink literally changes gaming, that’s where latency is most important ;) |
18:05:00 | * | awe00 quit (Ping timeout: 268 seconds) |
18:05:51 | FromDiscord | <dom96> Starlink will be a game changer for one of my dreams: living in a cottage in Ireland/Wales/Scotland. Happy Elon's on it. |
18:06:10 | FromDiscord | <dom96> For now I managed to nab an apartment with FTTH internet |
18:06:49 | FromDiscord | <zetashift> sounds hella cosy |
18:26:20 | planetis[m] | disruptek: who's the top 5? now you got me jealous |
18:26:42 | disruptek | you don't know them. |
18:27:32 | planetis[m] | ok if i have to guess: disruptek, disruptek, disruptek, disruptek, lqdev |
18:27:47 | Prestige | You forgot PMunch |
18:28:16 | Prestige | but the rest in |
18:28:25 | Prestige | is probably right |
18:31:12 | FromDiscord | <VVX7> where can I find a list of defined compile time symbols? |
18:32:20 | FromDiscord | <Rika> prolly system's docs |
18:43:44 | * | awe00 joined #nim |
18:47:34 | * | awe00 quit (Client Quit) |
18:54:04 | * | muffindrake quit (Quit: muffindrake) |
18:55:06 | disruptek | i'm not in the top five. |
19:02:47 | * | hmmm joined #nim |
19:03:20 | hmmm | hello nimions |
19:03:25 | hmmm | where is disruptek |
19:03:31 | hmmm | I must enquire on cps status |
19:03:42 | disruptek | ask clyybber. |
19:03:47 | hmmm | wat |
19:03:58 | hmmm | you are the head of research of the cps endevour |
19:04:00 | hmmm | I ask u |
19:04:01 | Prestige | There are bugs that need to be fixed before he can contiue iirc |
19:04:13 | Prestige | or continue |
19:04:41 | disruptek | i'm waiting for the support we were all promised in the RFC to materialize. |
19:04:53 | hmmm | you have my moral support :o |
19:05:08 | disruptek | do you have a job? |
19:05:15 | hmmm | nu I'm student |
19:05:22 | disruptek | why? |
19:05:36 | hmmm | hmmm is this a philosophical enquiry? |
19:05:51 | disruptek | hmmm no. |
19:05:57 | hmmm | oh |
19:17:28 | Prestige | I think we should open up a Nim apparel shop that just sells things with disruptek quotes on them |
19:20:47 | FromDiscord | <VVX7> I would buy Nim apparel |
19:22:38 | hmmm | ~disruptesque |
19:22:39 | disbot | disruptesque: 11the art of telling it as it is |
19:24:17 | planetis[m] | which html attributes can't be written as nim identifiers without stropping? is it just `for`? |
19:28:31 | disruptek | attributes are fairly arbitrary, so i would guess not. |
19:28:51 | planetis[m] | im refactoring html2karax, btw |
19:32:32 | planetis[m] | I wonder if there is a way to do it the other way around, with a list of nim keywords |
19:34:29 | FromDiscord | <exelotl> lmao I'm now imagining a mug featuring the Nim logo with the word "throbs" underneath it |
19:36:22 | disruptek | i would make such an animal if someone would buy it. |
19:39:42 | Prestige | ~repo throbs |
19:39:42 | disbot | no footnotes for `repo`. 🙁 |
19:39:55 | Prestige | wait how does this bot work |
19:40:34 | disruptek | do !help |
19:40:35 | hmmm | https://i.imgur.com/eH0A7ya.jpg |
19:40:41 | Prestige | !help |
19:40:43 | hmmm | preorders 10$ |
19:40:50 | Prestige | ~help |
19:40:54 | Prestige | oh |
19:41:12 | Prestige | that's awesome |
19:41:17 | Prestige | !repo throbs |
19:41:18 | hmmm | I agree :D |
19:41:19 | disbot | https://github.com/aino/throbber.js -- 9throbber.js: 11Throbbing canvas with style 15 69⭐ 19🍴 7& 29 more... |
19:43:16 | Prestige | I thought !repo should only search Nim repos |
19:43:38 | disruptek | if it can't find anything nim-related, it will search more broadly. |
19:43:45 | Prestige | ah. |
19:44:32 | planetis[m] | dumb question, why does the htmlparser adds whitespace https://github.com/nim-lang/Nim/blob/devel/lib/pure/htmlparser.nim#L1965 to the XmlNode tree? |
19:44:55 | planetis[m] | at first i though it was a bug |
19:45:28 | planetis[m] | but it seems on purpose |
19:48:34 | disruptek | we don't call it whitespace anymore; that's racist. |
19:48:36 | * | mmohammadi9812 quit (Ping timeout: 240 seconds) |
19:48:44 | disruptek | now it's called masterspace. |
19:48:49 | leorize | wasn't htmlparser moved to fusion? |
19:48:51 | disruptek | or, wait, maybe i have that wrong. |
19:48:58 | disruptek | it's called mainspace. |
19:49:15 | hmmm | mainspace is the long version of myspace |
19:49:36 | disruptek | i'm pretty close to mainespace right now and, yeah, it's not very diverse. |
19:50:37 | hmmm | disruptek are you from that sophisticated distopya they call murrica? |
19:50:56 | disruptek | no, i'm an extraterrestrial from the planet xantu. |
19:51:11 | Prestige | Well that would explain all the throbbing, then |
19:51:13 | hmmm | I see, that explains things |
19:51:23 | disruptek | yeah, it sucks. |
19:51:27 | * | mmohammadi9812 joined #nim |
19:55:50 | planetis[m] | leorize: i dont see any deprecation warning!? |
19:56:29 | leorize | ask Araq |
19:57:01 | leorize | Araq is actually offline today, weird |
19:57:06 | hmmm | leorize you are a good boi, I'm using your nvim plugin and it's awesome |
19:57:16 | hmmm | I'm a fan |
19:57:52 | hmmm | the fact that things become red when I can't use them is a major time saver |
19:58:01 | leorize | glad you like it :) |
19:58:08 | hmmm | <333 |
19:58:18 | leorize | I should add linting at one point :P |
19:58:27 | oddp | araq is meeting with some former mozilla employees about a position in the rust core team. was announced on twitter. |
20:00:00 | Prestige | don't lie to me like that |
20:02:32 | oddp | sorry, all that gme stock got to me. |
20:07:43 | planetis[m] | Here it's https://gist.github.com/planetis-m/9ba3081701d280e3972d31dc4d4d3bc5 if you want to try it. |
20:08:58 | disruptek | i don't think i'd use nim if it weren't for leorize's plugin. |
20:09:30 | * | adnan338 joined #nim |
20:09:54 | Prestige | What would you use instead of Nim? |
20:10:36 | disruptek | clojure. |
20:10:53 | hmmm | leo plugin is much better than vscode extension thingy imo, I used both. Actually I switched to vim just to use the leo plugin lol |
20:13:07 | * | mahlon_ quit (Quit: WeeChat 3.0) |
20:13:20 | * | mahlon joined #nim |
20:13:21 | leorize | it's not, it's just that nvim is a superior editor :) |
20:14:32 | Prestige | True that |
20:15:16 | Prestige | I've been watching a coworker fumble around in vscode all week, it's painful |
20:15:57 | hmmm | well fumbling in vim ain't pretty too. You old dudes with years of muscle memory have it easy |
20:17:12 | disruptek | there are downsides, too; just try to teach my old fingers a new trick -- it's impossible. |
20:17:45 | Clonkk[m] | There was a good vim tutorial in Onivim version 1 |
20:18:05 | disruptek | oh, are we talking about editors? |
20:18:19 | hmmm | what is onivim |
20:20:24 | * | FlammableDuck[m] joined #nim |
20:21:07 | * | xet7 quit (Quit: Leaving) |
20:21:19 | ForumUpdaterBot | New thread by Aeldemery: Newbie question: allowed and not allowed white space, see https://forum.nim-lang.org/t/7448 |
20:24:47 | FromDiscord | <Rika> it only took me a month or less to learn basic vim usage |
20:27:08 | hmmm | I wish I were you, I'm almost at my first month and I'm painful slow at moving around. Also copypasting is the worse pain point. Every time I need to do it I wish I had a mouse |
20:27:43 | FromDiscord | <Rika> my current pain point right now is moving a split just one increment |
20:27:43 | leorize | you can use a mouse in nvim fwiw |
20:27:48 | FromDiscord | <Rika> instead of the other fucking side |
20:27:53 | hmmm | wat |
20:28:01 | leorize | :set mouse=a |
20:28:01 | hmmm | but that's cheating |
20:28:10 | FromDiscord | <Rika> :set mouse=nvi |
20:28:12 | FromDiscord | <Rika> or something |
20:28:21 | disruptek | moving a split? |
20:28:27 | FromDiscord | <Rika> yeah |
20:28:33 | disruptek | what's a split? |
20:28:48 | FromDiscord | <Rika> the thing you get when you :vs or :Ve o |
20:28:50 | FromDiscord | <Rika> (edit) removed "o" |
20:29:10 | disruptek | and what do you want to do to it? |
20:29:53 | FromDiscord | <Rika> move it only a single split instead of moving it to the left/right/top/bottommost side |
20:30:21 | FromDiscord | <Rika> (which is ^w[HJKL]) |
20:30:53 | disruptek | what does it mean to move it "only a single split"? |
20:31:22 | disruptek | swap it with an adjacent pane? |
20:31:50 | FromDiscord | <Rika> yeah |
20:34:30 | hmmm | oh jesus, set mouse is incredibly comfy :O |
20:34:38 | hmmm | :OOOO |
20:34:40 | FromDiscord | <ElegantBeef> As long as there is a calendar the submissons are open |
20:35:02 | FromDiscord | <Rika> https://github.com/wesQ3/vim-windowswap apparently needs a plugin |
20:35:05 | FromDiscord | <Rika> okay |
20:35:07 | FromDiscord | <Rika> great |
20:35:12 | FromDiscord | <Rika> whatever |
20:46:46 | FromDiscord | <exelotl> ugh I'm having a real hard time implementing a panicoverride that works both in a static block and at runtime :( |
20:47:40 | FromDiscord | <exelotl> sent a code paste, see https://play.nim-lang.org/#ix=2NGc |
20:47:56 | FromDiscord | <exelotl> this fails in the VM because `s` cannot be evaluated at compile time |
20:48:20 | FromDiscord | <exelotl> is there any other way to error out with a message in the VM? |
20:55:38 | FromDiscord | <lqdev> make `s` a `static cstring` perhaps? |
20:59:36 | FromDiscord | <exelotl> tried that but panic is called by `sysFatal` which passes in a non-static string |
21:00:12 | FromDiscord | <exelotl> sent a code paste, see https://play.nim-lang.org/#ix=2NGf |
21:00:47 | FromDiscord | <exelotl> had to raise an exception the hard way because `newException` doesn't exist when this code runs 😅 |
21:07:23 | FromDiscord | <exelotl> sent a code paste, see https://play.nim-lang.org/#ix=2NGj |
21:07:49 | FromDiscord | <exelotl> no question about if/where the string -> cstring conversion happens |
21:11:30 | FromDiscord | <alehander42> @Clyybber @Zachary Carter |
21:11:39 | FromDiscord | <alehander42> i thanked for the osdev referenee |
21:11:43 | FromDiscord | <alehander42> haha |
21:11:47 | FromDiscord | <alehander42> but yeah |
21:11:51 | FromDiscord | <alehander42> i dont maintain that fornow |
21:11:53 | FromDiscord | <alehander42> (edit) "fornow" => "for now" |
21:11:57 | FromDiscord | <Clyybber> ah :D |
21:14:57 | * | muffindrake joined #nim |
21:23:34 | FromDiscord | <dom96> > https://irclogs.nim-lang.org/29-01-2021.html#19:48:34↵disruptek: I’d appreciate it if you don’t post things like this in response to genuine questions. |
21:26:40 | leorize | I think it's fine to joke around a bit |
21:27:23 | FromDiscord | <Ardek> #ffffffspace |
21:33:00 | FromDiscord | <dom96> I don’t care if it was meant as a joke or not. Nobody should get that as a response to their question. We’re meant to be attracting newcomers not scaring them away. |
21:37:22 | disruptek | why don't you put your money where your mouth is and fix your shitty software? |
21:37:41 | disruptek | nothing turns off newcomers like dogshit. |
21:38:51 | disruptek | genuine question: why do you think it's okay to criticize others when your work is so bad that it drags down an entire language, let alone an irc community? |
21:44:46 | FromDiscord | <konsumlamm> if disruptek was the first person i saw when checking out nim, i'm not sure i would have chosen to learn it... |
21:45:14 | disruptek | how sad for us all. |
21:45:42 | * | NimBot joined #nim |
21:46:58 | planetis[m] | 🍿 |
21:47:11 | * | asdflkj2 quit (Ping timeout: 265 seconds) |
21:47:23 | disruptek | we're not allowed to fight in here anymore because it's more scary than nimble. |
21:48:06 | * | Araq joined #nim |
21:48:43 | planetis[m] | ohh oh |
21:49:11 | * | dom96 joined #nim |
21:49:11 | * | dom96 quit (Changing host) |
21:49:11 | * | dom96 joined #nim |
21:49:23 | planetis[m] | here goes the hammer |
21:49:44 | disruptek | it's amazing how long it takes them to learn how to /ban. |
21:49:58 | FromGitter | <Araq> yeah yeah, on it |
21:50:06 | FromGitter | <Araq> needed to switch computers |
21:50:07 | disruptek | isn't there a document on the wiki? |
21:51:01 | disruptek | https://github.com/nim-lang/Nim/wiki/IRC-guidelines |
21:53:13 | leorize | how can I not import `system/io`? |
21:54:02 | disruptek | maybe shadow it? |
21:54:56 | leorize | not sure how, tried `import system except io`, doesn't work |
21:55:24 | disruptek | supply a path to a different io.nim; does the compiler import std/io? |
21:57:02 | leorize | that wouldn't work, io is imported by system.nim |
21:57:18 | Araq | there is --define:nimNoIO or similar, iirc |
21:57:26 | leorize | and Araq kicked disruptek :P |
21:57:44 | leorize | Araq: I'm writing a library, so that wouldn't work |
21:58:07 | leorize | I'm just gonna qualify my types then |
21:58:27 | Araq | sure but consider that io.nim will be removed from system.nim |
21:58:31 | Araq | most probably. |
22:02:02 | leorize | you can keep disbot around, it's very useful |
22:11:03 | FromDiscord | <Avatarfighter> hello hello everyone |
22:12:04 | FromDiscord | <alehander42> Araq |
22:12:05 | FromDiscord | <alehander42> heyy |
22:12:48 | FromGitter | <Araq> hi |
22:12:58 | FromDiscord | <alehander42> wow you're on gitter |
22:13:09 | FromDiscord | <alehander42> life changed |
22:13:29 | FromDiscord | <Avatarfighter> Gitter is the future ;P |
22:13:52 | FromDiscord | <alehander42> i am mostly off nim these days, did you guys rework the nil stuff or does it wait better days |
22:14:26 | FromDiscord | <alehander42> yeah i dont know Avatarfighter 😄 i am mostly trying editors these days |
22:14:53 | FromDiscord | <alehander42> is fosdem soon? |
22:15:03 | FromDiscord | <alehander42> i read pmunch talks there 🙂 |
22:15:25 | FromGitter | <Araq> alehander42: I hope you fix reported bugs |
22:15:36 | FromDiscord | <dom96> Araq: you should switch to Discord, much better |
22:15:41 | FromGitter | <Araq> don't want to announce it unless you're around |
22:15:43 | FromDiscord | <dom96> Gitter is very likely to die |
22:16:03 | FromDiscord | <Avatarfighter> lmao dom |
22:16:07 | FromDiscord | <alehander42> Araq i have to enter a call next week to see what is needed |
22:17:15 | FromGitter | <Araq> we don't know what is needed, chicken and egg |
22:18:13 | FromGitter | <Araq> ideally you tell people on the forum about .experimental: "strictNotNil" |
22:18:19 | FromDiscord | <alehander42> ok, so i can take a look and tell you |
22:18:35 | FromDiscord | <alehander42> iirc a limited version was to be released first |
22:18:37 | FromGitter | <Araq> and look at their bug reports, problems, etc |
22:19:03 | FromDiscord | <alehander42> which is fast enough for recompiling the compiler without some of the more "advanced" stuff |
22:20:06 | FromGitter | <Araq> @dom96 will switch to Discord when gitter is dead. maybe earlier |
22:20:30 | FromDiscord | <dom96> Discord also gives you voice chat for free |
22:20:50 | FromDiscord | <dom96> in case you ever wanna chat with your fans |
22:21:36 | FromDiscord | <alehander42> ok Araq let's set it up like that |
22:22:43 | FromDiscord | <alehander42> i will take a look next week and I can join the call on 5th february (friday) |
22:22:43 | FromDiscord | <alehander42> to update |
22:22:48 | FromDiscord | <Avatarfighter> Araq: we even have cool emoticons on discord, the future is now 😛 |
22:23:54 | FromGitter | <Araq> alehander42: call time changed to 10:00 in the morning |
22:24:20 | FromGitter | <Araq> we can schedule it earlier if you prefer |
22:25:22 | FromDiscord | <alehander42> yeah, my job morning call is from 9:30, so i just wouldnt be able to probably |
22:25:47 | FromDiscord | <alehander42> we can just have a call in the evening if you prefer |
22:25:54 | FromDiscord | <alehander42> (edit) "we can just have a ... call" added "short" |
22:26:31 | FromGitter | <Araq> 9:00 is fine, 8:00 is fine |
22:29:58 | FromDiscord | <alehander42> 8:00 then ? |
22:30:00 | * | narimiran quit (Ping timeout: 264 seconds) |
22:31:53 | FromGitter | <Araq> ok |
22:33:20 | FromDiscord | <alehander42> good |
22:35:58 | * | Onionhammer5 joined #nim |
22:38:10 | * | Onionhammer quit (Ping timeout: 272 seconds) |
22:38:10 | * | Onionhammer5 is now known as Onionhammer |
22:51:17 | * | Vladar quit (Quit: Leaving) |
22:51:44 | FromDiscord | <Avatarfighter> leorize: have you had any luck with your cps shenanigans ? |
22:52:32 | federico3 | https://news.ycombinator.com/item?id=25957307 a thread on Pony's safety |
22:58:29 | * | adnan338 quit (Quit: adnan338) |
22:59:06 | * | adnan338 joined #nim |
22:59:17 | FromDiscord | <zetashift> I wonder why their way of concurrent programming could not be implemented as a library |
22:59:34 | FromDiscord | <zetashift> (I do not know much about concurrent programming in general) |
23:02:40 | * | zedeus quit (Quit: zedeus) |
23:03:00 | * | zedeus joined #nim |
23:07:11 | FromGitter | <Araq> we have pony's programming model (wip), see Isolated[T] |
23:08:23 | FromDiscord | <dom96> The article writes itself: "We have Pony's programming model" 😄 |
23:09:02 | oddp | the whole set of pony ref caps? would be slick. |
23:09:23 | FromDiscord | <konsumlamm> (wip) |
23:10:57 | FromDiscord | <dom96> hah |
23:11:40 | FromDiscord | <dom96> That reminds me of V's marketing style |
23:11:42 | FromGitter | <Araq> for more details ask Clyybber, he is our Pony expert |
23:11:46 | FromDiscord | <konsumlamm> lmao |
23:11:47 | FromGitter | <Araq> good night |
23:12:05 | FromDiscord | <konsumlamm> idk, i feel like half of nim's features are wip |
23:12:26 | FromDiscord | <konsumlamm> V was like "we have feature X" |
23:12:26 | leorize[m] | Avatarfighter I'm waiting for disruptek to implement return value for cps |
23:12:41 | FromDiscord | <konsumlamm> " actually not, it's just on our wishlust" |
23:12:50 | FromDiscord | <konsumlamm> (edit) "wishlust"" => "wishlist"" |
23:14:24 | FromDiscord | <Avatarfighter> leorize: ah, where is disruptek anyways? He isn't as chatty today as per usual |
23:14:53 | leorize[m] | Avatarfighter Araq just pulled the ban hammer on him again |
23:15:06 | FromDiscord | <Avatarfighter> oh rip |
23:17:01 | FromDiscord | <Yardanico> No more red dogs |
23:18:21 | * | adnan338_ joined #nim |
23:20:01 | FromDiscord | <Avatarfighter> wait why did his emoji get removed |
23:20:07 | FromDiscord | <Avatarfighter> :disruptek: was a staple of this discord |
23:20:14 | FromDiscord | <Avatarfighter> I need my robot emoji |
23:20:15 | FromDiscord | <ElegantBeef> @dom96 what do you use async for in stardust? |
23:20:46 | FromDiscord | <dom96> For client-server communication |
23:21:01 | FromDiscord | <ElegantBeef> So something applicable 😄 |
23:21:23 | FromDiscord | <ElegantBeef> Most of my stuff doesnt have much reason to do it aside from "Hey you could have loading screen for level generation" 😄 |
23:21:25 | FromDiscord | <Avatarfighter> Does importing procs from dlls work with arc/orc I can't remember? |
23:21:45 | * | adnan338 quit (Ping timeout: 246 seconds) |
23:21:45 | * | adnan338_ is now known as adnan338 |
23:21:49 | FromDiscord | <ElegantBeef> Why wouldnt it? |
23:21:55 | FromDiscord | <Avatarfighter> iirc a long time ago someone said it doesn't lol |
23:22:05 | FromDiscord | <ElegantBeef> It works even easier as you dont need to setup the GC |
23:22:09 | FromDiscord | <Avatarfighter> ooo |
23:22:13 | FromDiscord | <konsumlamm> btw, anyone wanna look at #12595? it sounds pretty easy to fix and it breaks using collect for tables in templates |
23:22:32 | FromDiscord | <konsumlamm> https://github.com/nim-lang/Nim/issues/12595 |
23:22:34 | FromDiscord | <Avatarfighter> Beef, have you messed with importing dlls and stuffs |
23:22:36 | FromDiscord | <ElegantBeef> 12595 is a larger number it's 1 larger than 12594 |
23:22:40 | FromDiscord | <ElegantBeef> Nope |
23:22:45 | FromDiscord | <Avatarfighter> 😭 |
23:22:50 | FromDiscord | <ElegantBeef> Dynlibs arent difficult though |
23:22:54 | FromDiscord | <Avatarfighter> yeah i know |
23:23:17 | FromDiscord | <Avatarfighter> nim doesn't have dll loading from memory right? I'd have to program that myself? |
23:23:27 | FromDiscord | <zetashift> I don't agree with this, concepts/ARC are the only things I can think of. Arguably you could say IC too but that's more tooling than a feature |
23:23:31 | FromDiscord | <dom96> @ElegantBeef for most games you likely don't need async, but then you also don't need threads 🙂 |
23:23:41 | FromDiscord | <ElegantBeef> I wasnt using threads for my game |
23:23:44 | leorize[m] | we have a module called dynlibs |
23:23:54 | FromDiscord | <ElegantBeef> Also have https://github.com/genotrance/plugins |
23:24:42 | FromDiscord | <Avatarfighter> leorize: I am aware of dynlibs, I don't think it supports loading dlls from memory though iirc |
23:24:45 | FromDiscord | <Avatarfighter> loading up the docs rn |
23:24:46 | FromDiscord | <Yardanico> @ElegantBeef that package doesn't work with arc |
23:25:07 | leorize[m] | Avatarfighter wdym dlls from memory? |
23:25:16 | FromDiscord | <konsumlamm> concepts, not nil, static generic parameters. parallelism |
23:25:40 | FromDiscord | <konsumlamm> but i'm probably too critical, because i find those to be the most interesting features |
23:26:14 | leorize[m] | not nil is being finished fwiw |
23:26:34 | FromDiscord | <Avatarfighter> leorize: https://www.joachim-bauch.de/tutorials/loading-a-dll-from-memory/ |
23:26:41 | FromDiscord | <ElegantBeef> Didnt concepts also get reworked already, just waiting for testing? |
23:27:24 | FromDiscord | <ElegantBeef> Cant you just use mmap to make it in the FS then load it there? |
23:27:33 | FromDiscord | <dom96> yeah, I wouldn't say that's half of Nim's features |
23:27:34 | FromDiscord | <zetashift> fair points, I don't think this constitues "half of nim's features" but I wish to see these finished as well, but for an open-source projects, manpower is limited |
23:27:48 | FromDiscord | <dom96> the core language is already very powerful |
23:28:56 | leorize[m] | Avatarfighter looks to be complicated and potentially a ground for security issues |
23:29:16 | FromDiscord | <konsumlamm> ye, as i said, i'm probably too critical |
23:29:39 | FromDiscord | <Avatarfighter> leorize: its complicated and a security issue, but i need it and I guess I need to program it 😛 |
23:31:31 | FromDiscord | <konsumlamm> not nil is being finished? last i looked at it it sounded like it was postponed |
23:31:57 | leorize[m] | ~notnil |
23:32:05 | leorize[m] | oh wait disbot is banned |
23:32:12 | FromDiscord | <Avatarfighter> :L |
23:32:30 | FromDiscord | <Avatarfighter> is disruptek's ban permanent ? |
23:33:15 | leorize[m] | @konsumlamm https://nim-lang.github.io/Nim/manual_experimental#strict-not-nil-checking |
23:33:42 | FromDiscord | <zetashift> It's out of lllooooovvvee for seeing these features finished |
23:33:59 | leorize[m] | Avatarfighter I'm not sure. The chain leading to his ban is only a few hours ago if you wanna read on it |
23:34:20 | FromDiscord | <zetashift> probably not permanent |
23:34:29 | FromDiscord | <zetashift> but I hope the bickering get's fixed |
23:34:31 | FromDiscord | <Avatarfighter> Yep, I'll dig up the chain I think I read it I didn't realize he got banned though |
23:35:24 | FromDiscord | <dk> Does anyone else have nimsuggest chimp out on a file when I only do --backend:js but not setCommand "js"?↵Couldn't get a minimal example yet↵chimp out = illformed AST: but the code compiles |
23:43:41 | FromDiscord | <Meowz> Does anyone have an Idea how I could return any type without using generics? (nimpy doesn't supports generics). https://play.nim-lang.org/#ix=2NHd |
23:45:38 | FromDiscord | <ElegantBeef> Object variants or https://github.com/Carpall/nobject |
23:49:36 | * | mmohammadi9812 quit (Ping timeout: 240 seconds) |
23:50:35 | * | tane quit (Quit: Leaving) |
23:50:39 | FromDiscord | <gcao> sent a code paste, see https://play.nim-lang.org/#ix=2NHh |
23:51:32 | FromDiscord | <Recruit_main707> `=destroy` body should call a.dealloc() |
23:54:09 | * | hmmm quit (Quit: WeeChat 3.0) |
23:54:18 | * | mmohammadi9812 joined #nim |
23:55:45 | FromDiscord | <gcao> yes. as long as I implement `=destroy` correctly, Nim will handle the rest (when `a` goes out of scope, `=destroy` will be called and `A.data` will be freed), right? |
23:57:09 | * | abm quit (Quit: Leaving) |