MurphyA/hacker-news huggingface dataset:
by mfrye0 | 2025-07-25 03:52:43+00:00
I checked that one out. The one that Reddit recommended was Voice Type. It's completely offline and a one-time charge:

https://apps.apple.com/us/app/voice-type-local-dictation/id6...

The developer is pretty cool too. I found a few bugs here and there and reported them. He responds pretty much immediately.
by phatskat | 2025-07-25 03:53:06+00:00
I think I’ll take another jab at this part

> Lastly, Tailwind has also been buoyed by being by being the default styling that just about any LLM or vibe coding tool will produce

Tailwind, afaik, was doing just fine without LLMs “buoying” it - I’ve been using it for several years now and have been pretty pro-Tailwind since getting the hang of it, and it was rare to move to a new project that wasn’t already using it. The idea that LLMs are making it more popular is interesting but I don’t think Tailwind is a ship that would have sunk without them, on the contrary I think it’s been a solid choice for a while now for a lot of good reasons.
by ajitsing | 2025-07-25 03:54:39+00:00
I built PDFToolsHub – a collection of simple, privacy-friendly PDF utilities that run entirely in the browser. No sign-up, no file uploads to a server – everything is processed locally for speed and privacy.

Features include:

Merge multiple PDFs

Split by page range

Extract specific pages

Add custom watermarks

The goal was to make everyday PDF tasks fast and accessible without annoying account walls. Would love feedback, feature ideas, or bug reports!
by refulgentis | 2025-07-25 03:55:03+00:00
It's really sad because, straightforwardly, there's no penalty for just saying PEBKAC. Gun industry has tons of US legislative-granted legal immunity lest they ever accidentally become victim of a legal process that holds them accountable for, say, a mass shooting.

They've been saying it was a political witchunt and avoiding dealing with it. This, hopefully, breaks the dam.
by dataflow | 2025-07-25 03:55:14+00:00
Am I missing something or is that bold claim obviously wrong on its face? This seems like a Go deficiency (lack of atomicity for it pointers), not some sort of law about programming languages.

Can you violate memory safety in C# without unsafe{} blocks (or GCHandle/Marshal/etc.)? (No.)

Can you write thread-unsafe code in C# without using unsafe{} blocks etc.? (Yes, just make your integers race.)

Doesn't that contradict the claim that you can't have memory safety without thread safety?
by phatskat | 2025-07-25 03:55:48+00:00
Yep! I was a heavy Bootstrap user for many years, along with all the fun of maintaining sprawling trees of SASS files, imports, utility functions etc.

I hemmed and hawed when I first had to learn Tailwind - “what are these classes? How does that work? Excuse me what?” But honestly it took very little time to get the hang of it, and with the Tailwind LSP it’s so simple that it seems like using anything else would be annoying at best.
by ianburrell | 2025-07-25 03:55:57+00:00
Radiation is measured in gray, which is 1 J absorbed by 1 kg. I can't find the conversion between flux to absorbed dose. 5 gray is fatal. If even a fraction of that energy is absorbed, it would be fatal.

I found that satellites get 100-1000 rad per year. Getting that much in a moment would cause problems.
by ummonk | 2025-07-25 03:56:36+00:00
Many pistols don't. It does lead to a higher risk of accidental discharges (that's how we got the term "glock leg"). That's also the argument that Sig made - that every unintended discharge was due to user error. The evidence is increasingly clear cut that this isn't the case, and the pistol can go off on its own when jostled while properly holstered, but Sig persists in trying to claim the pistol is safe and blame the users.
by Qwertious | 2025-07-25 03:57:30+00:00
The phoebus cartel whine is bullshit - incandescent light bulbs should be limited to 1000 hours because 1) the cost of electricity used by the bulb is easily as much as the replacement bulb (in the 1920s/1930s), and running the bulb hotter makes it more energy-efficient, and 2) because running incandescents cold makes the light look sickly and awful. Light bulbs were mostly being sold by electric companies at the time, so trading one for the other didn't matter to them.

Planned obsolescence does happen, but the phoebus cartel is the worst 'example' of it.
by unstuck3958 | 2025-07-25 03:57:51+00:00
Anecdotal: definitely a long way to go for systems programming, non-trivial firmware, and critical systems in general. And I say this as a huge fan of LLMs in general.

