skysight-inc/HackerNews huggingface dataset:
That would tank Tesla/SpaceX stock and likely cause class action lawsuits en masse.

If the CEO is so mentally unstable that he will randomly buy billion dollar companies then he has no business running those companies.
The missing economic measure: Wealth
Yup. I absolutely love my cameras. I wouldn't have set them up without a home server to isolate them, though.
Teams is killing my Mac every day
I did some work at DRI in 1984 (my group was housed in the old KMST television studio, on the outskirts of the DRI campus, for about four months while we ported GEM to the Atari ST).

My manager talked with Gary about the CP/M incident at one point. Apparently some "guys in suits" showed up without an appointment one day, wouldn't say who they were, wouldn't sign an NDA, and were demanding to see Gary. They were sent away without talking to anyone. Gary was in his office the whole time, and definitely not flying.

Take it as you like. My Kildall Number is 2.
That's a fair example. And returning 404 (Not Found) or 410 (Gone) is the most useful kind of feedback. More explanation in the body of the 404 response is helpful too, of course.
HN has a strict "don't editorialize article titles" policy, backed by a bot that automatically editorializes article titles for you. It's great.
We’re talking about chess experts, not programmers
How do you know they use semver? Major version is just a marketing thing for many frameworks. Node is one of them too.

Even Go, one of the most boring (in the good sense) languages, considered to do the same thing at some point (when included generics).
I’ve found that Fish solo is much more satisfying than Fishless Marillion. Steve Hogarth’s vocals seem completely without character to me, especially compared to Fish.
Show HN: An app for converting tailwind classes to CSS
I think people care, just not enough to deal with the huge PITA that sandboxing turns out to be.
It takes a significant amount of discipline - and meticulous detail - to start going down the sandboxing path. In other words, it's tedious and not fun at all.
Yikes, no.
Other way around in fact!

Observable errors mean that there is an actual error and triggers error handling to the user. By saying, that for example, a search for a user in a list returns no results is a 4XX you are implying that the path is an error when the response is in fact, valid and useful. More than that, you now have cross-wired a REAL 4XX error (for example the API URL was changed and no result will work to it) with this fun pretend 4XX concept that ends up confusing your error handling ('Endpoint cannot be reached with this URL.') with ('Your result has no entries.'). Finally, conceptually speaking, it's not a 404. The URL you requested was handled by the endpoint you intended to reach. That is the exact opposite of a 404 for example.

To me, conceptually it's just not an error in most cases and even when it is, it's likely an error on the other side.
Where the hell do you all live where this is a common problem? Out of all of my friend and relatives, 100s of people, none of them have ever complained about vandalism/theft.
Godot uses both C# and Python-like GDScript. And majority of addons likely gonna be in GDScript.
Given that the headline of the article is clearly wrong, as another commenter pointed out, I don't think people generally know what it all means. They have feelings associated to the topic, certainly, and those shouldn't just be dismissed. But humans are in general famously bad at dealing intuitively with numbers. Why should inflation be the outlier to this rule?
The author doesn't disagree with the HTTP RFC at all.

All the author disagrees with is mixing the http server layer and application client layer status codes in the same client response being given to users.

The only argument anyone should be having here is if they believe their api should speak HTTP to their client or if their api should speak through HTTP to their client.

Personally?

I think trying to shove business level response logic in HTTP (or REST for that matter) to be monkey butt level stupidity.

HTTP was built as a RESTful protocol to serving files up to web browsers. And it works great for that.

However, it was not designed to handle the 25 unique and user-readable or not-user-readable errors my one /authenticate route can throw back at the user at different times.

REST and HTTP by extension excels at simple CRUD or file serving operations. But it's just not suitable for these kinds of API's.

Here's an example:

If my HTTP speaking API needs to respond with an error, how should my client handle it?

How should I differentiate errors that should be displayed to users and errors that should be used only for debugging?

If you need to suggest that my client needs to parse out the errors or differentiate between server and api errors in order to be able to show these errors to users then you've sort of proved my point that HTTP isn't a suitable solution to this problem - you're already wrapping an extra non-HTTP protocol inside HTTP, you're just only doing it for errors instead of all application responses.
Thanks for proving my point those arguing in favor of lichess aren’t being honest
I mean it’s obviously fucked and I’d never be the engineer to do it…but whenever I see these massive undertakings of technological censorship, I must admit my first thought is always “damn, imagine the massive logistical challenge that would be”. I mean censoring an entire people, and dealing with all the ways people are getting around your solution, its messed up but I mean holy blue team/devops/netdev/infra challenge Batman.
Can you recommend some?
What an odd question. I would prefer the movies that are on the service I pay for to be included in my package.

