<< 26-10-2024 >>

00:00:00FromDiscord<morgan (ping with reply)> eh ptr ua works fine
00:00:03FromDiscord<Elegantbeef> No clue what your max size is, but could always just use a set that allows that
00:00:17FromDiscord<Elegantbeef> Yea but it's more work that might not be done so just pointing it out
00:00:30FromDiscord<morgan (ping with reply)> i highly doubt ill have sizes above 32x32
00:01:24FromDiscord<morgan (ping with reply)> 16x16 would be enough for the base game, but i might expand it for a 6 tile piece mode if i add that
00:02:00FromDiscord<Elegantbeef> It is luckily as much as changing a single constant if you do decide to go for the static sized set 😄
00:06:28FromDiscord<morgan (ping with reply)> well my main concern has been the bitmap side of it, since that's gonna be the main thing used for the ai, which has been a main concern with designing this backend system for it. this way i can essentially check the whole board at once, which i think is required for the ai to be fast enough to work
00:07:23FromDiscord<morgan (ping with reply)> (minimax a/b pruning, no clue the depth ill need, but my goal is to design an ai that can be tweaked however for whatever need in the game, whatever difficulty)
03:13:17*SchweinDeBurg quit (Quit: WeeChat 4.5.0-dev)
03:16:34*SchweinDeBurg joined #nim
05:58:04FromDiscord<narimiran> NimConf will start in 5 hours! Set your alarms and reminders! đŸ™‚â†”â†”https://conf.nim-lang.org
06:24:37*ntat joined #nim
08:33:54*ryuukk quit (Ping timeout: 272 seconds)
08:34:21*ryuukk joined #nim
08:38:06*coldfeet joined #nim
10:01:58*ryuukk quit (Ping timeout: 252 seconds)
10:02:15*ryuukk joined #nim
10:51:53FromDiscord<narimiran> In reply to @narimiran "NimConf will start in": Less than 10 minutes to go!↔↔https://www.youtube.com/watch?v=e9sal7pcLuk&list=PLxLdEZg8DRwSkT93RIO-CoY-MxHOjYzs2&index=1
10:57:50*PMunch joined #nim
11:14:39FromDiscord<ezquerra> You guys watching the NimConf talks?
11:15:57FromDiscord<rakgew> for sure! \:-D
11:15:58PMunchOf course!
11:53:45*ryuukk quit (Remote host closed the connection)
12:00:25*ryuukk joined #nim
12:58:48FromDiscord<djazz> Been out but just in time for futhark!
12:59:57FromDiscord<narimiran> In reply to @narimiran "Less than 10 minutes": the first break is (almost) over, it's time to join the second part of the conf!↔↔https://www.youtube.com/watch?v=Pv5WVzmgnbM&list=PLxLdEZg8DRwSkT93RIO-CoY-MxHOjYzs2&index=5
13:11:05*beholders_eye quit (Ping timeout: 260 seconds)
13:23:04*coldfeet quit (Remote host closed the connection)
14:02:12strogon14Working in the garden. Will watch at least the futhark, GPU and nimib talks at leisure tonight. Probably also the one from freeform.
14:02:23strogon14*treeform
14:07:40*beholders_eye joined #nim
14:25:56*ryuukk quit (Remote host closed the connection)
14:27:53*ryuukk joined #nim
14:32:34*coldfeet joined #nim
14:54:11FromDiscord<treeform> ^ me
15:07:10*PMunch quit (Quit: leaving)
15:17:32*beholders_eye quit (Ping timeout: 264 seconds)
15:30:51FromDiscord<narimiran> The last part of the NimConf is starting! Don't miss it!!↔↔https://www.youtube.com/watch?v=yUb6Vjl2ovw&list=PLxLdEZg8DRwSkT93RIO-CoY-MxHOjYzs2&index=9
15:54:31*beholders_eye joined #nim
16:01:29FromDiscord<pattmayne> Many interesting projects going on there
16:09:08*beholders_eye quit (Ping timeout: 264 seconds)
16:44:33FromDiscord<TFed> i want to import a user's library`import ~/lib.nim`
16:44:38FromDiscord<TFed> i want to import user's library`import ~/lib.nim`
16:46:13FromDiscord<TFed> is it possible?
16:49:13FromDiscord<TFed> [Edit](https://discord.com/channels/371759389889003530/371759389889003532/1299775710822400000): i want to import user's library↔IMPORT \~/LIB.NIM↔`import ~/lib`
16:49:28FromDiscord<TFed> sent a code paste, see https://play.nim-lang.org/#pasty=EgrxqxsR
16:50:08FromDiscord<TFed> i mean it supports `..` and `.`
16:50:12FromDiscord<TFed> i mean it supports `..` with `.`
16:56:35FromDiscord<TFed> sent a code paste, see https://play.nim-lang.org/#pasty=bTLqJyyt
16:57:37FromDiscord<TFed> sent a code paste, see https://play.nim-lang.org/#pasty=nmsqGZYR
16:59:46FromDiscord<TFed> sent a code paste, see https://play.nim-lang.org/#pasty=HBxVdwSG
17:17:48FromDiscord<TFed> sent a code paste, see https://play.nim-lang.org/#pasty=HefpwZKf
17:17:51FromDiscord<TFed> sent a code paste, see https://play.nim-lang.org/#pasty=NdCbvdLX
17:18:02FromDiscord<TFed> sent a code paste, see https://play.nim-lang.org/#pasty=ElylsAFO
17:18:30FromDiscord<TFed> sent a code paste, see https://play.nim-lang.org/#pasty=RFHLjtSm
18:51:14FromDiscord<spotlightkid> TFed\: look up the `-p, --path:PATH` option to nim.
19:02:41FromDiscord<meatypat> Hello everybody! I don't know, where to post this but anyways: I just started a project in Nim and I am not 100% sure, what that project's goal would be. I just like to program, even if I don't know where I am going. So I just came here to ask that does anyone of you have ANY idea for that project? Only requirement is that it should be "low-level" to prove, that Nim is amazing systems programming language. :P
19:07:07FromDiscord<michaelb.eth> In reply to @meatypat "Hello everybody! I don't": what kinds of programs have you written in the past with a systems programming lang?
19:07:49FromDiscord<.bobbbob> In reply to @meatypat "Hello everybody! I don't": tbh getting nim to work with an arduino or some mc at all would be cool
19:08:59FromDiscord<meatypat> In reply to @michaelb.eth "what kinds of programs": Nothing too special, just simple kernel modules in C and tried making open source Grand strategy game (that failed, obviously) etc
19:09:47FromDiscord<tauruuuuuus> In reply to @.bobbbob "tbh getting nim to": Check out ratel or avr_io then, just talked about this today in nimconf! Come join us in #embedded 👀
19:10:49FromDiscord<meatypat> In reply to @.bobbbob "tbh getting nim to": I have been thinking that I could (maybe) make a somewhat universal "toolkit" for using Nim in embedded systems.
19:17:30FromDiscord<bubbly_avocado_86424> restarting the effort of learning Nim, vscode appears to have a sandbox (sigh) which blocks from using Nim↔wtf, how do i learn Nim if VSCode blocks it↔any other IDE recommended which does not act this crazy ?
19:17:53FromDiscord<spotlightkid> zed
19:19:27FromDiscord<bubbly_avocado_86424> In reply to @spotlightkid "zed": does it come without AI ?
19:22:45FromDiscord<spotlightkid> you can switch it off
19:23:02FromDiscord<spotlightkid> I never use it.
19:26:39FromDiscord<michaelb.eth> In reply to @bubbly_avocado_86424 "restarting the effort of": what do you mean “blocks it”?
19:26:44*ovenpasta joined #nim
19:28:14FromDiscord<michaelb.eth> @bubbly_avocado_86424 see https://github.com/nim-lang/vscode-nim
19:31:30FromDiscord<bubbly_avocado_86424> In reply to @michaelb.eth "<@1263017119956729937> see https://github.com/nim-l": on not few Linux distro it is installed as a flatpak, which runs a sandbox by default
19:31:47FromDiscord<bubbly_avocado_86424> In reply to @spotlightkid "I never use it.": any nim packages recommended to install with Zed ?
19:32:04FromDiscord<bubbly_avocado_86424> nimlangserver or nimlsp ?
19:32:18FromDiscord<spotlightkid> nimlangserver
19:39:16FromDiscord<bubbly_avocado_86424> In reply to @spotlightkid "nimlangserver": woah, that takes a reall long time, what is this doing ? compiling locally ?
19:40:22FromDiscord<bubbly_avocado_86424> Language server error: nim↔nim-langserver not installed.
19:40:39FromDiscord<Elegantbeef> Yes you can download the releases
19:40:50FromDiscord<Elegantbeef> Nimlangserver compiles a specific Nim version for reproducible builds but it's tedious
19:44:28FromDiscord<bubbly_avocado_86424> it finished "already" in the meantime, makes me a bit anxious really when stuff start to compile
19:45:09FromDiscord<bubbly_avocado_86424> is this behavior which can be conifgured to happen by exception not default ?
19:46:38FromDiscord<Elegantbeef> I do not know
19:47:05FromDiscord<spotlightkid> which behavior?
19:47:11FromDiscord<bubbly_avocado_86424> I don't understand why a package would have to compile
19:47:23FromDiscord<Elegantbeef> Cause Nim is a compiled language?
19:47:28FromDiscord<spotlightkid> this.
19:47:41FromDiscord<bubbly_avocado_86424> whut?
19:47:46FromDiscord<Elegantbeef> Nimlangserver is a binary
19:48:01FromDiscord<Elegantbeef> You need to compile it to have it installed
19:48:05FromDiscord<Elegantbeef> nimble does not download prebuilt binaries
19:48:11FromDiscord<bubbly_avocado_86424> wtf
19:48:22FromDiscord<bubbly_avocado_86424> that's crazy, sorry for my language
19:48:24FromDiscord<bubbly_avocado_86424> why?
19:48:34FromDiscord<Elegantbeef> Why would it
19:48:42FromDiscord<spotlightkid> because there are many OSes and architectures
19:49:17FromDiscord<bubbly_avocado_86424> sorry, this is like a serious letdown
19:49:18FromDiscord<Elegantbeef> Not to mention it means you need to have a ecosystem to download releases from a giturl
19:49:20FromDiscord<bubbly_avocado_86424> wtf
19:49:30FromDiscord<Elegantbeef> I do not see how it can be a serious let down
19:49:41FromDiscord<Elegantbeef> How many programs are you installing using Nimble?
19:50:04FromDiscord<bubbly_avocado_86424> i've used computers for 32 years, I don't remember ever having had a package manager which requires to compiles packages before installation
19:50:19FromDiscord<Elegantbeef> This is a language package manager
19:50:27FromDiscord<Elegantbeef> Cargo also can do the same
19:50:39FromDiscord<spotlightkid> Even on PyPI, the Python package index, the majority of packages, which need compilation, does not have pre-built binary packages. And even if they do, they usually only have them for the major Oses and architectures.
19:50:39FromDiscord<bubbly_avocado_86424> yeah, can do the same, doesn't default to that
19:50:57FromDiscord<bubbly_avocado_86424> i don't worry about pypi, i stay away from python
19:51:07FromDiscord<Elegantbeef> Nimlangserver requires a specific nim version to compile, so it compiles the Nim compiler first if you do not use it
19:51:15FromDiscord<Elegantbeef> It's such a moot issue
19:52:16FromDiscord<bubbly_avocado_86424> I just wasted 3 days on a vscode extension to work with http/rest/json and i'm convinced I can do it in a few hours with Nim what I was trying to do↔either way, the compiles took a few handful of minutes, it's done now
19:52:39FromDiscord<Elegantbeef> `cargo install` also builds by default
19:53:14FromDiscord<bubbly_avocado_86424> sent a long message, see https://pasty.ee/hFvoKSpz
19:53:19FromDiscord<Elegantbeef> sent a code paste, see https://play.nim-lang.org/#pasty=XQYpXRpm
19:53:19FromDiscord<Elegantbeef> From Rust's book
19:53:27FromDiscord<Elegantbeef> Ensure the binary is in your path
19:53:39FromDiscord<Elegantbeef> Ensure the editor is setup to search for it
19:53:53*cm quit (Ping timeout: 248 seconds)
19:53:55FromDiscord<spotlightkid> add `~/.nimble/bin` to PATH
19:54:35FromDiscord<Elegantbeef> Sometimes editors do not respect the env path var
19:54:45FromDiscord<Elegantbeef> I know Kate hardcodes it's search paths for default LSPs
19:55:14FromDiscord<Elegantbeef> Tediously it searches for nimlsp inside `~/.nimble/bin`
19:59:35FromDiscord<bubbly_avocado_86424> sent a long message, see https://pasty.ee/JGnNgcli
20:01:28FromDiscord<bubbly_avocado_86424> ah https://zed.dev/docs/languages/nim
20:14:32*ovenpasta quit (Quit: Client closed)
20:39:01*coldfeet quit (Remote host closed the connection)
20:50:30FromDiscord<bubbly_avocado_86424> is there like a way to have nim use a runtime/JIT instead of having to recompile each time ?
21:20:13FromDiscord<Elegantbeef> Nope
21:21:44*mal`` quit (Ping timeout: 264 seconds)
21:25:46*ntat quit (Quit: Leaving)
21:38:09*mal`` joined #nim
22:01:54strogon14Nim JIT compiler: `echo myfile.nim | entr nim c -r myfile.nim` :-)
22:10:21*cm joined #nim
22:36:39*beholders_eye joined #nim
23:07:54*beholders_eye quit (Ping timeout: 272 seconds)
23:33:46*Guest83 joined #nim
23:34:04*Guest83 quit (Client Quit)