skysight-inc/HackerNews huggingface dataset:
Oh come on, sum types are so much more useful than a value which can have literally any type (including undefined aka nil).
Is this just someone's proposal, or a formal addition to Go, or what?

"All errors must implement the Error interface." That's a step forward.

Rust really has the same error handling as Go - return an error status. But the syntax is cleaner. Rust thrashed around with errors at first. Then things sort of settled down.
At this point, everybody uses Result<UsefulValue, Error>, but "Error" is just a trait that doesn't require much information. And "?" for propagating errors upwards is a huge convenience.

It's probably too late to retrofit "Result" and "?" into Go libraries, although they'd fit the language.
This is great advice! It's really amazing how much more you can see with a regular decent pair of binoculars. I treasure the memory of being able to see some of the star clusters that I could only vaguely make out with the naked eye for the first time, now I basically bring them every night walk :).
First Abu Dhabi Bank Joins Tokenization Firm Libre for Collateralized Lending
Are you responding to the right comment? My argument has nothing to do with how passkeys work. I was responding to this:

> Yeah that's great, I don't subscribe to that particular religion but respect your beliefs. I think most people are best served having their primary online identity be a Google account, for multiple reasons. I'm aware that a vocal contingent of technologists on HN find that take appalling, but I assure you, my take is a normie take, and also the modal take among security people.
To summarize as best as I can tell:

- Bluesky is trying to outsource identity verification to the domain name registration system

- A scammer figured out the blindingly obvious weakness in this strategy and is hoping for a big game payout in response to their blackmail

- Bluesky can’t distinguish between fake and real reports about the issue as that would require spending money on real-world identity verification processes

Did I miss anything?
...where "we" = the nazi party's amazing rocket science team that the US spirited away from Germany after WW2.

https://en.m.wikipedia.org/wiki/Wernher_von_Braun
Well that's terrible news. Currently building a product for the same market (completely different solution if the nephew comment is correct about your product). I'm already not thrilled to be in ed-tech selling to instructors with admin's money. I thought at least the instructors would have some enthusiasm to solve the problem. Shit.
Of course not because you wouldn't listen :)
The projects might fail, but knowledge accumulated and scientists / engineers created from them can bring success to other areas
Nice, but I still use puppeteer these days with just rebrowser-patches - https://github.com/rebrowser/rebrowser-patches - works just fine with vanilla chrome
I was wondering if there was another source for the programs? I don't have the book it references.
> Rust really has the same error handling as Go

Not at all. Rust has proper sum types, that it can return just like anything else in the language, while Go has a special cased error return slot (one may be tempted to call it an ugly hack), and it can return a value on both, which it does in some standard library calls.
Said who, a consultant?
Just to clarify is that the detail you can make out with the naked eye or a digital censor? If you meant digital censor, how much of a difference with the naked eye would you say it is? I've had this telescope on my list for some time but am not sure if my expectations are realistic.
> At a certain scale, design and brand teams need infrastructure to drive change

What does this mean?

Do you have a concrete example of where this actually solves a real problem? And what problem would that be?
I could spend a lifetime trying and still not create a web page as spectacular as this.
Makes a huge claim at the start.

>"The huge gap between those ages could change our understanding about how humans spread across the world. If the ancestors of today’s non-Africans didn’t sweep across other continents until 47,000 years ago, then those older sites must have been occupied by earlier waves of humans who died off without passing down their DNA to the people now living in places like China and Australia."

But at the end gets a bit more balanced

>"He Yu, a paleogeneticist at Peking University in Beijing who was not involved in either study, said that the mystery wouldn’t be solved until scientists find DNA in some of the ancient Asian fossils.
“We still need early modern human genomes from Asia to really talk about Asia stories,” Dr. Yu said."

This puzzle is still missing key elements.
Why wouldn’t they? Major ones are electronic, and you know the areas you are putting up your ads in, so you include the tax in it. You go to the store, sales tax either included in the price, or written in smaller font with the tax included price.

It actually happens in NA for specific industries as well! If you buy a flight from Google flights without making any additional purchases, you will get the sticker price because airfare display is regulated to a certain degree. Except in Japan and other countries, almost all display prices have to include local taxes. It’s a solved problem, but there’s no political appetite for it in US/Canada because it will hurt the sales.
> Using Go, I've learned from the code I write, 90%+ of errors I don't need to handle individually, or I can't do anything except bubble an error up

So... exceptions are better, because they would do the correct thing by default in the majority of cases?
> generally just a sentence or two

Plus various volumes worth of self contradicting case law and principles going back centuries before settlements were even made in the americas
That = should be a ⊃.
Not at all. Go has an error type, and Go functions have the ability to return zero, one, two, or more items, ordered however the developer likes. An error may be among those, as desired, and populated as desired.