It's a different service, rentals, smashed into the service I pay for, prime "free" videos. That is what makes it frustrating. I do in fact sometimes end up renting those videos which is why they include them. But it's not a good customer experience by any means.
> Second, pricing structures for software can get very weird. So we’re only looking at things that have a flat cost per license and aren’t “contact us for a sales quote” where they just charge whatever they think you can afford. And it must be commodity software, aka you pay the price tag and you have it within a week. Otherwise the answer would be a 0day exploit or custom software written for NASA.
Cannabis strains and how CBD can work as a governor to suppress the psychological effects of high THC percentages. How the brain receptors react and trigger different states.

The science of recreational drugs are interesting to me.
Polarized light reveals final fate of a star “spaghettified” by a black hole
As more of a Sys Admin / scripting type, I felt happy and sad at the same time at the actual mention of Visual Basic.

VB is often scoffed at, and probably to an extend rightfully so.

But those (i.e. VB1 through to VB6) were the ONLY languages that I ever managed to create useful, finished tools and programs in. Maybe it's part psychological, but I needed the approach where I created a neat UI first, got my methods pre-populated for me, and had something tangible to look at early in the process. Then went on to fill it with all with custom code. Yes, it's BASIC, but it was extensible. People I knew wrote OCX and such control elements, and code routines in DLLs in C/C++ and integrated that into VB projects, so the sky was still the limit.

Staring at an empty text document with possibly some header file statements never evoked the same creativity with me that VB did.

p.s. my proudest creation was a Windows 3.1 UI around the MS-DOS packing program "arj", for those who remember. Had I been a better businessman, that might have predated WinZip :)
what is a prowler. how does a camera prevent package theft? you get information about who took it but it doesn't prevent them from taking it, or get it back. deterrence only?
> Those big clients throw away their software at the end of the project?

Nope. Not at all. They're still in use, and still being further developed. None of it's been thrown away. Some things have been updated over time (in a managed way, e.g. newer React versions, updated build system, extra/better build-time tooling). New features have been added to the software. No problem hiring devs to do the work, React is a known quantity. The back-ends are a known quantity. All the apps are still a fairly modern stack: from front to back. No problem moving them forwards and implementing any of the things the customer/management wish for. All pretty painless.

— Some of the apps I refer to here were in fact a start-over from exactly what you describe, because that simply wasn't working out (for various different reasons on different apps, but one reason was the UI wasn't working as folk expected it to, in some cases wasn't responsive enough, etc).

Some apps are simply best done as a SPA. Horses for courses, innit. It's just a different kind of software development at the end of the day. It's not necessarily any less manageable to use React/similar in one's project(s). And we chose React because of what it brings to the table plus we could clearly see it would be well supported for some time into the future. — In fact we found React (plus the appropriate libraries) permitted very fast development / iteration, particularly compared to when one reaches the edge of what can comfortably be done using pure server-side rendering, and/or SSR plus 'spot' Javascript usage.
The census laws in many countries protect access to the actual raw data until at least a few years and usually a few decades after the people in question are dead and sometimes there’s even blanket rules on accessing anything more recent than 75 to a hundred years ago. So even the governments with extensive historical records tend to follow similar rules to the ones you mention about archives access.
You can also try the first page of an empty search. That will show you the most popular articles of all time:
https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...
I can think of vastly more humiliating things, like a video of a woman spreading antivax or pro-choice propaganda. And, differently from a blowjob, which is just a religiously motivated prejudice, those acts are actually harmful and evil.
So, to address this on its own terms, talking about HTTP as an 'application programmer', ignoring browsers and REST and the whole value add of the HTTP stack in terms of caching and security and content negotiation... just thinking of HTTP as a way for a client to call a server and get back a message:

This approach is the HTTP-server equivalent of exposing a function that sometimes returns null.

When you call a function like that in your code, the call succeeds and returns, but the caller needs to now inspect the returned object to see if it is actually useful.

In this case, the HTTP call succeeds, but you now have to parse the result to figure out whether you got something useful.

In code, there are a few alternatives to having a function returning null: throwing an exception, the null object pattern, or the optional type/maybe monad.

Using an HTTP status code lets your client choose an HTTP client implementation that manifests as one of these, according to their preference, simplifying their code.

So just from an application design point of view... if you wouldn't build a function with that return signature, why would you build an HTTP endpoint that does that?
...clearer (if at all). The proper license, whatever it is, is still missing. Sorry. :)
You might like Spock’s Beard. The first 6 albums with Neal Morse have kind of a Yes meets Gentle Giant vibe to them. I like the later stuff as well, but I remember introducing a prog-loving friend to them with a post-Neal show and it was interesting how he managed to pick out the Neal Morse–era songs (and only those) they did as his favorites.
Any reason you can’t use pure methanol to clean glasses? I don’t wear glasses so I don’t know the specifics, but that’s what we use to clean industrial laser lenses and any tiny speck or smudge or oil would immediately burn the protective coating. We also don’t touch the lens tissue when we clean it, rather we put methanol on the lens tissue and slide it across. Curved lenses are a bit more interesting but same method of cleaning.
https://archive.ph/gI88T

