skysight-inc/HackerNews huggingface dataset:
There's a "acceptable minimum level of lead" in most processed foods such as baby food.

This is because food cannot be heavily processed without some heavy metals leeching in, according to a food safety guy who is a long time friend.

It is completely mind boggling we let that happen.
I'm in Europe and I see no way to get such tests. Other than lying and saying that you are at risk of contamination ("My hobby was glassworking"), I never saw any kind of test that you could pay yourself. Everywhere the government says "100% reimbursed", but you cannot even order one by yourself unless you have a good reason.

So, I don't even know if it's expensive or not.
I think its a mistake to think that coffee consumption in the US will diminish even a bit due to tariffs. They will just pay the higher prices. Coffee consumption ranks just above self-actualization in the hierarchy of needs.
It's about minimizing and isolating state and side effects, not eliminating them completely

Functional core, imperative shell is a common pattern. Keep the side effects on the outside. Instead of doing side effects directly, just return a data structure that can be used to enact the side effect
This reminds me of the coding interview I had where I completely missed a requirement because of my desire to get the code out there. Still got the job, so I can't complain!

Great framing of an issue and it's something I'm going to be thinking about over the weekend. Thanks for sharing!
"A Comprehensive Review of Acoustic Levitation Techniques and Applications" (2025), https://www.researchgate.net/publication/390161963_A_Compreh...

DIY "TinyLev: A multi-emitter single-axis acoustic levitator" (2017), https://brucedrinkwater.com/portfolio/tinylev-a-multi-emitte...
If you'd ever write a follow-up, would you just remove "mistakes" and end up with the book "86 Go mistakes and how to avoid them", or find more?
Honestly that ship has long since sailed.
I believe ‘twas a joke.
The masterful design of the two-liter plastic soda bottle [video]
Teaching AI to 3rd Graders
>I'm in C#, and was pleasantly surprised that ImmutableList etc actually exist.

C# has introduced many functional concepts. Records, pattern matching, lambda functions, LINQ.

The only thing I am missing and will come later is discriminated unions.

Of course, F# is more fited for the job if you want a mostly functional workflow.
A journalist posted a altered photo not a meme.

The photo is based on a real photo of her holding a paper with „we remember“ written on it.

Sorry by article I meant the tweet. A journalist should mention if his posts are facts, an opinion or a satire especially when he knows his audience.

Those satires have lead to insults and death threats in the past and people like him know that.

As a journalist he has to be held to a higher standard when it comes to public posts. Newspapers already have a trust problem
See Catching Features (first released around 2006) for the orienteering version of this. It still has weekly competitions with up to 100 or so regulars playing.

As another commenter suggested, orienteering is great as a sport/running variation of this. Orienteers are some of the brightest and fittest people I know.
What's Wrong with Apple?
The problem with immutable images is you need a complimentary config management tool to manage them at scale. That's why we built Etcha[0] (config management for 1000+ devices) and then built an immutable OS (EtchaOS) around it--they're meant to work together instead of "cloud-init is good enough". cloud-init is terrible at scale, especially outside of public cloud.

0 - https://etcha.dev
Tesla Halts Orders in China on U.S. Imported Models
> I fail to see why it is a functional programming concept.

Excellent! You will encounter 0 friction in using an FP then.

To the extent that programmers find friction using Haskell, it's usually because their computations unintentionally update the state of the world, and the compiler tells them off for it.
1. not all browsers are the same

they are all aiming to implement the same html spec

2. there is no official standard

there literally is

> A context is considered secure when it meets certain minimum standards of authentication and confidentiality defined in the Secure Contexts specification

https://w3c.github.io/webappsec-secure-contexts/

3. even if there was, standards are often ignored

major browsers wouldn't be major browsers if this was the case

4. what is true today can be false tomorrow

standards take a long time to become standard and an even longer time to be phased out. this wouldn't sneak up on anyone

5. this is mitigation, not security

