skysight-inc/HackerNews huggingface dataset:
To answer that, I think you’d first need to define what “putting my Nix config in e.g. a Dockerfile” means.

Do you mean using a Dockerfile to run a Nix package build, embedding the resulting files (and transitive dependencies) in the image file? If so, this objectively superior in several ways: 1) only one copy of any package exists on disk: the one in the Nix store, instead of multiple images having independent copies. 2) Related to this de-duplication, it will be faster to go from pristine host (virtual machine, dev machine, whatever) to having containers up and running, as you no longer have bulky images to transfer over the network. 3) I haven’t looked at the finer details, but I’m pretty sure this means that the host can build the required packages once, meaning better caching — instead of multiple Dockerfiles rebuilding the same packages, the host builds once and all dependent containers get use the host’s Nix store, again without any copying of files involved.

Edit:

From hinshun’s comment above, point #3 is incorrect — either the host’s Nix store would need a copy already present, or the package would need to be available in a remote store/cache. Even with that correction, you still avoid redundant package builds — either the package is available remotely/locally, or the image fetch fails — so things are still only ever built once :)
It's not explicitly demonstrated, but the Revalidating Data example (https://nextjs.org/docs/app/building-your-application/data-f...) would do it - calling revalidatePath/revalidateTag from a Server Action will (if the current route matches the path/tag) cause the route to get re-rendered as part of the same round trip.
Yes, it's amazing how bike advocates view the world as a homogenous place.

Where I live it's 90 degrees or higher, and humid in the summer, and can be sub-zero in the winter. It's also quite hilly -- flat and level riding is the exception. I'm not riding a bike any substantial distance in those conditions, regardless of paths or lanes.
UK to rejoin EU Horizon research programme
Yeah, fix the voting system to allow ranked choices and you'll find third parties doing a lot better. Until that voting third parties is sadly irrational until one of the top two parties becomes dominant, at which point switching out the party in second becomes potentially feasible.
The only system that can ever have literally 0% unemployment is slavery.

If humans have choice, some will always choose to quit their jobs on any given day.

So the situation you're describing is nonsensical; it's incoherent to try to extrapolate what it would mean because the premises are incoherent.
May 2023, "US CDC sets first federal target for ventilation of indoor air to lower risk", https://news.ycombinator.com/item?id=36238958
> Such as, the most capitalist countries would be the first to fall to communism

He has so far been right in that, insofar as there is any progress in that direction, in that the progress from the capitalism Marx wrote about to the modern mixed economy in the advanced economies is an evolution toward communism implementing several of the elements of the program Marx laid out for the early stages of such a transition. The Leninist attempt to bypass market capitalism on the road to communism consistently, everywhere attempted, either got stuck in state capitalism durably, got stuck there until collapsing totally, or migrated from there toward market capitalism, failing entirely to bypass it on the road to communism.

Marx was talking about where progress toward communism would happen, not where people calling themselves Communists would succeed in taking power and fail to make any more progress toward acheiving communism than, in the best cases, getting a bit closer to where thr capitalist economies of Marx’s time were starting from.
I'm less worried about machetes since they can't kill the whole human population. Even something as horrific as gas chambers only killed a fraction of a percent of the world population.

Genocide is ancient, but humanity somehow stumbles on as a species.

I'm more worried because we developed technology capable of wipe out all of humanity (and potentially, all life on Earth) in the fifties with thermonuclear bombs. The number of potentially humanity-destroying technologies has grown exponentially since, and with biological weapons, the cost and complexity has fallen.

I can think of directions to take humanity to take extermination off-the-table, but we don't seem able to implement big changes anymore.
It was a truly marvelous demonstration which would have been revolutionary, but which the dock was too short to contain.
I think the point is plastic roads and asphalt roads are just sibling forms of oil
Well, those two are comparable. Java is based on Objective-C (it's ObjC without the C… or the Smalltalk… which is why there's not much left.)

