frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

NewASM Virtual Machine

https://github.com/bracesoftware/newasm
1•DEntisT_•12s ago•0 comments

Terminal-Bench 2.0 Leaderboard

https://www.tbench.ai/leaderboard/terminal-bench/2.0
1•tosh•35s ago•0 comments

I vibe coded a BBS bank with a real working ledger

https://mini-ledger.exe.xyz/
1•simonvc•49s ago•1 comments

The Path to Mojo 1.0

https://www.modular.com/blog/the-path-to-mojo-1-0
1•tosh•3m ago•0 comments

Show HN: I'm 75, building an OSS Virtual Protest Protocol for digital activism

https://github.com/voice-of-japan/Virtual-Protest-Protocol/blob/main/README.md
3•sakanakana00•6m ago•0 comments

Show HN: I built Divvy to split restaurant bills from a photo

https://divvyai.app/
3•pieterdy•9m ago•0 comments

Hot Reloading in Rust? Subsecond and Dioxus to the Rescue

https://codethoughts.io/posts/2026-02-07-rust-hot-reloading/
3•Tehnix•9m ago•1 comments

Skim – vibe review your PRs

https://github.com/Haizzz/skim
2•haizzz•11m ago•1 comments

Show HN: Open-source AI assistant for interview reasoning

https://github.com/evinjohnn/natively-cluely-ai-assistant
3•Nive11•11m ago•4 comments

Tech Edge: A Living Playbook for America's Technology Long Game

https://csis-website-prod.s3.amazonaws.com/s3fs-public/2026-01/260120_EST_Tech_Edge_0.pdf?Version...
2•hunglee2•15m ago•0 comments

Golden Cross vs. Death Cross: Crypto Trading Guide

https://chartscout.io/golden-cross-vs-death-cross-crypto-trading-guide
2•chartscout•17m ago•0 comments

Hoot: Scheme on WebAssembly

https://www.spritely.institute/hoot/
3•AlexeyBrin•20m ago•0 comments

What the longevity experts don't tell you

https://machielreyneke.com/blog/longevity-lessons/
2•machielrey•21m ago•1 comments

Monzo wrongly denied refunds to fraud and scam victims

https://www.theguardian.com/money/2026/feb/07/monzo-natwest-hsbc-refunds-fraud-scam-fos-ombudsman
3•tablets•26m ago•0 comments

They were drawn to Korea with dreams of K-pop stardom – but then let down

https://www.bbc.com/news/articles/cvgnq9rwyqno
2•breve•28m ago•0 comments

Show HN: AI-Powered Merchant Intelligence

https://nodee.co
1•jjkirsch•31m ago•0 comments

Bash parallel tasks and error handling

https://github.com/themattrix/bash-concurrent
2•pastage•31m ago•0 comments

Let's compile Quake like it's 1997

https://fabiensanglard.net/compile_like_1997/index.html
2•billiob•32m ago•0 comments

Reverse Engineering Medium.com's Editor: How Copy, Paste, and Images Work

https://app.writtte.com/read/gP0H6W5
2•birdculture•37m ago•0 comments

Go 1.22, SQLite, and Next.js: The "Boring" Back End

https://mohammedeabdelaziz.github.io/articles/go-next-pt-2
1•mohammede•43m ago•0 comments

Laibach the Whistleblowers [video]

https://www.youtube.com/watch?v=c6Mx2mxpaCY
1•KnuthIsGod•44m ago•1 comments

Slop News - The Front Page right now but it's only Slop

https://slop-news.pages.dev/slop-news
1•keepamovin•49m ago•1 comments

Economists vs. Technologists on AI

https://ideasindevelopment.substack.com/p/economists-vs-technologists-on-ai
1•econlmics•51m ago•0 comments

Life at the Edge

https://asadk.com/p/edge
4•tosh•57m ago•0 comments

RISC-V Vector Primer

https://github.com/simplex-micro/riscv-vector-primer/blob/main/index.md
4•oxxoxoxooo•1h ago•1 comments

Show HN: Invoxo – Invoicing with automatic EU VAT for cross-border services

2•InvoxoEU•1h ago•0 comments

