MurphyA/hacker-news huggingface dataset:
by buu700 | 2025-11-08 01:55:20+00:00
To be fair, the "War on Tobacco" has actually been a huge success[1]. I've been saying for years that we should end the War on Drugs in its current form and extend tobacco policy to other drugs. If you're old enough to drink, smoke, and get shipped off to a warzone, who is anyone else to tell you that you don't deserve the freedom to buy a bottle of pharmaceutical-grade heroin at CVS and shoot it up in the privacy of your own home?

But because we collectively insist on infantilizing ourselves, hundreds of billions of dollars per year are redirected from the pharma industry to black market criminal syndicates. Instead of funding medical research and stock buybacks, we're actively choosing to fund global chaos and mass atrocities. We could stop tomorrow, and it would cost us nothing. In fact, it would save the US billions of dollars in annual losses at all levels of government and generate billions of dollars in annual tax revenue, all of which could be used to fund things like addiction treatment services, law enforcement, and border security.

1: https://www.lung.org/research/trends-in-lung-disease/tobacco...
by wakawaka28 | 2025-11-08 01:55:36+00:00
In historical times, rulers would also murder millions of people on suspicion of disloyalty. I think you overestimate the impact of video games and porn. Even if what you're saying is right, it's not better than some kind of violent correction. The trouble is that pushing young men to the point where violence is the answer wipes out all the rules. There will probably be a lot of collateral damage.
by dottrap | 2025-11-08 01:55:42+00:00
Microsoft's timing was the worst. I think they announced this a year after Swift was already announced, but before Swift was open sourced. So Microsoft wouldn't be able to deal with things like Obj-C/Swift interop which iOS developers were already jumping onto. And Microsoft's Windows 8 mobile initiative was pretty clearly a flop by this point.

Frankly, this Obj-C effort needed to be done way earlier, starting with AppKit, like back when Microsoft was panicking that OS X 10.4 Tiger was going to kick Longhorn's butt. If these tools had already been proven useful before the dawn of the iPhone, Microsoft might have had a chance of riding the iOS wave.
by throwawaypath | 2025-11-08 01:55:54+00:00
>DHH has repeatedly shown he's a bad actor

No he hasn't. Holding heterodox opinions isn't being "a bad actor."

>He will continue to drive away sane people from the communities he's a part of.

He's driven insane people from the communities he's a part of. Sane people will flock to them.

>He has also quite clearly taken a nazi or ethnonationalist stance.

No he hasn't. There's nothing wrong with promoting or protecting the interests of native or indigenous people over those of immigrants or foreigners.
by apparent | 2025-11-08 01:56:02+00:00
Consulting firms are going to be hard hit by AI. [1] It will make them more efficient, but so many potential clients will be able to gather the needed data, crunch the numbers, and write up analyses by themselves. And if they do still use outside consultants, they'll expect the prices to go down since they know that an army of junior consultants won't be necessary to build all the models.

1: https://www.ft.com/content/68011c4a-8add-4ac5-b30b-b4127aee4...
by Syzygies | 2025-11-08 01:56:34+00:00
To decide on a language for a math research project, I implemented a toy problem in many languages: What is the distribution of cycle counts for signed permutations on n letters? Use all cores in parallel.

C++ 100 19.57s Rust 96 20.40s F# 95 20.52s Nim 75 26.04s Julia 64 30.40s Ocaml 48 41.07s Haskell 41 47.64s Chez 39 49.53s Swift 33 58.46s Lean 7 278.88s Tarjan, n = 10 Nyx - Apple M4 Max - 12 performance and 4 efficiency cores n! * 2^n = 3,715,891,200 signed permutations score = gops normalized so best language averages 100 time = running time in seconds

This had me briefly smitten with F#, till I realized the extent that rusty .NET bed springs were poking through. Same as the JVM and Clojure, or Erlang and Elixir. The F# JIT compiler is nevertheless pretty amazing.

I nearly settled on OCaml. After AI warning me that proper work-stealing parallelism is a massive, sophisticated project to code properly, the 40 lines of OCaml code I wrote that beat available libraries is my favorite code file in years.

