skysight-inc/HackerNews huggingface dataset:
I believe the confusing bit is that it's not an NPM thing, it's a create-react-app thing. create-react-app is a helper tool for, as the name says, creating React applications and doing a bunch of things out of the box. Occasionally you reach the point where you need to do something more complex than create-react-app can handle for you. In that case, you run the "eject" script in the generated app (using "npm run" as the runner), which removes create-react-app's automatic build dependency from your project and sets it up as if you had put together all the pieces by hand. But create-react-app still works, for the most part.

(In this context, I think what is being "ejected" is the build dependency automatically added by create-react-app.)

I don't think it's a perfect analogy, but I see what the author is getting at - you need to break the abstraction of some packaging tool, but you want the functionality it provided to still work as well as possible.
It seems like a great way to filter out any functional adult who doesn’t want to read junior high, 4chan style edge lord rantings. I have far better things to do with my time then listen to a billionaire say “retard” because he thinks it makes him rebellious (when it really just makes him look like an ignorant and immature fool).
I honestly did wonder if it was done for that reason.

It's a fascinating interview with any number of interesting topics to discuss. But it seems like the interviewer went out of his way to offend up front. I figure that's mostly his brand or something (I have no clue who he is), but based on the comments here it certainly did filter people out.
> Can't wait for [...] gmail [...] to have paywalls

With my mail service, I pay 1€ per month for my mailbox (on a pre-paid model where I deposit 20€ at a time into my account and get reminded when the balance runs low). That's a price that I gladly pay for the benefit of knowing that I'm actually the customer.
This was the same author that wrote about the Uber iOS YOLO recently [0], without cursing Travis Kalanick.

I somehow missed the second half of the title (with the word "quit") and I was worried he was again getting into a situation where he was doing a lot of heavy lifting for a company that was ultimately taking advantage of its contributors.

Glad to see he dumped Plato.

[0] https://news.ycombinator.com/item?id=27267368
So, how does Guix compare to Nix in 2021 for the average user (who does not want to spend all their time on package management)?
There's some work to be done to make all functions parallelizeable. After that it gets harder. For large scale raster analysis, moving the processing closer to the data becomes paramount. I feel like purpose-built raster processing will always be better. Maybe something with FDW or other client/service architecture, where the database sends off the request and the bulk processing happens close to the data. Also, the row-based model of SQL sort of breaks down against raster where the model expects much much larger objects and presenting the tiled-up model to users just adds complexity without getting back performance or flexibility in return.
Another benefit of using sequential integers is that you can leverage a number of optimizations.

For one thing you can represent a range of data more efficiently by just storing offsets. This means that instead of having to store a 'start' and 'end' at 8 + 8 bytes you can store something like 'start' and 'offset', where offset could be based on your window size, like 2 bytes.

You can leverage those offsets in metadata too. For example, I could cache something like 'rows (N..N+Offset) all have field X set to null' or some such thing. Now I can query my cache for a given value and avoid the db lookup, but I can also store way more data in the cache since I can encode ranges. Obviously which things you cache are going to be data dependent.

Sequential ints make great external indexes for this reason. Maybe I tombstone rows in big chunks to some other data store - again, I can just encode that as a range, and then given a lookup within that range I know to look in the other datastore. With a uuid approach I'd have to tombstone each row individually.

These aren't universal optimizations but if you can leverage them they can be significant.
The Teachings of Chairman Cao (2019)
Unfortunately, Nix breaks my CUDA/NVidia support.
Not really. You should develop better tooling to visualize debugging information. Today's serious systems (this in my opinion includes e.g. collaborative rich text editors) are just too complicated to just eyeball. Pavel, a colleague of mine is developing a new collaborative rich text editor for OrgPad and here is, how we do some testing currently https://www.youtube.com/watch?v=VeVcNmNFzmc
We use UUIDs for basically everything. It is simple, we have good tools for working with UUIDs. When we present any IDs to users, those are URL-safe BASE64 encoded UUIDs. In some places, we have "short" links that are about half the length - they cannot really be guessed but are much shorter to type/ Copy&Paste/ visually compare for our customers, who are not always super computer literate. :-)
I used to love Hugo! Always called the station as a kid hoping I get to play with my phone keypad.
I don't. Immigrants and emigrants are the same just seen from different perspectives, with migrants describing both.

