HNHacker News
TopNewBestAskShowJobs

toast0

33,037 karma · joined December 23, 2012

Email: hn@enslaves.us

I built a browser based path MTU discovery test, http://pmtud.enslaves.us/

submissionscomments
toast0··on Why I wrote the BEAM book (2025)
> Cooperative scheduling is based on the programmer releasing control manually (much like manual memory management) or having yield points baked into the language, often at function calls or IO events. Processes on BEAM can be preempted, they're allotted a number of "reductions" and when those are exhausted, the process is preempted (the process may also yield earlier).

BEAM is actually cooperative [1]. In userspace, function calls and IO (receive and !) are yield points, and reduction count is simply the number of function calls you're allowed. Something something Computer Sciencey reduction basically just means function call.

It just feels preemptive because as a functional language, you have to call functions all the time. Your loop becomes

   loop(I) -> loop(I + 1).
And that will yield once it calls itself enough times.

Native code (NIFs, BIFs, and drivers) has to count reductions and/or yield explicitly.

You can easily hog scheduler threads in native code that does significant computation or does i/o without using the runtime facilities; most people who write NIFs will mess it up at least once, I certainly have. It's much harder to do in userspace code, but if you fully unroll a very large loop that does not call functions or anything else that can yield, you can do it; I don't see how this would happen without specific intent, I've never run into it, but it's possible.

A blocked scheduler can be vaguely fine or terrible depending on how long it stays blocked and what the system is up to. Often it won't be terrible until you do something that needs all schedulers to synchronize, such as operations around code loading, but you can probably wedge the whole BEAM if you try.

[1] there's not really any other sane way to build preemptive userland threading anyway. You could schedule a timer signal, and task switch in the timer signal handler... but no sane person will recommend doing non-trivial work in a signal handler.

toast0··on Why I wrote the BEAM book (2025)
10k requests/sec is not really the same thing as the C10k problem which is 10k concurrent connections. You might serve much more or less than one request per second per connection, so req/s and conncurrent connections are not really related.

I also wouldn't say OTP was built to overcome the C10k problem. It is a very good solution for lots of concurrent connections (with a suitable OS), but OTP was built to manage concurrency needs in the context of telephone switches. The constraints chosen to meet those needs does work (very) well to meet the challenges of large numbers of concurrent IP connections, but I wouldn't say it was built to overcome those challenges.

toast0··on Using voltage glitching to unleash the A100 in my mining card
This wouldn't really work for AMD processors... They could design and fab a 6-core chiplet, but it would need to be the same size as the 8-core chiplets so it would interface to the same carriers. If the footprint is the same, the fab cost is roughly the same, so spending the design time on that doesn't make sense. If they build separate carriers, that's more design time and inventory management and it may well be more expensive than just building 8-cores and disabling two.

That said, with Zen6 having 12 cores per chiplet, I wouldn't be surprised if they eventually end up designing a smaller chiplet with 6 cores and a dedicated small chiplet carrier. Or push 6 core SKUs to the APU side that doesn't use chiplets, Zen5 APUs already have specialized masks for some of their SKUs.

toast0··on Using voltage glitching to unleash the A100 in my mining card
I understand your position, but as someone who prefers the lower end products (and the lower end prices!), this policy would be detrimental for me.

At the beginning of a product, when yields are bad, I could get a low tier chip at a good price, but then as yields get better, low tier chips wouldn't be available and I no longer have a low cost option. Presumably higher yields would lead to reduced prices on the higher tier chips, but I don't think they'd get down to where the low tier chips were.

Another alternative is that the maker only ever sells chips that test successfully as high tier, but I think it's repugnant to not make use of parts with defects if the defects can be gated off.

toast0··on Apple is killing its Support Community forum next week
> tech-challenged users will look for help in all the wrong places,

Shouldn't the vendor support community forums be the right place to get help for problems with a product?

I agree that they don't seem very effective. But where are they supposed to go?

toast0··on .name Grandfathered
It's not 22000 registrants for .name, it's 22000 registrants of third level domains. There's lots more second level registrations in .name; it is massively more popular to register a second level domain, but it wasn't always an option.
toast0··on Scion is back and is going to sell a kei truck in America
> Americans collectively purchase over 1 million trucks a year. They come in all kinds of different form factors. If there's a significant market for a truck niche, it's covered.

