MurphyA/hacker-news huggingface dataset:
by bluefirebrand | 2025-07-24 18:34:39+00:00
If someone released an open source software that immediately replaced the software you were working on and you lost your job, what then?

What if that happened across the entire industry overnight?

What if every single time you sat down to write a piece of software, someone immediately produced the Open Source version of it?

That's what people are hoping AI is going to do to us

Why would I support that
by nemothekid | 2025-07-24 18:34:53+00:00
>I corrupt an old frame that is not needed by the database at all

1. How does the database know that.

2. In your example Alice gets the money from nowhere. What if another user had sent the money to Alice and that frame get corrupted. Then you just created 10,000,000 from nowhere.

At the very least, rolling back to a good point gives you an exact moment of time where transactions can be applied from. Your example is very contrived and in a database where several transactions can be happening, doing a partial recovery will destroy the consistency of the database.
by sunrunner | 2025-07-24 18:35:38+00:00
And classical musicians _very literally_ make a living 'covering' the work of other composers and likely get started learning through 'copying'.

Any differences around 'Oh, but it's their job to play other works' (ignoring that some trained classical musicians also count themselves as composers) is ignoring the fact that learning _anything_ is a process that involves mimicry.
by rickydroll | 2025-07-24 18:35:39+00:00
As I mentioned the last time this topic came up, competition is not feasible in healthcare because there are circumstances that demand immediate treatment. You don't have time to make your choices—you have to take what you get, as well as in situations where there are no other providers within reach, creating a healthcare desert, as it were.

The heart attack I had back in 2018 occurred when I was hiking a local mountain. I had to walk out the last couple of tenths of a mile to a road where a ranger could get me. Then I drove myself 40 minutes to the nearest hospital with a cath lab.

The local hospital was 20 minutes in the other direction, and they would have seen me, said, "Yep, it's a heart attack," and shipped me to the hospital with a cath lab via expensive ambulance ride, which would have come out of my pocket. From a competitive perspective, the other nearest hospitals with cath labs were 90 minutes and 120 minutes away.

This experience with the local hospital, as well as others by myself and family members, is an example of medical care in most of America. However, it is only near a major city, such as Boston, that medical care can be competitive.

The heart attack I mentioned was billed to my insurance company at $145,000. If I were on a cash-based medical system as you advocate for, I would have turned to bankruptcy as soon as I got the bill. Some groups would call bankruptcy and income-based payments for crushing medical debt a "moral hazard" and use that as a justification for providing no relief.

Fortunately, we don't have to rely on anecdotes. We have a wonderful natural experiment around the world with current medical systems showing how the different systems provide different patient outcomes and give us practical examples of societal and individual costs.
by reverendsteveii | 2025-07-24 18:35:52+00:00
You can outrun a bad diet, but the average person won't. The average American diet is 3600 cals/day (https://www.businessinsider.com/daily-calories-americans-eat..., https://archive.is/IURse). The average person needs ~=2250 cals/day to maintain a healthy weight (https://www.webmd.com/diet/calories-chart, women need 1600-2400 averaging at 2000, men need 2000-3000 averaging at 2500). Jogging a sustained 5mph burns about 600 calories/hour (https://runrepeat.com/calories-burned-running#calories-burne...). Now it's just algebra, the average person takes in 1400 calories more than they need in a day, so while you could try to outrun that diet it keeps up a pace of 5mph for about 2.5 hours EVERY DAY. So the most accurate advice is "a person can out-train a bad diet but the vast majority of people won't" but the advice that's most likely to lead the most people to the goal they're actually pursuing is "you can't out-train a bad diet".
by Yoric | 2025-07-24 18:36:24+00:00
Two examples of interesting ideas:

- using zero values as an optimization mechanism;

- (non-)pointers and passing self by copy.

I mean, I hate both mechanisms, but intellectually, I find them quite interesting.

Also, I'd not classify it as a faster Python. It's more of a cousin of Obj-C if the authors of Obj-C had fallen in love of Erlang instead of Smalltalk.
by hexis | 2025-07-24 18:36:37+00:00
I think in the US we've done a great job educating a subset of the population about how dangerous cars are. In the wealthy, walkable neighborhood I live in, everyone is very sensitive to the dangers of cars. Cycling and walking are common, with many kids being involved too.

