skysight-inc/HackerNews huggingface dataset:
Yeah it addresses that towards the end of the article. CSS has different rules for parsing badly formatted colors. Unsurprising given that CSS colors can be in several different formats (hex, RGB, RGBA, HCL etc.).
Has libsodium actually made backward incompatible changes to its formats?
Is https://rpdillon.net/redbean-tiddlywiki-saver.html still what you're using?
Show HN: Diascore, a food scoring app for diabetics
Hi HN,

I created DiaScore to help diabetics and pre-diabetics make smarter food choices. Managing blood sugar can be overwhelming, especially when it comes to understanding how different foods impact your health. DiaScore simplifies this by providing a clear score (0-100) for foods, based on key nutritional factors like carbs, fiber, added sugars, and protein.

The idea came from my personal experience with pre-diabetes and the constant challenge of deciphering food labels. DiaScore uses a science-backed formula to evaluate foods and offers actionable insights, empowering users to make better decisions quickly.

It’s powered by GeminiAI to get started but we are exploring Nutrition APIs for comprehensive food data if there's traction.

I’d love your feedback on how to improve it and make it more helpful! You can try it here: https://www.isthisdiabeticfriendly.com/

Let me know what you think.
I’ve been fired before by a major American tech company. I was underperforming, unmotivated, and depressed about it. They gave me a substantial severance payment in exchange for quitting voluntarily, and for signing an agreement that basically said I wouldn’t sue them. They let me pick my last date, they paid my health insurance through the next three months, and my manager told me I could use my last month of employment to find a new job. I was quickly hired into a better-paid position at another company, with a better manager, and I did well there.

I realize this story sounds absurd to anyone who hasn’t experienced it, but my understanding is that this form of firing (“managing out”) is basically the norm for low performers at top-tier tech companies.

To get actually fired, you usually have to fuck up big time, like sexually harassing a coworker, stealing trade secrets, or trying to start a union. (That last one is a joke, sort of)
Great critique, thanks for sharing. These are good examples of supporting and detracting from the subject of the writing.
Intel Terminates X86S Initiative
The Ugly Truth About Spotify Is Finally Revealed
You can clearly see the energy growth slowing down starting from 1980's or so.. and yet the rest of article keeps going like this is not happening, and same rate from 1650's will hold for many more years.

It won't. Population growth is slowing down, per-human energy growth is probably even decreasing compared to 20 years ago.
> then run whatever you want

