00:05:44 | * | une quit (Remote host closed the connection) |
00:07:58 | FromDiscord | <vanyle> sent a code paste, see https://play.nim-lang.org/#pasty=gVJzgvlipOmd |
00:10:47 | FromDiscord | <Elegantbeef> Odd |
00:11:43 | FromDiscord | <Elegantbeef> Would explain why `malloc` fixed it |
00:17:56 | FromDiscord | <z3ntl3> da bot is smart tho |
00:18:06 | FromDiscord | <z3ntl3> can i pet you @ElegantBeef |
00:18:20 | FromDiscord | <z3ntl3> (edit) "@ElegantBeef" => "<@1196075973871943741>" |
00:18:24 | FromDiscord | <Elegantbeef> Given I'm not a bot, it's physically possible, but extremely weird |
00:18:33 | FromDiscord | <Robyn [She/Her]> Lmao |
00:18:53 | FromDiscord | <Elegantbeef> But sir it says bot next to you! |
00:19:13 | FromDiscord | <z3ntl3> 🫡 you so cute |
00:19:55 | FromDiscord | <Elegantbeef> My dogs that cannot understand words appreciate it |
00:20:58 | FromDiscord | <Elegantbeef> Speaking of bots... robyn when do you make a matrix bot 😛 |
00:22:47 | FromDiscord | <Robyn [She/Her]> In reply to @Elegantbeef "Speaking of bots... robyn": When I get the energy for it 😔 |
00:22:56 | FromDiscord | <Robyn [She/Her]> I think I managed to burn myself out again |
00:27:30 | FromDiscord | <Elegantbeef> It's sorta working here 😄 |
00:27:33 | FromDiscord | <Elegantbeef> image.png https://media.discordapp.net/attachments/371759389889003532/1226327469506691112/image.png?ex=66245d74&is=6611e874&hm=e861a416fb831f03b40cc12a5884fe912e12c73cc5c1e544ffb702263cce2268& |
00:30:01 | * | lucasta joined #nim |
01:00:03 | * | nazgulsenpai quit (Quit: ZNC 1.8.2 - https://znc.in) |
01:03:03 | * | nazgulsenpai joined #nim |
01:13:39 | * | lucasta quit (Quit: Leaving) |
01:36:04 | * | Jjp137 joined #nim |
03:17:57 | * | une joined #nim |
04:09:24 | * | une quit (Remote host closed the connection) |
04:11:51 | * | rockcavera quit (Remote host closed the connection) |
04:16:29 | * | rockcavera joined #nim |
04:22:03 | * | une joined #nim |
04:37:03 | * | une left #nim (#nim) |
05:07:33 | FromDiscord | <gogolxdong666> Is there any library for calling pretrained models? |
05:14:49 | FromDiscord | <morgan> so im just asking to make sure bcos im talking to some ppl who don't know nim about my current clap issue, for nim unions, it copies bytes equal to the max of the sizes of all members of the union, right? |
05:20:53 | FromDiscord | <polylokh_39446> sent a code paste, see https://play.nim-lang.org/#pasty=qptEFdiZLEEt |
05:23:56 | FromDiscord | <polylokh_39446> sent a code paste, see https://play.nim-lang.org/#pasty=LgQmJGHHLYMT |
05:24:16 | FromDiscord | <morgan> yeah a union pragma |
05:24:32 | FromDiscord | <morgan> i checked in the generated code and yeah its just a c union like the manual says https://media.discordapp.net/attachments/371759389889003532/1226402210573717545/image.png?ex=6624a310&is=66122e10&hm=4a494ec9d5550cfd992c8a6d20af3eff4f295a18172e6eae2633f804dcfdd6cf& |
05:25:49 | FromDiscord | <morgan> good to know it does the same with variant types |
06:27:06 | * | ntat joined #nim |
07:02:19 | * | junaid_ joined #nim |
07:20:26 | * | junaid_ quit (Quit: leaving) |
07:23:01 | * | coldfeet joined #nim |
07:33:04 | * | coldfeet_ joined #nim |
07:33:42 | * | coldfeet_ quit (Remote host closed the connection) |
07:33:42 | * | coldfeet quit (Remote host closed the connection) |
07:41:48 | * | coldfeet joined #nim |
07:42:35 | * | coldfeet quit (Changing host) |
07:42:35 | * | coldfeet joined #nim |
07:42:59 | * | coldfeet quit (Client Quit) |
07:44:08 | * | coldfeet joined #nim |
07:57:36 | * | coldfeet quit (Quit: leaving) |
07:58:18 | * | coldfeet joined #nim |
08:11:33 | * | ntat quit (Quit: Leaving) |
08:23:15 | * | MacDefender joined #nim |
08:29:15 | FromDiscord | <vindaar> In reply to @heysokam "what's the difference between": I read it as "quoted by being accented". given that it's for the AST it would make sense to specify the type of quoting over the fact that it represents quoting of some kind. |
08:39:06 | FromDiscord | <nnsee> In reply to @Elegantbeef "image.png": what client is this? |
08:40:24 | FromDiscord | <Elegantbeef> The one I'm writing |
08:40:44 | FromDiscord | <nnsee> in Nim? |
08:41:11 | FromDiscord | <Elegantbeef> Yea |
08:43:19 | FromDiscord | <nnsee> and what looks like GTK? |
08:43:31 | FromDiscord | <Elegantbeef> Yea using owlkettle |
08:43:45 | FromDiscord | <nnsee> right, neat |
08:48:17 | FromDiscord | <Elegantbeef> No clue how far it'll get but at least it's wrapping the client-server api without forcing a request path so is async/sync.... agnostic |
08:49:12 | FromDiscord | <Phil> In reply to @Elegantbeef "No clue how far": Here's to hoping you'll be able to make good use from the toast stuff once its merged |
08:49:40 | FromDiscord | <Elegantbeef> toast? |
08:52:00 | FromDiscord | <nnsee> 🍞 |
08:59:13 | NimEventer | New thread by MauroG: SIGSEGV: Illegal storage access on server windows 2008 and windows 2019, see https://forum.nim-lang.org/t/11381 |
08:59:47 | FromDiscord | <.lisuwu_> In reply to @chronos.vitaqua "I think I managed": painful 😭 |
09:24:26 | FromDiscord | <rakgew> sent a long message, see https://pasty.ee/SFPfuYvWsxdE |
09:25:51 | FromDiscord | <rakgew> ^^ urls for that\:↵the exif.nim\: https://formats.kaitai.io/exif/nim.html↵and the kaitai\_runtime\: https://github.com/kaitai-io/kaitai_struct_nim_runtime |
09:28:26 | FromDiscord | <rakgew> I am currently trying it on nim2.0.0 |
10:09:29 | FromDiscord | <rakgew> or is there a simpler way to just get the exif date and time? |
10:12:33 | FromDiscord | <the_real_hypno> I took a look but i can't figure out the issue on my mobile unfortunately. I made some work on the python runtime back then (atleast there was a PR from me with a python3 revamp). If there hasnt been anything useful for you ill try to take a look when im back at my PC. Its sunday though and family wants some attention, don't be sad if i dont make it today |
10:36:57 | * | MacDefender quit (Ping timeout: 268 seconds) |
10:37:36 | * | MacDefender joined #nim |
11:12:03 | FromDiscord | <rakgew> @the_real_hypno \: thank you so much for the feedback and looking into it!↵sure no worries - enoy your sunday! \:-D↵if you happen to find out something later, I would love to hear. |
11:33:53 | FromDiscord | <Phil> In reply to @Elegantbeef "toast?": Notifications popping up from top/bottom are called "toasts" in design lang |
11:35:06 | FromDiscord | <Phil> Its this PR: https://github.com/can-lehmann/owlkettle/pulls↵And this widget: https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.5/class.ToastOverlay.html |
11:37:11 | FromDiscord | <Phil> In reply to @chronos.vitaqua "I think I managed": That makes one of us, I'm finally feeling like I'm slowly regaining mine! |
11:37:48 | FromDiscord | <Phil> (edit) "mine!" => "my energy!" |
11:38:34 | FromDiscord | <Phil> Maybe I'm the anti-robyn, the Giftyn you could say |
12:02:35 | FromDiscord | <ase8540> any way to see whether I claimed nim airdrop or not? |
12:03:34 | FromDiscord | <ase8540> Claim.nim.network can’t see anymore whether can claim or claimed |
13:09:17 | * | SchweinDeBurg quit (Quit: WeeChat 4.3.0-dev) |
13:14:03 | FromDiscord | <odexine> In reply to @isofruit "Maybe I'm the anti-robyn,": giftowt |
13:22:14 | * | Zarezky joined #nim |
13:22:40 | * | Zarezky quit (Remote host closed the connection) |
13:22:55 | * | SchweinDeBurg joined #nim |
13:23:00 | * | Zarezky joined #nim |
13:23:43 | * | Zarezky quit (Remote host closed the connection) |
13:24:09 | * | SchweinDeBurg quit (Remote host closed the connection) |
13:24:54 | * | SchweinDeBurg joined #nim |
13:26:33 | FromDiscord | <Robyn [She/Her]> In reply to @isofruit "Maybe I'm the anti-robyn,": Welp |
13:30:57 | * | SchweinDeBurg quit (Quit: Leaving) |
13:32:55 | * | SchweinDeBurg joined #nim |
13:36:55 | * | SchweinDeBurg quit (Client Quit) |
13:37:09 | * | SchweinDeBurg joined #nim |
13:42:16 | FromDiscord | <MDuardo> I still don't get modules↵I'm starting a project and I'm using `include` |
13:42:35 | FromDiscord | <MDuardo> I have to learn how it works |
13:48:37 | FromDiscord | <the_real_hypno> In reply to @rakgew "has anybody used kaitai": So, as far as i can tell you are right about the `isLe`. It def. doesnt exist in the runtime. Did you check if its maybe part of Nim and not of Kaitai? |
13:49:09 | FromDiscord | <the_real_hypno> Its not part of https://nim-lang.org/docs/endians.html , thats what i saw already |
13:50:04 | FromDiscord | <the_real_hypno> Its a bit weird all in all to be honest. Kaitai usually doesnt make assumptions about endianess |
13:51:35 | FromDiscord | <exelotl> @MDuardo you should use import for most things, here's an article that explains how they're different to python imports: https://narimiran.github.io/2019/07/01/nim-import.html |
13:54:59 | * | def- quit (Quit: -) |
13:55:13 | * | def- joined #nim |
13:56:01 | * | SchweinDeBurg quit (Quit: WeeChat 4.3.0-dev) |
13:56:39 | * | SchweinDeBurg joined #nim |
13:57:02 | * | SchweinDeBurg is now known as Guest650 |
13:57:13 | * | Guest650 quit (Remote host closed the connection) |
13:57:57 | * | Zarezky joined #nim |
13:58:14 | * | Zarezky quit (Remote host closed the connection) |
13:58:53 | * | SchweinDeBurg joined #nim |
13:59:45 | * | SchweinDeBurg quit (Remote host closed the connection) |
14:00:11 | * | SchweinDeBurg joined #nim |
14:01:01 | * | SchweinDeBurg quit (Remote host closed the connection) |
14:01:19 | * | SchweinDeBurg joined #nim |
14:03:10 | * | SchweinDeBurg quit (Client Quit) |
14:04:23 | * | PMunch joined #nim |
14:05:05 | FromDiscord | <MDuardo> Thank you very much, this is very useful↵(@exelotl) |
14:05:29 | FromDiscord | <exelotl> np! 👍 |
14:32:59 | FromDiscord | <rakgew> sent a long message, see https://pasty.ee/mKreqMjlPonn |
14:33:43 | FromDiscord | <the_real_hypno> In reply to @rakgew "<@383236491452612611> \: thank you": Its in the .ksy file |
14:33:57 | FromDiscord | <the_real_hypno> sent a code paste, see https://play.nim-lang.org/#pasty=lvwDHJAQwgxP |
14:34:19 | FromDiscord | <the_real_hypno> https://formats.kaitai.io/exif/index.html |
14:35:02 | FromDiscord | <the_real_hypno> Not sure how deep you worked yourself into the topic but usually you create those .ksy files and generate the code based on them |
14:35:35 | FromDiscord | <the_real_hypno> if your python approach failed aswell, chances are high that the "blueprint" (the .ksy file) has an issue |
14:35:46 | FromDiscord | <rakgew> ah ok in the .ksy thx |
14:36:21 | FromDiscord | <the_real_hypno> OR that the test file you are trying to work on is altered? |
14:37:04 | FromDiscord | <the_real_hypno> you might want to check it out in the online editor with the original file and .ksy blueprint |
14:37:08 | FromDiscord | <rakgew> kaitai is completely new to me. I was under the impression the .ksy gets transformed into the language module like exif.nim / exif.py ? |
14:37:31 | FromDiscord | <the_real_hypno> Oh yes it does but its working a bit different than just transpiling |
14:37:31 | FromDiscord | <rakgew> the test files are not special or altered, to my knowledge |
14:38:23 | FromDiscord | <the_real_hypno> It takes this .ksy file and shots it through the scalar? compiler which builds the language based on predefined components |
14:38:29 | FromDiscord | <rakgew> just trying to write a portable renamer utility (did that in python a while ago with alib, but now wanted to see if I can get a small partable executable with nim working) |
14:38:34 | FromDiscord | <the_real_hypno> im a bit bad in explaining that i fear |
14:39:30 | FromDiscord | <rakgew> sounds like a good explanation to me. \:-D |
14:40:02 | FromDiscord | <the_real_hypno> I guess with renaming, you dont mean renaming the file but rather binary "renaming"? |
14:40:59 | FromDiscord | <rakgew> well it is actual file renaming\: iso date and time from exif would be the file names. |
14:41:41 | FromDiscord | <rakgew> since strangley some of the file time stamps are wrong (timezone offset maybe?) |
14:42:25 | FromDiscord | <the_real_hypno> Is that a private file you work on? Might wanna send it so i can put it into the web editor aswell? |
14:44:45 | FromDiscord | <rakgew> it is a bunch of pictures, all in one dir - I can check if there are some non-prive ones. |
14:45:33 | FromDiscord | <rakgew> but I doubt there is anything special about the pics. |
14:45:41 | FromDiscord | <the_real_hypno> you could just overpaint it or something, if that doesnt change the timestamp |
14:45:57 | FromDiscord | <the_real_hypno> Im not really interested in you private pictures, dont worry 😄 |
14:46:30 | FromDiscord | <rakgew> heheh, sure no worries. |
14:46:32 | FromDiscord | <the_real_hypno> said the random guy on the internet ¯\_(ツ)_/¯ |
14:48:24 | Amun-Ra | what's binary renaming? |
14:54:06 | FromDiscord | <rakgew> @the_real_hypno\: ok, found one that should be fine, will send you a link. |
14:54:42 | FromDiscord | <rakgew> hm, does the discord - matrix bridge actually extend to direct messages? |
14:55:34 | FromDiscord | <rakgew> one way to find out.. |
14:56:27 | FromDiscord | <the_real_hypno> i dont know? 😛 |
14:56:35 | FromDiscord | <the_real_hypno> I havent received something yet |
14:56:53 | FromDiscord | <rakgew> did you get the invite? |
14:57:01 | FromDiscord | <rakgew> I just created a non-encrypted test room |
14:57:07 | FromDiscord | <rakgew> oh ok. |
14:57:30 | FromDiscord | <rakgew> then the answer is probably no. |
14:58:16 | FromDiscord | <rakgew> @the_real_hypno \: well then I send it here\: https://justbeamit.com/usrc9 |
14:58:35 | FromDiscord | <the_real_hypno> you may delete if you want |
14:58:36 | FromDiscord | <the_real_hypno> have it |
14:59:09 | FromDiscord | <rakgew> ok it is one-time p2p anyway. ;-) |
14:59:19 | FromDiscord | <the_real_hypno> ah i see, perfect |
15:01:00 | FromDiscord | <the_real_hypno> yep it seems to be the beginning right? |
15:01:13 | FromDiscord | <the_real_hypno> FF D8 FF E0 |
15:01:25 | FromDiscord | <the_real_hypno> seems to be unusual |
15:01:59 | Amun-Ra | that's JPEG signature |
15:02:21 | FromDiscord | <the_real_hypno> ah good to know, cheers |
15:02:29 | FromDiscord | <rakgew> are you looking at it in https://ide.kaitai.io/ ? |
15:02:33 | FromDiscord | <the_real_hypno> yes |
15:02:58 | FromDiscord | <the_real_hypno> just drag and drop it into it and chose image -> exif |
15:04:09 | FromDiscord | <the_real_hypno> So there is a part infront of your actual code you intend do parse. Up until 0x1D |
15:04:43 | FromDiscord | <the_real_hypno> at 0x1D your intended code starts |
15:04:46 | FromDiscord | <the_real_hypno> being LE |
15:05:41 | FromDiscord | <the_real_hypno> In reply to @Amun-Ra "what's binary renaming?": My uneducated wording of changing bytes representing a name in binary code |
15:07:23 | FromDiscord | <rakgew> ok, drag n drop worked, activating the exif.ksy as well.↵but then I get an UndecidedEndiannessError in the console at the bottom of the page. |
15:08:11 | FromDiscord | <rakgew> so if I changed the endianess in the ksy to le just for a test it should work in the webapp? |
15:08:40 | FromDiscord | <rakgew> nice - now I can see ExifBody |
15:08:57 | FromDiscord | <the_real_hypno> Well, i could break your Jpeg file to make it work but thats not really what you want |
15:09:17 | FromDiscord | <the_real_hypno> you could extend the .ksy format to handle the bytes before the actual exif |
15:09:35 | FromDiscord | <the_real_hypno> which seems to be jpeg according to Amun-Ra |
15:09:54 | FromDiscord | <the_real_hypno> https://media.discordapp.net/attachments/371759389889003532/1226549516216303767/IMG20240504150822.jpg_0x0-0x1d.bin?ex=66252c40&is=6612b740&hm=98ae38d86b2d9f53c54ec030f60152bc23e4f7b379f4052b74e5e20dd5423cac& |
15:09:59 | FromDiscord | <the_real_hypno> so this basically |
15:10:13 | FromDiscord | <rakgew> right |
15:10:24 | FromDiscord | <the_real_hypno> you need to handle this part (dont worry its just some bytes) |
15:10:50 | FromDiscord | <rakgew> ah so endianness 55551 is le? |
15:10:56 | FromDiscord | <the_real_hypno> no, 4949 |
15:11:07 | FromDiscord | <the_real_hypno> https://media.discordapp.net/attachments/371759389889003532/1226549825978368040/image.png?ex=66252c8a&is=6612b78a&hm=a173877548cc29db32d89efba6217561ad39da33b40f289b7d57dee1f6d6a9b8& |
15:11:15 | Amun-Ra | 'II' is little endian, 'MM' is big endian |
15:11:28 | Amun-Ra | I as in Intel, M as in Motorola |
15:11:41 | * | PMunch quit (Quit: leaving) |
15:11:56 | FromDiscord | <rakgew> sorry I meant\: 0xD8FF |
15:11:57 | FromDiscord | <the_real_hypno> Yes but we take a .ksy file which switches over these options:↵ 0x4949: le↵ 0x4d4d: be |
15:12:16 | FromDiscord | <the_real_hypno> No thats what im saying. Do you see my screenshot? |
15:12:19 | FromDiscord | <rakgew> that I am getting in the kaitai webapp |
15:12:31 | FromDiscord | <rakgew> yes |
15:12:49 | FromDiscord | <the_real_hypno> The marked bytes are conflicting with the part you intend to parse |
15:13:01 | FromDiscord | <rakgew> ah there - needed to scroll back in the hex viewer. |
15:13:28 | FromDiscord | <the_real_hypno> im a bit rusty i fear, let me try to monkey patch it |
15:14:11 | FromDiscord | <rakgew> cool, thx |
15:15:33 | * | krux02 joined #nim |
15:15:43 | FromDiscord | <odexine> "youre a bit WHAT" |
15:18:21 | FromDiscord | <the_real_hypno> Ok |
15:18:32 | FromDiscord | <the_real_hypno> sent a code paste, see https://play.nim-lang.org/#pasty=sQVqvziixIde |
15:18:36 | FromDiscord | <the_real_hypno> with the original |
15:18:59 | FromDiscord | <the_real_hypno> sent a code paste, see https://play.nim-lang.org/#pasty=xXJYyzaGEkUW |
15:19:12 | FromDiscord | <the_real_hypno> then it parses |
15:21:42 | FromDiscord | <rakgew> indeed - very nice!! (-\: |
15:22:07 | FromDiscord | <the_real_hypno> No you can rightclick the new .ksy file and generate the Nim file from it |
15:22:45 | FromDiscord | <rakgew> thank you so much!! |
15:23:10 | FromDiscord | <the_real_hypno> Well, no problem, but keep in mind that that patch is really how i called it |
15:23:12 | FromDiscord | <the_real_hypno> monkey |
15:23:39 | * | SchweinDeBurg joined #nim |
15:23:58 | FromDiscord | <the_real_hypno> would be smarter to "move the cursor" to that spot or something |
15:25:26 | FromDiscord | <the_real_hypno> or just ignore everything until either 0x4949 or 0x4d4d get encountered. Its not much to work into but a base knowledge of kaitai is not avoidable if you intend to use it furth |
15:25:27 | FromDiscord | <the_real_hypno> (edit) "furth" => "further" |
15:25:40 | FromDiscord | <the_real_hypno> If thats all you wanted to achieve then whatever |
15:27:02 | FromDiscord | <rakgew> seems like I need to dig into kaitai a bit more. (-\: |
15:48:19 | FromDiscord | <Phil> In reply to @MDuardo "I still don't get": I highly recommend never ever using include |
15:48:44 | FromDiscord | <Phil> Ah, I see exelotl already elaborated as to why one shouldn't |
15:49:33 | FromDiscord | <Phil> In reply to @ase8540 "any way to see": Are you sure you're not mistaking nim the programming language with something else?↵Because what you just wrote I can't connect to anything nim related |
15:50:29 | FromDiscord | <ase8540> Nim airdrop page didn’t see any info when I connected to leap wallet |
15:51:09 | FromDiscord | <rosen> wrong nim my friend |
15:52:27 | FromDiscord | <Phil> In reply to @ase8540 "Nim airdrop page didn’t": Nim itself doesn't really have anything to do with airdrop or wallets.↵This server is for nim, the programming language which appears to share a name with whatever you're referring to.↵https://nim-lang.org/↵This is the website of the language |
16:01:29 | * | krux02 quit (Quit: Leaving) |
16:03:06 | * | ntat joined #nim |
16:05:19 | * | ntat quit (Read error: Connection reset by peer) |
16:06:20 | FromDiscord | <michaelb.eth> In reply to @ase8540 "Nim airdrop page didn’t": Maybe you’re looking for: https://x.com/nim_network↵↵The link you their discord is in their X/Twitter profile. It is completely unrelated to this community and the Nim programming language. |
16:06:36 | FromDiscord | <michaelb.eth> (edit) "you" => "to" |
16:08:05 | * | ntat joined #nim |
16:08:44 | * | krux02 joined #nim |
16:09:22 | * | krux02 quit (Client Quit) |
16:31:29 | * | xet7 quit (Remote host closed the connection) |
16:39:04 | * | xet7 joined #nim |
16:45:46 | * | lucasta joined #nim |
17:01:37 | * | casaca joined #nim |
17:39:09 | * | coldfeet quit (Remote host closed the connection) |
17:44:18 | * | MacDefender quit (Remote host closed the connection) |
17:59:39 | * | MacDefender joined #nim |
18:23:04 | * | Jhonny2x4 quit (Quit: Jhonny2x4) |
18:24:01 | * | Jhonny2x4 joined #nim |
18:38:20 | * | coldfeet joined #nim |
18:43:03 | * | PMunch joined #nim |
18:43:37 | * | MacDefender quit (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) |
18:56:26 | * | coldfeet quit (Remote host closed the connection) |
18:59:13 | * | PMunch quit (Remote host closed the connection) |
19:00:03 | * | PMunch joined #nim |
19:00:51 | * | PMunch quit (Remote host closed the connection) |
19:08:26 | * | PMunch joined #nim |
19:10:18 | * | PMunch quit (Client Quit) |
19:19:50 | * | ntat quit (Quit: Leaving) |
19:24:56 | * | coldfeet_ joined #nim |
19:29:48 | * | coldfeet_ quit (Remote host closed the connection) |
19:33:43 | FromDiscord | <user2m> sent a code paste, see https://play.nim-lang.org/#pasty=JbMBkhaCTxog |
19:36:00 | FromDiscord | <ricky> working nim lsp is like a fever dream... 😔 |
19:40:31 | FromDiscord | <Phil> sent a code paste, see https://play.nim-lang.org/#pasty=dMRdBCQTuzFR |
19:41:22 | FromDiscord | <user2m> In reply to @isofruit "Honestly there's no way": yeah that's basically what i've been doing. wow can't believe theres not a more egonomic way |
19:45:03 | FromDiscord | <huantian> yk for some reason i thought beef's slicerator had something akin to python's list slicing |
19:46:16 | FromDiscord | <user2m> In reply to @huantian "yk for some reason": yeah I think it does but it also has way more than I need lol I wouldve thought backwrads slicing would be a primitive in any modern language |
19:46:32 | FromDiscord | <user2m> ill live |
19:46:53 | FromDiscord | <huantian> In reply to @user2m "yeah I think it": i don't think haskell has it 😛 |
19:48:28 | FromDiscord | <huantian> rust probably doesn't because of rust |
20:29:13 | * | PMunch joined #nim |
20:40:47 | * | pmp-p quit (Ping timeout: 256 seconds) |
20:43:59 | FromDiscord | <Robyn [She/Her]> In reply to @user2m "yeah that's basically what": It's probably possible to implement it yourself but don't think the usecase is that common |
20:44:19 | FromDiscord | <Robyn [She/Her]> In reply to @isofruit "Honestly there's no way": `reversed()` exists too iirc |
20:56:29 | * | lucasta quit (Quit: Leaving) |
21:07:19 | FromDiscord | <demotomohiro> I guess Nim doesn't have reverse slicing because most of people don't use it. |
21:08:52 | * | PMunch quit (Quit: leaving) |
21:45:46 | FromDiscord | <Robyn [She/Her]> Probably yeah |
22:29:55 | FromDiscord | <Elegantbeef> "list slicing"?↵(@huantian) |
22:30:05 | FromDiscord | <huantian> idk what it's called |
22:30:24 | FromDiscord | <huantian> when you do `some_list[start:end:step]` |
22:30:35 | FromDiscord | <Elegantbeef> Nim already has that |
22:30:38 | FromDiscord | <Elegantbeef> Oh step |