That said, this understanding is very unevenly distributed, in large part because our neighborhood also gets more police attention and is generally very safe.
by kjksf | 2025-07-24 18:36:57+00:00
UserID and AccountID could just as well be integers.

What he means is that by introducing a layer of indirection via a new type you hide the physical reality of the implementation (int vs. string).

The physical type matters if you want to log it, save to a file etc.

So now for every such type you add a burden of having to undo that indirection.

At which point "is it worth it?" is a valid question.

You made some (but not all) mistakes impossible but you've also introduced that indirection that hides things and needs to be undone by the programmer.
by brazzy | 2025-07-24 18:37:18+00:00
I've just seen that change happen in the a pet project within less than 10 hours of work.

I tried vibe-coding something for my own use, your classic "scratch your own itch" project.

The first MVP was a one-shot success, really impressive.

But as the code grew with every added feature, progress soon slowed down. The AI claimed to have fixed a bug when it didn't. It switched chest several timea back and forth between using a library function and rolling its own implementation, each time claiming to have "simplified" the code and made it "more reliable". With every change, it claimed to have "improved" the code, even when it just added a bunch of shamelessly duplicated shit.

One effect I am sure AI will have is to massively excarbate the phenomenon of people who quickly produce a large amount of shitty, unmaintainable code that fulfills half the requirements, and then leave the mess behind for another greenfield project.
by RetpolineDrama | 2025-07-24 18:37:26+00:00
Swift 6 is only painful if you wrote a ton of terrible Swift 5, and even then Swift 5 has had modes where you could gracefully adopt the Swift 6 safety mechanisms for a long time (years?)

~130k LoC Swift app was converted from 5 -> 6 for us in about 3 days.
by scarface_74 | 2025-07-24 18:37:38+00:00
How is it “my responsibility”? My “responsibility” starts and ends with my family. I will even go a step further and say it’s my responsibility to advocate for policies that lift people up and provide a social safety net. If I decide to volunteer my time to help others that’s my choice.

It’s definitely not my responsibility to put myself out there to change the hearts and minds of racists pricks. While it is my responsibility to assume the best in individuals and to treat people like people.
by Sohcahtoa82 | 2025-07-24 18:38:20+00:00
Reminds me of when I got my first job at 17...I worked at a large department/grocery store. My job primarily consisted of pushing karts from the corrals back to the store.

In an 8 hour shift, I likely walked ~15 miles, with half of that time pushing up to a dozen karts. For lunch, I'd go to the McDonald's and get a Super Size (Since this was when that still existed) Double Quarter Pounder meal with a Coke. I'd chug the whole coke and then refill it. This meal was easily 3,000 calories, and I'd eat it 3 times a week.

After about two months on the job, I'd STILL lost about 5 lbs.
by tsumnia | 2025-07-24 18:38:26+00:00
If anyone is interested in some other ways non-traditional learning anthologies have been applied to CS education, I will shameless promote my paper [1] on typing exercises as an interactive worked example. I'm drawing my influence from martial arts, but the same "show-mimic-modify" mechanic is there in my opinion. I even use music, dance, and cooking as additional examples on where this type of learning is very prominent.

[1] https://dl.acm.org/doi/pdf/10.1145/3373165.3373177
by hawflakes | 2025-07-24 18:38:41+00:00
I find it somewhat ironic that many years ago HP’s PA-RISC chips were fabbed at Intel because contractually they had to supply chips due Itanium not yet taping out.

But maybe it was more of an early foreshadowing. I had a housemate that worked on their internal CAD tools and it also sounded like a bit of a mess with NIH syndrome. (20+ years ago)
by AlotOfReading | 2025-07-24 18:39:06+00:00
Yes, it's a pretty important error case with storage devices. It's so common that modern storage devices and filesystems include their own protections against it. Your system may or may not have these and bit flips may happen after that point, so WAL redundancy wouldn't be out of place.

Sure, the benefits to the incomplete write use case are limited, but there's basically no reason to ever use a fletcher these days.

It's also worth mentioning that the VFS checksums are explicitly documented as guarding against storage device bitrot and use the same fletcher algorithm.
by gishglish | 2025-07-24 18:39:24+00:00
> Your argument, taken in a broader sense, would have us tending to corn fields by hand to avoid a machine taking our job.