And the App Store still runs on a Java port of WebObjects to this day.
Those aren't socialist countries.

Hint: Those are capitalist countries with strong welfare policies. AKA: "democratic socialism". Capitalist infrastructures with tax and spend policies (until it falls from the weight and starts declining - IE: Austerity measures to cut programs when promises outstrip the money available)

Last I checked a serious conversation relies on understanding what Socialism is. Welfare states aren't Socialist countries.
Make your title

Show HN : Calendar/Scheduling App

and there are monthly "What are you working on" posts, so make sure to add it to those
Can you help us out by articulating what you think value is, and how it's derived?
> USCG officers then approached BALUCHI and the Vessel in a USCG small boat.
USCG officers informed BALUCHI that he needed to disembark the Vessel onto their small boat since they were terminating his voyage due to it being manifestly unsafe. BALUCHI replied that he was armed with a 12-inch knife and would attempt to commit suicide should the USCG officers attempt to remove him from the Vessel. The USCG officers then returned to the USCG Cutter VALIANT, which remained on scene.

...

> On or about August 27, 2023, the USCG Cutter VALIANT continued to make
efforts to disembark BALUCHI utilizing their small boat. However, BALUCHI displayed two knives and threatened to hurt himself if officers boarded the Vessel. Moreover, BALUCHI threatened to blow himself up, along with the Vessel. USCG officers believed this to be a valid threat, as they observed BALUCHI holding wires in his hand. USCG officers contacted the U.S. Navy Explosive Ordinance Disposal Unit at Kings Bay, Georgia to determine blast and
fragmentation radius of the alleged bomb.

> On or about August 28, 2023, the USCG Cutter CAMPBELL arrived on scene with
the USCG Cutter VALIANT to provide support. The USCG Cutter CAMPBELL launched a small boat to attempt to deliver food, water, and predictions of the incoming hurricane to BALUCHI. USCG officers again ordered BALUCHI off the Vessel, but he again refused. It was then that BALUCHI informed the USCG officers that the bomb was not real.

The complaint goes on. The Coast Guard spent a week on this guy. Seems like he wasn't obeying the rules and earned his arrest at a minimum. All of this while a hurricane was on its way.
The recommended way of writing a program in most languages demands some level of understanding what you're writing. You would have to somehow come up with the "<-" parts of that program, and the recommended way of doing that is to understand Monad.
Since several people are not sure about this, I figured an easily skipped little grammar point can't hurt too much.

Passive past would be something like "Goodbye had been said too many times before [by her]"

In active voice, the subject does something to the object.

In passive voice, the object is affected [by the subject]. (I wanted to write "is done something to" instead of "affected", but that feels ugly - the issue with affected is that it is also an adjective; I really mean the past participle here)

The object becomes the subject, and vice versa. The be auxiliary needs to be present. If be is not here, it ain't passive. If be is here… be can be used in active voice so you can't know for sure, but if there's a "by ..." clause, or if adding one feels natural, that a good hint.

The intent of the passive voice is usually to focus on the object or the action, of de-emphasis the subject, of even to drop it because it's not important, it's redundant or even to create some suspense regarding who performed the action.

(English is a second language to me, though what I wrote completely applies to my first language too)
Alternatively, Britain could go back to allowing Polish doctors in to make up for the lack of domestic medical personnel. That may require rejoining the EU, but probably not.
I can comment on this since I had a similar co-worker. Well educated in Mechanical Engineering (or perhaps Electrical?) but working as a software engineer. He was a vocal supporter of flat earth and enjoyed debating the subject.

The conversation was always 100% focused on what I could prove in the moment. The general form of his argument was a radical skepticism. If you question the vast majority of people enough you will be able to find a place where they are not solid on the science. He would expertly find and exploit these areas. He was also very conspiratorial, specifically believing that NASA was a government plot to hide government spending that was going towards a corrupt elite.

