HNHacker News
TopNewBestAskShowJobs

dwrodri

1,021 karma · joined October 3, 2018

I like computer architecture, machine learning, making music, and low level stuff. Website: https://derekrodriguez.dev
submissionscomments
dwrodri··on Typst makes big strides
As someone who used LaTeX heavily in grad school, using Typst in VSCode to create bespoke invites to an event was quite nice! Would highly recommend giving it a spin.
dwrodri··on OpenArch – PyTorch implementations of modern LLM architectures
This reminded me of lucidrains, perhaps one of the most prolific PyTorch users and paper implementers on the Internet. His implementations were crucial references to my own ability to boostrap my paper-implementing skills. Looks like he is still around and doing really awesome stuff. https://github.com/lucidrains
dwrodri··on Use Vsock with Libzmq
I could see this being really useful for people who need VM-Sandboxed software, but also need quick and dirty bridges between host/guest. Great contribution!
dwrodri··on iPhone Duo
Canonical was simply 14 years too early, but we are rapidly apporaching this vision: https://arstechnica.com/gadgets/2012/02/ubuntu-for-android-c...
dwrodri··on Apple reveals 'shocking evidence' from ex-employee's MacBook in OpenAI suit
question to clarify:

If the LLM designs the circuit, it is clear "contamination" if the tool calls which wrote the RTL / Verilog are also in the same context window as the specification design.

If a windows DLL, distributed without a license that says anything regarding, is it a "clean room implementation" if there is some nonzero chance the source code was leaked into the weights at pre-train time? I guess there should be some sort of method for subpoenaing frontier labs to ask "can you grep for this code in the training set for this model", but that might not be practical or feasible.

dwrodri··on The AI-Native SDLC Playbook
was about to hop into the thread to make a jeer about the highly compensated engineering team at Anthropic apparently not testing their website on iPhone screens.
dwrodri··on Anti-AI fonts are useless and harmful
Accessibility is important, and I find that "Reader Mode" in most browsers is quite good. Everyone should have access to the tools to consume content. Did your browser not provide that functionality?
dwrodri··on FFmpeg 9.0
When I was a vision engineer at a previous role back in 2022-ish, laptop-class Intel chips used in their SFF NUCs were powerful enough to run small finetuned convolutional nets by dancing across the different on the package: first decode using QSV, and then downsize using the CPU, run the images through an OpenVINO model running on the iGPU, and aggregate results and append metadata using the CPU core. You could have 50% of the hardware in today's high-end security cameras for 10% of the cost.

I have to assume that hardware advancements in the past four years have only pushed the efficiency envelope further.

dwrodri··on Thoughts on Typing – Guido Van Rossum (PyCon 2026) [video]
My deepest conflict with Python as someone who works with it professionally is balancing "keep it simple and clean" with an acknowledgement that reality is often is complex and messy.

Synchronous, mostly functional python scripts written with the standard library and perhaps a few dependencies generally feel like the best the language has to offer, and they frequently make great prototypes (and I have put a few in production).

But I have also dealt with a lot of important stuff that felt like the wrong tool for the job:

- Airflow tasks, and durable workflows as a whole on top of a database

- async stuff, and generally the fact that you need `aiofile` to interact with the filesystem asynchronously

- "Productionized" stuff around NumPy and DataFrame APIs. I think there are genuinely fascinating uses for this stuff and its still great! JAX stood out as the the API that truly "clicked" for achieving "simplicity" despite the difficult challenges that it solves.

Typing woes appear the most when I am handed a prototype to productionize. Good static analysis of types carries you so far, it makes me frequently wonder if something even more aggressive than what TypeScript does would have been ideal. There is a great scripting language trapped underneath a mountain of adjustments that have been made to Python so it can "be used for writing large scalable software systems" and it makes me question whether that ever should have been the point of Python in the first place.

P.S. INB4 Stroustrup quote about languages people complain about vs ones they don't use and all that. You can tell Go was designed for very specific use cases and hasn't catered too much to use cases outside of that.

dwrodri··on LAPD lets contract with surveillance giant Flock expire
Something of consideration: Flock cameras were installed after discussions across the HOA and local police department, after a multiple crimes happened in an area. So long as a discussion about the lifetime of the cameras is raised eventually, this sounds like a measured and reasonable use of surveillance.

There is still something to be said about the lack of alignment between Flock the company and the HOA as to how that data is used, but the compromise was explicit, and there was at least some coordination within the community. At the heart of the issue with automatic surveillance is the lack of accountability over those who retain the data and the lack of consent of those surveilled, and measures were taken to address one of those two within your community.

dwrodri··on Rive, Fast and reliable background jobs in Go
I was asking around a while ago about better single-node solutions to "durable workflows" than Airflow before I was familiar with the terminology. Admittedly, Go + durable workflows in the cloud feels like the perfect marriage. Seeing the gated features makes me hesitant, unfortunately, but definitely considering this!
dwrodri··on Noam Shazeer Joins OpenAI
Google has muddied the waters on their Gemini usage statistics as it now powers a big chunk of Search. Depending on how you cut it, Gemini (and Gemini powered products) are probably producing the most output tokens seen by the most human eyeballs by a large margin.

