MurphyA/hacker-news huggingface dataset:
by Giefo6ah | 2026-03-09 20:35:34+00:00
> After 24 months, one of the drives had a %95 loss, almost every picture was lost cut-off bottom half or so.

If these are JPEGs with a grey or green lower half, it's likely only a few 16x16 macroblocks are corrupted and you can recover the rest.

This cannot be done programmatically because you have to guess what the average colour of the block was, but it can be worth it for precious pictures.
by kenjackson | 2026-03-09 20:35:47+00:00
> The phrasing "HR isn't there to protect you, it's there to protect the company" applies more here.

I agree (although had interpreted the statement originally differently). Unfortunately, the part about "XYZ isn't there to protect you" applies to so much in life. Even police don't have a responsibility to you protect you (but just the public as a whole). The lesson from stuff like this is often to make sure your best interest are aligned with the most powerful and active stakeholder in the "room".
Show HN: Making Codex stop rediscovering the same repository over and over
by oldskultxo | 2026-03-09 20:36:15+00:00
I've been using Codex quite a lot for programming tasks lately, and I kept running into the same issue.

Even when working in the same repository, every task basically starts from scratch. The model has to rediscover things like the project structure, where certain pieces of logic live, what decisions were already made, etc.

In larger repos this quickly turns into a lot of repeated exploration and unnecessary context loading.

So I started experimenting with a small layer around Codex that tries to treat context as something persistent instead of rebuilding it every time.

The idea is pretty simple: put a context engine between the task and Codex. Before sending the prompt, it decides what parts of the repository are likely relevant, trims the context down, and after execution it stores a few signals about what happened.

Right now the system does a few things:

– A planner that decides what parts of the repo are relevant for a task
– A context optimizer that deduplicates and trims context before sending it to the model
– A small failure memory so the system doesn't keep repeating the same dead ends
– Some task-specific memory for recurring task types
– A graph that links tasks, files and decisions together over time

The goal isn't to build an agent or anything like that. It's more about letting the system gradually accumulate some understanding of the project instead of rediscovering it over and over.

I originally built this while working on a fairly large interactive narrative project I've been developing over the last ~40 days. Codex kept navigating the same repository structure again and again, which made the problem pretty obvious.

After a few sessions I ran a small internal "savings report" just to get a rough sense of the effect. The numbers aren't scientific, but they were roughly:

Estimated context reduction: ~30–45%
Estimated token reduction: ~25–40%
Estimated latency improvement: ~15–30%

The biggest difference wasn't even the token savings — it was that Codex stopped wandering around the repo as much.

Still very experimental, but it's already been useful for repeated tasks in a medium-sized codebase.

Repo:
https://github.com/oldskultxo/codex_context_engine

Curious if other people building coding workflows around LLMs have run into the same issue or tried something similar.
by rasz | 2026-03-09 20:36:24+00:00
Nobody burns in MAC addresses. MAC is usually stored on eeprom. Either in BIOS or small i2c one on the NIC. Storing it in the nvram means you save $0.1 BOM, dont have to partition your bios chip and serialization becomes cheaper and faster. Its not like losing one is a problem, just bang a random number with Sun prefix and you will be statistically fine.
by tcmart14 | 2026-03-09 20:36:39+00:00
I would say they could be, but its needs to under strict circumstances. Easiest is with guns, I loan you my gun knowing your going to go and use it to commit a crime, but that is covered under being an accessory. With cars, the only situation I can think of is if you loaned your car to someone you knew was drunk and was going to drive. Or you loaned me the car knowing I was going to use it as a get away vehicle in a bank robbery. But I assume the second case would also be covered under being an accessory to the crime.

But for the purposes of traffic tickets, yea, its ridiculous. It also has a lot of faults. I got a traffic ticket from a red light camera for a car I owned when I was stationed in California. The ticket came to me in Oregon 5 years AFTER I traded that vehicle in (I traded it in right before moving to Oregon) and the traffic cam ticket was from Texas, a state I've never driven a vehicle in. My only presence in Texas has been being in the airport in Dallas. The ticket was also for a year prior to when I received it. So I hadn't owned it in 4 years when it ran a red light in Texas.
by AnonymousPlanet | 2026-03-09 20:36:48+00:00
This is a very well researched essay regarding the solar panel industry in China and Germany: https://www.youtube.com/watch?v=QoCoPmtNRJo I really recommend watching / reading sober assessments like this.

