02:39:10 | * | ensyde joined #nim |
06:19:50 | * | derpydoo joined #nim |
07:52:05 | * | derpydoo quit (Quit: derpydoo) |
07:54:19 | * | ensyde quit (Ping timeout: 244 seconds) |
07:59:29 | * | coldfeet joined #nim |
08:53:57 | * | SchweinDeBurg quit (Quit: WeeChat 4.7.0-dev) |
09:03:31 | * | SchweinDeBurg joined #nim |
09:23:25 | * | ensyde joined #nim |
10:47:45 | * | kobi joined #nim |
11:16:17 | * | ensyde quit (Quit: WeeChat 4.6.0) |
12:12:39 | * | ntat joined #nim |
12:13:21 | FromDiscord | <bosinski2023> sent a code paste, see https://paste.rs/PliZl |
12:14:51 | FromDiscord | <bosinski2023> (edit) "https://paste.rs/poaDT" => "https://paste.rs/sHpy8" |
13:49:12 | * | rockcavera joined #nim |
14:00:54 | * | kobi quit (Remote host closed the connection) |
14:16:15 | * | coldfeet quit (Quit: Lost terminal) |
18:09:31 | * | amadaluzia joined #nim |
18:35:34 | FromDiscord | <nixfreak> So atlas is not In 2.2.2 , I checked the .nimble/bin path too. Also I get errors trying to build atlas |
18:55:39 | FromDiscord | <Elegantbeef> Did you make an issue about your build error? |
18:55:46 | FromDiscord | <Elegantbeef> Or a PR to fix it |
19:10:30 | FromDiscord | <nixfreak> Forgot to add a ? , basically asking , cause I thought atlas was in the 2.2 build. |
19:18:32 | FromDiscord | <Elegantbeef> How did you install it? |
19:27:26 | Amun-Ra | I'm a genius, I wrote nimble task that build nim from source in case there's no nim installed on the system… I just realized nimble won't be installed neither ;) |
19:27:59 | Amun-Ra | build* |
19:28:19 | FromDiscord | <Elegantbeef> How many PHDs do you possess? |
19:28:35 | FromDiscord | <Elegantbeef> Sorry how many have you earned |
19:29:54 | Amun-Ra | I started one but resigned after ~1.5y :| |
19:31:23 | * | n|Phreak joined #nim |
19:32:22 | n|Phreak | So you have to run nimble install -y after you clone atlas , then that will add the binary to the ~/.nimble/bin directory |
19:32:47 | FromDiscord | <Elegantbeef> or you just `nimble install https://github.com/nim-lang/atlas` |
19:32:50 | * | tiorock joined #nim |
19:32:50 | * | rockcavera is now known as Guest572 |
19:32:50 | * | Guest572 quit (Killed (tungsten.libera.chat (Nickname regained by services))) |
19:32:50 | * | tiorock is now known as rockcavera |
19:33:29 | n|Phreak | ahh ok , didn't know that , thanks |
19:34:49 | * | tiorock joined #nim |
19:34:49 | * | tiorock quit (Changing host) |
19:34:49 | * | tiorock joined #nim |
19:34:49 | * | rockcavera quit (Killed (tantalum.libera.chat (Nickname regained by services))) |
19:34:49 | * | tiorock is now known as rockcavera |
19:38:43 | FromDiscord | <.tokyovigilante> I'm trying to model a whole bunch of different event types (keyboard, pointer, touch etc) which in C I'd use a union and an enum to represeent the different types and their associated values, and in Swift I'd use an enum with a tuple as an associated type. Is there anything in Nim like a union, or is this something the macro system can do? |
19:39:05 | FromDiscord | <Elegantbeef> object variants are tagged unions |
19:39:53 | FromDiscord | <Elegantbeef> If you're really wanting a macro though I can sell you a plot of land in Scotland for the low low cost of 300,000GBP https://github.com/beef331/fungus |
19:41:39 | FromDiscord | <.tokyovigilante> Not with MIT-licenced code you won't hehehe |
19:41:39 | FromDiscord | <Elegantbeef> If you want an even easier API there is https://github.com/alaviss/union |
19:41:46 | FromDiscord | <.tokyovigilante> but thanks |
19:42:02 | FromDiscord | <Elegantbeef> Shit was it supposed to GPLv3'd? |
19:43:23 | n|Phreak | damn.. this actually builds nim 2.2.2 when using `atlas env 2.2.2` |
20:41:25 | * | ntat quit (Quit: leaving) |
20:49:04 | * | beholders_eye joined #nim |
21:04:54 | * | Jjp137 quit (Quit: Leaving) |
21:06:05 | * | Jjp137 joined #nim |
21:30:28 | FromDiscord | <explosiveend> seeing how much time has passed since "Nim in Action" was written, is it still worth buying / reading for learning nim? |
21:30:41 | FromDiscord | <explosiveend> or is just learning through the manual / other guide docs better |
21:53:41 | FromDiscord | <Elegantbeef> I've never owned a Nim book so I can say you can learn just fine elsewhere |
21:56:47 | * | beholders_eye quit (Quit: WeeChat 4.5.1) |
22:01:40 | FromDiscord | <corv> I just bought it and still found it very useful and practical. I’ve also got Andreas’ first and second editionsI do wish Nim in Action gets a second edition tho. The books complement each other nicely↵(@explosiveend) |
22:04:58 | FromDiscord | <explosiveend> In reply to @corv "I just bought it": oh, wasn't aware that there was a second edition |
22:05:07 | FromDiscord | <explosiveend> do you know when it was written? |
22:06:28 | * | xet7 quit (Quit: Leaving) |
22:07:24 | * | xet7 joined #nim |
22:23:25 | FromDiscord | <corv> The first one isn’t in print anymore, if you’re worried getting the wrong one |
22:26:30 | FromDiscord | <corv> It says 2023 |