| 00:15:54 | * | SchweinDeBurg quit (Quit: WeeChat 4.8.0-dev) |
| 00:19:52 | * | SchweinDeBurg joined #nim |
| 00:28:51 | * | rockcavera joined #nim |
| 01:07:40 | * | cjaburto joined #nim |
| 01:08:24 | * | cjaburto left #nim (WeeChat 4.7.1) |
| 01:14:25 | * | krunsh joined #nim |
| 01:19:37 | * | krunsh left #nim (WeeChat 4.7.1) |
| 01:22:18 | * | krunsh joined #nim |
| 01:25:41 | * | krunsh left #nim (WeeChat 4.7.1) |
| 01:32:45 | * | krunsh joined #nim |
| 01:36:24 | * | krunsh quit (Quit: WeeChat 4.7.1) |
| 01:41:54 | * | krunsh joined #nim |
| 02:50:13 | * | rockcavera quit (Remote host closed the connection) |
| 03:21:48 | * | void09_ is now known as void09 |
| 03:51:17 | * | krunsh quit (Quit: WeeChat 4.7.1) |
| 06:37:50 | * | ainema joined #nim |
| 06:38:41 | * | ainema left #nim (#nim) |
| 06:42:50 | * | kubrat joined #nim |
| 07:00:13 | * | SchweinDeBurg quit (Quit: WeeChat 4.8.0-dev) |
| 08:20:00 | * | SchweinDeBurg joined #nim |
| 08:33:32 | * | beholders_eye joined #nim |
| 08:38:56 | * | SchweinDeBurg quit (Ping timeout: 256 seconds) |
| 08:40:55 | * | SchweinDeBurg joined #nim |
| 08:45:28 | * | SchweinDeBurg quit (Ping timeout: 260 seconds) |
| 08:47:08 | * | SchweinDeBurg joined #nim |
| 08:54:44 | * | SchweinDeBurg quit (Quit: WeeChat 4.8.0-dev) |
| 08:55:19 | * | kubrat quit (Quit: Client closed) |
| 08:59:43 | * | beholders_eye quit (Ping timeout: 240 seconds) |
| 09:27:21 | * | beholders_eye joined #nim |
| 10:09:31 | FromDiscord | <shigumin.> Is there exists a dedicated channel to ask newbie questions about Nim? |
| 10:16:46 | FromDiscord | <leorize> you're already in it |
| 10:55:55 | * | kubrat joined #nim |
| 11:05:24 | FromDiscord | <shigumin.> sent a code paste, see https://play.nim-lang.org/#pasty=ZHhJkQhA |
| 11:07:15 | FromDiscord | <shigumin.> Tried to rewrite code several times, but no luck :( |
| 11:20:51 | FromDiscord | <Laylie> `ref` is a keyword that you put in front of type names to make the ref version of them, but you're trying to use it on a value |
| 11:21:11 | FromDiscord | <Laylie> newNode already returns a ref Node[T] |
| 11:23:45 | FromDiscord | <Laylie> Node is already a ref object, so you can remove most of your other uses of `ref`. also you're trying to use object initialization syntax for named arguments |
| 11:26:22 | FromDiscord | <amun0666> And you don't even to use explicit type: var n = newNode(val=2, prev= nil, next= nil) |
| 11:26:38 | FromDiscord | <amun0666> (edit) "And you don't even ... to" added "need" |
| 11:58:13 | * | beholders_eye quit (Ping timeout: 264 seconds) |
| 12:08:10 | * | SchweinDeBurg joined #nim |
| 12:19:19 | * | kubrat quit (Quit: Client closed) |
| 12:29:21 | * | _________ quit (Ping timeout: 250 seconds) |
| 12:31:25 | * | _________ joined #nim |
| 12:42:37 | * | beholders_eye joined #nim |
| 15:24:40 | * | thisago joined #nim |
| 15:24:54 | thisago | Hello guys! |
| 15:27:02 | Amun-Ra | morning |
| 15:28:40 | thisago | First time at IRC, nothing better than say hi to the Nim community :) |
| 15:29:06 | Amun-Ra | it's a good start ;) |
| 15:33:32 | thisago | Thanks for your time, see you soon! |
| 15:36:01 | Amun-Ra | happy nim programming :) |
| 15:38:17 | thisago | Tnx! |
| 15:44:28 | FromDiscord | <kiloneie> Man, i can't wait for Nimony and this: https://github.com/metacraft-labs/codetracer?tab=readme-ov-file#introduction to have Nim support. |
| 15:45:46 | Amun-Ra | looks interesting, thanks for the link |
| 15:46:59 | * | thisago quit (Quit: #some-unknown-channel-for-testing-without-struggle/) |
| 15:49:04 | FromDiscord | <heysokam> Does `uchar` exist, similar to `char`?↵I know about `cuchar`, but I don't know if the nim native `uchar` is a thing 🤔 |
| 15:49:20 | Amun-Ra | byte is |
| 15:49:36 | Amun-Ra | cuchar is just a C's unsigned char reflecting type |
| 15:49:42 | FromDiscord | <heysokam> ah good point, forgot about `byte` |
| 15:50:08 | Amun-Ra | …and deprecated, use byte/uint8 instead of cuchar |
| 15:51:57 | FromDiscord | <heysokam> Good to know, ty.↵I'm creating a random code generator, to cover all valid syntax, so I'll keep it around just for completion |
| 15:53:23 | FromDiscord | <leorize> no, because nim char is unsigned |
| 15:53:24 | FromDiscord | <leorize> or rather, char is not a fancy integer in nim |
| 15:54:34 | FromDiscord | <heysokam> In reply to @leorize "or rather, char is": can you elaborate a little bit on the distinction? |
| 15:54:35 | * | hygo quit (Quit: WeeChat 4.6.3) |
| 15:55:36 | Amun-Ra | char represents ascii character, if you need a type to store 8-bit values use int8/uint8 (aka byte) |
| 15:58:03 | FromDiscord | <leorize> ^ pretty much that |
| 15:58:12 | Amun-Ra | C does not have that distinction |
| 15:58:47 | Amun-Ra | you couldn't even pass char as an argument in good old days, that's why %c still accepts an int |
| 16:00:27 | FromDiscord | <heysokam> oh, so `char` is type restricted to ascii chars? I see, makes sense |
| 16:00:58 | FromDiscord | <leorize> they're not |
| 16:01:16 | Amun-Ra | I should have said 'characters' |
| 16:01:25 | * | Amun-Ra stares at string type |
| 16:01:25 | FromDiscord | <leorize> char can store any 8-bit values, regardless of whether it's ascii |
| 16:02:04 | * | beholders_eye quit (Ping timeout: 256 seconds) |
| 16:04:38 | FromDiscord | <kiloneie> The amount of walls hit, due to recursive dependencies D:... |
| 16:07:33 | FromDiscord | <heysokam> sent a code paste, see https://play.nim-lang.org/#pasty=sQzfPUkQ |
| 16:12:45 | FromDiscord | <leorize> it's not free, though |
| 16:19:36 | FromDiscord | <heysokam> wdym? |
| 16:28:59 | * | krunsh joined #nim |
| 16:37:34 | * | redj quit (Ping timeout: 255 seconds) |
| 16:38:31 | * | redj joined #nim |
| 16:51:15 | FromDiscord | <kiloneie> Fake gods, this was tiring D:... |
| 17:55:58 | * | redj quit (Ping timeout: 256 seconds) |
| 17:56:08 | * | ttkap quit (Ping timeout: 260 seconds) |
| 18:02:24 | * | beholders_eye joined #nim |
| 18:02:52 | krunsh | why do you think nim is so underrated? |
| 18:05:00 | * | ttkap joined #nim |
| 18:08:51 | krunsh | i something about araq ? i dont getit |
| 18:15:10 | FromDiscord | <mitranim> My assumption is most programmers are unable to appreciate the ways in which Nim is better than various Blubs |
| 18:15:26 | FromDiscord | <mitranim> (edit) "Blubs" => "[Blubs](<https://paulgraham.com/avg.html>)" |
| 18:33:37 | * | Mister_Magister quit (Ping timeout: 264 seconds) |
| 18:38:46 | FromDiscord | <TӨMΛ ☠> sent a code paste, see https://play.nim-lang.org/#pasty=aYurmnGJ |
| 18:39:27 | krunsh | damn! that article was deep, thanks! |
| 18:44:59 | FromDiscord | <TӨMΛ ☠> In reply to @mitranim "My assumption is most": I remember so many people saying Nim isn't for them purely because "no brackets" lol |
| 18:45:59 | FromDiscord | <TӨMΛ ☠> But it's also quite fun to think so many programmers throwing all their love towards AI the second it came out, quite unusual for conservative mindset↵It does feel funny with me being exact reverse - love jumping from lang to lang, but I swear to god I will never want to have AI code my apps |
| 18:46:17 | FromDiscord | <TӨMΛ ☠> (edit) "mindset↵It" => "mindset the article kinda talks upon↵It" |
| 18:46:27 | FromDiscord | <TӨMΛ ☠> (edit) "upon↵It" => "upon (conservative in terms of habits ofc)↵It" |
| 18:46:52 | FromDiscord | <nervecenter> In reply to @krunsh "why do you think": For one, Go and Rust have marketing budgets. For two, wherever the community zeitgeist of the Javascript world lurches gets slammed with tons of momentum, which I think Rust and Zig benefitted from. For three, yes, trivial non-issues like style insensitivity and indent-delimiting enrage a common type of programmer who cares very deeply about those things. |
| 18:53:37 | FromDiscord | <nervecenter> sent a long message, see https://pasty.ee/nJEVZDeU |
| 18:54:18 | FromDiscord | <nervecenter> (edit) "https://pasty.ee/JpRvHvsl" => "https://pasty.ee/saZBdJyn" |
| 18:57:35 | FromDiscord | <Elegantbeef> @TӨMΛ ☠ `Example = ref object` |
| 19:06:56 | krunsh | yeah i was thinking about that, you know rust hype or whatever, i mean maybe its a marketing thing ... but why?? |
| 19:23:55 | * | Mister_Magister joined #nim |
| 19:36:10 | * | redj joined #nim |
| 19:52:30 | * | redj quit (Read error: Connection reset by peer) |
| 19:53:00 | * | redj joined #nim |
| 20:14:47 | krunsh | i mean, can be just money right? |
| 20:16:41 | krunsh | im rewrittin from go, and it has been so damn fun XD. |
| 20:18:12 | FromDiscord | <TӨMΛ ☠> In reply to @Elegantbeef "<@656540400546480128> `Example = ref": Would this follow with `examples: seq[ref Example]` for the two next objects? |
| 20:20:25 | FromDiscord | <TӨMΛ ☠> It's quite confusing to me where exactly which thing should be used/done to work correctly :owo: |
| 20:24:17 | FromDiscord | <Elegantbeef> No cause the object is already a pointer |
| 20:24:24 | FromDiscord | <Elegantbeef> So you don't need to have a `ref ref Example` |
| 21:03:37 | * | Lord_Nightmare quit (Quit: ZNC - http://znc.in) |
| 21:04:25 | * | Lord_Nightmare joined #nim |
| 21:35:14 | * | zgasma joined #nim |
| 21:35:43 | * | zgasma quit (Client Quit) |
| 21:35:54 | * | zgasma joined #nim |
| 21:44:38 | * | Lord_Nightmare quit (Quit: ZNC - http://znc.in) |
| 21:46:13 | * | vsantana quit (Ping timeout: 264 seconds) |
| 21:47:10 | * | Lord_Nightmare joined #nim |
| 22:29:12 | * | ftajhii joined #nim |
| 22:42:12 | FromDiscord | <lousp4521> hey |
| 22:48:48 | FromDiscord | <.tokyovigilante> sent a code paste, see https://play.nim-lang.org/#pasty=cSIGozcN |
| 23:43:36 | FromDiscord | <.tokyovigilante> sent a code paste, see https://play.nim-lang.org/#pasty=UOrlbwUa |
| 23:44:22 | FromDiscord | <.tokyovigilante> (edit) "https://play.nim-lang.org/#pasty=oUyGmTQU" => "https://play.nim-lang.org/#pasty=kRSiGfQN" |
| 23:55:34 | * | beholders_eye quit (Ping timeout: 246 seconds) |