Nevertheless, once one understands lazy evaluation in Haskell, it's hard to use any other language. The log slowdown for conventional use of a functional data structure becomes a linear speedup once one exploits persistence.
by dgfl | 2025-11-08 01:56:36+00:00
I haven’t used an android device in 2 years, but I was just like you for almost a decade. At some point I got tired of all the micro-annoyances that I had with android and my oneplus phones (my last one was the oneplus 7T), such as awful brightness sensor, terrible compass, suboptimal gps, and low quality vibration engine. All stuff that you’ll never hear about in an actual review, for some reason. My music player is an app called “Music”, and my ebook reader is an app called “Books”. I have spent exactly zero seconds looking for these apps since they’re already included with the phone, and are not developed by an unknown hero that could be hit by a bus at any moment. On books I read books that I bought from the iTunes Store, and epubs or pdfs that I downloaded online. I can access the epub files of both my own and the store-bought stuff from my mac’s filesystem. Everything is fully synced to all of my other devices through iCloud, a service which I’ve spent zero minutes setting up and zero minutes maintaining. These apps have all features I need, since all I want them to do is open my files and keep track of progress. They’re not customizable and I don’t care about it. I could download open source apps from the App Store or alt-store if I wanted to. I pay 3 euros/month for my cloud storage. It works and I haven’t had problems with it. I share it with some family members. My browser is safari with uBlock origin lite. Admittedly I had to spend some time looking for a decent ad blocker, it’s not as easy as android. I’m also not trying to live a minimalist or retro life, although I appreciate the ideology. My main philosophy right now is just that my phone is a tool through which I read books and listen to music (among other things). It has some limitations, but they’re not important. I don’t want to have to think about setting up a media server to listen to music, or figuring out syncthing settings once again because it’s been 3 years since I last set it up and it now broke all of a sudden. I just want to not have to think about this and get on to more important aspects of life.
by GPerson | 2025-11-08 01:57:24+00:00
The more I interact with these the less I’m afraid these tools will make life meaningless. (Can’t speak on art generation tools. Those still depress me.) It doesn’t matter what you’re making there are still a lot of hard parts even with the best versions of these tools. I doubt a good software developer can be replaced totally unless these get way better.

The best use cases are for code that’s clearly not an end product. You can just try way more ideas and get a sense of which are likely to pan out. That is tremendously valuable. When I start reading the code they produce, I quickly find many ways I would have written it differently though.
by jhbadger | 2025-11-08 01:58:10+00:00
It's important to realize that "Photograph 51" wasn't "Franklin's" -- it was taken by Raymond Gosling, a grad student mentored by Franklin and Maurice Wilkins. What happened was that Wilkins chose to share the data with Watson and Crick. Yes, he maybe should have consulted with Franklin first (and certainly with Gosling, whose opinion nobody seems to care about).

In any case, while Franklin certainly didn't get along with Watson, she was close friends with Crick and his wife Odile up to her death and in fact lived with the Cricks when she was undergoing treatment for her cancer [2]. This would be hard to square with the idea that she thought Crick had "stolen" "her" data,

[1] https://en.wikipedia.org/wiki/Raymond_Gosling [2] https://en.wikipedia.org/wiki/What_Mad_Pursuit
by jmole | 2025-11-08 01:58:34+00:00
I thought this article would first start with the most essential question: "How to decide what you need on your devboard".

Without that critical piece of design work, you may as well call this "How to build a Raspberry Pi Nano from scratch". Which, to be fair, is also a good article to write.

But step 1 for really building a dev board is answering the question, "What do I need from this that I can't get from a $5 Amazon purchase?"
by zahlman | 2025-11-08 01:59:07+00:00
> promises no censorship... has a very right-wing slant

https://slatestarcodex.com/2017/05/01/neutral-vs-conservativ...

> The moral of the story is: if you’re against witch-hunts, and you promise to found your own little utopian community where witch-hunts will never happen, your new society will end up consisting of approximately three principled civil libertarians and seven zillion witches. It will be a terrible place to live even if witch-hunts are genuinely wrong.
by raw_anon_1111 | 2025-11-08 02:00:14+00:00
Really?