Please note that general dictionaries are always a poor source when discussing word definitions. Their aim is to clarify word usage, not to define terms.

Wiktionary is also sadly of garbage quality, and I say that as a former very active wiktionary editor.
> What do you think we need to do?

Generally speaking: reduce child mortality (better health care), urbanize/industrialize, educate women.

Every country that has done with over the last ~200 years has seen a drop in fertility rates.
I recently learned that - at least in theory - in Norway a police officer can not expect to be believed in court just because he is a police officer.

This was new to me and I'm not sure but I think I might have heard that it was because of some case in the 70ies or something.
Incentivizing investment is generally better from a national prosperity and power point of view in spite of the waste it creates.

Wealth is a verb, not a noun. The wealth of nations is measured in how much they do, not how much they have.

The US arguably defeated the USSR via looser monetary policy. China is now doing the same to the US.
Reminds me of this:

Cops put GPS tracker on man’s car, charge him with theft for removing it

https://arstechnica.com/tech-policy/2019/11/man-charged-with...
I think the issue is taking the tracker inside your garage/house where the police can track it (it is a tracker after all) while in your possession. A better approach would be to pull over into the shoulder on the highway, remove it there, leave it on the side of the road, and drive off. Then if they want it they can drive out to go get it. "Sorry officer, it must've just fallen off my car while I was driving."
Are we sure this is the most expensive? I would guess the number which represents the bit pattern of a Windows 10 iso cost Microsoft more than $1.5 billion to find. I am sure you can find other examples of numbers that were expensive to find.
Top Startup Trends (2021-2025)
I use a ulid[1] as a uuidv4 replacement:

https://github.com/ulid/spec
Agreed to that point.
Git: How to create !useless Pull Requests
> she didn't know what it was and was concerned it might be a bomb. Given that someone has attached a device to your car without informing you of the intent of that device I think it's perfectly fair to destroy the device

Fair? Yes. It's 100% fair as far as I'm concerned.

But rational? If I thought I found a bomb, I'd be running as fast as I could from it, then once I was a hundred meters away at least, I'd call the bomb squad. Trying to destroy the bomb myself sounds like a momentously stupid idea for a number of reasons. Foremost being, what if this homemade bomb with potentially unstable explosives goes off in my face? Or what if it's remote controlled and the bombman pulls the trigger once I start messing with it? Or what if I successfully destroy the bomb myself.... what do I tell the cops and my neighbors? That I blew up a bomb but it wasn't my bomb? How many weeks would I spend in jail before my lawyer manages to convince everybody that I didn't make the bomb I blew up and for some reason I never thought to call the bomb squad? I think an unlucky man might end up in prison for many years if he did that.
Of course.

There's no interest in why NOT to do something with all this data that has had storage spend allocated to hold it. That's leaving dollars on the table.
Aircraft have a smallish safety factor, because of the weight. They make up for it with much more careful design, manufacture, and maintenance along with frequent inspections.
There's a category difference here. Ownership is a social construct in a way that pi isn't.
When you have a team that already know the out and ins of Kubernetes it's easier to just use something that has all the integrations you need locally, certs, end points, firewall. Especially when you are not allowed to install things on your local machine.
Classification Models and Thresholds
Usually they can be restricted to specific folders, e.g. music, video, photos.
I sure hope so. But of course everyone invested in Bitcoin, dogecoin, and the others have a vested interest in that never becoming the thing to do. The ones with the mining factories are going to try to prevent this, since it's their competitive advantage.