this is a spec that provides a feature called "secure context". this is a security feature. it's in the name. it's in the spec.
Joe Rogan Experience #2303 – Dave Smith and Douglas Murray [video]
Seems to me as they are Italian oil testers, identifying non-Italian oil as a problem makes sense, because from their perspective it doesn't meet the standards they are paid to uphold.
Prediction can definitively be argued that it belongs in a layer above it, multi-version/rollback/reconciliation should be integrated however and I don't really see any mention of it from a quick skimming. (really need to take a closer look later today).
When I posted here about how lead pipes during the Roman Empire was bad for the people I was met with a torrent of downvotes right here on Hackernews saying it wasn’t that bad. I’m not optimistic about the future.
>Not even the most fanatical functional programming zealots would claim that programs can be 100% functional. By definition, a program requires inputs and outputs, otherwise there is literally no reason to run it.

So a program it's a function that transforms the input to the output.
AnythingLLM – open-source all-in-one AI application
The question is whether the creative industries will survive the AI era.
How have your experiences with this setup been so far? Any major pain points?
Think about this: if a function calls another function that produces a side effect, both functions become impure (non-functional). Simply separating them isn't enough. That's the difference when thinking of it in functional terms

Normally what functional programmers will do is pull their state and side effects up as high as they can so that most of their program is functional
What you are missing in your analysis is that New Yorkers don’t just let stuff like this happen for weeks and weeks. We social distanced, we wore our masks, and the ambulances stopped coming. It’s not like ambulances came every day for a year and a half—no we fixed the problem and stood slack-jawed while the rest fo the country just let people keep dying.
2.5% seems like a typical goal for monetary policy.
That sounds like Realfield

https://www.reddit.com/r/comics/comments/7zfbr3/realfield/
If HE wants to post THAT kind of content, it's FINE. He can do so. ELSEWHERE. NO ONE STOPS you doing so. In fact WHY NOT YOU DO SO NOW THANK YOU.

Don't see the absurdity of that? The non-exaggerated version of this was thrown at someone running a sunrise notification bot. His bot posts that the Sun rises tomorrow on Earth. At specific local times. As it tends to.

"Mastodon is weakly federated, you can move to wherever you are better aligned" narrative is mere justification, if not mental traumatic response, against EU national counter-terrorism police special forces and Apple App Store imposing anime and Trump purge(note: AIUI, EU for anime, Apple for Trump, not the other way around, lol), leading to the once-united Fediverse becoming couples of severed virtual continents, all on terminal care.

That narrative just creates peace of mind for the European operator inner circles that it was the right call and it shall shield themselves from police flashbangs thrown at their face to harm them and their family members. But it just don't hold water as something logical.
So that's all part of the "source code" for projects like this.

It's amusing that on one hand, there's been a push for "reproduceable builds", where we try to make sure that for some set of input (source code files, configuration, libraries), that we can get an identical output. On the other hand, we have what we see here where, without a huge amount of external context, no two "builds" will ever be identical.
>separate the IO from the computation.

What about managing state? I think that is an important part and it's easy to mess it.
Welcome to what happens when everyone optimises for the same metrics, and looks at the same companies for inspiration as to what to do.

At most of these corporations, over time they've learned to be product and financially oriented, because it's what the markets reward and it's easy to do, rather than customer orientated, because as long as they're not unusably shit for the majority of their customers, then that's good enough.

It's an attempt to reverse backwards to the worst possible thing that works, because that gets you more ad revenue, rather than the best possible thing.

I say this as someone who's walked away from strategy consult gigs for multinationals where the objective was literally to do things like this. Revenue and margin maximisation in ways the stock market and PE/VC investment rewards is frequently orthogonal to building the best thing for the customer.
I want multiline strings and references
Sorry, no money in horses, donkeys are all that we can offer you. What color would you like your donkey in?
We at darkscience used buildroot for a simple ZNC SBC[0] distribution which we deployed to an Orange Pi Zero that we sold at 33C3[1].