Not one word there about Elon Musk's personality. Instead the artictle contains text such as: «It isn’t clear how Twitter is made worse off by Mr. Musk’s walking away. Twitter shareholders are surely worse off because the merger agreement would have cashed them out at $54.20 a share. But the shareholders aren’t party to the agreement. Only Twitter Inc. is a party, and it is a separate and distinct legal entity. Twitter would have to prove harm, such as lost profits, and that’s an uphill battle.»

I'll quote the last paragraph too:

«This case highlights an important risk to shareholders in mergers and acquisitions: The corporation that negotiates the deal may not have much of a case against a breaching counterparty because the corporation, unlike its shareholders, usually isn’t harmed when the counterparty walks away. The easy fix is to give shareholders the right to sue for their losses. But either Mr. Musk’s lawyers were too smart for that or Twitter’s weren’t smart enough.»
The economy always has cycles. Expecting constant upward growth is unrealistic.

I went through 2008 and lost 30% of my portfolio. It’s up 300% since then.

You’ll survive.
A Plane of Monkeys: Inside the Science Crisis You’ve Never Heard Of
I just use some IPA and a microfiber cloth.

Man, I've so many better things to do with my time on the planet than cleaning my specs.
won't the paper towel cause micro-scratches?
My next door neighbor (we share a wall) had their bicycles stolen twice, so they installed Ring (floodlight) cameras in both the backyard and the front porch. After a year, the cameras have yielded no added security, or caught any "bad guys" as far as I can tell and from what they told me.

What I realized, is they use it to keep track of their kids, funny cat videos that trigger the recording, and most importantly, as a 2 way radio to talk or listen to the kids. That last point, well, I found out they can also listen to my conversations an my kids.

I asked them to point their front porch camera so that it doesn't record my front driveway, just theirs. and they lost their shit. They confirmed they record audio and video. They asked if there was a problem. I said no problem with them. I'm not comfortable with the audio/video recording me or my friends conversations if company comes over to talk to me on my porch or driveway.

I really didn't need to tell them anything, it's self evident why someone wants a camera point away. Needless to say, after I asked them in the winter, one of them refuses to speak to me and crosses the street and avoids me.

These people use surveillance to supervise their kids, and don't care about the fact that their neighbors (me) could be recorded, and they could be hacked or footage access by random people, because Amazon isn't exactly the king of privacy.

I believe these cameras haven't decreased crime. They also don't really add more security. It's a shame though they are everywhere, with disregard for privacy right on people's property. So yes, I'm biased. I have no love for Ring.
Normal Operations consist of (mainly) controlling the interest rate at which a central bank will pay out on reserves (cash / assets) that other banks deposit in it. This is known as the base rate / reserve rate, and varying this rate can vary the reserves at the central bank, and therefore the money in the economy.
Weed Killer Glyphosate Found in Most American’s Urine
This list of wanted language features is quite interesting.

> A serious take on a contract-based language

As the article itself notes Clojure does support contracts in the language and with libraries. But there has been a ton of research about that, e.g. JML [1].

> A language with semantic relations

They can be expressed in contracts (e.g. Clojure) or with property-based test frameworks (e.g. Haskell, Clojure, and many others nowayday).

> Everything is a Graph

See graph rewriting, e.g. [2]. That was just my first google hit with the proper search term.

> A better calculator language

That idea looks to me like automatic transformation from offline to online algorithms [3]. I am not aware of any compilers being able to do that. But dataflow graphs can be used to design such systems. A list of such languages or libraries (e.g. for Clojure) can be found in this Stackoverflow article [4]

> A really dynamically-typed language

As some other answers here already mentioned modern static type systems are able to express, new types
at runtime, e.g. with Scala's path dependent types. Again Clojure has an interesting entry here: clojure.spec [5], a runtime represented specification language, which can be used together with contracts or to formulate proeprty-based tests, or anything else you would like to do with it.

Btw, I've only toyed with Clojure so far and I used to be an avid proponent of Haskell/ML-style static type systems.

[1]: https://www.cs.ucf.edu/~leavens/JML/index.shtml

[2]: https://link.springer.com/chapter/10.1007/978-3-642-32211-2_...

[3]: https://en.wikipedia.org/wiki/Online_algorithm

[4]: https://stackoverflow.com/questions/461796/dataflow-programm...

