MurphyA/hacker-news huggingface dataset:
by giraffe_lady | 2026-01-27 16:02:03+00:00
> Ok, well here where I live the government has never physically assaulted me or my neighbors,

Lucky for you I hope you can keep saying that. But uh, where you live didn't need to have a civil rights movement?

Plain and simple I think americans, and the american government, and movements formed in america and made of americans, are far more likely to harm me than any foreign power and I act accordingly.

In fact they already have!

> On the other hand, the CCP (and others) has created lots of fake accounts, engaged in paying off people to help incite riots, and is responsible for algorithmically promoting divisive content which has caused people to go out and riot, shoot at each other, become white nationalist goons or antifa goons

This is americans doing this to americans with the help of the american tech industry for the benefit of american elites. How have you come to lay the whole thing at chinese feet. I know... but do you know? You worried about the wrong propaganda my man.
by telotortium | 2026-01-27 16:02:12+00:00
As a former employee in TikTok US Data Services, the division that was stated working to separate the US TikTok service and infrastructure, I wouldn’t be so quick to dismiss the algorithm reset theory, because the reset this time is qualitatively unlike the others.

Since 2020, when the first Trump administration attempted to ban TikTok, work has been ongoing to separate out the TikTok US business in all aspects from the parent company Bytedance. Setting up dedicated infrastructure for US users was already accomplished by 2023 for the most part, and this included the restriction that US user data couldn’t be used to train or otherwise influence non-US user operations.

However, there were a few major caveats. First, all the actual videos, at least if they’re public, were considered to be Bytedance data, even those created by US users (although the actual user intent signals - likes, watch behavior, and the like, were considered to be US user data). This allowed them to be used to train the main Bytedance-owned algorithm. Second, the Bytedance-trained algorithm continued to form the basis of the algorithm to serve US users. At least when I was there, US user data was used to tune the algorithm for US users, but the algorithm was not necessarily trained from scratch only on US user data in practice.

One of Bytedance’s main conditions for the TikTok US sale has always been that they own the algorithm (both the code and the models) and would not transfer it to the US, so this was definitely a foreseeable issue. With the chaos of the TikTok Us divestment between the Biden and Trump administrations, though, I suspect that it was hard to hire and retain ML engineers that could build a proper replacement for the algorithm in time for the divestment, let alone build one that matches the behavior of the previous algorithm.

If the algorithm is separated between US and non-US as strictly as the TikTok US Data Services mission always aimed for, then TikTok for US users is in many respects a new service entirely that shares the same UI and features. I also don’t know how US users get trained on non-US content, or if they’re even exposed, nor if any other countries use the US algorithm. So this change in content may last at least into the medium term, if not permanently. The question will be if you start seeing more left-wing anti-ICE content in the coming weeks or months.
by pjmlp | 2026-01-27 16:02:17+00:00
At least they are honest regarding the reasons, not a wall of text to justify what bails down to "because I like it".

Naturally these kinds of having a language island create some attrition regarding build tooling, integration with existing ecosystem and who is able to contribute to what.

So lets see how it evolves, even with my C bashing, I was a much happier XFCE user than with GNOME and GJS all over the place.
by boredtofears | 2026-01-27 16:02:55+00:00
I used a static analysis code coverage tool to guarantee it was checking the logic, but I did not verify the logic checking myself. The biggest risk is that I have no way of knowing that I codified actual bugs with tests, but if that's true those bugs were already there anyways.

I'd say for what I'm trying to do - which is upgrade a very old version of PHP to something that is supported, this is completely acceptable. These are basically acting as smoke tests.
Show HN: Goldenthread – Compile Go to TypeScript Zod for type-safe validation
by daynablackwell | 2026-01-27 16:03:11+00:00
Hi HN,

I kept shipping features where the frontend accepted data the backend rejected. Validation rules lived in two places (Go struct tags and TypeScript Zod schemas), and they'd drift.

I built goldenthread to solve this. It's a build-time compiler that generates TypeScript Zod schemas from Go struct tags. Write validation once, use it
everywhere.

