Readit News logoReadit News
r9295 commented on Keep Pydantic out of your Domain Layer   coderik.nl/posts/keep-pyd... · Posted by u/erikvdven
lysecret · a month ago
The core thesis is that your types received by the api should not be the same as the types you process internally. I can see a situation where this makes sense and a situation where this senselessly duplicates everything. The blog post shows how to do it but never really dives into why/when.
r9295 · a month ago
Personally, I think that's a good idea. Design patterns naturally make sense (Visitor, Builder for e.g) once you encounter such a situation in your codebase. It almost makes complete sense then. Otherwise IMHO, it's just premature abstraction
r9295 commented on Mapbox Geospatial MCP Server   github.com/mapbox/mcp-ser... · Posted by u/tmcw
atonse · 3 months ago
I've been hoping for Mapbox or ESRI to come out with something robust for this!

This is going to be especially useful in vacation planning. :-)

We're already using ChatGPT and other tools to help plan a vacation overseas, but having good mapping data can help an agent figure out things like "does it make sense to go from A to B by car or train?"

With the right metadata, an agent can churn not only on the actual route planning (for a multi-city itinerary), but also things like "near this AirB&B, there are 5 public parking lots, so it'll be easy to park your car, if you do rent one"

I'm excited for this sort of spatial data to help with things like travel planning, or even "sprinkle these 5 errands into my calendar based on where you know i'll be"

r9295 · 3 months ago
Honest question: what's the fun in travel if you remove all uncertainty?
r9295 commented on AI Changes Everything   lucumr.pocoo.org/2025/6/4... · Posted by u/tosh
r9295 · 3 months ago
How is one supposed to context switch between reading a book and rigorously understanding and verifying potentially hundreds of lines of code generated by an AI?
r9295 commented on Show HN: Autarkie – Instant grammar fuzzing using Rust macros   github.com/R9295/autarkie... · Posted by u/r9295
vrm · 4 months ago
would it be possible to fuzz an arbitrary JSON schema with this? I’ve been looking for such a lib for a while now
r9295 · 4 months ago
If you can translate the schema into native rust types, then yes!

https://github.com/oxidecomputer/typify may help for starters. Please create an issue if you need further help with integration!

r9295 commented on Show HN: Autarkie – Instant grammar fuzzing using Rust macros   github.com/R9295/autarkie... · Posted by u/r9295
mmastrac · 4 months ago
This is awesome. I've been working on a project to make the PostgreSQL/EdgeDB/Gel protocols declarative in Rust (see https://github.com/geldata/gel-rust/blob/master/gel-pg-proto... for an example) and my approach to fuzzing has been somewhat arbitrary (you can see at the bottom).

I've used AFL but never managed to create a consistent fuzzing process using it.

This _should_ allow me to add some more extensive fuzz tests than I've currently been using, even though the grammar is binary since we're really just "parsing" and "rendering" text that happens to be [u8] rather than str.

I don't think there's been any real discussion of the Postgres message format philosophy, but it's a very regular syntax: messages are composed of primitives and lists. Lists are either length-prefixed or zero-suffixed. Everything else is just a combination of these building blocks.

r9295 · 4 months ago
Glad to hear this! Please create an issue if you run into any issues during the integration.
r9295 commented on New speculative attacks on Apple CPUs   predictors.fail/... · Posted by u/cylo
tptacek · 7 months ago
Aside: I feel like RUB has become kind of a global center for this kind of high-end offensive security work. Was I just not paying enough attention 10 years ago or is this a new-ish thing?
r9295 · 7 months ago
They've also consistently put out some of the best fuzzing research
r9295 commented on Facebook and Instagram to Unleash AI-Generated 'Users' No One Asked For   rollingstone.com/culture/... · Posted by u/emptybits
CatWChainsaw · 8 months ago
What I want to know is why/how they looked at this inevitability and leaned 150% into it. How does this make them money?
r9295 · 8 months ago
I'm assuming it's similar to Spotify using session musicians to create ghost artists. Instagram won't need to pay actual creators since they own all the content created by these AI generated will be owned by them

u/r9295

KarmaCake day300April 1, 2021
About
Primarily into cybersecurity especially fuzzing and supply chain.

contact: hackernews {at} ruebezahl {dot} mozmail {dot} com

View Original