MurphyA/hacker-news huggingface dataset:
by altairprime | 2025-08-03 15:28:25+00:00
Critiquing the silence and harms done by inaction of the politicians who prioritize the safety of their elected seat over the safety of their voters — patiently, continuously, and throughout their terms — would be a useful step. Not to shame them, but to associate every preventable traffic death with their name and their words, actions, or absence thereof — and doing so over a one-, two-, four-year period. Their reputation SEO would crater, and that’s before someone sets up citizen call panels which use the VaccinateCA methodology to simply call and ask if they have any comment on traffic death XYZ in their district that happened yesterday, for every traffic death, forever.

As https://news.ycombinator.com/item?id=44771331 points out: there is a cultural chasm between ‘this sucks, oh well’ and ‘trying to do something about it’. It’s certainly easier when, culturally, the expectation is agreed upon by the authorities you’re calling. But the mindset is the same whether they like it or not: at the end of the day, the only way anything will change, is if you normalize intolerance of inaction.

There’s no magic fix for that. It’s a lot of slow and profitless journalism and social action that might be a decades-long uphill battle with no payoffs, no rewarding gold stars, for years. That’s cultural change in a nutshell.
Show HN: Align – A CLI tool for managing and validating environment configs
by SKBD | 2025-08-03 15:29:38+00:00
I built Align as a way to tame messy environment configs across dev, staging, and production.

It supports schema validation, type-safe config authoring, .env export, secrets detection, dry runs, environment diffing, and more.

Align isn’t another runtime config lib — it’s a dev-time CLI that acts as a single source of truth for environment config across teams and stacks.

Use cases: – Prevent config drift across environments – Export to .env, JSON, YAML, or TOML – Validate config structure before deploys – Generate CI/CD-safe config files – Keep secrets out of version control

GitHub: https://github.com/The-Smith-Syndicate/align-config NPM: https://www.npmjs.com/package/align-config

Would love thoughts from the HN crowd — especially around multi-env pain points and whether this actually solves a real problem for you.
by giantg2 | 2025-08-03 15:29:55+00:00
The economy looks like a mess. Unsold housing stock is at a 4 year high. Foreclosures are increasing. Jobs numbers are absolute garbage. Unemployment numbers still look ok only because the labor participation rate continues dropping. Consumer spending is dropping. The market is separate from the economy, but it's valuation is extremely high. Eventually this is going to implode.
by darqis | 2025-08-03 15:30:06+00:00
I'm just getting into it with ollama. Well, sad to say, it uses a lot of energy and doesn't help, but wastes my time. I tell it to do one thing and it doesn't, it wants context, I provide context, it claims it's something it's not. It's as if it wanted to halt my progress. Maybe, but idk it's useful at a code compilation helper, but I still have to find out how to use it with Jetbrains products and without having to use their account required AI product sending data to them.

For small things, like "write me a bash script to replace one string with another" it's fine.

But Deepseek R1 9GB for instance, wtf is it doing? I ask it to write a systemd unit file to run a single command and it starts talking about its thought process and half an hour later it still didn't come to a result, all the while my GPU cooler running at max.

Waste of time, money and energy. Overhyped
by ath3nd | 2025-08-03 15:30:42+00:00
> You can "hire" 100 agents / servers / API bundles, whatever and "solve" all tasks with difficulty x in your business.

In that bright AGI future, who does my business serve, like who actually are my actual paying clients? Like, the robots are farming, the robots are driving, the robots are "creating" and robots are "thinking", right? In that awesome future, what paid jobs do us humans have, so my clients can afford my amazing entrepreneurial business that I just bootstrapped with the help of 100s of agents? And how did I get the money to hire those 100s of agents in the first place?

> Is cost a blocker when you can have a cure to cancer_type_a? And then _b_c...etc?

Yes, it very much is. The fact that even known and long discovered solutions like insulin for diabetes management are being sold to people at 9x its actual price should speak to you volumes that while it's great to have cures for X, Y and Z, it's the control over the production and development of these cures that is equally, if not much more important for the cure to actually reach people. In this rosy world of yours, do you think Zuck will give you his LLAMAGI-generated cancer cure out of the goodness of his heart? We are talking about the same dude that helped a couple of genocides and added ads in Whatsapp to squeeze the last cent of the people who are trapped with an app that gets progressively worse and more invasive.