Not quite. You (were? I don't know if this is changed) limited in how much of the hardware you could access: it wasn't 100% access. Enough for most homebrew, emulators and so on, but it wasn't carte blanche "replacement for a dev-kit" access.
> Debian and Fedora Linux are supported now

Yeah, we all know what this means. No mainline support, only some janky, hacked ISO files available to download from a Google Drive link, which will never be updated, without source.
From the article:

> CSS has its own set of fascinating peculiarities when it comes to handling invalid colour values. Most modern browsers will clamp values rather than reject them outright -– throw rgb(300, -50, 1000) at a browser and it won't fail; it'll helpfully transform it into rgb(255, 0, 255).
Can we keep the texts secure from the FBI?
Unintended rubrication, perhaps? –
https://gwern.net/red
Thanks for auto-signaling HN stories that could be overlooked.
Being fit doesn’t do anything against a knife or a fire-gun, is not being a coward, it’a just the logical conclusion. The people who want to stay fit in order to potentially fight burglars/thieves are doing it wrong, they should train in either gun use or how to better handle a knife. And, of course, have an expensive lawyer at the ready in case something goes wrong and you actually get to physically hurt said thief/burglar.
They were probably talking about games not using one like a desktop or to watch movies
>To be clear, I don’t care what 2, 3 or 30 consenting adults do in their personal lives. I wonder if the negative view of monogamy is just the immaturity of youth and those people have since grown out of that position?

The negative view of monogamy that these people convey is an attempt to justify their lifestyle to people who don't like it, or to recruit more people to their lifestyle. One could argue that both monogamy and nonmonogamy have selfish aspects, but monogamy has proven more successful as a strategy for human society. Of course polyamorous people would debate that with you, but the disadvantages of polyamory are so obvious that it isn't easy to justify.
Well said, monogamy is a structure for producing a stable child rearing environment — and by relation a stable society. It is entirely consensual where arranged marriages no longer take place.

I have no issues how people screw each other but monogamy has a purpose, and if your purpose is to raise a stable family your odds are best if you pursue monogamy.
I actually can't believe how fast `uv` is.
Plenty of people made tons of money off 3D. Way more than 30k
I wouldn't even consider it until it's got mainline support.
Alignment Faking in LLMs [pdf]
There's nothing about sodomizing children in your JPost article. There is however mention of sodomizing a Hamas member, which going by your assertion would mean that Hamas is recruiting and using children?

The raw fact is that were the sides turned, you wouldn't be reading that news article in the first place. You wouldn't seriously think that Hamas would launch an investigation against their own members for sodomy now, would you?

Hamas has no plans to recognize Israel whatsoever, unless you're so naive to take their word for it. Their call for 1967 borders is basically a sorry excuse for establishing a violent attack front on both sides of Israel so that they can fight more efficiently.
Hustle couture
> Yeah it can be annoying if you're not good at keeping track of your own typing hints

If you write all the code you deal with, then sure. My experiences on big projects tend to be typing problems introduced by libraries. The kind where documentation and the decorators suggest it'll only ever return some specific value type, but then very occasionally it'll return a tuple of that value type and a message.
This is an old favorite of mine:
http://bada55.io/
Your electric bill 20 years from now is just as likely to go down as it is to go up.

In two decades, we could see advancements like mobile generators offering free power, ultra-affordable battery packs delivered to homes to meet energy needs, or even the widespread adoption of low-cost fusion energy.

The key takeaway is that predicting the future cost of electricity is as challenging as it was to predict today’s solar energy costs—now far lower than anyone expected.
Database Integrity in Django: Safely Handling Data in Distributed Systems (2019)
Ah I see. AFAIK selling electricity is highly regulated in most states so I can't imagine microgrids taking off in the US. It would be cool though
I know the concept here is set it and forget it, but still: wouldn't it make more sense to have a smaller (but still probably larger than the current setup) rechargeable battery? I admit I haven't done any research on this, but the Magic Mouse/Keyboard seem to prove the concept of a rechargeable battery lasting months at least, and the Apple Watch proves the idea of wireless charging in a compact form factor, so it seems likely you could produce something that 1. Still roughly fits the AirTag physical profile (i.e. could be used as a dog tag, which this certainly could not) and lasts for months at least and is easily rechargeable. And again, I get that I'm making it require more maintenance rather than (effectively) zero maintenance with this product, but the wireless recharging makes that maintenance much less of a burden than sourcing and swapping a watch battery.
Ah, but these aren't the same. The Kelly strategy has zero variance, whereas this strategy likely has very high variance.

It would be interesting to do the math and show why they're equal. It seems like you should be able to make the same sort of portfolio probability argument.
Ditto. It’s wild.
8KB is a lot! You just have to be mindful of the constraint. I made an entire video game in 39 KB.
There somewhere where "dreaming" is really jargon, a technical term of art?

I thought it would be taken as an obvious poetic analogy, (versus "think" or "know") while also capturing the vague uncertainty of what's going on, the unpredictability of the outputs, and the (probable) lack of agency.

Perhaps "stochastic thematic generator"? Or "fever-dreaming", although that implies a kind of distress.
I suspect your expectations for sales are much loftier than Apple’s.

The million sales mark was from one single report by Kuo. Kuo himself previously said they were limited to ~900K display units which is ~450K devices and other analysts have said the same.

There is no other source saying 1M was the target that I know of that doesn’t trace back to Kuo. If they are at ~500K units then they’ve exceeded the initial sales target that Kuo himself laid out.

For your second point about a follow up, you’re comparing product announcement to product launches. The product itself only launched 10months ago. You’re expecting a second iteration within 10 months, of an entirely new product class for them ? Meanwhile other more popular Apple products often go longer between releases. Even Meta are around two years between products within a device class.

Your last point of comparing to a meta quest is misplaced too. They’re different classes of the same device category. There’s no way Apple are expecting to compete with a device a tenth of its price for total sales.
What's Brewing in JDK 24?
Pretty astounding, isn't it? I don't see a paper, but there was a webinar [1]. There's a technical synopsis at 8:00. The phenomenon they're measuring is actually signficant. It's the total number of (free?) electrons between the satellite and the receiver. Typically its about 10^12 electrons/m^3 (@8:00 in video). The disturbance from the 2011 earthquake and tsunami was, if I'm reading the movie/chart correctly, about +/- 1 TECU, which is 10^16 electrons/m^3 (@10:40). The water elevation may only be a few feet in open ocean, but it's over a vast area. That's a lot of power.

They're measuring it by looking for phase differences in the received L-band (~2GHz) signals, rather than amplitude. That eliminates lots of noise. And they're looking for a particular pattern, which lets you get way below the noise floor. For example, the signal strength of the GNSS (GPS) signal itself might be -125 dBm, while the noise level is -110 dBm [2]. That means the signal is 10^-12 _milliwatts_, and the noise is about 30 times larger. But by looking for a pattern the receiver gets a 43 dB processing boost, putting the effective signal well above the noise.

[1] https://www.youtube.com/watch?v=BEpZmRPPWFo

[2] https://www.nxp.com/docs/en/brochure/75016740.pdf
> It's how we sent rockets to the moon, it seemed to work ok.

There are so many problems rooted in this statement. Government program, presidential mandate (i.e. unlimited budget), no competition.

SpaceX is clearly better than NASA except maybe they don't push hard enough nor evaluate their engineers so you have a nice stable job if you do nothing.
Agreed. Often there's a quite tight coupling between the core platform devs and package management - node.js has its npm, rust cargo, go has one as well and for the most part it seems to have worked out fine for them. Java and .NET (and I think PHP) are different in the sense that the package management systems have no relation to the platform developers, but industry standards (maven, gradle, NuGET, Composer) still appeared and are widely accepted.

But with Python it seems completely fractured - everyone tries to solve it their own way, with nothing becoming a truly widely used solution. More involvement from the Python project could make a difference. From my perspective, this mess is currently Python's biggest problem and should be prioritized accordingly.
> What I don't understand - what makes this so difficult to solve in Python?

I think there are many answers to this, and there are many factors contributing to it, but if I had to pick one: The setup.py file. It needs to be executed to determine the dependencies of a project. Since it's a script, that allows any maintainer of any package you are using to do arbitrarily complex/dumb stuff in it like e.g. conditionally adding dependencies based on host system specific environment markers, or introduce assumptions on the environment it is being installed to. That makes trying to achieve all the things you'f want from a modern package manager so much harder.

This also means that the problem isn't just concentrated in 1-2 central package management projects, but scattered throughout the ecosystem (and some of the worst offenders are some of Python's most popular sub-ecosystems).