It was great! I highly recommend!

It didn't take long to get started and while the compile times were pretty large (wonder if NIX or Bazel could help here?) it ended up with absolutely microscopic resource requirements.

[0]: https://git.drk.sc/Derecho/irc-sbc-buildroot

[1]: https://media.ccc.de/c/33c3
All the result of A/B tests. Everything will converge to give you an engaging experience for most people. The only not too bad student is reddit which lets you keep using their older UI if you want to. But everything else is pushing new driven by A/B tests UI optimized for engagement.
> Imagine what a few Black Mirror episodes would look like if they were made in the 50s or 60s about some technology we have today. It’d be silly.

It might be silly, but that doesn’t mean it would be wrong. We depend heavily on a number of technologies with significant downsides, which are downplayed or ignored or can-kicked into the future.
That changed a while ago. They also use OpenAI's APIs now.

https://openai.com/index/be-my-eyes/
An advertising company controls the user agent everyone uses to access the internet, and wants to shove more ads into your eyeballs. uBlock exists as long as they allow it. Anyone who disagrees with this, works for them or own shares in the company.
> At a BAC of 0.08 (legal limit in US) drivers have reaction time delayed by only 60-120ms but crash risk is 10x compared to sober

I'm not sure that slower reaction times are the only effect of alcohol consumption.
We Leveraged GitHub Copilot to Cut a 2-Week Migration Down to 2 Days
If you're new to the realization that every technology has both good and bad effects, where have you been in the last 40 years?
I like this tool, and I’ve made an account and entered in all my cards.

But “Highest Rewards by Category” doesn’t quite work because of the truncation of the text. it says “Chase Sap” but I don’t know which sapphire card is that.
Show HN: I built a Nokia simulator app for your smartphone
Hello HN,

I just launched Brick 1100, a mobile app that simulates the Nokia 1100, so that you can experience this iconic brick phone with your smartphone.

It's a simple side project but I really had a great time building it.

Happy to hear your thoughts and questions, or share more details if anyone's curious about its implementation and building process.
I’m not really familiar with Lisp, but from glancing at this article it seems like all of these are really good arguments for programming in Ruby (my language of choice). Easily predictable syntax, simple substitution between variables and method calls, dynamic typing that provides ad hoc polymorphism… these are all prominent features of Ruby that are much clunkier in Python, JavaScript, or really any other commonly used language that I can think of.

Lisp is on my list of languages to learn someday, but I’ve already tried to pick up Haskell, and while I did enjoy it and have nothing but respect for the language, I ultimately abandoned it because it was just too time-consuming for me to use on a day-to-day basis. Although I definitely got something out of learning to program in a purely functional language, and in fact feel like learning Haskell made me a much better Ruby programmer.
There are a million cat & dog owners out there using Talking Buttons, borrowed from nonverbal human assistive communications. Mostly to make funny Tiktok videos, to be fair. It's rarely clear what is random, what is Clever Hans training, and what is direct operant conditioning.
> How do tariffs affect finished graphics cards assembled in China?

It's largely complicated.

What is assembled in China? A graphics card (or anything) is made up of many smaller parts. Some of it might have US-based parts, made up of non-US based parts. Tariffs happen on import (when someone buys something). So for each part this would need to be paid too.

That aside, if you ask me, the cheapest way is to get rid of US jobs. Remove the US parts so you have a 100% non-US product. 0% tariff so far. For US-only sales have it assembled shipped to a country like Singapore or Australia with 10% tariffs to package and re-label. When you ship from say Singapore to US, the buyer fills in the tariff code with country of origin Singapore. Case closed. 10% tariffs.

i.e. are you sure US wins?

What's next? Inspect every import to verify its country of origin? It'd clog up the ports.

Since Trump's 1st tariff on China, 100s of billions have been imported without tariffs. It's happening and continues to happen.
Having functions which do nothing but computation is core functional programming. I/O should be delegated to the edges of your program, where it is necessary.
Actually if you could make something like github, where all software would be part of a single megarepo and built constantly that would be incredibly useful, and bazel would be excellent for that (or at least the closest thing we have to reasonable)

