00:32:43 | FromDiscord | <gogolxdong666> sent a code paste, see https://play.nim-lang.org/#pasty=uxIduYLyBuVG |
00:37:03 | FromDiscord | <Elegantbeef> Use strscans and no longer use regex again |
00:41:43 | FromDiscord | <Robyn [She/Her]> In reply to @gogolxdong666 "Hi guys , how": Look at `std/strformat` and `std/re` |
00:42:36 | FromDiscord | <Elegantbeef> Really robyn? |
00:42:47 | FromDiscord | <Robyn [She/Her]> Yeah |
00:42:57 | FromDiscord | <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:05 | FromDiscord | <Robyn [She/Her]> Idk how strscans work personally 🤷♀️ |
00:43:19 | FromDiscord | <Robyn [She/Her]> In reply to @Elegantbeef "Are you going to": Beef, you've seen my code before |
00:43:39 | FromDiscord | <Elegantbeef> That belongs behind the shed next to old yeller |
00:44:09 | FromDiscord | <Elegantbeef> Strscans works identically to regex but statically compiled and any captures can go right to the type you want |
00:44:40 | FromDiscord | <Robyn [She/Her]> In reply to @Elegantbeef "Strscans works identically to": Huh, can you show an example? |
00:46:59 | FromDiscord | <Elegantbeef> I should say it's not 100% identical case any of those formatted strings cannot work as a pattern |
00:47:29 | FromDiscord | <Robyn [She/Her]> Fair |
00:48:14 | FromDiscord | <Elegantbeef> sent a code paste, see https://play.nim-lang.org/#pasty=minZmQYRRwFP |
00:48:25 | FromDiscord | <Elegantbeef> It's not complicated and assuming you want to extract the values in strings is much more sane |
00:49:04 | FromDiscord | <Elegantbeef> Whoops that should be `$` since we want to parse until `)` |
00:49:26 | FromDiscord | <Elegantbeef> It's really not that complicated it has some built in matchers then you can define your own matchers |
00:50:01 | FromDiscord | <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:58 | FromDiscord | <Robyn [She/Her]> sent a code paste, see https://play.nim-lang.org/#pasty=apZbClhiZYjY |
00:51:05 | FromDiscord | <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:23 | FromDiscord | <Elegantbeef> I mean regex sucks for anything that's not arbitrary searching imo |
00:52:43 | FromDiscord | <Elegantbeef> It's unreadable, unmaintainable, and requires multiple steps for data extraction |
00:53:49 | FromDiscord | <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:05 | FromDiscord | <Elegantbeef> No regex does not need documentation |
00:54:11 | FromDiscord | <Elegantbeef> It needs ripped out of codebases |
00:54:15 | FromDiscord | <bosinski2023> In reply to @Elegantbeef "No regex does not": docuement |
00:54:23 | FromDiscord | <Robyn [She/Her]> CoffeeScript? Why would it use regex? |
00:54:33 | FromDiscord | <bosinski2023> In reply to @Elegantbeef "It needs ripped out": nope, well documented its okay.. |
00:54:51 | FromDiscord | <bosinski2023> In reply to @chronos.vitaqua "CoffeeScript? Why would it": its javascript,, |
00:54:56 | FromDiscord | <Elegantbeef> It really is not okay cause if you sufficiently document complex regex you might as well just make the for loop |
00:55:27 | FromDiscord | <Elegantbeef> Like how would you document `SIWE_DATETIME` in the above? |
00:56:42 | FromDiscord | <bosinski2023> In reply to @Elegantbeef "Like how would you": https://coffeescript.org/#regexes they call it block regular expressions |
00:56:56 | FromDiscord | <Elegantbeef> Right and that's just silly |
00:57:44 | FromDiscord | <Elegantbeef> Isn't `Number = "${number({Binary, Octal, Hex, Decimal})}"` better? |
00:58:00 | FromDiscord | <Elegantbeef> The documentation is a part of the matcher |
00:58:00 | FromDiscord | <bosinski2023> In reply to @Elegantbeef "Right and that's just": its better than 'standard' - strscan is best sure |
00:58:14 | FromDiscord | <Elegantbeef> Sure but that's my point |
00:58:32 | FromDiscord | <Elegantbeef> Documented regex is best replaced with a more structured api |
01:02:38 | FromDiscord | <Robyn [She/Her]> In reply to @bosinski2023 "its javascript,,": I know what CoffeeScript is |
01:07:11 | FromDiscord | <gogolxdong666> sent a code paste, see https://play.nim-lang.org/#pasty=wlnAhXVSgEKH |
01:08:21 | FromDiscord | <Robyn [She/Her]> https://tryitands.ee/ |
01:08:23 | FromDiscord | <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:32 | FromDiscord | <Robyn [She/Her]> Yeah I'd assume so lol |
01:30:27 | FromDiscord | <.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:12 | FromDiscord | <bosinski2023> In reply to @.bobbbob "Is there a way": how do you generate the slice ? |
01:33:05 | FromDiscord | <Robyn [She/Her]> In reply to @.bobbbob "Is there a way": `idx..^1` |
01:33:31 | FromDiscord | <Robyn [She/Her]> I think that's what you're asking for |
01:36:04 | FromDiscord | <.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:13 | FromDiscord | <Elegantbeef> Just make a proc or iterator that does what you need |
01:37:46 | FromDiscord | <.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:16 | FromDiscord | <recycledloveletter> sent a long message, see https://pasty.ee/vvPNENHmMldF |
02:17:53 | FromDiscord | <recycledloveletter> (edit) "https://pasty.ee/wGdbypWvRByM" => "https://pasty.ee/giecCEyrKLWv" |
02:18:42 | FromDiscord | <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:56 | FromDiscord | <recycledloveletter> if i add exception of course, but on windows it gets flagged |
02:20:11 | FromDiscord | <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:10 | FromDiscord | <Elegantbeef> well this doesn't sound suspicious |
02:22:22 | FromDiscord | <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:32 | FromDiscord | <Elegantbeef> Lol |
02:23:23 | FromDiscord | <recycledloveletter> average bot response |
02:23:35 | FromDiscord | <Elegantbeef> Is that supposed to offend me? |
02:23:43 | FromDiscord | <recycledloveletter> bot |
02:23:46 | FromDiscord | <Elegantbeef> You asking for help for what can amount to directly making malware |
02:23:57 | FromDiscord | <recycledloveletter> are you surprised? |
02:24:38 | FromDiscord | <recycledloveletter> malware is how companies find out about exploits/flaws 9/10 |
02:25:05 | FromDiscord | <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:23 | FromDiscord | <recycledloveletter> I guess helping companies secure their infrastructure isn't good. |
02:25:54 | FromDiscord | <recycledloveletter> while you sit there in your chair creating redundant for loops all day accomplishing nothing ( no offense bot ) |
02:26:00 | FromDiscord | <Elegantbeef> This is the thing with helping people write malicious software |
02:26:18 | FromDiscord | <Elegantbeef> There is no way to ensure that you're actually being productive |
02:26:27 | FromDiscord | <recycledloveletter> it's not really helping, it's just informative before taking any risks |
02:26:39 | FromDiscord | <recycledloveletter> in my context it doesn't seem like helping |
02:26:46 | FromDiscord | <recycledloveletter> to the greater deal you seem to make it out to be |
02:27:26 | FromDiscord | <Elegantbeef> If you want the results do the research |
02:27:39 | FromDiscord | <recycledloveletter> okay, i won't entertain your ignorance |
02:27:50 | FromDiscord | <Elegantbeef> Beep boop |
02:27:54 | FromDiscord | <recycledloveletter> bot |
02:43:25 | FromDiscord | <Robyn [She/Her]> In reply to @Elegantbeef "Beep boop": Beep boop beep |
02:44:11 | FromDiscord | <Elegantbeef> Beeeeeep |
02:49:23 | * | greaser|q joined #nim |
02:51:44 | FromDiscord | <Robyn [She/Her]> New vocal stim unlocked for me xD |
02:57:51 | * | krux02_ quit (Remote host closed the connection) |
02:58:32 | FromDiscord | <zumi.dxy> mfw bot = not on discord↵I'm pretty sure I have a "bot" tag for beef too |
02:58:49 | FromDiscord | <Elegantbeef> Nope you just appear as a normal user |
02:58:54 | FromDiscord | <zumi.dxy> damn |
02:58:58 | FromDiscord | <Elegantbeef> image.png https://media.discordapp.net/attachments/371759389889003532/1225278412592250961/image.png?ex=66208c72&is=660e1772&hm=8694a5abf2ac39b759381fb555b9926d770972da09928bce2fc578fb1dd25de0& |
02:58:58 | FromDiscord | <Elegantbeef> For context |
02:59:11 | FromDiscord | <zumi.dxy> red text for everyone? |
02:59:16 | FromDiscord | <Robyn [She/Her]> I find it hilarious it was intended as an insult |
02:59:18 | FromDiscord | <Elegantbeef> You said `beef` |
02:59:28 | FromDiscord | <zumi.dxy> hehe beef |
02:59:32 | FromDiscord | <Elegantbeef> I have it setup so `beef` is a ping to me cause it normally is |
02:59:54 | FromDiscord | <Elegantbeef> I only occasionally get a ping for someone saying "you have a beef with me?" |
03:01:18 | FromDiscord | <Elegantbeef> Hmph owlkettle's design does sure make having a long polling sync call a bit odd to handle |
03:02:07 | FromDiscord | <Robyn [She/Her]> In reply to @Elegantbeef "Hmph owlkettle's design does": Oh? |
03:02:14 | FromDiscord | <Robyn [She/Her]> Idk much about Owlkettle tbh |
03:02:34 | FromDiscord | <Robyn [She/Her]> It's @can.l's project iirc |
03:04:29 | FromDiscord | <Elegantbeef> I know |
03:04:39 | FromDiscord | <Elegantbeef> If i wanted to ping them I would've |
03:05:57 | FromDiscord | <Robyn [She/Her]> Oop |
03:06:05 | FromDiscord | <Robyn [She/Her]> Sorry can.l :P |
04:02:29 | * | SchweinDeBurg joined #nim |
04:23:54 | FromDiscord | <zectbumo> @ElegantBeef , do you have any notes for Mastering Nim? |
04:24:10 | FromDiscord | <zectbumo> (edit) "Nim?" => "Nim 2nd edition?" |
04:24:26 | FromDiscord | <Elegantbeef> I don't have the book |
04:25:23 | FromDiscord | <zectbumo> we may need to crowdfund a book for you |
04:25:26 | FromDiscord | <user2m> how do I create an array or seq of `typedesc`'s? |
04:25:41 | FromDiscord | <Elegantbeef> You don't |
04:25:55 | FromDiscord | <Elegantbeef> Lol zec |
04:27:10 | FromDiscord | <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:11 | FromDiscord | <user2m> In reply to @Elegantbeef "You don't": dang ok |
04:27:17 | FromDiscord | <Robyn [She/Her]> What's your usecase? |
04:27:42 | FromDiscord | <user2m> https://media.discordapp.net/attachments/371759389889003532/1225300738163605604/image.png?ex=6620a13c&is=660e2c3c&hm=37baf180fba794d2027c2132bbf2b382644486bf6dbbb1aeced3c26e9deef29f& |
04:27:50 | FromDiscord | <user2m> not a big deal if not |
04:28:22 | FromDiscord | <Elegantbeef> sent a code paste, see https://play.nim-lang.org/#pasty=nOkeZMIuCwky |
04:28:54 | FromDiscord | <Robyn [She/Her]> It seems like models may be a module to me |
04:29:03 | FromDiscord | <user2m> In reply to @chronos.vitaqua "It seems like models": correct models is the module |
04:29:18 | FromDiscord | <user2m> just for namespace sakes |
04:29:23 | FromDiscord | <Robyn [She/Her]> You could look into `getTypeInfo`? |
04:29:38 | FromDiscord | <Robyn [She/Her]> Though it most definitely isn't exactly what you want |
04:29:40 | FromDiscord | <Elegantbeef> Also `userr`? |
04:29:40 | FromDiscord | <Elegantbeef> Stop using lowecase types |
04:29:45 | FromDiscord | <user2m> eh it's not that big of a deal |
04:29:45 | FromDiscord | <Robyn [She/Her]> (edit) "most definitely" => "probably" |
04:30:03 | FromDiscord | <Robyn [She/Her]> In reply to @Elegantbeef "Also `userr`?": Iirc SQL DBs don't allow 'user' as a field/table name |
04:30:17 | FromDiscord | <Robyn [She/Her]> (edit) "SQL" => "some relational" |
04:30:18 | FromDiscord | <user2m> In reply to @chronos.vitaqua "Iirc some relational DBs": LOL thank you |
04:30:34 | FromDiscord | <Robyn [She/Her]> No worries! I've been looking into this myself recently aha |
04:31:14 | FromDiscord | <user2m> In reply to @Elegantbeef "Stop using lowecase types": it's a personal project so I'm not too worried about naming |
04:31:28 | FromDiscord | <Elegantbeef> Feel like a `type User {.dbName: "NotUser".} = object` is in order |
04:32:00 | FromDiscord | <Elegantbeef> On what?↵(@Robyn [She/Her]) |
04:32:12 | FromDiscord | <Elegantbeef> Modules don't exist at runtime |
04:33:14 | FromDiscord | <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:34 | FromDiscord | <gogolxdong666> sent a code paste, see https://play.nim-lang.org/#pasty=KEhSehVJBOmw |
04:37:54 | FromDiscord | <Elegantbeef> Did you `include` something? |
04:38:13 | FromDiscord | <gogolxdong666> nop |
04:48:53 | * | ntat joined #nim |
04:49:29 | FromDiscord | <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:21 | FromDiscord | <gogolxdong666> any update |
10:17:23 | * | redj quit (Ping timeout: 264 seconds) |
10:24:24 | FromDiscord | <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:53 | FromDiscord | <gogolxdong666> It's been solved by uninstalling stew not but not sure relevant. |
13:42:12 | FromDiscord | <wolajo> Rust has rustaceans, is there a similar term for those interested in nim? |
13:42:47 | FromDiscord | <nnsee> i've heard the word "nimmer" being used |
13:43:24 | FromDiscord | <nnsee> https://media.discordapp.net/attachments/371759389889003532/1225440584769077289/image.png?ex=6621237a&is=660eae7a&hm=299ba04b5bc1b58026441b346b5a826dccabeb8378c490f75e890fad5d275daf& |
13:43:33 | FromDiscord | <nnsee> i guess we're also called [Removed by Moderator - Flame Bait] |
13:43:54 | advesperacit | I like the last one, the others suck |
13:44:16 | FromDiscord | <zumi.dxy> wew |
13:44:26 | FromDiscord | <zumi.dxy> not "nimrods"? :p |
13:48:49 | FromDiscord | <nnsee> someone suggested nincompoop |
13:48:55 | FromDiscord | <nnsee> (edit) "nincompoop" => "nimcompoop" |
13:52:57 | FromDiscord | <nervecenter> sent a code paste, see https://play.nim-lang.org/#pasty=qpWcmFfcINKW |
13:53:17 | FromDiscord | <Robyn [She/Her]> In reply to @wolajo "Rust has rustaceans, is": Nimian is another |
13:56:11 | FromDiscord | <saint.___.> In reply to @chronos.vitaqua "Nimian is another": That sounds good! |
13:57:11 | FromDiscord | <saint.___.> In reply to @nnsee "i've heard the word": Yeah this is best I think |
14:03:31 | FromDiscord | <spoon__> nimian also opens up the door to an animal mascot |
14:05:32 | FromDiscord | <nnsee> In reply to @spoon__ "nimian also opens up": it does? |
14:06:14 | FromDiscord | <spoon__> simian, like monkeys and apes |
14:06:21 | FromDiscord | <nnsee> ah i see |
14:06:48 | FromDiscord | <nirokay> if Nim gets a mascot, it has to be a cat↵as they are the figurative queens of the animal kingdom |
14:07:23 | FromDiscord | <nnsee> ok, cat pfp |
14:07:26 | FromDiscord | <spoon__> well monkeys are clever and playful, so i think they fit too |
14:07:28 | FromDiscord | <nnsee> i'm sure you're totally not biased |
14:08:29 | FromDiscord | <Robyn [She/Her]> In reply to @nirokay "if Nim gets a": Agreed |
14:08:36 | FromDiscord | <Robyn [She/Her]> Cats are clearly superior |
14:10:03 | PMunch | Pfft, honeybadger! |
14:10:18 | FromDiscord | <nnsee> nimian https://media.discordapp.net/attachments/371759389889003532/1225447358951719032/file-RoXdDzD52qLt7Pr1nPQPWf7i.png?ex=662129ca&is=660eb4ca&hm=42a7aae84da8ef5c54b81779312b2dca05836c0e5addfa09c81398ad81a1cdcd& |
14:11:19 | FromDiscord | <nirokay> not even because i like cats↵they are often depicted as entitled and feeling themselves as being above all |
14:11:23 | advesperacit | That's an affront to good taste, so it fits right in with the other dumb language mascots |
14:11:53 | advesperacit | I remember seeing that dumb gopher everywhere when I was writing go, I do not miss it |
14:12:42 | FromDiscord | <nirokay> i never wrote go, but i do like their mascot↵it is silly \:] |
14:12:58 | advesperacit | It should be set on fire |
14:13:27 | FromDiscord | <nirokay> \:( |
14:16:26 | * | PMunch quit (Quit: Leaving) |
14:19:52 | advesperacit | My favorite is perl 6, I still have trouble believing they are serious with that thing |
14:23:40 | * | lucasta joined #nim |
14:30:25 | FromDiscord | <exelotl> Camelia is the best mascot of all time |
15:20:51 | FromDiscord | <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:28 | FromDiscord | <TӨMΛ ☠> Gopher is nice, much more than exporting procs via big letter 😅 |
15:21:44 | FromDiscord | <TӨMΛ ☠> (edit) "big letter" => "capitalising proc's name" |
15:21:52 | FromDiscord | <TӨMΛ ☠> (edit) "proc's" => "their" |
15:41:23 | FromDiscord | <Robyn [She/Her]> In reply to @toma400 "Gopher is nice, much": Go does that? |
15:42:23 | FromDiscord | <odexine> go does export depending on capitalisation |
15:43:00 | FromDiscord | <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:07 | FromDiscord | <odexine> use -> have the concept of |
15:44:39 | FromDiscord | <TӨMΛ ☠> In reply to @chronos.vitaqua "Go does that?": Yep |
15:44:57 | FromDiscord | <TӨMΛ ☠> It's amazing language, but annoying af because of some weird concepts |
15:47:08 | FromDiscord | <Robyn [She/Her]> God I hate that so much |
15:57:35 | FromDiscord | <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:57 | FromDiscord | <4zv4l> Any vlang user here ?↵If yes how do you do to choose between Nim and Vlang for project ? |
16:01:36 | FromDiscord | <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:11 | FromDiscord | <odexine> In reply to @4zv4l "I really like this": i mean `do_this` and `doThis` being the same |
16:02:39 | FromDiscord | <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:47 | FromDiscord | <odexine> insert dodrill's blog posts here |
16:09:23 | FromDiscord | <rakgew> @zadi \: as sql orm I like `norm` quite a bit. |
16:13:23 | FromDiscord | <zadi> Oh that actually looks exactly like what i was after, but hmm, it doesn't seem to support MySQL? |
16:28:47 | FromDiscord | <saint.___.> In reply to @zadi "Oh that actually looks": https://github.com/treeform/debby |
16:28:51 | FromDiscord | <saint.___.> This one supports mysql |
16:28:58 | FromDiscord | <saint.___.> treeform is a great nim dev too |
16:29:40 | FromDiscord | <zadi> Thanks! I'll have a look. |
16:30:09 | FromDiscord | <saint.___.> 🫡 |
16:50:16 | * | lucasta quit (Remote host closed the connection) |
16:58:58 | * | SchweinDeBurg quit (Quit: WeeChat 4.3.0-dev) |
17:29:00 | FromDiscord | <rakgew> is there a nim lib for reading jpg exif data? |
17:41:27 | Amun-Ra | don't think so |
17:41:34 | Amun-Ra | nothing in nimble |
17:46:07 | FromDiscord | <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:39 | FromDiscord | <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:03 | Amun-Ra | could 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:15 | FromDiscord | <Robyn [She/Her]> rakgew is this what you want? https://formats.kaitai.io/exif/nim.html |
18:48:37 | FromDiscord | <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:34 | FromDiscord | <rakgew> wohoo noice, that is indeed exactly it! thank you so much @Robyn [She/Her] ! |
19:08:46 | FromDiscord | <rakgew> ..huh, but where does this `import kaitai_struct_nim_runtime` come from?↵time for some reading I guess.. (-; |
19:10:48 | FromDiscord | <rakgew> very neat, that this katai thing serves so many languages. |
19:42:44 | FromDiscord | <Robyn [She/Her]> In reply to @rakgew "wohoo noice, that is": No worries! |
19:42:56 | FromDiscord | <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:36 | FromDiscord | <nnsee> I use katai when reverse engineering proprietary file formats |
20:10:41 | FromDiscord | <nnsee> it's pretty neat |
20:13:57 | FromDiscord | <Robyn [She/Her]> Damn, what formats for example? I'm curious heh |
20:16:04 | FromDiscord | <.bobbbob> how would I provide a code example in docs that ISNT tested when the html is generated |
20:16:14 | FromDiscord | <.bobbbob> ie not with runnableExamples |
20:19:36 | FromDiscord | <nnsee> sent a long message, see https://pasty.ee/uQXpNwxTsCss |
20:21:44 | FromDiscord | <nnsee> it used multicast, which I found interesting as well |
20:22:03 | FromDiscord | <nnsee> meaning you can flash many routers at the same time, assuming they're on the same network |
20:22:05 | FromDiscord | <Robyn [She/Her]> Oh bloody hell- Was it a ton of trial and error then to actually figure out? |
20:22:11 | FromDiscord | <Robyn [She/Her]> Sounds super tedious |
20:22:41 | FromDiscord | <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:52 | FromDiscord | <nnsee> In reply to @chronos.vitaqua "Sounds super tedious": i find reverse engineering quite fun actually |
20:22:59 | FromDiscord | <nnsee> it's kind of like a puzzle |
20:23:16 | FromDiscord | <nnsee> where first you have to find the right pieces and then figure out how they fit together |
20:23:48 | FromDiscord | <nnsee> and often in my case, whether those pieces maybe fit together incorrectly and there's a vulnerability ;) |
20:24:28 | FromDiscord | <nnsee> there's something deeply satisfying about having totally documented something that was a total black box before |
20:25:05 | FromDiscord | <Robyn [She/Her]> In reply to @nnsee "somewhat, but it was": Yikes |
20:25:42 | FromDiscord | <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:53 | FromDiscord | <Robyn [She/Her]> ...if I were a man of course |
20:26:45 | FromDiscord | <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:08 | FromDiscord | <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:53 | FromDiscord | <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:32 | FromDiscord | <Robyn [She/Her]> sent a code paste, see https://play.nim-lang.org/#pasty=SWwEQJrzsAvF |
21:18:38 | FromDiscord | <Robyn [She/Her]> The file is compiled but not tested |
21:24:24 | FromDiscord | <odexine> you could alternatively add a code block to the doc comments so you dont do either |
21:27:39 | FromDiscord | <Robyn [She/Her]> ^^ |
21:58:22 | FromDiscord | <.bobbbob> In reply to @chronos.vitaqua "https://nim-lang.org/docs/system.html#runnableExamp": thx |
21:58:23 | FromDiscord | <.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:25 | FromDiscord | <.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) |