<< 09-10-2025 >>

00:18:49*tanami quit (Ping timeout: 250 seconds)
00:41:36*SchweinDeBurg joined #nim
05:23:12*ainema joined #nim
05:36:28FromDiscord<blackmius> In reply to @kos247 "I am 17 I": yes nim is good for learning programming aspects, also you still in some time will dig into how internals works and learn much about how programs works in your OS and other system programming things
05:39:27FromDiscord<blackmius> but of course cybersecurity is not only about reverse engineering so more you know the better specialist you are
05:47:51FromDiscord<kiloneie> To me, the first thing is, to actually find a language you feel comfortable with, like, so that you may ENJOY programming. If the first language puts you off, and you persist, all you will do, is develop hate for programming.
06:19:16*tokyovigilante quit (Ping timeout: 255 seconds)
06:28:18*Jjp137 quit (Ping timeout: 256 seconds)
06:40:27*Jjp137 joined #nim
06:43:18*tokyovigilante joined #nim
07:41:30*beholders_eye joined #nim
08:01:53*beholders_eye quit (Ping timeout: 256 seconds)
08:11:44FromDiscord<kiloneie> sequence.del should be much faster than delete that shifts all the elements by 1 from the deletion point, on large sequences, right ?
08:12:33FromDiscord<Robyn [She/Her]> should be in theory yeah↵(@kiloneie)
08:13:22FromDiscord<kiloneie> I don't care which i use, since they both change indexes, so using the index for anything goes out the window, so speed it is.
08:13:51FromDiscord<kiloneie> sequitils.addUnique is probably real slow right ?
08:31:19FromDiscord<leorize> it's one of those "if you use it, you better know what you're doing" kind of deal
08:35:58*beholders_eye joined #nim
08:36:47FromDiscord<kiloneie> wdym ?
08:36:59FromDiscord<kiloneie> I mean... i kind of get it.
08:37:13FromDiscord<kiloneie> Yeah nevermind, i get it.
09:20:45FromDiscord<kiloneie> Is something like this possible, or do i have to do it statement by statement ? `import & export layerInstancesDefinition` ?
10:30:01*xtr00 quit (Ping timeout: 264 seconds)
10:33:49*xtr00 joined #nim
11:59:50*xtr00 quit (Read error: Connection reset by peer)
12:03:50*xtr00 joined #nim
12:24:23FromDiscord<nervecenter> sent a long message, see https://pasty.ee/NQHdHOjA
12:25:02FromDiscord<nervecenter> (edit) "https://pasty.ee/cwPDkETi" => "https://pasty.ee/DHKDvHVl"
12:39:43FromDiscord<swrge> on this subject, https://web.archive.org/web/20250929091704/https://zevv.nl/nim-memory/
12:39:59FromDiscord<swrge> an excellent article imo
12:43:49FromDiscord<leorize> huh, zevv already took it down?
12:44:55FromDiscord<leorize> huh, zevv already took it down?
12:45:01FromDiscord<swrge> why did he took it down anyways lol
12:45:22FromDiscord<swrge> i come back to it every now and then so it's a shame
12:51:59FromDiscord<leorize> looks like it's just a mistake on his part
12:57:05FromDiscord<nnsee> what did you mean by "already"
12:59:10FromDiscord<leorize> just speculation, I thought he might want to get rid of it eventually when it's out of date in the future, seeing that he barely writes any nim these days
13:00:12FromDiscord<leorize> though it appears to just be an error, from pinging him earlier
13:08:31FromDiscord<leorize> it's fixed https://zevv.nl/nim-memory/
13:35:37*tanami joined #nim
14:20:52FromDiscord<kiloneie> Nim channel banner icon when ?
14:22:44FromDiscord<nnsee> you mean on discord? we don't have the required boots for that
14:22:46FromDiscord<nnsee> boosts, even
14:22:49FromDiscord<nnsee> you can keep your boots
14:23:19FromDiscord<kiloneie> Oh ? Wait, explain.
14:24:00FromDiscord<nnsee> you need 7 boosts to unlock the server banner perk, we have 4 https://media.discordapp.net/attachments/371759389889003532/1425851292529459302/image.png?ex=68e916ff&is=68e7c57f&hm=3e3c720fe8220fdbb7b924bb21cd8a5906bf27a8197e2d2dcd743f6c16454cd9&
14:30:28FromDiscord<kiloneie> How do you get a boost ?
14:30:38FromDiscord<kiloneie> I know nothing about discord payed stuff
14:30:49FromDiscord<kiloneie> (edit) "payed" => "paid"
14:31:05FromDiscord<lainlaylie> i think we can afford a tag though?
14:57:18*beholders_eye quit (Ping timeout: 252 seconds)
15:49:49FromDiscord<prestosilver> Tag would go hard, sick of switching between zig and whatever games I'm playing
15:53:40FromDiscord<kiloneie> I'd love to use it + Zed to make it popular, and maybe get more people to work on it's extension, i think foxman is not Niming anymore, or just away.
16:15:26FromDiscord<prestosilver> I couldn't get into zed, for a really stupid reason that will never get fixed
16:15:58FromDiscord<prestosilver> The editor is nice but it's colour schemes have too many shared elements, so my script to have a consistent theme didn't work well with it
16:16:08FromDiscord<prestosilver> Shame BC it has hot theme reloading which vscode dosent
16:16:26FromDiscord<kiloneie> Well, theres a bounch of things that i want improving and have already made issues
16:16:45FromDiscord<kiloneie> like, why the hell, is the ENTIRE UI affected by ui_text_font
16:16:49FromDiscord<prestosilver> It's something so niche that since it's not technically an issue it won't be fixed
16:17:00FromDiscord<kiloneie> all i want is the bottom buttons/icons to not be 5 pixels, since my eye sight sucks
16:17:32FromDiscord<kiloneie> I think they will fix this, too many things are monolithic
16:19:58FromDiscord<prestosilver> I just don't edit text
16:20:01FromDiscord<prestosilver> (joke)
16:20:08FromDiscord<kiloneie> What am i doing wrong, or how do i solve this... ? If i made Facing, Direction public, then every single child type of Entity will fight for it, i would then have to supply the module... Im not sure why this approach isn't possible... https://media.discordapp.net/attachments/371759389889003532/1425880520922894366/Screenshot_2025-10-09_18-18-50.png?ex=68e93237&is=68e7e0b7&hm=a1429568408d3f26c3aa66c3afae0c28d7ac61b800984365cfed771edcc10593
16:25:43FromDiscord<prestosilver> Is this an import issue, wdym by fighting for it
16:26:33FromDiscord<prestosilver> O i see what your saying
16:30:41FromDiscord<prestosilver> sent a code paste, see https://play.nim-lang.org/#pasty=lBxXUfhE
16:30:57FromDiscord<prestosilver> Iirc the auto enum resolution dosent require the enum to be in scope
16:31:06FromDiscord<prestosilver> (edit) "https://play.nim-lang.org/#pasty=GTUVRfLM" => "https://play.nim-lang.org/#pasty=kGeouooh"
16:33:07FromDiscord<prestosilver> Someone might have to correct that though, Ive been using the same enum practices since 1.6.4 BC old codebase and were post 2.2 by now so there very well might be a better way now
16:34:22FromDiscord<kiloneie> That is exactly what i said, that doesn't work. I have Wall = ref Entity, Bullet = ref Entity, they will all have that, and the compiler will freak out.
16:34:44FromDiscord<kiloneie> So i made it private, but it doesn't fix it.
16:35:18FromDiscord<prestosilver> Id have to see exactly what it's saying tbh
16:35:30FromDiscord<prestosilver> Might not be what I'm thinking of, since that's not an error
16:35:49FromDiscord<kiloneie> https://media.discordapp.net/attachments/371759389889003532/1425884468949942302/Screenshot_2025-10-09_18-35-41.png?ex=68e935e5&is=68e7e465&hm=6a89712fbc03a18f1a909d3e9f536dd26229aef27a78423abc45eb0fe9973186&
16:36:11FromDiscord<kiloneie> https://media.discordapp.net/attachments/371759389889003532/1425884560859857047/Screenshot_2025-10-09_18-36-04.png?ex=68e935fa&is=68e7e47a&hm=93defb10200233df46961027c7c428ae33bf044592938497ca6cd36a464c9e3a&
16:36:15FromDiscord<prestosilver> Omg wait I didn't read it up close
16:36:38FromDiscord<prestosilver> It's player.facing, your definition is lowercase and style insensitivity checks the first char
16:36:47FromDiscord<kiloneie> (i really like this default dark theme, white one, not so much, why do all white ones suck so much...)
16:36:50FromDiscord<prestosilver> entity.facing
16:36:57FromDiscord<prestosilver> Don't know why I said plauer
16:37:04FromDiscord<prestosilver> (edit) "plauer" => "player"
16:37:13FromDiscord<prestosilver> Id assume your setting the field
16:37:32FromDiscord<kiloneie> There is facing, direction, and Facing, Direction.
16:37:39FromDiscord<prestosilver> It might even just be Facing.left, entity has no field named Facing with caps tho
16:37:58FromDiscord<prestosilver> Type sections define completely un related types
16:38:12FromDiscord<prestosilver> So your facing type is a top level ttpe
16:38:23FromDiscord<prestosilver> (edit) "type" => "enum" | "ttpe" => "type"
16:39:35FromDiscord<kiloneie> Oh...
16:39:42FromDiscord<prestosilver> So just to actually clearly say the fix, `entity.facing = Facing.left`
16:39:54FromDiscord<prestosilver> I completely glazed over that
16:40:11FromDiscord<kiloneie> https://media.discordapp.net/attachments/371759389889003532/1425885565810905259/Screenshot_2025-10-09_18-39-04.png?ex=68e936ea&is=68e7e56a&hm=0bd67978b0ddd1fd537f11eba2b2ff98122d84f6f5add3297c878b086413f4ea&
16:40:34FromDiscord<prestosilver> And then just export Facing in entity definition.nim
16:41:11*xet7 joined #nim
16:41:37FromDiscord<prestosilver> Sorry I made that way more confusing than I needed to lmao
16:44:05FromDiscord<kiloneie> There is no way to make a type Direction a sub type/field of Entity right ?
16:49:23FromDiscord<mitranim> @kos247 could learn a lot from <https://www.youtube.com/@lauriewired>. Someone linked this to me today and I'm going through ARM assembly tutorials, very beginner-friendly intro
16:49:49FromDiscord<mitranim> The channel has reverse-engineering related stuff too
16:57:13FromDiscord<kiloneie> Well the errors are gone, but i was working on several things at once, and now i have SIGSEGV errors for some reason, and im starving, will see if it works actually later.
17:10:23*beholders_eye joined #nim
17:15:19*beholders_eye quit (Ping timeout: 240 seconds)
18:21:54*ainema left #nim (#nim)
19:46:09*xet7 quit (Remote host closed the connection)
22:51:01FromDiscord<nnsee> In reply to @prestosilver "Tag would go hard,": indeed. however, unfortunately, i don't seem to have the permissions to set up a tag
22:55:00FromDiscord<prestosilver> In reply to @kiloneie "There is no way": No
23:07:43*Lord_Nightmare quit (*.net *.split)
23:13:25*Lord_Nightmare joined #nim