He was also amazing at not understanding simple concepts when necessary. I remember he had an argument about high-quality photos of the earth seen from space distributed by NASA. It was based on some evidence that they were composite images. He had some totally clueless argument about no being able to project 2d surfaces (like those of photos) onto 3d surfaces like spheres. I mean, that is a pretty standard thing to do in 3d graphics texturing so I asked him about that and he would just get confused. It would almost be like you couldn't explain why 1 + 1 = 2 to him in those moments. Every step of the argument was drawn out and made excruciating.

I became cynical about it eventually. He was reasonably intelligent on almost any subject. I figured he just liked being a Socratic debater type, in the sense that he just loved to push people into corners of science they didn't quite know and prove to them that their own beliefs weren't as solidly founded as they thought. Once I realized that I just stopped any debate on the topic immediately after it started.
It can leverage de-duplication in your host nix store (as a sibling service to your container runtime), as opposed to having a containerized nix store each fetching its necessary packages.
this seems more like questioning whether or not some people have been mislabeled as X rather than whether or not violence against violence is understandable/forgivable.
Both sound like they're protected by the first amendment to me. If people are booing you and telling you to get off the proverbial stage, you may be at a public impasse.
How does this relate to deno? Does deno deploy and nodejs run code that won't work with deno now? Or is this write once, run with "any" runtime - local with deno, node, bun - or with deno deploy?
This is not true at all. Younger employees are even more equipped for remote work than older employees. They grew up with Discord, Youtube, Twitch... lots have even contributed to open source software. The junior people on the remote teams I've worked on have always been super engaged and rewarded with more responsibility.
Thanks @david927 - simple and clear title!
The point is that it's not far-fetched that they're making roads out of plastic. It's a viable material for cars to drive on, which is the purpose of building of roads.
That's why nowadays the recommended thousands separator is the blank space, to prevent this kind of confusion: https://en.wikipedia.org/wiki/Decimal_separator#Digit_groupi...

By the way, honest question:

> In some languages I speak, large numbers are separated with a comma every fourth numeral.

Which languages are those? I live in Japan, and whereas the spoken language separates numbers by myriads (as do most other languages in East Asia), numbers are usually written down with commas every 3 digits, which is really confusing...
But are the mirrored for the same reasons? If I'm not mistaken Isn't Tiktok famously misusing private data of its users? Which I believe was the reason for the US ban.
Tyre particulate pollution has been a big deal in environmental circles for some time, but it seems to be only recently that it's had a lot of media attention. Is this good news that it's finally gaining some attention or bad news that it's being used to astroturf? I'm really not sure.
Bash, Screen, Vim, Midnight Commander (mc)
That’s not good TypeScript but I’ll note that I’ve seen a ton of nasty Java where everything is declared as taking “object”, and they’re abusing ternary operators just as badly (I remember this dude who had an allergy to if statements even if his ternararies wrapped into more lines), and lots of errors caught & ignored to avoid the “inconvenience” of handling them.

This doesn’t mean that Java is a bad language, only that it can be used badly.
Can't find the HN link now, but here's the "Twitter CDN" project I posted a few years back (base64+gzip data URIs):

https://sonnet.io/projects#:~:text=Laconic!%20(a%20Twitter%2...
> So, is this impossible due to human nature or the "laws of information theory"? Which is it? And if the latter what "law" are you thinking of, exactly? Can you name these laws?

Yes. It's simple, if you send information in a recoverable way to another entity, they can recover it. If that entity involves humans, they can and will with 100% certainty be corrupted or threatened to obtain the information improperly.

> Remember the kerfuffle over the NSA's backdoored ECDRBG algorithm?

Amusing that your example is a counterexample to your thesis. Exactly. Backdoors never serve only their would-be masters. That's the impossible part.

