MurphyA/hacker-news huggingface dataset:
by MrJohz | 2025-09-07 17:58:56+00:00
I don't know that I understand why parsing necessarily has to error out on the first mismatch. Good parsers will collect errors as they go along.

Zod does take in invalid state as input, but that is what a parser does. In this case, the parser is `any -> T` as opposed to `string -> T`, but that's still a parsing operation.
by busterarm | 2025-09-07 17:59:05+00:00
You can do some casual searching and find that I'm right about this in most cases. If your prices are high enough you can tolerate a lot of waste, but for most farms the economics favor hand harvesting. We're talking about at least 20% waste when you're machine-harvesting and even then a significant amount of what ships to retail has internal bruising.

Maybe that farm is selling in an area where consumers are less choosey? I certainly prefer hand-harvested blueberries (and can tell the difference)...

Certainly machine harvesting is an increasing share of the market, but it is still predominantly hand-harvested.
Ask HN: How do I escape OS-switching-cost hell?
by singlepaynews | 2025-09-07 17:59:49+00:00
I am currently stuck in a loop between my iPhone, and a series of new laptops. I'm sure the flowchart is familiar to others: you start with a macbook, it breaks, and now you're constantly reconfiguring your laptop to achieve some version of productivity and sync with your phone.

I thought I'd be able to solve this with a NixOS config, the thinking being that my machine config is a git repo, and if/when a laptop breaks I can simply duplicate it on the new machine.

What's actually happening is that I'm spending more time wrestling unsaved passwords across windows, iPhone, and new Linux installs than any other computer activity.

Like most consumer users, I never really understood how iCloud worked, much less OneDrive, and more often than not am wrestling them to not do things automatically that confuse me. My current state is trying to setup syncthing across two windows machines, only to have an automatic OneDrive action create a mess of my desktop, and I'm hoping someone here will have a 3rd person view and help me stop wasting time on configuration.

My last local maxima was "iPhone / MacBook, everything just works even if iCloud is weird I can do dev work and generally my phone and laptop are the same". I'd like to be able to say "x phone and x laptop, everything just works and when something gets broken/lost I can magically restore the software setup on a new device to replace it without losing data as in files or data as in installed and configured software"

Can this even be done? Am I tilting at windmills? It seems like every major company is trying to achieve this under the condition that you have vendor lock in at the hardware, but even assuming you do that you will only achieve data protection as in files, and every new machine will need another new vsCode install/config step, as will every other application.

I get that there is and always will be both a hardware lifecycle and vendor lock-in, what I feel should be left in the past is the idea that software configuration cannot be moved across the hardware lifecycle painlessly.
by maxbond | 2025-09-07 18:00:00+00:00
Bit of a nit pick but this is a pet peeve of mine.

Creating a new word for a more specific category is never Orwellian. The project in 1984 was to create a language which was less expressive. They were destroying words describing fine distinctions and replacing them with words that elided those distinctions. Creating a new word to highlight a distinction is the opposite.

There's definitely criticisms to be made of the term serverless and how it obscures the role of servers, but Orwellian is not the correct category. Maybe we could say such services run on servelets to describe how they're "lighter" in some sense but still servers.
by toast0 | 2025-09-07 18:00:19+00:00
When I was on the marketplace, I couldn't tell much difference between the metals. I'd pick a network, all the tiers covered only the mandatory stuff as best as I could see; really same deal with all the networks, but different providers. Higher tiers had higher premiums and lower deductables... for me, I just went with bronze because premiums + out of pocket max was lowest; I'm sure there's portions of the curve where care would cost less with a higher tier, but I figured lower cost with minimal use and lower cost with maximal use is pretty good.

IMHO, health insurance makes it hard to do cost control of healthcare. Patients can't do it, because they won't know how much stuff costs until 6 months after service, so they can't really make decisions on cost. Providers can't do it either, they have even less idea of what things cost for patients, and they have an interest in providing more billable care. Insurance companies could do it, but denying care for economic reasons is hard, so they just go with denying care for beuracratic reasons; also, ACA insurers have revenue limits based on ratios to covered care, so covering more things allows them to get more revenue. Even government paid healthcare has trouble because everyone gets grumpy when they can't get all the care available.
by moelf | 2025-09-07 18:01:19+00:00
this is counting it as if O only takes an argument, which is single dispatch, which OOP covers already (the `self` is the single argument).