https://www.rand.org/news/press/2024/02/01/index1.html

https://systemicjustice.org/article/facebook-and-genocide-ho...

> Also, remember that costs go down within a few generations. There's no reason to think this will stop.

The destruction of the natural world, the fires all around us, the rise of fascism and nationalism, the wars that are spawning all over the place and the fact that white and blue collar jobs are being automated out while soil erosion and PFAS make our land infertile point to a different future. But yeah, I am simply ecstatic at the possibility that the costs of generating a funny picture Ghibli style with a witty caption could go down by 10 to 30%.
by mjevans | 2025-08-03 15:30:57+00:00
Same idea as rubber-duck debugging or just explaining things to someone else. The work of translating the idea forces your mind to marshal and walk the structures from a fresh angle and you can gain insights that were lacking.

Getting more eyeballs on that idea also helps. Both in the different knowledge and expectations / assumptions they have and in proofing how clearly the idea's communicated. Really helps reveal areas where there's ambiguity you hadn't even realized because it's not even a confusion spot you'd consider with your knowledge.
by yial | 2025-08-03 15:32:35+00:00
One of the hardest things about teaching others in my opinion is that to really teach effectively you have to be able to meet them where they are.

As in, you have to be able to have some understanding still of what being fresh and new to the subject is like, coupled with the ability to change how you teach something.

I wouldn’t say I’m exceptionally good at changing how I teach unless someone can give me a hint of how they learn best. (Unfortunately, this is one of those things people don’t always know well about themselves and can sometimes change based on context. ).

I try to always stay humble in that 1. I know I’m not the best at anything I’m teaching. 2. Usually if someone isn’t understanding, it’s 100% on how I’m communicating, and 3. Really it’s both of us learning - many insights can come from those new to material at times.

Those are abbreviated and perhaps not communicated in the best way.

But 100% a plurality of instructors, and techniques, is incredibly helpful.
by sleepyguy | 2025-08-03 15:32:44+00:00
There was speculation that these tariffs would be passed on to U.S. consumers. It remains to be seen how much of the cost will actually reach consumers versus being absorbed by manufacturers or importers. For large corporations that pay little to no taxes, tariffs could serve as an indirect way to compel greater financial participation, potentially forcing them to absorb some of the expense—especially if consumers are highly price-sensitive.

The consensus was that the impact on consumers would begin around August or September, once the initial stockpiling of products runs out. Over the following six months, it should become clearer who will bear the bulk of these costs and how much will be shouldered by manufacturers and importers.
by superkuh | 2025-08-03 15:32:51+00:00
Or: don't build a NAS at all and just put the hard drives in the machine you intend to use. This has many advantages including: price, performance, reliability, not having to run an entire second computer (just leave the computer on and sharing files if other computers on your LAN also use the files), intuitive and natural file management using non-proprietary software, simple drive formats that are easily recoverable with simple/normal tools if there is a problem, no silly tuning stuff because the files are already there.

NAS do make sense in some contexts. But over the last decade they've become something people do just to do because it's hip. It usually makes much more sense just to put your storage drives in the computer you'll use them in.
by bullen | 2025-08-03 15:33:02+00:00
I think I figured out a way to do secure registration with a MITM without certificates, so there might be a way out from this mess.

But still you need to transfer the client and check it's hash for it to work and that's hard to implement in practice.

But you could bootstrap the thing over HTTPS (the download of the client) and then not need it ever again which is neat. Specially if you use TCP/HTTP now.
by wtallis | 2025-08-03 15:33:03+00:00
The reports in that thread you linked to are clustered around several models that do have substantial shared technology: a DRAMless design using an in-house SanDisk controller, and difficulties arise with the NVMe Host Memory Buffer feature that is only applicable to DRAMless drives. But the high-end SanDisk drives aren't DRAMless, and the SN8100 in particular doesn't even use an in-house SanDisk controller.
by CableNinja | 2025-08-03 15:33:10+00:00
This article made the exact argument for why you SHOULD use /usr/bin/env.

