skysight-inc/HackerNews huggingface dataset:
Googlers don't use Android
I suspect this might be seen as trolling, but why isn't there a standard lib of stuff like this?

surely it can't be beyond the wit of programming kind to have a standard lib, or even layers of standard lib for Node?

What is the argument for not having a standard lib, apart from download speed?
It's not illegal. It's product validation.

It would have been a fraud had Musk taken the money and disappeared into the Caribbean sunset. Which he did not.
The `scripting` @media query isn't very useful. If you want CSS that's in effect when the browser doesn't have JavaScript, you can put those styles inside <noscript>. More commonly, use JavaScript itself to add or remove a class that is used within the relevant selectors. Only using JavaScript itself is potentially effective when script-blocking extensions are used rather than JavaScript not being available at all.

`:has()` is very clever, powerful, and has been desired for a long time. However, even if someone figured out how to implement it twenty years ago, it probably still couldn't have been used for performance reasons.

CSS nesting may have also been infeasible for performance reasons.
Can a Turing machine simulate the human brain?
This is Apple blocking (some?) VPN apps from the App Store because [edit: probably] they're required to do so, something they've been doing for a while in some countries (eg: China, Russia).

And this is why I want to have the option to install whatever I want on my devices without needing to use the app store everyone uses. Not a very popular position among Apple users because everything must come only from the App Store for some reason, but when something like this happens, you have no alternatives.
If you find that exception-free code that is necessarily littered with exit value checks at every call, which discourages refactoring and adds massive noise, then you can call the decisions to eschew exceptions as “sane” and “clean”, but I find the resulting code to be neither. Or practically speaking, exit codes will often not be checked at all, or an error check will be omitted by mistake, thereby interrupting the entire intended error handling chain. Somehow that qualifies as a better outcome or more sane? Perhaps it is for a code base that is not changing (write-once) or is not expected to change (i.e. throwaway code written in “true microservice” style).
For some banks, Waydroid allows to run the banking app. If your bank forces you into the duopoly without giving a choice, you should complain or switch.
Lots of harmless books were banned and curiously the Bible is exempted, but OK there's no problem and it's not censorship.
It is almost useless because (1) it does not specify a term that should be zero by default and (2) it still requires another court to decide what "reasonable" means in each case, with the time and cost associated with boing to court.

A good ruling would be "by default zero time is allowed, ask a judge for exceptions when justified". If you release the person, release all their possessions at the same time. Need an exception? Make it the burden on police to convince a judge this is justified, not let it to the police to arbitrarily do whatever they want - like 14 months, now reduced to what, 13.9? (exaggeration for a good purpose).
A slow unraveling of the accumulated wealth of billionaires and corporations. Catch the falling knife with your strong hand. Be even better if the rich did it voluntarily.
thank you for your suggestions
I explored Zed on macOS when it was posted here previously, and my impression was that it was a fast and fully-featured editor.

However, it's not as ubiquitous on *nix systems as editors such as vi/vim. And for those of us who work with various infrastructures and deployment constraints, it's much easier to focus our efforts on an editor that is also ubiquitous. And vi/vim fits that mould.

In other words, while Zed is a vi-able alternative, I doubt most vi/vim users will switch to it exclusively.
For aviation there is the added advantage with fossil fuel that you burn it as you go. A battery stays the same weight. A 747 can burn 400 tons of fuel on a long haul flight. That makes the plane a lot lighter increasing range meaningfully.
at work? just shoot me then
The documentation is here and has better examples: https://docs.anthropic.com/en/docs/build-with-claude/prompt-...

tl;dr can cache system prompts, tools, and user messages (up to 4 total) with better returns on massive inputs such as documents.

The use case is more for client-facing applications that would hit the cache frequently rather than internal copilots.
It works fine for me in a clean profile, not using my normal one.