Google at its core is not a dev tools company and it has become evident that is where the money is given the verifiable nature of software. Hixie's reflections on his tenure at Google still ring in my head to this day, though I have never worked there[1].

The people at the helm of Google no longer see the company's identity as something which must be channeled through a product or an experience. Some will point to the DoubleClick acquisition, others will point to Google Reader, or Pichai's ascension. Despite his very short tenure, MBA/McKinsey-brain is a very real phenomenon and it's no mistake that it shaped the "promotion packaged as a product launch" culture that steered Google away from seriously betting on anything that wasn't ads. To quote the signull tweet linked elsewhere in this thread, you can have everything at Google, except for permission.

Most importantly--I don't think there's a single tech product where I can point and say "Google wouldn't do that". You can contrast this with say, other Alphabet companies which don't suffer from this remotely as much. It is VERY clear what Waymo and YouTube are trying to accomplish, and while it frequently makes a ton sense for the companies to share infrastructure and product knowledge, YouTube does an exceptional job on the product side of making it very clear what they would and wouldn't do. They have experimented and shut down experimental features before (is their MOOC functionality still around?), but since it's fairly clear Google specifically is no longer working in service to the mission of providing the world's best digital portal for accessing information, I think it would behoove of them to figure out what their mission is.

1: https://ln.hixie.ch/?start=1700627373&count=1

dwrodri··on "Parse, don't validate" through the years with C++
I like the linking of "construction of a type is evidence of correctness"!
dwrodri··on "Parse, don't validate" through the years with C++
Author here:

A lot of my professional C++ experience comes from the computer vision space where I am specifically linking against FFmpeg (libav does its own share of memory management tricks that don't always play well with RAII).

I think of static functions (even within member classes) as a signifier of "hey, you don't need a constructed object for this to work and it doesn't depend on class instance state".

In application code, I was typically relying on Myers Singletons and the implicit thread-safeness more than what you see here. I debated dropping the static keyword because it stands out as odd especially in a private class method, but settled on keeping it.

dwrodri··on "Parse, don't validate" through the years with C++
A very specific shortcoming of this implementation is indeed "Day of Month" and "Month of Year" aren't given their own types! The type specification should likely be applied all the way down! I felt the examples conveyed the point well enough and it was shorter in many cases.
dwrodri··on "Parse, don't validate" through the years with C++
Author here. The post didn't get much traffic when I uploaded so I didn't engage much with the thread. Looks like I should've come back!

I specifically wrote that by hand to note the specific shortcomings of this approach when evaluated under King's thesis. I do acknowledge that I use LLM models heavily when drafting the code snippets in this blog post, and I do a mini review in the conclusion of the downsides of using these models.

dwrodri··on A Theory of Deep Learning
Admittedly probably some aggrandized boasting here, but I think empirical verification of that Adam modification alone would be a meaningful contribution, unless that's prior work?
dwrodri··on Valve releases Steam Controller CAD files under Creative Commons license
I wish computer mice did this.

I know multiple people whom are quite attached to 10+ year old mice that haven't been manufactured for quite some time, and would like to keep the familiar shape and design.

dwrodri··on Why I love FreeBSD
Serious FreeBSD question: I like a lot of what FreeBSD promises, but have been hesitant to make the leap for my home server as I enjoy hosting game servers via steamcmd. I know FreeBSD has Linux binary compatibility, but I am unsure how this would play out for all of my hosting needs. Also, I have some old Nvidia GPUs in this machine, which I might get rid of as they are no longer supported by the latest releases of ML packages, but I also might keep them around for self-teaching CUDA.

How do FreeBSD users get around the inconveniences associated with the "the rest of the world" running on Linux?

dwrodri··on Magic: The Gathering is full of interesting ML challenges
Author here, welcoming feedback and ideas for how you'd approach challenges such as these. There was a long road of operational tasks to get to a "quick" iteration loop in my debug UI, that I'll be ready to share that story once my new ranker is outperforming my old one. As of right now, the entire data + ranking operation runs on an few-years-old gaming PC with 24GB of ram and 12 cores.

The NMF model was fairly simple to get off the ground, thanks to the maturity of the deployment ecosystem surrounding it. Getting the Set Transformer to beat it in my internal benchmarks has been a journey, hopefully I'll share later this year!

dwrodri··on Ask HN: Share your personal website
I only write about once a year, but in 2025, I started getting serious about using LLMs to make headway on some of my larger side projects, and the results are getting promising. Link here: https://derekrodriguez.dev/magic-the-gathering-is-full-of-in...
dwrodri··on OBS Studio 32.1.0 Beta 1 available
I would love to host an ultra high quality stream on my own web server, and then have that exact stream piped to YouTube live via OBS. Is there an easy way to do that now?

YouTube likely won't support streaming 3440x1440 60FPS video, and while discord technically supports it, they usually compress the footage fairly aggressively once it's sent up to the client, so I'd like to host my own; it only needs to support a few people. I wouldn't mind hosting it so my friends and side project partners can watch me code and play games in high quality.

dwrodri··on AI will make formal verification go mainstream
I think if AI can help us modernize the current state of hardware verification, I think that would be an enormous boon to the tech industry.

Server class CPUs and GPUs are littered with side channels which are very difficult to “close”, even in hardened cloud VMs.

We haven’t verified “frontier performance” hardware down to the logic gate in quite some time. Prof. Margaret Martinosi’s lab and her students have spent quite some time on this challenge, and i am excited to see better, safer memory models oyt in the wild.

A lot of the same big ideas used in hardware are making their way into the software later too, see https://faultlore.com/blah/tower-of-weakenings/

dwrodri··on Ask HN: What Are You Working On? (December 2025)
I am in the final testing stages for a bespoke recommender system to facilitate construction of EDH Decks.

The vibes are off at the moment, but goal is to do a show HN and a little PR a little closer to the holidays: https://mtg.derekrodriguez.dev/

dwrodri··on Launch HN: Mosaic (YC W25) – Agentic Video Editing
Have y'all talked with Max and the Ozone team? Suppose you would have lots to learn from them as you take on this space. Best of luck, video is hard!
dwrodri··on Men who mean just what they say
When I was in my 20s, I hit a point where I started looking back on my high school years and realized there were a small handful of teachers who had a very large influence on what I use as my "compass" for guiding me towards being the person I wanted to become as an adult.

One commonality among all of those teachers is that decade(s) later, it seems that they are mostly the same person, beliefs-wise and character-wise. It appeared that they had hit a point in their life where they "figured it out", and anchored themselves on that point. I put the phrase in quotes, because as an adult, I know the statement is superficial now, but that it certainly how it seemed when I was younger.

Circling back to the post: in my own lived experience, "Men who mean what they say" became that way not necessarily through the sole virtue of honesty, but by guiding themselves using the same set of virtues (honesty included) for large portions of their life. It was very easy to understand what mattered to them and what they believed in, and as an adult at the end of my 20s, it is clear to me that should I want to become the person my younger self aspired to be, following in my teachers' example means making an increasing percent of my actions reflect the virtues that matter the most to me.

But it is a learned process, not one necessarily passed down through merely being a person who has learned that lying is bad. By learning to practice actions which reflect your virtues, you also learn how to avoid shallower "means-justify-the-ends" behavior (e.g. is it more important to NEVER tell a lie, even if speaking only in facts you know to be true creates more harm?)

dwrodri··on Ask HN: What are you working on? (September 2025)
trying to build a webapp where i apply some recommender systems knowledge to TCG deckbuilding. MtG in particular is suffering from product fatigue and as someone who is both an MLE and a casual MtG player, it has been a fun challenge to apply my skills to a domain of interest
dwrodri··on Reflecting JSON into C++ Objects
> Imagine shipping GCC at runtime

The security engineer in me had a facial twitch, but for the right usecases this would be indeed be interesting!

dwrodri··on Solving LinkedIn Queens with SMT
Formal methods = “this software cannot do things it shouldn’t do”, I have formally proven it ALWAYS EXECUTES THE WAY I CONSTRAINED IT TO.

Contrast with

Testing = “My tests prove these inputs definitely produce these test outputs”

IME Formal methods struggle making contact with reality because you really only get their promise “it always does what it is constrained to do” when every abstraction underneath provides the same guarantee, I wager most CPUs/GPUs aren’t verified down to the gate level these days.

It’s just faster to “trust” tests with most of the benefit, and developing software faster is very important to capturing a market and accruing revenue if you are building your software for business reasons.

EDIT: My gate-level verification remark is a bit extreme, but it applies to higher layers of the stack. The linux kernel isn’t verified. Drivers are sometimes verified, but not often. There is an HN comment somewhere about building a filesystem in Coq, and while the operations at the filesystem layer are provably correct, the kernel interfaces still fail. The firmware still isn’t proven. The CPU itself running on has undisclosed optimizations in its caches and load/store mechanisms which just aren’t proven, but enabled it to beat the competition on benchmarks, driving sales.

dwrodri··on Vertical farming company Plenty files for bankruptcy after raising nearly $1B
Genuine question: I'm aware that 100% automation for pretty much all agricultural processes is likely highly impractical if not borderline infeasible. As someone inexperienced with either robotics or agriculture, are you saying that chasing the "100%" is bad or are you saying that we're already mostly past the point of diminishing returns? My uninformed opinion is that I agree with the statement "let farmers farm", but we should keep looking at robots / software / AI to find ways to let farmers farm more for less. But keeping the mindset of building tools to enable individuals to do more is essential, moreso than the idea of replacing the farmer.
Page 1 of 9Next →