A Tale of Two Standards, POSIX and Win32 (2005)

https://www.samba.org/samba/news/articles/low_point/tale_two_stds_os2.html
4•goranmoomin•1h ago•0 comments

Ask HN: Is the Downfall of SaaS Started?

4•throwaw12•1h ago•0 comments

Flirt: The Native Backend

https://blog.buenzli.dev/flirt-native-backend/
3•senekor•1h ago•0 comments

OpenAI's Latest Platform Targets Enterprise Customers

https://aibusiness.com/agentic-ai/openai-s-latest-platform-targets-enterprise-customers
2•myk-e•1h ago•0 comments
Open in hackernews

X For You Feed Algorithm

https://github.com/xai-org/x-algorithm
125•grainier•2w ago
https://x.com/XEng/status/2013471689087086804

Comments

moneywoes•2w ago
anything interesting? anything that is a surprise?
internetter•2w ago
what is the difference between this and https://github.com/twitter/the-algorithm
KomoD•2w ago
Seems like that is the old one, and the one they just released is a new one.

"We have open-sourced our new algorithm, powered by the same transformer architecture as xAI's Grok model."

vitorgrs•2w ago
Old algo. They replaced X algo a while ago, it uses Grok...
glemion43•2w ago
'it uses grok' means what?
rapsey•2w ago
I did not expect to see Rust. They seem to have forgotten to commit Cargo.toml though.

Oh I see it is not meant to be built really. Some code is omitted.

stickynotememo•2w ago
Surprising no one.
swyx•2w ago
ooh, LLM Recsys alert! (we had an LLM Recsys track at ai.engineer last year). official announcement here: https://x.com/XEng/status/2013471689087086804

looks like this is the "for you" feed, once again shared without weights so we only have so much visibility into the actual influence of each trait.

"We have eliminated every single hand-engineered feature and most heuristics from the system. The Grok-based transformer does all the heavy lifting by understanding your engagement history (what you liked, replied to, shared, etc.) and using that to determine what content is relevant to you." aka it's a black box now.

the README is actually pretty nice, would recommend reading this. it doesnt look too different form Elon's original code review tweet/picture https://x.com/elonmusk/status/1593899029531803649?lang=en

sharing additonal notes while diving through the source: https://deepwiki.com/xai-org/x-algorithm

and a codemap of the signal generation pipeline: https://deepwiki.com/search/make-a-map-of-all-the-signals_3d...

- Phoenix (out of network) ranker seems to have all the interesting predictive ML work. it estimates P(favorite), P(reply), P(repost), P(quote), P(click), P(video_view), P(share), P(follow_author), P(not_interested), P(block_author), P(mute_author), P(report) independently and then the `WeightedScorer` combines them using configurable weights. there's an extra DiversityScore and OONScore to add some adjustments but again dont know the weights https://deepwiki.com/xai-org/x-algorithm/4.1-phoenix-candida... - other scores of interest: photo_expand_score, and dwell_score and dwell_time. share via copy, share, and share via dm are all obviously "super like" buttons.

- Two-Tower retrieval uses dot product similarity between user features/engagement (User Tower) and normalized embeddings for all items (Candidate Tower). but when you look into the code and considering that this is probably the most important model for recommendations quality.... it's maybe a little disappointing that its a 2 layer MLP? https://deepwiki.com/search/what-models-are-used-for-user_98...