I think it's using some kind of feature I've got disabled, or resistFingerprinting is interfering, or maybe an addon or whatnot, but this is definitely a client side issue.
Just another +1 that if you’re going to give vscode a fair shot, it’s much better to go with vscode-neovim than the standard vim extension. You can even map most of your config right over.

E.g. (mine) https://github.com/tom-pollak/dotfiles/tree/master/nvim
What “Statically typed” would mean for SQL DB with extensible type system?
With citi bank I can cap the amount and set the expiration.
The loan lasts as long as your payables continue to average above $10k/month (or 30k in every rolling 3mo period). Businesses get into trouble when they have a short term disruption and suddenly their cash flow is impacted, then they have no more receivables and have to quickly come up with money to close out the payables. If they are already over leveraged or don't have creditworthiness then they can become insolvent.
I started using Zed in the last month and I had a feeling it would end up taking a lot of Neovim users. Neovim gets a lot of users who need better performance than VSCode, like me, but the config is such a pain and there was a gap in the market for a blazingly fast GUI editor which Zed looks like filling.

Supermaven still has some issues on Zed, but apart from that its been rock solid and ive fully switched from Neovim.
Complicated app settings are a threat to user privacy
The most famous example of this kind of use of eminent domain was the Kelo case which went to the Supreme Court. By 5-4 the court rules it was permissible to use eminent domain to get the land to build a campus for Pfizer. (The majority was Stevens, Kennedy, Souter, Ginsburg, and Breyer.)

As Justice Sandra Day O’Connor wrote “The specter of condemnation hangs over all property. Nothing is to prevent the State from replacing any Motel 6 with a Ritz-Carlton, any home with a shopping mall, or any farm with a factory.”

After all of this, the land didn't get built into a corporate campus:

>...For nearly 20 years since the ruling, the entire Fort Trumbull neighborhood remained a vacant lot after being bulldozed by the city; a neighborhood once teeming with families who resided there for generations was home only to weeds and feral cats. The economic development the city promised the U.S. Supreme Court would materialize—if only the government could get its hands on the land—never materialized, even after spending more than $80 million in taxpayer money.

https://en.wikipedia.org/wiki/Kelo_v._City_of_New_London
https://ij.org/case/kelo/
Yeah, people putting MacOS-specific files that have no relation to the codebase in the .gitignore should stop.
The rich SV bubble is actually the most restrictive because they build the dangr and understand it. The C-suite at FAANG and friends don't let their kids have nearly as much time on screens as Alabama trailer park families do.
Direct link to the feature referenced: https://docs.anthropic.com/en/docs/build-with-claude/prompt-...
Thanks for the explanation! Do you see auto-optimization as something that is useful for every use case or just some? And what determines when this is useful vs not?
Do we know all the states of the human brain?
Everybody wants a benevolent dictator to take care of things for them until they are victims of power abuse for an edge case they didn't predict yet was inevitable.
it can search & apply for jobs on any platform. we've tested it on linkedin & wellfound. it also works in cases where the actual application is on a separate company page. the agent starts controlling the newly opened application tab in those cases.
Disagree.

Many projects may want to commit IDE files. Ignoring them globally is simply wrong.
To add to what sibling commenters have said, you can also configure this extension to use a specific Neovim binary on your system, and you can also configure it to use/load the same Neovim config you use when you use Neovim in the terminal. That's what I do.

It's really the better (Neo)?vim extension in my opinion, but it has a lot less installs than the other popular extension, called just "Vim" (6.656M installs vs. 400K installs) that extension AFAIK actually emulates Vim in JavaScript, I used it for about a year in 2018, before the other extension "VSCode Neovim" was released in 2019 and remember not having a good experience using it then (to compare, the extension "Vim" was released in Nov. 2015).
You should take a look at how they dumped the earlier waste. It’s not something I’ve seen mentioned in these discussions: https://amp.dw.com/en/germanys-leaking-nuclear-waste-dump/vi...

