skysight-inc/HackerNews huggingface dataset:
> Most regular users aren't aware of PWAs either, and use the App Store as a way of finding apps.

x1000

Normal people have got to the point they trust app stores a lot more than the web. I know of several startups that were seen as not credible by potential customers due to a lack of app store presence.

Fantastic tool btw!
In this era of SDR radio, I'd be surprised if cell phones don't already have the capability with just a firmware update. I suspect the main reason phones don't allow broadcast radio is to create demand for streaming services.
Rust to me looks a bit like Java. "One owner per resource" is Rusts "One class per file".

I am not convinced that the mental overhead justifies the memory safety guarantees yet. At least for a general purpose language.

I didn't yet write a lot of Rust, perhaps more experience trivializes Rusts ownership model.
The original document is written in Chinese so far, and I'll release an English version with further development. But the major recognizable difference is the RAII-wrapper for many synchronous primitives like mutex/semaphore/message queue/spin-lock, also I've been trying to add async programming mechanism that is similar to those in Rust by taking advantage of C++20 coroutines, including an trivial implementation of future<T> that needs no dynamic allocation(which is crucial in embedded system context).
^ it’s considered polite to use an “Edit:” annotation when dramatically changing what someone replied to.

Cursor is a great product, done by brilliant people.

I very much doubt that they set out to dramatically amplify the byte-denominated output and performance-cycle clout of the exact group of people who want to generate their code but find emacs macros or protobuf or any of the more sophisticated zero-temperature codegen mechanisms too high a complexity bar to clear before blasting metric tonnage of generated slop into our collective lives.

The target audience of Cursor is the last group of people you want jizzing on your codebase at scale while simultaneously capturing mindshare proportional to NVIDIA’s market capitalization.

It’s somewhere between dorky and cringe when Jensen signs some girl’s breasts like he’s Mick Jagger or something. That vibe in your repository is my job security in ten years.
Rust (the language) is rolling off the Volvo assembly line
This is Germany's biggest roundabout, "B17 Kreisverkehr"

Features two lanes and five exits, as well as a pass-through bridge for a highway. When you drive on the highway, you don't even see it.

https://i.prcdn.co/img?regionKey=W3NBJc2RmiFQ3sgVAHxBDg%3D%3...
Right, I just mistook which thing was the bug/quirk.
And the good olden time when IE only supported 31KB of Javascript.
It would be funny if it worked that way but luckily or unluckily it doesn't.
A recent software update enables AM radio in Ford EVs: https://es.ford.com/support/how-tos/ford-technology/software...
Idk if there's evidence of it but I know many people claim they developed celiac disease after a course of black label antibiotics
> When did threading get added to JavaScript?

idk. many years ago through stuff like service workers, having shared memory through TypedArrays and similar.

But for the discussion more relevant is that shared mutability constraints do not only matter with threading, they matter with any form of concurrency (like JS async/await/promises and before that callbacks). And even without that you still have other single threaded and single tasked concurrency with the classic being changing a collection while iterating over it. So even without classical forms multi threaded concurrency still very helpful.

> And does Rust have type unions and intersections, interfaces, and mapped and conditional types?

Rusts type system is mainly nominal typed while TS is mainly structural types so it's a bit hard to compare. Like if you nitpick then you could maybe argue that based on TS type system having "features rust types system doesn't have" it's more powerful (but you also could argue the other way around it depends on how you count them). But that would be misleading as it ignores that not only are they two fundamentally different approaches to typing it also ignores that some features are implemented through other means outside of the type system.

Practically having used both I can say that while TS has some things in the typing which are a bit cumbersome to do in rust when it comes to helping me having correct code in context of changes, especially larger changes, and especially libraries Rust still yields better results in my experience. Naturally assuming you don't abuse the TS in either case.

(and to technically answer the question, type unions == yes but different, intersection == no but also make little sense in rust, interfaces == yes but different, mapped types ~= depends on the aspect in some yes and better then TS in other no but implicitly through derives so worse then TS, conditional type ~= again handled through different features depending on usage either associated types or feature gates)
This is only true of typical UK-style roundabouts which are designed for motor vehicle throughput.

