
web, cloud, security, UI/UX • IMO implicit
Joined March 2011
- Tweets5K
- Following3.2K
- Followers514
- Likes22.9K
Guy Waldman retweeted
In the recent attack on Todoist, the attacker submitted PRs containing extreme data-exfiltration code.
Our internal AI code reviewer (which runs on some of the best models right now) reviewed them like completely normal PRs.
Any good junior dev would have flagged them and hit a panic button.
This is the state of spiky intelligence. We have systems that can solve the Riemann hypothesis, but still make blunders my 9-year-old would never make.
The highs (and there are many!) feel like magic, and they're causing serious AI psychosis. It’s very dangerous to assume these systems have common sense and can operate with agency without very strict guardrails.
Guy Waldman retweeted
I'm not even sounding the claxon for this it's just horrible.
Any text > 256chars is a valid root password, holy shit
sshhole.com/
Guy Waldman retweeted
🎉 CUDA Rust is here! Team 🟩 ❤️ 🦀
You can now write CUDA kernels in plain Rust, two ways: cuda-oxide (SIMT) and cutile-rs (Tile).
developer.nvidia.com/blog/in…
Guy Waldman retweeted
One of my personal favorite features announced at WWDC will I suspect be a sleeper hit: container machines, allowing your Mac to run a lightweight, persistent Linux environment with your home directory and repos automatically mounted: github.com/apple/container/b…
Guy Waldman retweeted
your app deserves better than a boring spinner
i built Whimsy loaders - pixel loaders that actually spark joy, open-source🌸
whimsically.app
Guy Waldman retweeted
The 2025 Go Cryptography State of the Union
#golang
words.filippo.io/2025-state/
Guy Waldman retweeted
In today's episode of programming horror...
In the Python docs of random.seed() def, we're told
"If a is an int, it is used directly." [1]
But if you seed with 3 or -3, you actually get the exact same rng object, producing the same streams. (TIL). In nanochat I was using the sign as a (what I thought was) clever way to get different rng sequences for train/test splits. Hence gnarly bug because now train=test.
I found the CPython code responsible in cpython/Modules/_randommodule.c [2], where on line 321 we see in a comment:
"This algorithm relies on the number being unsigned. So: if the arg is a PyLong, use its absolute value." followed by
n = PyNumber_Absolute(arg);
which explicitly calls abs() on your seed to make it positive, discarding the sign bit.
But this comment is actually wrong/misleading too. Under the hood, Python calls the Mersenne Twister MT19937 algorithm, which in the general case has 19937 (non-zero) bits state. Python takes your int (or other objects) and "spreads out" that information across these bits. In principle, the sign bit could have been used to augment the state bits. There is nothing about the algorithm that "relies on the number being unsigned". A decision was made to not incorporate the sign bit (which imo was a mistake). One trivial example could have been to map n -> 2*abs(n) + int(n < 0).
Finally this leads us to the contract of Python's random, which is also not fully spelled out in the docs. The contract that is mentioned is that:
same seed => same sequence.
But no guarantee is made that different seeds produce different sequences. So in principle, Python makes no promises that e.g. seed(5) and seed(6) are different rng streams. (Though this quite commonly implicitly assumed in many applications.) Indeed, we see that seed(5) and seed(-5) are identical streams. And you should probably not use them to separate your train/test behaviors in machine learning. One of the more amusing programming horror footguns I've encountered recently. We'll see you in the next episode.
[1] docs.python.org/3/library/ra…
[2] github.com/python/cpython/bl…
Guy Waldman retweeted
When you type 'ls > file.txt' on Linux, the ls program has absolutely no idea it's writing to a file.
It thinks it's printing to your screen.
This illusion can be powered by one specific system call: dup (syscall #32 on x86_64). 🧵👇
Guy Waldman retweeted
context-aware css card glow/shine effect 👨🍳
the trick: duplicate and scale the icon. translate it on pointermove. apply feGaussianBlur 🤙
check it 👇
Guy Waldman retweeted
Your browser's JavaScript engine writes new machine code while your program runs. But Linux forbids pages that are both writable AND executable. 🤔
How do runtimes and VMs like JVM generate code on the fly without breaking this security rule?
The answer: a clever syscall mprotect (#10 on x86_64).
Let's see how runtimes pull off this trick. 🧵👇
Guy Waldman retweeted
If you ever notice a 1px shift at the end of your animation, use `will-change: transform`.
This will let the GPU handle the animation and prevent any inconsistencies.
Guy Waldman retweeted
Do yourself a favor and set this in your pnpm config
Guy Waldman retweeted
Very proud to announce that the Windows Subsystem for Linux is now open source!
blogs.windows.com/windowsdev…
Guy Waldman retweeted
Today, we’re announcing the preview release of ty, an extremely fast type checker and language server for Python, written in Rust.
In early testing, it's 10x, 50x, even 100x faster than existing type checkers. (We've seen >600x speed-ups over Mypy in some real-world projects.)
Guy Waldman retweeted
Gradient + Blur — Woww 💙
#figmaconfig2025
Guy Waldman retweeted
Raycast for iOS. Out now. 📱
raycast.com/ios
Raycast, on the go.
Raycast for iOS brings the essentials from your Mac straight to your phone.
Guy Waldman retweeted
💥 BIG NEWS: CORTEX CLOUD IS HERE!💥
We’re introducing the future of real-time cloud security with Cortex Cloud, bringing together the next versions of our industry-leading Prisma Cloud CNAPP with our best-in-class CDR with, now built on the world's leading SecOps platform.
The future of cloud security and SOC starts now. See for yourself. bit.ly/3CNpLQA
Guy Waldman retweeted
a university undergrad made hash tables faster and broke 40-year-old belief 🤯
for 40 years, it was believed that we cannot have better than O(n) operation for hash table worst case inserts and searches if it uses open addressing - for the hash index, look linearly until you find your element or an empty slot to insert.
the paper published last month showed that we can construct a hash table that achieves far better search complexities (both average and worst-case) of (log n)^2 - better than n.
I have not yet read the paper, but if you are interested in digging deeper, I have linked the paper and the write-up in a subsequent tweet.
in case you are interested in knowing the hash table internals, I have an in-depth playlist talking about how they are implemented internally and why they are the way they are. again link in a subsequent tweet.



























