HNHacker News
TopNewBestAskShowJobs

erik_seaberg

4,519 karma · joined August 21, 2015

submissionscomments
erik_seaberg··on Make It Ephemeral: Software Should Decay and Lose Data
If you're trying to upgrade or rebuild ten year old software, it's very important to know exactly what its dependencies were and where to find them, because there are too many other versions to choose from and most of them won't work. New software only needs a lockfile because it will eventually get old (if useful).
erik_seaberg··on How to Train Yourself to Go to Sleep Earlier
One nice thing about sleep apnea treatment (CPAP) is that you always have fresh air.
erik_seaberg··on Britain's postwar sugar craze confirms harms of sweet diets in early life
Just one cheeseburger is three miles of running. Not only is it very easy to shop and overeat, your body continually encourages it. The only way out is determination not to eat whatever you want.
erik_seaberg··on Cash: An absurdly small jQuery alternative for modern browsers
Caching is the most important reason to consider GET for a non-hypertext API. Vary headers tell the server which header diffs should cause cache misses, but there's no way to do that for an encoded body.
erik_seaberg··on Apple's M4 Max chip is the fastest single-core performer in consumer computing
https://en.wikipedia.org/wiki/SPECint talks about a dozen programs they selected for single-core logic and discrete math, including gcc and bzip2 (there are more than a dozen others using floats).

Over time, RISC and CISC borrowed from each other: https://cs.stanford.edu/people/eroberts/courses/soco/project...

erik_seaberg··on No More Layoffs with a Payoff: It's Time to Freeze CEO Salaries
I would think they have to keep the commitments in the charter, and only the board can propose changes for shareholders to vote on (because they own it all).
erik_seaberg··on No More Layoffs with a Payoff: It's Time to Freeze CEO Salaries
In that case the mistake was the overhiring rather than the layoff. And it's hard for a board to admit that the entire plan (which they probably approved) was a mistake from the beginning. If the CEO fails at making the plan work in an obvious way, he's probably out.

Edit: As I understand it, he's out if the board thinks they will recruit someone who would have done better.

erik_seaberg··on No More Layoffs with a Payoff: It's Time to Freeze CEO Salaries
Lots of boards have pushed out CEOs who performed poorly enough: Apple, Disney, HP, IBM, Twitter, and Yahoo are well known. But the performance is expectations around market share, profits, stock price, or dividends, not burning as much money as possible on payroll.
erik_seaberg··on Linux on Apple Silicon with Alyssa Rosenzweig [audio]
Tech companies wire rows of desks for laptops and big monitors, but I think it'd be hard to find a meeting room where you could safely plug in more than a dozen 140 W chargers.
erik_seaberg··on Linux on Apple Silicon with Alyssa Rosenzweig [audio]
Over years, I've worn laptops (with sealed-in batteries) down to three-ish reliable hours. There are never enough power outlets (or AC vents or even seats at the table) for a big meeting. That's a problem for a very long meeting format like a war room or a promo committee.
erik_seaberg··on Feds: Critical Software Must Drop C/C++ by 2026 or Face Risk
Rust's borrow checker proves some invariants that the code always upholds. Valgrind only checks that this run hasn't triggered some undefined behavior so far, it's always possible that (ab)using it further or another run with different input might.
erik_seaberg··on Feds: Critical Software Must Drop C/C++ by 2026 or Face Risk
I'm definitely digging into this, thank you!

I'm a little concerned about ESBMC's "simulating a finite prefix of the program execution with all possible inputs" when important software like operating systems are intended to run indefinitely. Would they start with a valid state (filesystem, process list) and prove no invalid state is reachable within n syscalls or interrupts? Maybe I was hoping for proving invariants.