I work as a FW Eng and while they've been of immense value in scripting especially (fuck you powershell), I can only use them as a better autocomplete on our C codebase. Sometimes I'd chat with the codebase, but that's a huge hit or miss.
by dkbrk | 2025-07-25 03:58:38+00:00
Thanks for the link, but I'm not sure what the point of the 50 minute video is. Here's [0] the pdf of the report. It's really not that long.

[0]: https://drive.google.com/file/d/1L7RXrneHlzfjrewMFIeeyc-nel3...
by mikewarot | 2025-07-25 03:59:47+00:00
How are you going to replace all those vehicles going hundreds of miles that happened to get dumped through our town?

I thought I was fairly explicit that this wasn't just a typical low traffic suburb. We routinely have backups that go for miles. It's been a feature of the area (the crossroads of the nation) since my dad was a kid in the 1950s.

Fewer lanes is insane, but they want to do it anyway
by geysersam | 2025-07-25 04:00:23+00:00
I'm a bit torn on this. We're all dependent on other people one way or another. Individuals with Downs are more dependent, but it's a spectrum and they can still have meaningful lives. Meanwhile healty "independent" individuals can live entirely tragic and arguably pointless lives devoid of love and filled with anger.

That said, I'm still pro screening for Downs in fetuses. What I'm trying to say is that I'd do the screening for me as the parent. Not for the person to be born.
by jghn | 2025-07-25 04:01:12+00:00
Before Moneyball there were other controversial stats, largely driven by Bill James. By and large they had the same footprint you're describing. In any particular game they were such a small effect as to be meaningless. But of the course of a season? That could be the difference between playoffs or not.

The one that pops into mind offhand was putting the "cleanup hitter" as leadoff, even though at the time "leadoff hitter" was a very specific physical archetype as was the "cleanup hitter". Yet the latter was often the best hitter on the team, and by putting them top of the batting order they'd get more at bats over the course of a season.
by aprilthird2021 | 2025-07-25 04:02:33+00:00
> incorporation of concepts like critical race theory, transgenderism, unconscious bias, intersectionality, and systemic racism

So... the concept of unconscious bias is verboten to the new regime? Isn't it just a pretty simple truth? We all have unconscious biases because we all work with incomplete information. Isn't this just a normal idea?
by waynedev9598 | 2025-07-25 04:02:39+00:00
I’ve been running 3 TikTok accounts, posting 3 slideshows a day to promote my apps. That’s 9 slideshows daily—and it used to take me over 40 minutes using Canva and ChatGPT.

It worked for organic growth, but it was a nightmare creating them. So I built SlideshowGen.

It’s a simple, one-feature product that turns a title into a ready-to-post TikTok-style image slideshow in seconds. No prompts. No design work. Just fast, great-looking content.

TikTok’s algorithm is heavily favoring slideshows right now—it’s a golden window for creators and indie hackers to build distribution. SlideshowGen helps you ride that wave without the burnout.
by lc9er | 2025-07-25 04:02:58+00:00
I’ve played mostly hard rock and metal, and am often the only band member with actual music theory knowledge (as the drummer, no less!). I’ve watched a number of bandmates resist learning any music theory because, “I don’t want to have to play by the rules” - as if they were some 16th century court composer.

Inevitably, they end up reinventing the wheel, in order to understand music they learn or write and then share with other musicians.

I think one thing that gets lost is that beyond being rules (more like observations these days) about how to write music, music theory is also a language that allows you to communicate with other musicians.
by linguae | 2025-07-25 04:03:11+00:00
TL;DR: Check out MIT’s Open Courseware.

Long answer: In the United States, many colleges and universities use educational CMS platforms such as Canvas and Piazza for sharing course content with enrolled students. I used Canvas as a UC Santa Cruz grad student, San Jose State University part-time lecturer, and now as a tenure-track instructor at Ohlone College (a two-year community college). This was not the case when I was an undergrad at Cal Poly 20 years ago; CS professors placed their course content on their personal websites, and non-CS professors handed out their syllabi and other course assignments on paper.

