MurphyA/hacker-news huggingface dataset:
by hatthew | 2025-10-11 02:17:15+00:00
Luckily I track my browsing and have some stats I can share from the last 3 years on my non-work PC! Here's a breakdown (by time spent on website):

94.3%: Original 7 TLDs + .io (which is common enough these days that I consider it no less trustworthy than .com). 2.0%: Shortlink TLDs (e.g. .co, .it) that I usually only see when they are clearly associated with one of the TLDs above. Most of the time spent looking at these sites are when I right click -> open image in new tab, e.g. i.redd.it. 0.7%: ccTLDs used as intended (sites associated the country's government, or personal websites that I don't put much trust into regardless of TLD). 0.6%: twitch.tv; well-known enough that I don't have to think about its TLD. 0.4%: .club; from a board game site my friends made me use. I inherently distrust this site regardless of TLD. 0.2%: .wiki and .gg sites that are from a wiki moving away from fandom. 1.8%: Remainder. Mix of things like .app, .xyz, .fun, etc.

Spot-checking a few dozen of my top sites in the last 1.8% shows that most are small/personal sites that I would not place trust into in the first place. Several are also websites like that .club site; garbage that at best are designed to shove ads in my face, and at worst are trying to pose as something official when they are not.

I only found a few websites that are official/authoritative for a substantial community or organization, but don't have one of the top TLDs: twitch.tv, arduino.cc, nouns.wtf, expo.dev, osu.ppy.sh, trackmania.exchange, dev.to, teenage.engineering, minecraft.wiki, *.wiki.gg, stackoverflow.blog, nebula.tv, perplexity.ai, and a few mastodon servers are the only sites in this category that I spent more than 60 seconds on in the last 3 years. Excluding twitch.tv, they combined represent <0.1% of my total browsing.

Thank you for making me look into this, I now trust my heuristic even more!
by jmclnx | 2025-10-11 02:18:18+00:00
We started seeing the "smoke" when Reagan became President after Carter put Solar Panels on the White House. Each President (& Congress) since then kowtowed to the Fossil Fuel industry to varying degrees.

The GOP was the leader but the Democrats added to it but pretended they cared. At least the GOP told the truth that they were out to destroy the Climate.

We had almost 50 years to work on it, but people who could lead decided they wanted to keep their jobs and bribes instead of doing good for the US and the World.

For this, I fully blame Reagan and his enablers.
by esalman | 2025-10-11 02:19:31+00:00
Are we rewriting history here?

Saddam was a de facto US ally till 1988. The relationship ended with the end of their mutual interests.

US sent terrorism suspects to Bashar regime to be tortured after 9/11.

Yeah eventually both relationships fell out but all the vile things both did happened under US watch, and US only stepped in when political/economic clash happened.
by kace91 | 2025-10-11 02:20:21+00:00
Aesthetic glitches are everywhere, though it’s hard to tell when behavior is intended. Can you read the context of my texts? https://ibb.co/mVbVpYCD

The most glaring non aesthetic ones are memory leaks affecting native macOS apps, missed alarms and a very frequent one for iOS where unlocking the phone leads to an empty screen.

I also have one in safari where what seems like a misplaced dark fade covers the top third of the screen. The safari url bar tends to show empty or reappear wrongly as well.
by g_host56 | 2025-10-11 02:22:14+00:00
good question, my 2cents:

- use it to find information, like APIs & documentation.

- ask the llm a ton of questions.

- and don't be intimidated, if you ask any good programmer LLMs are still not that good and mess up a lot.

- if you are learning just to learn then just have fun.

- but if you are on a deadline or need to make an app to solve a problem and you don't really care about, quality, security, or learning then just use cursor or aider to get the job done.
by brucepro | 2025-10-11 02:22:21+00:00
I built a memory system for Claude that solves the context loss problem many of you face with Claude Code. The problem: Every Claude Code session starts from scratch. You explain your architecture, past decisions, coding standards - then hit context limits and lose everything. The solution: BuildAutomata Memory is an MCP server that gives Claude persistent, versioned memory across sessions. What makes it different:

Dual-layer architecture: SQLite + Qdrant vector search Git-style versioning: Full history with diff tracking Memory access patterns: Importance decay + usage tracking Timeline visualization: See how knowledge evolved CLI + MCP: Works with Claude Desktop AND Claude Code

Already validated: 100+ memories, 0.9MB database, working in production across three Claude interfaces (Desktop, Code, Cursor). GitHub: [https://github.com/brucepro/buildautomata_memory_mcp] Gumroad: [https://brucepro1.gumroad.com/l/zizjl] Happy to answer questions about the architecture or the Ego persona system it evolved from (Memoir v1 → BuildAutomata v2).
by k310 | 2025-10-11 02:23:50+00:00
Mac only.

In Safari (mac) I Command-E to export as pdf. (return)

I had mapped "Save as PDF ..." to Command-P so two in a row would save as PDF. (until I found the above)

In Firefox, you can set the default printer to PDF (Apple, please get a clue) so Command-P and return save as PDF.

These both observe your last or default settings.

I can't read the graphic at github.

Other apps? I use them much less frequently for "print to PDF" so I play it by ear when using them. (The "Save as PDF ..." Command-P trick seems to be global.)
by Naru41 | 2025-10-11 02:23:50+00:00
This style of simulating faux-realistic materials (such as glass or aluminum) on the screen looks dated and cheesy now -- (Windows engineering team 2012)

https://web.archive.org/web/20120614042824/http://blogs.msdn...

--

"Cheesy and dated" -- it keeps hitting me through the years.
by obviouslynotme | 2025-10-11 02:28:00+00:00
The most important pattern to learn in C is to allocate a giant arena upfront and reuse it over and over in a loop. Ideally, there is only one allocation and deallocation in the entire program. As with all things multi-threaded, this becomes trickier. Luckily, web servers are embarrassingly parallel, so you can just have an arena for each worker thread. Unluckily, web servers do a large amount of string processing, so you have to be careful in how you build them to prevent the memory requirements from exploding. As always, tradeoffs can and will be made depending on what you are actually doing.

Short-run programs are even easier. You just never deallocate and then exit(0).
by gruez | 2025-10-11 02:28:13+00:00
>- Isn’t the point of apps like TikTok that they show you content that is interesting to you? Why can’t they show politics to people who are interested but not to people who aren’t?

How far can we extend this? Assuming AI is good enough to detect shock gore/shock images, why have content guidelines at all? If I want to watch ISIS/cartel beheading videos, why should I have to go to another platform? The standard in the US for clamping down on free speech is "imminent lawless action", so it's unlikely to run afoul of any laws. You can even make the argument that it's bad to ban them, because they're conveying some important information and to do otherwise would be "I want to be kept in the dark and resume my mindless consumption of brainrot". If that's too far fetched for you, replace "beheading videos" with "gaza or ukranian war footage".

>- Does TikTok ban all political content? Or just some? Do they ban all “non-joyful” content? Or just some?

See wikipedia article: https://en.wikipedia.org/wiki/Censorship_by_TikTok#Politics

They've also been accused of having a left bias by the right.
by nomel | 2025-10-11 02:28:43+00:00
It has not: https://www.nbcnews.com/business/economy/trump-threatens-chi...

> U.S. officials said in September that China had struck a “framework for a TikTok deal.” However, in the following weeks, China has not confirmed that such a deal was agreed to.

> Many experts believe China’s strategy is to keep talking while making few concrete agreements.
by cogman10 | 2025-10-11 02:29:11+00:00
> Why should "nice" javaesque make little sense in C?

Very importantly, because Java is tracking the memory.

In java, you could create an item, send it into a queue to be processed concurrently, but then also deal with that item where you created it. That creates a huge problem in C because the question becomes "who frees that item"?

In java, you don't care. The freeing is done automatically when nobody references the item.

In C, it's a big headache. The concurrent consumer can't free the memory because the producer might not be done with it. And the producer can't free the memory because the consumer might not have ran yet. In idiomatic java, you just have to make sure your queue is safe to use concurrently. The right thing to do in C would be to restructure things to ensure the item isn't used before it's handed off to the queue or that you send a copy of the item into the queue so the question of "who frees this" is straight forward. You can do both approaches in java, but why would you? If the item is immutable there's no harm in simply sharing the reference with 100 things and moving forward.

In C++ and Rust, you'd likely wrap that item in some sort of atomic reference counted structure.
by burnt-resistor | 2025-10-11 02:30:33+00:00
Time to dust off "This shirt is a munition" vintage TinkGeek garb.

The US needs to put locks on the foot-gun triggers before there are no toes or jobs left.

And also, China is building tank-capable invasion barges and practicing in inner Mongolia how to raid Tapei's government buildings. Escalation and self-sabotage isn't helping. This is two malignant, geriatric, authoritarian narcissists slowly trying to drag the world into yet another world war while shuffling along with toilet paper stuck to their shoes while doing nothing to ensure lasting peace for everyone who lives after them. Xi, Trump, Bibi, Putin, and every other neofascist criminal substitute for a leader needs to go.
by gruez | 2025-10-11 02:31:40+00:00
>>The second half of the 20th century was more or less a golden age of objective journalism, but it wasn't always that way. Newspapers used to explicitly partisan and had poor journalistic standards: https://en.wikipedia.org/wiki/Yellow_journalism

>Yet those very partisan newspapers created a public that was, by all accounts, far better informed than the public of the 20th century you think was a "golden age".

Are you claiming that the public was better informed in the 19th century than in the 20th? That's a wild claim to make, not least because the former had far worse literacy rates.
by TheTaytay | 2025-10-11 02:32:43+00:00
There are an awful lot of people here excited about a world with fewer or no allowed political advertisements. This feels short sighted to me.

If I was an evil incumbent dictator, I would immediately outlaw political advertisements and give the people exactly what so many people here seem to be asking for. Then, I would give official government speeches every day talking about how awesome I am. I wouldn’t even have to talk badly about my opponents. You would never hear about them in the first place.
by godzillabrennus | 2025-10-11 02:33:00+00:00
I've owned Sony, Samsung, LG, TCL, Pioneer, Toshiba, Sharp, Amazon, and a variety of other flat panels over the years. I actually love the simplicity of the LG remote with the center button for play/pause. I don't need it to glow in the dark. I don't need to turn on my phone to find the button. I know exactly what button to press. Happy C1 owner over here since 2022. Still can't believe the quality of the image.
by iamhamm | 2025-10-11 02:35:02+00:00
Great news! Killing the Esmeralda 7 solar project is the right decision. People don’t realize how massive it was, over 110 square miles, bigger than Las Vegas itself. It would’ve scraped up pristine Great Basin desert, wiped out wildlife habitat, and trampled culturally important land not to mention diverting massive amounts of water which is a tight resource out here. Renewable energy is great, but we don’t need to bulldoze entire ecosystems to do it. Killing this one might actually push solar developers to think smaller and smarter next time.
by nomel | 2025-10-11 02:35:41+00:00
Is there an uncut video? As controversial as the desire for full understanding is these days, there an incredible amount of context missing from that video:

The video starts with her car being faced diagonal, facing the wrong way in traffic, blocking traffic, with an ICE vehicle clipping her trying to go around. What's the context for that? The article has a single sentence, "Jennifer Welday said she first heard honking and yelling just after 8:30 a.m.". Is that related? Was that her honking and yelling? Was that before or after they hit?

There's a cut in the video, then her on the ground. What happened during that cut?
by theahura | 2025-10-11 02:36:57+00:00
That's not the quote. The quote is

"Much of that regulation may do more harm than good, but our legislative system moves slowly and favors doing nothing over doing something"

Which is much more trivially true than your incorrect reading of it.

I think you should read the rest of the article, because it is mostly positive on regulation. The whole article is about why Klarna being a credit company while trying to dodge credit regulation is a _bad_ thing
by Animats | 2025-10-11 02:38:10+00:00
Back about 20 years, DO CONCURRENT went into FORTRAN. It says that the programmer claims all the iterations of a DO look are non-interfering. This was never really that useful. It holds for matrix multiply, but not much else. It's exactly what you want for the article's use case of adding things up in parallel.

There are a few standard cases for parallelism:

- There's no interaction between tasks at all for long periods. Easiest case. Use case is codebreaking and crypto mining. Best done on special purpose hardware.

- You're running a service with a large number of incoming connections. The connections are essentially independent of each other. This is easy to do concurrently, because the threads don't talk to each other. For N > 1000 or so, this is the useful case for server-side async.

- You have some big area or volume oriented computation, like weather prediction, where there are many local regions being computed, and the regions talk to their neighbors a bit. This is the classic supercomputer application.

- You have lots of little tasks going on, queuing up events for each other. This was the vision Alan Kay had for Smalltalk. It sometimes shows up inside games, and inside discrete event simulations. The internals of some operating systems work this way.

- Anything that runs on a GPU. Very limited interaction between tasks. Until you get to shadows, lighting, occlusion culling, reflections, and anything where you don't want to do N lights x M meshes processing. Vulkan gives you the low-level tools to deal with the interlocking needed to do that, which is why Vulkan is so complicated.

(I can't speak to LLM training; haven't been inside that.)
by constantcrying | 2025-10-11 02:39:15+00:00
China has better robots and is better at utilizing them, since they actually have a large workforce of engineers who do manufacturing. Those engineers do not exist in the US.

It is also delusional to think that humans can be replaced by robots, robots are expensive and even right now car manufacturers in Europe, with very high labor costs, can not afford to replace humans with robots.

China's advantage is not that their labor is cheaper. It is that they are outclassing the US in engineering, especially automation, and they have a cheaper labor force.
by morkalork | 2025-10-11 02:39:30+00:00
>TikTok moderators were told to suppress videos from users who appeared too ugly, poor or disabled, as part of the company’s efforts to curate an aspirational air in the videos it promotes, according to new documents published by the Intercept.

https://www.theguardian.com/technology/2020/mar/17/tiktok-tr...
by leephillips | 2025-10-11 02:40:13+00:00
“%” is a range operator standing for the entire buffer; so :%s just means to start a substitution on the whole buffer. Neovim will highlight what was previously searched for, in this case matched by the *, but that won’t actually affect the search command.

The way :s works in Neovim looks like multiple cursors to me, but I’m not familiar enough with Helix to know what the difference is.
by hibikir | 2025-10-11 02:43:09+00:00
The description of the whole "copy something, but ignore the regulation" scheme is missing the most important part: Make sure that the extra risk you are undertaking be eaten by someone else, while you get most of the upside of the bet.

It's not even tech related at that point: It's also how synthetic CDOs were supposed to work for those issuing them in the financial crisis. If your innovation is only to eat the risk that before was illegal, then you are taking a gamble with is unlikely to pay off. It's also why private equity is using loans from third parties as part of their purchases: if the company they bought goes under because the fees were too high, or the intervention was too aggressive, the loan goes into default, and they didn't make the loan, so it's someone else's problem. Most crypto schemes end up like that too: The issuer offloads much of the risk. What is the real wonder of tokenized shares in a startup, if not for the venture capitalist to be able to offload risks into unsophisticated investors well before an IPO? Any place that is creating bonus risk is sticking most of it to someone else, capturing just the upside.

If Klarna wants to have a chance, it has to charge a whole lot more fees to the merchant, and then find a way to offload as much of the credit risk as possible, probably doing some kind of complicated scheme to make others underestimate the risk. Otherwise they are just WeWork, grabbing pennies in front of a steam roller until a bad recession destroys them.
by iamnothere | 2025-10-11 02:43:28+00:00
I agree with you on this. People who don’t believe this fundamentally do not believe in democracy.

You may worry about citizens being sufficiently educated, you may worry about them having access to enough information to make good decisions. But to restrict information for fear that they may make the “wrong” decision—the one you don’t like—there is nothing democratic about that.

Foreign voices and perspectives are critical to understanding the world as a whole and making informed decisions. If the population isn’t ready to take in that information and sort the wheat from the chaff, then they aren’t ready for democracy.
by the_af | 2025-10-11 02:43:51+00:00
Um, I'm not from the US, so my comment was more general than that.

Politics exceeds politicians and specific partisan things. Politics shapes your life and that of your loved ones.

It's not simply about arguing online about stuff.

I'm my opinion one should be informed about local, national and world politics. Also history. What happens in the US unfortunately impacts my country (currently very directly; you are about to bail out Argentina, my country, just because Trump likes our president), so I'm paying attention.
by cogman10 | 2025-10-11 02:44:04+00:00
> Greenhouses can produce several orders of magnitude more food per acre than dryland mechanized farming does.

If we climate control them and light them. Then yes. It also depends on the crop being grown. That takes electricity.

There are many crops that simply aren't well suited to greenhouses. Primarily because they are nutrient thin. Those are popular crops that people and livestock eat.

And, importantly, we don't have those greenhouses built yet. Not even a fraction of a percentage of our food comes from them today. It's possible that we can make the switchover, but that will take decades of build out.

The other thing to consider is we won't really have much warning before we need these greenhouses. About the only thing that will trigger action here with the way society is structured is famine. Importantly, capitalism will work against wanting to produce these greenhouses as famine will kick up prices and traditional farming will remain the cheapest way to produce food. Plenty of large corporate farmers will be happy to just continue raising prices rather than build out.
by Smoosh | 2025-10-11 02:44:19+00:00
> Like if I bump a table, my reflexes freak out

I know exactly what you mean. I have chronic lower back pain and sciatica but mild enough that I can manage it without medication most of the time.

But often, just walking through the house I will bump into a doorway etc and get a sudden spike of pain not from the bump but from my reflexive response.

Sorry to hear about your condition and I hope you can manage it successfully.
by mackeye | 2025-10-11 02:45:22+00:00
in kakoune, this is `<a-i>p<a-j>|reflow<ret>`. which is obviously not as simple as `gq`, but you can rebind this, add things like auto-reflow as you type, etc., rather trivially, and rebind them (and a lot of these types of tools come preloaded as bindable commands). it's some work to set up this type of thing (and it makes perfect sense to use e.g. vim to not need to do that), but i like the composable design, where i can write some configuration to hook a shell command to a bind, rather than fork and PR changes (e.g. a c++ reflow function), and the config files can be written and PRd into the default distribution as well, so the user experience would be equivalent.
by miffy900 | 2025-10-11 02:45:24+00:00
I think this idealism reveals a naive viewpoint about what users really care about. They care that apps work - that they do what they're supposed to and do it fast or efficiently. Not even Microsoft makes apps for their own platform that are native apps (example Teams, the new Outlook), and they service millions of users. Indeed, if you look at Microsoft's UI over the years, they are inconsistent as hell (all of the Office apps throughout the years is a good example), but so long as performance, functionality and usability hasn't suffered too much, users are OK with non-native apps that do not appear native. Another example is iTunes on Windows - looks nothing like a native Windows app.

There's also the fact that having control over your own apps UI/design language is better over the long term. What if Apple decides to ditch this liquid glass for something else years in the future? They ditched their own design language in iOS7, and now with iOS26 they've done it again.

And the basis for UI redesigns as wide ranging as this are almost entirely nonsensical. Does liquid glass suddenly improve usability by whatever percent? Nope - I guarantee Apple does NOT interrogate or benchmark their UI designs in the same way as NN Group does. Usability is actually hurt by the fact users need to re-learn basic interactions, and existing ones are now slower. Is overall performance improved over the previous version? Absolutely not - performance metrics such as battery life and UI responsiveness have regressed with the over use of visual effects like translucency and minute pixel manipulations. Why bother following changes to a design language when they are not based on real reasoning backed up by actual data or solid logic, and they end up regressing performance to an even worse state? Why should any app vendor be obligated to follow what are ultimately arbitrary and whimsical changes?

Redesigns such as this result in literally more work for the sake of it, zero net improvements and whole lot of wasted effort, all for what? Just to look different for a while, until the next redesign?