Better HN
topnewbestaskshowjobs
Log inSign up

dgacmu

8,260 karma · joined Feb 12, 2013 (13y ago) · 1,875 submissions

CTO and founder, Enriched Ag. Computer science professor at Carnegie Mellon University. Ex- university of Utah, MIT, Google Brain.

http://www.cs.cmu.edu/~dga/

Of the firm belief that distributed systems is the coolest area ever, followed by computer science in general. Yes, I'm a bit biased.

Submissions

comment 35m ago · link · parent

Or perhaps DOGE + the massive uptick in vulnerabilities due to AI. Getting rid of a lot of your people right before the threat environment got radically worse is a bad mix.

comment 1d ago · link · parent

Why do you say this? (asking seriously.)

comment 1d ago · link · parent

Weirdly, I've been finding the gmail search AI stuff helpful lately. Things like "so and so cell phone" work really well and usually surface what I want. Similarly, "<kids name> RSVP" has been generating a really useful summary of upcoming kids birthday parties and whether I've RSVP'd or not.

I absolutely hated it when it first debuted but it's been getting a lot better. (And, like probably most of HN, I probably count as a power email search user in the first place; it's not like I don't know how to search from:<blah> etc., but the summarization has become good.)

comment 1d ago · link · parent

But the results were still conditional, and it was useful to have results that didn't depend on the (formerly unproven) RH.

Example: Deterministic primality testing. Miller's test gave us an ln(n)^4 algorithm for deterministic primality testing decades ago [1]. But it depended on RH. The later AKS work found a way to avoid the RH dependency, giving an ln(n)^6 deterministic algorithm, and was the first to show that PRIMES \in P. [2]

With RH having been proven, Miller's test is back to being the fastest deterministic test. (ECPP is faster in practice for large primes but its running time isn't fully known.) This isn't a terribly practical result because the range of primes for which you'd use miller is a bit narrow, but it's quite cool to me to have the theoretical best also be something you can implement -- AKS is impractical and its contribution was showing you could solve the problem in polynomial time without depending on unproven conjectures.

[1] https://en.wikipedia.org/wiki/Miller%E2%80%93Rabin_primality... (but ignore the rabin part, look at the original Miller test)

[2] https://en.wikipedia.org/wiki/AKS_primality_test

comment 2d ago · link · parent

You're talking about concurrency and I'm talking about parallelism. :-)

Rust's async situation is still a pain in many ways.

But throwing Rayon at something often results in very reasonable parallel performance gains without cluttering things much. It usually won't get you to an optimal solution, but it's good for 80% with 10% of the pain.

comment 2d ago · link · parent

Though to give credit where it's due, it's a lot easier to parallelize things well in rust than in python. The coarse-grained download parallelism is easy in both, of course (though with higher overhead in python), but the more fine-grained solver parallelism favors rust (or c/c++ but let's not do that).

comment 3d ago · link · parent

It sucks less than existing chemo:

> Treatment-related adverse events that led to treatment discontinuation occurred in 1.2% of the patients in the daraxonrasib group and in 11.2% of those in the chemotherapy group.

That's a huge reduction in side effects bad enough to stop treatment.

https://www.nejm.org/doi/full/10.1056/NEJMoa2605555?

comment 3d ago · link · parent

Wish they'd named it Shell In The Ghost

comment 3d ago · link · parent

Because the same process that we use to make them human-understandable is the process we use to make them generalizable and reusable, and those same features are good whether it's humans or AI doing the work.

As a software engineer, you can read this code instantly:

    temp = a;
    a = b;
    b = temp;
But when it happens in the middle of a big chunk of code it still takes a little more work to read than

    swap(a, b);
whether you want to think about it as human attention and working memory, or token budgets and context windows, humans and LLMs all benefit from introducing abstractions that let us reuse existing solutions.

comment 3d ago · link · parent

I disagree.

I think we're going to see a lot of effort to take the pile of lean, modularize it into parts that we can digest, and make a human-understandable version of that. And that's where a lot of the real progress will come from, just as it does in a lot of other areas. In all things we humans do, we have to break them into chunks our puny brains can manage, and we gain immeasurably from doing that ---we can verify those chunks, we can reuse them with confidence, we can mix and match patterns around.

That process will be good for both human and AI-assisted math because it will continue to improve our toolkit.

Why do I say this? We're already seeing it with some of the areas of this stuff I do pay attention to. Consider the n^2.25 matrix multiply result OpenAI dumped a month or so ago. It was an unreadable pile of chatgpt. In the time since it was released, there have been a couple of much nicer papers written unpacking it, such as https://arxiv.org/abs/2610.28627 .

comment 3d ago · link · parent

No, this was just in the really basic llama web ui

comment 3d ago · link · parent

I just had "model default" selected; this was with unsloth Q4 also so I assume it's the same. That explains a fair bit about why it was so damn chatty generating the python. :)

Running it on low was better. It wanted to use tools which probably would have been good but couldn't get the in-browser js stuff to work on the image (perhaps it doesn't). It output a completely wrong answer (1979 dime instead of 1967 half-dollar) but at least it didn't loop.

comment 3d ago · link · parent

M1 Pro Macbook, 32GB: About 10t/s using q4 xl while running browsers/etc. and interacting using the local browser.

