MurphyA/hacker-news huggingface dataset:
by jfengel | 2025-07-25 20:38:52+00:00
Confining people so that they cannot leave is our primary form of punishment. We're so horrified by it that we wrote it into the Constitution that you can't be deprived of your liberty except by due process of law.

Even if the conditions are pleasant. (Prisons aren't supposed to be cruel, though apparently we've decided to tolerate that.)

It does sound compassionate to force them into a place with a bathroom and a door, but if they can't go see their families, look for a job, or go for a walk, maybe it isn't as compassionate as it appears at first glance.

(And that is on the assumption that the facilities are less unpleasant than our prisons. I strongly doubt that.)
by quelsolaar | 2025-07-25 20:38:55+00:00
When ever i see "never implement your own...", i know i want to implement it myself. People say that about hard things, and I only want to do hard things. Nobody wants people who can do easy things, people want people who can do hard things. The only way to learn how to do hard things, is to do hard things, so do the hardest things.

So go ahead, write your own date library, your own Unicode font rendering, compiler, OS, game engine or what ever else people tell you to never do because its hard.
by ryandrake | 2025-07-25 20:39:01+00:00
I would at least love to see a public postmortem. What was the developer's rationale for storing extremely personal user data unencrypted, in a publicly facing database? How many layers of management approved storing extremely personal user data unencrypted, in a publicly facing database? What amount of testing was done that failed to figure out that extremely personal user data was stored unencrypted, in a publicly facing database?
by yostrovs | 2025-07-25 20:39:48+00:00
Echoing my own comment below, it's important, given the pointlesness of fighting poaching while deer are everywhere, to note that in the US, agencies like DNR (some states have different names for them) have extraordinary police powers that allow them to enter property if they suspect a violation. In similar situations, police officers would be required to get a warrant from a judge, but the DNR can just go in. So, often they use the pretense of poaching to go see what someone is up to on their own land. They even have the right to install hidden cameras on private property without telling the landowner to try to detect violations.
by gspencley | 2025-07-25 20:39:51+00:00
It's in Article 210 of the Icelandic penal code and, from what I gather, this follows a pattern typically referred to as "The Nordic Model" where it is not illegal to consume pornography, but it is illegal to produce and/or distribute it.

Here is an article from the Reykjavik Grapevine that deep dives on it better than I could: https://grapevine.is/mag/2021/05/07/ask-an-expert-why-is-por...