To play off another analogy commonly used in this topic: you are the horse, not the rider. Sure some horses will find new work, at the grace of their owners. Some lucky individuals may even get a carefree life of mostly leisure.

But for many, it’s off to the glue factory, and not for a job.
by jlouis | 2025-07-24 18:39:25+00:00
The definition has to do with certain classes of spatial and temporal memory errors. Ie., the ability to access memory outside the bounds of an array would be an example of a spatial memory error. Use-after-free would be an example of a temporal one.

The violation occurs if the program keeps running after having violated a memory safety property. If the program terminates, then it can still be memory safe in the definition.

Segfaults has nothing to do with the properties. There's some languages or some contexts in which segfaults is part of the discussion, but in general, the theory doesn't care about segfaults.
by stouset | 2025-07-24 18:39:37+00:00
Maintenance in general is a burden much greater than CVEs. Exploits are bad, certainly, but a bug not being exploitable is still a bug that needs to be fixed.

With maintenance being a "large" integer multiple of initial development, anything that brings that factor down is probably worth it, even if it comes at an incremental cost in getting your thing out the door.
Show HN: TT Times Finance – análise financeira em tempo real para PMEs
by alvaropaco | 2025-07-24 18:39:53+00:00
Olá Hacker News

Criamos o TT Times Finance, uma plataforma SaaS voltada a pequenas e médias empresas que precisam analisar indicadores financeiros em tempo real de forma acessível e sem complicações.

O que é? Dashboard interativo com métricas financeiras essenciais (caixa, receitas, despesas, DRE).

Conecte seu ERP ou lance dados manualmente — você escolhe.

Visualizações gráficas simples para monitorar saúde financeira instantaneamente.

Relatórios exportáveis (PDF/XLS) para seu contador ou investidores.

Por que construímos? Muitas PMEs têm dificuldade em acompanhar sua saúde financeira entre mensalidades ou consultorias contábeis. Vimos um espaço para um sistema leve, rápido e visual que dá autonomia e clareza – especialmente no “time to value”, ajudando o usuário a ter insights logo no primeiro uso Hacker News +7 Hacker News +7 Hacker News +7 Hacker News fincome.co .

Como funciona por trás: Back‑end em Node.js, micro‑serviços em Python para processar dados.

Front‑end React com gráficos via Chart.js.

Integrações por API: ERP via REST + upload CSV.

Sistema de cache para dashboards instantâneos após upload.

Por que vale a pena testar Sem instalação: crie conta grátis e já veja métricas imediatas.

Feedback direto e sem barreiras: nada de signup obrigatório nem limites absurdos.

Otimizado para PMEs que não querem soluções complexas ou caras (tipo ERPs pesados).

O que estamos buscando: Feedback de PMEs e contadores sobre UX e utilidade no mundo real.

Sugestões de novas métricas ou gráficos que facilitariam a vida financeira.

Bugs, falhas ou dificuldades no onboarding.

Já é possível testar gratuitamente em https://www.tttimesfinance.com/, sem cartão e com onboarding guiado.

Curioso para saber o que vocês de HN acham! Perguntas, críticas, sugestões? Estou por aqui.

Obrigado!

Por que esse formato funciona? Segue a recomendação da comunidade Show HN para focar no que foi construído, como funciona, quem é o público e pedir feedback Hacker News Hacker News .

Mostra clareza técnica (stack + arquitetura) — parte valorizada no HN Hacker News +3 Hacker News +3 Hacker News +3 .

Acesso imediato ao produto é importante para incentivar testes e comentários.
by dlenski | 2025-07-24 18:40:00+00:00
The '22 Rogers outage, hah. As I recall it didn't affect me at all since I was at home and work in Vancouver all day… but it was a great excuse for not responding to workplace on-call messages which I got in the evening

> Well, their towers were sorta up (as they couldn’t remotely turn them off since the network was down), so if you had a Rogers SIM, a call to 9-1-1 wouldn’t failover to other networks because the device made just enough of a handshake to try and fail on the Rogers network. A flaw in GSM I reckon.

Didn't know that part, amazing.