Some software also writes to both STDOUT and STDERR.
The True Story Behind Who Framed Roger Rabbit (2016)
Thanks!

Currently, savvy doesn't record commands in an ssh session.

For now, you can install Savvy's CLI (curl -fsSL https://install.getsavvy.so | sh) into the machine you've sshed into and then run savvy record history. You can do this after the issue is over.

If you share more details about your set up I may be able to suggest other workarounds to get you set up. Feel free to email me at shantanu@getsavvy.so
C#, OCaml, Java, Scala, Kotlin all fulfill these requirements, while targeting the same niche.
'Just' making money is not very hard in IT. We have been for decades and it's only growing; we do emergency software fixes which means we can ask whatever. We do not, we have a high hourly rate but it is usually clear what it will cost. We don't grow because I do not want a big company and good people are almost impossible to find, but there are way too many projects as, and I know HN doesn't believe this in a survivor bias kind of way, software is getting worse very fast (thanks node and python; and we used to laugh at php; that's more or less a joy these days) so our regular clients are calling more often year after year and new clients come in at a rate I don't care for. But the dream still is products, not consulting; I sold my first product company 25 years ago; I shouldn't have. Nice money but I want it back; consulting is nice and we make a lot for the past 25 years, but making products is nicer so we are now doing 50/50 products vs consulting and hoping it will work. We don't have to work for decades already but why not if it's fun?
They’re probably the only ones it makes sense to keep on. You have a couple of grunts code reviewing the equivalent of 10 devs of work from AI and a manager to keep them going.
It's lowering the bar for developers to enter the marketplace, in a space that is wildly under saturated. We'll all be fine. There's tons of software to be built.

More small businesses will be able to punch-up with LLMs tearing down walled gardens that were reserved for those with capital to spend on lawyers, consultants and software engineering excellence.

It's doing the same thing as StackOverflow -- hard problems aren't going away, they're becoming more esoteric.

If you're at the edge, you're not going anywhere.

If you're in the middle, you're going to have a lot more opportunities because your throughput should jump significantly so your ROI for mom and pop shops finally pencils.

Just be sure you actually ship and you'll be fine.
discord is totally different. I assure you they are not going to download Signal, Whatsapp. there is massive network effect involved and inertia

Even getting people to use a different messaging app (such as Facebook Messenger) already installed on their phones is difficult.
Ah interesting, I haven't tried running it on k8s yet. Migrating my mail stack over to k8s has been on my todo list for a little while; should probably get around to it since dovecot and postfix have supported inet sockets for user/domain db and auth for ~12 years now.

Dovecot is really great, and a ton of stuff supports using it as a sasl auth backend (postfix being an important one). I made a simple facade service that feeds it and postfix from couchdb via its dict backend[0] and postfix's tcp_tables[1], then point everything at dovecot for auth. Couch document IDs map really well to email/user, domain, and sieve script lookups; helluva lot simpler than setting up and managing LDAP.

0. https://doc.dovecot.org/2.3/configuration_manual/dict/

1. https://www.postfix.org/tcp_table.5.html
Isn't 500k+ TC on the upper upper end of the salary distribution though? Vs equity in a rapid growth 20% CAGR or somethin? Or hypergrowth that caps out around 2M ARR?

I guess I'm just trying to gain some career perspective on this heavily bootstrapped startup I'm at thats targeting the alt-thread-mentioned "medium sized traditional industry that has ancient, crummy software with a target customer employee size of 50 - 1,000 people." and whether it's really worth it for me
Even Netflix struggles to identify and understand the cost of its AWS estate
In my experience it’s the good coders that consider AI beneath them and then get steamrolled in productivity by the mid tier devs using AI.
What’s wrong with Slack?
> You can make someone agree to carry insurance against bankruptcy

If you can find someone to write it, because these aren't a product that is generally available.

> require the payout to go into a trust whose purpose is to continue to support the hardware for the specified period of time, if that's what you want to do.

Nobody would do this, because funding a requirement that wouldn't ever be enforceable is akin to burning money. You can't penalize a company that doesn't exist.

> This can't realistically be the actual requirement.

It absolutely is, and it's why precisely zero phones (even 'open source' phones) have an open baseband.

> So if the source code to your phone firmware leaks on the internet it becomes illegal to sell the phone in these jurisdictions?

No. Regulations require companies to ensure they design their products to operate within regulatory requirements. Leaks, by definition, are not intentional.

> Any laws even resembling that should be repealed anyway.

No, they really shouldn't. There are good reasons that mass market devices are designed not to interfere with other users of the spectrum.

> The relevant jurisdiction is the one where the products are sold.

