MurphyA/hacker-news huggingface dataset:
by imbusy111 | 2025-07-26 09:39:14+00:00
Just for balance, I went there, and it was pretty disappointing. I do love math and engineering, but it was very gimmicky, especially the panels. I tried striking up a few conversations, but people were really awkward and ran away. Also, generally as an event it was frustrating in many ways (for example, mobile internet is mostly down, and the agenda is not printed anywhere). But who wants to hear me complain.
by lollobomb | 2025-07-26 09:39:21+00:00
The submission is a bit old but let me try anyway since I see some user claiming to be Graphene community manager here. Let me first reiterate that GOS is an amazing project and that I am super grateful for your work. That said, I think the #1 missing feature is the lack of a robust backup solution. Las time I checked, there was an ongoing discussion about shipping an ad-hoc backup system for GOS. ANy uodate on this? Thanks!
by geokon | 2025-07-26 09:40:56+00:00
Doesn't an app allow for caching which makes the whole experience much more responsive?

I think antifingerprinting means that browsers are constantly re-loading and rerendering tons and tons of resources. The web is much much slower than it could be in theory. If you have an siloed app then you don't need to worry about that and can reuse everything. You open a new tab and nearly everything displays instantly (except the different car or whatever you're displaying)

This would also decrease your network bandwidth load. So a win for you and your customers
by torginus | 2025-07-26 09:41:00+00:00
Yeah, I have worked with FPGAs a while ago and still casually follow the space.

There have been many attempts of mapping general purpose/GPU programming languages to FPGA and none of them worked out.

The first leading claim they make - that this is a general purpose CPU, capable of executing anything - I suspect is false.

CPUs are hard because they have to interact with memory, basically 95% of CPU design complexity comes from having to interact with memory, and handling other data hazards.

If this was reducible complexity, they'd have done so already.
by jackdoe | 2025-07-26 09:42:24+00:00
I guess you can also ask "don't like gambling, don't gamble".

It goes even further.

What was wrong with those people poisoning Socrates? For what? Don't like what he says, do not listen to him.

You know how in higher dimensional space everything is almost orthogonal? I think people are like that, some like porn, some are afraid of it, some want to be impregnated by aliens, some hate aliens.

Through good intentions democracy can be just as tyrannical as any tyrant; a pinch of incompetence and good intentions and it can not be stopped.

When should others "save" you? When it is absolutely obvious some people need saving.
by MrJohz | 2025-07-26 09:42:28+00:00
No, but `group` doesn't affect the parent in Tailwind. You put `group` in the parent to mark it, and then use the `group/...` syntax to apply different properties to the child, depending on the different states of the parent. This doesn't require `:has`.

I don't think Tailwind has a built-in `:has` tool, but I suspect it would be easy to add one as a custom class.
Show HN: Data Ownership T&C Quiz to Create Awareness on Restrictive Data Rights
by ahaucnx | 2025-07-26 09:42:36+00:00
I just created a quiz that reveals how corporate legal language can trap communities into losing control of their environmental data.

It is based on real terms and conditions typical for air quality monitoring manufacturers.

Try it and see if you can spot the red flags: https://www.airgradient.com/aq-data-ownership-quiz/

The aim of the game is to create awareness among data ownership rights, e.g.:

- How "joint ownership" isn't really sharing - Why "free" services often delete your data without warning - How subscription models hold your community's air quality data hostage - The difference between data access and data ownership

The game was inspired by the incredible work of the EPIC Air Quality Fund, which is fighting to expand access to air quality data. Their research revealed that nearly 40% of countries lack open air quality data—often because restrictive corporate terms prevent communities from truly owning their environmental information.

