skysight-inc/HackerNews huggingface dataset:
ISO 8601-2:2019 defines it as:

negative duration:
duration in the reverse direction to the proceeding time scale

Matching "physical reality" is a non-goal. What's important is modeling the problem domain in a way that makes sense to programmers and helps them avoid mistakes. A negative span doesn't give you any extra expressivity that "subtract a span from a datetime" doesn't already give you. Both are a means to go backwards in time. And they line up with human concepts that talk about the past. So for example, if I say, "I went camping 1 year ago." I am expressing a concept that is modeled by a negative span.

And there are also just practical benefits to allowing a span to be signed. For example:

use jiff::{ToSpan, Unit, Zoned};

fn main() -> anyhow::Result<()> {
let now = Zoned::now().intz("Europe/Kyiv")?;
let next_year = now.checked_add(1.year())?;
let span = now.since((Unit::Month, &next_year))?;
println!("{span}");
Ok(())
}

Has this output:

$ cargo -q r
-P12m

If negative spans weren't supported, what would the behavior of this routine be? It could return an error. Or maybe an out-of-band sign. I'm not sure. But this seems like the most sensible thing.

And of course, Temporal has negative durations too. This design was copied from them.
The CrowdStrike Incident
Have you ever tried rock climbing? It’s like mindful muscle balance ballet and requires a great deal of mental presence and focus.
it nose-dived like a lead balloon
Could it simply be over-regulated in the housing generation aspect, but under-regulated in the housing distribution aspect?
I don’t disagree, but aren’t we actually using kind of a headless browser rendering toolkit for SVG anyway?
I work in the QSR space, which are mostly franchised stores (there are some company-owned stores) that are franchised/leased by someone (or sometimes a partnership).

They are all pretty much the same: you buy into the franchise agreement for some amount of money and you supply some percentage of the assets and the company supplies the rest. Whatever that is or however it's broken up is determined by the franchise agreement. They all look pretty cookie-cutter, except for Chick-fil-A's.

As far as I can tell Chick-fil-A is doing that the best and no one is doing it like them. Their franchisee agreement is vastly different than anything I've seen - they treat it more like a partnership rather than someone/some group buying the rights from a company. I'm very surprised other companies haven't taken on this model.
Perhaps see Graphical Lisp?

https://news.ycombinator.com/item?id=41026214
The inversion of authority in distributed & decentralized systems, from data-centric to agent-centric.
Fairly small sample group; if we're doing anecdata, I think more of my be-phd-d friends have kids than the non-phd ones.
It depends on the situation.

In my situation at home, port forwarding is stupid-simple and just works.

My ISP does not saddle me with CGNAT (or any other form of NAT). I don't use UPnP.

I have a real (dynamic, but just-for-me and almost never changing) IPv4 address to use, and I simply use it.

It works predictably. It works reliably. It is not even a little bit flaky. There is no voodoo involved.

And it doesn't require me to teach my elderly mother how to use Tailscale with her Roku STB.