The problem with bazel and almost every other build system (all except the "scan the source files and build a dependency graph" ones) is that you'll be writing build instructions for all your dependencies that aren't using it. If that was done for you, they'd be incredible.
Thanks for the downvotes! I named two ruby gems (made by the founders of GitHub btw) because they were always funny to me. Please downvote me some more!
Each step calculates the next state and returns it. You can then compose those state calculators. If you need to save the state that’s IO and you have a bit specifically for it.
Prompt Engineering Whitepaper
Like I said man, whatever helps you sleep at night. Even if it's a straw man like an unreferenced assertion about unnamed people in the 18th century.

p.s. which part is the clockwork? the ticker tape with the encoded data, or the part that reads it? whole thing?: https://www.youtube.com/watch?v=TfYf_rPWUdY

edit: Probably none of those since rhibosomes were discovered in the 1950s it seems.
One of those moments where I’m seeing a product that would make my life worse and it reminds me there are many kinds of brains in this world
Going back to horses sounds so nice.
Those aspects are mostly irrelevant if half of people who are born die before they enjoy them.

More time in nature => this is neutral, not necessarily a positive, depends if you like that.

Less technology => definitely a negative, I know when I'd rather have been born if this is the only change.

Less pollution => Depending on the cutoff, most people today suffer less pollution than then. I'd rather the current global levels of pollution than actually cooking with coal/wood in my kitchen. The latter will probably kill you faster.
https://www.youtube.com/watch?v=DscJ5PFkZxQ
Funny I use the recommmender to listen to music in Plex a lot these days.
Lispworks has a free editition with lots of examples. Look into PAIP from Peter Norvig.
Don't worry they're just a bot. R doesn't hide functions.
Not a problem.

Bottle and can recycling programs in the US were very successful in states that implemented them.

In NYC all refundable glass bottles and aluminum cans thrown away by those that couldn’t be bothered: They would be picked up by homeless (etc), providing a market-driven solution.

I never understood why it wasn’t expanded to more containers, like cans of beans.

The big problem then was that state-level only made recycling inconsistent.

The big problem today is that plastic bottles took over because of their lightweight; meaning only a government policy could discourage plastic food containers.
I had assumed those would be stickers that you can take off… if it’s etched onto the device it would indeed be bad design IMO.
logind does not "manage devices", it just provides an API for your display server to open privileged I/O devices and get a file descriptor, and have these file descriptors revoked later.

The difference with a plain `open` is that logind will allow only one process at a time to have access, and only for sessions that logged in physically (tracked using PAM), and does not require the process to have direct file access (which could enable key-logging). It will also revoke the file descriptors when switching sessions.

logind's other random features like dock and power button triggers can be done whenever logind is running and ready - the underlying API reports levels and are not timing critical.

The only thing logind really uses at runtime from systemd is temporary storage of file descriptors that it can get back after restart for graceful upgrades.

Projects like elogind and eudev exists that painstakingly strip out the systemd portions while retaining the functionality, but it's an uphill battle to constantly redo every time there's a change.
I don't want functional-flavoured programming, I want functional programming.

Back when I was more into pushing Haskell on my team (10+ years ago), I pitched the idea something like:

You get: the knowledge that your function's output will only depend on its input.

You pay: you gotta stop using those for-loops and [i]ndexes, and start using maps, folds, filters etc.

Those higher-order functions are a tough sell for programmers who only ever want to do things the way they've always done them.