It sounds kind of like connecting to a WiFi access point which has a broken/non-working uplink to the Internet. Modern smartphones pretty much automatically detect and avoid such APs, and indeed the whole SSID if they need to, but it sounds like the stuck-in-1985 2G baseband layer has no equivalent connectivity check.
by azimafroozeh | 2025-07-24 18:40:16+00:00
We haven’t benchmarked FastLanes directly against LanceDB yet, but here’s a quick look at the compression side:

LanceDB supports:

FSST

Bit-packing

Delta encoding

Opaque block codecs: GZIP, LZ4, Snappy, ZLIB

So in that regard, it’s quite similar to Parquet — a mix of lightweight codecs and general-purpose block compression.

FastLanes, on the other hand, introduces Expression Encoding — a unified compression model that allows combining lightweight encodings to achieve better compression ratios. It also integrates multiple research efforts from CWI into a single file format:

The FastLanes Compression Layout: Decoding >100 Billion Integers per Second with Scalar Code (VLDB '23) PDF: https://dl.acm.org/doi/pdf/10.14778/3598581.3598587

ALP (Adaptive Lossless Floating-Point Compression) — SIGMOD '24 https://ir.cwi.nl/pub/33334/33334.pdf

G‑ALP (GPU-parallel variant of ALP) — DaMoN '25 https://azimafroozeh.org/assets/papers/g-alp.pdf

White-box Compression (self-describing, function-based) — CIDR '20 https://www.cidrdb.org/cidr2020/papers/p4-ghita-cidr20.pdf

CCC (Exploiting Column Correlations for Compression) — MSc Thesis '23 https://homepages.cwi.nl/~boncz/msc/2023-ThomasGlas.pdf
by ath3nd | 2025-07-24 18:40:19+00:00
It's easy: https://simplebeen.com/onlyfans-statistics/ OnlyFans is so big in the US and so widely used in the US (94 million active accounts) which is about 28% of the population (with the caveat that some people might have multiple accounts). It's too big to fail. The American economy will fail and the government needs to bail it and nationalize it as a public goods service. /s

It's either that or shady backroom deals with Visa.
by julienb_sea | 2025-07-24 18:40:39+00:00
I pay 20$/mo for chatGPT. I find searching through websites for information feels very outdated. I have some websites I specifically visit (e.g. aggregators like HN, journalism like WSJ), but if I want information I am going to have chatGPT present it to me in a manner tailored to my specific investigation. I do still google things when I want to find a particular thing, such as a product link, but for general information I am going to use an LLM.
by incomingpain | 2025-07-24 18:40:57+00:00
Just sharing my perspective. Not beating up on vegetarians. There's no such thing as an omnivore.

Animals fall into 2 categories like carnivores or herbivores; easily defined by 2 different digestive systems. Herbivores have multiple stomachs to help them break down plant matter. Carnivores don’t have that ability, so plant material often passes through them.

While some animals like cats can technically survive on plant-based diets; perhaps supplements from meat sources.

Humans, our biology is carnivorous. Plant-based diets can certainly keep people alive and even healthy for a time. Ultimately the plant based diet must be supplemented with pills sourced from meat or you get sick.
by 542354234235 | 2025-07-24 18:41:09+00:00
I see what you are saying but I think I still disagree. We can make predictions about what will happen in the future but we don’t know. Adding the separation of lightyears seems to make people talk as if they do know what will happen in the future, which we don’t.

We don’t know the Death Ray is on its way. Maybe a new alien was elected Supreme Gbectravic and canceled the project. We are guessing what will happen in 500 years, whether we are looking at our sun or a star 1,000 light years away.

And since light is the universal speed limit for all things, including information, then for casual conversation when we observe something is when it is effectively happening.
by LordDragonfang | 2025-07-24 18:41:20+00:00
> this "private organization" is one of the supporters of "project 2025"

This was misinformation on the part of project 2025.

https://www.accuweather.com/en/press/accuweather-does-not-su...

> AccuWeather Chief Executive Officer Steven R. Smith said “AccuWeather does not agree with the view, and AccuWeather has not suggested, that the National Weather Service (NWS) should fully commercialize its operations. The authors of ‘Project 2025’ used us as an example of forecasts and warnings provided by private sector companies without the knowledge or permission of AccuWeather.”

Project 2025 is fundamentally a propaganda organization which has a symbiotic relationship with both the right- (through populism) and left- (through fear-selling) wing media (social and traditional). You should be immediately critical of anything said by or about them (and fact-check it), because a lot of it is reported uncritically and does not actual represent reality.
by sunrunner | 2025-07-24 18:41:27+00:00
I've always wondered how much is gained through the act of re-typing (in a positive sense). For example, does the process itself help embed the concepts?

I've always liked the idea that familiarity doesn't breed repetition, rather repetition breeds familiarity (I think this is a quote but can't find the source now) and it's always made me wonder how much is gained from some of the repetitive parts of re-typing, such as does this help embed concepts?
by abdullahkhalids | 2025-07-24 18:41:40+00:00
Nobody makes old processors (except for legacy support) because Moore's law has been a thing for 50 years. It has always been cheaper to produce chips at scale with the latest tech. This has justified the creation of 10 billion dollar factories, till recently

Now that the law is close to coming to an end, the economics changes. Latest tech provides negligible marginal benefits to the median consumer. So now it is possible to think of commodotizing a single process and making the factories much much cheaper.
by FirmwareBurner | 2025-07-24 18:41:55+00:00
>Velti and a number of other mobile AdTech and app vendors were clustered in Greece+Balkans

I don't know enough about these companies because I never heard about them so I can't contradict this but googling tells me they're Irish, not Balkan.

And on the other hand, best to look at how important and influential they are to the EU economy, because at the end of the day that's what matters and what drives the economy, politics and citizen votes.

The truth is, nobody cares about the failure of some random ad companies with a workforce of ~100 maybe, that barely pay any taxes locally.

So I don't see how some no-name ad companies are relevant to this. If they were to be highly profitable for the EU, pay a lot in taxes in the EU, and hire tens of thousands of EU workers, we would have heard about them and they would have had lobbying power and support form workers like the likes of VW, Renault or Airbus do. But they're most likely irrelevant in the grand scheme of things so I don't see how they fit in this discussion, as small companies go bust every day around the world, be it US, EU, Asia, etc.

> It's much harder to shut down a business or go thru bankruptcy and arrears when you maybe to deal with a state collections agency due to the associated compliance and red tape hurdles.

It really isn't more difficult since the government helps you with the shutting down part the moment you are unable to pay workers' wages.

>Consumer Insolvency tends to be pro-consumer in the US, and Business Insolvency tends to be pro-business in the US.

Maybe true. Which is why very few Europeans want to start businesses and hire workers, when they face the wrath of the government the moment the finances of their business go south and can't pay the workers wages.

But from the proof I saw, the defaulting on your debt situation is bad in Europe whether you're a business or a consumer, while in US is not that bad as you have a lot of opt-outs legal and otherwise.
by CuriouslyC | 2025-07-24 18:41:57+00:00
I mean, if the entire piece is "exactly" at your skill threshold across the board, that's great. But then you also had a teacher that knew your skill threshold very well and also had an exceptional repertoire to draw on to direct you towards that piece that was just as your skill level. That's not your average music teacher.

Looping arpeggios/chord tone sequences together at progressively higher BPM, while sprinkling in stuff like string skipping, dynamics control/accent patterning, etc lets you stay close to your edge of ability and really focus on specific techniques heavily. If you're trying to make it sound good to a backing track at the same time, it also develops improvisational abilities and musical originality in a way that playing existing music won't.
by Yoric | 2025-07-24 18:42:03+00:00
Segfaults are just the simplest way of exposing a memory issue. It's quite easy to use a race condition to reproduce a state that isn't supposed to be reachable, and that's much worse than a segfault, because it means memory corruption.

Now the big question, as you mention, is "can it be exploited?" My assumption is that it can, but that there are much lower-hanging fruits. But it's just an assumption, and I don't even know how to check it.
by jrockway | 2025-07-24 18:42:27+00:00
NVMe drives do their own manipulation of the datastream. Wear leveling, GC, trying to avoid rewriting an entire block for your 1 bit change, etc. NVMe drives have CPUs and RAM for this purpose; they are full computers with a little bit of flash memory attached. And no, of course they're not open source even though they have full access to your system.