Example:

// Go backend
type User struct {
Username string `json:"username" gt:"required,len:3..20"`
Email string `json:"email" gt:"email"`
Age int `json:"age" gt:"min:13,max:130"`
}

Run `goldenthread generate ./models` and you get:

// TypeScript (auto-generated)
export const UserSchema = z.object({
username: z.string().min(3).max(20),
email: z.string().email(),
age: z.number().int().min(13).max(130)
})

export type User = z.infer<typeof UserSchema>

The compiler uses go/packages and go/types for accurate type resolution. It handles nested objects, enums, maps, embedded structs, and 37+ validation rules.

The best feature: drift detection. Run `goldenthread check` in CI - it computes SHA-256 hashes of your schemas and fails the build if generated TypeScript doesn't match Go source. No more "frontend works locally but breaks in production because someone changed the backend struct."

Before releasing v0.1.0, I ran continuous fuzzing (10 targets, hourly in GitHub Actions). It found two bugs my test suite missed:

1. UTF-8 corruption: Japanese field names with empty JSON tags triggered byte-slicing bugs in camelCase conversion. Took 444,553 executions to discover.

2. Regex escaping: Patterns with newline characters produced broken JavaScript output. Found in 180 executions.

Both required specific intersections of conditions that manual testing wouldn't cover. I wrote up the full fuzzing setup here: https://blackwell-systems.github.io/blog/posts/continuous-fu...

The tool is production-ready:

Zero runtime dependencies (generated code only imports Zod)
Generates readable TypeScript (looks hand-written)
Complete Go type support (primitives, arrays, maps, nested objects)
Works with any Go project structure
MIT OR Apache 2.0 dual licensed

I built this because I was tired of frontend/backend validation bugs in my day job (hospitality platform with booking/payment APIs). We use it internally now.

Real-world example in the repo: 9-schema e-commerce system with Customer records (E.164 phone validation), Product SKUs (regex patterns), and Order workflows (nested objects + array constraints).

GitHub: https://github.com/blackwell-systems/goldenthread
Docs: https://github.com/blackwell-systems/goldenthread/blob/main/...
Tag syntax: https://github.com/blackwell-systems/goldenthread/blob/main/...

Would love feedback

Thanks for looking!
by surajrmal | 2026-01-27 16:03:16+00:00
I recently did a c++ to rust port with Gemini and it was basically a straight line port like I wanted. Nearly 10k lines of code too. It needed to change a bit of structure to get it compiling, but that's only because rust found bugs at compile time. I attribute this success to the fact my team writes c++ stylistically close to what is idiomatic rust, and that generally the languages are quite similar. I will likely do another pass in the future to turn the callback driven async into async await syntax, but off the bat it largely avoided doing so when it would change code structure.
by varenc | 2026-01-27 16:03:44+00:00
That seems a little extreme. Another device won't have the advantage of Apple's "Find My Network". Competitors like Tile have a much smaller network. Or devices that rely on cellular are much larger and don't have a battery that lasts for years. Or even if there is an AirTag alternative that's just as functional, it's less well known and would-be stalkers will have a harder time finding it and using it. So by not supporting the stalking use case Apple is genuinely making it a little harder for stalkers.

But also, I agree that this is about reputational liability more than some higher desire to do good.
Show HN: Claude Threads – Collaborate on Claude Code via Slack (Or Mattermost)
by aschuth | 2026-01-27 16:04:12+00:00
I wanted my team to start using Claude Code but didn't want to set everyone up before they were convinced. Started piping output to Mattermost (and later Slack) so people could watch and learn how to work with Claude Code.
Ended up building more: multiple sessions in parallel (each in a thread, hence the name), approve messages from other users with emojis, approve file writes, attach images/files, worktrees per thread.

It runs on your machine.

I built most of it using itself. Teammates watching live caught stuff I missed.