If this is not blindingly obvious by now, I fail at being able to explain it better.
The Torment games (both Planescape and Numenera) are good. So is Tyranny. I'd say Torment: Tides of Numenera is maybe the most similar game I know, as it is also an RPG with hardly any combat.
I just can’t imagine an organisation taking a project that has DHH part of it seriously. You’d never know whether something you’ve vested engineering time into might just all of sudden just do a huge 180 and decide the tool your using should completely change
I wonder how many of such drivers that would in reality only work when those two are called in succession
Or a new verse to Fake Plastic Trees.
> I'd guess that injuries as a result of accidental gun discharge and/or fireworks easily 10x-100x yearly spend on search and rescue.

Fireworks are illegal in many states. Guns are regulated and there's widespread efforts for more.
The Portrayal of Early Manned Spaceflight in “Hidden Figures:” A Critique
> What made you think that? It sounds like you might have some self esteem issues that should be addressed.

Not really an esteem issue (though the current situation doesn’t help that), but as a hobbyist there was an appeal to the creative freedom, that would be lacking in a professional environment. I didn’t initially plan to go into programming professionally, at least not when/how I did, but my initial plans fell through and I figured my best option was to make use of that skill, in a time when it was easier to enter the field. Now it’s just hard to tell if I made it in because of the hype surrounding the field in the 2010s or because I was competent enough to.
Because the donors didn't know the company was going to pivot to private. If VCs did that deliberately it would be completely illegal.
Hierarchical Masked 3D Diffusion Model for Video Outpainting
They wrote a this before they had a good C tool chain. Microsoft didn't have a C compiler until 1985 which was a repackaged version of Lattice C.
Local government has two sources of funds - money raised locally via taxation, and a grant from central government.

To take Birmingham as an example, the central government grant in 2010 was £1.125bn, but that had been reduced to £250m by 2020. Some of this was offset by locally retained business rates (£550m which previously went to central government) but there's still a shortfall of £525m (more when you account for inflation).