30%+ of teenagers smoke weed

https://www.cuimc.columbia.edu/news/everything-you-and-your-...

Statistics for drinking

https://www.responsibility.org/alcohol-statistics/underage-d...

Even when I was in school in the 90s high schoolers were sneaking and smoking during school
by creata | 2025-11-08 02:00:18+00:00
> Type inference has left academy and proliferated into mainstream languages for so many years that I almost forgot that it's a worth mentioning feature.

I'm not even sure I'd call this type inference (other people definitely do call it type inference) given that it's only working in one direction. Even Java (var) and C23 (auto), the two languages the author calls out, have that. It's much less convenient than something like Hindley-Milner.
by zepharaai | 2025-11-08 02:00:39+00:00
AI is transforming our world at an unprecedented pace. But rapid deployment without adequate safeguards has led to documented harms across marginalized communities globally. From content moderators in Kenya paid $1.32/hour to review traumatic content, to algorithmic caste discrimination in hiring systems, to environmental costs falling disproportionately on the Global South.

These aren't isolated incidents. They're symptoms of systemic gaps in how we develop and govern AI.

Today, we're releasing our comprehensive framework to address these challenges, grounded in the latest research from MIT, UNESCO, OECD, and civil society organizations across six continents.

Our framework is built on ten foundational principles that balance innovation with social responsibility: Contextual Fairness, Transparent Accountability, Labor Dignity, Data Sovereignty, Environmental Justice, Epistemic Justice, Democratic Governance, Proportional Regulation, Security Without Surveillance, and Information Integrity. Each principle provides research foundations, clear positions, and concrete actions for implementation.

What distinguishes our approach: We reject false dichotomies between innovation and safety. We center Global South perspectives. We're technology aware without being naive. And we believe those most vulnerable to AI's risks deserve the strongest voice in shaping its future.

Full framework attached. We welcome your feedback and engagement.
by 9rx | 2025-11-08 02:01:00+00:00
> "mock" - an object that has expectations about how it is to be used. It encodes some test logic itself.*

Something doesn't add up. Your link claims that mock originated from XP/TDD, but mock as you describe here violates the core principles of TDD. It also doesn't fit the general definition of mock, whereas what you described originally does.

Beck seemed to describe a mock as something that:

1. Imitates the real object.

2. Records how it is used.

3. Allows you to assert expectations on it.

#2 and #3 sound much like what is sometimes referred to as a "spy". This does not speak to the test logic being in the object itself. But spies do not satisfy #1. So it is seems clear that what Beck was thinking of is more like, say, an in-memory database implementation where it:

1. Behaves like a storage-backed database.

2. Records changes in state. (e.g. update record)

3. Allows you to make assertions on that change in state. (e.g. fetch record and assert it has changed)

I'm quite sure Fowler's got it wrong here. He admits to being wrong about it before, so the odds are that he still is. The compounding evidence is not in his favour.

Certainly if anyone used what you call a mock in their code you'd mock (as in make fun of) them for doing so. It is not a good idea. But I'm not sure that equates to the pattern itself also being called a mock.
by JuniperMesos | 2025-11-08 02:01:25+00:00
Sounds pretty similar to the program of https://en.wikipedia.org/wiki/Dor_Yeshorim with respect to generic diseases common in Jewish populations like Tay-Sachs.

Dor Yeshorim is Hebrew for "upright generation" (a reference to a Psalm), and I always thought that was a pretty eugenics-y sounding name. Of course attempting to influence which people have children with which other people in order to avoid genetic problems is a type of eugenics, just one that seems reasonable in light of the fact that it does seem to have greatly reduced the prevalence of Tay-Sachs sufferers.
by IgorPartola | 2025-11-08 02:02:10+00:00
I never find arguments like this compelling (but I agree with your sentiment). I don’t much care to fire up the time machine to go back 12 or more years to develop software today. If your argument is that ZFS and jails provide the same functionality but are more stable than Docker. But as is it comes off as “get off my lawn you young whipper snappers”.

