<< 02-12-2024 >>

00:06:20FromDiscord<huantian> sent a code paste, see https://play.nim-lang.org/#pasty=eWkuVnIt
00:07:27FromDiscord<huantian> (edit) "https://play.nim-lang.org/#pasty=XEncigMX" => "https://play.nim-lang.org/#pasty=roNDROAp"
00:08:59FromDiscord<huantian> i have to do `template timed(code: untyped): untyped =`
00:11:35FromDiscord<bostonboston> Move the type declaration out of the code block
00:12:04FromDiscord<bostonboston> sent a code paste, see https://play.nim-lang.org/#pasty=tOQcipRB
00:48:00*disso-peach joined #nim
01:41:22*SchweinDeBurg quit (Quit: WeeChat 4.5.0-dev)
02:51:04*rockcavera quit (Ping timeout: 272 seconds)
03:49:55*SchweinDeBurg joined #nim
06:38:58*coldfeet joined #nim
06:41:43*coldfeet quit (Client Quit)
07:15:34Amun-RaI'd move the code to its own block in order to prevent name clashing with the code in timed template
08:02:33*xutaxkamay quit (Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in)
08:03:29*xutaxkamay joined #nim
09:03:09*coldfeet joined #nim
09:11:05*coldfeet quit (Quit: Lost terminal)
09:33:28*disso-peach quit (Quit: Leaving)
10:04:59*PMunch joined #nim
11:12:53*om3ga quit (Ping timeout: 244 seconds)
11:26:11*alexdaguy joined #nim
12:49:34*alexdaguy quit (Quit: WeeChat 4.4.4)
12:51:03*alexdaguy joined #nim
13:05:51FromDiscord<bubbly_avocado_86424> does there exist a jupyter-notebook for Nim ?↵ is there chance of seeing a stable nimx version in nimble ?
13:31:58FromDiscord<nnsee> @double_spiral forgot to link my implementation for your reference https://git.dog/xx/nim-chip8
14:05:13*beholders_eye joined #nim
15:05:45FromDiscord<sharonne> Any Cashapp? Chime? Zelle? Btc? Usdt?Skrill? Apple Pay? Pay pal? Venmo? BOA? Wells Fargo? Join my channelhttps://t.me/+32cFzLuOiacxZmM0↵↵
Got any of these
Chase?
BOA?
Wells Fargo?
Navy federal?
Capital one?
Truist?
Att &t?
PNC?
TD bank?
Credit union?
M&T bank?
Santander bank?
Northwest bank?
Or any other local Bank but
JOIN THE CHANNEL NOW TO GET PAID
Join the telegram channel✅
15:06:14PMunchI'm on it
15:13:15*PMunch quit (Quit: Leaving)
15:27:42*ntat joined #nim
15:37:16FromDiscord<bostonboston> In reply to @bubbly_avocado_86424 "* does there exist": Nimib is the closest thing I can think of to jupyter, but I've never used either
17:17:53*alexdaguy quit (Quit: WeeChat 4.4.4)
17:35:37*SchweinDeBurg quit (Quit: WeeChat 4.5.0-dev)
18:17:14FromDiscord<albassort> sent a code paste, see https://play.nim-lang.org/#pasty=OIIDuFPo
18:17:35FromDiscord<albassort> for whatever reason asyncHttpClient refuses to send a single byte>?
18:29:25FromDiscord<albassort> yeah it doesn't work for uh anything
18:29:34FromDiscord<albassort> sent a code paste, see https://play.nim-lang.org/#pasty=dtsztEkz
18:32:10FromDiscord<albassort> sent a code paste, see https://play.nim-lang.org/#pasty=QSwvxSTF
18:40:32FromDiscord<demotomohiro> In reply to @albassort "yeah it doesn't work": I think you need to call `waitfor`, `runforever` or `poll`.
18:40:57FromDiscord<albassort> ah you're right
18:41:07FromDiscord<albassort> i never work with async lol
19:02:52FromDiscord<TFed> how to remove files(s) in nim?
19:02:53FromDiscord<TFed> removeFile()?
19:03:38FromDiscord<TFed> `removeFile()`?
19:06:45FromDiscord<TFed> yup, i found it `removeFile()` and `removeDir()`
19:07:05FromDiscord<TFed> i don't have to read docs that often, that's incredible
20:11:47*xet7 quit (Remote host closed the connection)
20:13:25FromDiscord<bubbly_avocado_86424> hey, anyone knows how to get NimX to compile properly ?
20:56:36FromDiscord<pmunch> Assuming you're the same person who opened an issue in the repo 12 hours ago, did you try --maxLoopIterationsVM:10000000000000
20:58:04FromDiscord<pmunch> @bubbly_avocado_86424
21:00:26FromDiscord<bubbly_avocado_86424> hey @pmunch yeah i did, trying again since I may've missed a 0 there↵nim c -r --threads:on --maxLoopIterationsVM:10000000000000 ui.nim
21:01:00FromDiscord<pmunch> Maybe try an older version of Nim seeing how it's been a year since the last commit?
21:01:30FromDiscord<bubbly_avocado_86424> that killed the compile
21:02:30FromDiscord<bubbly_avocado_86424> @pmunch such a tragedy, nim has great libraries but none of them live long enough
21:03:07FromDiscord<bubbly_avocado_86424> wanted to use this for a POC but nim with a UI looks like a dead end
21:03:31FromDiscord<bubbly_avocado_86424> adopting NimX as part of std would make sense since it supports a lot of targets
21:03:38FromDiscord<bubbly_avocado_86424> meh
21:03:58FromDiscord<pmunch> I use Nim with UI for multiple projects
21:04:08FromDiscord<bubbly_avocado_86424> ah cool
21:04:14FromDiscord<pmunch> So definitely not a complete dead end
21:04:32FromDiscord<bubbly_avocado_86424> what I'm looking for is basically only available with Nimx
21:04:40FromDiscord<pmunch> But a cross-platform thing like NimX would indeed be nice to see flourish
21:04:44FromDiscord<pmunch> What are you looking for?
21:04:44FromDiscord<bubbly_avocado_86424> in reality just Linux + HTML/JS would be good enough
21:05:07FromDiscord<bubbly_avocado_86424> perferably: apple, ms, linux, html/js
21:05:11FromDiscord<pmunch> I mean you could use any of the web-based solutions
21:05:20FromDiscord<pmunch> Like web-tech based
21:05:32FromDiscord<bubbly_avocado_86424> the idea is to have like just a minor web tech and mostly binary
21:05:47FromDiscord<pmunch> Yeah, for that the HTML+JS would be hard
21:05:49FromDiscord<bubbly_avocado_86424> i do hate building UI due to all complexity
21:06:10FromDiscord<pmunch> If you want HTML+JS as a target then just going all-out web-tech is probably the safest bet
21:06:14FromDiscord<bubbly_avocado_86424> but i also like designin UI because it kind intruiges me how to present information
21:06:40FromDiscord<bubbly_avocado_86424> a lib like NimX would permit to have it all done with one consistent approach
21:06:41FromDiscord<pmunch> UI can be a PITA for sure
21:07:04FromDiscord<bubbly_avocado_86424> the errors i got don't seem to be that hard
21:07:04FromDiscord<pmunch> I mean you could always try to get NimX up and running again
21:07:18FromDiscord<pmunch> Did you try an older version?
21:07:22FromDiscord<bubbly_avocado_86424> nope
21:07:24FromDiscord<pmunch> Should be trivial with choosenim
21:07:48FromDiscord<bubbly_avocado_86424> why does programming have that manyu challenges these days, sigh
21:07:51FromDiscord<bubbly_avocado_86424> no fun
21:08:00FromDiscord<bubbly_avocado_86424> i long for the days of pascal and tcl
21:09:04FromDiscord<bubbly_avocado_86424> it is mesmerizing to see all those talented people gather on open source to then abandon great projects all the time
21:15:27FromDiscord<.bobbbob> it's seems like for every language if different things are a few versions off they just don't work, it's obnoxious
21:19:59FromDiscord<ikanaut> sent a long message, see https://pasty.ee/PZxWPWeh
21:26:25FromDiscord<pmunch> If you have a package called `choosenim` install that instead. Otherwise install it manually from the website
21:26:49FromDiscord<pmunch> For some reason packages keep messing up the Nim folder structure
21:27:01*rockcavera joined #nim
21:50:12*ntat quit (Quit: Leaving)
22:27:35FromDiscord<kuxv> sent a code paste, see https://play.nim-lang.org/#pasty=rdlxlzmc
22:28:05FromDiscord<kuxv> it seems like lines() can only be used in a for loop?
22:32:27FromDiscord<griffith1deadly> In reply to @kuxv "hi there, is there": i think for reading not whole content you need read file as a stream (like chronos faststreams or anything)
23:13:19FromDiscord<ikanaut> In reply to @pmunch "If you have a": It's not in the software manager. I downloaded the binary from github and ran it as a program but nothing happened.
23:49:58FromDiscord<@@prestosilver> sent a code paste, see https://play.nim-lang.org/#pasty=DKQYsJBB