Are you suggesting that parties other than OEMs are subject to this law too??? Good lord -- do you want the corner gas station to hire engineers to ensure the microcontroller firmware on the phone chargers they sell is properly open sourced? Basically all other product regulatory law affects the company that makes the product, for good reason.

> If you want to create a derivative work of a piece of music, having the recording will be all a musician needs

That very much depends entirely on what they're trying to do.

> But then you also can't (or have no opportunity to) exercise any of the rights copyright imparts.

The rights legally exist regardless, and the reason I used this example is because it is a very solid way to go after people who steal private works.

> And obviously in the common case copyright is being used for published works -- the date of first publication is even used to determine the copyright term in the common case. For corporations it's 95 years from first publication.

And there are other various durations which apply when the work is not published. Publishing is not a requirement.

> In the US they both come from the same clause in the constitution:

Yep, that's the clause that enumerated the power of the federal government to regulate those things. Which the federal government subsequently, as that clause granted them the power to do, regulated them as two entirely separate categories of intellectual property.
I wouldn't classify hydrogen as "failed" yet. Much of today's industry runs on natural gas. However after many large companies converted to using natural gas in the 1990's, it was almost a disaster due to the price of gas rose dramatically, peaking around 2005 several times today's price. That's ancient history now, but at the time it looked like natural gas was doomed. Then fracking blew the economics away. If the price of gasoline or diesel did what happened to natural gas, there would have been riots. https://www.macrotrends.net/2478/natural-gas-prices-historic...
AI and Internet Hygiene
Here in the EU you can look for "dark sky parks" which are basically parks or areas in nature designated for night sky viewing because of the low amount of light pollution and they are great spots to meet people, I'm pretty sure you have these in the US as well. I advise bringing a red light if you have to do some walking. Another recommendation would be to see if you have any actual observatories near you, some of them have events for the public every now and then. The people in this community are some of the friendliest I ever met and love sharing their interest and enthusiasm.
Every discussion I've seen mentions filesystem-based storage rather than any database. Haven't seen any evidence to the contrary.
Shopping (which takes hours where I live), picking olives (it will take forever if you have to hop into the charger every 15 minutes), carrying my backpack on walks etc.
[dupe] https://news.ycombinator.com/item?id=42408361
Yeah, that's usually the pragmatic thing to do. Facebook does that with their API, for example.

4xx or 5xx gets you the default HTTP handling for that kind of error. Occasionally - especially in small examples - that default handling does what you want and saves you duplicating a lot of work. More often it gets in your way.

I'd compare it to browser default styling - in small examples it sounds useful, but in a decent-sized site you just end up having to do a "CSS reset" to get it out of the way before you do your styling.
If you define failure as a form of victory then success is inevitable. However, in the spirit of some vague sense of accountability, it seems like an unreasonable position.
It’s been 50 years almost since the dictatorship, it’s time to get over it, most people alive today didn’t live through it.

The us doesn’t drain Argentina of their best talent, Argentina kicks them out with their shitty economy and policies, I know that’s why I left.

Yes, western capital is super evil for investing in infrastructure to move resources. It’s better for the country resources to be laying within the ground making no one money.

There was no other way out since the K printed all the money to finance their madness.

Keep resisting with aguante though, that will work out.
Sure.

NASA rocket team ⊃ Nazi rocket team

fuel-air mixture ⊃ fuel
Win95 (and beyond, and somewhat before) DOS boxes also allowed to run DOOM and other protected mode software. But pretty much only if the software was written for "DPMI" ("DOS Protected Mode Interface")[1], which abstracted all of the protected mode "management" stuff away from the software, like switching into protected mode, allocating memory, etc.

If you ran DOOM, you might remember DOS/4GW. That was a so called "DOS extender", and the DPMI "server" when DOOM ran under DOS. When you ran DOOM under Windows, Windows itself became the DPMI server, and DOS/4GW acted as a thinner layer.

Protected mode software written that way did not run as a v86 task anymore, but closer to a regular Win32 task (it was after all real 32bit software).

[1] Or its predecessor VCPI.
> Normally you should attempt to find all the corner cases and present the errors to the user -- before processing the request.

That is what they are suggesting. You check the request and return 400 if it’s bad.
[dupe] https://news.ycombinator.com/item?id=42442107
Kate is not a technologist but writes beautifully. I find this a very interesting piece.

I particularly like this quote towards the end:

> At its core, the computer and the Internet are tools for creation, education, commerce, play, and communication.
Let's take a very atomic example, that becomes a problem at scale: say you want to change the primary button color across all your apps (for accessibility reasons, for example). If you have 50 codebases where this color is applied in many different ways (naming, color format...), it's a real struggle. You're going to waste time, miss spots, and the user experience will be inconsistent.