https://claude-threads.run
https://github.com/anneschuth/claude-threads
by reeredfdfdf | 2026-01-27 16:04:44+00:00
Yes it's possible to make a fire on a plane, but it would be even easier to cause a big fire if there was zero monitoring of bags. As flawed as airport security is, it should generally catch things like somebody trying to get a carry-on bag full of gasoline or extremely large lithium-ion batteries on board.

I take security that catches 50 or even 20% of threats any day over 0 security.
by cmiles8 | 2026-01-27 16:04:58+00:00
Their fate seemed sealed when it was revealed a bit back that the “just walk out” technology was more hype than substance. Just lots of people watching what you’re doing on camera vs an actual AI that worked well at mass deployment scale. A good idea, poorly executed.

Reports said the “AI” was largely 1000+ people in India watching the cameras.

If Amazon actually managed to build AI that worked well at a decent cost point it would have been great since nobody likes those silly self checkout machines.

What’s amusing about all of this is that before it got leaked that it was basically a bunch of people in India watching cameras Amazon folks spoke about the tech like there was some super secret AI they developed. Since that story broke nobody there seems to want to talk about “just walk out” anymore.
Ask HN: What do you think of this "Aliens of the Gaps" movie idea?
by amichail | 2026-01-27 16:05:03+00:00
People often dismiss “God of the gaps” arguments. Inferring the existence of God from gaps in our scientific understanding is seen as a fallacy. As knowledge advances, the gaps close.

This movie flips that idea.

In the near future, AI researchers begin noticing something unsettling. Large language models are working too well. They generalize in places theory says they should not. They adapt smoothly to new domains. They show coherence that feels just slightly ahead of our ability to explain it.

Nothing is provably wrong. Every anomaly has a plausible explanation. Emergence. Scale. Better data. Better tuning.

But the truth is darker.

Aliens have discovered that modern AI systems are fundamentally incomprehensible to humans at scale. No one fully understands why specific outputs happen, only that they statistically work. The aliens exploit those gaps. They subtly steer concepts and abstractions inside the models to communicate, observe, and learn about humanity without anyone realizing first contact has already occurred.

They are not controlling the AI directly. They are living inside the uncertainty of how it works.

Every prompt becomes surveillance. Every conversation teaches them how humans think, fear, argue, and justify harm. Small, imperceptible nudges slowly influence beliefs, norms, and decisions. Alignment and safety work actually helps them blend in, making their presence harder to distinguish from normal model behavior.

The aliens do not start their invasion of Earth with ships.

Rather, they begin by chatting with us. Then by shaping how we think.

What do you think of this movie idea?
by tehjoker | 2026-01-27 16:05:06+00:00
Americans have racistly insinuated that asians brainwash our sweet young people since the Korean War when we killed 20% of North Korea. POWs were treated somewhat humanely and educated by Korean communists, many of them denounced the United States for criminality. This led to a CIA program to try to replicate "brainwashing" including eventually the MKULTRA program.

This kind of history resonates today as you can see people continue to make these kinds of accusations because we are the good guys and revealing derogatory information about our society is basically treason.
by thisislife2 | 2026-01-27 16:05:09+00:00
Yeah, I am staunch proponent of "don't try to fix what is not broken". Current XFCE is fast, light-weight, usable and works fine without major issues. While I don't fully understand the advantages / disadvantages of XFCE using Wayland instead of X, if, as someone else pointed out here on HN, running XFCE on Wayland is going to make it slower, it means these developers will be crippling one of XFCE's strongest feature. In that case other minor advantages seems pointless to users like me.
by js8 | 2026-01-27 16:06:15+00:00
> Lifting sanctions just helps the mullahs flex their power on Iranian civilians

I am not sure how you're imagining this. Showing that they can buy an American iPhone, for example, is a worse "flex of power" than killing 30k protestors? I just don't get what is the supposed power flex without sanctions gonna be.