At AirGradient, we believe open source hardware is the ultimate solution. When communities control both the hardware AND the data, they achieve true environmental justice.
by tmpfs | 2025-07-26 09:43:09+00:00
I have used this as well as many of the other lower-level db drivers (which don't check your SQL at compile time) and I can say I much prefer the latter.

My issues with SQLx when I first tried it were that it was really awkward (nigh impossible) to abstract away the underlying DB backend, I expect those issues are fixed now but for some simple apps it's nice to be able to start with SQLite and then switch out with postgres.

Then I wanted to dockerize an SQLx app at one point and it all becomes a hassle as you need postgres running at compile time and trying to integrate with docker compose was a real chore.

Now I don't use SQLx at all. I recommend other libraries like sqlite[1] or postgres[2] instead.

SQLx is a nice idea but too cumbersome in my experience.

[1]: https://docs.rs/sqlite/latest/sqlite/ [2]: https://docs.rs/postgres/latest/postgres/
by Lvl999Noob | 2025-07-26 09:43:15+00:00
What they are saying is that the field is always present in the domain model but we don't have the information to backfill it. For example, say you have a customers table. Originally, it just stored their name and internal ID. But now you are adding in their government ID as well. Except that you already have thousands of customers and you don't have their government ID. So you either make the column nullable and slowly backfill it over time. Or you find some default value which isn't null but the code understands it to still be empty. And again, you slowly backfill over time.
by TeMPOraL | 2025-07-26 09:44:21+00:00
Because they don't accept their website is not worth an app. Most of that long tail of businesses has a transactional relationship with users, who by very nature would ideally want to think about them as little as possible and only for the short moment of actual transaction.

In short: I do install apps of main platforms and physical shops I frequent. It's usually vastly better than a website, even if it just wraps a webview. But I don't want to install an app for every site I visit, for the same reason I don't want to go on a date with every stranger that smiles at me when I pass them by on the street.
by isaacremuant | 2025-07-26 09:44:36+00:00
Translation: this particular user wants to make different privacy choices than the rest and pretends that we should philosophically follow.

All because Big Corp does anti open software/anti privacy thing.

Give me a break.

These platitudes ring like propaganda. I do what I want with my computer and data. You don't get to choose to "connect with me".

> Beyond individualism

To authoritarianism.

It's fine if the author wants to do all this but the kind of "we should all do X, which goes against your privacy/data/control beliefs because it's for our greater good" sounds so Rich CEO that knows better, kind of talk.
by eqvinox | 2025-07-26 09:45:01+00:00
At first I thought it'd be male children, but I don't think that's it - male electricians and other workers is more likely.

Also, I don't have a reference, but it's stuck in my head that deaths from electrocution frequently involve falling off a ladder (or other "secondary" causes), rather than dying from cardiac arrest or other direct injury.
by twelve40 | 2025-07-26 09:45:48+00:00
> When it is worth the pain to load a large bundle in exchange for having really small network requests after the load

...and yet, i keep running into web (and even mobile apps) that load the bundle, and subsequent navigation is just as slow, or _even slower_. Many banking websites, checking T-Mobile balance... you wait for the bundle to load on their super-slow website, ok, React, Angular, hundreds of megs, whatever. Click then to check the balance, just one number pulled in as tiny JSON, right? No, the website starts flashing another skeleton forever, why? You could say, no true SPA that is properly built would do that, but I run into this daily, many websites and apps made by companies with thousands of developers each.
by fragmede | 2025-07-26 09:46:52+00:00
Dilution is where things get fucky.

So you're working at this startup. Lets say it's worth $10 million. To make things simple, in this company, there are 2 people, the fucker, the CEO, the guy that started it all. He holds 90,000 RSUs, each worth $100, so $9 million, and the fuckee, you, who holds 10,000 RSUs, each worth $100, for a cool million.

Here's where the fucker fucks the fuckee, ie you. The company does a round, and then creates, out of thin air, a billion shares (1,000,000,000), and issues them to the new investors. Lets say the company reached unicorn status this round, which is to say a valuation of a billion.

Holy hell a billion! But wait now there's 1,000,100,000 total shares out there, and the valuation of a billion, divided by the new shares, means that each share, of which you only have 10,000 of, is now worth just under one dollar.

That's right, your $1 million just turned into $10,000. Which isn't nothing, I'd love to come across a random $10k I didn't know I had. But that's just, like, one really nice vacation for you and the kids, which you haven't seen enough of because you've been working so hard at this startup, and not, like, a college fund for the kid that's showing aptitude at engineering and that you were hoping was gonna go to MIT.

Dilution is inevitable, there's no avoiding it. The scenario I presented is just to show you an example of how dilution fucks you. If things go well, would you rather have 10% of $1 million or 0.1% of $1 billion?

For more, it depends on how you like your information. ChatGPT's got stuff like ISOs vs NSOs pretty well covered, Investopedia's got a lot of good stuff if you'd rather it that way.
by isaacremuant | 2025-07-26 09:47:02+00:00
> centralized provider for digital identity and authentication.

No. Stop pushing this crap. It's what all security companies are lobbying for to get that juicy money and surveillance heavy power hungry governments want to push on next to keep on the path of no anonymity and speech control. They already do it in many ways. Don't hand them the keys for the next oppression. I don't care if your intentions are good. The war on drugs and the prohibition and many invasions also claim good intentions.
by other8026 | 2025-07-26 09:48:02+00:00
>> It's objectively clear though, that this is a very low quality video full of baseless speculation, and severely lacking any technical understanding and knowledge. >"Baseless" could not be further away from the truth.

You yourself have even admitted that while it may not be true that he can be targeted, you make excuses for Rossmann saying he's a "layman when it comes to software". So, yes, it is baseless.

> it's like going to a restaurant and having a disagreement with the cook, for the latter to explicitly threaten to harm onto you. At that point, is it that far fetched to think he might poison the food ? When you know he has full control over the kitchen ?

This is a horrible metaphor because an open source project and the resulting OS is nothing like that. Better analogy would be that all the customers can watch the chef while they work, they all share the same food, and there are even cameras there for the world to see what the chef is doing in real time.

> You can disagree with Rossmann perception of the actual threat, but you should at least admit that it is not absurd for Rossmann to think that someone who demonstrated such irrational behavior might attempt to harm in through the means at their disposal, among which introducing malicious code.

If he had any integrity, he would have retracted that part of his video _at least_ when people pointed out that it wasn't true that he could be targeted. But as far as I know, he hasn't.

> Then in the first place, perhaps the cyber security geniuses who built a privacy and security oriented OS for smartphone could do the due diligence of gathering and presenting actual evidence of Rossmann implication in the alleged harassment campaign before before posting multiple accusatory statements across their socials media "with serious allegations and a very high potential of harming someone's reputation" ?

Anyone who thinks for even a moment can see what happened here. Someone tried to murder Daniel 3 times, he was upset about that and with Rossmann, he talked to Rossmann, Rossmann _records_ it as it's happening knowing full well what he was doing (which I'd argue is quite scummy), and releases the video complete with inaccuracies about the potential of being targeted. Not to mention he has a verified Kiwi Farms account, which anyone who knows the history of that site can draw their own conclusions. It's very easy to see what's all right out there in the open.
by gavinray | 2025-07-26 09:49:37+00:00
I don't actually understand what this VS Code extension provides?