And for a broader overview, see "Pornography laws by region" on Wikipedia: https://en.wikipedia.org/wiki/Pornography_laws_by_region
by LukeShu | 2025-07-25 20:40:09+00:00
Specifically, what is colloquially an "RJ45" or "Ethernet" connector is an 8P8C "Bell System Miniature Plug/Jack" (AT&T's original name; it is a smaller version of the older Bell System connectors) / "miniature plug/jack" (FCC genericization of the name by removing "Bell System", even though the word "miniature" is no longer meaningful without context) / "modular jack" (ANSI/IEC genericization). That is what is meant when just "8P8C" is said.

Pedantically speaking, RJ45 (as first defined by AT&T internally[1], and later by the FCC's 47 CFR part 68) is not that. The RJ45 socket is a keyed 8P8C modular jack, not a regular 8P8C modular jack. Here is a photo: https://commons.wikimedia.org/wiki/File:RJ45_female_connecto...

[1]: The "RJ45" designation was originally an AT&T "USOC" (Universal Service Order Code). In the '70s, the FCC told AT&T that they had to allow interoperability from other companies, so the FCC had to publish a bunch of specifications; the meaning of "RJ45" became publicly specified in Bell System Communications' Technical Reference PUB 47101 "Standard Plugs And Jacks" (1979, though I think there might be an older number/revision from the early '70s that I haven't been able to track down). That (in combination with a few other technical references, such as PUB 47102), later became part of the Code of Federal Regulations, as 47 CFR part 68.
by unsignedint | 2025-07-25 20:40:19+00:00
Actually, it’s the western region of Japan that uses 60 Hz. In the early days of electrification (around the 1880s), during the transition from DC to AC, western Japan adopted a 60 Hz standard using a generator built by General Electric. Meanwhile, eastern Japan imported a generator from the German company AEG, which operated at 50 Hz.
by ksec | 2025-07-25 20:40:59+00:00
Basically a Mac Server would have fixed 99% of our needs. Apple could make a Local iCloud Server / iOS Time Capsule where I still have all the content, but would require a subscription just for the backup services. And Apple could charge 3x the Amazon Cold Storage pricing just for reselling it.

I do think this is within realm of possibility if Steve Jobs is still alive. Or at least could be convinced.

Tim Coo only cares about services revenue. And iCloud it is.
by dlivingston | 2025-07-25 20:41:02+00:00
I first heard this SJ quote maybe 15 years ago and I've carried it with me since.

I've always prided myself on taking a craftsman-like approach to software engineering... thinking deeply about interfaces, ownership, lifetimes, how the public API looks, how using the public API feels...

Lately, though, with the advent of LLM-assisted coding this mindset is starting to feel hollow. Why spend 1.5x as long crafting something robust when, in all likelihood, it will be replaced or refactored by LLM tooling within the next 5 or 10 years?
by treetalker | 2025-07-25 20:41:48+00:00
I have several Rotring 600 (and 800) pencils. They're great and super grippy. If you have sweaty/slippery hands while writing, the Rotring 600 pen might be right up your alley.

As pencils go, though, lately I've been fond of the Uni Shift 0.9 mm. It's inexpensive; retracts for pocket carry; and I've never broken a lead with it. My only real complaint is that the eraser is minuscule and can't be reliably adjusted once the initial usable part is gone.
by minkeymaniac | 2025-07-25 20:41:57+00:00
If you don't care for old data having null , you could add a check contraint with nocheck (this is sql server fwiw)

for example

create table foo(id int) insert foo values (1), (2), (3)

insert foo values (null)

select * from foo

id

1

2

3

NULL

ALTER TABLE foo with nocheck ADD CONSTRAINT CheckNotnull check (id IS NOT NULL)

insert foo values (null)

Msg 547, Level 16, State 0, Line 13 The INSERT statement conflicted with the CHECK constraint "CheckNotnull". The conflict occurred in database tempdb", table "dbo.foo", column 'id'. The statement has been terminated.

However be aware that if you update an existing value to NULL, you will still get the error

update foo set id = null where id = 2

Msg 547, Level 16, State 0, Line 20 The UPDATE statement conflicted with the CHECK constraint "CheckNotnull". The conflict occurred in database "tempdb", table "dbo.foo", column 'id'.
by gowld | 2025-07-25 20:42:13+00:00
The submission page doesn't link to Tromp, but the YouTube videos do.

Tromp's page links to the submission:

> Paul Brauner has produced some awesome videos of beta reductions, produced with this software.

Also linked from Tromp, Cruz Godar's animated multi-colored calculator is my favorite:

https://cruzgodar.com/applets/lambda-calculus
by saltcured | 2025-07-25 20:42:33+00:00
After the Grasshopper, I went for the Big Wig. I guess I had a fetish for all wheel drive systems long before I had a driver's license.

But you know you had a serious problem when you started ordering sealed ball bearing kits to replace the teflon bushings in the drive-train. That's where my adolescent paper route income went, instead of drinks or drugs...
by nocoiner | 2025-07-25 20:42:45+00:00
Thanks for the response.

It’s breaking my brain a little bit that this isn’t a straightforward breach of fiduciary duties to the corporation and its common stockholders. If an acquirer can deal with top management and holders of preferred shares, and scoop out the crown jewels of the corporation, then what’s even the point of using a Delaware corporation to raise capital? Might as well just form a Nevada LLC using an LLC agreement that just says “good luck.”
by echelon | 2025-07-25 20:43:20+00:00
This ought to be illegal.

Google is charging money on other people's brands.

This wouldn't be a problem if there were ten popular search engines, or if portals were still popular and there were ten popular portals.

But what Google has done is gross monopolistic misconduct.

They've "removed the URL bar" and turned it into a search bar. They've put their browser on all devices and made it the default. They've made Google search the default. They've destroyed the ad blocker.

Now, when I search for a brand, I see an ad that looks like an official result in first place.

iPhone -> paid ad

Nike -> paid ad

Midjourney -> paid ad

These are companies' hard earned brands, and yet Google is collecting rent on them.

Google is taxing the entire internet. This ought to be illegal.

Google deserves to be broken up.
by MITSardine | 2025-07-25 20:43:49+00:00
Could it be those companies are not interested in working with a small video game studio? In case they usually work with the much larger actors of the auto industry.

Or maybe they're operating at a level of fidelity much higher than the game needs? If they're working on simulation e.g. for Formula 1, they might be doing full fledged numerical simulation (FEM etc) rather than simplified models for real time games.

I'd be curious to know more though, what else do you know about this?
by babypuncher | 2025-07-25 20:43:51+00:00
AMD and GloFlo split in 2009 but AMD wasn't able to start actually manufacturing their chips with other foundries until 2019 when GloFlo got downgraded to only providing the IO die for Zen 2. This is because AMD was contractually obligated to continue using GloFlo for that time as a condition of the split.

Zen 2 is also where Ryzen went from "exciting and competitive, but not top of the line" to actually giving Intel a run for their money in more than just highly multithreaded workloads.

Improved architecture put AMD within striking distance of Intel and the move to TSMC allowed them to pull ahead.
by tombh | 2025-07-25 20:43:53+00:00
I'm the creator of Tattoy, so thanks. A significant part of the motivation for the project is that it's fun, like a "toy", as the name suggests. I do use it everyday, but only for one serious usecase, to allow my Twitch chatters to visually interact with my terminal by sending emotes to it. I'm not personally into the animated cursors, they were just easy to implement because I'd already built out support for Ghostty's background shaders.

But, if you want a truly serious usecase, then my pipe dream is that Tattoy becomes the "XWayland" for an entirely new protocol for terminals that explores moving on from ANSI codes, the terminfo database and so on. I wrote a blog post about this idea: https://tattoy.sh/news/an-end-to-terminal-ansi-codes
by bernawil | 2025-07-25 20:44:34+00:00
class soup is what tailwind is. It's terrible because is just abbreviations of css attributes which you still need to know because you'll inevitably fiddle around devtools trying things out.

The only "smart" thing about it is leaning strongly on using rem.

how can it spill out onto the page? it's inline css. The (rare) inline selectors target only descendants.

Truth is that it's winning over because it works best with LLMs. Inline soup works better than looking for styling on different files in the context of the project, so here we are.
by kelseyfrog | 2025-07-25 20:44:39+00:00
Making sure I get this straight. You're saying that if you shared that believe, you would go out in search of evidence to prove it? I hate to break the news, but if we read the literature published by members of Collective Shout, they have in fact done this. The evidence they have supports their claims. Let's be clear, the evidence they have is independent of the veracity of the claims, but they have done with you suggested. However, it had the effect of confirming their beliefs.

I hate to ask the question again, but if you believed the same thing and felt like you empirically proved it, how would you behave?
by epr | 2025-07-25 20:44:52+00:00
dwm and the community around it tend to use patches for absolutely everything, unlike most other projects. For most projects/codebases, maintaining patch sets is done for security, customizations, etc., but rarely are users expected to configure their window manager by modifying the source code. dwm is well known for being very minimalist, with many features people would expect from other window managers not being included out of the box. To get something more fully featured, users are meant to cobble together their own version of dwm with multiple patches. I'm not saying this workflow doesn't work for dwm and other suckless software projects, it's just that it's pretty out of the ordinary.

So, having some experience with the project and how different x and wayland are, when I saw this commenter had brought up the idea of making the switch from x to wayland a patch, it made me laugh out loud. The idea of leaning even further into the borderline degenerate amount of patching already done with suckless software to the point where you're practically rewriting the majority of it was very funny, and so I was confused about the downvotes.
by wolpoli | 2025-07-25 20:46:08+00:00
I took Scheme for my second programming course, after C++. I think Scheme is simpler to understand. It also allowed students to explore various concepts that weren't available in C++. I enjoy the course.

But since I never took compiler theories and other courses on programming language, I never bumped into many of those concepts again except for those where modern languages adopted the same feature, and I ended up having to relearn them anyway. Hence, I would also argue that these days, most students would have been better served starting with a practical language.
by ksec | 2025-07-25 20:46:29+00:00
I think Synology NAS is already 95% there. So the technical difficulty isn't much of an argument. Sharing of Photos also isn't a hurdle, mostly because I use Whatsapp for it.

I think the biggest pain point is that Microsoft, Amazon, Apple and Google all wants services revenue. And they will go out of their way to force everything on their platform to become subscription based and you dont own anything.
by johnnyanmac | 2025-07-25 20:46:42+00:00
>Imo it’s a bit different in this case, as a more natural instinct (sexuality) is affected.

I personally don't see the difference. Violence is a primal instinct and studies on video games and violence only concluded short term increases in aggression. Why would a similar conclusion with yet another primal instinct not conclude with short term increased arousal? I don't see arousal as inherently dangerous.

>how will it affect your view on women if you frequently consume highly sexist content?

Do you feel that people just find "sexist content" from some algorithm, or that already sexist people seek out content to conform to their views? I have my criticisms of Steam, but I am glad they are one of the few bastions left that aren't driven by "engagment boosting" algorithms. Just a simple tag system recommending other content with similar tags and good ratings.

I agree with the undertone that we need better sex education. Those early years where we don't sell content to 10 year olds should be used to talk about the dangers before sending them off. Too bad such groups also go for an all-abstinence approach.
by ytpete | 2025-07-25 20:47:13+00:00
These regexes don't solve what I think is one of the major common problems/complaints though: using extra tabs past the logical indent point as a shortcut to avoid typing so many spaces for alignment purposes.

To take this example from a sibling post:

if (foo) { » frobnicate(bar, » ...........baz); }

Many people will wind up doing this:

if (foo) { » frobnicate(bar, » » » ...baz); }

And then your alignment is all messed up if you have a different tabs setting.

Checking for that requires something more like a linter with a detailed understanding of the syntax parse tree.
by leakycap | 2025-07-25 20:47:34+00:00
I get wanting to do hard things, but do you write in binary? Do you crank your own electricity?

My most valuable resource is time. Sure, I could learn more low-level aspects of my craft ... and sometimes I find it useful to do so.

When I focus on doing the hardest, already solved things by re-implementing them my own way, what value am I adding?

I've never met a client who cared about a library or how I did something in code - until it broke. Then, they didn't care who wrote it, they just cared it started working again.
by nine_k | 2025-07-25 20:47:56+00:00
How come that a public library, one of the earliest examples of centralized information infrastructure, is not an example of outsourcing and relinquishing control? Instead of your own (small) books collection you get to use some external (huge) book collection. But now you only can borrow a physical book, or some recorded media. You have to return it, and making a copy for personal use only is still a bit problematic.

Either you own and control something, or you do not, there's no third option. A best, you can outsource your stuff piecewise: run your own software on a cloud VM, or bring your own furniture into a rented apartment, or give a valet the keys to the car you own for parking, etc. But there's always some relinquishing of control in exchange to some other aspect of efficiency / comfort.

It's also easy to mistake what most people want for what everyone wants, and miss an important market.
by II2II | 2025-07-25 20:47:59+00:00
The cables I saw were handmade. You can get connectors which are just the shield and an insulator with holes in the place of the pins. You crimp the pins onto the wires, then slide the pins into the insulator. You may have saved a few cents by not inserting the unconnected pins, but the reality is that most people left them out because there was no point in going to the trouble of putting them in.
by pcrh | 2025-07-25 20:48:04+00:00
Interesting perspective.

I was in SF at the time, and remember Ask Jeeves, Inktomi, Alta Vista, Yahoo, etc.

Google's attraction at the time was not necessarily that it found you the best site for the information you sought, but that it was simple, uncluttered, and more varied. Yahoo, for example, lead you through a tedious "tree" of options, whereas Google allowed you to choose for yourself.

After all, how were you to know that the links provided by Google were any better than those provided by others?

In other interpretations of Google's success is the auction/bidding model for the advertising it did show. This was apparently so successful that it forced Google to become public, i.e. that the revenue it generated prevented Google from continuing to be a privately-held company. Others here might have a better insight into this aspect of Google's success.
by PaulHoule | 2025-07-25 20:48:07+00:00
Men seem to attack women more often that the other way around but both directions are signifcant

https://www.cdc.gov/intimate-partner-violence/about/index.ht...

Notably:

—- About 41% of women and 26% of men experienced contact sexual violence, physical violence, or stalking by an intimate partner during their lifetime and reported a related impact.

—- Over 61 million women and 53 million men have experienced psychological aggression by an intimate partner in their lifetime.
by cherryteastain | 2025-07-25 20:48:08+00:00
> generally choose AMD GPUs for the best experience with open drivers these days on systems I need high GPU performance from.

Do you count binary firmware as 'open' or not? If not, AMD is not 'open' either. If you do, Nvidia now also has open kernel drivers. Mesa developers are exploring ways to get the new Mesa Nvidia Vulkan driver (NVK) to run on top of the open Nvidia kernel driver, which should eventually make Nvidia drivers as open as AMD.
by ethan_smith | 2025-07-25 20:48:26+00:00
The efficiency concerns here are valid. For comparison, modern lithium power stations are hitting 90%+ round-trip efficiency pretty consistently now.

The mechanical complexity is what worries me most - CO2 phase changes, compression/decompression cycles, heat exchangers...that's a lot of potential failure points compared to solid-state lithium cells. When researching portable power stations (I used gearscouts to compare $/Wh across different capacities), even budget lithium units are getting surprisingly cost-effective. We're seeing <$0.30/Wh for some models now.

That said, if Energy Dome can achieve reasonable $/kWh at grid scale without the lithium supply chain constraints, the efficiency trade-off might be worth it. The real question is whether the mechanical complexity translates to higher maintenance costs that eat into any capex savings.

https://gearscouts.com/power-stations
by PaulHoule | 2025-07-25 20:48:44+00:00
Also on those platforms you can see if people are trash talking you even if you don’t have a procedure to face your accuser.

Even the open platforms creep me out. I don’t like seeing unverified accounts of crime in Nextdoor, I think if you see some crime you go to the police. I had a series of in person interactions with a woman which seemed creepy in retrospect, her Nextdoor was full of creepy stuff including screenshots of creepy online interactions. At least this gives everyone clear evidence they should keep away.
by belorn | 2025-07-25 20:48:46+00:00
The statistics is a bit more complex and nuanced than giving straight answers. Studies looking at any form of violence in partner relationships shows both women and men having equal amount. When looking at physical violence, especially those that lead to people being charged with a crime, men are over-represented in heterosexual relationships.

However, homosexual relationships has equal rate of partner violence as heterosexual ones. A bisexual woman that has a relationship with an other woman will double her rate of physical violence compare to relationship with a man (statically). A man who has a relationship with an other man will half his rate of violence. This makes no sense at all (unless we believe that sexual orientation is an factor for violent behavior), unless we add a additional factor of sexual dimorphism. Men are on average larger and more muscular, and there seems to be a correlation between being the larger/stronger and using physical strength/fists during a fight. The smaller person is in return more likely to use tools or other means of violence. Statistically, fist also has a higher probability to do damage than improvised weapons, since people are more proficient in using their fists.

Does it mean men are biologically coded to be violent? No. Is it a question about education and culture. Maybe in some countries/cultures, and it wouldn't hurt to use the education system to teach people conflict resolution. Getting people who are physically larger to not exploit that fact during a heated fight is likely a hard problem to solve on a population level.
by minkeymaniac | 2025-07-25 20:48:48+00:00
in sql server, you can simply add a not null check constraint with nocheck (see my comment with full code)

ALTER TABLE foo WITH NOCHECK ADD CONSTRAINT CheckNotnull CHECK (id IS NOT NULL)

any new values coming in cannot be null but the values already in the table with null are fine... then you can update them to not null over time