The thing may not be where you expect. And moreso, especially on the python example, virtualenvs are practically a requirement for any slightly advanced python script (anything requiring additional packages), using /usr/bin/python will cause the execution to ignore the virtualenv and result in a failure when the 3rd party packages arent found in the os-level python libraries. Using the env method ensures you are giving a best effort to execute something by a user who may not do things the same way as you. Taking the python example again, are you going to force every user to make their venv at /mycustompath simply because you hardcoded a python shebang? I doubt it, and if you do, no one will use your package, and if they do, youll get the expected complaint.
by bccdee | 2025-08-03 15:34:30+00:00
What your tests will miss is the invalid data that was constructed in one corner of the codebase

// apply special discount newPaymentInfo = {value: oldPaymentInfo.value / 2} newPaymentInfo[tax] = applyRegionalTax(newPaymentInfo.value) return newPaymentInfo

which only gets parsed by another corner of the codebase at runtime.

// apply tax to tips only in some regions if (taxableTips) { paymentInfo.tip += applyRegionalTax(paymentInfo.value) // ERROR: tip is undefined (instead of zero) }

You can't validate everything all the time, and if you try, it's easy for that validation to fall out of sync with the actual demands of the underlying logic. Errors like this crop up easily while refactoring. That's why one of the touted benefits of Rust's type system is "fearless refactoring."
by singron | 2025-08-03 15:36:01+00:00
I believe small trucks were unintentionally killed by CAFE. The regulation gives companies fuel efficiency targets. Prior to 2011, there were separate targets for categories like "passenger" and "light truck", but since 2011 it's been based on a formula of wheel footprint. Manufacturers realized that instead of trying to make current models more fuel efficient they could make bigger trucks instead. It was definitely one of the greatest failures of regulation and unfortunate that Congress never fixed it in 14 years. CAFE was essentially gutted in the recent budget bill.
by motorest | 2025-08-03 15:36:07+00:00
> It's the other way around. You are the real programmer and the committee and the "modern C++" crowd are more interested playing with legos instead of shipping actual software.

I think this is the most clueless comment I ever read in HN. I hope the site is not being hit with it's blend of September.

I was going to explain to you how fundamentally wrong your comment was, but it's better to just kindly ask you to post in Reddit instead.
by benreesman | 2025-08-03 15:36:08+00:00
Yeah, I have heard that sentiment too. I've never heard so much as a second-hand anecdote that someone was on the track of an acquisition but got the vibe their 50 million dollar acquihire plus was going to just be too much trouble under an activist chairwoman though.

It seems to me that the same weaponization of binary tribal thinking in red/blue social stuff has a corollary in "entrepeneur / commie" oversimplification with about as much nuance.

Smart people get emotionally manipulated on every other kind of politics at the behest of the new oligarchs, why not this one?
by spencerflem | 2025-08-03 15:36:34+00:00
Idk, it feels a lot to me that NYT is taking marching orders from the same people that control the Fox News propaganda machine.

Obviously NYT is rarely explicitly pro-Trump but that's not their point. Instead, they give a liberal’s framing on right wing talking points.

For example, they ran the manufactured Claudine Gay story front page 10 days in a row. They give the “sensible liberal”s take on why trans people should not get healthcare. Article 3 today is pro tariffs.
by mannykannot | 2025-08-03 15:36:40+00:00
The airport, being, to no small extent, a shopping mall, has incentives to get you there early.

One thing that would tend to discourage frequent travelers from determining their optimal pre-flight margin would be to have somewhat arbitrary and frequently-changing security procedures and requirements. A second way to encourage long loitering times would be to under-staff vital functions such as Air Traffic Control.

EWR appears to have nailed these strategies.
by brewdad | 2025-08-03 15:37:27+00:00
I’ve seen airports where Clear is slower than Precheck. It’s all dependent on your local airport and the types of travelers it tends to attract. My home airport still has pretty quick Precheck lines. My last flight, I needed to check a bag. I walked into the terminal 70 minutes before departure (not my plan). I had my bag checked, through security, and seated at my gate 55 minutes before departure. I haven’t always been so lucky but the odds were in my favor that day.