But even if that happens (and it would be great), there's still everything else: https://news.ycombinator.com/item?id=27345786
Plenty here in the UK. Here’s the best known: https://en.wikipedia.org/wiki/Pontcysyllte_Aqueduct - the highest in the world and a UNESCO World Heritage Site.
Show HN: Swift Array Method Cheatsheet
I have to admit I was quite happy to use sqlite/spatialite and load actual map data into it, it was not easy but manageable.

I'm really looking forward making explorable a 3D world and cities from GIS data, it seems like it's quite ambitious and there are people already doing it, but for gaming it would mean having a very large world and require less 3D artists.
A popular discord community, a good mix of experienced people with a bunch of beginners: https://theprogrammershangout.com/
I don't think the Supreme Court ruling draws this conclusion. All it contends is that an individual cannot be charged of theft if the individual did not know that they were stealing in the first place. The ruling leaves the door open to charge the individual with a different crime (failure to comply with a warrant) or even civil proceedings.

You are making a "if I own the wallet, I also own its contents" argument. It doesn't fly unfortunately, and for that matter has never flown. Possession isn't the same as ownership. This is even more so true if you have knowledge of the source of the contents. How else would we catch thieves if it were?
That may very well be. I am arguing against GGGP's implied point that is an inherently bad move to sell an (unproven, untested, undeveloped) idea for $100k. My argument is sustained by the general accepted worldwide idea market value and the very observation that the idea owner, the one that must have been the best informed about said value of that idea, decided to sell.

In short, I am saying: "He must have known better than us dumb commenters on the Internet, we must respect his decision, he could've done a lot worse."

What point are you arguing?
I believe that's just for a property of a page, not the actual pages body content. But that's good that you can update the pages properties.
Aurora: An operating system that takes care of persistence [pdf]
Being able to snapshot an application's (process) memory creates nice possibilities.
Show HN: HTML/EJS Templates Playground
It makes sense that mounting a volume requires understanding a user mapping tbh. I think the answer is twofold:

a) Many problems solvable with a volume can be solved with a bind-mount, cache-mount, etc [0].

b) In the event that you actually need to map in a user-file, wrap the docker command in a script that manages the logic. At this point you're writing a system tool that's doing things outside of the context of a container - it's not really docker's fault that it doesn't try to make this trivial.

[0] https://vsupalov.com/buildkit-cache-mount-dockerfile/
What is the non-irony-poisoned translation of that paragraph that I'm meant to accept as the serious interpretation?
Two New Laws Restrict Police Use of DNA Search Method
> For example, across the Rust Belt in the US, probably someone could buy a house for $10k or an entire block of homes for dirt cheap

In 2021?

> Maybe I'm wrong, but I would bet even if someone from a city like San Fran, LA, or NY took a deal to live in (e.g.) rural Missouri in a $500 house, they wouldn't be able to last 2-3 years before going stir-crazy.