- Grok-1 JAX transformer (https://github.com/xai-org/x-algorithm/blob/main/phoenix/REA...) uses special attention masking that prevents candidates from attending to each other during inference. Each candidate only attends to the user context (engagement history). This ensures a candidate's score is independent of which other candidates are in the batch, enabling score consistency and caching. nice image here https://github.com/xai-org/x-algorithm/blob/main/phoenix/REA...

- kind of nice usage of Rust traits to create a type safe data pipeline. look at this beautiful flow chart https://deepwiki.com/xai-org/x-algorithm/3-candidate-pipelin... and the "Field Ownership pattern" https://deepwiki.com/xai-org/x-algorithm/3.6-scorer-trait#fi...

- the ten pre-scoring filters are minorly interesting, nothing super surprising here apart from AgeFilter (https://deepwiki.com/xai-org/x-algorithm/4.6.1-agefilter) which I guess means beyond a certain max_age (1 day?) nothing ever shows up on For You. surprising to have a simple flat cutoff vs i guess the alternative of an exponential aging algorithm.

- videoduration hydrator explicitly prioritizes video duration (https://deepwiki.com/xai-org/x-algorithm/4.5.6-videoduration...) but we dont know in what direction... do you recommend shorter or longer videos? and why a hydrator for what is presumably a pretty static property?

open questions from me

1. how large is the production reranker? default param count is here https://deepwiki.com/search/how-many-params-is-the-transfo_c... but that gives no indication. the latency felt ultra high initially last year and seems to have come down some, what budget are we working with?

2. can we make the retrieval better? i dont have a tooon of confidence in the User Tower / Candidate Tower system - is this SOTA (it's probably not - see how youtube does codebook semantic id's https://www.youtube.com/watch?v=LxQsQ3vZDqo&list=PLcfpQ4tk2k... )

3. no a/b testing / rollout infrastructure?

4. so many hydration subsystems - is this brittle?

dang•2w ago
Thanks, we'll put that link in the toptext too.
modeless•2w ago
The only relevant technical discussion in the whole thread got downvoted to the bottom, and the top comment is poorly reasoned and arguably factually incorrect but on the "correct" political side. This is typical on politically charged topics. Is there anything HN can do to reduce the impact of politically motivated voting? The discouragement of posting politics in the guidelines doesn't seem to be enough anymore.
sunaookami•2w ago
Sad that this is the only relevant comment in this thread, thanks for the insights. DeepWiki is very nice for this. Didn't know that e.g. copying the post link via the share button influences the algorithm!
jnd0•2w ago
Agreed.
chistev•2w ago
By releasing these things are they giving their competitors an advantage??

Someone explain.

rapsey•2w ago
What competitors? Their moat is not tech based. A competitor can't outbuild them to compete.
dudisubekti•2w ago
They probably open sourced all the "safe" components everyone in the social media industry knows.

They most likely have some secret sauce that they don't release to public.

James_K•2w ago
Social media apps do not compete in terms of code quality, but user-capture. People go to X because their friends are on X or there is someone on X they want to follow. The sole valuable aspect of any social media company is how many people use it. That's why, when Musk bought Twitter, he discarded the branding, the software engineers, rewrote the backend, and ditched the moderation. The only valuable thing that he was interested in buying was the captive users of Twitter and the embedded value in their social relations and generated content.
andsoitis•2w ago
> ditched the moderation

X has content moderation that relies on a mix of AI and human review, focusing on automated systems and user reports. There’s less emphasis on account suspensions and more on reach restriction, alongside community-led moderation like "Community Notes"

raincole•2w ago
Who? BlueSky...?

Plus they had done this before and no real competitor raised since last time they did it. So why not do it again.

minimaxir•2w ago
The same reason many big corps open source their tech: goodwill/recruiting.

xAI likely needs both more than usual nowadays.

wesleywt•2w ago
Nobody is competing in this loss making buisiness model.
vitorgrs•2w ago
X algo is not that amazing for that to happen. We are not talking about Tiktok.
kklisura•2w ago
Err... for me: that's shockingly small amount of code. I don't think there's over 5k of LOC there.
kklisura•2w ago
Another one: there doesn't seem to be a single test file.

Honestly, this looks like a PoC - Proof of Concept. They've open sourced what used to be a PoC at one point.

zevv•2w ago
Not really that surprising: all logic that used to be in the code is now in the model; the only code that is left is some glue to connect the outside world to the number crunching, just like Llama2 runs your LLMs with only 700 lines of C.

They're eating the code. They're eating the algorithms.

modeless•2w ago
Seems like that was the intent: "We have eliminated every single hand-engineered feature and most heuristics from the system"
recursivecaveat•2w ago
It seems like what they've released is entirely useless. Just done for the headlines I guess. All the real information is the components not provided. They may as well have uploaded the CPython source and told us that was the algorithm, which executes a hand-engineered model of heuristics stored in a closed-source .py file.
melodyogonna•2w ago
I think the goal is for AI to take over the heuristics. This is basically code for the AI model
stickynotememo•2w ago
> Grok based transformer

Is Grok not an LLM? Or do they have other models under that brand?

cristoperb•2w ago
I don't know the answer to your second question, but what about "transformer" makes you think "not an LLM"?
stickynotememo•2w ago
Not the word 'transformer', but I doubt they'd use an LLM as a For You algorithm.
dragonwriter•2w ago
> > Grok based transformer

> Is Grok not an LLM?

Transformer is the underlying technology for (most) LLMs (GPT stands for “Generative Pre-Trained Transformer”)

solarkraft•2w ago
Right. How is this one based on Grok?
binsquare•2w ago
Hasn't this become more of a blackbox now that it's grok-based? And we've seen grok responses can be actively tweaked whenever Elon doesn't like it?

I'm sure there's many examples but here's the first Google search result: https://www.theguardian.com/us-news/2025/nov/12/elon-musk-gr...

nailer•2w ago
That’s not an example of what you’re claiming.
binsquare•2w ago
Apologies, guess I copied the wrong link:

https://www.nytimes.com/2025/09/02/technology/elon-musk-grok...

wraptile•2w ago
I feel like we need more awareness on what is open-source and how does it work. This is NOT open source. This is, at best, source available but as there is no way to confirm that this code even runs anywhere ever it's entirely a bad faith performance to trick people, deceive regulators and stain the entire open source movement.

I sincerely hope that the main stream media does not fall for this and calls it out. It's not rocket science. It's really really simple - this is not good for anyone.

YetAnotherNick•2w ago
Which part of open source mentions that it is NOT open source if the code is not run.
notsure2•2w ago
The claim is THIS is the SOURCE that is being opened. The claim can not be verified. If it's not running then this isn't the SOURCE.

If I "Open Source" windows 11 but lie and put some other junk there then I can't CLAIM to have open sourced windows 11 now can I?

nailer•2w ago
That’s not part of the open source definition.

You can claim the open source code isn’t Windows 11, but you can’t complain the code isn’t open source.

antisol•2w ago

  > you can’t complain the code isn’t open source
(unless, of course, the code isn't licensed under an OSI-approved license. Parent didn't actually specify which license the hypothetical not-windows-11 was being "open sourced" under, so we can't actually say for sure whether this hypothetical release is open source or not)

</pedantry>

YetAnotherNick•2w ago
> I feel like we need more awareness on what is open-source and how does it work. This is NOT open source.
nailer•2w ago
Yes that’s correct. I’m imagining it’s the Apache license like the X code, which is indeed an open source license.
sublinear•2w ago
> there is no way to confirm that this code even runs anywhere ever

I'm confused what this has to do with "open source" or how it affects public perception.

I agree with you that it's totally possible to lie about what is actually running in production and that sharing some code doesn't mean it's that code, but how is this a new problem?

kouteiheika•2w ago
> This is NOT open source.

So in the end are we going by the OSI's definition of Open Source, or not? Can we make up our mind please?

Every time anyone posts here even a slightly modified Open Source license (e.g. a MIT license with an extra restriction that prevents megacorporations from using it but doesn't affect anyone else) people come out of the woodwork with their pitchforks screaming "this is not Open Source!", and insist that the Open Source Definition decides what is Open Source or not, and not to call anything which doesn't meet that definition "Open Source".

And yet here we are with a repository licensed under an actually Open Source license, and suddenly this is the most upvoted comment, and now people don't actually care about the Open Source Definition after all?

Either we go by the OSI's definition, in which case this is open source, regardless of what you think the motivations are for opening up this code, or we go by the "vibes" of whether it feels open source, in which case a modified MIT license which prohibits companies with a trillion+ market cap from using it is also open source.

therealpygon•2w ago
You’re discussing licenses, their concern is about calling a thing that cannot function without the associated proprietary back-end “open source” for marketing.

If you want to make the argument only about the license, then you should make sure you are consistent by referencing “open source license” every single time instead. Their point is that companies use releases like this to claim they “open source” simply by releasing some useless code under an open source license.

I think if you simply replace “license” with the word “software” in those same OSI tenants, you’ll suddenly find that this “open source” project doesn’t come close to being the “open source” most people believe in. They don’t just expect the definition to stop with the license if you’re going to call something “open source” instead of “has an open source license”. OSI only provides a definition of “Open Source” with respect to licenses.

So while you may consider only a singular definition by an American organization, founded by corporations, designed to focus on clarifying and promoting the licensing aspect of open source, as the end-all be-all all-encompassing definition for the words “open source”, others argue that there are more things in software than just a license and they hope the media won’t be fooled into reporting about X offering “open source” access.

kouteiheika•2w ago
No, I'm just arguing against the blatant double standard I frequently see here on HN.

Personally I agree with you; to me this isn't open source in spirit. But I also think that a modified MIT license with an anti-megacorporation use restriction is still open source in spirit, regardless of what the Open Source Definition says.

Why is the "this is not open source even though it's OSI approved" comment here the most upvoted, while I frequently see the "this is open source even though it's not OSI approved" opinions heavily argued against and downvoted to hell?

My point is: either pick one or the other. Either the OSI is the authority on what is open source, or not. You can't have it both ways and argue either way depending on whether it's convenient to you. (And by "you" I don't mean you specifically, but people here in general.)

nailer•2w ago
This is open source. The license is the Apache license that meets the open source definition:

https://github.com/xai-org/x-algorithm/blob/main/LICENSE

krautsauer•2w ago
By license sure, it is. But having a look at https://www.gnu.org/philosophy/free-sw.html.en#four-freedoms I kind of doubt it really is.

Freedom 1 is dubiously fulfilled. I can modify it, sure, but I can't modify it when the program runs on my data for me. Freedom 0 isn't fulfilled. I don't have the necessary input data to run the program myself.

(Of course the free software definition wasn't written for today's world, and the clarification below goes somewhat against my argument for Freedom 0. Feel free to pick this apart.)

nailer•2w ago
That's a fair point, but I don't think anyone was stating it's free software. It doesn't need to meet the four freedoms to be open source, just the open source definition.
oakwhiz•2w ago
This is open source. You're thinking of trusted execution, audits, licenses with disclosure requirements, or signed affidavits which is a totally different thing than open source. Otherwise you could claim that just about anything isn't open source just because you're not sure what is happening on someone else's computer.
wraptile•2w ago
ok. This is open source of _what_? Without tying the code to a real life object the intent is absolutely meaningless. Here's the open source code for hackernews:

``` @route("/"): def main(): return "hello world" ```

What does that give us? We can't run this to host our own hackernews as it's clearly not runnable. We can't really learn anything from this as it doesn't not represent any real reality. Maybe it's a fun reading exercise but that's about it.

Open source means that I can take source and run it to ensure it's trusted. Ascii characters being visible on my screen is just a nice byproduct of this goal.

ulrischa•2w ago
Can someone port this to a bluesky custom feed?
guessmyname•2w ago
Someone will, and whoever does it will probably use an Agent CLI: Claude Code with Opus 4.5, Codex CLI with GPT‑5.2‑Codex, Gemini CLI with 3-Pro, GitHub Copilot CLI, etc. I’m 100% sure of it, I’d bet everything I have. Heck, even the code change was made by an AI Agent called “CI Agent” <support@x.ai> as seen here: https://github.com/xai-org/x-algorithm/commit/aaa167b3de8a67...
sunaookami•2w ago
"CI Agent" has nothing to do with AI lol, it just stands for Continous Integration. The word "agent" predates AI.
dotandgtfo•2w ago
This clearly has the goal of muddying the water of the DSA transparency requirements. It's an opaque way of trying to mislead users into believing that X is being transparent while not being so at all.

They pretend to be transparent about their algorithms while denying researchers access to their API through exorbitant pricing and severely limited quotas.

roryirvine•2w ago
I wonder if this'll turn out like the last time they published their algorithm to great fanfare, and then didn't bother to ever update it: https://github.com/twitter/the-algorithm
roryirvine•2w ago
Though, to be fair, there were hundreds of "rewrite it in Rust" issues opened against that old one - it looks like they listened!
espeed•2w ago
Have we entered the age of AI programming people?