This is PDX, not the biggest airport but not a tiny one either.
by satyrun | 2025-08-03 15:38:10+00:00
Then you haven't thought very hard about the things you do worship.

It is not possible to be more of an atheist than myself but there are all these things I notice I worship with religious conviction instead.

You have your own rituals too. You are just calling them something else.

There has to be biological hard wiring for people to believe so much religious nonsense across space and time.

It is delusional to believe you don't believe in all kinds of similar nonsense if someone from 500 years in the future was looking at your beliefs.
by komali2 | 2025-08-03 15:38:16+00:00
Every improvement to heavier-than-air air travel is a waste of resources. Mass rapid transit over land became a solved problem in 12th century Germany when mine workers put wagons on wooden rails, and same for air travel when the Montgolfier brothers floated a sheep, duck, and rooster in a hot air balloon for the pleasure of Louis XVI and Marie Antoinette.

Planes spend a tremendous amount of fuel, cramp people into a tiny space, require substantial engineering efforts and time to upkeep, are incredibly difficult to automate, incredibly difficult to route efficiently, require gobsmacking infrastructure to safely take-off, land, and route, and thousands of manhours of training and hundreds of humans per plane, per day, to handle every aspect of operation. And yet still sometimes they crash, sometimes even on purpose.

Meanwhile the modern train is nigh-uncrashable with modern safety technologies, even if someone wanted to. They're so simple to automate you can create an entire scale model automated system in your basement with safety features and routing, and reprogram it, with the knowledge within just a couple books. They take up far less space and their routing is simpler, their infrastructure may on the surface seem larger but in reality are basically one and done two slabs of iron that are dead simple to maintain. They're already electrified, already automated, already safe, already more comfortable, already faster point-to-point when you consider that they can take you from one city center to another and require far less security since they can't be crashed into buildings by hijackers (so you can show up 10 minutes before departure and stroll on).

For getting over oceans we should use blimps, which are awesome, or humongous sailing ships, which would also be awesome. Hell if you want you can even "fly" the most modern of sailing ships. There's your plane, you degenerates that chose planes as your special interest. Pick a real one, pick hydrofoil sailing ships instead.
by jumagrande | 2025-08-03 15:38:40+00:00
Hello!

Thank you for your comment. The truth is that the project is only a week old and I'm just starting to advertise it now.

I had thought about advertising it here, on ProductHunt, and on social media. I'm following Marc Lou's profile closely and taking his advice, since I know nothing about marketing.

I look forward to your feedback, and if you continue to develop the idea, good luck!
by dohaa | 2025-08-03 15:39:57+00:00
How would you know if the see-saw tipped and the problem is more pressing when HN users are advised not to reply to job posts to complain about something?

Should users reply somewhere else or email HN directly? Should users accumulate karma and downvote or flag the posts? Care to put this in the text on top?

https://news.ycombinator.com/item?id=37759361
by bee_rider | 2025-08-03 15:40:06+00:00
We shouldn’t make extra room for parents, we should just create a society where everybody has enough free time to handle kids. People without kids can enjoy their other outside work stuff.

Everybody says having kids is really rewarding, so the folks who don’t should also get some time to find their own rewards. And, if we’re making extra space for people who have kids, that puts those people at a competitive disadvantage.

I mean, like, we should have maternity leave as a special thing. But everybody should get enough days off to deal with a 10 year old’s baseball games, school plays, doctor appointments, or whatever. And even for maternity leave—maybe just give everybody a sabbatical at some point!
by Tohsig | 2025-08-03 15:40:18+00:00
Appreciate you pointing that out. HTTP/1.1 may be relatively long in tooth, but this particular vulnerability seems straightforward to mitigate to me. Especially at the CDN level.

