|
I handed over a project to a client recently along with a bunch of “here’s some common problems and here’s how we diagnose issues” pointing out everywhere that everything useful is logged or alerted. they got in touch with us a few weeks ago for some help debugging a live incident, and I asked them to show me what they’ve found so far by following the documented process, and just got blank stares in response. cool cool ty.
|
# ? Dec 1, 2024 16:10 |
|
|
# ? Jan 25, 2025 15:56 |
|
"client" "them doing things" smh smh
|
# ? Dec 1, 2024 16:11 |
|
Ihmemies posted:Is there an advent of code thread this year or a need for one? I am afraid to make threads myself i'd post in it
|
# ? Dec 1, 2024 16:11 |
|
polyester concept posted:i'm the dev that just skims past all your hard work and then sends u a DM asking how it works Don't lie. You are in a timezone +8h from me and your message is, in full: polyester concept posted:Hi
|
# ? Dec 1, 2024 16:47 |
|
since there's no aoc thread I'll just have to post this here. i got real nostalgic about haskell since i haven't done any in yearscode:
|
# ? Dec 1, 2024 17:04 |
|
gonadic io posted:
|
# ? Dec 1, 2024 17:22 |
|
I started this years aoc with python and pandas because I've never finished one before and want to actually get through it all this year and thought that would be the easiest
|
# ? Dec 1, 2024 19:21 |
|
I've never finished aoc because I feel like it tends to get pretty repetitive and boring after ~2 weeks It's still enjoyable to start especially if you are doing it in a new language that you want to learn or something like that
|
# ? Dec 1, 2024 19:30 |
|
I always give up because I seem to spend more time writing code to parse the input than working on the puzzle
|
# ? Dec 1, 2024 19:52 |
|
A hero actually made a thread for this years aoc https://forums.somethingawful.com/showthread.php?threadid=4076611
|
# ? Dec 1, 2024 19:56 |
|
that's part of why im just using pandas
|
# ? Dec 1, 2024 19:56 |
|
mystes posted:I've never finished aoc because I feel like it tends to get pretty repetitive and boring after ~2 weeks
|
# ? Dec 1, 2024 19:58 |
|
toiletbrush posted:I always give up because I seem to spend more time writing code to parse the input than working on the puzzle
|
# ? Dec 1, 2024 20:01 |
|
Sapozhnik posted:Needless to say, the absolute last thing anybody in this position wants to see is ninja robot zombie pirate monkeycheese bacon humor. A snarky corporate-friendly dig at some lovely third-party tool can be a nice touch to lighten the mood if used sparingly. i eschew the humor entirely in docs i write these days and try to achieve a brevity that makes sparing use of multi-sentence paragraphs even. when i was younger i'd try to use humor to make the docs less boring but i now think there's nothing more boring than docs that are a single word longer than they need to be
|
# ? Dec 1, 2024 20:04 |
|
wait, what's advent of code? can I still post unrelated awful code, or would that be disruptive?
|
# ? Dec 1, 2024 20:07 |
|
ryanrs posted:wait, what's advent of code? quote:can I still post unrelated awful code, or would that be disruptive?
|
# ? Dec 1, 2024 20:09 |
|
yes there's a dedicated thread now. It's just some annual puzzle thing. it's like work but you don't get paid ive never finished sooner or later it gets too tedious, plus I generally "cheat" and manually convert the text input into hard coded data structures with regex
|
# ? Dec 1, 2024 20:09 |
|
AoC is really good for interview prep for actually good interviews. unfortunately actually good interviews are about 3% of all coding interviews
|
# ? Dec 1, 2024 20:11 |
|
I wrote a Python script to turn my Lua code into C code. (lol that sounds more impressive than it actually is)
|
# ? Dec 1, 2024 20:14 |
|
code:
|
# ? Dec 1, 2024 20:15 |
|
The microcontroller doesn't have a file system, and I want it to be fully autonomous. This shoves my Lua files into flash as char arrays. It's awful...ly effective.
|
# ? Dec 1, 2024 20:16 |
|
Or maybe just awful? This board has an extra 2 MB external flash chip. Maybe I should just put a real filesystem on it?
|
# ? Dec 1, 2024 20:32 |
|
no #embed?
|
# ? Dec 1, 2024 20:58 |
|
there’s a fat(16? 32? don’t recall) impl that fits in approximately nothing at all (I think I used it on the notoriously incapable msp430)
|
# ? Dec 1, 2024 22:04 |
|
look out zfs, fat128 gonna take over this time it's not just talk; doing a defrag really will boil the oceans
|
# ? Dec 1, 2024 23:33 |
|
don't forget the abs!
|
# ? Dec 2, 2024 00:03 |
|
ryanrs posted:wait, what's advent of code? can I still post unrelated awful code, or would that be disruptive? it's recreational leetcode, I think
|
# ? Dec 2, 2024 01:17 |
|
Sapozhnik posted:Basically assume that whoever is reading is currently on a bridge for a P1 outage and various execs are breathing down their neck. Needless to say, the absolute last thing anybody in this position wants to see is ninja robot zombie pirate monkeycheese bacon humor. this is exactly why "oopsy-woopsy we did a little fucky-wucky" error messages suck so much. "you just lost 4 hours of work, isn't that wacky, lol!"
|
# ? Dec 2, 2024 09:26 |
|
ryanrs posted:this time it's not just talk; doing a defrag really will boil the oceans Ah, adding "AI" to file systems? e: There is beauty in the horrors I find on the Internet during my lunch break sometimes. Antigravitas fucked around with this message at 11:22 on Dec 2, 2024 |
# ? Dec 2, 2024 09:37 |
|
Antigravitas posted:Ah, adding "AI" to file systems? Aaagaaagg
|
# ? Dec 2, 2024 18:54 |
|
how do I try this without an $ANTHROPIC_API_KEY? someone paste the output
|
# ? Dec 2, 2024 19:26 |
|
says to do a curl pipe, which is also lol
|
# ? Dec 2, 2024 19:33 |
|
it's like they're not even trying to keep the AI from escaping
|
# ? Dec 2, 2024 21:14 |
|
needs to tell the ai to wrap the body in a function in a curl-pipe safe manner
|
# ? Dec 2, 2024 21:54 |
|
ryanrs posted:Oh wow, I think I figured it out! AES CCM uses ECB encrypt, but not ECB decrypt (not even during CCM decryption). Yes, the modes of AES you should be using in 2024 (CTR, CCM, GCM, etc.) only require block encryption, not decryption.
|
# ? Dec 3, 2024 21:00 |
|
Doesn't AES verification require decryption, which then would be happier with acceleration?
|
# ? Dec 3, 2024 22:16 |
|
Which immediately suggests the following scheme: - Encrypt using slow software AES ECB decryption. - Decrypt, using the fast hardware AES ECB encryption. Yeah, that's right: I'm flipping the AES primitives around, using AES ECB decrypt to produce cipher text, and AES ECB encrypt to decrypt it. I think this is ok for AES, and maybe for all secure block ciphers? What's the name of this property so I can google it? Running AES backwards suits my application because it is very decrypt-heavy (since it doesn't know who sent the packet before decrypting it, so many trial decryptions that fail). e: MrMoo posted:Doesn't AES verification require decryption, which then would be happier with acceleration? No, AES CCM uses CTR mode for encryption (so just XOR again to decrypt). For authentication, it uses CBC-MAC, which uses AES encrypt only. You don't have to do AES decrypt to verify the mac. ryanrs fucked around with this message at 22:20 on Dec 3, 2024 |
# ? Dec 3, 2024 22:17 |
|
But that's just for short update packets (sensor updates, basically). Network management packets are properly encrypted with ChaCha20(key[32], nonce[24], mac[16]). The nonces and AES session keys are also generated by ChaCha20, seeded with data from the SoC's hwrng.
|
# ? Dec 3, 2024 22:39 |
|
what radio bands are we doing here
|
# ? Dec 3, 2024 22:44 |
|
|
# ? Jan 25, 2025 15:56 |
|
The unlicensed jungle of 915 MHz ISM! Though I also have a bunch of pin-compatible radio modules for 70cm. The SX1276 can ID in morse code if you switch it to FSK modulation.
|
# ? Dec 3, 2024 23:47 |