It’s extremely common in the Netherlands to replace crossroads and T-junctions with roundabouts to improve safety, but Dutch urban roundabouts are designed with safety as the main priority. This is achieved through single lanes, sharp entries, limiting forward visibility, and pedestrian and cyclist priority (via what are effective zebras).

For more information see eg: https://bicycledutch.wordpress.com/2015/10/13/explaining-the...

(Edit: fixed wrong link)
Roundabouts are a nuisance, while they offer some merits, the sheer lack of education around how to navigate one makes for a very unpleasant experience in most cases.
I'm not sure why the four way stop "makes the most sense".

In Europe one road (perhaps arbitrarily) would be declared the main road, and the other road gets yield signs, or even just yield road markings (triangles).
If you had control of both ends you could embed a header in the uncompressed data with the number of uncompressed bytes.
the UK has traffic lights on certain heavily used roundabouts - sometime the lights will be temporary and only turn on once the throughput hits a certian level
it still requires a lot of effort, but by other people

not a lot of effort by the parasites
(Some of) the math behind Bech32 addresses – by Samuel Dobson
The Dutch roundabout design is amazing for cyclists. See here [0] for a more detailed explanation, but the tl;dr is: Second, outer ring that's a bike lane - motorized traffic has to yield so bikes never have to stop and lose momentum.

[0] https://bicycledutch.wordpress.com/2015/10/13/explaining-the...
So what, who cares? Is this newsworthy? It's definitely not something to get upset about, web scraping is a normal part of the internet.
It is interesting how bad some of the http2 clients in browsers send the first http2 request on a connection. It’s often possible to smush it all into 1 TCP packet but browsers are often sending the request in 3 or 4 packets. I’ve even seen some server side bot detection systems check for this brain dead behaviour to verify it’s really a browser making the request. I think this is due to the way all the abstractions interact and the lack of a corking option for the TLS library.
Most of these issues while real don't actually arise in this case, because we're not trying to ETL some random file, we are the ones talking to the database so we get to choose exactly how the data gets formatted on extract.

For example, here's your list fully handled in postgres:
1. SET CLIENT_ENCODING TO 'value'; (eg 'UTF8')
2. COPY ... with FORMAT CSV DELIMITER 'delimiter_character' QUOTE 'quote_character'

Now the output format is fully specified and everything just works fine (including for input into excel)

The values in each record are separated by the DELIMITER character. If the value contains the delimiter character, the QUOTE character, the NULL string, a carriage return, or line feed character, then the whole value is prefixed and suffixed by the QUOTE character, and any occurrence within the value of a QUOTE character or the ESCAPE character is preceded by the escape character.

https://www.postgresql.org/docs/current/sql-copy.html
My German bike experience is that the car drivers themselves are relaxed and yield out of courtesy.