This is the strategic decision that was the last nail in the coffin for European battery cell manufacturing: https://www.reuters.com/article/business/bosch-shuns-battery...

It is a rational assessment of realities when it comes to high end production. Not every industrial environment can produce every kind of industry. At some point the costs are too high to overcome the difference.
by hunterpayne | 2026-03-09 20:37:08+00:00
That's because the EROEI of FF are in the 100s. The EROEI of renewables is 4. I'm sorry that the laws of physics are inconvenient to your politics but they don't care about your politics (or mine).

If you want solar PV to help with AGW, they must be sited somewhere with an solar albino > .25. That's about Barcelona in Europe and SF in the US. If you put solar PV somewhere with less sun, you are actually making AGW worse.
by mordymoop | 2026-03-09 20:37:10+00:00
This only works up to a certain volume. The world economy requires about 38 billion barrels of oil per year. If you processed 100% of all grain, sugar crop, tuber and oilseed on Earth into liquid fuel, leaving zero for food, you'd get about 6 billion barrels of oil-equivalent in liquid fuels. Since it has to compete with food, the actual number would be much lower. It's not even close to being able to sustain our civilization.
by hinkley | 2026-03-09 20:37:21+00:00
There is a very common inflection point in companies where the CEO needs to be about maintaining what is built instead of growing forever. You cannot, for instance, when you have 60% market share expect the company to keep growing linearly. The people who do end up stooping to questionable means to grow new markets they have no business growing, like for instance children.

Some orgs will go through three, from founder, to growth, to sustaining.
by tzs | 2026-03-09 20:37:39+00:00
1. Emissions matter, not the particular fuel source they come from. Most places cannot meet 100% of their needs, or even 100% of their growth in needs, with renewables so they must use and even grow some fossil fuel sources.

India has vast coal reservers, and is the second largest producer in the world, whereas they aren't a major oil producer. Hence they use coal. Similar with China.

If the story was about some country shutting down their last natural gas plant instead of their last coal plant, no doubt someone would be pointing out that meanwhile the US is increasing natural gas production at a record pace.

In 2025 the US added 7 GW of natural gas electricity capacity, and India added 7 GW of coal. Natural gas generates about 1/2 the CO2 as coal, but India has over 4x the population, so the US added about twice as much new emissions per capita.

But we also need to consider how much renewables were added. That will be part of point #3.

2. India's emissions are 2 tons per year per capita, which is under 1/2 of the global average, which is about 1/3 the EU average, 1/5 of China, and 1/7 of the USA. Even if it takes them longer to get off fossil fuels than the other large countries they are likely to never come near the emissions levels per capita of those other countries.

3. They are actually making better progress at this than most others. 50% of electricity used in India is renewable, compared to 25% in the US, 40% in China, and 47% in the EU.

They are not just adding coal. They are adding wind and solar at record paces too. In 2025 they added around 7 GW of coal capacity last year, 38 GW of solar, and 6 GW of wind.

The US is doing the same, but with natural gas rather than coal. 7 GW of natural gas, 25 GW of solar, 13 GW of wind. About the same percentage of renewables (~90%) as India.

4. Yes, per capita is the correct measure, because the atmosphere is very efficient at distributing CO2 emitted anywhere to everywhere. A ton of CO2 has the same impact no matter where it is emitted. Unless you can make a good argument that some people have some sort of natural or divine right to a bigger share of whatever CO2 budget we decide Earth can afford, it has to be per capita.
by CactusBlue | 2026-03-09 20:37:43+00:00
and I actually don't hate that bit (I really like lexicons, although I might have approached it in a different way) - what I hate is the aggregation layer. I know that it is possible to have an AppView-less atproto app (e.g. RedDwarf), but I feel like much of the ecosystem still defaults to the assumption that it will go through the Bluesky AppView.
by ssl-3 | 2026-03-09 20:37:55+00:00
Please don't project the laws and norms of Poland onto the US.