They do not come in all form factors. Compact trucks are missing.

> If manufactures killed of the truck you want, it's because they apparently can't find 1,999 other people to buy that trim.

If that were true, Ford wouldn't have stopped selling the Ranger in the US. They stopped making them in December 2011.

Yearly sales [2] were

   2005  120,958
   2006   92,420
   2007   72,711
   2008   65,872
   2009   55,600
   2010   55,364
   2011   70,832
   2012   23,848
Why stop when you're selling 50k+ a year, and sales increase to 70k when you let people know you're cancelling it.

Canadian sales were about 20k a year, with 2011 and 2012 combining to hit 20k-ish. [2]

If it's not sales, and it's not competition (because all of the competition stopped servicing this market, too), it's because CAFE forced us to buy bigger or older trucks.

[1] https://carfigures.com/us-market-brand/ford/ranger#year-sale...

[2] https://carfigures.com/canada-market-brand/ford/ranger#year-...

toast0··on .name Grandfathered
Having it imposed on existing registrants after the fact really is beyond the pale, IMHO.

It'd be one thing if it was there since the beginning, like https for .dev, but it would probably break existing sites if you add it after the fact.

toast0··on Scion is back and is going to sell a kei truck in America
Consumer tastes may have changed... but we don't know for sure because nobody builds the trucks we want.

I know I see a lot of light duty fleets that switched from Rangers to F-150s only because the Ranger was discontinued and there were no small trucks to switch to.

These are businesses that need a 6 foot bed for gear, but don't need to have more than one seat (but two is fine), and would like fuel efficiency and dollar efficiency.

Some of them went to work vans, but nobody is selling those right now either.

I used to have a 2007 Ranger I bought new, but sold it due to parking restrictions and no specific current need for a truck. When I needed a light truck again (~ 2019), there was nothing to buy new. I don't want a real truck cause they're too big, I don't want more than one row of seats. I ended up with a 2003 S-10, cause that's what was available in the marketplace for me.

toast0··on Scion is back and is going to sell a kei truck in America
The Ford Maverick is wider and longer than a 1994 s-10 based on a random site [1].

All while the Maverick has a bed that probably can't properly move a couch.

You probably can't really fit a couch on the back of a kei truck either, but it's ok because they're cute.

[1] https://www.vehiclesizes.com/compare/3771-7714/ford-maverick...

toast0··on .name Grandfathered
> with a seemingly infinite possible combinations

Verisign claimed approximately 22,000 third level domains [1] in July 2026. I don't see an estimate of the number of shared second level domains, but it's finite. The current public suffix list includes 10414 names [2]; so at maximum, the list would approximately triple in size --- not ideal, but feasible.

Edit: another post [3] claims approximately 2000 second levels names with multiple registrations; that's only a 20% increase in size for the existing list, which is again a lot, but feasible. There's some more specific data in an issue for the suffix list [4], that shows there were nine second level domains with multiple registered names underneath them, one of which might all be the same registrant (domain.name)...

Nine would be totally doable, if the request came from Verisign...

[1] https://itp.cdn.icann.org/en/files/consensus-policies/fessen...

[2] including some with wildcards, re: your other post

[3] https://news.ycombinator.com/item?id=50446780

[4] https://github.com/publicsuffix/list/issues/2306

toast0··on .name Grandfathered
*.name isn't a good solution either, because the vast majority of registrations are at the second level.

If you want to do it properly, you really do need to include all of the second level domains that have more than one third level registrant. And update that periodically as domains expire... there might be three registrants under .example.name today, but if they all (or all but one) stop paying, example.name is no longer a public suffix and it should be removed.

toast0··on .name Grandfathered
I suspect for most of the second level domains, there's only one registrant of a third level domain.

However, I also suspect that for most of the third level domains, they're on a second level domain with multiple registrants. And several of those shared second level domains will have a lot of registrants. If the registrants are in different jurisdictions, it becomes a pretty nasty process to develop international consensus, vs just keeping the status quo going (which IMHO, can't be that hard).