> Behind the scenes, this extension is using a Docker-based local proxy (via Neon Local) to route traffic from localhost to your Neon database branch. The extension handles authentication, networking, and branch selection for you. All you have to do is select which branch you want to connect to and run your application. > The extension launches a local Docker container that exposes a static Postgres connection at localhost:5432. Your app connects using a fixed connection string: postgres://neon:npg@localhost:5432

And then you're meant to read this connection string from an ENV var

This seems like an obscenely complex way to essentially set an ENV var pointing at a given database.

I can either install a VS Code extension, and enter my Neon info in it's UI to set this ENV var, or...

I can change the PG_URL in my .env file to the same info I would have entered in the extension UI, right?

Am I missing something?
by pbhjpbhj | 2025-07-26 09:49:37+00:00
From a position of naive curiosity -- Would this work as a coprocessor, take the most inefficient/most optimisable procedures and compile (#) them for the fabric? It would you lose all your gains in turn being extra processes to ship data between cores/processors?

How 2D is it: compiling to a fabric sounds like it needs lots of difficult routing. 3D would seem like it would make the routing much more compact?
by serbuvlad | 2025-07-26 09:50:57+00:00
My problem with C++, and maybe this is just me, is RAII.

Now, Resource Aquisition Is Initialization is correct, but the corollary is not generally true, which is to say, my variable going out of scope does not generally mean I want to de-aquire that resource.

So, sooner or later, everything gets wrapped in a reference counting smart pointer. And reference counting always seemed to me to be a primitive or last-resort memory managment strategy.
Show HN: Enfiy Code – Universal AI coding assistant with multi-provider support
by haya21_8 | 2025-07-26 09:51:08+00:00
Hi HN! I built Enfiy Code, a command-line AI coding assistant that works with multiple AI providers (Anthropic Claude, OpenAI GPT, Google Gemini, Ollama for local models, etc.) from a single interface.

Key features:

• Switch between AI providers seamlessly - ompare responses from different models

• Works with large codebases using extended context support

• Supports both cloud AI (powerful) and local AI (private) via Ollama • Integrates external tools through MCP (Model Context Protocol)

• Generate apps from PDFs/sketches using multimodal AI

• Auto-handles complex tasks like PR reviews and git operations

The CLI is built with TypeScript/Node.js and is fully open source (Apache 2.0). You can try it without installing: `npx @enfiy/enfiy-code`

What makes it different from other AI coding tools is the provider flexibility - you're not locked into one AI service, and you can run everything locally if privacy is a concern.

Would love feedback from the HN community, especially on the multi-provider approach and MCP integrations!

GitHub: https://github.com/enfiy/enfiy-code
by chneu | 2025-07-26 09:51:20+00:00
I'm failing to see how this app is legal. States like Arizona have recently passed anti doxxing laws. Posting any information on this app with the intent of social pressure, harassment, etc is illegal in those states.

At the very least, the app itself might be legal using the "public forum" argument but the content posted on there definitely leaves the users in a legal gray area.

I can see the argument on both sides but this is asking for a case to be brought just so the law can be fleshed out.
by roenxi | 2025-07-26 09:51:28+00:00
Looking at the definition in the article, it definitely is a null result. However the example does illustrate that 'a null result' probably isn't a very interesting thing to talk about because it covers too many types of result. I think what people on HN actually want to track is something more like 'a boring null result'. The real question is whether there a process that is reliably being followed and leading to research that matches reality (where a statistically significant result suggests something is real) or is scientific publishing highly biased towards odd results (where studies that muck up or get lucky with statistical noise are over-represented).

In this case we would expect some studies of the minimum wage to show it increases employment regardless of what the effect of wage rises is in the general case - eg, some official raised the minimum wage while a sector went into a boom for unrelated and coincidental reasons.
by pyman | 2025-07-26 09:51:30+00:00
I agree with you. The author's point is that browsers have finally understood why some traditional sites were created as SPAs, which involves recreating some of the functionality browsers already offer today. But that doesn’t mean all SPAs should turn into MPAs now.

IMO it will be hard for some traditional sites to adapt to the new browser capabilities, since we've built an entire ecosystem around SPAs. The author's advice should've been: use the browser's built-in capabilities instead of client-side libraries whenever possible.

Also, keep in mind he's sharing his own experience, which might be different from ours. I've used some great SPAs and some terrible ones. The bad ones usually come down to inexperience from developers and hiring managers who don't understand performance, don't measure it, don't handle errors properly, and ignore edge cases.

Some devs build traditional sites as SPAs and leave behind a horrible UX and tech debt the size of Mount Everest. If you don't know much about software architecture, you're more likely to make mistakes, no matter what language or framework you're using.

I realised years ago there's no "better" language, framework, platform, or architecture, just different sets of problems. That's why developers spend so much time debating implementation details instead of focusing on the actual problems or ideas. And that's fine, debates can be useful as long as we don't lose sight of what we're trying to solve and why.

For example: Amazon's developers went with an MPA. Airbnb started as an MPA but now uses a hybrid approach. Google Maps was built as an SPA, while the team behind Search went with an MPA.
by cyber1 | 2025-07-26 09:52:07+00:00
Many C programmers need proper generic programming mechanisms (perhaps something like Zig's comptime) in C, but macros are the worst possible approach, and they don't want to switch to a different language like C++. As a result, they struggle with these issues. This is what I think the standardization committee should focus on, but instead, they introduced _Generic.
by chneu | 2025-07-26 09:53:17+00:00
according to the company this was an old bucket they used prior to 2024 when they moved to a more robust system.

So...they were storing people's information long term in a publically accessible bucket when users did not know. In fact, I believe users were told their IDs/selfies were immediately deleted(not stored), then Tea turned around and says they were legally required to store those photos. Tea had to address this in their press release, apparently.
by isaacremuant | 2025-07-26 09:53:39+00:00
Hah. I love how you put the alleged rights of companies over the rights of people.

"If you buy our Hulu Movie you can only watch it up to 4 people. We'll install cameras in your house to make sure you're not sharing them with a partner. What else can we do if you don't respect our increasingly shittier terms and conditions?"

Come on, man. No one guarantees you total security. Make good products. The belief that you have a right to surveil and intrude to protect against piracy is just so ludicrous. Specially when companies are constantly abusing people for profit.
by IshKebab | 2025-07-26 09:54:07+00:00
This seems ridiculously over-complicated. This guy would love Java.

He doesn't even say why you should tediously duplicate everything instead of just using the Pydantic objects - just "You know you don’t want that"! No I don't.

The only reason I've heard is performance... but... you're using Python. You don't give a shit about performance.
by rtpg | 2025-07-26 09:55:28+00:00
In the Django world I have gotten very frustrated at people rushing to go from DRFs serializers to Django Ninja + Pydantic.

You have way less in terms of tools to actually provide nice straightforward APIs. I appreciate that Pydantic gives you type safety but at one point the actual ease of writing correct code goes beyond type safety

Just real straightforward stuff around dealing with loading in user input becomes a whole song and dance because Pydantic is an extremely basic validation thing… the hacks in DRF like request contexts are useful!

I’ve seen many projects do this and it feels like such a step back in offering simple-to-maintain APIs. Maybe I’m just biased cuz I “get” DRF (and did lose half a day recently to weird DRF behavior…)
by nlitened | 2025-07-26 09:58:53+00:00
> So you either make the column nullable and slowly backfill it over time. Or you find some default value which isn't null but the code understands it to still be empty. And again, you slowly backfill over time.

What would be the justification for using some other “default value” in this case? That’s just null with extra steps. Null _is_ the default value

There’s nothing gross or unholy about null values. Very smart people many years ago envisioned them as part of relational databases specifically for the use cases like these.
by varispeed | 2025-07-26 09:59:23+00:00
It is remarkable how widespread of CCTV has helped in that field. Imagine being a scientist and never actually experience or see the earthquake you are into researching. That be like going to place where they are common and then sit a year or so and anticipating. Is it coming? Should be any time soon? Then when it happens you are in the toilet and have seen nothing apart from painting falling off the wall.