The consequence of the use of platforms like Canvas is that course materials are usually not available to students not enrolled in the course. Granted, this is the same situation as in the pre-CMS days when most professors handed out course information by paper. However, it makes it harder for non-enrolled students to see what the classes are like.

Your best bet would be to take advantage of MIT’s Open Courseware, which contains the syllabi, lecture notes, problem sets, and exams for many MIT courses in a variety of subjects.

Also, there are some courses that have become famous, such as Harvard’s MATH 55 and Stanford’s CS 229. It should be possible to find the course materials, except for exams, for these courses.
by 1vuio0pswjnm7 | 2025-07-25 04:03:19+00:00
In testing I did, it is possible to run WhatsApp on Android without access to "Contacts"

For example,

1. Export contacts from the Contact app to a file if it is not a new phone

2. Disable Contacts app

3. Install a different contact database such as OpenContacts from F-Droid or Github

4. Import contacts from the file into OpenContacts

WhatsApp will not import the contacts in the OpenContacts database

Further, no other app will import these contacts either

This solves the "access to contacts" issue
by 1123581321 | 2025-07-25 04:03:23+00:00
That isn’t the choice. You only need maybe 20-50 hours of theory and anyone learning music will accumulate at least a few thousand hours of playtime if they stick with it. The order in which you do those matters a lot though. It differs depending on the age you start playing. Most adults should learn theory early, but not before they’ve done enough beginner to be able to practice theory as they learn it.

(Obviously you can study music more than 50 hours. I’m just talking about the applied theory most expert musicians know.)
by Avicebron | 2025-07-25 04:03:31+00:00
> engineer your way out of it, or stay out of the conversation

The civilian conservation core, as conceived and executed in the 33-42 era, while updated to more modern standards of participation and scope would work wonders.

You're welcome.

EDIT: We're haunted by the same ghost. It's either up and out or over and through. Buenas noches.
by xmprt | 2025-07-25 04:05:53+00:00
> the cost of electricity used by the bulb is easily as much as the replacement bulb

This point is only relevant if 1000 hour old bulbs cost more electricity to run than new bulbs. Maybe I don't understand how old bulbs worked but why couldn't they invent ways to make bulbs run hot which also last longer than 1000 hours.
by Defletter | 2025-07-25 04:06:09+00:00
While I am certainly a fan of Swift's error handling and think it'd be an improvement to Java's current state of affairs, I do think that using null as an error analogue is... unwise. What happens when a function is throwable but also may return null? How do you determine whether the null is a coerced error or a valid return? Or rather, how do you do this without returning to the un-ergonomic try-catch? Zig solves this by having errors and nulls be separate parts of the type system which you can deal with separately and inline.
by necovek | 2025-07-25 04:08:07+00:00
I am guessing this came out of misunderstanding "profile before optimizing": you don't profile a benchmark, but a live, production system instead.

Obviously, it becomes hard in such an aggressively optimized system, but if that's the case, trying and failing is an acceptable approach (I've seen 2 weeks wasted in a many a worse ways, to be honest).
by cvoss | 2025-07-25 04:08:24+00:00
What you say is not only technically untrue, it's just plain untrue. It's a choice of the language designer whether capturing groups break commutativity.

Sed makes one choice. I'd guess that GP would call this broken garbage too, and I'd agree. Regular expressions have all these nice theoretical properties like closure under all the boolean operations and linear-time matching, but these nice properties get trashed by features that don't mesh or aren't fully thought through.

In this case (thinking about capturing groups and commutativity), one property of regular expressions is that for each one there is a machine that can do the linear-time matching -- a DFA. Even if the regular expression contains not-mutually-exclusive alternations, when it gets compiled to a DFA, the matching procedure is deterministic by construction. I can imagine a way to integrate capturing start and end actions into the transition edges of the DFA. The right thing to do is to perform capturing on all the matching alternands, not just the first. You lose the ability to number the capturing groups left to right, but instead you should lay them out in a tree that follows the concatenation/alternation structure of the expression.
by drpixie | 2025-07-25 04:08:39+00:00
Arrggg- that's the best reason, so far, to avoid Go.