But at the same time, the reason Docker won was not because it was groundbreaking tech or because it was amazingly well tested or anything. Just as one example, it has a years old bug which actively gets more comments every week having to do with Docker grossly mishandling quotes in env files.

No, the reason it won is because the development experience and the deploy experience is easy, especially when you are on Linux AND on macOS. I can’t run FreeBSD jails or ZFS on macOS, can I? Definitely not with one file and one command.

Jails and ZFS are amazing tech but they are not accessible. Docker made simple things very simple while being cross-platform enough. Do I feel gross using it? Yeah. It’s a kludgy solution to the problem. But it gets the job done and is supported by every provider out there. I am excited that it is being ported to FreeBSD though I know it will be a very long process.
by __MatrixMan__ | 2025-11-08 02:04:23+00:00
1&2) its not my code, its just code that I wrote. The enshittification problem goes away if anybody can fork it and make a less enshittified version. We could have--brace yourself for this radical concept--competition over who could make a better thing. All the bad things you're saying will happen if we don't assert ownership over data are in fact only happening because we assert ownership over data.

Somebody else owning the solution to our problems is why we tolerate such abuse. Otherwise we could cut out the abuse parts and solve the problem directly.

3) I was unspecific about how much money they'd get ahead of time versus upon completion because I figure that ought to be a case-by-case thing.

The idea that people should be able to live well based on having done good work in the past is a good one. Let's make that happen, but why should it have anything to do with property? If I build a particularly strong bridge which surpasses expectations re: longevity shouldn't I get the same retroactive compensation as somebody who wrote a particularly good book? If I publish freely the cure for a disease, should society not reward me to a greater extent than if I sold the patent to a company that will decline to act on the discovery because it's more profitable to treat that disease than to cure it?

The things you seem to want from intellectual property are important, but pushing the concept of property beyond what is natural for it is a harmful way to achieve them.

A) its not working particularly well for the artists

B) its not working at all for workers outside that domain

C) it has all kinds of really awful side effects which are far more harmful than whatever good we can reasonably expect it (property) to do.

When IP was invented to justify the church's right to prevent the wrong kind of bible from being printed we didn't have the ability to implement the alternatives that are available to us today. The best we could do is play-by-the-rules-or-we'll-take-your-printer. We have new capabilities now, let's solve these problems head on instead of leaning on ideas from the 1600's to do so.
by rFlex | 2025-11-08 02:06:01+00:00
One of the Valdi's authors here. It's using native views under the hood, like React Native, and there are 3 modes of compilation/execution for the TS source. It can be interpreted from JS (TS compiled to minified JS source), interpreted from JS bytecode (TS compiled to JS source, minified, then compiled to JS bytecode ahead of time), or compiled to native code directly (TS compiled to C ahead of time).
by jiggawatts | 2025-11-08 02:06:54+00:00
Algorithm choice depends on what you're optimising for. The discussion a few years ago was dozens of small web servers handling a large volume of password change traffic (10K/sec!) needing a cheap centralised service for verifying against "known bad" passwords. On a cloud hosting platform, the optimal solution is a blob store of sorted binary hashes with a small (~1 MB) precomputed index stored in-memory in the web server that lets you query the main store with 1 or at most 2 reads. This is an optimal "one round trip" request, and the per-server overhead at the front end is negligible.

However, that approach assumes a slowly changing list where you don't mind that there's a delay of maybe a few hours to merge in a new list. Large lists of password leaks are infrequent, so this works fine for this usecase.

A two-layer approach with a small frequently updated hash set on top of the large infrequently built sorted list is more generally applicable to a wider range of problems.

Bloom filters are probabilistic, and aren't much faster to create than a sorted list. They also require 'k' random reads to test, where k is a small constant such as 3 to 5. If the filter is large (gigabytes), then you can't efficiently load it into many front-end web servers. If you query it over the network as a blob, you need 3-5x the I/O operations. You can wrap it in an API service that holds it in-memory, but that's still much more complex than simply storing and querying a blob in S3 or Azure Storage directly.