In practice, Multiple Dispatch shines when you have 1) more than one argument type (duh) 2) higher order `O` operation [1]

[1]: think of a numerical routine that calls eigen or something, and you want eigen to exploit the matrix's type, such as symmetry or upper-triangular, and this is encoded as a matrix type)
by dismalaf | 2025-09-07 18:01:45+00:00
There's an expectation when it comes to consumer goods, and even protection in most jurisdictions, that you can't simply charge someone for something they don't want. It's like dropping a Mercedes at someone's house then charging them for it when they never wanted or asked for it. Allowing a "free" tier to run up so much traffic that it becomes a $100k bill is ridiculous and probably illegal.

Taxes are different because they never exceed the amount the person paying the taxes receives.
by Ciantic | 2025-09-07 18:01:45+00:00
I've used Azure with spending limits. They do work, they shut down things, and the lights go off. [1], Only some external resources you are unlikely to use don't follow spending limits, but when you create such resources, they are clearly marked as external.

That's one positive side of Azure.

[1]: https://learn.microsoft.com/en-us/azure/cost-management-
by gruez | 2025-09-07 18:02:32+00:00
>When Facebook started, it was a different era. And since then, Facebook has clearly abused their position with anti-competitive behaviours.

Insurgents like tiktok show that even today, people will happily give up their privacy for some dopamine.

>If they can keep using Google Chrome for free, we already know the answer.

Why would google continue maintaining chrome if they can no longer derive any benefit from it?

>If the only way for them to have a reasonable browser would to pay... who knows? People pay more than that to access movies that they could download as torrents.

No, the contention is that people will go for free browsers that violate their privacy or monetize them somehow, not some future where all browsers cost money.

>Maybe it's enough to pay 1$/year for a company to maintain a reasonably secure browser with the features that people actually need. Do people actually need QUIC? Not sure.

Remember when whatsapp was also $1/year, ostensibly for similar reasons? How did that go?
by MadnessASAP | 2025-09-07 18:02:50+00:00
A countries agricultural base being dependent on undocumented migrant workers is bad and should be corrected. However simply deporting all the migrants overnight with no further action doesn't fix the underlying problem, doesn't help the industry, and doesn't help the consumers.

All things being equal, people will generally choose to follow the law. So figure out why the migrants and their employers are choosing not to follow the law and fix that.
by wakawaka28 | 2025-09-07 18:02:55+00:00
I think 0.1% is an exaggeration, and the price drop would be even less. The amount of silver even in all the silverware put together is dwarfed by other uses, even investment (which is stacking it in a vault for future use). The point is that depriving yourself of sentimental objects just because you imagine some green outcome is silly. The absolute most environmentally friendly use for the silverware is to put it in the hands of someone who WANTS silverware, because of the substantial costs required to make it in the first place PLUS the costs of remanufacturing it into other objects (which you also have to assume in the transfer to your proposed use).
by bee_rider | 2025-09-07 18:03:18+00:00
So, are you looking for some “rate of charges” cap? Like, allow the charges to accumulate indefinitely, but keep track of how much $/sec is being accumulated, and don’t start up new services if it would cause the rate of charges to pass that threshold?

Might work. I do think that part of the appeal of these types of services is that you might briefly want to have a very high $/sec. But the idea makes sense, at least.
by ndriscoll | 2025-09-07 18:03:24+00:00
Ideally a bridge (e.g. a typeclass) with nice language support like Scala has. I'm not seeing what's so ugly. In math, you have an abstract interface for e.g. monoids (your interface like a Table). Then you have e.g. complex numbers as a set (your business model). The you can identify how C is a monoid via addition. And how it's also separately a monoid via multiplication. Same idea. There's nothing "ugly" about having to write down what you mean.
by zem | 2025-09-07 18:03:31+00:00
it's literally there in the linked readme:

Version 2 of Microdot incorporates feedback received from users of earlier releases, and attempts to improve and correct some design decisions that have proven to be problematic.

For this reason most applications built for earlier versions will need to be updated to work correctly with Microdot 2. The Migration Guide describes the backwards incompatible changes that were made.
by rdm_blackhole | 2025-09-07 18:03:37+00:00
So you are saying that you are ok with people smugglers making a buck while encouraging foreign citizens to break the law just so we don't have to find solutions for this sort of problem?

It's the same story everywhere in Europe. When people say they want less migrants or illegal people in their country, the-pro immigration parties come out and ask the same sort of questions: who is going to care for the elderly, clean the toilets, take care of the kids, pick up the rubbish and so on?

As if, the only purpose of these migrants was to to do all the shit jobs nobody else wants to do. If it wasn't so vile and despicable, it would be laughable.

Here is a tip, if you want more people to do bad/hard jobs then the solution is not to encourage illegal immigration so that these people can be exploited, it is to raise the wage of these jobs so that people would actually consider doing them in the first place.
by busterarm | 2025-09-07 18:03:53+00:00
Oh I agree with you. I'm not saying the labor component is necessarily expensive, I'm just stating the obvious that for many crops they are still human labor intensive.

Asparagus harvesting may be fast, but you have to do it every day. You have to keep people employed throughout the entire season. There isn't just a few-week harvesting period.

You can't just mechanize everything.
by arcane23 | 2025-09-07 18:04:03+00:00
Ignoring how strangely against this idea you are, for no justifiable reason, it wouldn't look like a 3310, it would still look like a smart phone, probably OLED so more battery life. It would just miss a lot of modern features which are absolutely irrelevant to anyone who wants a privacy/security focused mobile phone. Probably not the latest CPU, not the latest mobile chip, but still decent for what it has to do.
by abxyz | 2025-09-07 18:05:45+00:00
Expanding on my previous comment with an example: I obtained a long term residency visa a few months ago. I was in the country at the time and didn’t want to fly 15 hours back to my home country, and the embassy in the neighbouring country only accepts applications from residents, so I flew to another nearby country which does accept non-residents. The country that I have a visa for doesn’t care where the visa is issued, it’s the individual embassies that set their own rules about who they will process applications for. You just have to look through each embassy to find one that accepts you (which will be documented on their website). Except now for the U.S. which is instituting this rule.
by sugarpimpdorsey | 2025-09-07 18:05:55+00:00
And yet I go to the market every week and the shelves are stocked so full they have to throw out or donate the produce that starts to go bad.

That article puts forth the tired trope that "crops are rotting in the fields". If that was true or so extensive as they portray, the shelves would be empty, not simply more expensive. They're not.
by bill_joy_fanboy | 2025-09-07 18:06:11+00:00
I told this exact argument to a supporter of deportation policies, and they responded with this:

"I don't care about higher grocery prices. I don't care about economic efficiency. I just want them gone."

I don't believe you understand their value system.

EDIT: In particular, an appeal to economic prosperity will not win an argument with someone who isn't basing their decisions on economics.
by viceconsole | 2025-09-07 18:06:13+00:00
Year or longer waits for B visas are common in India. Part of the problem is the statutory requirement that first-time applicants need an in-person interview. When I worked in a US consulate in India, we would have loved to have lowered the age at which we could waive interviews from 80 to 70 or even 65, but that would have required action in DC. We also would have loved to have had more staff, but were limited by the amount of diplomatic positions the Indian government would approve.
by HarHarVeryFunny | 2025-09-07 18:06:37+00:00
Overloading operators like "+" to work on new types, and maybe mixed types, requires each desired combination of operator and operand types to be implemented (as one can easily do in a language like C++, and presumably also in more modern languages). If there is any commonality between types as to how these operators are meant to work, then generics such as C++'s templates can also be used to reduce the number of implementations to those that are actually distinct.