Still, it makes sense to have a process to normalize the single registrant second level domains, because less work.

toast0··on AMD's Zen 6 Family: Feeding the Beast
Ryzen 9950X is basically the same as an Epyc 4565P, except you can buy the Ryzen in a retail box.
toast0··on .name Grandfathered
> So the weird part then comes in: are all second level domains that have third level registrations now reserved? Do they stop being reserved if the last third level registration expires without being renewed?

Yes, second level domains that overlap with a registered third level domain have never been available. Under the original proposal, once all the third level domains were dropped, the overlapping second level domains would have been available (first come, first served). I believe current practice is the second level domain becomes available if all of the third level domains expire. Registrants in other threads indicated that there's no process to have an orderly transition from being the only the registrant of a third level domain under a specific second level name to registering that second level domain ... you would have to let your current name expire and hope to catch the second level name.

toast0··on .name Grandfathered
Same as any gTLD, pick your favorite registrar and they probably support it. Give your registrar money, they'll give the registry money and boom. (more or less)

When .name was new, you may have needed to contract with the registry directly, it was an early new gTLD and I don't remember if they started with the registry/registrar split or not.

Afaik, new registrants are not able to register a third level domain, but second level domains have been available for a long time.

toast0··on USPS now offers official ZIP Code boundary polygons
In the US, your mailing address is essentially a routing label. The zip code is designed specifically to help route messages.

The "city" field in the mailing address is less city and more post office name. USPS is a lot more flexible now, but used to be, if your city didn't have its own post office, your mail would need to be addressed to the city where your post office resided; and even if your city did have a post office, it doesn't mean that's the one that services your delivery point.

Many people don't even live in an incorporated city, so at a municipal level they're just in a state and a county, but not a city. Those people still have to put something in the address field, but that leads to a lot of confusion. Unincorporated towns often have no official basis, and aren't always unique either. Of course, neither are incorporated cities in some states. :P

Changing ZIP codes to be geographical would significantly reduce the usefulness of ZIP codes for their primary use, sorting and delivering mail, so that's a non-starter. Use something else!

toast0··on USPS now offers official ZIP Code boundary polygons
> If they were AWD or 4wd, I would give my left leg for it.

I assume you're talking about the LLV?

I had thought the post office bought a small number of 4x4 LLVs, but I don't see anything about it on wikipedia, so probably not. That said, maybe you could bodge something together from S-10 4x4 parts? (wikipedia says the rear axle is from the 4x4 s-10 blazer and the front axle is from the 2x4 blazer ... it might not be easy, but it's probably not impossible to grab a 4x4 front axle and stuff it in... )

I've read that the post office doesn't sell their old ones, but they weren't the only buyer and some of the other buyers do sell them.

Wikipedia does say the NGDV comes in all wheel drive. Although yeah, probably hard to buy a new one.

toast0··on USPS now offers official ZIP Code boundary polygons
> And, come on... you're not trying just to make the job of the USPS easier here.

Most of this address data is made available in order to enable pre-sorting of mail, which makes the job of the USPS easier. Presorted mail can also have a lower mailing cost, but I wouldn't be surprised if the USPS doesn't pass on all of the savings.

toast0··on USPS now offers official ZIP Code boundary polygons
I know that many people do use ZIP codes for grouping locations, and polygons may be useful for tieing a lat/long to a zipcode if it doesn't have a delivery location. But it's all kind of silly unless you're sorting mail. Also, I'd hate/love to see some of the polygons where delivery boundaries get weird.

Whatever you're grouping is likely better served by some grouping based on geography, not based on delivery routes. You probably wouldn't group by telephone company central office either, unless you're telco related.

We want to group by geography, zip codes are easy and vaguely geographic, lets use that is kind of a valid decision, but it's deeply frustrating :p

toast0··on Cryptocurrency lawsuit: Ethereum Foundation required "suicide pledge"
> A suicide pledge in a contract is unenforceable (both socially and legally), so signing it or not doesn't really matter.