Now imagine rolling out dark mode across an entire suite of products, or perhaps a brand refresh.

Having a single source of truth and tooling that supports it end to end from design to engineering helps roll out changes fast and on brand. In turn, it's good for the user!

I know a lot of folks here may come from a more backend background so it may help to think of it as: a way to unlock continuous delivery for your design decisions.
> The generous use of colors in OS/2 made it look like a kindergarten scrapbook

Are we still talking about OS/2 2.x? I somehow remember it to be more "somber", and a very quick search seems to confirm that, though it's not conclusive.

https://www.classic-computers.org.nz/blog/images/2009-10-3-o...
Sapporo might be denser that the average American city, but it is still endless urban sprawl. It is nothing like Tokyo or Osaka.
This is a fantastic example of why the Internet can still be a magical place
I know, special cased may have been better worded as "just a convention". My point is, this is not much different than using a thread-local variable, like errno, and adds useless confusion - your return values represent n*m values, while there is only n+m case with proper error semantics.

Re STDERR: but shells don't decide whether a program execution failed on having written to STDERR, but by the returned singular error code.
You need to agree on the problem, not the problem areas.

Then someone proposes a solution for the problem, and you review the code to see that it solves the problem. If the solution is not bad and the problem is big, you can let them merge it.
Amazon to settle dispute with delivery drivers over claims worth potential £140M
So I can't back them up in a way I control, so that I can transfer them to non-Apple devices? That's what I thought.
None because this institution didn't have that objective in mind. Rockets were financed by government in "cost plus" mode which made no sense in cost saving. "Rocket science" was synonym to something complex, created by people who wanted to raise costs. SpaceX proved that you can make rockets from same material your kitchen pots are made.
It’s cyclical. Once the StoryGraphs and Hardcovers of today are big enough to be not bothered about some users with refined UX taste they’d do the same. This repeats.
Sometimes the most meaningful connections are with what’s been right in front of us all along
from the bottom of my heart thank you @dylanhuang . Releasing it without modification gives us rare opportunity to inspect the codebase of actual startup that had paid customers. Its more valuable than polished/redacted versions.
I should have made that caveat: if X doesn't need all of the bits that it has, then yes, you can do this. But there is no way to know that this is the case for a generic type parameter, you can only do this if you know the semantics of the specific type you are dealing with, like the language does for pointer types.

I should also point out that in languages which support both, Option(int*) is a valid construct, and Some(nullptr) is thus not the same thing as None. There could even be valid reasons for needing to do this, such as distinguishing between the JSON objects {} and {"abc": null}. So you can't even use knowledge of built-in types to special-case your generic Option implementation. Even Option(Option(bool)) should be able to represent at least 4 distinct states, not 3: None, Some(None), Some(Some(true)), Some(Some(false)).
Its a huge time sink if you get bogged down building an engine.

It’s not if you just write the code you need for your game.

99% of people getting stuck on it have no real desire to make an actual game.
In Sweden they are infamous for using dark patterns to make people forget to pay their invoice, and then immediately add a large fee.
OpenAI Incident Retro
Passkeys don't stop phishing. If the user has both a password and a passkey to a service, a phishing site needs to just ask for a password and not mention passkeys and people will just enter their password.
> Thou shalt not sign arbitrary plaintext

Really I am not an expert in this field, but

As far as I can tell signing arbitrary plaintext is a core mechanism in how public key auth works.

The theory is you have to sign something to prove your identity. this thing you sign has to be provided by the authenticating body and should only ever be used once to prevent replay attacks. that is you never want a situation where someone can give you a copy of the signed message and login.

For example, and the only one I have actually read the standard, during auth ssh signs a number of fields, the critical one being the session id. the session id is provided by the server and is only used once, thus satisfying this critical part of public key auth.
I think the problem is that I would like to have an image stabilized version of that. Even small ticks of you fingers amplify quickly into shaky images.

I think instead of an eyepiece (or in addition to one) most consumer telescopes should include a usb image sensor that can screw into where the eyepiece is.
Hardware virtualization with feature parity came very late. Hardware virtualization limited to real mode VMs came with the 386 itself, as the commenter you replied to mentioned.

It was absolutely crucial to its success. The 286's protected mode was considered useless, more or less, because it could not coexist with DOS apps (not without severe hacks at least, stuff like resetting the entire CPU into real mode, something earlier OS/2 did by the way). Intel learned massively from that mistake and made real mode VMs a first class citizen in the 386, so I don't think it's fair to say that Intel didn't learn anything coming into the 386.

Now, as I've mentioned here elsewhere, v86 had some severe warts that made it a bit painful (and that were only corrected in the Pentium and late 486s), but it worked, and it was a cornerstone feature. Which part do you think was revisionist?