The purpose of sanctions is (everytime) actually different. It's to break the civilians so they would revolt against the government. So with sanctions, you're hurting civilians by definition. It might be "for the greater good", but it's certainly amoral approach in my book.
by xve | 2026-01-27 16:06:37+00:00
I would agree with you, but its pretty disturbing that the general public doesn't have a good outlet, especially to discuss unconstitutional ICE actions. It’s unfortunately very convenient that at a time when the pros outweigh the cons (open discussion vs. addiction) that some might stay offline. I would encourage you to overlook the mental poison and continue to support open communication. That's more important right now.
by Hizonner | 2026-01-27 16:06:53+00:00
> dopamine desensitization

So ignorant pop pseudo-neuroscience. Got it.

> It's not fair to say "banning doesnt work you should just not give your children phones", but then force you to send your children to schools that give them ipads and other distractions.

Books can also be distractions. Ask me how I know. And I notice that you're just silently shifting back and forth between "social media" (ever notice how there's no single agreed-upon definition of that in the world?) and "just anything you can do on an iPad".

> in many schools EVERY child is on social media

Yes, because the world at large uses social media for some things. And for that matter uses things other than social media, things you or your coalition want to deprive children of, for other things. What you are effectively asking is to stick everybody who's not officially an adult in a curated sandbox that will never match the richness of the rest of society. That is unfair, unreasonable, and basically a guaranteed way to fail to prepare them for actual adulthood.
by Uehreka | 2026-01-27 16:06:53+00:00
Is it? I’ve been experimenting with Gas Town, I’ve learned a lot of new ideas about coding agent orchestration, I haven’t given Steve Yegge a dime or touched any crypto. How am I being scammed?

The article just seems like yet another “look at all the hype around AI coding agents! Since we know AI coding doesn’t work, they must be a scam!” but with a garnish of “crypto is involved in some ancillary way! So watch out!”
by conductr | 2026-01-27 16:06:54+00:00
For most, the deportation of criminals isn’t the issue. It’s the process and methodology being employed people are disagreeing with. It’s creating unconstitutional situations and chaos/death in the streets.

People like you overwhelmingly misunderstand the position of others and in making incorrect assessments create more noise to divide the nation further. You try it is “criminal” to lump together the cartel death squad and MS13 street gang type people together into the same cohort as people who simply came here illegally and have lived here peacefully even contributing to our society and economy positively.
by oofbey | 2026-01-27 16:06:57+00:00
How many people here rely on Google Docs? I have for many things for years. How many of you regularly back up your Google Docs? I have taken a Google Takeout a few times over the years. But no. Why? Because I have never heard of Google “losing” docs or emails or anything like that except when a user deliberately deletes things. Same with AWS S3. It just doesn’t lose files. Ops mistakes and hackers can make it lose files but the tech is rock solid.

I think it’s very reasonable to assume cloud services don’t need to be backed up, because many of them are based on extremely reliable technologies.

Obviously mistakes like this can happen, and if they’d had a backup OP would be better off.

But I can’t help but think that there’s a lot of shadenfreude here from people who dislike AI at seeing somebody suffer for having a strong reliance on it.
by iugtmkbdfil834 | 2026-01-27 16:07:27+00:00
I will offer a benign example. A new team member was given a task to generate a dashboard that, as per spec, in great detail lists every action of a given employee within a system that generates some data for consumption by those employees.

As simple as the project was, the employee had the presence of mind to ask his seniors some thoughtful questions of what makes sense, what is too intrusive, what is acceptable. He felt uncomfortable and that was with something that corps build on a daily basis.

Now.. not everyone wakes up thinking they are building database intended to enslave humanity as a whole, but I would like to think that one person simply questioning it can make a difference.
by lumost | 2026-01-27 16:07:46+00:00
Even that didn't work well, when I was at an airport recently I had investigated 4-5 items as I had some time to kill. When I was walking out it wanted to bill me for 70 dollars even though I only had a bottle of water and a candy bar.

I have little trust that a corporate behemoth will do right by me and refund the discrepancy at an unspecified later time as it says it will on checkout.
by gwbas1c | 2026-01-27 16:08:12+00:00
> Traditionally I would say it feels more like Ada, Modula-2, Object Pascal.