Local government has responded by cutting services to the bone, and focusing on those services that they are required by statute to provide. Some councils also took a shot at commercial property investment (they're barred from investing in residential property for ideological reasons). You can imagine how those investments are doing in the post-WFH world.

So over the past decade all the slack (and then some) has been removed from the system. So when something unexpected comes along (like a £760m equal pay award) it's the straw that breaks the camel's back. But the root cause is the decade of austerity we've just suffered. Cutting back even further isn't the answer.
its great that they're incentivising public transport. Does anyone have any numbers comparing carbon emissions from a population using green public transport vs using electric cars vs using gasoline cars?
Okay, but this is not at all what Marx himself said. Marx was philosophically opposed in all of his writings to answering even the most basic questions about what a communist economy/government would look like. In his mind he was only proclaiming the inevitability of such a system. In fact, he regularly dismissed anyone who asked these types of questions as serving the bourgeoisie.

But it turns out that, after a socialist revolution, who is going to make the bread and who is going to distribute it is not a problem that will inevitably be solved.
Why would you ever need to hit Shift-Option-F12 ? They keyboard is customizable and the IDE shortcuts are customizable. I have a VsCode layer on my crkbd (https://github.com/luc-languagetools/qmk-crkbd-vscode-builde...). I generate the actual keycodes using this python script, which also outputs my VsCode keybindings.json: https://github.com/luc-languagetools/qmk-crkbd-vscode-builde...
If time travelers aren’t trying to take out tech ceos, then it means we are okay.
Jank is addressed with the new engine that replaces Skia
https://www.youtube.com/watch?v=vd5NqS01rlA&t=644s
> Urban stormwater runoff typically requires treatment for the removal of suspended solids and nutrients [...] However, regulations are lagging behind when it comes to microplastics and tyre wear particles.

The question is less about how big of a deal it is, and kpre about whether suspended plastic bits should be allowed to stay when other particles are required to be removed.
Yes, exactly. For example, the "Stars" filter does not seem to work at all for me.
Linus Torvalds Comments on Bcachefs Prospects for Linux 6.6
Gravitator – A Gravity Based Power Generator
Marx discusses how skill (and factors like machinery, etc) factors into value in Capital vol 1. The idea isn't that any labor on any endeavor creates value at a constant rate across all individuals and all time.
The trick was that "recycle" was always a lie when it came to plastic. Paper can be recycled, but it's not super efficient. Metal can be recycled profitably. Glass can be recycled or even just reused. But plastic? It's stupid-expensive to recycle and degrades too much to be endlessly reusable.

Imho all single-use plastic (and similar non-recyclable non-biodegradable products like non-recyclable coated paper products) should be taxed by mass. Get rid of the stupid "plastic straw ban" and "plastic bag ban" piecemeal garbage that punishes consumers while ignoring commercial users and hit everybody equally.
Interestingly, it looks like ssh-agent disables core dumps[1], but I don't see similar usage for sshd

1: https://github.com/openssh/openssh-portable/blob/694150ad927...
Bitcoins4Less exchange exec admits he ignored anti-laundering laws
Reading back at my reply, I didn't mean it to sound so authoritative. Just an idea.

I helped a friend do this a couple years ago in a fairly modern car. It most certainly was not clearly labeled, but there were clues that led us to try it out. It indeed disabled more than just the cellular modem but the goal was to disable all "smart" features altogether, along with anything that collects telemetry or phones home. After monitoring how it affected the car, the mild trade-offs were deemed worth it.
Maybe they'll get the nudge unit out for another round.
They copied this driver model from UNIX/XENIX. However the way it was implemented in DOS, the interrupt routine had to always return with the "done" flag set, so a driver that was compatible with it wouldn't ever be possible to run asynchronously on a newer version.

There actually was a multitasking version of MS-DOS, but it was only licensed to a few OEM's. These disk images surfaced about 10 years ago:

https://www.pcjs.org/software/pcx86/sys/dos/microsoft/4.0M/

https://www.os2museum.com/wp/multitasking-ms-dos-4-0-lives/
New Cause of Alzheimer’s Disease and Vascular Dementia Discovered
> Says who? The only "requirement of capitalism" is that individuals are allowed to have ownership rights.

That's not quite complete. To have capitalism, you also need labor to leverage capital. Capitalism requires the ability to extract money from the labor of other people.

If every company was worker owned, you could still have a market economy and private property, but it wouldn't be capitalism anymore.
Isn't it more difficult to hack Apple devices than Android? Also, would Apple allow the US government to plant spyware on their devices sold in China? I also would more likely believe that China wants to monitor their own party members and thus, force them to use Android devices.
Japan and China are not up and coming, they have worse demographics decline in their future than America. Vietnam is up and coming. You will need remote as a part of your Megacorp.

Driving from the suburbs in most American areas to a city is an hour each way.
I'm pretty sure the hammering noise (ping, ping, ping...) would quickly become a problem in an apartment complex.
Event Counters – Running Locally
Nitecore uses half-press to cycle modes and full press for on/off. 2 modes really isn't enough on a modern light, the nice ones have a very dim mode, a few normal ones, and a turbo with 1000+ lumens.

Buttons take up space, and cost more than electronics(Not counting craptastic ones that will break in a hurry), plus you'd still need all the other driver electronics like the switching converter and the lithium protection chip.

The microcontroller is probably the most reliable thing on a flashlight, simple doesn't always mean cheap and reliable.
"the featured article" is my favorite non-profane expansion
Yes, BBRv1 has fairness issues when used at scale vs certain other algorithms. No, that doesn't mean people finding it tunes their performance 5x in a particular use case with high latency and some loss should stop talking about how it helps in that scenario. YouTube ran it without the internet burning to the ground so using it in these niche kinds of cases with personal tuning almost certainly results in a net good even though the algorithm wasn't perfect. BBRv3 will make it scale to everyone with better fairness for sure but BBR is still much better behaving for fairness than almost any UDP stream anyways.