<< 04-04-2024 >>

00:32:43FromDiscord<gogolxdong666> sent a code paste, see https://play.nim-lang.org/#pasty=uxIduYLyBuVG
00:37:03FromDiscord<Elegantbeef> Use strscans and no longer use regex again
00:41:43FromDiscord<Robyn [She/Her]> In reply to @gogolxdong666 "Hi guys , how": Look at `std/strformat` and `std/re`
00:42:36FromDiscord<Elegantbeef> Really robyn?
00:42:47FromDiscord<Robyn [She/Her]> Yeah
00:42:57FromDiscord<Elegantbeef> Are you going to encourage `"([0-9]+)-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])[Tt]([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\\.[0-9]+)?(([Zz])|([\\+|\\-]([01][0-9]|2[0-3]):[0-5][0-9]))"`'s continued existence?
00:43:05FromDiscord<Robyn [She/Her]> Idk how strscans work personally 🤷‍♀️
00:43:19FromDiscord<Robyn [She/Her]> In reply to @Elegantbeef "Are you going to": Beef, you've seen my code before
00:43:39FromDiscord<Elegantbeef> That belongs behind the shed next to old yeller
00:44:09FromDiscord<Elegantbeef> Strscans works identically to regex but statically compiled and any captures can go right to the type you want
00:44:40FromDiscord<Robyn [She/Her]> In reply to @Elegantbeef "Strscans works identically to": Huh, can you show an example?
00:46:59FromDiscord<Elegantbeef> I should say it's not 100% identical case any of those formatted strings cannot work as a pattern
00:47:29FromDiscord<Robyn [She/Her]> Fair
00:48:14FromDiscord<Elegantbeef> sent a code paste, see https://play.nim-lang.org/#pasty=minZmQYRRwFP
00:48:25FromDiscord<Elegantbeef> It's not complicated and assuming you want to extract the values in strings is much more sane
00:49:04FromDiscord<Elegantbeef> Whoops that should be `$` since we want to parse until `)`
00:49:26FromDiscord<Elegantbeef> It's really not that complicated it has some built in matchers then you can define your own matchers
00:50:01FromDiscord<Elegantbeef> So like instead of using the above regex for the time stamp you'd probably implement a `timeMatcher(...)` which yields a `Time`
00:50:58FromDiscord<Robyn [She/Her]> sent a code paste, see https://play.nim-lang.org/#pasty=apZbClhiZYjY
00:51:05FromDiscord<Robyn [She/Her]> And I only really use it in one place
00:51:38*greaser|q joined #nim
00:51:43*greaser|q quit (Remote host closed the connection)
00:51:57*greaser|q joined #nim
00:52:23FromDiscord<Elegantbeef> I mean regex sucks for anything that's not arbitrary searching imo
00:52:43FromDiscord<Elegantbeef> It's unreadable, unmaintainable, and requires multiple steps for data extraction
00:53:49FromDiscord<bosinski2023> In reply to @Elegantbeef "I mean regex sucks": regEx need documentation - the CoffeeScript-crew did that very well. Undocumented regEx - even my own - i cannot understand after 7-days..
00:54:05FromDiscord<Elegantbeef> No regex does not need documentation
00:54:11FromDiscord<Elegantbeef> It needs ripped out of codebases
00:54:15FromDiscord<bosinski2023> In reply to @Elegantbeef "No regex does not": docuement
00:54:23FromDiscord<Robyn [She/Her]> CoffeeScript? Why would it use regex?
00:54:33FromDiscord<bosinski2023> In reply to @Elegantbeef "It needs ripped out": nope, well documented its okay..
00:54:51FromDiscord<bosinski2023> In reply to @chronos.vitaqua "CoffeeScript? Why would it": its javascript,,
00:54:56FromDiscord<Elegantbeef> It really is not okay cause if you sufficiently document complex regex you might as well just make the for loop
00:55:27FromDiscord<Elegantbeef> Like how would you document `SIWE_DATETIME` in the above?
00:56:42FromDiscord<bosinski2023> In reply to @Elegantbeef "Like how would you": https://coffeescript.org/#regexes they call it block regular expressions
00:56:56FromDiscord<Elegantbeef> Right and that's just silly
00:57:44FromDiscord<Elegantbeef> Isn't `Number = "${number({Binary, Octal, Hex, Decimal})}"` better?
00:58:00FromDiscord<Elegantbeef> The documentation is a part of the matcher
00:58:00FromDiscord<bosinski2023> In reply to @Elegantbeef "Right and that's just": its better than 'standard' - strscan is best sure
00:58:14FromDiscord<Elegantbeef> Sure but that's my point
00:58:32FromDiscord<Elegantbeef> Documented regex is best replaced with a more structured api
01:02:38FromDiscord<Robyn [She/Her]> In reply to @bosinski2023 "its javascript,,": I know what CoffeeScript is
01:07:11FromDiscord<gogolxdong666> sent a code paste, see https://play.nim-lang.org/#pasty=wlnAhXVSgEKH
01:08:21FromDiscord<Robyn [She/Her]> https://tryitands.ee/
01:08:23FromDiscord<bosinski2023> In reply to @chronos.vitaqua "I know what CoffeeScript": in a dynamic language regEx gives you performance - in nim the std/strscan and friends are prbly very fast.
01:11:32FromDiscord<Robyn [She/Her]> Yeah I'd assume so lol
01:30:27FromDiscord<.bobbbob> Is there a way to get a slice where if the end index is greater than the length it defaults to the length like how python does it? I can't use min(num,arr.len) because the array isn't saved in a variable
01:32:12FromDiscord<bosinski2023> In reply to @.bobbbob "Is there a way": how do you generate the slice ?
01:33:05FromDiscord<Robyn [She/Her]> In reply to @.bobbbob "Is there a way": `idx..^1`
01:33:31FromDiscord<Robyn [She/Her]> I think that's what you're asking for
01:36:04FromDiscord<.bobbbob> nah, basically I want arr[0..50] but if the arr is less than 50 then arr[0..arr.len], hench the arr[0..min(50, arr.len)]. but the sequence is returned from a function and a for loop iterates through it right away so there is no arr variable. So you might say, just save it in a variable first, but that would be a pain because this is actually code in a nimja template, so it's a weird pickle
01:37:13FromDiscord<Elegantbeef> Just make a proc or iterator that does what you need
01:37:46FromDiscord<.bobbbob> yeah I guess so
01:44:04*greaser|q quit (Quit: HYDRA IRC LOL)
01:50:53*greaser|q joined #nim
01:56:05*greaser|q quit (Quit: HYDRA IRC LOL)
02:09:19*SchweinDeBurg quit (Quit: WeeChat 4.3.0-dev)
02:17:16FromDiscord<recycledloveletter> sent a long message, see https://pasty.ee/vvPNENHmMldF
02:17:53FromDiscord<recycledloveletter> (edit) "https://pasty.ee/wGdbypWvRByM" => "https://pasty.ee/giecCEyrKLWv"
02:18:42FromDiscord<recycledloveletter> i'm allocating memory in memory-space for my unsigned shellcode, and it seems to execute on linux, the windows version using virtualalloc works as well
02:18:56FromDiscord<recycledloveletter> if i add exception of course, but on windows it gets flagged
02:20:11FromDiscord<recycledloveletter> and i don't have an edr or av to test against on linux, since i'm not really down for installing those types of suites on my main machine I'm fully confident won't be effected or victim to any cyberattack anytime soon as I am just low-hanging fruit, invisible pretty much to most people except the government and local police workforce
02:21:10FromDiscord<Elegantbeef> well this doesn't sound suspicious
02:22:22FromDiscord<recycledloveletter> last time your arrogance got me muted, so I will reiterate that I work for my local police workforce, so in LE in a digital forensics dept and I work as a freelance red teamer
02:22:32FromDiscord<Elegantbeef> Lol
02:23:23FromDiscord<recycledloveletter> average bot response
02:23:35FromDiscord<Elegantbeef> Is that supposed to offend me?
02:23:43FromDiscord<recycledloveletter> bot
02:23:46FromDiscord<Elegantbeef> You asking for help for what can amount to directly making malware
02:23:57FromDiscord<recycledloveletter> are you surprised?
02:24:38FromDiscord<recycledloveletter> malware is how companies find out about exploits/flaws 9/10
02:25:05FromDiscord<recycledloveletter> I guess I can't report this to any EDR/AV I find or use them in my assessments for the greater good?
02:25:23FromDiscord<recycledloveletter> I guess helping companies secure their infrastructure isn't good.
02:25:54FromDiscord<recycledloveletter> while you sit there in your chair creating redundant for loops all day accomplishing nothing ( no offense bot )
02:26:00FromDiscord<Elegantbeef> This is the thing with helping people write malicious software
02:26:18FromDiscord<Elegantbeef> There is no way to ensure that you're actually being productive
02:26:27FromDiscord<recycledloveletter> it's not really helping, it's just informative before taking any risks
02:26:39FromDiscord<recycledloveletter> in my context it doesn't seem like helping
02:26:46FromDiscord<recycledloveletter> to the greater deal you seem to make it out to be
02:27:26FromDiscord<Elegantbeef> If you want the results do the research
02:27:39FromDiscord<recycledloveletter> okay, i won't entertain your ignorance
02:27:50FromDiscord<Elegantbeef> Beep boop
02:27:54FromDiscord<recycledloveletter> bot
02:43:25FromDiscord<Robyn [She/Her]> In reply to @Elegantbeef "Beep boop": Beep boop beep
02:44:11FromDiscord<Elegantbeef> Beeeeeep
02:49:23*greaser|q joined #nim
02:51:44FromDiscord<Robyn [She/Her]> New vocal stim unlocked for me xD
02:57:51*krux02_ quit (Remote host closed the connection)
02:58:32FromDiscord<zumi.dxy> mfw bot = not on discord↵I'm pretty sure I have a "bot" tag for beef too
02:58:49FromDiscord<Elegantbeef> Nope you just appear as a normal user
02:58:54FromDiscord<zumi.dxy> damn
02:58:58FromDiscord<Elegantbeef> image.png https://media.discordapp.net/attachments/371759389889003532/1225278412592250961/image.png?ex=66208c72&is=660e1772&hm=8694a5abf2ac39b759381fb555b9926d770972da09928bce2fc578fb1dd25de0&
02:58:58FromDiscord<Elegantbeef> For context
02:59:11FromDiscord<zumi.dxy> red text for everyone?
02:59:16FromDiscord<Robyn [She/Her]> I find it hilarious it was intended as an insult
02:59:18FromDiscord<Elegantbeef> You said `beef`
02:59:28FromDiscord<zumi.dxy> hehe beef
02:59:32FromDiscord<Elegantbeef> I have it setup so `beef` is a ping to me cause it normally is
02:59:54FromDiscord<Elegantbeef> I only occasionally get a ping for someone saying "you have a beef with me?"
03:01:18FromDiscord<Elegantbeef> Hmph owlkettle's design does sure make having a long polling sync call a bit odd to handle
03:02:07FromDiscord<Robyn [She/Her]> In reply to @Elegantbeef "Hmph owlkettle's design does": Oh?
03:02:14FromDiscord<Robyn [She/Her]> Idk much about Owlkettle tbh
03:02:34FromDiscord<Robyn [She/Her]> It's @can.l's project iirc
03:04:29FromDiscord<Elegantbeef> I know
03:04:39FromDiscord<Elegantbeef> If i wanted to ping them I would've
03:05:57FromDiscord<Robyn [She/Her]> Oop
03:06:05FromDiscord<Robyn [She/Her]> Sorry can.l :P
04:02:29*SchweinDeBurg joined #nim
04:23:54FromDiscord<zectbumo> @ElegantBeef , do you have any notes for Mastering Nim?
04:24:10FromDiscord<zectbumo> (edit) "Nim?" => "Nim 2nd edition?"
04:24:26FromDiscord<Elegantbeef> I don't have the book
04:25:23FromDiscord<zectbumo> we may need to crowdfund a book for you
04:25:26FromDiscord<user2m> how do I create an array or seq of `typedesc`'s?
04:25:41FromDiscord<Elegantbeef> You don't
04:25:55FromDiscord<Elegantbeef> Lol zec
04:27:10FromDiscord<Robyn [She/Her]> In reply to @user2m "how do I create": Don't think you can, typedescs are a compile time only thing I believe
04:27:11FromDiscord<user2m> In reply to @Elegantbeef "You don't": dang ok
04:27:17FromDiscord<Robyn [She/Her]> What's your usecase?
04:27:42FromDiscord<user2m> https://media.discordapp.net/attachments/371759389889003532/1225300738163605604/image.png?ex=6620a13c&is=660e2c3c&hm=37baf180fba794d2027c2132bbf2b382644486bf6dbbb1aeced3c26e9deef29f&
04:27:50FromDiscord<user2m> not a big deal if not
04:28:22FromDiscord<Elegantbeef> sent a code paste, see https://play.nim-lang.org/#pasty=nOkeZMIuCwky
04:28:54FromDiscord<Robyn [She/Her]> It seems like models may be a module to me
04:29:03FromDiscord<user2m> In reply to @chronos.vitaqua "It seems like models": correct models is the module
04:29:18FromDiscord<user2m> just for namespace sakes
04:29:23FromDiscord<Robyn [She/Her]> You could look into `getTypeInfo`?
04:29:38FromDiscord<Robyn [She/Her]> Though it most definitely isn't exactly what you want
04:29:40FromDiscord<Elegantbeef> Also `userr`?
04:29:40FromDiscord<Elegantbeef> Stop using lowecase types
04:29:45FromDiscord<user2m> eh it's not that big of a deal
04:29:45FromDiscord<Robyn [She/Her]> (edit) "most definitely" => "probably"
04:30:03FromDiscord<Robyn [She/Her]> In reply to @Elegantbeef "Also `userr`?": Iirc SQL DBs don't allow 'user' as a field/table name
04:30:17FromDiscord<Robyn [She/Her]> (edit) "SQL" => "some relational"
04:30:18FromDiscord<user2m> In reply to @chronos.vitaqua "Iirc some relational DBs": LOL thank you
04:30:34FromDiscord<Robyn [She/Her]> No worries! I've been looking into this myself recently aha
04:31:14FromDiscord<user2m> In reply to @Elegantbeef "Stop using lowecase types": it's a personal project so I'm not too worried about naming
04:31:28FromDiscord<Elegantbeef> Feel like a `type User {.dbName: "NotUser".} = object` is in order
04:32:00FromDiscord<Elegantbeef> On what?↵(@Robyn [She/Her])
04:32:12FromDiscord<Elegantbeef> Modules don't exist at runtime
04:33:14FromDiscord<Robyn [She/Her]> In reply to @Elegantbeef "On what? (<@524288464422830095>)": On the type itself, they want a list of typedescs, I'm suggesting a list of pointers instead
04:37:34FromDiscord<gogolxdong666> sent a code paste, see https://play.nim-lang.org/#pasty=KEhSehVJBOmw
04:37:54FromDiscord<Elegantbeef> Did you `include` something?
04:38:13FromDiscord<gogolxdong666> nop
04:48:53*ntat joined #nim
04:49:29FromDiscord<gogolxdong666> https://media.discordapp.net/attachments/371759389889003532/1225306224082288670/message.txt?ex=6620a658&is=660e3158&hm=9e4a2d0050bdb57a4679b018662e30cbe43bd60e708dee7d46f47357715e46ea&
05:25:10*redj quit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
05:35:16*advesperacit joined #nim
06:22:24*redj joined #nim
06:36:59*PMunch joined #nim
07:47:11*xet7 quit (Quit: Leaving)
07:57:10*ntat quit (Quit: Leaving)
08:48:49*greaser|q quit (Changing host)
08:48:49*greaser|q joined #nim
08:48:52*greaser|q is now known as GreaseMonkey
09:15:24*SebastianM joined #nim
09:22:00*SebastianM quit (Quit: -a- IRC for Android 2.1.59)
09:26:25*xet7 joined #nim
09:44:21FromDiscord<gogolxdong666> any update
10:17:23*redj quit (Ping timeout: 264 seconds)
10:24:24FromDiscord<kots> Could it be that your installed version of stew is outdated and stew/base10 is importing its own `results` module while chronos is importing the standalone results package, resulting in a clash when ioselectors_epoll.nim is included in chronos/selectors2 (or wherever)?
10:38:38*krux02 joined #nim
10:58:53*xet7 quit (Remote host closed the connection)
12:15:29*xet7 joined #nim
12:23:53*ntat joined #nim
13:02:53FromDiscord<gogolxdong666> It's been solved by uninstalling stew not but not sure relevant.
13:42:12FromDiscord<wolajo> Rust has rustaceans, is there a similar term for those interested in nim?
13:42:47FromDiscord<nnsee> i've heard the word "nimmer" being used
13:43:24FromDiscord<nnsee> https://media.discordapp.net/attachments/371759389889003532/1225440584769077289/image.png?ex=6621237a&is=660eae7a&hm=299ba04b5bc1b58026441b346b5a826dccabeb8378c490f75e890fad5d275daf&
13:43:33FromDiscord<nnsee> i guess we're also called [Removed by Moderator - Flame Bait]
13:43:54advesperacitI like the last one, the others suck
13:44:16FromDiscord<zumi.dxy> wew
13:44:26FromDiscord<zumi.dxy> not "nimrods"? :p
13:48:49FromDiscord<nnsee> someone suggested nincompoop
13:48:55FromDiscord<nnsee> (edit) "nincompoop" => "nimcompoop"
13:52:57FromDiscord<nervecenter> sent a code paste, see https://play.nim-lang.org/#pasty=qpWcmFfcINKW
13:53:17FromDiscord<Robyn [She/Her]> In reply to @wolajo "Rust has rustaceans, is": Nimian is another
13:56:11FromDiscord<saint.___.> In reply to @chronos.vitaqua "Nimian is another": That sounds good!
13:57:11FromDiscord<saint.___.> In reply to @nnsee "i've heard the word": Yeah this is best I think
14:03:31FromDiscord<spoon__> nimian also opens up the door to an animal mascot
14:05:32FromDiscord<nnsee> In reply to @spoon__ "nimian also opens up": it does?
14:06:14FromDiscord<spoon__> simian, like monkeys and apes
14:06:21FromDiscord<nnsee> ah i see
14:06:48FromDiscord<nirokay> if Nim gets a mascot, it has to be a cat↵as they are the figurative queens of the animal kingdom
14:07:23FromDiscord<nnsee> ok, cat pfp
14:07:26FromDiscord<spoon__> well monkeys are clever and playful, so i think they fit too
14:07:28FromDiscord<nnsee> i'm sure you're totally not biased
14:08:29FromDiscord<Robyn [She/Her]> In reply to @nirokay "if Nim gets a": Agreed
14:08:36FromDiscord<Robyn [She/Her]> Cats are clearly superior
14:10:03PMunchPfft, honeybadger!
14:10:18FromDiscord<nnsee> nimian https://media.discordapp.net/attachments/371759389889003532/1225447358951719032/file-RoXdDzD52qLt7Pr1nPQPWf7i.png?ex=662129ca&is=660eb4ca&hm=42a7aae84da8ef5c54b81779312b2dca05836c0e5addfa09c81398ad81a1cdcd&
14:11:19FromDiscord<nirokay> not even because i like cats↵they are often depicted as entitled and feeling themselves as being above all
14:11:23advesperacitThat's an affront to good taste, so it fits right in with the other dumb language mascots
14:11:53advesperacitI remember seeing that dumb gopher everywhere when I was writing go, I do not miss it
14:12:42FromDiscord<nirokay> i never wrote go, but i do like their mascot↵it is silly \:]
14:12:58advesperacitIt should be set on fire
14:13:27FromDiscord<nirokay> \:(
14:16:26*PMunch quit (Quit: Leaving)
14:19:52advesperacitMy favorite is perl 6, I still have trouble believing they are serious with that thing
14:23:40*lucasta joined #nim
14:30:25FromDiscord<exelotl> Camelia is the best mascot of all time
15:20:51FromDiscord<TӨMΛ ☠> In reply to @nirokay "i never wrote go,": I may be the cursed guy here, but I really love all lang mascots↵Give programming that fun, silly nudge I really like about this "subculture" of passionates
15:21:28FromDiscord<TӨMΛ ☠> Gopher is nice, much more than exporting procs via big letter 😅
15:21:44FromDiscord<TӨMΛ ☠> (edit) "big letter" => "capitalising proc's name"
15:21:52FromDiscord<TӨMΛ ☠> (edit) "proc's" => "their"
15:41:23FromDiscord<Robyn [She/Her]> In reply to @toma400 "Gopher is nice, much": Go does that?
15:42:23FromDiscord<odexine> go does export depending on capitalisation
15:43:00FromDiscord<odexine> IIRC go also does allow for unicode names, which you can imagine the problem it poses if you (for some reason) use a language which does not use capitalisation
15:43:07FromDiscord<odexine> use -> have the concept of
15:44:39FromDiscord<TӨMΛ ☠> In reply to @chronos.vitaqua "Go does that?": Yep
15:44:57FromDiscord<TӨMΛ ☠> It's amazing language, but annoying af because of some weird concepts
15:47:08FromDiscord<Robyn [She/Her]> God I hate that so much
15:57:35FromDiscord<odexine> its interesting to connect the similarities between the dislike of both go's syntactic choice of export by capitalisation and nim's syntactic choice of style insensitivity
16:00:57FromDiscord<4zv4l> Any vlang user here ?↵If yes how do you do to choose between Nim and Vlang for project ?
16:01:36FromDiscord<4zv4l> In reply to @odexine "its interesting to connect": I really like this from Nim, the choice of naming the way we want as well as foo.bar being the same as bar(foo)
16:02:11FromDiscord<odexine> In reply to @4zv4l "I really like this": i mean `do_this` and `doThis` being the same
16:02:39FromDiscord<odexine> In reply to @4zv4l "Any vlang user here": a lot of people were burnt by the empty promises the author made at the start of the project
16:02:47FromDiscord<odexine> insert dodrill's blog posts here
16:09:23FromDiscord<rakgew> @zadi \: as sql orm I like `norm` quite a bit.
16:13:23FromDiscord<zadi> Oh that actually looks exactly like what i was after, but hmm, it doesn't seem to support MySQL?
16:28:47FromDiscord<saint.___.> In reply to @zadi "Oh that actually looks": https://github.com/treeform/debby
16:28:51FromDiscord<saint.___.> This one supports mysql
16:28:58FromDiscord<saint.___.> treeform is a great nim dev too
16:29:40FromDiscord<zadi> Thanks! I'll have a look.
16:30:09FromDiscord<saint.___.> 🫡
16:50:16*lucasta quit (Remote host closed the connection)
16:58:58*SchweinDeBurg quit (Quit: WeeChat 4.3.0-dev)
17:29:00FromDiscord<rakgew> is there a nim lib for reading jpg exif data?
17:41:27Amun-Radon't think so
17:41:34Amun-Ranothing in nimble
17:46:07FromDiscord<tixonochek> In reply to @chronos.vitaqua "Cats are clearly superior": I agree with this and the statement said higher in this very intelligent discussion.
17:49:39FromDiscord<rakgew> right, I did a nimble search as well, but thought maybe there is another lib.↵(<@709044657232936960_=41mun-=52a=5b=49=52=43=5d>)
17:50:03Amun-Racould be somewhere, not registered
18:07:49*fredrikhr joined #nim
18:16:23*SebastianM joined #nim
18:23:51*nils` joined #nim
18:42:34*SchweinDeBurg joined #nim
18:48:15FromDiscord<Robyn [She/Her]> rakgew is this what you want? https://formats.kaitai.io/exif/nim.html
18:48:37FromDiscord<Robyn [She/Her]> Kaitai wraps binary formats for multiple languages so maybe this is what you want
18:48:41*SebastianM quit (Quit: -a- IRC for Android 2.1.59)
19:01:36*nils` quit (Quit: nils`)
19:05:34FromDiscord<rakgew> wohoo noice, that is indeed exactly it! thank you so much @Robyn [She/Her] !
19:08:46FromDiscord<rakgew> ..huh, but where does this `import kaitai_struct_nim_runtime` come from?↵time for some reading I guess.. (-;
19:10:48FromDiscord<rakgew> very neat, that this katai thing serves so many languages.
19:42:44FromDiscord<Robyn [She/Her]> In reply to @rakgew "wohoo noice, that is": No worries!
19:42:56FromDiscord<Robyn [She/Her]> In reply to @rakgew "very neat, that this": Katai is pretty neat! Haven't used it myself though
19:59:44*fredrikhr quit (Read error: Connection reset by peer)
20:00:51*ntat quit (Quit: Leaving)
20:05:39*xet7 quit (Remote host closed the connection)
20:10:36FromDiscord<nnsee> I use katai when reverse engineering proprietary file formats
20:10:41FromDiscord<nnsee> it's pretty neat
20:13:57FromDiscord<Robyn [She/Her]> Damn, what formats for example? I'm curious heh
20:16:04FromDiscord<.bobbbob> how would I provide a code example in docs that ISNT tested when the html is generated
20:16:14FromDiscord<.bobbbob> ie not with runnableExamples
20:19:36FromDiscord<nnsee> sent a long message, see https://pasty.ee/uQXpNwxTsCss
20:21:44FromDiscord<nnsee> it used multicast, which I found interesting as well
20:22:03FromDiscord<nnsee> meaning you can flash many routers at the same time, assuming they're on the same network
20:22:05FromDiscord<Robyn [She/Her]> Oh bloody hell- Was it a ton of trial and error then to actually figure out?
20:22:11FromDiscord<Robyn [She/Her]> Sounds super tedious
20:22:41FromDiscord<nnsee> In reply to @chronos.vitaqua "Oh bloody hell- Was": somewhat, but it was mostly literally just looking at assembly and ghidra output
20:22:52FromDiscord<nnsee> In reply to @chronos.vitaqua "Sounds super tedious": i find reverse engineering quite fun actually
20:22:59FromDiscord<nnsee> it's kind of like a puzzle
20:23:16FromDiscord<nnsee> where first you have to find the right pieces and then figure out how they fit together
20:23:48FromDiscord<nnsee> and often in my case, whether those pieces maybe fit together incorrectly and there's a vulnerability ;)
20:24:28FromDiscord<nnsee> there's something deeply satisfying about having totally documented something that was a total black box before
20:25:05FromDiscord<Robyn [She/Her]> In reply to @nnsee "somewhat, but it was": Yikes
20:25:42FromDiscord<Robyn [She/Her]> In reply to @nnsee "there's something deeply satisfying": Fair enough, that does sound rewarding but personally I'd lack the patience heh, you're a better man than me :p
20:25:53FromDiscord<Robyn [She/Her]> ...if I were a man of course
20:26:45FromDiscord<nnsee> i mean, just like with programming, for every finished project i have about 20 things that i've started reversing and then just lost interest or moved on to the next thing and forgotten about it
20:27:08FromDiscord<Robyn [She/Her]> That's fair enough honestly
20:29:22*krux02 quit (Remote host closed the connection)
20:30:06*krux02 joined #nim
20:31:03*xet7 joined #nim
20:33:33*advesperacit quit ()
21:16:53FromDiscord<odexine> In reply to @.bobbbob "how would I provide": if you dont mind, for what reason would you need this to be so?
21:18:32FromDiscord<Robyn [She/Her]> sent a code paste, see https://play.nim-lang.org/#pasty=SWwEQJrzsAvF
21:18:38FromDiscord<Robyn [She/Her]> The file is compiled but not tested
21:24:24FromDiscord<odexine> you could alternatively add a code block to the doc comments so you dont do either
21:27:39FromDiscord<Robyn [She/Her]> ^^
21:58:22FromDiscord<.bobbbob> In reply to @chronos.vitaqua "https://nim-lang.org/docs/system.html#runnableExamp": thx
21:58:23FromDiscord<.bobbbob> I just wanted it because some functions require some setup to use but didnt want to have to do all of that for each function
21:59:25FromDiscord<.bobbbob> (edit) "I just wanted it because some functions require some setup to use but didnt want to have to do all of that for each function ... " added "example"
22:23:24*Mister_Magister quit (Ping timeout: 252 seconds)
22:59:10*krux02 quit (Remote host closed the connection)