I don't understand what problem the author is trying to solve here - maybe it's language specific? More related to dynamic typing and efficient dispatch?

In any case, operator overloading, while it can make for cute-to-read code, isn't really a good idea for code readability and maintenance.
by PaulHoule | 2025-09-07 18:07:25+00:00
So if I get this right you’re looking for a cross-platform password manager?

My belief is that OneDrive is a complete waste of time and you’re best turning it off. If you need file syncing use Dropbox. My first experience with OneDrive was (1) Office saved there by default and (2) if it wasn’t working you couldn’t save documents and if you have that kind of experience once you’ll never use the product again.
by Zigurd | 2025-09-07 18:07:36+00:00
The process can be orderly. I live in a town with a couple of commercial orchardist, and they get their apples picked by workers on temporary work visas every year for decades now. These commercial orchards are apparently economically viable, even though they are smaller than a typical commercial orchard in Washington state, for example.

As with tariffs, I can imagine this situation being less orderly or predictable now. But I've seen both theory and practice work as intended.
Show HN: CryptoInsightAI: AI Crypto
by dogruai | 2025-09-07 18:08:01+00:00
Crypto moves fast.

That’s why we built CryptoInsightAI — an app that merges technicals, sentiment, real-time data & on-chain signals into one clear AI-powered view.

No noise. Just insights that matter.

Download now: https://apps.apple.com/us/app/cryptoinsightai-ai-crypto/id67...
by jselysianeagle | 2025-09-07 18:08:28+00:00
I'm not sure what the complication here is. If application code changes, or some dependency changes, you build a new docker image as needed, possibly with an updated Dockerfile as well if that's required. The Dockerfile is part of the application repo and versioned just like everything else in the repo. CICD helps build and push a new image during PRs, or tag creation, just like you would with any application package / artifact. Frequent building and pushing of docker images can over time start taking up space of course but you can take care of that by maybe cleaning out old images from time to time if you can determine they're no longer needed.
by mlhpdx | 2025-09-07 18:08:37+00:00
Interesting that you mention UDP, because I'm in the process of adding hard-limits to my service that handles UDP. It's not trivial, but it is possible and while I'm unsympathetic to folks casting shade on AWS for not having it, I decided a while back it was worth adding to my service. My market is experimenters and early stage projects though, which is different than AWS (most revenue from huge users) so I can see why they are more on the "buyer beware" side.
by AIPedant | 2025-09-07 18:08:42+00:00
Keep in mind that we also have no clue how general anesthesia works! It's not just psychiatry, many medications targeting the nervous system (e.g. muscle relaxants) have unknown mechanisms of action https://en.wikipedia.org/wiki/Category:Drugs_with_unknown_me...

I think you're being extremely reductive about what neuropsychiatry actually entails.
by mdaniel | 2025-09-07 18:08:59+00:00
I don't see how these are apples-to-apples given its "send me all your content" approach <https://github.com/run-llama/semtools#:~:text=get%20your%20a...>

versus https://github.com/BeaconBay/ck#:~:text=yes%2C%20completely%...
by tialaramex | 2025-09-07 18:09:05+00:00
There's an evolutionary process at work, so it's not really about that rewrite decision, it arguably made sense fifteen years ago to pick C++ - yeah C++ will still exist in say 2040 just like COBOL still exists today and I don't trust anybody arguing otherwise. But whether investing in C++ still makes sense is a different question. That might influence career decisions, and what new projects should do even though a choice fifteen years ago was correct, and it also impacts how to manage your existing project.

We do these night walks out in the Forest. 2-4 hours in the countryside, when it's still pleasantly warm but no sun. Owls, bats, insects and occasionally horses or deer that were not expecting humans - no sudden moves because horses or deer can easily kill you by mistake if startled. Without much light it's hard to be sure whether you're on a trail and if you've reached the fork you expected or just a place where there's a tree in the way.

