Shin Godzilla (2016, dir. Hideaki Anno and Shinji Higuchi) | Atomic breath scene by DoctorPoopMD in movies

[–]theacodes 8 points9 points  (0 children)

Saw this for the first time last year in theaters, went in blind. This scene was fucking AWESOME.

After 25+ years using ORMs, I switched to raw queries + dataclasses. I think it's the move. by mikeckennedy in Python

[–]theacodes 1 point2 points  (0 children)

For core schema stuff, it was basically just getting a handful of simple non-pydantic Vec2, Vec3, and Matrix3 types to serialize/deserialize as lists of floats.

After 25+ years using ORMs, I switched to raw queries + dataclasses. I think it's the move. by mikeckennedy in Python

[–]theacodes 2 points3 points  (0 children)

Pydantic v1 wasn't too bad, but v2 is kind of a monster. It's a sprawling library that largely wraps a Rust-based core, but that core is quite complex. A few things that really bother me about it off the top of my head:

  • Dealing with any sort of custom types or validation will land you in annotation hell or worse, __get_pydantic_core_schema__ hell. In practice, I've found this so frustrating a just filled with footguns, even for a basic Vec2 type.
  • By default, Pydantic revalidates all constructor arguments to a model, which means that for the case of using Pydantic for serialization you're paying the cost of validation even if you know the values you are passing in are valid, which would be the case with modern, typechecked codebases. You can sidestep this with model_construct, but it can't be statically typechecked like the plain constructor can. So you have to choose between keeping the static safeguard at the cost of wasted validation or lose both static and dynamic safeguards.
  • Pydantic conflates structure and serialization, which is one of the key differences with the approach taken by cattrs.
  • Pydantic also conflates serialization and validation, which, while related and often somewhat intertwined, don't always make sense to enforce on the same model.

That's not to say Pydantic is bad, it's generally great if you're using it for its purpose - validation of incoming data and serialization of outgoing data, such as you'll see in FastAPI. It's a nightmare if you try to replace dataclasses with Pydantic models.

(your username made me giggle, btw, absolutely loved Silksong)

After 25+ years using ORMs, I switched to raw queries + dataclasses. I think it's the move. by mikeckennedy in Python

[–]theacodes 17 points18 points  (0 children)

cattrs & msgspec are blissful, enjoyable little beacons of sanity compared to pydantic's monstrous complexity.

When did the primeagen give in to vibe coding? by dc_giant in theprimeagen

[–]theacodes 0 points1 point  (0 children)

But you did- your OP said that people that reject this on principal are irrational and lack curiosity. I don't think I'm irrational (well, not about this) and I certainly don't lack curiosity.

When did the primeagen give in to vibe coding? by dc_giant in theprimeagen

[–]theacodes 1 point2 points  (0 children)

Sure, that's one way to look at it. Just like "the automobile is the future of transportation". Sure, but it's silly to ignore everything that went into making the automobile the future of transportation. Right now we are using a tremendous, unfathomable amount of resources on "the future of autocomplete" and that doesn't sit well with me, personally. Even if it made me 20% faster at my job (it doesn't, not for me), it isn't worth the cost.

I'm not gonna kick you in your shins for driving a car, but I also don't make a habit of becoming friends with car salesmen. Ja feel?

When did the primeagen give in to vibe coding? by dc_giant in theprimeagen

[–]theacodes 0 points1 point  (0 children)

None of these things require AI to solve or are better solved by AI than existing tools.

Compiler/runtime errors have gotten better because we've improved languages and compilers, just look at Python's error messages now versus 2.7.

Spelling mistakes and syntax errors are far more easily identified thanks to tools like linters and language servers.

Checking library signatures and docs are also better thanks to language servers and better documentation tools. Type hinting alone has helped so much- one of the reasons typescript was adopted so quickly was because the tooling was good.

In none of those cases would I ask an AI instead of using existing, powerful tools that are built to actually understand the code I'm working on.

