Mohamed Ashraf (@primary0) profile picture

Elixir, Ruby, Swift. Not that it matters anymore.

Joined March 2007
Photo by Mohamed Ashraf (@primary0)Photo by Mohamed Ashraf (@primary0)Photo by Mohamed Ashraf (@primary0)Photo by Mohamed Ashraf (@primary0)Photo by Mohamed Ashraf (@primary0)Photo by Mohamed Ashraf (@primary0)Photo by Mohamed Ashraf (@primary0)Photo by Mohamed Ashraf (@primary0)Photo by Mohamed Ashraf (@primary0)Photo by Mohamed Ashraf (@primary0)
Mohamed Ashraf retweeted
I redesigned Calculator. You're welcome.
932
5,298
492
59,083
1,726,154
Mohamed Ashraf retweeted
Weekend hack: HackerTube. I was annoyed with YouTube's recommendations so I had Claude filter down 43M comments over 20 years of HN to 6,454 videos that keep being recommended. *Significantly* better viewing experience, ~2 hours with Opus 5.5: hackertube.org/ - Excellent recs without any logins (state is kept in local browser session) - Thumbnail is a representative frame from middle of the video instead of the super duper A/B test hyper-optimized user uploads - Underlying data from the comment analysis as one zip file, point your Claude at it and ask for your own version - HackerTube Longs ✊ A bit more on the process: I use Claude Code (desktop app for Mac), Opus 5.5 on Medium effort as my default. I only talk to Claude and have it do everything, the only "manual work" I helped with in tandem was in the browser (reminiscent of MenuGen): 1) I had to create some kind of API key from Google Cloud UI to query YouTube for video metadata, 2) I booted up a VPS box for serving and 3) I bought the domain name. Once the box was up I gave Claude the IP and told it update, secure, harden, deploy and optimize the code, and it did the whole thing. Many awesome projects that would have normally taken weeks/months even can now be few-shotted for breakfast. What else are we not thinking of.
2,410
4,853
1,824
52,625
5,886,251
Mohamed Ashraf retweeted
What it feels like when you start using a Chinese model and it actually just does what you want without a fucking condescending moral lecture.
273
1,895
109
35,993
598,620
☠️ rip human slop.
the software that people who had spent their entire lives thinking about software produced:
210
Mohamed Ashraf retweeted
Ever notice that in Dune humans fly spaceships between planets but don't use a single computer? That's not a plot hole. It's completely on purpose. The movies barely explain why, but once you know, almost everything else in Dune starts to make sense. About 10,000 years before Paul Atreides, humans did exactly what we're doing right now. They built thinking machines to make life easier. They let the machines do their work and make their decisions, hoping it would set them free. Instead, the people who controlled those machines gained the power to enslave everyone else. Humanity eventually fought back in a holy war called the Butlerian Jihad, and won. The thinking machines were destroyed. To make sure it would never happen again, they made one rule sacred: "Thou shalt not make a machine in the likeness of a human mind." But getting rid of computers created a problem: who would do their work? The answer was humans. Mentats are trained from childhood to think like computers. Navigators use the spice to glimpse the future and steer ships safely through space. The Bene Gesserit spend generations pushing the human mind and body to their limits. Every superpower in Dune exists for one reason: there are no computers. That's my favorite thing about Dune. It's also the most terrifying. Dune isn't a future without AI. It's the future after AI. Frank Herbert wrote that in 1965.
🤝 Paid partnership
Warner Bros releases the final trailer for Denis Villeneuve's Dune: Part Three 8% chance the film wins Best Picture at the Oscars
474
3,584
212
33,665
2,042,252
If Claude says "You’re right" then Anthropic should return the previous tokens.
2
196
Mohamed Ashraf retweeted
rest in piss, leetcode
The coding interview is dead, at least for my team at Anthropic. I've seen enough to know that it no longer provides signal. I removed it from loops this month. I have a spicy, optimistic take - I think there's an opportunity for junior engineers: felixrieseberg.com/hunger-be…
28
83
8
2,382
196,991
Mohamed Ashraf retweeted
macOS Developers should update their /etc/ssl/cert.pem file to remove the compromised eMudhra certificate. Apple has directions here: support.apple.com/en-us/1495…
22
167
12
961
92,166
Mohamed Ashraf retweeted
Congrats to @killa who solved stealmybitcoin.com hours ago but I screwed up which key went on the server (the flag was a root wallet WIF instead of the branch WIF). Check out their awesome writeup here: github.com/KillaBoi/StealMyB…
43
216
45
2,055
513,168
Stolen in less than 24 hours. It’s real.
Someone has created a vulnerable PHP website, loaded it with a Bitcoin wallet, and challenged the Internet to hack into it and they can keep the Bitcoin. It has a running timer to show if the PHP exploitability was over-hyped. stealmybitcoin.com/
1
199
Mohamed Ashraf retweeted
VIDEO: I finally found the most beautiful computer! New old stock from 1980. Never been turned on.
105
376
25
4,199
103,385
Mohamed Ashraf retweeted
If you've ever wondered why smart TVs are so cheap, this is why. @log4j rooted his Samsung and found an always-on hot mic, automatic content recognition, geolocation, network mapping, ad targeting and user profiling, shared with Samsung's "400 partners". A lot of it can be blocked in <15 min, wrote a basic guide below. What your TV is doing The main culprit is ACR (automatic content recognition). Your TV screenshots what's on screen, fingerprints it, and sends it home to build your ad profile. Samsung does it every 500ms, LG every 10ms [1]. What is insane: it happens on connected devices too. Plug in your laptop, your console, your work machine, and your TV can fingerprint that via HDMI [1]. He also found that if your Samsung doesn't have a mic, it'll look for one from a connected soundbar or bluetooth device. nitter.cf/log4j/status/211376224… It's on by default, and you likely agreed to it on the setup screen you clicked through in 10 seconds. Step 1: Turn off ACR Samsung: Terms & Privacy → Viewing Information Services LG: Live Plus Vizio: Viewing Data Roku: "Use info from TV inputs" Sony/Google TV: Samba Interactive TV Menus vary by model, but those are the names to look for. While you're in there, opt out of interest-based ads, reset your advertising ID, decline every optional privacy agreement, turn off voice recognition, and delete apps you never open. Step 2: Give smart devices their own network Put the TV, cameras, speakers and vacuum on your router's guest/IoT network. The logic is simple: these devices rarely get patched. If one gets compromised (getting drastically more frequent with AI), it shouldn't be able to see your other devices or home network. Step 3: Block trackers for the whole house with DNS-level filtering NextDNS (cloud-based) is easy and has a solid free plan. Pi-hole is a little bit more work if you prefer self hosting. For simplicity we'll focus on the former. 1. Sign up at nextdns.io (free tier is plenty) 2. Privacy tab: add a blocklist (OISD is a good bet) and turn on Native Tracking Protection for Samsung, LG, Roku, Amazon (see attached image) 3. Setup tab: copy your endpoint 4. Paste it into your router's DNS settings as DNS-over-HTTPS/TLS (or use the IPs + "Link IP" if your router only does plain DNS) 5. Bonus: block outbound port 53 except to your router. Some devices hardcode their own DNS to get around you Then open the NextDNS logs and watch how often your TV phones home. It's eye-opening. If an app or update breaks, find the domain in the logs and allowlist it. Why they do this TV prices are down 97% since 2000 [2]. Most of that is better manufacturing and brutal competition. But once margins on the hardware hit zero, the cost moved to you. In Q3 2024, Vizio lost $6.7M selling TVs and made $115.8M in gross profit from ads and viewing data [3]. They've said on earnings calls that they keep TV prices low to grow the audience they sell to advertisers. Walmart bought them in 2024. This isn't a conspiracy theory either. Vizio paid $2.2M to the FTC in 2017 for tracking 11 million TVs without consent. Last December, Texas sued Samsung, LG, Sony, Hisense and TCL over ACR. Samsung and LG have since agreed to stop collecting that data without explicit consent [4]. TL;DR 1. ACR off 2. Ads + voice off 3. Smart devices on their own network 4. NextDNS filtering on the router Sources: [1] ACR study: arxiv.org/abs/2409.06203 [2] Cost of US consumer goods: aei.org/economics/chart-of-t… [3] Vizio Q3 2024: sec.gov/Archives/edgar/data/… [4] Texas v. Samsung: texasattorneygeneral.gov/new…
i own a relatively new (2025) samsung tv. i kept getting weirdly targeted ads. i tried reversing the firmware but it was aes encrypted and no keys unless tear it apart and do uart/jtag magic. zero days it is. root shell on new samsung TVs! discovered PRIVACY HORROR. write up?
347
3,287
350
22,558
1,563,985
Mohamed Ashraf retweeted
Winner announcement in 24 hours! We'll randomly draw 100 eligible winners with help from @grok. Make sure you follow us, like & repost to be in the running. Good luck! 🍀
My iPhone Duo video went viral, so I'm giving away 100 iPhones on X 😛
13,448
16,969
944
24,714
1,549,290
Mohamed Ashraf retweeted
My iPhone Duo video went viral, so I'm giving away 100 iPhones on X 😛
91,861
92,701
6,538
140,172
6,119,909
Mohamed Ashraf retweeted
We believe voice is the most natural way to interact with intelligence, so we created Dessa, the most authentic full-duplex speech model ever built. Talking with it feels like talking with a person…full of emotion, nuance, pauses, and a natural cadence. block.xyz/dessa
4,167
7,141
4,762
69,053
13,769,160
End of an era.
BREAKING: Getty Images officially files for bankruptcy
160
Mohamed Ashraf retweeted
In the last 24 hours: 1. iPhone 11 through 16 are apparently vulnerable to remote attacks. 2. SSL certificates are broken until browsers remove eMudhra CA. 3. PHP >9 vulnerability CVE published (tomorrow). The world is about to witness things that have never been seen before.
Readers added context they thought people might want to know
The post's iPhone claim is inaccurate; a leaked Cellebrite forensic tool targets a Bluetooth bug patched in iOS 26.5 and does not affect updated devices. The eMudhra CA and PHP issues are real incidents but framed sensationally. justin.sh/blog/2026/10/c… blog.mozilla.org/security/2026/… php.net
183
890
192
8,578
1,167,226
Are we all hacked today or what.
4
3
945
Mohamed Ashraf retweeted
Best thing about AI is that it has now become a way to clean up human slop. All of the terrible software you’ve dealt with over the past 20 years can now be solved.
Ok so I did the TV hack thing… What started as a very conservative exploration has led to a fully custom home launcher with layouts, backgrounds, material choices and lots of customisation available. I no longer have to deal with Samsung Smart Hub nonsense. It's already live and working but now in a massive refinement pass thats been running while I'm in meetings.
31
35
3
1,016
41,501
Mohamed Ashraf retweeted
Narrative Violation: AI is actually REMOVING Human Slop.
Eu vibecodei minha TV com a Claude. Todos os bloatwares pré-instalados e anúncios foram removidos, além disso recriei o OS dela e fiz um design clean inspirado na AppleTV. ~70% menos uso de RAM e interface 3x mais rápida.
72
429
21
9,097
218,959