There is some light with the introduction of the pyproject.toml, and now uv as a tool taking advantage of it.
"clay ui" or "clay layout" will find it, which seems ok to me.
A new era for Windows: Can Microsoft's engine power another tech revolution?
I think the sins of Java as a first language are twofold:

1. The obvious excess incidental complexity

2. and more important, the enterprisey culture that's much less compatible with the intellectual curiosity, looking under the hood, etc attitude that's needed to become a decent programmer.
I don't think most people are having sex with multiple people or even doing this parallel dating business. Parallel dating is less common than serial dating, and parallel dating with sex is even less common than parallel dating. It sure isn't looking like 20% of people to me. I avoid people like that too so maybe there is some selection bias.
Article says "customers will allow their EVs to feed energy back to the grid – helping to balance it during peak demand". It doesn't say anything about what happens when the grid goes down during disasters
well, there's those plus a few more in the article
24/7 oncall to ... be yanked onto something the boss fancies. No thanks. What about... plannning?
All thoughts and opinions about conda aside, it’s the only sane way (on several platforms) to install gdalbins + gdal-python-bindings.

I don’t mind conda. It has a lot of caveats and weird quirks
This seems to be an aggregation of some posts on python-list. Basically, extra-random opinions.

I'll offer mine: I won't say that Python packaging is generally excellent, but it's gotten much better over the years. The pyproject.toml is a godsend, there's the venv module built-in to Python, pip will by default no longer install package outside of a venv. Dependency groups are being added, meaning that the requirements.txt files can also be specified in the project.toml. Documentation is pretty good, especially if you avoid blog posts from 5+ years ago.
I can't find any info on whether ModernBERT will handle languages other than English; German, Chinese, Arabic? Any info there would be super helpful.
I have a highest priority queue where X is going into, and where Y is already comfortably sitting together with the other highest priority items (of course i don't have other queues :). Everybody loves that their X is going to be a highest priority item for me. "a" not "the". Thanks, English.
I am very excited for this. One question I couldn’t find an answer for though is whether the hardware is open enough to be usable with other home automation systems. I am using OpenHAB and they too have an integrated voice assistant. I looked into migrating to HA a couple times but eventually gave up, primarily because it felt like such a waste of time to migrate a fully working environment with dozens of rules and scripts to yaml files.
Nix fuck-up assessment form
.. for many but not all users. See https://issues.chromium.org/issues/342182882/dependencies
Depends on the device. Some are active all the time, some can sleep and only wake up to get their position fix every hour or so. It's not exactly rocket science to adjust the programming.

And if you're stalking someone for a year, you'll have ample options to swap the device to a new one with a fresh battery.
All they seem to offer the world has been revenge since the 1980s.
i wonder when people realize that this pattern of hating abstraction has always been wrong and foolish in retrospect
Even in their own list of features "Memory Safety" does not pop up, and none of the listed features indicate to me that they would entail memory safety. Academics aren't publishing droves of work on separation logic for a problem that can be solved by 1980s static analyzers.
Back the in the days I used a lot of d3.js for making visualizations.

Till today my favorite color for background, secondary text is still d3d3d3.
None of what you just said is even vaguely realistic. Prices can’t drop below zero but they can easily more than double, so even if you assume equal odds in either direction it doesn’t cancel out. Worse, any physical device is going to have a cost to produce it which requires charging people to use it thus they can’t even drop to 0.

Beyond that none of their prices or timelines are accurate, even ignoring the issues with inflation.
That works out ok as long as they are one of a large numbers of producers, competing equally, without monopoly power or excessive physical power, for a large number of consumers free to Ursula their own best interest; a certain amount of information symmetry is also a necessary axiom.

If instead you have a small number of monopolies with legislative capture, then you need them to be virtuous.
How to Launch Your Project at Minimal Cost？
Use BuouNext, a more comprehensive and feature-rich development suite than ShipFast. It includes:
TailwindCSS Components
Headless CMS
NextAuth (Google/Github/MagicLink)
Canvas & Notepad
Subscribe Email（SMTP/Resend）
Prisma ORM + PlanetScale/Supabase
Cloudflare R2
Payments with Stripe & PayPal
Serverless APIs
Months would be painful. I have six airtags, so at two years life I’m replacing a battery every 4 months. If the lifespan was 3 months, I would be recharging one every two weeks. That means pulling them out of (relatively) hidden spots on a car and scooter, a laptop bag that I don’t even use most months, etc. For me, it would mean most of them were dead most of the time.
I don't see any mention of epoch-based garbage collection (see crossbeam https://docs.rs/crossbeam/latest/crossbeam/epoch/index.html). Generational References sounds like a related concept but it's not the same. I'm also surprised nobody's mentioned that one lance corporal goat yet.
Roulette results are uncorrelated and you have the exact same chance of winning each time, so the Kelly criterion isn’t applicable. Betting on a color has a negative edge and you don’t have the option of taking the house’s side, so it just tells you the obvious thing that you should bet zero.
Nix is cross-language though. So it will be useful even if the Python mess is cleaned up a bit.
Helpful knowledge, thanks!
> This removes most common use cases like wallets, remotes, etc.

I use an airtag for my wallet and apple remote.

https://ridge.com/products/carbon-case-for-airtag

https://www.amazon.com/gp/product/B09G4PT3NJ
> "It's just way less expensive per watt to put a bunch of solar panels in one spot on cheap land in the desert and pipe it through the existing distribution network."

If that were true people wouldn't be buying solar panels for their homes because grid electricity would be "way less expensive" and it wouldn't be worth it. Which means either it isn't true, or the grid companies are too busy profiteering and it's not "putting the grid operators in an impossible position where everyone unfairly hates them" it's "grid operators putting themselves into an impossible position where everyone deservedly hates them".
you really think that? I typed it manually myself :D
Like sibling comments,
after using poetry for years (and pipx for tools), I tried uv a few months ago

I was so amazed of the speed, I moved all my projects to uv and have not yet looked back.

uv replaces all of pip, pipx and poetry for me, I does not do more than these tools, but it does it right and fast.

If you're at liberty to try uv, you should try it someday, you might like it.
(nothing wrong with staying with poetry or pyenv though, they get the job done)
TypeScript is just for compile time. You can pop() every element out of the array at runtime with no error. This compiles with no issue - https://www.typescriptlang.org/play/?#code/C4TwDgpgBAcg9gOwK...
`uv` is not a drop-in replacement for `conda` in the sense that `conda` also handles non-python dependencies, has its own distinct api server for packages, and has its own packaging yaml standard.

`pixi` basically covers `conda` while using the same solver as `uv` and is written in Rust like `uv`.

Now is it a good idea to have python's package management tool handle non-python packages? I think that's debateable.
I personally am in favor of a world where `uv` is simply the final python package management solution.

Wrote an article on it here: https://dublog.net/blog/so-many-python-package-managers/
I started using Devenv which utilizes Nix. You might want to check that out.

https://devenv.sh/
I imagine that keeping the cost down might have been important when designing this. You don't need a rechargeable battery and the charging circuitry.

10 years is also long enough that perhaps the tracker might stop being supported before its battery runs out.
Hey thanks! That's awesome and great to see other implementations. Figuring out test cases is half the battle and I've really only done the basics. I'll definitely look to stealing things. ;)

> Looks like the licenses are both MIT (although you may want to add a LICENSE file to make that easier to find) so feel free to steal bits if you want.

Good call, I'll add the license file.
Everybody Clap Your Hands
Not sure why it's getting downvoted, definitely experienced Code Yellows, Code Reds and Code Purples at Google. Red is (obviously) worse than Yellow and IIRC was a total code freeze for a period of time. IIRC there was a Code Red around memory at some point because the supply chain was literally so backed up that google couldn't get enough DIMMs and reasonably sized services had to stop deploying because there wasn't enough compute capacity.

Purple is/was "developer experience is so bad we need to stop developing new functionality and make the current functionality usable."
I run a label that has direct deals with certain major DSPs. We do over a billion streams a year.

The entire “wellness” music category is programming driven. Much of my energy is spent building and maintaining relationships with the programmers, even with our direct deals. We take a reduced payout on the master side in return for preferential treatment on playlist positions.

I have an active roster of extremely talented producers. It’s a volume play. I’ve made tracks that I’m quite proud of in 90 minutes that have done 20+ million streams.

It’s a wild system but we’ve made it work. Not really a critique or an endorsement - just making a living making music.

Edit: fun fact, Sleep Sounds is generally the #1 streamed playlist on the entire Apple Music platform.
The apostrophe placement was almost as bad as the content. No thanks.
Do you mean person ITT saying all? Whether it’s two people or a dozen people, if there are people ITT, using the same word, then they’re all using the word.
> Why is it even necessary to use an LLM to mow a lawn? There is more to AI than generative LLMs.

Its necessary for us to consider alignment because someone will put an LLM in a lawnmower even if its a bad idea. Maybe you wont buy it but some poor shmuck will and we should get ahead of that.