Almost nothing is a number. A length is not a number, an age is not a number, a phone number is not a number - sin(2inches) is meaningless, 30years^2 is meaningless, phone#*2 is meaningless, and 2inches+30years is certainly meaningless - but most of our languages permit us to construct, and use, and confuse these meaningless things.
by mindslight | 2025-07-25 04:09:27+00:00
A man in Des Moines visits a news stand every day, buys a copy of the Chicago Tribune, glances at the front cover, swears, and throws it in the trash. One day the seller asks "I've seen you do this every day for months, what exactly are you hoping to see?" The man replies "an obituary." The seller exclaims "but those are on page 9 and you don't even look inside" The man replies "the obituary I am looking for will be on the front page."
by BeetleB | 2025-07-25 04:09:58+00:00
> If forced to choose between rampaging through someone’s house in close quarters combat, or waiting outside for them to come to me, I’d pick the latter.

And many wouldn't.

> A lot is feasible if your life is at stake.

I won't argue the point - people have different opinions on this, and it's not a topic you're going to get a "clear correct" answer for. The point still stands: Some people choose not to leave, and then their options become limited. They often have to live the rest of their life in fear, and not everyone can get a new identity.[0]

Also, as I and others have pointed out - just the mere fact that you have a gun, are trained to use it well, and keep it on/near you at all times will deter a significant percentage of problematic people.

The other thing to point out - this thread is filled with the extremes (including my examples). It's not always the case that someone has planned to kill someone. There is a continuum of threats.

BTW, try living in the rural[1] parts of my state, where everyone has a gun, and the police funding is low, and often the 911 operator will tell people "Sorry, we're out of resources and it'll take at least 30-60 minutes to get to you. Do what you can to defend yourself"[2] People routinely take advantage of the fact that the police will not get there in time, and not having a gun is inviting such folks.

[0] A coworker's father recently passed away. When it happened, he revealed to me that he had lived much of his life in fear that his father would show up at the door with a gun and shoot him. Even when he lived in a different state. Not exaggerating to say he was relieved when he died. Weirdly enough, he got a gun only after his father died.

[1] And by rural, I still mean a proper city where you have neighbors next to you, etc.

[2] Paraphrasing an actual 911 call.
by phatskat | 2025-07-25 04:11:51+00:00
I am curious to hear more, particularly around performance. I also don’t quite grok the bit about “browser dev tool usability”.

There’s no reason you can’t add utility classes for clamp() in tailwind, and while I haven’t tried it, you should even be able to do things like `class=“w-[clamp(200px,40%,400px)]”` in Tailwind. A quick look at the docs and there’s an example of inlining calc() this way, so I don’t think clamp() would be any different.

Maybe Tailwind could add a clamp utility in the future, eg. `class=“clamp:w-2:w-full:w-16”` to evaluate to `clamp(8px, 100%, 64px)`, seems like that could be useful for avoiding the “over-reliance on media queries”. Side note: I’ll admit I haven’t looked much into the performance issues or inefficiencies of media queries, I’d love to see some writing on that.
by geokon | 2025-07-25 04:13:14+00:00
As far as I understand with WeChat you can't disputes purchases and do things like chargebacks. If your phone is somehow stolen and account drained (they'd need to know your pin..) then you're probably be screwed?

So there isn't the concept of insurance as far as I understand.

Not to defend the credit card companies in the slightest.. but its a bit apples to oranges
by codys | 2025-07-25 04:13:55+00:00
In this thread I linked the fly.io security page because it helps us establish that one can talk about _languages_ as being memory safe specifically, which is something it seems you're rejecting as a concept in the parent and other comments.

