<< 29-05-2026 >>

01:35:18*fallback_ joined #nim
01:37:39*fallback quit (Ping timeout: 268 seconds)
02:13:06*rockcavera quit (Remote host closed the connection)
02:53:49*joast quit (Quit: Leaving.)
06:55:20*Skippy8 joined #nim
07:00:48FromDiscord<mrqubo> It fails immediatelly on `getProjectFile`. Does langserver only works if I create a project? https://media.discordapp.net/attachments/371759389889003532/1509813743448752258/lsp.log?ex=6a1a8b1f&is=6a19399f&hm=4c3363c289a8749ba233786aad3dd55ba83c8138762c570797440b6ba6ed1d3c&
07:10:14FromDiscord<mrqubo> Huh, it randomly started working after I deleted `rm /home/nix/.local/state/nvim/lsp.log`??
07:11:02FromDiscord<mrqubo> (edit) "`rm /home/nix/.local/state/nvim/lsp.log`??" => "`/home/nix/.local/state/nvim/lsp.log`??"
07:30:32FromDiscord<nevillegg> In reply to @nasuray "Hmmm I use nix/nixos": use guix lol
07:30:51FromDiscord<nevillegg> gnu guix 🔥
07:30:54FromDiscord<nevillegg> nvm
07:31:14FromDiscord<nevillegg> In reply to @mrqubo "Huh, it randomly started": Use nimlsp. Have you tried it?
07:31:20FromDiscord<nevillegg> if nimlangserver bugs too much
07:31:26FromDiscord<nevillegg> nimlangserver bugged oftne
07:32:30FromDiscord<mrqubo> In reply to @nevillegg "Use nimlsp. Have you": Yeah, it worked, but requires having to keep nimlsp and nim versions in sync which is a bit of an extra hassle.
07:33:05FromDiscord<mrqubo> nimlangserver works for now that I fixed it. But if it breaks again I'll go with your advice and switch to nimlsp.
08:20:54*Skippy8 quit (Read error: Connection reset by peer)
08:21:10*Skippy8 joined #nim
08:25:12*Skippy8 quit (Ping timeout: 246 seconds)
08:34:19*Skippy8 joined #nim
08:36:40FromDiscord<bung8954> better working in a nimble project structure
08:40:14FromDiscord<bung8954> In reply to @mrqubo "Yeah, it worked, but": but it proven result especially after std changed
09:59:02*fallback_ quit (Quit: IRCNow and Forever!)
09:59:47*fallback joined #nim
10:48:42*Skippy8 quit (Ping timeout: 246 seconds)
10:52:44*Skippy8 joined #nim
11:01:35FromDiscord<tempestro> sent a code paste, see https://play.nim-lang.org/#pasty=FQSZjpcX
11:22:55*Skippy8 quit (Ping timeout: 272 seconds)
11:24:26FromDiscord<Laylie> would it not have to start with = if you want it to have the same precedence as ==
11:35:25FromDiscord<tempestro> Oh, I see that's an issue
11:42:03FromDiscord<pmunch> Where is ~ on a US keyboard? Or other European keyboards for that matter?
11:43:02*Skippy8 joined #nim
11:43:26FromDiscord<pmunch> For me it's `AltGr+"` and then a space (it's a so called dead key, by itself it doesn't create a character, but the next character gets the ~ applied to it. So for example `AltGr+"` and then `n` would produce ñ)
11:43:35FromDiscord<pmunch> Not the most convenient of symbols..
11:46:44Amun-Rashift + `?
11:47:46FromDiscord<tempestro> yeah↵The key furthest in the top left corner, with shift
11:49:27FromDiscord<tempestro> ~ is a unary bitwise NOT (i.e. invert all bits) in a lot of languages
11:52:59FromDiscord<pmunch> In reply to @mrqubo "Yeah, it worked, but": We really should add support for hooks in choosenim..
11:53:35FromDiscord<pmunch> In reply to @tempestro "yeah The key furthest": Aha, that is my pipe key
11:53:53FromDiscord<pmunch> Allowing me to type these characters: | § ¦ ¶
11:54:49FromDiscord<pmunch> Maybe I should just bind AltGr+- to be ~
12:38:43FromDiscord<spotlightkid> sent a long message, see https://pasty.ee/GvhNdbCn
12:44:09FromDiscord<mrqubo> In reply to @spotlightkid "<@392962235737047041>\: On German keyboard": Why would you type with one hand in the first place?
12:47:48tarzeauyay! nim backport for debian trixie!!!
12:48:24*xutaxkamay quit (Ping timeout: 244 seconds)
12:50:33FromDiscord<spotlightkid> @mrqubo\: because the AltGr and the + key are on the same side and in the same horizontal area of the keyboard.↵I don't type with just one hand generally (well, sometimes, on the sofa, with a laptop I do 😉), I just keep each hand on it's own side of the keyboard.
12:52:26tarzeauhmmm build fails on arm64 but built with amd64 (ok that was nim 2.2.4), /me tries 2.2.10
12:52:34*xutaxkamay joined #nim
12:54:09FromDiscord<spotlightkid> I built 2.2.10 successfully on my arm64 android tablet under termux.
13:00:58*tarzeau just testing it on amd64 now... otherwise sharing the build log
13:01:57tarzeauohhh could be missing /dev, /proc /sys bind mounts, tried in chroot... the one that worked was native trixie... /me checks
13:04:59FromDiscord<pmunch> In reply to @spotlightkid "<@392962235737047041>\: On German keyboard": Sounds very similar to the Norwegian layout. Exact same bracket setup, and my `¨` key is in the same location as your `+` key
13:05:42FromDiscord<pmunch> My `+` key is next to 0 and has ? as the shift option and ± as the AltGr option
13:05:43tarzeau:( http://5.148.187.105/trixie/usr/src/nim_2.2.10-1~bpo13%2b1_amd64.build
13:06:11FromDiscord<pmunch> In Norway though we are cursed with the "Scandinavian" layout..
13:06:58FromDiscord<pmunch> (By the way, this is with Norwegian Dvorak layout, the key locations are different on QWERTY, but the symbols on each key are the same)
13:08:08FromDiscord<pmunch> For some reason each of the Scandinavian countries made slightly different keyboards, but since they're 90% the same manufacturers nowadays have created the Scandinavian common layout which features a couple abominations
13:09:39FromDiscord<pmunch> I'd take some pictures if my keyboard wasn't quite as disgusting..
13:17:50Amun-RaI used one with swedish layout printed on keys
13:18:10tarzeaujust wait for french or turkish keyboards. they are cursed!
13:29:02FromDiscord<nnsee> In reply to @tarzeau ":( http://5.148.187.105/trixie/usr/src/nim_2.2.10-1": looks like `conf.prefixDir()` is returning... nothing?
13:30:15FromDiscord<nnsee> https://github.com/nim-lang/Nim/blob/7813bd8b92824cacec9cddb5152f8c9ed645e03c/compiler/nimpaths.nim#L27, https://github.com/nim-lang/Nim/blob/7813bd8b92824cacec9cddb5152f8c9ed645e03c/compiler/docgen.nim#L1806 and https://github.com/nim-lang/Nim/blob/7813bd8b92824cacec9cddb5152f8c9ed645e03c/compiler/options.nim#L755
13:34:23tarzeaugemini npm install also fails. and copiilot is thinking, forever and having no clue of nim
13:35:13tarzeau@nnsee it's great you post me three links. but really i can barely spell NIM, reading and writing nim code, or holy cow DOC, is like something from another universe
13:35:28tarzeaulinks that don't fit one line on my screen are like, forbidden :)
13:35:44FromDiscord<nnsee> they fit fine on my ultrawide!
13:35:47tarzeauwait meanwhile copilot lies to me it found the issue
13:36:14tarzeauit told me three times it found the bug. it found it!...
13:36:52tarzeauif only it would stop telling me perfect i foudn the issue and just freaking fix it and shut up so i can just see the diff and debuild
13:37:11tarzeaualmost as if it was written by a woman
13:37:17tarzeaudamn, my wife talks less
14:21:12FromDiscord<nevillegg> In reply to @mrqubo "Yeah, it worked, but": I see.
14:21:32FromDiscord<nasuray> In reply to @tarzeau "almost as if it": the probability word machine failed so you then resort to misogyny ...
14:42:00FromDiscord<mratsim> In reply to @tarzeau "damn, my wife talks": This is not OK
14:44:44tarzeautalking or talking less? wife or ai? @mratsim
14:51:05FromDiscord<mratsim> In reply to @tarzeau "talking or talking less?": > almost as if it was written by a woman↵> damn, my wife talks less↵↵is not OK
15:05:36FromDiscord<tempestro> https://www.youtube.com/watch?v=thHWvoYfNyo
15:27:14*joast joined #nim
15:58:44*xet7 joined #nim