test 1: write a python program to sort a csv by lastname and print out fields. Result: Nailed it. Nice python program. Nice explanation of output, if a little chatty (it gave an example output, which I didn't ask for).

test 2: my standard "identify the type and year of this coin" test. Failed miserably, I gave up after 12,000 tokens of it babbling incessantly about possible misinterpretations of a silver half-dollar. Unsurprising - most small models suck at this test - but slightly annoying it seemed to get in a loop.

Pretty good performance and result for the (very simple) code generation problem, though. One of the first models that seems OK running side-by-side with a browser on my older MBP.

comment 5d ago · link · parent

Interesting, it has replaced argon in my app

comment 6d ago · link · parent

Yes, you would probably really enjoy catching up on a few parts of them. (a) there was a ton of work on main-memory databases that re-thought a lot of what we assume in systems that are mostly disk-bound; (b) columnar storage took off in a big way and we started looking a lot at analytics processing and hybrids (HTAP). (c) Flash flash flash flash flash. The drop in seek times from ~5-10ms to ~40ms really makes you think about efficiency differently.

There've been a lot of improvements in sub-areas of the database since then as well but those three are (in my biased view) some of the most fundamental.

comment 1w ago · link · parent

Andy's database lectures are already all online: start here: https://youtu.be/APqWIjtzNGE?is=1QyZ_p0uYsSGYkN0

I plan to put my distributed systems lectures online the next time I teach it, but not sure when that will be after I rotate out of teaching 15-213. One of my colleagues who also teaches it might do it before then.

comment 1w ago · link · parent

HEPA is less important in most scenarios than "something that on a few passes will catch everything", which MERV-13 will do. Not all systems can handle the pressure drop of a MERV-13 but many can, and there are some pretty low-drop options out there if you search for them.

comment 1w ago · link · parent

Please observe the substantial difference between "an affair", "an affair with a spy who may or may not have been part of a plan to illegally sell billions of dollars of GPUs against export controls", and "an affair with one of your direct reports"

One of these things is a mostly private matter between you and your spouse. One of them involves congressional hearings and may land you and your company in serious deep poop. And one of them is widely recognized as an abuse of power in the workplace.

comment 1w ago · link · parent

Not really. My setup is just a hair cheaper than paying API prices for Luna (and it will do security audits for me). The mac would be even better on power.

I don't think any of these self hosted setups are a good deal when you look at the NPV of the capex plus the power costs, but if you already own the hardware it can be okay or even a slight cost savings.

comment 1w ago · link · parent

I think you're understating the difference between "an affair by a CEO" and "an affair by the CEO of a company at the center of a technology deemed as critical to national competitiveness and national security, with a spy for your most serious competing foreign nation".

When Congress starts having hearings about your affair, you have fucked up but good, as they say.

comment 1w ago · link · parent

The 512GB server he specified would be running something more like qwen3.8-flash-next, which is probably competitive with sonnet 5 (but still loses to 5.5).

I've tried it out on a 512GB dram server with 2*3090s and it works really quite well. Draws enough power to cost something similar to Luna, though.

comment 2w ago · link · parent

No, this modified the original prompt, it didn't do a multi-round evaluation like slop code. It was a little hard to get that from the writeup, I had the same initial reaction.

comment 2w ago · link · parent

You don't actually need to post this kind of comment in the first place, or insult people. This isn't 4chan.

comment 2w ago · link · parent

I suspect you're right. :) I think it's ghastly and poorly engineered/ designed.

14yo probably influenced -me- more than the other direction, though. That one has strong opinions.

This is the same 14yo who when she was younger would delightedly point out every Tesla (then, mostly model S's) she saw on the road. Probably still responding to both aesthetics and politics but it was interesting to see the shift.

comment 2w ago · link · parent

That article seems to be fairly flattering of the technical tricks tesla used to make the demo roadster flip? Your claim about "paying his mortgage ... critiquing everything Elon does" is certainly not backed up by this citation. Dude clearly doesn't like the cybertruck, but to a first approximation, that pretty much describes everyone.

As someone who described himself in an earlier post as a "Big Elon fan boy", perhaps the source of bias here lies in a location other than the author of the WIRED article.

comment 2w ago · link · parent

You must have different kids than I do. Mine point at them and observe that they spotted another dumpster.

comment 2w ago · link · parent

The Codebreakers is a fantastic book and I highly recommend it. I don't know what I think of it for a ten-year-old, it's been a while since I've read it, but my memory is that it is certainly mathematically accessible, but its length and depth may make it daunting, as it probably exceeds the attention horizon of a typical ten-year-old by an order of magnitude or two. But in chunks it could work, and for an adult it's fantastic.

It does assume a fair bit of historical context knowledge, though, much of which probably exceeds 5th grade. Probably 9th graders would have it easier as far as, e.g., familiarity with WWII, etc.

comment 3w ago · link · parent

Many personality disorders have a strongly heritable component.

comment 3w ago · link · parent

I believe you need to divide by another ten

comment 3w ago · link · parent

For me, habit. A habit I'm getting tempted to break by exactly the grumble in this post. This has been an awful ~two weeks for maintaining infrastructure and the ubuntu lag on this specific issue is contributing to the awfulness.
12345
63