The US is a very big place. And in this place, we have fifty (!) different states. That's fifty different sets of rules relating to owning and driving cars -- nearly twice as many as the EU has member nations.

A Florida judge might decide that red light camera tickets are unconstitutional, while an Arizona judge might decide that they're completely OK. These two very different rulings can co-exist, without conflict, potentially forever.

Each state doing their own thing independently of the others is just how we roll here.

A sane and rational person might reasonably conclude that this situation is literally insane -- and they may be right! -- but it is this way anyway.

(And it is this way by design.)
by sdoering | 2026-03-09 20:37:56+00:00
As is already revealed with Meta leadership knowing that they make 7billion a year on scam ads. They even calculated that global regulations and fines might cost them 1 billion.

So fines and regulations are priced in as a fraction of the net earnings.

https://mashable.com/article/meta-7-billion-dollars-scam-ads
by ShowalkKama | 2026-03-09 20:38:12+00:00
>Have you seen any correlation between socioeconomic factors and perpetrators of sexual assaults?

To make my point more clear:
since you appear to state that men should be able to be filtered out because they are more likely to commit sexual harassment does it also mean that black people should be able to be filtered out because they are more likely to commit violent crimes?

The driving factors matter only when discussion long term solutions, not short term ones like filtering.
by Traster | 2026-03-09 20:38:14+00:00
Given that the UK is structurally uncompetitive in industry because of extremely high energy costs, it would seem crazy to me to build a data centre here. Even if we did build plenty of data centres here, it's simply not a driver of employment. We used to have shops. Shops employed lots of people. Then we moved to out of town shopping centres, which were cheaper and employed fewer people. Then we moved to online food delivery which was more efficient and employed even fewer people. Now we're moving to data centres which are enormous and employ practically no one. You can inflate the numbers by 10x or 100x or 1000x but you're simply not going to get numbers comparable to a car production line or anything that's actually a big driver of employment.
by prmoustache | 2026-03-09 20:38:14+00:00
Since having kids is so tiring in the early years and often lead to a divorce, it is better to have them early when you are still fresh and handle better the lack of sleep, divorce early and then enjoy part time parenthood when you are still youngish.

I feel I am a better parent now that I am sharing custody of my kids and can better balance personal life and hobbies and parenthood.

A cheaper option would be to find someone looking for kids with no romance and agree on having shared parenthood.
by tavavex | 2026-03-09 20:38:15+00:00
The most effective way of combating this for Uber would be to start doing deeper background checks, live interviews, in-depth assessments, customized testing on their drivers. Mandate video and audio recordings in the car that's streamed to them. Impose harsh penalties on harassment, including immediate dismissal and mandatory police reporting. You know, act like a real employer.

Right now they have all the reasons in the world to be as hands-off on their checks as they can be. They don't behave like a business with employees. It costs nothing to accept almost anyone and then just weed out the worst of the worst to avoid brand damage.

But making these changes would cut into the bottom line too much. They want all the unemployable and dangerous people to work for them because they're so desperate that they'll accept the meager pay. So instead of making any deep, difficult structural changes, they ask the software team to add a checkbox to the app. The checkbox itself is fine by me, but it's just them taping over an issue that stems from the way they do business.
by toraway | 2026-03-09 20:38:25+00:00
> storage

There’s the direct answer to your question, cost of installed grid battery storage are getting cheaper by the user and it’s completely viable option at present. It’s not some vague fantasy idea like power plants in space or something, just look at California’s energy mix during peaks that in just a few years has become dominated by solar+batteries.

For longer periods of low-sun in a climate like Ireland see the other renewable options he mentioned. Plus a couple natural gas plants for fallback that can comfortably sit idle until needed.

If some combo of renewables are used 90% of the time when possible, no one is going to be mad about modern clean-burning LNG plants compared to a toxic, expensive relic of the past like coal.