erik_seaberg··on Feds: Critical Software Must Drop C/C++ by 2026 or Face Risk
I'm a little familiar with TLA+ but it can't verify the actual code you want to run, only a restatement of your intended algorithm. Are there published model checkers that can check real C++? How would they catch double-free or use-after-free or double-throw?
erik_seaberg··on 5.6M vacant homes and counting: There's a housing crisis brewing in the US
Freight was so important that pre-railroad cities were mostly built around harbors or navigable rivers, not just anywhere they wanted.
erik_seaberg··on New iMac with M4
I switched to using the trackpad full time, because the mouse randomly bricked itself unless I let it distract me about its state of charge and whether my only cable was at home or my office desk.
erik_seaberg··on Welcome to the Era of the $20k Family Car Insurance Bill
That system doesn't seem to take you to every Bucharest address in ten minutes, only popular ones. I picked a few buildings at random in Google Maps and got hour-long L-shaped trips (detours into downtown) that would have been fifteen-minute drives. I don't think any pre-scheduled routes can cover n^2 trips well.
erik_seaberg··on Welcome to the Era of the $20k Family Car Insurance Bill
From Fremont, CA, the Sunnyvale office is a 40-minute wait for a 16-minute bus to a 12-minute wait for a 14-minute train to a 14-minute wait for a 48-minute bus (making 34 stops). Google estimates I could get there in two and a half hours. Getting home after 11 PM is more like four hours.

It's only 22 miles. A replacement for a car should be able to do this in about 32 minutes. But it would have to go point-to-point on demand, they can't cover the spanning tree of n^2 possible trips with any reasonable frequency (mostly because n^2 taxpayers don't exist, nor housing for them).

erik_seaberg··on Welcome to the Era of the $20k Family Car Insurance Bill
"Transport to where-ever you need to go, an what-ever time you need to go there" has to functionally be pretty car-like. My question is how he wants to dispatch it on demand so it doesn't need to stay parked near us.
erik_seaberg··on Welcome to the Era of the $20k Family Car Insurance Bill
Are you proposing ridesharing? Self-driving hasn't been widely deployed yet.
erik_seaberg··on Welcome to the Era of the $20k Family Car Insurance Bill
Cars run point to point on demand, which is optimal. Any system that does not will waste huge chunks of riders' time.
erik_seaberg··on Trump Tariffs would increase laptop prices by 45%
The baby boomers lived well, before so many industries and jobs were offshored.
erik_seaberg··on Trump Tariffs would increase laptop prices by 45%
Isn't a tariff bad for consumers of foreign products but good for domestic manufacturers and workers?
erik_seaberg··on Smart pointers for the kernel
Memory and concurrency safety need to be the first steps, because how can you analyze results when the computer might not have executed your code correctly as written?
erik_seaberg··on Why does everyone run ancient Postgres versions?
Early MySQL versions made egregious design choices like quietly ignoring missing foreign keys and enum typos, truncating long strings, and randomly choosing rows from groups.

https://web.archive.org/web/20230922210124/https://grimoire....

erik_seaberg··on Why does everyone run ancient Postgres versions?
https://www.postgresql.org/docs/current/warm-standby.html#SY... mentions quorum-based synchronous replication, which sounds encouraging.
erik_seaberg··on The science of "Zoom fatigue"
Decisions should be made in writing, so everyone gets some peace and quiet to deliberate, and we don't change our minds because nobody remembers what the outcome was (sounds crazy but I have seen this happen).
erik_seaberg··on Why does everyone run ancient Postgres versions?
If PostgreSQL has replication, why are they talking about "minimal" downtime? Is there no quorum strategy that delivers high availability? I don't know as much as I should.
erik_seaberg··on Hofstadter on Lisp (1983)
You can say

  (if lst
    ...)
if the empty list is falsy, but Scheme eventually chose to add #t and #f. Oddly #f is the only false value but #t is not the only true value.
erik_seaberg··on It's not enough for a program to work – it has to work for the right reasons
One of the things I like about cloud is that it's relatively easy to spin up an isolated full-scale environment and find out where prod's redline probably is. On-prem hardware might have different bottlenecks.
erik_seaberg··on Working from home is powering productivity
I think having deep work to do is the biggest sign that a team has found a good use for me. It's how tech companies build competitive products. Commodity work should be automated; Moore's Law already paid for doing that.
← PreviousPage 3 of 34Next →