(I recognize that others may have different situations. But the existence of different situations doesn't mean that one must declare a particular solution to be the "best", does it? KISS.)
Term limits are a dumb way to enforce change where there are definite benefits to institutional knowledge by the members, otherwise they are targets for capture by staffers and lobbyists.

Have a minimum (25 for House, 35 for Senate, POTUS, Judge) and maximum (75) age for all positions.
Looking at the music visualizations was definitely cool. Really miss the old winamp days when you could play music and just run the visualizer full screen. I wish that streaming audio players did this today.
Only partially though, since often a proof is much harder than having some arguments. Also, elements of ideation transpire into planning and execution.
Just because you think the judge is abusing their authority in that hypothetical scenario and that their ruling is not legitimate or just does not mean it will not happen or that you will not end up in jail.

If they want the camera recordings they will subpoena you, if you do not deliver it for whatever reason they they can find you in contempt of court and in that case you can get arrested the same way regardless of what you fell about it.
Tesla engines don’t fit inside a thin wing.

Form factor is a huge deal for aerodynamics.
> vegan leather

I've always found this branding a bit weird, but I'm weird, as well, so there's that...

I sincerely wish them luck.

I don't know that much about hydrogen fuel cells, but they seem to be promising. Not exactly sure why they don't get much more love. Maybe there are issues with hydrogen production, so it's not really all that "clean."
No it wasn't a typo. Netwars was the most important part of the provision we had at school as it kept us sane in the "this term we're going to write a letter" lessons.

The webserver was a key thing in later years too -- as you could put an <img src='c:/con/con'> on the homepage, immense fun.
Simulating an Ice Sheet
That is a solution, but not the cause. The cause is not having a culture that evaluates failure scenarios. From what I have read:

* Updates are not vetted or sanity checked.
* Updates are not slow-rolled to production.
* Updates are not signed to prevent corruption or alteration.
* Updater does not sanitize or validate inputs.
* Updater does not have a reversion process to previously known good position on faulty boot.
* Updater should mark itself as Unnecessary For Boot on faulty boot at some point.

Finally, its high adoption means it creates a mono-culture. There should be another version built independently where one is running on a machine and another sits in a ready state. If there is a fault in one, it becomes disabled and the second takes over. Good ol' NASA style redundancy.
On a visit to a pub I talked to a guy from VTT, the Finnish technology institute, about the wisdom of concentrating nuclear waste in particular locations. My point being, Murphy predicts that if there is an asteroid strike, it will hit a nuclear waste repository - and render mankind extinct.

His response was that if you put the waste far enough underground, like a km or more, then if an asteroid actually disturbs it, the dispersion of the waste won't actually be your biggest problem.
I love diagrams to represent how systems are setup and run. At one employer, they had hundreds of spreadsheets around the network drive which often linked together via formula or VBA code, along with queries out to databases.

I built a file parser (in VBA, because that is what was available) to log every file reference to a big table, the generate graphviz code to visualize it.

It's easy to say "tons of stuff uses $datasource", but it's way better if you can show exactly how much and the impact of changes.

It was incredibly useful when we changed our domain and all network drive mappings broke.
What incentive would HN or YC have to do this?

Especially since they are putting out content that argues that you don't even need a business co-founder: https://youtu.be/43RhhwpiSk0?si=NMt8jLFLB9dU0TQ0
When you drive a car, not all of the energy from the gasoline turns into heat. Some energy ends up as kinetic energy that makes the car move.
Are there any guard rails against an npm package install script reading cookies from chrome data folder?
For promoting a branch to a conditional move to be a speed advantage, then a and b need to be cheap to compute (and even then p should probably be somewhat unpredictable--you're balancing the cost of computing the unnecessary effect with the cost of the branch predictor giving the wrong result). If a and b are cheap to compute, and safe to speculatively execute, then hoisting them out of that branch into a conditional move instruction is already likely.

Note that this isn't the only common case of tiny basic blocks being created by expressions that can be eliminated: many instances of && and || can be converted to & and |, and it's generally even more beneficial to do so than ternary-to-conditional-move construction.
Show HN: Manage LLM providers while factoring in Cost and Speed
Hey y'all!

We built this framework for ourselves internally and decided to open source it.

It's really similar to open router but allows you to do a couple more things

1. Allows you to factor in 'speed'. If you want your API call to go as fast as possible regardless of cost you can specify that. Otherwise it'll default to the cheapest available provider
2. Allows you to pass in a 'validator' function and 'fallback' models. This way you can ensure the response you get is valid according to your own internal logic
3. Uses the OpenAPI content/role format to interact with models so you can quickly swap between them while you test.

We've found a bunch of use cases for this (https://yc-bot.lytix.co/, https://notes.lytix.co) and it's allowed us to move much faster since we don't have to think about credentials between all our providers.

Hope you enjoy it and would love to get any feedback on the project
I am reasonably confident that if Microsoft publically communicated that CrowdStrike breaks their recommendations and decreases security of their systems, CrowdStrike would have way fewer customers
Although the Amiga was quite a neat piece of kit when it first came out in 1985, I disagree with your comment unfortunately. The custom chipset sorta "froze" the Amiga design to a particular level and it was very hard to make meaningful upgrades, unlike PCs, where you could slap a new CPU into the CPU socket, or a new video accelerator, sound card, etc, into the ISA or PCI busses.

Yes I realize there were accelerator cards for Amigas later on, like the BlizzardPPC, but they weren't an officially supported option by Commodore (most accelerators came out after Commodore was pronounced dead in 1994) and were more like kludges.
Show HN: Mergeable - A better inbox for GitHub pull requests
I built a better inbox to track GitHub pull requests that need my attention. Compared the the builtin "Pull Requests" page available in GitHub, Mergeable allows to define any number of sections, each one being associated with a custom search query.
>> No one is starving.

Why are you lying?

https://www.bbc.com/news/world-latin-america-68434845

https://www.theguardian.com/world/2024/mar/18/cuba-protests-...
I'm worried that this form of education will enforce a false sense of security as AI generated images improve.

It's simply an inaccuracy in being able to perfectly settle on the hyperspace between information learnt so far / or even a lack of fidelity with current state of the art.

As time goes on, what we're all learning and becoming great at detecting will adversarially learn to improve. The interesting part is it's inevitable, every step towards the goal regardless of who it's by will achieve the same result.

Consider the current AI race with providers trying to keep their tech. out of public reach due to "safety concerns". If it can be thought about, it will be achieved by open source, and if it can be output by any system, it will be used as training data for the rest of them.
It has everything to do with Rust's decisions.
Chad Gipity is a good guy... ;-)
I think they're making the argument that the upper classes make the argument that family stability is unimportant and should be de-prioritized in favor of "doing what makes you happy", but they don't actually believe that when it comes to their own families. The effect (according to OP) is that the upper classes are destabilizing the lower classes by advertising norms they don't actually believe in.

> The people with the most money and education—the class most responsible for shaping politics and culture and customs—ensure that their children are raised in stable homes.

> But actively undermine the norm for everyone else.
Fiber Optic Data Rates Reach New Record Speed
Some Rust people just have to be that dramatic.
How likely do you think the next big one would be caused by mandatory bootkit anticheats?
That last one is very unlucky — it was never a full 5 second head start!
I'm guessing you're not a glasses wearer? Glasses shape is intensely personal for many people who wear them a lot. It's effectively modifying the shape of your face, for better or for worse, and that ties into a whole host of potential feelings about attractiveness and personal confidence. No matter the life-changing usefulness and specifications of a device, if it takes the form of a pair of spectacles, it's got to be a shape that you can stand wearing or it's an absolute non-starter.
Docusaurus also supports it:

https://docusaurus.io/docs/markdown-features/diagrams
> sorry, I don't have the time to explain things more than that, for a trivial matter like this.

Au contraire! You're contributed more to this sideshow than anybody: context I was fully aware of when I asked my rhetorical question.

Oh, and you probably know this in the abstract, but your patronizing tone really isn't doing your case any favors here.
Okapi: A lightweight performant JavaScript parser for Rust and WASM
A lightweight but production-grade JavaScript parser for Rust and WebAssembly.

The library fully supports ECMAScript 2024 and it outputs it's Abstract Syntax Tree (AST) as either normal ESTree compliant structs or as JSON using serde_json.

ESTree is a community-maintained and widely-used standard for ASTs, and is the same output as most other JavaScript parsers.

Below are listed some of the aims and achievements of this project:

Lightweight and performant.
Largely dependency-free apart from serde_json.
Compliant with the ECMAScript 2024 spec.
100% pass rate against Test262 parser tests.
Output equality tested against Acorn.
I was going to point to https://github.com/mermaid-js/mermaid-cli, but it uses puppeteer and chromium under the hood. That seems...excessive, to render an SVG.
The problem is that god is dead; we killed him and as far as I know, there is no way to bring him back.
Fun facts for today's lucky 10,000:

It's a useful mnemonic but also a misleading one when compared to the Biblical account:

- "Mitochondrial Eve" was not the only woman alive at the time, just the only one who still has surviving descendants

- She did not live at the same time as Y-chromosomal Adam, unless by sheer coincidence. They likely never met even if they were the same age.

- Both of these are titles, not people. As family lines die out, they both forward in time to new individuals. 1,000 years ago we probably had a different Adam and Eve who lived earlier in time.

- There's a book "Seven Daughters of Eve" which follows the splitting of haploid groups from Mitochondrial Eve, but you can pick any arbitrary number. They were not literally her daughters, and you could just as easily split further to get 8 or 9 or 100 of them.

It's neat stuff, but it's more "This is how math works" than "This is a historical account of a real-life woman and man who never met but their favorite color was blue."

https://xkcd.com/1545/ One day I too will either be the ancestor of all living humans, or none of them! I guess I'd be Y-chromosomal Eve lol
Mine's from 1974 according to a serial number lookup, so who knows what it's been through in the last 50 years.
Constructing new buildings would be contributing to the housing supply.

Buying an existing home, so long as it's rented out is yes technically providing housing supply, but it is unhelpful rent seeking.

That big investors would rather buy up existing homes rather than invest in building new ones is a pretty clear sign that the housing system is dysfunctional and requires work on the taxation/regulation side that would encourage more productive use of investor dollars.
There are lots of different types of hydrogen production, but many of them are "clean" (or at least as clean as solar, anyway).

The main issue with hydrogen is storage and transport. It's not an unsolvable problem, by any means, but it's significantly more difficult to safely store and transport than liquid hydrocarbons, at any rate. Hydrogen requires significant investments in infrastructure around it which mostly haven't been made yet.
He should be thrown in jail, what a criminal!
I think you're wrong about that, sorry. As in, you're not getting the right sound out of the string /ɛi/ when you read it off.

I encourage you to listen to a native Dutch speaker pronounce Mynheer Dijkstra's name, which you can do on Wikipedia: https://en.wikipedia.org/wiki/Edsger_W._Dijkstra

Does that sound more like "dike" or more like "day"? To me (yes, native American English speaker, of one of the dialects very close to 'Standard'), it is obviously more like the former.
The math for increasing 10% per year over any long length of time gets so crazy that you have to use how many atoms exist as an absurd placeholder. Dollars don't work anymore.

The rule of 72 says at 10% per year (historical returns in the stock market for the past 100 years) means you are doubling the value of the stock market every 7.2 years. Things like economies can't grow like that and if you are questioning why it's because you and I grew up in this era where they could for a brief blinking in time. Human reproduction is slowing, we've harvested all the low hanging fruit, "free" land is all taken. I feel like we are probably at the part of the 100m dash curve talked about here.

https://condellpark.com/kd/sprintlogistic.htm

At our current rate, the record of 9.48s will be reached in 500 years if you plot it. But I don't think people are going to maintain interest for 500 years to get there from 9.58 seconds.
Westermarck Effect
The long term thinking is how to get into their longer term lobbying career.

Term limits make sense for POTUS. There should be regular changes in Executive management of any organization.

But not the Legislative or Judicial branch. Age limits (minimum and maximum) avoid the "lobbyist capture" issue.
Maybe, haven't heard it IRL though. As opposed to the more vague 'Übergründlich'.
Right? I might spend a few minutes seeing if an AI chatbot can explain all the justifications that lead to using something like CrowdStrike in the first place.
Nope. For decades if not centuries people were just fine and could function in societies.

The main problem of the last ~15 years.

Multiple dying political movements, kind of all at once and its a bit of a meltdown for those who still believe. They see their proposed idea as dying and going away, which makes them think that democracy is ending or something along those lines. Which is absurd at best.
Just thinking about Germany, I'm wondering when peak infections occur. I'd guess that it's during the winter?

I have not heard that Germany's winters have become particularly mild. In fact Mainz, where this was developed, often has high temperatures below freezing during the winter months. Having significant airflow without an HRV might make people a bit chilly in the morning.

Or would this still require the expensive filtration system in the winter?
Why tho? AMD had full license and even AM386 shipped with 1:1 copy of Intel microcode ripped directly from reverse engineered die shots.
> You can toggle the theme at the bottom of the page.

No I can't, the buttons don't do shit.

It does change the data-site-theme attribute in the <html> tag, but that doesn't seem to affect the page in the least. Something is overriding it. The <code> blocks where the issue happens don't change with the style.
Killing long running queries in Postgres
Coding Is State Farming
Threads don't support cancellation in any reasonable way. Cancellation is immensely useful for networked applications and for GUIs.

Threads make it difficult to fully use CPU and network, without over-subscribing either one. If you start handing off tasks between threadpools, you're on the path to reimplementing futures (or you work on callbacks/events, which make the code fragmented, and which async/await was meant to be a syntax sugar for).

The alternative for cancellation and timeouts requires weaving a Context object like golang does, and then having issues with leaf code naively calling functions that don't obey the Context properly, which is only marginally better than pains with non-async functions in async code.
Where should visual programming go?
LLM, MultiModal, and Agent Tools for ComfyUI
Canvas would still be faster even if you used a full-screen box. Just the string concatenation overhead of doing this with box-shadows is insanely wasteful.

Which isn't to demerit the hackish creativity of taking one thing and running with it! But if you wanted to do a ball painting effect like that outside this "what if" context, it would be technically irresponsible to do it with box-shadows.
Igniter: Rethinking Elixir Code Generation with Project Patching
For myself, I don't like them because I know they come with health risks and that makes me watching the events like a roman citizen watching gladiators die for their entertainment. And I try to stay away from that as much as possible.
In this talk we demo Conway's Game of Life implemented in eBPF: https://www.youtube.com/watch?v=tClsqnZMN6I
That’s not true. The moderators accept suggestions and changes titles to something other than the original time and again. It is a guideline after all, it depends on context. I have zero doubts a more descriptive title would be accepted in this instance, as long as it were accurate and not clickbait.

https://hn.algolia.com/?query=by%3Adang%20change%20title&sor...
Thanks for the links.

The Kang one is the Pi version I spotted. The Walmart devices in assuming are US. Radxa could be decent if we get builds for the Zero3.

The Chromecast one could work but last I checked there was no unlock for the newer devices with 4K.

Ideally I want hardware I won't have to battle to keep control over (getting too old and jaded for that).
Caffeine does nothing for me at all, I do not get a kick when I drink coffee. It does not affect my sleep, it does not give me a boost at all. So I am a bit of jealous of those who can utilize caffeine for mental boost, I just drink it for the taste.
You aren't attacking substance, you're mocking the poster, or at best the substance.
> Same as it always was.

I feel like it's an industrialization thing. Before industrialization people would farm their own land, set up their own shops etc. Sure there would be people above you, but they wouldn't and couldn't micromanage you.

The peasant surely didn't have morning standups with their lord.
Hi! This is a small blog post I wrote about the numerical simulation of ice sheets using the open-source SICOPOLIS model. It's an executable (Python) notebook if you want to run it yourself, available on my GitHub [1]. It's not too advanced, but I hope it serves as a little introduction to climate systems & modelling for technical folks "outside of the field". I'd be happy to receive any feedback!

[1]: https://github.com/Pocket-titan/jelmar/blob/main/content/not...
Mojeek is now my default search engine on most of my computers.

As Mojeek has its own crawler, one often gets completely different results to say Google, Bing and DuckDuckGo.

I've found stuff on it that I've not found on those others. I'm not suggesting you give up the others completely in favor of Mojeek, rather that you use it as an adjunct to them.
Excellent. This is also my flow. Tags and search are good enough for me to find anything I need to find.
What's the less weird way to say vegan leather? I tried, but it was got weirder.
I did not say "Don't log anything". I said "Stop using logging", and I'll qualify that (though my original post already did) with "So much". You're using logging for a to of irrelevant actions, and you're trying to sort needles from haystacks when you're better off not piling on the hay.