Current trends make it clear the future will be renewables, grid battery storage, and however many natural gas plants are needed for reliability based on local climate (plus keeping nuclear online if you already have it). And that “future” is pretty much here already in places like California.
by danabramov | 2026-03-09 20:39:35+00:00
Unrelated apps (https://leaflet.pub/, https://tangled.org/, http://semble.so/) don't go through Bluesky Appview (since they need aggregations of different kind of data). I think aggregation is the only model that can compete with centralized services on UX, but of course different apps would need different backends.
Snice – 130 web components and a decorator-based framework
by hedzer | 2026-03-09 20:39:35+00:00
I built a web component library and framework for myself. I kept needing the same things across projects: buttons, inputs, modals, data tables, tabs, date pickers, charts, file uploads, toasts. Rather than pulling in five different libraries I just started building them.

Snice is two things:

1. A component library with 130+ components covering everyday UI, data, forms, media, and more
2. A framework for building your own web components with decorators, supporting declarative or imperative rendering

Each part is modular. Use the components without the framework, or the framework without the components. No base class, your components extend HTMLElement directly.

Native web components, so it works with React, Vue, Angular, Svelte, plain HTML. Light and dark mode built in.

Website: https://snice.dev
Source: https://gitlab.com/Hedzer/snice
npm: https://www.npmjs.com/package/snice

MIT licensed, no commercial agenda. Feedback welcome, please don't be too much of a dick.
by carefree-bob | 2026-03-09 20:39:43+00:00
Coal did not peak in 2024, but 2024 is the last year for which we have complete data, the other years are estimates.

This is how you get some people predicting drops of coal and natgas. You need to be very careful with recent data esp. from China as it takes time to collect data and you are usually 2 years behind.

But really stop and think - 2026 just started. Data from 2025 is now just coming in, and you are claiming that there was a "peak" in 2024. Even given the natural variability of this stuff across the business cycle, please, please know what you are doing with this stuff.

1. Measure from business cycle peak to business cycle peak

2. Wait until the data is in.

Thank you.
by hamdingers | 2026-03-09 20:39:47+00:00
California's new speed camera pilot (AB 645) explicitly solves for this.

Tickets issued by these cameras are civil penalties issued to the owner of the vehicle, like parking tickets, rather than a criminal moving violation. This means the tickets are just as constitutional as parking tickets. It also means penalties are limited to fines and can't impact your driving privilege or insurance.

Hopefully other states can follow this pattern. Consistent, low-impact enforcement is better at preventing unwanted behavior than the rare and severe but also capricious enforcement performed by human police.
by pathowlett | 2026-03-09 20:40:31+00:00
Most people using AI today are experimenting with prompts.

But running real AI systems requires architecture, workflows, and coordination between multiple agents (and soon hosts).

After building several OpenClaw multi-agent environments, I wrote a short field guide explaining the operator mindset and system architecture.

I released a free 15-page preview and the full guide is available for only $17.
by Tiktaalik | 2026-03-09 20:40:34+00:00
All those things are awesome (if you're into that sort of thing, many people aren't) but they don't really rely on the car. Many of the low density detached home suburbs that people drive to these days were once upon a time street car suburbs.

But answering the question, "what's not to like?" The main thing is the fact that none of this scales. All the good benefits you're describing rely on the fact that other people aren't doing them. Other people need to live in "cages" so that you can have all this extra space.

Similarly an enjoyable experience in a car free of traffic relies on other people not driving. If all the people that are using transit were driving a single car, the traffic congestion would spike and you'd be in misery.

None of it scales due to the unchangable dynamics of physical geometry.
by linksnapzz | 2026-03-09 20:41:11+00:00
$900 for a 1-bdrm in Providence (not between Main St. & Gano) is ...ludicrously expensive historically speaking. Part of that is RI salaries being terrible, and another is that to get a cheaper place you have to live in the shootier neighborhoods on the Westside.

And-I am not complaining about the gentrification; far better a condo in that bldg. than a new McMansion on a greenfield site. I just think the legislation is barely worth the effort.
by alterom | 2026-03-09 20:41:11+00:00
>You haven't been involved in a long list of public scandals because you've never done anything in your life that's publicly notable.

That's funny.

You genuinely think that doing something "publicly notable" is necessary and sufficient for being involved in multiple public scandals, as if notable people who aren't slimy asshats didn't exist.

It's a fine argument too. You can keep narrowing down what counts as "publicly notable" until it only includes "founding Meta" when counterexamples are pointed out to you.

That's how you can be so confident is saying "you've never done anything in your life that's publicly notable" without knowing who you're talking to.

>By tricking yourself into believing you sit on a higher moral pedestal you're simply easing the pain of comparison

What a beautiful example moving the goal posts with a personal attack while saying absolutely nothing that has any discernable meaning.

Easing the pain of comparison, huh?

It's not painful to compare an asshat who brags about betraying trust of people who thought he's a decent human being to anyone who finds that repulsive.

Particularly in the context of discussing how trustworthy that person is.

It's not about "morals", see.

It's that Mark Zuckerberg is the highest authority when it comes to talking about Mark Zuckerberg, —...

... — and he explicitly said that you'd be a dumb fuck to trust him with your personal data, which is what you do when you wear Meta's AI glasses.

These are the concrete, specific facts, not contrived examples about high school girls (on whose behalf you can't speak either).
by znpy | 2026-03-09 20:41:14+00:00
It really seems you have no idea what you’re talking about.

I have a couple of friends married for about 4-5 years, with a 4-years old son and a one year old daughter. They both have graduate degrees and stable jobs. They are near 40 years old.

Man, they are two zombies. They are drained. They push forward for the immense love of their kids but it’s incredibly evident they’re drained.

And the thing is… having kids at almost 40 should really be discouraged. They simply don’t have the same energy they had when they were 20, of course. Heck, i’m 33 and it’s evident to me I don’t have the same energy as when I was 23.

This modern idea that one should postpone having kids is incredibly stupid, I hope at some point society will self-correct somehow.
by jaspervanveen | 2026-03-09 20:41:36+00:00
Fair pushback. A few angles:

1. The premise is partly wrong. Major commercial agents -- the ones with legal teams and reputational risk -- already follow robots.txt. Google, Bing, all the big crawlers comply. The ones that don't were always going to ignore any standard. You design standards for good actors, not bad ones.

2. agents.txt has a positive use case robots.txt doesn't. If a site declares "here's my MCP server, use that instead of scraping my HTML" -- a well-built agent actively wants to use it. It's faster, more reliable, and lower risk than parsing HTML. Compliance here is self-interested, not just ethical.

3. Non-compliance becomes legally actionable. Once there's a published standard, ignoring it strengthens ToS violation and CFAA claims. "You had a machine-readable policy and the agent ignored it" is a much cleaner legal argument than it is today.

4. The same argument was made about robots.txt in 1994. It's still here 30 years later because the ecosystem of good actors is larger than the ecosystem of bad ones -- and it keeps growing.

The goal isn't to stop bad actors. It's to give good actors a common language.
by rekabis | 2026-03-09 20:42:27+00:00
Password Generator: please add a fifth checkbox to include the entire printable UTF-8 character set, and a slider to tweak how much of the password should use those characters.

The slider is important, because the existing 4 only use a minuscule subset of UTF-8. Without the percentage slider, the password would be utterly dominated by the much larger address space, and any one random password would be unlikely to contain a number or English character.

You could go even further by having a stepwise intermediate: all possible Latin characters. Again with a percentage slider. But this alone would be much simpler to implement, and may be sufficient for most complexity situations where length is artificially constrained by the third party.
by the_mitsuhiko | 2026-03-09 20:42:36+00:00
> The thing I most want to use this (or some other WASM Linux engine) for is running a coding agent against a virtual operating system directly in my browser.

That exists: https://github.com/container2wasm/container2wasm

Unfortunately I found the performance to be enough of an issue that I did not look much further into it.