00:05:22 | FromDiscord | <Robyn [She/Her]> In reply to @Elegantbeef "Blocked": can't block me, i have alternate accounts :) |
00:05:48 | FromDiscord | <Elegantbeef> Yea but you'd never use matrix so I can just block the bridge |
00:05:58 | FromDiscord | <Robyn [She/Her]> like this one |
00:06:14 | FromDiscord | <Elegantbeef> Took you like 20 minutes to make the joke I'm safe |
00:06:30 | FromDiscord | <Robyn [She/Her]> wdym 20 minutesss |
00:06:38 | FromDiscord | <Robyn [She/Her]> i blame the homeserver I'm using |
00:44:13 | FromDiscord | <leorize> you have beeper and still use discord? \:p |
00:44:36 | FromDiscord | <Elegantbeef> "I dislike using more than one app" |
00:46:42 | FromDiscord | <leorize> beeper has a puppeting discord bridge |
00:48:16 | FromDiscord | <Robyn [She/Her]> Beeper's UI is more like a traditional chat app rather than something with servers and drawers which is kinda sad for me, and Element/other clients aren't great with it (in terms of looks) |
00:49:11 | FromDiscord | <Robyn [She/Her]> https://shorturl.at/kuqWp also tried the Nim -> JS -> Lua pipeline but TS to Lua doesn't support labels and there's no existing code transformation for it |
00:49:49 | FromDiscord | <leorize> lua doesn't have labels either |
00:51:55 | FromDiscord | <leorize> oh if you ever feel like embedding nimvm, nimskull have some pretty good stuff for it |
00:52:27 | FromDiscord | <leorize> there is a bytecode format that you can compile your code to now |
00:54:22 | FromDiscord | <Robyn [She/Her]> In reply to @leorize "lua doesn't have labels": Lua 5.2 does iirc |
00:55:15 | FromDiscord | <Robyn [She/Her]> In reply to @leorize "there is a bytecode": Oooh rad, that would be much nicer than using other embedded langs, tho unless I write a Nimskull bytecode to Lua transpiler, not too useful to me unfortunate;y |
00:55:17 | FromDiscord | <Robyn [She/Her]> (edit) "unfortunate;y" => "unfortunately" |
00:55:34 | FromDiscord | <Robyn [She/Her]> I need to use Lua for ComputerCraft (since I'm playing MC more and more) |
00:55:49 | FromDiscord | <leorize> only 5.4 have it↵(@Robyn [She/Her]) |
00:55:58 | FromDiscord | <Robyn [She/Her]> Oh really? Jeez |
00:56:25 | FromDiscord | <leorize> I guess you just have to settle with lua for now |
00:56:32 | FromDiscord | <leorize> there are a couple things you can use to have typed lua if you wish |
00:56:58 | FromDiscord | <Robyn [She/Her]> No I think you're wrong: https://www.lua.org/manual/5.2/manual.html |
00:57:01 | FromDiscord | <Robyn [She/Her]> 5.2 has it |
00:57:34 | FromDiscord | <Robyn [She/Her]> In reply to @leorize "there are a couple": I just want Nim more than anything 😔 |
00:57:56 | FromDiscord | <leorize> looks like my search was borked when I ctrl+f the 5.2 reference |
00:58:12 | FromDiscord | <Robyn [She/Her]> It happens |
00:58:21 | FromDiscord | <leorize> easy, run a lua wasm interpreter↵(@Robyn [She/Her]) |
00:58:45 | FromDiscord | <Robyn [She/Her]> In reply to @leorize "easy, run a lua": There is none :p |
00:58:50 | FromDiscord | <Robyn [She/Her]> The one that did exist is broken |
00:59:01 | FromDiscord | <Robyn [She/Her]> And it was using a JS -> Lua thing |
01:00:37 | FromDiscord | <Robyn [She/Her]> I'd have to write my own but I have so many projects, not enough time and so much programming block rn (as well as Uni work but that's not important) |
01:01:44 | FromDiscord | <leorize> depending on your uni, good grades can net you a scholarship |
01:01:55 | FromDiscord | <leorize> so it's pretty important if you ask me |
01:02:10 | FromDiscord | <Robyn [She/Her]> Not sure about a scholarship but an apprenticeship yeah |
01:02:31 | FromDiscord | <Robyn [She/Her]> I am trying but goooood it's such a vibe killer (deliberately crude wording) |
01:05:50 | FromDiscord | <leorize> yea it's an implicit requirement for co-op programs |
01:05:50 | FromDiscord | <leorize> since usually you have nothing at that state so your GPA is all they can judge with |
01:06:19 | FromDiscord | <leorize> fwiw, the hardest thing when it comes to projects is finishing them |
01:06:40 | FromDiscord | <leorize> the list will just grow otherwise |
01:06:55 | FromDiscord | <Robyn [She/Her]> In reply to @leorize "fwiw, the hardest thing": Ain't that the truth... |
01:07:01 | FromDiscord | <Elegantbeef> Wait finish projects is a possibillity? |
01:07:19 | FromDiscord | <Elegantbeef> finishing\ |
01:07:27 | FromDiscord | <Robyn [She/Her]> I at least need to get my MC WASM modding idea into reality so I can write Nim for the JVM that runs on most/all runtimes |
01:07:55 | FromDiscord | <Robyn [She/Her]> Also Uni is ruining the fun of programming, a job will be hellish... |
01:08:15 | FromDiscord | <leorize> if uni ruins the fun then I'd be a little worried |
01:08:46 | FromDiscord | <leorize> though I'll say that jobs are a lot easier than uni work |
01:11:55 | FromDiscord | <leorize> since you already know a lot of programming I'll just say that 1st and 2nd year are gonna be pretty boring |
01:11:58 | FromDiscord | <Robyn [She/Her]> Uni programming is easy it's just the professor sucks major ass tbh, obviously it's easy for me but the work is so dull and then I'm helping my friends do the same code 3 times over |
01:12:25 | FromDiscord | <leorize> comes the 3rd and you start to learn some useful stuff |
01:12:48 | FromDiscord | <Robyn [She/Her]> They aren't dumb really, it's just he glosses over important concepts and then expects a very uniform way of structuring the code (his marking scripts made me lose so many marks on good, working code...) |
01:12:49 | FromDiscord | <leorize> 4th is when the real fun begins, but you'll graduate soonly after \:p |
01:12:59 | FromDiscord | <Robyn [She/Her]> 4th? |
01:13:11 | FromDiscord | <leorize> depends on your program |
01:13:18 | FromDiscord | <Robyn [She/Her]> Here it goes from (not including foundation) 1-3, not including an apprenticeship |
01:13:30 | FromDiscord | <leorize> in NA usually CS programs are 4-year from start to finish |
01:13:45 | FromDiscord | <Robyn [She/Her]> Makes sense |
01:14:32 | FromDiscord | <leorize> just optimize for grades and skirt around the line for some fun, really↵(@Robyn [She/Her]) |
01:15:03 | FromDiscord | <leorize> once you got through the basic classes you get to break out of the mold |
01:16:20 | FromDiscord | <leorize> back when I was in those I usually do things like finding the absolute fastest way to do X or the way with least code |
01:16:32 | FromDiscord | <leorize> won't get you extra points but might motivate you enough to get through them |
01:17:13 | FromDiscord | <Robyn [She/Her]> Tbf I did do some wacky things :P |
01:18:41 | FromDiscord | <Robyn [She/Her]> Not too bad, but I used reflection for instantiation + a map of strings to the classes that they're associated with (we have a file containing a header for each section of what data type it belongs too, and they all inherit from a base class) |
01:18:44 | FromDiscord | <Robyn [She/Her]> That was pretty fun |
01:19:25 | FromDiscord | <leorize> just make sure not to overdo it so you won't get docked marks \:p |
01:20:22 | FromDiscord | <leorize> for beginners classes most of the graders are fellow students |
01:20:27 | FromDiscord | <Robyn [She/Her]> I did email the professor beforehand so he was aware of my fuckery, and the code works as intended sooo |
01:21:10 | FromDiscord | <Robyn [She/Her]> In reply to @leorize "for beginners classes most": Not here, he used a fuckin script, not unit tests, just straight up string matching (I assume to check you're using whatever syntax he wanted) |
01:21:22 | FromDiscord | <Robyn [She/Her]> For this assignment he shouldn't be though, I believe |
01:23:05 | FromDiscord | <leorize> ah then just have fun lol |
01:23:06 | FromDiscord | <leorize> weird that you still get docked style points in that case |
01:23:06 | FromDiscord | <leorize> for me at least if I'm in talking terms with any prof then they'd overlook code structure as long as it makes sense |
01:23:44 | FromDiscord | <leorize> though sometimes I do have to go appeal the grades because the grader doesn't like things outta the mould |
01:24:23 | FromDiscord | <Robyn [She/Her]> This guy is majorly unapproachable tbh, don't even see him at all, the lecturer I do see is kinda new and doesn't hold much power unfortunately but honestly it's not a problem bc I still had an overall good passing grade |
01:24:40 | FromDiscord | <Robyn [She/Her]> In reply to @leorize "though sometimes I do": Yeah I can imagine, it really does suck |
01:25:12 | FromDiscord | <leorize> the cool people usually teaches more advanced classes |
01:26:02 | FromDiscord | <Robyn [She/Her]> That checks out, the CSIL (Comp Systems Internals & Linux) lecturer is rad |
01:26:21 | FromDiscord | <Robyn [She/Her]> I hate converting between binary hex and octal and having to show my working out though lolol |
01:26:52 | FromDiscord | <leorize> it really just means that you get to flex your muscles more as you advance in your degree \:p |
01:27:44 | FromDiscord | <leorize> lol I think the last time I had to do that was in HS |
01:28:14 | FromDiscord | <Robyn [She/Her]> NA as in America, right? I assume your highschool is our college |
01:31:27 | FromDiscord | <leorize> yea |
01:33:20 | FromDiscord | <Robyn [She/Her]> makes sense then, but it's still a bit weird |
04:51:03 | * | tiorock joined #nim |
04:51:03 | * | tiorock quit (Changing host) |
04:51:03 | * | tiorock joined #nim |
04:51:03 | * | rockcavera is now known as Guest6038 |
04:51:03 | * | Guest6038 quit (Killed (copper.libera.chat (Nickname regained by services))) |
04:51:03 | * | tiorock is now known as rockcavera |
04:53:09 | * | tiorock joined #nim |
04:53:09 | * | rockcavera is now known as Guest9596 |
04:53:09 | * | Guest9596 quit (Killed (platinum.libera.chat (Nickname regained by services))) |
04:53:09 | * | tiorock is now known as rockcavera |
05:56:37 | * | nyeaa49284230101 quit (Ping timeout: 248 seconds) |
06:14:03 | * | tiorock joined #nim |
06:14:03 | * | tiorock quit (Changing host) |
06:14:03 | * | tiorock joined #nim |
06:14:03 | * | rockcavera quit (Killed (copper.libera.chat (Nickname regained by services))) |
06:14:03 | * | tiorock is now known as rockcavera |
06:16:08 | * | tiorock joined #nim |
06:16:09 | * | rockcavera quit (Killed (platinum.libera.chat (Nickname regained by services))) |
06:16:09 | * | tiorock is now known as rockcavera |
06:17:24 | FromDiscord | <Robyn [She/Her]> https://github.com/nim-lang/nimony/issues/716#issuecomment-2705774369 don't wanna bother Araq or cluter the issue with my useless commentary, but i do wonder what mainness in the file name means, exactly |
06:18:30 | FromDiscord | <Elegantbeef> I imagine something to indicate "This is an entry file and should not be imported" |
06:21:22 | FromDiscord | <Robyn [She/Her]> hmmm fair enough |
06:52:52 | FromDiscord | <janakali> In reply to @battery.acid.bubblegum "https://github.com/nim-lang/nimony/issues/716#issue": I imagine something like `hasmain_somemodule_63428.c`, so the cache would be invalid if there's multiple of those |
07:12:26 | FromDiscord | <Robyn [She/Her]> that makes sense |
07:33:11 | FromDiscord | <monkey085395> hello, is Nim planning to have any projects in GSoC this year? |
07:39:49 | * | andreas joined #nim |
07:39:50 | * | yacc quit (Read error: Connection reset by peer) |
08:05:06 | * | derpydoo joined #nim |
08:14:41 | * | Guest24 joined #nim |
08:15:15 | * | Guest24 quit (Client Quit) |
08:22:58 | * | coldfeet joined #nim |
08:27:50 | * | ntat joined #nim |
08:29:16 | FromDiscord | <morgan (ping with reply)> i don't really think i need it but i might write my own version of packedsets which assumes a small ordinal with no holes and a fixed ordering (not sure if packedsets has this) so i could write a more efficient subset check (`for i in 0..<len(smaller.bitstrings): if smaller.bitstrings[i] > 0: if (smaller.bitstrings[i] and larger.bitstrings[i]) == smaller.bitstrings[i]: etc`) since packedsets seems like it would be doing m |
08:38:36 | FromDiscord | <morgan (ping with reply)> im not sure if it would be possible to add that to std packedsets because of it's 35 or so array for small sets of stuff, and im not sure if it has a consistent order |
08:39:19 | FromDiscord | <morgan (ping with reply)> but as is it has to check items one by one, vs that code snippet which would check 64 items at once |
08:40:50 | FromDiscord | <morgan (ping with reply)> which as long as items tend to be clumpy in the seq of bitstrings, would be more efficient, but by doing all at once the cost of all 64 used vs only 1 is the same, just 1 needs to be done many more times |
08:41:03 | FromDiscord | <morgan (ping with reply)> but i think i could manage that for my use case |
08:41:17 | FromDiscord | <morgan (ping with reply)> so i might do that tomorrow |
09:14:47 | FromDiscord | <morgan (ping with reply)> also adding in byte offset checking, and maybe simd, would make it more efficient (byte offset checking means if there are bits in the last few of one bitstring and first few of the next, to shift the uint 64 over a few bytes so those can be done together in one check) |
09:17:00 | * | derpydoo quit (Quit: derpydoo) |
09:22:46 | * | SchweinDeBurg quit (Quit: WeeChat 4.6.0-dev) |
09:23:13 | * | SchweinDeBurg joined #nim |
10:06:51 | * | nyeaa49284230101 joined #nim |
10:08:29 | FromDiscord | <zakharsmirnoff> sent a long message, see https://pasty.ee/KAwftYdz |
10:08:47 | FromDiscord | <zakharsmirnoff> (edit) "https://pasty.ee/WorxPPNp" => "https://pasty.ee/vQCCuXzl" |
10:27:30 | FromDiscord | <zakharsmirnoff> In reply to @zakharsmirnoff "Hello! I wanted to": Just tried it with puppy library and it works! Though puppy is not async, so maybe I would dig into puppy’s source code to find something |
10:57:50 | FromDiscord | <_nenc> The email system of the forum has been broken |
10:57:59 | FromDiscord | <_nenc> it should be fixed, but idk when |
11:40:32 | * | tiorock joined #nim |
11:40:32 | * | tiorock quit (Changing host) |
11:40:32 | * | tiorock joined #nim |
11:40:32 | * | rockcavera quit (Killed (molybdenum.libera.chat (Nickname regained by services))) |
11:40:32 | * | tiorock is now known as rockcavera |
11:42:39 | * | rockcavera is now known as Guest2307 |
11:42:39 | * | tiorock joined #nim |
11:42:39 | * | Guest2307 quit (Killed (tantalum.libera.chat (Nickname regained by services))) |
11:42:39 | * | tiorock is now known as rockcavera |
11:47:56 | FromDiscord | <janakali> @zakharsmirnoff https://forum.nim-lang.org/t/12690 , you can PM @pmunch, they will setup an account for you manually |
11:56:10 | FromDiscord | <zakharsmirnoff> In reply to @janakali "<@440427404024872960> https://forum.nim-lang.org/t/": Thank you! |
11:57:23 | FromDiscord | <zakharsmirnoff> In reply to @zakharsmirnoff "Just tried it with": If anyone is interested, puppy obviously works because of native interop with obj-c. So the question still stands, why std/httpclient doesn’t work. I will continue on forum, thank you everyone |
12:06:46 | * | jjido joined #nim |
12:10:46 | * | jjido quit (Client Quit) |
12:16:12 | FromDiscord | <enthus1ast.> @pmunch need help fixing forums email? |
12:16:43 | FromDiscord | <enthus1ast.> Or what is the problem btw? |
12:38:21 | FromDiscord | <pmunch> Mostly just organizational, so not much you can do to help. |
12:38:45 | * | jjido joined #nim |
12:50:49 | * | ntat quit (Quit: Leaving) |
12:55:34 | * | tiorock joined #nim |
12:55:34 | * | tiorock quit (Changing host) |
12:55:34 | * | tiorock joined #nim |
12:55:34 | * | rockcavera is now known as Guest4080 |
12:55:34 | * | Guest4080 quit (Killed (lead.libera.chat (Nickname regained by services))) |
12:55:34 | * | tiorock is now known as rockcavera |
12:57:38 | * | tiorock joined #nim |
12:57:38 | * | tiorock quit (Changing host) |
12:57:38 | * | tiorock joined #nim |
12:57:38 | * | rockcavera quit (Killed (tantalum.libera.chat (Nickname regained by services))) |
12:57:38 | * | tiorock is now known as rockcavera |
13:16:45 | * | tiorock joined #nim |
13:16:45 | * | tiorock quit (Changing host) |
13:16:45 | * | tiorock joined #nim |
13:16:45 | * | rockcavera is now known as Guest7891 |
13:16:45 | * | Guest7891 quit (Killed (osmium.libera.chat (Nickname regained by services))) |
13:16:45 | * | tiorock is now known as rockcavera |
13:18:50 | * | tiorock joined #nim |
13:18:50 | * | tiorock quit (Changing host) |
13:18:50 | * | tiorock joined #nim |
13:18:50 | * | rockcavera is now known as Guest2056 |
13:18:50 | * | Guest2056 quit (Killed (lead.libera.chat (Nickname regained by services))) |
13:18:50 | * | tiorock is now known as rockcavera |
14:17:06 | * | tiorock joined #nim |
14:17:06 | * | rockcavera is now known as Guest8141 |
14:17:06 | * | Guest8141 quit (Killed (lithium.libera.chat (Nickname regained by services))) |
14:17:06 | * | tiorock is now known as rockcavera |
14:31:07 | * | thunder quit (Killed (NickServ (GHOST command used by metasintactic))) |
14:31:07 | * | metasintactic joined #nim |
14:34:41 | * | jjido quit (Quit: Textual IRC Client: www.textualapp.com) |
15:01:11 | FromDiscord | <chrisecker_46384> Is there a way to debug nims dynamic dispatch of methods? |
15:03:12 | FromDiscord | <chrisecker_46384> I would like to dump the list of methods. |
15:04:31 | FromDiscord | <chrisecker_46384> My problem: Somehow nim is not calling the childs method but the method of one of the parents, I really don't see why. |
15:06:55 | FromDiscord | <chrisecker_46384> I expected that the same mechanism that is used in the runtime could be called for debugging. |
15:11:19 | FromDiscord | <grumblygibson> @chrisecker_46384↵Did you check the usual gremlins?↵- root parent should inherit from RootObj to enable OOP |
15:17:03 | FromDiscord | <chrisecker_46384> Yes, it does. |
15:21:38 | FromDiscord | <chrisecker_46384> Basically it goes like this: |
15:21:49 | FromDiscord | <chrisecker_46384> sent a long message, see https://pasty.ee/PjgybfTB |
15:22:55 | FromDiscord | <chrisecker_46384> So, my problem is MyWidget.handleKeyDownEvent is never called. The key press signal alsways goes to the parent methods. |
15:25:46 | FromDiscord | <chrisecker_46384> The pControlKeyPressSignal receives the gtk event and then execution flow goes directly to control.handleKeyDownEvent |
15:28:59 | * | tiorock joined #nim |
15:28:59 | * | tiorock quit (Changing host) |
15:28:59 | * | tiorock joined #nim |
15:28:59 | * | rockcavera is now known as Guest5412 |
15:28:59 | * | Guest5412 quit (Killed (platinum.libera.chat (Nickname regained by services))) |
15:28:59 | * | tiorock is now known as rockcavera |
15:31:05 | * | tiorock joined #nim |
15:31:05 | * | rockcavera is now known as Guest1207 |
15:31:05 | * | tiorock is now known as rockcavera |
15:34:00 | * | Guest1207 quit (Ping timeout: 272 seconds) |
15:38:59 | FromDiscord | <chrisecker_46384> OK, there must be a stupid mistake somewhere. I will have a break and then try it again ... |
15:46:54 | FromDiscord | <starkiller1493> sent a code paste, see https://play.nim-lang.org/#pasty=ZxkVqzDI |
15:47:05 | FromDiscord | <starkiller1493> (edit) "https://play.nim-lang.org/#pasty=osvFegUY" => "https://play.nim-lang.org/#pasty=fRpMtSMA" |
15:47:42 | FromDiscord | <starkiller1493> (edit) "https://play.nim-lang.org/#pasty=mKrBWVUD" => "https://play.nim-lang.org/#pasty=qjYaBQLA" |
15:47:58 | * | ntat joined #nim |
15:48:05 | FromDiscord | <starkiller1493> (edit) "https://play.nim-lang.org/#pasty=iKJgFovV" => "https://play.nim-lang.org/#pasty=HdfosNPF" |
15:48:29 | FromDiscord | <starkiller1493> (edit) "https://play.nim-lang.org/#pasty=LXzreWdG" => "https://play.nim-lang.org/#pasty=yarbQtNN" |
16:05:05 | * | andreas quit (Ping timeout: 248 seconds) |
16:06:50 | * | andreas joined #nim |
16:07:14 | * | derpydoo joined #nim |
16:38:56 | * | disso-peach joined #nim |
16:48:04 | * | coldfeet quit (Quit: Lost terminal) |
17:12:57 | FromDiscord | <nixfreak> do I use config.nims to add multiple directories that have nim files to compile ? |
17:12:59 | FromDiscord | <nixfreak> how does that work |
17:17:37 | Amun-Ra | most common usage is adding search paths (ie. for tests) |
17:20:30 | * | metasintactic quit (Remote host closed the connection) |
17:20:30 | Amun-Ra | you don't have to add any dirs other than via import |
17:21:42 | * | thunder joined #nim |
17:26:49 | FromDiscord | <nixfreak> no I have multiple dirctories with nim files , I need to add path is it `nim c -r -p:./path_to_other_nim_files <file>.nim` ? |
17:29:09 | FromDiscord | <lainlaylie> yes both ways work |
17:29:34 | Amun-Ra | just add: switch "path", "$projectDir/sometpath" to config.nims |
17:29:42 | * | pmp-p quit (Ping timeout: 265 seconds) |
17:30:03 | * | derpydoo quit (Quit: derpydoo) |
17:32:49 | * | pmp-p joined #nim |
17:35:55 | FromDiscord | <nixfreak> ok cause I have nim.cfg and I add path = "." and its not working |
17:37:27 | Amun-Ra | what's your project tree? |
17:37:52 | Amun-Ra | if your have src/ and tests/ |
17:37:54 | FromDiscord | <chrisecker_46384> OK, my problem is solved - no gremlins, only my stupidity. There were was another widget (which I did think of), the main widget was correctly derived from my new class another gave the wrong outputs. Greetings |
17:39:25 | Amun-Ra | and have switch "path", "$projectDir/../src" in tests/config.nims you can import any file from src in tests just via import relative/path/in/src |
17:39:58 | FromDiscord | <nixfreak> sent a long message, see https://pasty.ee/qMdjIGjO |
17:40:07 | Amun-Ra | nimxfreak: adding path = "." makes no sense - '.' is by default |
17:40:25 | FromDiscord | <nixfreak> File\: nim.cfg↵↵path = "." |
17:40:46 | Amun-Ra | "." won't be converted to an absolute path |
17:41:05 | FromDiscord | <nixfreak> ok , I have seen other repos do this |
17:41:16 | * | coldfeet joined #nim |
17:41:57 | Amun-Ra | btw, 0x01.nim is not a valid nim name |
17:42:07 | FromDiscord | <nixfreak> ok so basically put everything into a root directory |
17:42:29 | Amun-Ra | uhm, no |
17:44:29 | Amun-Ra | nixfreak: https://play.nim-lang.org/#pasty=bHTQKDkK |
17:45:54 | Amun-Ra | ofc normal relative imports like "import ../file2" apply |
17:46:39 | FromDiscord | <nixfreak> ok so I have to add all the paths first I see |
17:46:40 | FromDiscord | <nixfreak> thanks |
17:47:25 | Amun-Ra | I hope not to the "path", to imports |
17:51:48 | Amun-Ra | add root project source directory to the path and operate on it like on / |
17:57:07 | FromDiscord | <jseb> sent a code paste, see https://play.nim-lang.org/#pasty=VsjxrFna |
17:59:24 | FromDiscord | <Elegantbeef> `^0` is `-1` |
18:02:39 | FromDiscord | <jseb> aahhh ! Thank you |
18:04:11 | FromDiscord | <jseb> is ^ means something in nim, except « last element » ? |
18:04:19 | FromDiscord | <jseb> (edit) "is" => "does" |
18:05:23 | FromDiscord | <Elegantbeef> As a unary operator it's backwards index, which is offset by `a.len` |
18:05:53 | FromDiscord | <jseb> seems to be a sugar syntax for BackwardsIndex function |
18:10:15 | FromDiscord | <jseb> i'm not sure of what « BackwardsIndex » does exactly, though |
18:11:26 | FromDiscord | <Elegantbeef> It's just a distinct integer that's used for `[](seq[T], BackwardsIndex)` |
18:12:07 | FromDiscord | <jseb> ah it's linked to array or seq, then |
18:12:56 | FromDiscord | <Elegantbeef> No it's just a type that is used for them |
18:13:04 | FromDiscord | <Elegantbeef> Types are types they have no links |
18:14:21 | FromDiscord | <jseb> ah it's a type, ok thank you for mentionning. That was worth to explore ^ , i had no idea of what it was |
18:15:50 | FromDiscord | <Elegantbeef> Well it's unary operator 😛 |
18:57:30 | * | shrewd quit (Quit: shrewd) |
18:57:46 | * | shrewd joined #nim |
18:57:46 | * | shrewd quit (Changing host) |
18:57:46 | * | shrewd joined #nim |
20:00:27 | * | ntat quit (Quit: Leaving) |
20:23:00 | FromDiscord | <thebiglebobsky_> im just starting to learn and i keep running into this error |
20:23:21 | FromDiscord | <thebiglebobsky_> https://media.discordapp.net/attachments/371759389889003532/1348390724177231903/image.png?ex=67cf4a38&is=67cdf8b8&hm=3311e44da0da79b9168c4dda06cc195d3c3df6fa75e391cfd1fdf241dbb7c139& |
20:24:40 | * | coldfeet quit (Quit: Lost terminal) |
20:25:07 | FromDiscord | <thebiglebobsky_> only fix is is del the orginal file |
20:25:07 | FromDiscord | <voajabo> In reply to @thebiglebobsky_ "": why is there a backslash after the file name? |
20:25:25 | FromDiscord | <voajabo> https://media.discordapp.net/attachments/371759389889003532/1348391244107092139/image.png?ex=67cf4ab4&is=67cdf934&hm=716195c4ff3511fd96ec464b4c177832d1e7ca143c17b3456d8d61df92e0b0f3& |
20:26:17 | FromDiscord | <thebiglebobsky_> oh dam i look stupid i was pasting it with a backslash |
20:26:22 | FromDiscord | <thebiglebobsky_> lol |
20:30:40 | * | andreas quit (Ping timeout: 252 seconds) |
20:32:00 | * | andreas joined #nim |
20:49:36 | FromDiscord | <kiloneie> I wouldn't use nim's module names for your folders if i were you, that NIM in the top left could cause problems. |
21:12:00 | FromDiscord | <Elegantbeef> How? |
21:12:11 | FromDiscord | <Elegantbeef> `import NIM/...` works just fine |
21:19:41 | * | xutaxkamay quit (Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in) |
21:21:23 | * | xutaxkamay joined #nim |
21:44:23 | FromDiscord | <kiloneie> Wait, i was thinking module names with that one. Nevermind. I did the same thing. |
21:52:28 | * | fallback quit (Ping timeout: 245 seconds) |
22:09:24 | * | fallback joined #nim |
23:16:44 | * | ensyde joined #nim |