If it doesn't matter, it shouldn't be in the contract. I don't tend to have a lot of drafting power in employment contracts, but pushing back on meaningless contract provisions is a lot easier than pushing back on substantive ones.

It's at least worth getting them on the record, in writing, as 'we absolutely insist on this (bullshit) contract provision being in here, it is required for your continued employment'.

toast0··on What is malloc doing, anyway?
Most people have that at home? Personally, I don't but electricity as a service + a well pump is WaaS with extra steps.
toast0··on Payments Canada announces launch of Canada's Real-Time Rail (RTR) payment system
My credit unions now offer ach, same day ach, and instant transfers between them.

Same day ach launched with a user fee, so they usually prompt to confirm and offer to send it via normal ach instead, which I find amusing?

I also see instant transfer support at some other places I bank. I can't say if bill payment happens instantly or not, my finances don't run close to the edge, and I don't need to know exactly when a bill pay (which I generally schedule) is taken out and when it's applied; as long as both happen, I'm good.

toast0··on Outlook.com is rejecting email from domains without DMARC
> You don't have to, this is the key reason to have a DMARC monitoring service. It will tell you when there's a deliverability issue with some particular receiver.

It's been a while, but monitoring DMARC seemed pointless once you got things started. If my outbound mail fails to validate, I've asked the receivers to bounce it, and I should be able to see that on my own system.

Otherwise, I'm just getting reports about spoofed spam or people who need to adjust their mail forwarding, but I can't do anything about either.

toast0··on Tesla Hasn't Had a Successful New Product Launch Since JB Straubel Stepped Down
> The last new release of a truly mainstream car was the Model 3 a decade ago.

I'm no Tesla fan, but having longevity in car models is a good thing. My fun car was built by VW in Germany for a decade and then by VW in South Africa for another decade; parts availability is great.

In today's marketplace of very samey cars, models that work should probably last a decade or more.

That said, Tesla could have built out a couple more styles, such as maybe a minivan/workvan/delivery van, although van sales can be pretty cyclical, and Tesla parts and service was (is?) notoriously poor in some cases, so I dunno if commercial users would be interested.

toast0··on Ask HN: How did you convince family and friends to join your XMPP/Matrix server?
Adding on to Bender's post, most of the blocking I've seen happens at consumer oriented ISPs. Sometimes the regulator only asks mobile carriers, so residential wired internet still works fine. Sometimes they'll get residential and mobile, but not offices. If there's in country servers/datacenters, those might not have filtering and also be reachable domestically.

It really depends a lot on what's going on that they want to block. Making it hard for people to do X is often good enough. For some things, making it unreliable is more effective than a complete block, because a complete block leads people towards circumvention but unreliability can push towards local alternatives instead.

toast0··on Retro Song Bird: Plug in any Game Boy cartridge to hear the soundtrack
Speaking of Punch-Out, it would be amazing if you could play the sounds from the prototype.

https://www.youtube.com/watch?v=C9FjUdMLM6g

toast0··on Every Windows 11 app should kill Electron, and Discord just showed why
> That's like saying it would make sense to make Internet Explorer work on all platforms. It doesn't make sense.

Why not? Microsoft released IE for win16, win32, wince, macos system 7 through 9, macos X, Solaris, HP-UX. If it ran on all those platforms, Microsoft probably could have supported it on any platform that had the capability of running graphical web browsers.

toast0··on Silicon Valley's Bad Night
My electricity cost per kWh has just about doubled over the last 3 years, but afaik, it's mostly related to legislated changes to the energy mix and increases in fuel costs.

Fuel costs are up for lots of reasons, more demand for electricity could certainly be one of them... Inflation is certainly another component.

toast0··on So my ISP was hijacking my DNS
I dunno what was in a ringtone subscription. I used to work at a ringtone company, and it was $1-$3 per ringtone ($1 for monophonic, $2 for polyphonic and $3 for wav/mp3/whatever; which yeah, is more than a high quality download from iTunes... But $25/month is a ton of money.

Even with free ringtones, I'd send myself about three if I got a new phone. These days, I just keep a copy of the Nokia dubstep ringtone on hand in case I turn the ringer on, but it doesn't happen.

← PreviousPage 2 of 34Next →