Following through the links referenced in the article, this appears to be the actual underlying research: https://portswigger.net/research/http-desync-attacks-request...
by YSummary | 2025-08-03 15:40:22+00:00
I actually think NSummary is more important than YSummary. NSummary can merge similar news from N resources and list all their http links. Now, if a news is just from 1 single source, it might be a candidate for mis-information. Today we subscribe to NYT/WSJ/WP... and read lots of redundancy news. This is just like pre-search engine times, we need to go to IBM/HP/Sun/.. each web site to look for something. Netscape and Google saves us many trips. Same thing here, with NSummary, we no longer need to visit NYT/WSJ/WP... one by one.
by echelon | 2025-08-03 15:40:24+00:00
Yeah, but Obsidian is a startup. A remote startup.

If you're in a startup of <10 people and someone isn't communicating with the rest of the team, it's not going to work.

I can see how this feels dystopian in a giant corporation, but that's because everyone is there for the paycheck.

In a startup, people are making sacrifices to make the thing work. They could get a higher paying, less stressful job.

Picking a startup and not being engaged is disruptive.
by thepace | 2025-08-03 15:40:46+00:00
Claude gave me this unobfuscated C code for `long z,x,G;main(){for(puts("P1\n80 80"),scanf("%10lx",&G);3-z/2160;x=++z%81/8-5)putchar(5>x?!(16>>(x^-(x<1))+1&G<<5>>z/6485)^49:10);}`:

#include <stdio.h>

/ * PPM Pattern Generator * * This program generates a 80x80 black and white PPM image based on a * hexadecimal input pattern. The pattern is rendered as ASCII art using * bit manipulation to determine which pixels are on or off. /

int main() { long pixel_index = 0; // Current pixel being processed (0-6399 for 80x80) long horizontal_offset; // Horizontal position relative to center long hex_pattern; // Input hexadecimal pattern

// Output PPM header for 80x80 black and white image // P1 = ASCII black and white format // 80 80 = width and height puts("P1\n80 80"); // Read hexadecimal pattern from user (up to 10 hex digits) scanf("%10lx", &hex_pattern); // Process each pixel in the 80x80 image // Continue until we've processed all pixels // The condition (3 - pixel_index/2160) continues while pixel_index < 6480 // This accounts for 80x80 = 6400 pixels plus some margin for (; 3 - pixel_index/2160; ) { // Move to next pixel and calculate horizontal offset from center pixel_index++; horizontal_offset = (pixel_index % 81) / 8 - 5; // Determine what to output for this pixel if (horizontal_offset < 5) { // We're in the main pattern area (central region) // Complex bit manipulation to determine pixel state: // 1. Calculate bit position based on horizontal offset int bit_pos = (horizontal_offset ^ -(horizontal_offset < 1)) + 1; // 2. Extract relevant bits from the pattern // hex_pattern << 5 shifts the pattern // >> (pixel_index/648*5) selects which part of pattern to use based on vertical position long pattern_bits = (hex_pattern << 5) >> (pixel_index/648 * 5); // 3. Check if the specific bit is set int bit_is_set = (16 >> bit_pos) & pattern_bits; // 4. Invert the bit and XOR with '1' (ASCII 49) to get '0' or '1' char pixel_char = (!bit_is_set) ^ 49; putchar(pixel_char); } else { // We're outside the pattern area - output newline putchar(10); // ASCII 10 = newline character } } return 0;

}

/ * USAGE: * Compile: gcc -o pattern_gen pattern_gen.c * Run: ./pattern_gen * Input: Enter a hexadecimal number (e.g., 1234ABCD) * Output: PPM format image data that can be saved to a .pbm file * * EXAMPLE: * ./pattern_gen > output.pbm * Then input: DEADBEEF * * The resulting .pbm file can be viewed with image viewers that support PPM format * or converted to other formats using tools like ImageMagick. */
by stephen_cagle | 2025-08-03 15:40:56+00:00
I wonder if a simpler solution to all this regulartion would be something like imposing a tax (fee?) when larger companies acquire smaller companies? So something like, "For every order of magnitude difference between the acquirer and the aquiree, there will be a 100% tax on the acquisition price paid to the US Federal government."

So this would basically encourage companies to either have their own IPO (no fee at all) or be acquired (merged really) by a company of equivalent size. If you are acquired by a much larger company, that company will have to pay a (logarithmicaly) large fee relative to the acquisition price. If they really want it, no problem, but it will be "cheaper" for a more correctly sized company to acquire them.