After learning about Asse I totally understand why the Germans are so negative to nuclear energy. It’s not just Chernobyl that scarred them.
How does the TLS work with multiple aircraft landing at once? With ILS, the signal broadcast is static but it seems like it will now be per aircraft.
A project manager or bizdev person writes, rewrites, and rewrites again the document they produce do they not? Or do they write the perfect document at first go?
The Amiga crowd is probably the main reason m68k is still supported at all. It's a neat architecture but basically all of the hardware is out of production and has specifications which are untenable for a modern Linux system (<50 MHz, <256 MB RAM).
Why don't people just copypasta the library into their codebase with the license header intact and keep it out of npm
I'm reminded a bit of http://halfbakery.com
If you already have node and npm installed, and are happy running random binaries from the internet, you can `npx magic-wormhole` to run this without any further setup. It just wraps wormhole-william, which is the go implementation of magic-wormhole.

I put it on npm primarily so I could send things to other JS developers an absolute minimum of fuss: one command, total, instead of installing a tool and then running the command.
Does the pg_duckdb extension double-write data to DuckDB? I skimmed the blog post and didn't understand if the extension adds some capabilities to Postgres, or just makes it easier to maintain a consistent data model across two database engines.
I have nothing against Cambodia. I posted these links because of the Chinese mafia connection. The latter will move to another country and lure people desperate for jobs (Indians to scam Indians, Chinese to scam fellow countrymen).
After the news about VPN apps removed from the App Store in Russia, the writing was on the wall: The current tech companies have become an enforcement agency of the state they operate in.

I'm pretty happy with Apple's walled garden but IMHO the risk is too high to run the society on infrastructure that can be used to fully control the communications and individual ability of people on press of a button.

I fully expect the US to learn their lesson after the US elections this year, either pro-Trump or the anti-Trump folks will learn their lesson the hard way.

Whenever there's the technical ability, someone will want to use it. That's also why all the governments want to listen to our conversations and access our data, they are also always well intentioned(in their mind the solution to stop the bad people is just a click away, how can you deny this?). The problem is of course, either someone will get corrupted and use this to do something horrible(tech designed to save the children will be used to target people) or people will disagree on what's what's the right thing to do and the tech will be used to destroy them(decisions on something will be met with protests and the tech will be used to silence/cancel/catch/demoralize/block communication etc).

I'm afraid the world will go through a techno-fascism stage.
yes exactly! then we end up with every IDE, operating system and dev tools (which is a lot)
You both have very nice game engines.
Here is a simple use-case that comes to mind.
Let's say you have a medium-size repository, such that all the source files can fit in the context. You want to use Claude as an advanced auto-complete in a certain file, but it's important that it has visibility to other files in the repo.

You can put all the other source files in an initial system message and the current file in the user message. Then, if you call multiple autocompletes within 5 minutes of each other, you pay a drastically reduced price for including all of the other files in the context. Also, the latency is much reduced!

Yes, you could probably get a similar outcome by incorporating RAG, search tools etc to the autocomplete, but as a simple approach with fewer moving parts, the caching will reduce costs for this setup.
Whenever you hear about two companies merging and laying off thousands of staff, maybe it’s time to stop letting that happen.

Meanwhile, the HN zeitgeist complains about Tesla not being allowed to sell cars directly to consumer.

Having lots of independent dealers is a job creation feature, not a bug. Dozens of industries in America have the same regulation.

Not everything should be maximally efficient, especially if it reduces competition.
If a modern computer can simulate the human brain then the Turing machine can simulate the human brain.
The Development and Impact of HouseCal in the U.S. House of Representatives
Original title "Modernising Legislative Scheduling: The Development and Impact of HouseCal in the U.S. House of Representatives" condensed to stay within title limits.
I did not open the site, but unless there's a list of names, preferrably with portraits & clear captions (e.g. "FName Lname, X billions made, from Y definition surveillance / other evils of Z humans") no blame campaign will be effective.