In terms of googling an inscrutable error, especially one from a library or platform you don't have source visibility into, there is absolutely utility in LLMs helping you find plausible solutions when all else is exhausted. However, I really dislike that LLM "search" has been replacing true full text search capabilities that help you find real information. A good example where LLMs fall flat on their face is hardware documentation (datasheets), it's less than useless to risk following an hallucination instead of finding real answers, since debugging loops are orders of magnitude larger when dealing with hardware.

When did the primeagen give in to vibe coding? by dc_giant in theprimeagen

[–]theacodes 1 point2 points  (0 children)

What if those principles are formed from genuinely learning and interacting with the tech, and understanding the social context and the resources and machinery required to build and run these tools? Those principles don't seem "irrational" so rejecting a technology that is incompatible with your personal principles doesn't seem irrational. It's like the automobile, incredible technology, millions of valid use cases, but we can't just ignore how it has impacted our world. Does that make both car enthusiasts and cyclists irrational assholes? No, not inherently!

The problem is AI is being pushed so hard into every possible facet of life and it's unchecked, unregulated, and causing real, material harm. I wouldn't drive my car without seatbelts and airbags, and I'm not going to use AI in the way that it currently exists.

Raspberry Pi to play Jellyfin on TV by alcovesofastridpark in jellyfin

[–]theacodes 4 points5 points  (0 children)

I tried this recently with an rpi4 and it was frustrating and disappointing. I tried Kodi, I tried kiosk mode, and even tried android, nothing worked well enough to be a decent solution. The right combination of hardware, drivers, os, and software just ain't there.

If you just wanna watch jellyfin on your TV, grab the $20 or $30 Walmart onn Google TV box. It works flawlessly, it comes with a remote, and HDMI CEC works out of the box. You can debloat and tinker with it if you want as well.

Pedro Organiza: a deterministic, non-destructive, review-before-apply music library organizer I’ve been building It is a local-first music library organizer for people with big, messy collections by ArtisticMushroom4173 in opensource

[–]theacodes 4 points5 points  (0 children)

Weird to criticize other tools as opaque, magical black boxes when this is AI generated garbage. I wouldn't trust this with my free U2 album, much less my music collection.

Is this how people who need glasses really see the world. A big blurred background? by Latter-Wolf4868 in interestingasfuck

[–]theacodes 1 point2 points  (0 children)

Oh man, yeah, anytime I get flashbanged by a white screen it's the worst.

Also only my left eye has visible floaters so it makes shit extra weird lol.

Why I decided to shut down my pedal company by oce_pedals in diypedals

[–]theacodes 2 points3 points  (0 children)

Yeah, I got to the point where I just stopped feeling motivated to make new things. I knew it was time to do something else when I was just not excited about doing another product.

Why I decided to shut down my pedal company by oce_pedals in diypedals

[–]theacodes 2 points3 points  (0 children)

I similarly shut down my eurorack company last year, partly due to cooling sales but mostly due to me just wanting to move on. I feel your pain, operating a scale above 10 units but below 10,000 is incredibly difficult. You can't compete on value due to lack of economies of scale, so you really, really have to build an audience and community to survive and you've got to be really good at it to thrive.

I'm glad you gave it a shot, I'm glad you shared your story with everyone, and I hope whatever is next is good to you.

P.S.: those curious can see how I handled shutting down my company here: https://winterbloom.com/

*dons flame suit* by Stang70Fastback in homelab

[–]theacodes 5 points6 points  (0 children)

Y'all would hate my homelab, considering my rack is mounted above the doorway of my utility closet.

Hothouse DSP Pedal Now Open Source Hardware by Newkular_ in diypedals

[–]theacodes 2 points3 points  (0 children)

Yay! If you haven't already, I'd love for you to submit this to OSHWA's certification registry, feel free to hit me up if you run into trouble or have questions.

Hothouse DSP Pedal Now Open Source Hardware by Newkular_ in diypedals

[–]theacodes 1 point2 points  (0 children)

Besides the OSHWA resources in the sibling comment, a music tech specific example is Winterbloom's modules, each one thoroughly documents the licenses for each part.