So, it's not rare to realise we've made a mistake. Now, if you realise after 5 minutes you can "just" backtrack. It's nowhere near as easy in darkness, but it's possible and arguably preferable. However it is also possible to realise after say an hour. You thought you'd be in a clearing, on a ridge, but you're a mile away approaching a river crossing. Oops. It is usually not correct to retrace your steps in this case, you need a new plan taking into account what you know now about your position.
by Aurornis | 2025-09-07 18:09:15+00:00
> although that last one was kind of addressed by the once link because in its FAQ is "we don't care about your other platforms" so the answer is "because NIH is awesome"

The 37Signals (now Basecamp) company found a lot of success in the past by creating simple web tools and then marketing them hard into new (at the time) marketing spaces like podcasts and social media. Using small company 37Signals products instead of corporate Jira was viewed as forward thinking, rebellious, and the superior choice in some contexts. DHH (founder) was constantly stirring up controversy and clickbait and leveraging it as marketing. I actually saw it more from people in non-tech companies, some of whom would boast about using 37Signals tools as a sign that they were keeping up with technology trends.

I tried using their tools multiple times over their early years but never felt impressed, so I always migrated away. They were the kind of company that was highly opinionated, didn’t care how other companies did things, and didn’t care how you wanted to use the tools. They built what they built and they were going to gaslight you into believing you didn’t actually want the features they didn’t have (until they implemented them later, of course). For people who hung on DHH’s every word this all seemed eminently correct, but all of the DHH and 37Signals fanatics I knew eventually had some break where they realized there was more to the world and that other tools were actually very good and often better.

As for this tool: I think they just have enough success and cash that they can build whatever they want and have fun. If the past trends hold, they’re probably trying some reality distortion field marketing to convince users that other platforms are bad for some reason and you don’t actually want any of the features that they haven’t shipped in this product (until they ship them, at which point they become great).
by codethief | 2025-09-07 18:09:41+00:00
> Also: the Garmin Varia bike radar is absolute gold. I feel more unsafe without it than I do without a helmet.

Interesting, I didn't know such a thing existed. However, I'm struggling to understand the need. I ride my bike every day but I don't remember the last time I was surprised by a car approaching from behind.

Where in the world do you live / where do you typically ride your bike? In what situations are you glad to have that radar?
by neither_color | 2025-09-07 18:09:51+00:00
Who said anything about excusing crime? At least dozens of valid visa holders were caught in the dragnet, some appear to have been in a gray area as to what they were allowed to do(the "strawman" in question), and some were truly sub-sub contracted illegals. The latter could have been apprehended without all the spectacle, and the grey area could've been dealt with tactfully without offending our ally, like, "hey you're only allowed to attend stakeholder meetings and not actually touch anything. Consider this your warning".

I'm less sympathetic to "the law is the law" because of the historical context of what's happening.
Automated Workday check in/check out and Microsoft Teams messages monitoring
by quacktheboss | 2025-09-07 18:09:52+00:00
This should save people a lot of time. I could not find anything of the sort, and had to write it myself! Enjoy!

https://github.com/quacktheboss/fuckthebossman

Spread the word please, post it on Reddit and everywhere else, let's give back time to people!
by Symbiote | 2025-09-07 18:09:53+00:00
> It hasn't happened because no President has been stupid enough to deport them en-masse.

Britain enters the room...

Short-term farm labourers like fruit pickers weren't deported as such after Brexit (I think), and they were earning roughly double the minimum wage, but the jobs were seasonal so many workers spent the winter in their home countries.

After Brexit:

> A shortage of farm workers created by Brexit led to 8,000 tonnes of berries going unpicked last year.

The EU citizens have been replaced by labourers (with the appropriate visas etc) from Asia, but the wages have gone up and the costs of travel.

(I don't know how this affected fruit/vegetable prices. There were other causes of inflation at the same time.)

https://www.theguardian.com/uk-news/2022/aug/14/why-uk-farms... (NB 2022.)
by opan | 2025-09-07 18:10:13+00:00
Fedi is different because it isn't proprietary or centralized. A new proprietary and/or centralized alternative is never the answer. That's just buying time.

Personally I am not a fan of the Mastodon software or side of fedi, but I have had good times on the Pleroma/Akkoma side, and it all works together.