In fact, I would laugh at my (hypothetical) company ending up in list like this; now the blame will be targeted at a non-natural person completely under control (muhahaha).

It'd be cool to make a bunch of algorithm of how much sins publicly known humans have committed.

It would work like this:

Select EG (1) Sharia law (2) Bible (3) Human rights (4) Pain experienced, shimp-saver style.

Then you get at how much sin they've caused!

One could probably even use Wikipedia as source, and get rather far with this.

There's overall absolutely unreasonably little blame of rich humans: how much is the amount of serial killers times their average victim count divided by amount of deaths caused by averaged indirect killings of polluting investors? How come you only know the names of the killers?

Spoiler:

Because humans are evolved to react to violence but not paper leading to violence & Because no established political systems disconnects wealth from political power.
How do I provide the path to my resume?
oh wow, really! why? sounds like a horrible project, imagine those git conflicts

can you elaborate on why they would want to commit IDE generated files? I have only seen this in legacy projects

what happens if people want to use different IDEs?
Problems listed in the article:

> Everyone uses different operating systems, IDEs and dev tools.

How is this related to .gitignore?

> This list will only keep growing, it will never end

Where's the problem? A random Facebook's repo has its gitignore file weigh 2KB[0]. Is this a problem?

> Is the “.gitignore” file competing with the “README.md” for the most updated file in the git repo? I hope not

Again, why is this a bad thing?

The author just wanted to rant about something but didn't know about what

*[0] https://github.com/facebook/facebook-ios-sdk/blob/main/.giti...
Being honest, I dislike the tone of this sort of clickbaity rephrasing of the article title. The actual title is "You must use your Global Git Ignore!" which is completely true; the nuanced observation from the article "Using the git ignore feature is great but it has limitations, which is why I think this file is overused and often incorrectly" is a worthwhile hook, and presented thoughtfully.

The title "Stop Using Git Ignore", which the author of the blog post chose for this submission, doesn't represent his actual article well, though it probably gets more upvotes on Hacker News. I wish he'd presented the article more accurately, as it's a worthwhile observation that, for example, we probably have so many .DS_Store files and .vscode/.idea directories that defining them once will save us some hassle.
I think the JS library ecosystem is a debacle, but there's really only one point in this post that grabbed me:

"Would future updates be useful? No. The library is so simple that any change to the logic would be breaking, and it is already clear that there are no bugs."

Maybe what you want is a library ecosystem where things can be marked "this will never change". Something crazy happens and you actually need to update "is-number"? Rename it.

Of course, you can simulate that with a single large omnibus dependency that everyone can trust that pulls all these silly micro-libraries in verbatim.
The darkest red areas are significantly worse, 1 in 210 in some spots.
That is how European Union directives and regulations are written, as it happens. The 'recitals' outline the general aims of the legislation, acting as a sort of preamble.

> The recitals are legally non-binding. However, the recitals can be relevant. Courts often use the recitals to interpret a particular – legally binding – provision of EU legislation, especially if multiple interpretations of a certain provision are possible.

From https://eulawanalysis.blogspot.com/p/how-to-read-eu-legislat...
"Digital native" is more a marketing term than anything else, and because of the age group it referred to, it ended up meaning the opposite of what was originally intended: it's people who didn't experience technology's growing pains, only the simple slick interfaces, and so don't really understand how it works.
Why is it a problem to have a long .gitignore?
Goldman Sachs CIO on How the Bank Is Using AI [audio]
I'll point out that bad judging can always move the goalposts of what 'well-written intent' is.
I tried leaving vim for Helix but turns out it's not curated at my employer's site so I'm back to using vim. Zed would be even worse considering it's a desktop app.

There is the option of using vscode but I'm one of those aliens who absolutely dislike that program.
Rust Result is basically a checked exception. Java makes you choose between adding an exception to "throws" or catching it, Rust makes you choose between declaring your function as returning Result or checking if you got an Err.