Cars turning right at an intersection are an order of magnitude more dangerous.
Sometimes roundabouts are used to limit traffic speed, since you MUST slow down, while keeping the same flow (for the calculated traffic throughput). Maybe that was the purpose. Roundabouts are generally more expensive than intersections due to needing more land works and more land than a normal cross intersection.
Surprised as how such basic stuff gets "discovered" now and then. For all the toot of science, how come it took us that long to realise such a basic (in appearance at least I'm sure) fact ?
> It’s finding that optimal path (optimization problem) that’s not NP-complete.

I'm having some trouble with this. As far as I can see, finding a path of a given maximum length must be in NP, because it's very easy to deterministically verify that a given path has length no more than the maximum.

If determining the optimal path length is in NP, and identifying a path of that length is also in NP, how can determining an optimal path fail to be in NP?
By now, only Cortex-M serires are tested, but the transportation to RISC-V(ESP32C-x series for a start) platform has been added to future todo-list, since I've split the layer between hardware abstraction and software kernel into `vendor-hal` and `kernel`, along with the user application layer `user`.
Down voting parent because it is entirely unproductive -- combative, with no attempt to explain itself.
I don't see any research authored by Musk in your comment.

I, for one, am glad Nobel Prizes are generally awarded (Peace prize being an exception) for extraordinary, individual research contributions, and not to controversial billionaire entrepreneurs.
For those who were wondering, it is available more broadly [0] than it was when the article was written (2020).. 75+%, almost 85% on tracked desktop.

Containment spec, which `content-visibility` is built on top of, reaches around 95%, (98% mobile) [1].

[0]: https://caniuse.com/?search=content-visibility

[1] https://caniuse.com/css-containment
A turbo roundabout is directionally biased while "any roundabout" doesn't have to be. A turbo roundabout also does not allow u-turns which becomes quite the limitations for road systems wanting to utilize medians for left turn control.

E.g. a standard 2-lane by 2-lane roundabout intersection may just as well look like this https://i.imgur.com/jqhMxW4.jpeg. Note the entrance markings allowing all lanes to go straight with 1 alternative turn direction per lane choice, the exit markings allowing dual lane exits in all directions, and internal markings allowing u-turns (the roads in this case have medians farther out). It has some of the downsides you mention but also some upsides in exchange for allowing slightly more lane flexibility. Regardless, you're definitely not supposed to follow the turbo's rules in that roundabout.

Now you could "no true Scotsman" it and say all the other roundabout types aren't roundabouts because they are supposed to be like turbo roundabouts to be so... but that still leaves needing the distinction in types, for which everyone calls one a turbo roundabout and other variations different types of roundabout.
Really 3 points:

* This was long ago enough that PayPal wasn't _quite_ as famous for its practices.

* In Europe people generally assume that companies big and small won't try to fuck you over because there are usually repercussions. Apparently American companies are exempt.

* When trying to get sizeable donations for a moonshot hardware project with high risk of failure it's ideal if donating didn't involve entering an IBAN. (Although I think kickstarter wasn't considered because the project was so niche that there was no chance of hitting a "milestone" in a reasonable time and the approach was to use funds as they came in order to allow the project to make steady progress. The idea being that people who were unconvinced earlier might become convinced later and you'd slowly attract enough support as you progress the project. I think the incident pre-dates crowd supply.)
Having the control characters mixed in with the data, and having no defined encoding.
NFA == National Firearms Act

https://en.wikipedia.org/wiki/National_Firearms_Act
You're the 6th person so far to mention Hemel Hempstead; but it's a poor choice for a comment, because it's an extreme case. The normal and far more common occurrences of roundabouts in the U.K. support bane's point.

Indeed, the junction in the headlined article is a slight variation on a quite common U.K. junction type: the double mini-roundabout. We can point to loads of them, such as this one in Bridgeyate (https://www.openstreetmap.org/#map=19/51.457696/-2.462268) for just one random example.

All of the WSDOT's points, about how large vehicles traverse them and how they are shaped like that because the staggered junction or slightly askew cross-roads that they replaced has space restrictions, apply to double mini-roundabouts.

And as bane said, the research in the U.K. back in the 1970s when double mini-roundabouts were a new thing showed a significant reduction in accidents over the prior staggered junctions and askew crossroads, at less cost than enlarging the junctions.

So the response is not to perplex the United Statians with Hemel Hempstead, but to welcome them to the shiny new future of 1970s road systems. And perhaps warn them that by the 1990s the road markings will have become a bit worn and scuffed by all of the HGVs driving over the centre. (-:
Is HN's story age display messed up?
I see stories on the front page that are multiple days old, as you can see if you hover on the age, but their age is still shown as just a few hours. I've tried it with multiple browsers. Is it just me?
You're operating on different levels. Of course we know ASCII 10 is newline. The comment you're replying to is asking: yes but how does the CPU know that, when it runs the compiler? Obviously it sees the number 10 in the machine code. Where did that 10 come from - what is the provenance of that particular byte? It didn't come from the source code of the compiler, which just says \n, and it didn't come from the ASCII table, because that's just a reference document for humans, which the computer doesn't know about.
Extracting Training Data from Fine-Tuned Stable Diffusion Models
Im thinking a lot of those issues might be related to “smart” scraping which parses JavaScript. Could lean in to the bot and just make it easier for them to scrape by removing JavaScript from the websites.

I realize this is somewhat off-topic, but the big companies kind of destroyed the internet with all the JavaScript frameworks and whatnot.
That’s the purpose of the BBB, which breaks down in hypoxia and cell death.
similar one here, but with added lights
https://www.openstreetmap.org/#map=18/53.479432/-2.281970
> Look, yo clearly have no experience with this. No you don't. That's just made up.

Enjoy the reading:

https://europa.eu/youreurope/business/taxation/vat/cross-bor...

https://taxation-customs.ec.europa.eu/where-tax_en

That's a lot of conditions, rules, and exceptions depending on what you're trading and from where to where.

> You think states have uniform legislation in USA

They don't, but there's lots of overlap, especially in high level areas like healthcare.
I live in a boating town and there's a whole line of houseboats in one of the marinas, the others have plenty of boats that people seem to be living on board. No property taxes and the marinas always have bath/shower (and sometimes laundry) facilities; portable relatively efficient refrigerators now exist that can be either shore or battery powered, etc.

Undoubtedly, some of these rent storage facilities.
Sure, everything I've been dreaming about is to provide google with my habits info.
Genius.
I think sometimes these are accidental. When using HN on mobile, the up/down widget is so tiny that it's very easy to hit down when you mean to hit up.
…the secular cult.

There is a singular secular cult? Who are the members of it? More interestingly, are you suggesting a person who believes climate change is real can’t also believe in a religion?
Show HN: A simple image zoom component for React
This is great news!

I have switched my machines over to KDE for Wayland support and a bit better overall XP but still love XFCE for what it is.
Parts of 1.1 are pretty complicated if you try and implement them. Parts of it are simple.

The whole section on cache is "reality based," and it's only gotten worse as the years have moved on.

Anyway, back in the day Content-Length was one of the fields you were never supposed to trust. There's really no reason to trust it now, but I suppose you can use it as a hint to see amount of buffer you're supposed to allocate. But of course, the content length may exceed that length, which would mean that if you did it incorrectly you'd copy the incoming request data past the end of the buffer.

So even today, don't trust Content-Length.
Previous Show HN: https://news.ycombinator.com/item?id=40166498
You can hardly get higher quality code than what is generally available in Java, especially with their stability. Wrapping it to use the language conventions seems like a pretty solid choice to me.

The dev xp, I sorta agree on, but it has improved a lot.
Look at the numbers. Fewer people listen to the crappy DJs, payola music, annoying commercials, or hate-wing talk radio. Radio is dying.
Are you aware that the Kibbutzim have largely stopped doing that? Among other things it was found to be mentally damaging to the children. Even the ones that remained communal no longer have communal childrearing anymore.

Some context: https://en.wikipedia.org/wiki/Kibbutz_communal_child_rearing...

"Collective education can be regarded as a failure. The family as the basic social unit has not been abolished in kibbutzim. On the contrary, familistic trends have become stronger than ever, and kibbutz parents have reclaimed their rights to care for their own children. Collective education has not produced a new type of human being, and any differences found between adults raised on and off the kibbutz have been minimal."
Couldn’t you put the initial page in its own separate html, and load the rest as a long-running JS file using AJAX?
> The problem is that the mount is always a design constraint.

Yeah but this argument is the same as saying that it makes no sense to standardize on USB-C for chargers because requirements can change.
Or put that length in the response headers.
I guess that's exaggerated to proof that it works?
Not quite what you asked, but I know of why another really common set of micro organisms wasn’t noticed. Megaviruses, which rival bacteria in size, were only discovered in the last couple of decades. They’re everywhere. But when people would look for viruses they’d do so specifically by sorting matter in samples by size. So effectively by definition a virus would have to be small. We’d been looking at them under microscopes for over a hundred years but assumed they were inert particles.
> modern IDEs are nice on operating systems like windows

Nah, the turn of the century IDEs were better enough that almost all the text editors adopted the relevant feature.

We mostly do not have pure text editors like there were back then. There's nano, and notepad++, but on the traditional holdouts, vi became an IDE, and emacs, that was already an IDE turned into a multi-language one too.

That said, those features were compelling enough for every editor to adopt, but didn't change the picture enough so that people had no choice but to use them. It is still perfectly viable to not use the IDE features of your favorite editor.
Oh yeah, put the Content-Length after the content, when you know its size! /j
From my experience with making comments connecting guy problems to other illnesses, I think the issue is HN hates anecdotal reports and especially when it contradicts "science".

I put that in quotes because we barely study the microbiome as the root cause for many issues (incredibly difficult to isolate variables) and there's constantly reports of academic malfeasance. As time goes on we also see the microbiome is responsible in things like Alzheimer's and Parkinson's. But after every new discovery if you try to insinuate there's others, people will say "no no, it's just there's nothing else has to do with that"... intil the next discovery that was only found because they decided to actually invest money into researching it.
A four-way stop would be confusing for me, those don't exist in my country as far as I'm aware. I was also thought that a stop or yield sign means I'm on the side road and the other road implicitly has priority.
Roundabouts are incredible, offering throughput and safety benefits.

> the sheer lack of education around how to navigate one makes for a very unpleasant experience in most cases.

If we're talking about the United States, then the problem is the lack of driver education in general.
I think his point is that we should treat something given freely, charitably
The EU is designed so that democratic votes cannot override what the "executive" wants. Between quotes because it's the executive, the EU commission, not the EU parliament, that has legislative powers, as well as direct power over the judiciary. The EU commission, and council (which are the same people) hold ALL powers, legislative, executive and judiciary in the EU. The parliament cannot even start discussing a subject without asking the commission first.

It's frankly a miracle that it took so long.

Oh and this is by design, because the EU's existence has been put up for a vote 3 times now. 3 times the people of the EU voted against (first time indirectly, by electing and supporting Charles De Gaulle, second and third time directly. And that's being generous because in total there were more than 3 actual votes). So as you can imagine, being an organization that's been asked to disappear by voters 3 times now, they're ... how to put this ... not fans of elections anymore. Hell, the first vote against the EU involved the French state trying to execute the leader of the EU. Not once, twice (Robert Shuman was a Vichy Nazi collaborator, and the president of France was the guy who defeated the Nazis, as a president he was ... less than enthousiastic about "European unification" efforts by ex-Nazi collaborators for reasons that I imagine even your cat understands)

Of course the "statesmen" case to have the EU is pretty damn strong. It essentially boils down that in a world with China, Russia, US and the muslim block having separate small EU countries will lead to disaster. I imagine most people here will agree. But if history made one thing clear ... the EU citizenry really fucking damn doesn't want to.

So the EU has mechanisms to override democratic votes and they are VERY opposed to changing that, especially after the EU tried to "be more in line with democratic principles" in trade for more support and legitimacy, with the Lisbon treaty. The outcome of that boondoggle was yet another vote that the EU shouldn't exist, which of course means the EU now has less power, less support and less legitimacy. To add serious insult to brutal injury, as far as Brussels/Strasbourg is concerned, the list of misbehaving member states is now about half the total (meaning member states directly violating EU legislation. Examples: France, borders, Germany, borgers, Netherland, immigrants, Poland, judiciary reform, Hungary, uh, everything? Greece, budget + Turkey issues immigrants and Cyprus, Italy, immigrants, Spain, budget, Sweden and Switzerland, currency, UK, Brexit + Northern Ireland + customs union, ...)
There are different ways to run LLMs on multiple GPUs, one of them (called tensor parallelism) in low batch scenarios would be multiplying bandwidth between different GPUs. So no, 8 4090s is not 1000 GB/s.