<< 20-11-2024 >>

00:03:31*tiorock joined #nim
00:03:31*tiorock quit (Changing host)
00:03:31*tiorock joined #nim
00:03:31*rockcavera quit (Killed (molybdenum.libera.chat (Nickname regained by services)))
00:03:31*tiorock is now known as rockcavera
00:05:35*rockcavera is now known as Guest4926
00:05:35*tiorock joined #nim
00:05:35*Guest4926 quit (Killed (mercury.libera.chat (Nickname regained by services)))
00:05:35*tiorock is now known as rockcavera
01:30:11*lucasta quit (Quit: Leaving)
01:43:57*jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…)
03:13:58*kk joined #nim
03:14:01*kk quit (Client Quit)
06:09:44*ntat joined #nim
06:11:40*SchweinDeBurg quit (Quit: WeeChat 4.5.0-dev)
06:14:48*SchweinDeBurg joined #nim
06:50:34*tdc joined #nim
07:24:48*PMunch_ is now known as PMunch
07:53:39*ntat quit (Quit: Leaving)
09:22:09*jjido joined #nim
09:47:11*jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…)
10:24:30*tiorock joined #nim
10:24:30*tiorock quit (Changing host)
10:24:30*tiorock joined #nim
10:24:30*rockcavera is now known as Guest1242
10:24:30*Guest1242 quit (Killed (silver.libera.chat (Nickname regained by services)))
10:24:30*tiorock is now known as rockcavera
10:26:35*tiorock joined #nim
10:26:35*rockcavera is now known as Guest2588
10:26:35*Guest2588 quit (Killed (lithium.libera.chat (Nickname regained by services)))
10:26:35*tiorock is now known as rockcavera
13:26:53*ntat joined #nim
14:13:03*tiorock joined #nim
14:13:03*rockcavera is now known as Guest7000
14:13:03*tiorock is now known as rockcavera
14:15:11*tiorock joined #nim
14:15:11*rockcavera is now known as Guest741
14:15:11*Guest741 quit (Killed (zirconium.libera.chat (Nickname regained by services)))
14:15:11*tiorock is now known as rockcavera
14:16:54*Guest7000 quit (Ping timeout: 244 seconds)
15:04:14*ntat_ joined #nim
15:04:54*ntat quit (Ping timeout: 276 seconds)
15:19:13*PMunch quit (Quit: Leaving)
15:26:06*alexdaguy joined #nim
15:30:27*jjido joined #nim
16:20:07*alexdaguy quit (Ping timeout: 252 seconds)
16:30:05*ntat_ is now known as ntat
16:40:21*lucasta joined #nim
17:16:40*xet7 quit (Remote host closed the connection)
17:21:35*xet7 joined #nim
19:01:40FromDiscord<broman7776> sent a long message, see https://pasty.ee/AxfmbSxH
19:08:37*lucasta quit (Quit: Leaving)
19:09:37*lucasta joined #nim
19:12:50*krux02 joined #nim
19:23:07FromDiscord<nervecenter> sent a long message, see https://pasty.ee/CFNBRxAB
19:25:29Amun-Raon a plus side - sane syntax
19:36:26FromDiscord<rakgew> right, sane syntax and the all-powerful-macro-magic
19:38:44Amun-Ratrue
19:39:43FromDiscord<broman7776> Thanks
21:06:10FromDiscord<demotomohiro> When you use C libraries from Nim, you can use c2nim or futhark https://github.com/PMunch/futhark
21:08:35FromDiscord<demotomohiro> If you want to understand the code generated by these tools or want to wrap C library manually, this article might help: https://internet-of-tomohiro.pages.dev/nim/clibrary.en
21:20:17*tdc quit (Ping timeout: 248 seconds)
21:22:52*ntat quit (Quit: Leaving)
21:38:56*beholders_eye joined #nim
21:54:41*lucasta quit (Remote host closed the connection)
22:00:05FromDiscord<patitotective> sent a code paste, see https://play.nim-lang.org/#pasty=HoBgPnNn
22:00:59FromDiscord<patitotective> sent a code paste, see https://play.nim-lang.org/#pasty=uIECKdXn
22:01:23FromDiscord<patitotective> (edit) "https://play.nim-lang.org/#pasty=ISYMEPyB" => "https://play.nim-lang.org/#pasty=fnGLEhxP"
22:06:45FromDiscord<Elegantbeef> Non fixed width characters are fun
22:08:12FromDiscord<patitotective> maybe there's a way to know the expected lenght of a character, let me search
22:08:32FromDiscord<patitotective> (edit) "lenght" => "width"
22:08:56FromDiscord<Elegantbeef> It depends on the font
22:10:06FromDiscord<Elegantbeef> sent a code paste, see https://play.nim-lang.org/#pasty=pGfGMuwb
22:10:34FromDiscord<Elegantbeef> Pointing arrows at specific characters is only really doable if all characters are fixed width, or you are in non grid aligned world
22:10:53FromDiscord<Elegantbeef> This is why it works with ascii characters in terminals, most people use monospace for the ascii range
22:11:02FromDiscord<kubo39> try https://github.com/jiro4989/eastasianwidth , though I'm not sure it works well with emojis.
22:12:01FromDiscord<patitotective> In reply to @kubo39 "try https://github.com/jiro4989/eastasianwidth , th": 🧐 gonna try it later, thanks
22:12:09FromDiscord<patitotective> In reply to @Elegantbeef "It depends on the": :(
22:12:34FromDiscord<Elegantbeef> I could be wrong 😛
22:13:55FromDiscord<Elegantbeef> I do imagine that for the most accurate width it requires knowing the font width
22:14:55FromDiscord<patitotective> i wonder if rust manages it properly, i mainly began trying to pretty print parsing errors because i saw rust printed them pretty nicely
22:17:30FromDiscord<kubo39> rust uses unicode-width crate, which supports east asian width.
22:18:22FromDiscord<kubo39> In reply to @Elegantbeef "I do imagine that": true, it depends locales and fonts. uses eastasianwidth solves most cases but not all.
22:19:34FromDiscord<patitotective> well, i also do tell which line and column the error is in, so even if it doesn't point to it properly you can figure it out on your own ;)
22:22:56*beholders_eye quit (Ping timeout: 255 seconds)
22:43:48*lucasta joined #nim
23:19:29FromDiscord<thegy.nick.dixon> sent a long message, see https://pasty.ee/WzyCogoI
23:24:24FromDiscord<migmoog> trying to install vim on windows and Windows Security doesn't seem to like it 🧐
23:24:31FromDiscord<migmoog> (edit) "vim" => "nim"
23:24:33FromDiscord<auxym> @.mode80
23:25:30FromDiscord<auxym> (edit) "@.mode80" => "<@&371760044473319454>"
23:26:24FromDiscord<auxym> In reply to @migmoog "trying to install nim": Yes, known issue unfortunately. It's a false positive. you can safely ignore it if you can. Or if you're my employer's IT department, immediately revoke my password and network access and block the laptop until it has been re-imaged
23:26:59FromDiscord<migmoog> In reply to @auxym "Yes, known issue unfortunately.": you have my condolences 🙇
23:28:12FromDiscord<auxym> https://github.com/nim-lang/Nim/issues/17820 FYI. there was also a lot of discussion about it on the forums
23:28:33*Deadm0th quit (Quit: Twój stary)
23:29:55FromDiscord<auxym> In reply to @auxym "<@&371760044473319454>": btw that spammer was offering chocolate bars along with drugs, cloned cards and counterfeit currency. Is that a euphemism for something else, or are tasty snacks also a hot commodity of the dark web?
23:34:56FromDiscord<Elegantbeef> Hopefully worst case it's THC chocolate
23:35:54FromDiscord<Knox> For good Glass or Stimmy join rn https://matrix.to/#/%23Alphalegnd%3Amatrix.org
23:46:29FromDiscord<bostonboston> In reply to @migmoog "trying to install nim": If you're okay with not being on devel or latest stable I believe 2.0.8 doesn't trigger windows defender