The only difference is that Rust has better syntactic sugar for the latter, but Result is really isomorphic to Java checked exceptions.

Panic could be said to be the same as an unchecked exception, except you have a lot more control on what causes them. The panic you get from calling unwrap() on an Option is the same as a NullPointerException, but you have full control on which points of the program that can generate it.
Why does prompt caching reduce costs? I'm assuming that the primary cost driver is GPU/TPU FLOPS, as opposed to any network / storage / etc costs.

My understanding is that an LLM will take in the stream of text, tokenize it (can be faster with caching, sure, but it's a minor drop in the bucket), then run a transformer on the entire sequence. You can't just cache the output of a transformer on a prefix to reduce workload.
> Why is anybody troubled by the waste then?

Greenpeace had a point back in 1970-ies, but the message got into a myth and subsequent advancements in technology have not been popularized enough to change the public perception.
I would argue that "They should either be copy-pasted into your codebase" would cause more code liabilities and maintenance required further down the line. I've personally seen codebases with a ton of custom code, copy-pasted code, inspired implementations before and it was horrible to get them up to speed with the latest functionality / best practices. I agree that having too many micro-libraries might not be beneficial though, but perhaps look for larger, more well-established libraries that encompasses those functionalities :)
A functioning congress could make laws regulating this.

But as things are, we have wait for some random court case to bubble up.
Podcast on API Design with James Higgenbotham [audio]
> Something that substitutes the effect of "one spouse works, one spouse stays home" but without the sexism this time

This more or less only existed in the upper classes and for a brief few decades after ww2 when global economy was growing fast fueled by recovery.

Lower classes never had this. Read some Dickens — all the women have full time jobs. Read some post-ww2 communist stuff – all women are expected to work. Even before industrialization women worked on subsistence farms right alongside their husbands.

Peasant and working class women have always had jobs.

I remember a discovery channel documentary about Victorian life and it had this fun line: While the doctors debated if exercise is healthy for women, the women working in their kitchens were throwing around 50L pots of water (50kg) all day like it’s nothing.
Personalise? I think not, in fact they should avoid that POV.
Modern scripted education programs ask questions and sort the answers as to correctness. Correct is often confirmed by a confirmation question. Errors are also confirmed and a brief explanation of the error followed by the correct answer.
These teaching programs are a detailed Q&A sieve so students proceed through the sieve by being correct, repeated re-entrant paths direct those with wrong answers through correction loops that get progressively more basic as the basic error state is identified. One hardly needs people unless obdurate students simply refuse to answer anything = a person is tasked to find out the problem, These usually have a 15-20 minute pause for water/toilet/computer game reward etc.
Some might want to sprinkle the 'AI' buzzword around to get press coverage?
Over the summer I got an interest in Kakoune and Helix and discovered a number of extensions for VSCode that enable modal editing(1), but not VIM-style per default. I got excited about this and ended up writing my own extension instead.

At this point, it supports most of the VIM subset that I care about, and I have added a number of new motions and modes that do clever things based on the AST. I am kicking myself for not doing this sooner and I think I need to write up a blog post about it. It's surprisingly easy.

1. e.g. https://marketplace.visualstudio.com/items?itemName=DCsunset...
Most of them, really. Both steam and discord are readily available in package managers.
My pleasure! I don't plan on writing any more math textbooks.

I had fun writing them and I'm glad that they are making a positive impact, but since then I've been consumed by my work on Math Academy, which I find even more fun/impactful. (We do have a Methods of Proof course out, which is many times more scaffolded, refined, comprehensive, and generally instructionally superior to any textbook I could write independently, not to mention it's adaptive.)

So, long story short, I enjoyed writing those textbooks and am glad they're seeing the light of day, but I've moved on to a new chapter of life and don't plan on writing any more math books in the future (with the possible exception of something super niche like the math behind maximizing learning efficiency in hierarchical knowledge structures).