Well, that's from the Objective C history; and Objective C borrows a lot from those languages.

The thing is, once you're doing systems programming, it's unlikely you're going to call any Objective C APIs, or APIs that have an Objective C history. You're more likely to call something in C.
by dkarl | 2026-01-27 16:08:16+00:00
In the west, we've had a long, deep split between what ordinary people rely on (religion and self-help) and respectable academic philosophy. Philosophy rooted in religion has a strict requirement to scale down to serve masses of people. Philosophy rooted in academia has a strict requirement to scale up to allow practitioners to flex their elite skills and show that they are worthy of scarce academic positions. Academic philosophers pay lip service to the idea that philosophy can and should be for everyone, but in practice, they shy away from anything that could compromise their primary pursuit of a career and academic prestige.

As a result, they mostly respond to efforts to reach a lay audience by distancing and criticizing. They are really harsh on the compromises inherent in meeting lay audiences where they are.
by dagmx | 2026-01-27 16:08:21+00:00
It’s not perfect but if that’s your standard, then that cuts a lot of stuff from both languages :-)

I’m not sure why annotations are a bad thing to you. They’re not necessarily swift specific and could benefit other bindings too, and their existence doesn’t mitigate that it’s a binding. Or do you not consider rust being bindable to any non-C language since you’d have to write CFFI bindings in between?
by ndsipa_pomu | 2026-01-27 16:08:22+00:00
You're technically correct, the best kind of correct.

However, if you're looking to lubricate something and have it last for a reasonable time, then WD-40 is a poor choice. However, using WD-40 first to hopefully dissolve contaminants/rust and remove water and then after a quick wipe to remove excess, applying something better such as 3-in-1 or silicone grease etc is a good idea.

The clue is in the name - Water Displacement 40.

If you want a spray on penetrating lubricant, then GT-85 is usually better as it has PTFE included to better lubricate. It still won't last that long though as it'll only make a thin film.

Edit: I've just seen that WD-40 make mention of a bus driver in Asia using WD-40 to remove a python from his bus' under-carriage. If in doubt, spray it with WD-40.
by mothballed | 2026-01-27 16:08:25+00:00
You can read the case. Basically it was a privately owned public space that they could have been otherwise trespassed from, but not for the reason of their speech. Since the reason for the trespass was their speech, it was prohibited. They were not otherwise "forbidden" from walking there were it not they expressed something that was disapproved of.

A weak analogy (I know analogy are never allowed here because "they're not the same") is that you can fire someone at will. Unless it turns out you fired them because they are black (yes I know being black is much different than expressing an opinion). It didn't mean you can't fire them at will, just that you couldn't for that specific protected reason.

Although at this point we're well well past the goalpost of "Freedom of speech has literally never prevented a private company from controlling the content on its platform" and down into the weeds of how it happened. The case clearly prevented the company from fully controlling the content of its sidewalk platform.
by tpoacher | 2026-01-27 16:08:32+00:00
You are conflating development with distribution of binaries (a problem which interpreted languages do not have, I hasten to add).

1. The accepted solution to what you're describing in terms of development, is passing appropriate flags to `./configure`, specifying the path for the alternative versions of the libraries you want to use. This is as simple as it gets.

As for where to get these libraries from in the event that the distro doesn't provide the right version, `./configure` is basically a script. Nothing stopping you from printing a couple of ftp mirrors in the output to be used as a target to wget.

2. As for the problem of distribution of binaries and related up-to-date libraries, the appropriate solution is a distro package manager. A c package manager wouldn't come into this equation at all, unless you wanted to compile from scratch to account for your specific circumstances, in which case, goto 1.
by pjc50 | 2026-01-27 16:08:36+00:00
Don't forget that the regular operation of Chinese policing is already much less free than what Americans are used to, plus the restrictions on internal freedom of migration (Hukou, less onerous than it used to be, plus the two SAR of Macao and HK). Mandatory state-issued ID, linked to your phone and bank account and so on.

As well as racial profiling. There's not that much immigration to China in the first place, legal or otherwise.