[5]: https://clojure.org/guides/spec
Yes, it certainly could be (and probably has been) a visual language. And it could also be a plain text-based language too.

But a visual language either requires specialist tooling which I think deters a large number of people, or if implemented in plain text, degenerates into ASCII art, which is very hard to manipulate in a simple text editor (believe me, I've tried!)

A structured non-visual language is also possible, but that turns fairly quickly into a functional language which per se is not bad, but is not helpful when trying to present the overall flow of data around the network. You still have to jump around the file from function to function to try and understand what is going on.

There must be a middle ground out there somewhere. Simple plain text presentation of multiple streams of processing.
This is nonsense.

Unless there is a monopoly, companies have to offer the lowest / best deal or they go out of business quickly.

Food and many other industries are extremely competitive and there is no wiggle room to just raise prices and laugh at poor people.

If transportation is 50% of your products price (end to end); and fuel cost doubles, then you have to raise prices 50% just to break even.
No, you already need to be logged in in the device that generates the QR code.
I think news might be the only exception here- newspaper subscriptions have been around a very long time.
neither does China, the second largest economy
I live in a big city and package theft is fairly common here, happens to me a few times a year. The shipping company always replaces though, this has never cost me anything and so there's not much pressure on me to contribute to the police surveillance apparatus over it.
I read the book, which was fascinating but a little disorganized and repetitive, coming back to the same subject again in different chapters. This is a good summary.
What’s the point? Even if you have a great video of a dude stealing your packages nobody will arrest or do anything about it.
This sort of confusion could have been avoided if they had just said "the source code to this program is now free to distribute under the (MIT|BSD|GPL|etc) license" from the beginning. Nobody knew what exactly the intent of this novel "let this paragraph represent" approach was supposed to be, and now it just sounds like we have a slightly clearer idea.

No need to get cutesy with something as important as your license terms, people.
Yup, it sucks. For me it isn't even so much the song as it is how it transports me back to that job. Like, I hear the song and can picture myself doing certain tasks in the retail store I worked at while listening to it.
Ask HN: Are you using StackOverflow as much as you used to?
Your example is just a filtered index, you would receive a 200 with no results just like any other index route with a filter applied.
Hmm, how do you know you understand programming?

I have programmed for 30 years, more than 10 in the area of embedded Linux, mostly user space, but also kernel and boot loader. My code has been running in at least a million devices in the field. However more often than not when I need to look into systemd code, I have the feeling I have no clue how this stuff can possibly work, have I ever learned to program?
FYI, the link to getting started 404s: https://vitejs.dev/guide/getting-started.html
> The Pfizer COVID trial had more deaths in the vaccine arm than the placebo arm i.e. negative effectiveness against death.

Are you sure about that?

Here’s the results of the trial

https://www.nejm.org/doi/full/10.1056/nejmoa2034577

Can you point me to where they say there were more deaths in the vaccinated arm?

Because all I can find is

Two BNT162b2 recipients died (one from arteriosclerosis, one from cardiac arrest), as did four placebo recipients (two from unknown causes, one from hemorrhagic stroke, and one from myocardial infarction). No deaths were con- sidered by the investigators to be related to the vaccine or placebo. No Covid-19–associated deaths were observed.
As per semver, they need to update major version if one of their dependency(Rollup in this case) did a major upgrade.
The headline is misleading; it's not just news publications.

>Email newsletters, a welcome letter from the editor, a mobile app download, podcasts, subscription benefits reminders and/or a series of reminder emails over the first week and month have all proven successful with audiences.

Nope, nope, nope to all of that. Annoying me has the opposite effect to what the MBAs want.

As someone below notes: you can go to privacy.com and set up temp credit cards, with a limited $$$ amount. They can try to auto-renew all they want, but they'll just get declined.
Frustrated by Gun Deaths, Entrepreneurs Turn to Technology
CXL is going to eat OMI's lunch
Dafny is a really fun language and I've done some stuff in it before. I was really sad when MSR stopped working on it, but I think AWS has picked up the slack?
removing watermarks does not remove the copyright...
mpv skips forward a minute with the up key (sometimes to keyframes by default, but not with flac it seems) and it surprises me a bit how often you can do that and the music doesn't change at all, or only changes slightly :/.
> 10,000 being a round number is how it was chosen arbitrarily by the Japanese

According to a 2019 article from Harvard Health, “10,000 steps” was a marketing term for hardware made by a Japanese company. (Not sure if the original root goes back to Japanese folklore, but the article implies it doesn’t.)

> Dr. Lee discovered that the origins of the number go back to 1965, when a Japanese company made a device named Manpo-kei, which translates to "10,000 steps meter." “The name was a marketing tool,” she says. [0]

[0] https://www.health.harvard.edu/blog/10000-steps-a-day-or-few...