But 5 years after that, in Java-land everyone was using maps, folds and filters like crazy (Or in C# land, Selects and Wheres and SelectManys etc,) with some half-thought-out bullshit reasoning like "it's functional, so it must good!"

So we paid the price, but didn't get the reward.
Released Llama 4 Maverick places 32nd in LMArena
And 23 when taking Style Control into account
This led to the OpenD language fork (https://opendlang.org/index.html) which is led by some contributors who had other more general gripes with D. The fork is trying to merge in useful stuff from main D, while advancing the language. They have a Discord which unfortunately is the main source of info.
> “The EPA told businesses last month that they can simply email the agency if they want an exemption from certain pollution regulations…”

I’d like to see the FOIA request results listing those businesses.
"If I had asked people what they wanted, they would have said faster horses."

This line is especially silly when making B2B products, especially very expensive enterprise ones. It's often used to justify building "great ideas" from some exec or overzealous PM/engineer over concrete asks from customers. Like you really think that a team of 20 experienced people paying >$1M to help run their multi-billion dollar business, both have no idea what they actually want and don't understand the capabilities of new technologies in the market? Totally condescending.
Yeah theres some problem, but reading a multiline code block (like github actions bash script) as an indent-escaped string is so much better than having to understand crazy triple-escaped characters like "sed \"\\\\\\"name1\\\\\\\"\""
Physical distance works wonders. Just keeping it in another room or in my backpack is enough to forget about it.
The Untold Story of Xapo Bank: From Bitcoin Vault to Digital Banking Pioneer
I remember in the very early days as a hobbyist working with cgi perl scripts for forums or guest books where the script just edited the "static" content in place.

The script would write new html files for new posts and do "fun" (I mean, terrifying) string manipulation on the main index to insert links to posts etc. Sometimes they used comments with metadata to help "parse" pages which would see edits.

These both were, and definitely were not, "the days" :D
Engineered bacteria emit signals that can be spotted from a distance
Show HN: Chonky – a neural approach for text semantic chunking
TLDR: I’ve made a transformer model and a wrapper library that segments text into meaningful semantic chunks.

The current text splitting approaches rely on heuristics (although one can use neural embedder to group semantically related sentences).

I propose a fully neural approach to semantic chunking.

I took the base distilbert model and trained it on a bookcorpus to split concatenated text paragraphs into original paragraphs. Basically it’s a token classification task. Model fine-tuning took day and a half on a 2x1080ti.

The library could be used as a text splitter module in a RAG system or for splitting transcripts for example.

The usage pattern that I see is the following: strip all the markup tags to produce pure text and feed this text into the model.

The problem is that although in theory this should improve overall RAG pipeline performance I didn’t manage to measure it properly. Other limitations: the model only supports English for now and the output text is downcased.

Please give it a try. I'll appreciate a feedback.

The Python library: https://github.com/mirth/chonky

The transformer model: https://huggingface.co/mirth/chonky_distilbert_base_uncased_...
Home electricity bill of a decent GPU alone is usually more expensive than renting GPUs on demand.
I’m. Sorry that you feel that way. We applied an algorithm and since 40 of the other 100 people who share that opinion with you committed drug related crimes we have decided to put you in jail without chance of parole. I hope you understand that while this may seem unfair this decision is not good or bad, it’s just the outcome of the algorithm saved in a computer.
I wasn't saying "evil capitalist", just that when the competition is limited you can charge higher prices, this isn't evil unless you have used unethical tactics to enforce some sort of monopoly/oligopoly etc....

The fact that they sell both the made in china model and the USA model shows it is not about building up reserves, as if they wanted to do that they would have higher prices on both models, not selective pricing, thus we are looking for a factor which affects their USA model but not China model.

Development costs are not really a factor here, they specifically say they developed both versions simulatenously, but yes if they didn/t it would be a factor.

They actually back up my first point by giving the reason for the pricing:
"It's the fact that it's a secure supply chain, that you know, staff that's completely auditing every component, which means we're selling to a government security market with all those additional layers that we've added on top."

If you distill this down it is saying that basically securing the supply chain costs more, but also that it adds value. The government is willing to pay a whole lot more for the same product for that extra supply chain security even if it doesn't cost that much more for the manufacturer to produce because no one else can offer something like this.