According to zillow, uninhabitable \ barely habitable wood frame homes requiring substantial repairs still sell for about $30,000 in rural Missouri.
Yes, but you need to be able to bond glass to the alloy (note the color shift in that housekeeper's seal), and nickel alloys like kovar tend to have a really high magnetic permeability, limiting their application in experiments that need highly controlled magnetic fields.
Hi

I just wanted to share a tool that I am working on to edit HTML/EJS templates on the browser.

You can edit a EJS template and also the style, pre/post javascript and some page configurations.

I use it a lot on my projects for quick snips, I hope that this will be useful for you as well.

Let me know any feedback!
https://en.wikipedia.org/wiki/Execution_van

PRC does not deny they exist, nor denies that organs are harvested after. There are pictures of them online, and notable cases where it was the officially recorded method of execution.
Long Term Software Developer to develop a hard product
We're looking to license a product and need a software developer to build the product. Once the product is built, we'll be able to sell it within our network and we're confident that we'll be able to license the products to many users. The product is hard to build as the product will be dealing with anti-bot but if you're interested in creating a startup, then please send us a message on Telegram @cozytron
> mock and patch any class (or applicable) of the running instance of the program without modifying your code

Why is it important for the sake of testing to be able to alter the runtime behaviour externally without changing the code? This is contrary to all TDD literature I've read which advises to make production code easy to test, e.g., by coding against interfaces. After all, something being hard to test is exactly the feedback you're looking for when doing Test Driven Design. If it's hard to test, it's probably too tightly-coupled.

> tell me if a method was executed or not

Spies are possible with e.g. the ReaderT pattern.

> intercepting all HTTP requests without changes

My earlier two points are applicable here too, although I'll add type classes as another viable solution.

> have complex assertion partially matching objects

Pretty easy with lenses or just making assertions against record field lookups.

> factories

I don't know what this means. I looked at several articles describing some kind of factory pattern in TDD — all of which were horrifically verbose — and all I can glean from that is we are talking about mocking some function which generates objects.

> change the current time

This is no different from mocking other system boundaries, which I have already addressed.

> I could add a lot more here

You're welcome to, and I imagine my suggested solutions will continue to follow a theme. I'm not sure you're here to have your mind changed though. It seems you've reached your conclusion already.
Off-topic question about Nix. I understand it works by redirecting symlinks from, say, one version of a package's files to another.

Isn't there a race-condition here -- like if I invoke a program at the wrong time while it's in the process of changing symlinks, could it pick up the wrong libraries or something? Does Linux OS allow a "changeset" of files to be locked and altered together in a batch, or anything like that?
"Kill facebook" might be a tad hyperbolic for a company which basically prints money. "Facebook might be forced to get a haircut on mobile revenue" might be more accurate
This is a complete aside:

What do you define a "darwininan" as? What about that definition are you opposed to? What would you define yourself as? And what is the definition of that thing?
Projects and channels that have decided to leave Freenode
I thought they had a liquid center.
One complication is that sinking a US carrier would likely trigger nuclear retaliation. Even if the enemy is in a good position to do so, that will make them think twice.
I get what you're saying. You think I'm the typical crypto "bro" fleeing the scene as soon as some evidence need to be produced.

I'm not a crypto bro, so I don't need to defend the case for crypto. 6 months ago I was in exactly the same spot as most people here dismissing the industry as a whole.

Admittedly, largely based on hear-say and the mainstream narrative. Not by actually knowing anything about it. After taking a deep dive I've changed my mind on some aspects, but not all. I would not agree with my past self, I was ignorant.

Even if you do study it deeply and still conclude it's all garbage, it's an intellectually fascinating journey. You get to learn a lot about history, human psychology, our financial system, politics, trading...basically how the world works.

Interesting stuff to debate, but this is not the place. Fine.
Minimum Viable Population
We have a bunch. I live within 5 km of four of them. They make a lot of sense in a flat country.
Under GDPR they cannot do this in Europe. You're only allowed to deny the user the experience of the app if the basic service cannot be met without collecting the user's data (i.e. location data for a turn-by-turn direction app)
Ask HN: Website providing free services through FLOSS
Hi,

Do you know about websites that provide a collection of free to use services using Open source software?
FDR goaded Japan into that attack by cutting off their oil and suppressed intelligence about the impending attack to ensure a decisive entry into WWII over the opposition of 90% of the American public. Having political leadership so opposed to the will of the people is a state US 'democracy' seems perpetually unable to end, re Iraq, Vietnam, WWI, WWII etc. Hearing US lecture governments that fight on behalf of their people instead of manipulating them into war would be a national embarrassment if Americans weren't firmly ensconced in their pro-US empire media bubble.

PS: FDR began sending supplies to the USSR before pear harbor despite its mass murder and atrocities across Eurasia and extreme unpopularity of the Soviet government with the US public. The embargo with Japan was made for geopolitical reasons and any "humanitarian" argument is post hoc.

EDIT: Remarkably, President Herbert Hoover remained politically active in the post-FDR media landscape and his account of the events and of FDRs actions leaves little room for doubt about FDRs aims in his foreign policy with Japan.

https://www.hoover.org/research/freedom-betrayed-herbert-hoo...
I don't think a lot of the argument that integer IDs reveal too much.

Yes, they are guessable but your application should not rely solely on the "secrecy" of the ID to authorize access to a record. If you are worried about someone crawling your public API with wget or curl and an incrementing counter you should re-think whether your data are really public or not, or maybe rate-limit anonymous users, etc.

They also reveal something about the total number of records in your database, I guess that could matter in some contexts but it's never really been an issue in practice for me.

I have definitely used the technique of defining non-overlapping sequences in different shards (with Oracle, not Postgres, but they are very similar in this regard). It worked very well and was easy to reason about.

As a developer, the big issue I have with UUIDs is that they are impossible to read or type. You have to copy/paste and it isn't easy to look at two UUIDs and tell if they are different.

I use integers in general unless the specific use case demands something else.
Lucas himself has stated that although science fiction inspired him to create these stories, Star Wars is indeed not science fiction but rather science fantasy:

https://scifi.stackexchange.com/questions/46481/did-george-l...

Because all the stories are " a long, long time ago in a galaxy far, far away," it's not even clear if Luke and the gang are humans or some other species. Of course it's easy to think of them as humans, and most people do, but it's not necessary. This ambiguity is also by design.
> My feeling is that big military exercises is a exercise in logistics foremost.

Varies. Getting people familiar with command and control procedures is a key theme.

In the UK, 'Army HQ' manages the process of ensuring that forces are ready for operations - which is where the training happens. When the country deploys troops on an operation, various units and sub-units are assembled into a mission-specific force which is ultimately under the control of a Joint Task Force HQ, not the Army's peacetime HQ. Exercises are a key part of the peacetime 'readiness cycle' through which the various force elements are prepared for ops. An exercise might test the staff of a battlegroup HQ to receive orders from a Brigade HQ ('Higher Control' in exercise-speak) and in turn generate orders that are given to its constituent sub-unit HQs. Such an exercise might last for a week and have separate phases for Planning and Execution activities. The different HQ elements need this type of training because the precise mission-specific C2 arrangements simply don't exist when the forces are in their peace-time barracks.

Logistics are entirely simulated in such an exercise so that you don't need half the army around to train 50-100 staff. In fact there is such a thing as a Tactical Exercise Without Troops that totally focusses on HQ processes so as to avoid wasting the troops' time while the staff in the exercising HQ get their act together.

Field exercises using laser-simulated weapons might involve 'last mile' logistics activities but there is no way they will involve the complex logistics supply chains of a real deployed force.
When I was very young, during the early 80s, we had the concept of pirate cable stations. A guy would knock on the door, sign you up (i.e., take a cash payment every month). They then put actual cables from building to building, wiring each flat directly. Then they simply broadcast VHS films they rent rented from the video store. They used a Commodore 64 to type in the film list of the day. Because their signal source was directly wired to all of our's we had to wait for them to type in the film list, watch them make mistakes, correct them etc. I don't think anyone thought twice about the dodgy legality of this. It was just a thing everyone did. And it was the 80s. Lots of things were accepted then.
But hacking is up!
The orchestration tool does not provide any additional functionality to fix this problem, it's up to the container execution environment, and today's container execution environments have no way (that I am aware of) to natively map file permissions outside of the container.

It could be I just haven't dug enough into the kernel internals, maybe there is a transparent permissions remapping thing. But something would absolutely have to map permissions. Otherwise there is no way to use filesystem ownership between execution environments without them using conflicting UID/GIDs, to say nothing of changing the file perms.
The interviewer has an interesting interview with Glenn Greenwald as well: https://niccolo.substack.com/p/the-kinshasa-interviews-glenn...
U.S. Plans Crypto Crackdown