(In a separate comment about "what do people claim about Go anyhow", I linked the memorysafety.org page, but I did not expect it to help in getting you to the understanding that we can evaluate programming languages as being memory safe or not, where something from the company where someone was a founder seemed more likely to get a person to reconsider the framing of what we're examining)
by ardit33 | 2025-07-25 04:14:06+00:00
It is still incomplete and a mess. I don't think they thought through the actual main cases Swift is used for (ios apps), and built a hypothetical generic way which is failing on most clients. Hence lots of workarounds, and ways to get around it (The actor system). The isolated/nonisolated types are a bit contrived and causing real productivity loss, when the old way was really just 'everything ui in main thread, everything that takes time, use a dispatch queue, and call main when done'.

Swift is strating to look more like old java beans. (if you are old enough to remember this, most swift developers are too young). Doing some of the same mistakes.

Anways https://forums.swift.org/t/has-swifts-concurrency-model-gone... Common problems all devs face: https://www.massicotte.org/problematic-patterns

Anyways, they are trying to reinvent 'safe concurrency' while almost throwing the baby with the bathwater, and making swift even more complex and harder to get into.

There is ways to go. For simple apps, the new concurrency is easy to adopt. But for anything that is less than trivial, it becomes a lot of work, to the point that it might not make it worth it.
by kawfey | 2025-07-25 04:15:15+00:00
IMO it's because we (americans) are in an oligarchy, and barring modifications to the urban fabric that stem from (often repetitive) loss of life, there are no massive corporations to bankroll or lobby for pedestrian and urban mobility enhancements.

I mean, we just got a signalized crosswalk on a state highway to my city's most popular custard stand, 3 years after a student was killed by drivers and others were injured. https://www.ksdk.com/article/news/local/17-year-old-hit-kill... || https://www.stlpr.org/news-briefs/2025-07-16/deadly-crossing...

and even still, the only thing separating the highway and a crowd of 100+ people in line for custard is a fence on an 8-12" tall curb https://maps.app.goo.gl/2pD9mSzr9yTAK1z19

I wish we had a society where the "real" felony is developing harmful infrastructure in the first place. Manslaughterers losing their license or going to jail, and band-aid fixes like paint, signals, and frangible fences do actually nothing to prevent the next fatality.
by CalChris | 2025-07-25 04:16:14+00:00
> According to the Federal Reserve, over 100 billion debit card payments were made in 2021, compared to 51 billion credit card payments. In terms of transaction value, debit cards processed $4.6 trillion, while credit cards reached $4.9 trillion, indicating that credit transactions tend to be about double in average value.

Interesting that debit cards are twice the swipes that credit cards are. Didn't know that. I wore the debit card hair shirt for decades. They have a ~0.73% transaction cost vs 1.5% to 3.5% for credit card swipes. But I never once got any benefit from this lower transaction cost.

So now I have the Trifecta and a Savor. I work my credit cards aggressively and use their benefits to exceed their annual fees before even accounting for 3% cash back and Membership Reward Points and signup bonuses.

I am winning on this. Consequently someone else must be losing. It seems to me that the debit card users are subsidizing me.
by mikewarot | 2025-07-25 04:16:18+00:00
Long, long ago I wrote a Forth of OS/2 out of spite. I've had a long standing interest in the language. It's been my opinion for a while that Forth is a less powerful language than LISP, even though they initially appear to just be the opposites of each other in terms of argument handling.

The thing that makes Forth and other similar languages write-only is that you can easily lose track of the variables when you are forced to toss them all on a stack. When you add the ability to use local variables, you get some of that power back, but then you've added a huge impedance mismatch with the rest of the system.

As much as I hate all the () in Lisp, it's the source of much of its power.
by Stratoscope | 2025-07-25 04:16:23+00:00
I have sometimes done just this. First I write the simplest possible brute force code, something that any competent programmer can look at and say, "Yes, this may be slow, but it is straightforward and obvious that it will handle all cases."

Then I write the optimized code and use a test like yours to compare the results between the simple code and the optimized code.

One time I needed to write a function to search for a specific pattern in a binary file and change it. So I wrote the brute force code as a first step, the same code that anyone would probably write as a simple solution. It worked the first time, and a couple of people reviewed the code and said "yep, even if it's slow, it is correct."

But this code took more than a second to run!

Of course I thought about optimizing it with Boyer-Moore or the like. Then I went, "Hold on to your horses. This isn't something like a web page load where one second matters. It's part of a build process that only runs a few times a day and already takes several minutes to run. One extra second is nothing!"

In the wise words of Kenny Rogers in The Gambler:

You got to know when to hold 'em, know when to fold 'em Know when to walk away and know when to run