"Clever" algorithms like min-heaps or whatever are likely not worth the trouble. My decade-old PC can sort 2 billion hashes in about 30 seconds using the Rust "Rayon" crate. There are cloud VMs available for about $2/hr that have about a terabyte of RAM that could sort any reasonable sized list (10s of billions) in a few minutes at most.

The original article mention a week of 80 vCores of SQL Hyperscale, which is about $6,000 at PayG rates!

Sure, developer time is expensive, blah blah blah, but waiting a week ain't cheap either, and these days an AI can bang out the code for a password file hashing and sorting utility in a minute or two.
by rhetocj23 | 2025-11-08 02:07:18+00:00
I personally called it within my circle that when Friar was hired she was going to commit a tremendous blunder. It may have been innocent, but the trend is now reversing in regards to its mantlehold of mindshare of consumers.

Someone I know who has been an absolute staunch advocate of chatgpt,and has been for the best part of the past 1.5 years suddenly changed their tune earlier this week. That is my signal that things are turning south.

There will be a reprieve for some time, with increasing revenue. But eventually that will jam to a halt and all the doubts will intensify.
by saimiam | 2025-11-08 02:07:23+00:00
That’s a crazy proposal given India’s long standing non-alignment policy which is being proved prudent given recent changes to US policies under Trump.

Even US allies are reducing their reliance on the US and you’re asking India to reverse 70+ year old policy to embrace the US?

We should probably accept that the US’ special place as everyone’s most reliable trading and security partner is over.
by icefunc | 2025-11-08 02:07:43+00:00
FireAI: One Platform to Chat, Create Images, and Design Posters – Without Paying for 10 Subscriptions

Every month, it feels like we sign up for yet another AI tool. One platform for chatting. Another for image generation. A different one for poster design. And each one… wants a subscription.

The result? Too many tabs, too many plans, and too much time wasted rebuilding content across tools.

FireAI is changing that. https://fireai.tech

What FireAI Solves

FireAI combines three essential creative workflows into one platform:

AI Chat – Use 50+ top AI models (GPT, Claude, Gemini, Llama, etc.) AI Image Generation – Create art, product images, posters assets, and more AI Poster Design on Editable Canvas – Like Figma, but AI-driven

You can brainstorm your idea → generate visuals → refine the poster without leaving the platform.

The Canvas: What Makes FireAI Different

Most AI poster generators stop after generation. You get a “final” JPG — and if you want changes? You’re back to square one.

FireAI keeps everything editable:

Move elements freely

Modify all text & fonts

Replace AI images layer by layer

Tweak composition & spacing

Apply design layouts instantly

It’s like blending Midjourney + Figma + Canva into one seamless workflow.

Who Is FireAI For?

Students → presentations, research posters Marketers → quick campaigns & social creatives Content creators → thumbnails and covers Small businesses → flyers, promo materials Founders → pitch visuals, brand prototypes

No design experience required. No switching apps. No extra subscriptions.

One Subscription → All AI Models

This might be the biggest win: You don’t choose which AI model to buy → you get them all.

No model lock-in No repeated billing Unlimited experimentation

Plus, if you register now — new users get free credits to test everything.

Try FireAI here: https://fireai.tech
by notepad0x90 | 2025-11-08 02:07:48+00:00
Is that survivor's bias? there are many other mental development goals chidren should have. for the very small number of children that will learn to program at that age, there is no harm in delaying it a few years, but for the vast majority whose development would be stunted, or worse, they'll be harmed.

Some kids learn to drink and smoke at a that age too, and many turn out ok.
by teo_zero | 2025-11-08 02:07:56+00:00
Beautiful.

The site should be more explicit about which characters are covered. I understand it's only ASCII, right? Although the example shows some currency signs that are definitely out of the 0-127 plane.

It would also be appreciated if you could suggest a fallback font for those glyphs not present in Myna, so that if I ever need to include the word "naïve" in a string, for example, the "ï" won't look as an alien character.