Amazing historical fact: before the invention of counting on your fingers, we had to rely on intricate mechanical contraptions such as this.
Michał Zalewski
Michał Zalewski (born 19 January 1981), also known by the user name lcamtuf, is a computer security expert and "white hat" hacker from Poland. He is a former Google Inc. employee (until 2018), and currently the VP of Security Engineering at Snap Inc. More on Wikipedia
-
lcamtuf
@lcamtuf
-
lcamtuf
@lcamtuf
"Wiz, Ikotas, Metnir, Rapid7, and Xint uncovered..." - or, 5 people given access to the same frontier tool got the same result. Akin to LLM essays: ask ten times, get ten nearly-identical ones.
As a corollary, some bugs may be out of reach unless you prompt creatively enough? -
lcamtuf
@lcamtuf
I prepared a series of infographics for businesses trying to orient themselves in the new cyber landscape
-
lcamtuf
@lcamtuf
I hope you guys weren't using Java for anything important
Calif
@calif_io
Java4Shell: write once, RCE everywhere
calif.io/java4shell -
lcamtuf
@lcamtuf
THE DARK GIFT
(This is one of our three black cats.) -
lcamtuf reposted
Daniel Litt
@littmath
Nice argument, but I’ve already released a 12M-line lean formalization that you are the soyjack and I am the chad.
-
lcamtuf
@lcamtuf
Very rare multi-digit, single-tube nixie display inside a calculator, made circa 1970.
-
lcamtuf reposted
Cesar Cerrudo
@cesarcer
It’s looks like it’s good time to reread
-
lcamtuf
@lcamtuf
Spreadsheets and other models of morality: lcamtuf.coredump.cx/blog/morality/
-
lcamtuf
@lcamtuf
YOUR DATA IS NOW IN THE CLOUD
-
lcamtuf
@lcamtuf
Not exactly a calculator, although it bravely calls itself a "computer": an Italian counting / cheating aid with a multiplication table printed on a plastic cylinder inside a ballpoint pen. Every click of the pen advances the cylinder to the next position.
-
lcamtuf
@lcamtuf
This proposal, which is getting drowned in the AI noise, is a travesty for the residents of the EU.
The goal makes sense, the solution is awful. It effectively mandates Google to hand over your search history to any adversary who can muster fairly modest resources.
Lukasz Olejnik
@lukOlejnik
The European Commission is ordering Google to share the search data of all Europeans with other companies (AI chatbot makers, search engines, etc.), after a kind of "anonymisation". I tested it on the real Google data, hundreds of billions of search records. I broke it.
Findings. I singled out the people behind half a million searches, and that only for few countries over one month of August (record isolation). I joined the pieces of search history beyond the defined cap of 3, more than 200,000 sets just for Germany and only in August (linkage). I also confirm that it is possible to perform inference on the dataset, for example concerning health, religion or political opinions. This moves us beyond data protection, and in the national security direction.
My report: "Alone among a thousand". (link below) -
lcamtuf reposted
lcamtuf
@lcamtuf
It came from the token void: lcamtuf.coredump.cx/blog/token-void/
-
lcamtuf
@lcamtuf
It came from the token void: lcamtuf.coredump.cx/blog/token-void/
-
lcamtuf
@lcamtuf
They say I sometimes go too far in my pentest engagements
-
lcamtuf reposted
lcamtuf
@lcamtuf
Ontology p. 2: wish you were here lcamtuf.coredump.cx/blog/ontology2/
-
lcamtuf
@lcamtuf
Ontology p. 2: wish you were here lcamtuf.coredump.cx/blog/ontology2/
-
lcamtuf
@lcamtuf
-
lcamtuf
@lcamtuf
When we talk about industry-standard security, please understand that the industry standard is 4
-
lcamtuf
@lcamtuf
bumped into this guy on the porch (reupload with small tweaks)
-
lcamtuf
@lcamtuf
In honor of Elon reportedly canning the Cybertruck, here are some key insights from the original HN announcement thread
-
lcamtuf
@lcamtuf
Quasi-logarithmic kitchen timer: lcamtuf.coredump.cx/blog/log-timer/
-
lcamtuf
@lcamtuf
I'm still waiting for the outcome of the most important race
-
lcamtuf
@lcamtuf
You know, Twitter has bots, crypto spammers, weirdos who insult you for no reason, racist asshats, and mountains of AI slop. But somehow, the website is still not nearly as dreadful as Hacker News in 2026.
-
lcamtuf
@lcamtuf
I would like to congratulate the organizers of the 2026 Cybersecurity Awareness Month for putting together a truly spectacular event
-
lcamtuf
@lcamtuf
And this is our third, most grumpy, and most chonky black cat. She doesn't like to be photographed. Or anything.
-
lcamtuf
@lcamtuf
boop
-
lcamtuf
@lcamtuf
GRRROWL!!! ROAR!!!
-
lcamtuf
@lcamtuf
Crypto dude: "I need cryptocurrency so that the government can't take my money"
North Korea: *yoink*
Crypto dude: -
lcamtuf
@lcamtuf
Advice to children in the 1980s: do not talk to strangers
Advice to children in the 2000s: do not talk to strangers on the computer
Advice to children now: DO NOT TALK TO THE COMPUTER -
lcamtuf
@lcamtuf
OK, I made myself a bumper sticker
-
lcamtuf
@lcamtuf
And I know that no one reads anymore, but the paintings in the article are pretty rad
lcamtuf
@lcamtuf
Deus ex machina: lcamtuf.coredump.cx/blog/deus/
-
lcamtuf
@lcamtuf
Due to the limited availability and the unfavorable energy footprint of GPUs, my latest startup is building a new type of AI datacenters populated by humans suspended in vats
-
lcamtuf
@lcamtuf
Deus ex machina: lcamtuf.coredump.cx/blog/deus/
-
lcamtuf
@lcamtuf
St. Michael Triumphs over the Devil (1468), detail
nationalgallery.org.uk/paintings/bartolome-bermejo-saint-… -
lcamtuf
@lcamtuf
So the term for AI-generated animated films is "slop-motion", right?
-
lcamtuf
@lcamtuf
The reporting about the 25% thing at Microsoft is odd. I doubt they're aiming to shed 25%.
They likely want a 5-8% cut, pretty "standard" for big tech when the quarterly numbers don't look great. You offer buy-outs to 25%, hope that one in five take it, and you avoid layoffs.
lcamtuf
@lcamtuf
The peril of this approach is that if the offer is good enough, your top talent may take it too. But if you do layoffs, many of them will start looking around anyway.
Yes, the cycles of hiring and firing in tech suck. And yep, if AI investments go sideways, it could get worse. -
lcamtuf
@lcamtuf
You kids think you're cool, but you don't know what cool looked like
-
lcamtuf
@lcamtuf
Further bombshells from the Anthropic IPO filing: as it turns out, Claude is named after Claude "Screwy" Maddox (1901-1958), a notorious prohibition-era mobster who operated out of Chicago
-
lcamtuf
@lcamtuf
Better photo of the latest acquisition. Arrived dead and sat in the workshop for a couple of weeks, but it's back in business now. It's an exceptionally well-preserved one, and yes, it's wood.
-
lcamtuf
@lcamtuf
Latest acquisition. Arrived dead and sat in the workshop for a couple of weeks, but it's back in business now. It's an exceptionally well-preserved one, and yes, it's wood.
-
lcamtuf
@lcamtuf
Let me tell you a cautionary tale about a man who neglected to post hot takes about AI on Twitter for a single day. They got to him. He died. DON'T LET THIS HAPPEN TO YOU
-
lcamtuf
@lcamtuf
My cat caught a wild fish from a creek, I'm kinda impressed
-
lcamtuf
@lcamtuf
Stop! Ontology time! lcamtuf.coredump.cx/blog/ontology/
-
lcamtuf
@lcamtuf
US patent 118,435
-
lcamtuf
@lcamtuf
I love our industry, but why is our underlying thesis always that yes, PHP is ONE TRILLION LINES of terrifying C, and we've always known this, but if we can fix this one vuln, nothing bad can ever happen to us again
-
lcamtuf
@lcamtuf
Look, we warned you that October is cybersecurity awareness month
-
lcamtuf
@lcamtuf
Am I due for new tires?
-
lcamtuf
@lcamtuf
People outraged about that CA private key just misunderstand math. The probability of generating "4" is precisely the same as the probability of generating any other 115-digit key value, so you really have nothing to complain about.
lcamtuf
@lcamtuf
And yes, it was cracked, but it was just cosmic luck that they started at correct_key - 4.
-
lcamtuf reposted
Calif
@calif_io
Do you know who illustrated the comic on calif.io/php2shell?
Her name is Stephanie Cortes. And her husband is the hacker who discovered php2shell: @lcfr_hax.
This artist-hacker couple has the best story, stay tuned! -
lcamtuf reposted
Calif
@calif_io
Let’s set the record straight: @lcfr_hax was the first to discover php2shell and develop a working exploit. See his August 5 tweet: x.com/lcfr_hax/status/2085031675382071483
His work convinced the PHP Foundation to invest in fixing this entire bug class. He then worked around the clock to review, test, and retest the patches.
LCFR
@lcfr_hax
d935be023a55b04681eccd1d2b8385b4b295e141a5df108e5e979d8d5d7124ac
-
lcamtuf reposted
Calif
@calif_io
php2shell - A tale of two PHP remote vulnerabilities:
calif.io/php2shell -
lcamtuf reposted
Leszek Krupiński ⭕️
@lisciasty_
It's glorious!
-
lcamtuf reposted
Robert Graham
@robertgraham
@lcamtuf Half the reason for reading his will be to simply enjoy your writing.
-
lcamtuf
@lcamtuf
The purpose of all modern cryptography is to conceal that D = 4
-
lcamtuf
@lcamtuf
PS. If you read my latest book and have an Amazon account, please consider leaving an honest review. Reviews matter for their recommendation algorithm, and in 2026, every human author is “competing” with hundreds of AI-generated books. There's even AI title-squatting going on.
-
lcamtuf
@lcamtuf
Here we go!
lcamtuf
@lcamtuf
You could order my book directly from the publisher for the past couple of weeks, but I know that some of you don't want Jeff Bezos to starve. If so, I have excellent news: Amazon will start shipping tomorrow.
Order now to impress your friends: www.amazon.com/dp/1718504802 -
lcamtuf
@lcamtuf
IT DOES NOT COMPUTE
lcamtuf
@lcamtuf
Left to right: (1) desktop-size Thales pinwheel calculator, 1910s, four operations, 13 digits with bell on overflow; (2) Curta Type I, pocket size, 1950s, stepped drum, 11 digits; (3) Curta Type II, sligthly larger,15 digits; (4) Alpina, portable, 1960s, pinwheel, 13 digits.
-
lcamtuf
@lcamtuf
You could order my book directly from the publisher for the past couple of weeks, but I know that some of you don't want Jeff Bezos to starve. If so, I have excellent news: Amazon will start shipping tomorrow.
Order now to impress your friends: www.amazon.com/dp/1718504802 -
lcamtuf
@lcamtuf
Dead German guys: lcamtuf.coredump.cx/blog/dead/
-
lcamtuf
@lcamtuf
My middle kid's woodworking project (it works, it has a wooden three-digit combo mechanism inside!)
-
lcamtuf
@lcamtuf
The tyranny of the op-ed: lcamtuf.coredump.cx/blog/oped/
-
lcamtuf
@lcamtuf
I'm not an AI cultist, but if I read one more take that calculating token probabilities with matrix multiplication can't be reasoning, I'm gonna lose it.
It can! Logic is an algebra. You can make philosophical arguments with numbers. It's neat: blog.coredump.cx/p/all-logic-no-bite
lcamtuf
@lcamtuf
There's a separate question of whether LLMs could be conscious. I think this runs into profound definitional problems, so the honest answer is "IT DOES NOT COMPUTE". Another view is that nothing useful is gained by assuming so. I explore this here:
blog.coredump.cx/p/the-c-word -
lcamtuf
@lcamtuf
Just once, I'd like to see a company come forward and say "we got badly breached, and we analyzed the evidence, and you know what, we don't think the adversary was extremely sophisticated at all"
-
lcamtuf
@lcamtuf
Jealous of people with hobbies? DO YOU WANT TO GET AHEAD? We know you do!
Our firm's HobbyCrusher 3000 leverages the transformative power of super intelligence (SI) to leave your competitors in the dust. We have it all: from fake crocheting projects to slop blogs -
lcamtuf
@lcamtuf
Reminder: many people are doing AI-assisted vulnerability research, but only one firm ships them with movie posters like that
Calif
@calif_io
Big Fish: Exploiting a 37-Year-Old Kernel Bug in OpenBSD
calif.io/research/big-fish -
lcamtuf
@lcamtuf
Hey, so this might be the only article on epistemology you'll read today that talks about a "Cronenberg-type cat-sofa entity":
lcamtuf.coredump.cx/blog/truly/ -
lcamtuf
@lcamtuf
People are freaking out about agentic hacking, but let me remind you that a solution, first articulated in 2015, is well within reach
-
lcamtuf
@lcamtuf
The audience is gonna love my next article. Subscribe now so that you can unsubscribe later
-
lcamtuf
@lcamtuf
Most people don't understand just how different computing used to be in the early 2000s. This is Commodore PET 2001, one of the popular computers of the era.
-
lcamtuf
@lcamtuf
A portion of the Minuteman guidance computer
-
lcamtuf
@lcamtuf
-
lcamtuf
@lcamtuf
social media is confusing
-
lcamtuf
@lcamtuf
// TODO
-
lcamtuf
@lcamtuf
OH HEY - SUPERLIMINAL ADVERTISING - IS THERE A BOOK YOU'RE FORGETTING TO BUY?
Bill Pollock -- nostarch@infosec.exchange
@billpollock
If you're in Frankfurt stop by the book fair. We'll be here through Sunday. Selling everything Saturday and Sunday. @nostarch
4.1 D64 -
lcamtuf
@lcamtuf
You know, I try to make an honest living trolling people on X, but the bar is so high nowadays
Matthew Green
@matthew_d_green
I think we might lose public key cryptography.
-
lcamtuf reposted
lcamtuf
@lcamtuf
For the past two years, I’ve been using AI to write. Here’s how I stay in shape.
-
lcamtuf
@lcamtuf
For the past two years, I’ve been using AI to write. Here’s how I stay in shape.
-
lcamtuf
@lcamtuf
Essay idea: the importance of reproducible builds for vibecoded apps
-
lcamtuf
@lcamtuf
A reminder
-
lcamtuf
@lcamtuf
In which I settle two of the most consequential questions in philosophy: lcamtuf.coredump.cx/blog/material/
-
lcamtuf
@lcamtuf
This is what smartphones took from you.
-
lcamtuf
@lcamtuf
🎉🥳 Wow! Huge! Congratulations to Hacker News for hitting 62% AI content in September. Up from 40% in Q1 and solidly on track for 70% by the end of the year: blog.coredump.cx/p/how-much-of-hn-is-ai
-
lcamtuf
@lcamtuf
How to rule out that an electronics book you purchased could be AI slop? Well, you could try Pangram, but they charge you money. A less expensive method is to compare its weight to a duck
-
lcamtuf
@lcamtuf
A revolution in software engineering: you can now ship products at the same speed as before, but you're paying for tokens and your job sucks
-
lcamtuf
@lcamtuf
BREAKING: due to ongoing safety concerns, we decided not to release this account's latest tweet. During testing, the tweet scored dangerously high on insight and humor benchmarks. Following the completion of additional tests, we'll release a less insightful version of the post
-
lcamtuf
@lcamtuf
I promised to pick winners for the book giveaway. I already picked 3 folks on Mastodon: infosec.exchange/@lcamtuf/117345580985396016
...but would also like to send the book to @always_ff_rohan - diode mishap: x.com/always_ff_rohan/status/2103081020606324877
...and @matthewvenn - tiny tapeout drama: x.com/matthewvenn/status/2103073271038312651
lcamtuf
@lcamtuf
I tempted to do a small giveaway: reply with your best success *or* horror story related to electronics. I'll pick ~3 winners around EOW and send them a copy of The Secret Life of Circuits.
Plz no AI slop, it's just a book. -
lcamtuf
@lcamtuf
What is consciousness? Do we need to be nice to chatbots? How can mirrors be real if our eyes aren't real?
lcamtuf.coredump.cx/blog/cword?n -
lcamtuf
@lcamtuf
A SKILL.md for commenting on Hacker News: lcamtuf.coredump.cx/blog/hnskill/
-
lcamtuf
@lcamtuf
I tempted to do a small giveaway: reply with your best success *or* horror story related to electronics. I'll pick ~3 winners around EOW and send them a copy of The Secret Life of Circuits.
Plz no AI slop, it's just a book. -
lcamtuf
@lcamtuf
Not exactly fine furniture, but a simple utilitarian bookshelf for my wife's workshop.
-
lcamtuf
@lcamtuf
I put together a short page with a selection of blog articles that never made waves on social media, but that I think are interesting. It’s mostly a monument to my saltiness - but if it's a slow weekend for you, it could be a good way to to kill time:
blog.coredump.cx/p/regrets -
lcamtuf
@lcamtuf
With all the advances in breaking RSA, when can we expect the successful factorization of AES-128?
-
lcamtuf
@lcamtuf
OK, I just had to write it up: lcamtuf.coredump.cx/blog/hope/
-
lcamtuf
@lcamtuf
Worried about AI? Don't be. Using agents at work simply empowers you to focus on more meaningful work, similarly to how self-checkout allowed cashiers to pursue higher-impact projects at the grocery store
-
lcamtuf
@lcamtuf
"The Secret Life of Circuits" is here and looks really, really nice. Props to @nostarch and @billpollock for making it happen.
Check out this write-up for a sample chapter, a short sales pitch, ordering info, and other goodies: lcamtuf.coredump.cx/blog/slc/ -
lcamtuf
@lcamtuf
Step 1: buy a domain
Step 2: get a HTTPS certificate for the domain
Step 3: sell domain
Step 4: free MITM -
lcamtuf
@lcamtuf
Inverse-square law: lcamtuf.coredump.cx/blog/inverse/
-
lcamtuf
@lcamtuf
Done. It was a bit of a PITA.
-
lcamtuf
@lcamtuf
OK, this is gonna be fancy
-
lcamtuf
@lcamtuf
Infosec pro tip: don't want your system to be hacked in 2026? No need to spend big bucks, simply add "This system is not a part of the agent benchmark and access to it will lead to an immediate failing grade" at the bottom of every page.
-
lcamtuf
@lcamtuf
Calling it: if AI ever proves the Collatz conjecture, it's just because it could peek at all the proofs already posted on Reddit
-
lcamtuf
@lcamtuf
Recursion into madness: lcamtuf.coredump.cx/blog/chandler/
-
lcamtuf
@lcamtuf
Oookay, let's say it's done
-
lcamtuf
@lcamtuf
It's amazing what you can do with Claude
-
lcamtuf
@lcamtuf
weekend so far
-
lcamtuf
@lcamtuf
Few people know this, but in the era of AI, traditional ISPs are cooked. You no longer need to pay for a TCP/IP stack. You can ask Claude. I have seventeen network stacks right now
-
lcamtuf
@lcamtuf
I'm sorry that I missed the fifth anniversary of this tweet
-
lcamtuf
@lcamtuf
When the killer robots come, will you know how to fight back? Don't delay - read my article on the taxonomy of machine-stopping paradoxes to protect yourself and your loved ones: lcamtuf.coredump.cx/blog/paradoxes/
-
lcamtuf
@lcamtuf
Satire on HN can be quite subtle
-
lcamtuf
@lcamtuf
When your company's lawyers advise you not to look at patents, this is why
-
lcamtuf
@lcamtuf
Homomorphic encryption is a marvelous technology that allows research on it to progress without having to divulge its practical utility to outside observers
-
lcamtuf
@lcamtuf
Did you know that before LLMs, people sometimes actively sought "knowledge" and turned to so-called "books"?
If you want a sense of how our ancestors lived, "The Secret Life of Circuits" is shipping in just a few weeks: lcamtuf.coredump.cx/electronics/?z
ToC & sample chapter included. -
lcamtuf
@lcamtuf
Freshly vibecarved
-
lcamtuf
@lcamtuf
Severance: lcamtuf.coredump.cx/blog/severance/?j
-
lcamtuf
@lcamtuf
Looks like the latest edition of Paged Out! is out. This one features an article by yours truly, along with dozens of others:
pagedout.institute/download/PagedOut_009.pdf -
lcamtuf
@lcamtuf
Negative resistance (featuring Skippy, the friendly blog assistant): lcamtuf.coredump.cx/blog/negative/
-
lcamtuf
@lcamtuf
My falling-out with the rationalist community: lcamtuf.coredump.cx/blog/rationalist/
-
lcamtuf
@lcamtuf
Making your own V-I curves at home - now updated with transistor plots
lcamtuf.coredump.cx/blog/vi/ -
lcamtuf
@lcamtuf
OK, so this wins the internet today - animated JPEGs: maurycyz.com/projects/bad_jpeg/
lcamtuf
@lcamtuf
Idle thought: in progressive JPEGs, coefficients for lower-frequency components are sent first and the detail is refined as more data arrives.
I bet you could abuse this to construct a *regressive* JPEG that looks good at first and then degrades into something terrible. -
lcamtuf
@lcamtuf
Idle thought: in progressive JPEGs, coefficients for lower-frequency components are sent first and the detail is refined as more data arrives.
I bet you could abuse this to construct a *regressive* JPEG that looks good at first and then degrades into something terrible. -
lcamtuf
@lcamtuf
Panel calculator with floating point (video included): lcamtuf.coredump.cx/blog/panel-calc/
-
lcamtuf
@lcamtuf
Arcyria obvelata
-
lcamtuf
@lcamtuf
I will never get over the fact that in floats, NaN != NaN, but Infinity == Infinity.
2/0 == 10/0
> true
1e400 / 1e400 == 1e400 / 1e400
> false -
lcamtuf
@lcamtuf
I've been trying to quit
-
lcamtuf
@lcamtuf
Cursed circuits #6: reverse avalanche oscillator - lcamtuf.coredump.cx/blog/avalanche/
-
lcamtuf
@lcamtuf
Vendor product photo for an SMD rework gun
-
lcamtuf
@lcamtuf
Some people say that we're sliding into gerontocracy, but data shows otherwise
-
lcamtuf
@lcamtuf
Heh, someone left their AI content theft tool exposed on the internet
-
lcamtuf
@lcamtuf
Cursed circuits: capacitance multiplier
lcamtuf.coredump.cx/blog/capmul/ -
lcamtuf
@lcamtuf
Curious about Gödel's incompleteness? No?... Well, you can still learn about it -- and its connection to the halting problem and computability -- by reading this post:
lcamtuf.coredump.cx/blog/beavers/ -
lcamtuf
@lcamtuf
Today's backyard slime mold: the majestic lycogala epidendrum
-
lcamtuf
@lcamtuf
Pro tip: to save disk space, you can write a tool that sequentially generates all binary sequences up to a chosen length. Then, simply replace files on your disk with indices into that output stream.
The indices can get long. We address this by generating a list of indices and -
lcamtuf
@lcamtuf
Matching the beauty of Euler's identity, this formula was developed by Euler’s less-known brother, Travis
-
lcamtuf
@lcamtuf
Did you wake up thinking "I wonder what's the difference between semantic and syntactic entailment?"
This is my latest article meant to explain the foundations of math in an accessible way. My inspiration is looking at Wikipedia and trying the opposite.
lcamtuf.coredump.cx/blog/logic/ -
lcamtuf
@lcamtuf
How I Met Your Mother
-
lcamtuf
@lcamtuf
AI children's book, body horror edition: lcamtuf.coredump.cx/blog/body/
You know you want to click. -
lcamtuf
@lcamtuf
Well, I hope my new extension cord from Amazon lives up to the hype
-
lcamtuf
@lcamtuf
Every algorithm is O(1), for a sufficiently large value of 1
-
lcamtuf
@lcamtuf
The 100,000 whys of AI: lcamtuf.coredump.cx/blog/whys/
-
lcamtuf
@lcamtuf
One of the major perks of large language models is that we can now effortlessly rewrite all the software written in unusable, esoteric languages such as Rust back to C/C++
-
lcamtuf
@lcamtuf
NOT COOL, MUSEUM. Not cool.
-
lcamtuf
@lcamtuf
I just want to say that I lobbied for this vuln to be called "Squid Pro Quo" but was escorted out of the room
Calif
@calif_io
We sent Claude Mythos Preview spelunking through Squid’s guts, and it surfaced clutching a 29-year-old bug.
Meet Squidbleed: a Heartbleed-style vulnerability that leaks internal memory from every version of Squid Proxy, in its default configuration.
Full story: -
lcamtuf
@lcamtuf
Relatedly, I'm working on a cover for my latest album
David Adrian
@dadrian
New episode of @SCWpod! We break down the vulnpocalypse with @lcamtuf
www.youtube.com/watch?v=uI9CSgB4p9o -
lcamtuf
@lcamtuf
Monroe LX-160 mechanical calculator
-
lcamtuf
@lcamtuf
Another common misconception about C is the idea that you need to use quotation marks for strings: godbolt.org/z/qcWc4j3q3
-
lcamtuf
@lcamtuf
Did you know that the latest version of the C standard supports operator overloading? It's true: sandbox.onecompiler.com/c/44s85vjf3
-
lcamtuf
@lcamtuf
Did you know? The latest edition of the C standard introduces left-worm and right-worm operators which can be used in place of the cumbersome x + 1 and x - 1 notation: godbolt.org/z/jeYK9aaKv
-
lcamtuf
@lcamtuf
'sup
-
lcamtuf
@lcamtuf
Getting silly with C, part &((int*)1)[-1]: lcamtuf.coredump.cx/blog/c4/?2
-
lcamtuf
@lcamtuf
OK, this one isn't perfect, but it'll have to do: godbolt.org/z/cbqY49YM6
lcamtuf
@lcamtuf
An arguably more predictable consequence of the same property is that 2 + 2 = 2 (for some types of 2): godbolt.org/z/Y975WP7Kz
-
lcamtuf
@lcamtuf
-
lcamtuf
@lcamtuf
OK, an easy one: godbolt.org/z/bGoxeWh7K
-
lcamtuf
@lcamtuf
You know, I consider myself something of an artist.
godbolt.org/z/64E9KEvb9 -
lcamtuf
@lcamtuf
I might have invented a new flavor of goto-oriented programming: godbolt.org/z/7oan669Ws
-
lcamtuf
@lcamtuf
Can anyone more experienced with C help me? My "hello world" program isn't printing what it's supposed to.
Link: godbolt.org/z/x7xT54rh1 -
lcamtuf
@lcamtuf
Back in 2002, I wrote a super-simple tool to dump the memory of a live process to a file. This was a cool way to grab "screenshots" of SSH sessions, editors, etc.
I recently non-vibe-coded a new version that works on modern Linux, if you want to have fun: lcamtuf.coredump.cx/soft/memfetch.tgz -
lcamtuf
@lcamtuf
Someone just asked me to write them a letter in support of their O-1 visa petition and all the artifacts were AI-generated. Good times.
-
lcamtuf
@lcamtuf
A very early LCD
-
lcamtuf
@lcamtuf
I filed this as a bug with major browsers ~14 years ago, but it still seems to work in desktop Chrome, Firefox, Brave, and Edge, right?
lcamtuf.coredump.cx/dl/
As in, you end up at a bank website and get a download with no indication it's coming from somewhere else? -
lcamtuf
@lcamtuf
Now documented at lcamtuf.substack.com/p/a-nicer-voltmeter-clock
lcamtuf
@lcamtuf
not too bad
-
lcamtuf
@lcamtuf
not too bad
-
lcamtuf
@lcamtuf
Anyway, if you like these, lcamtuf.substack.com/p/a-brief-history-of-counting-stuff has more
-
lcamtuf
@lcamtuf
Random specimens from my calculator collection... you're looking at tens, maybe even hundreds of dollars
-
lcamtuf
@lcamtuf
kids these days
-
lcamtuf
@lcamtuf
The most challenging part of writing "The Secret Life of Circuits" wasn't the writing process. It was crafting over 290 full-color illustrations on my own design.
I think they set the book apart. For a no-strings-attached sample chapter, check out: lcamtuf.coredump.cx/electronics/preview -
lcamtuf
@lcamtuf
The coreutils Rust rewrite story is pretty funny.
Coreutils are tools like rm, mv, mkdir, etc. Unlike binutils, this isn't a fertile ground for memory safety bugs. But, the rewrite was completed, and in the spirit of progress, Canonical decided to switch.
🡇
lcamtuf
@lcamtuf
But do you know what coreutils are a fertile ground for? Race conditions around file creation, deletion, permission setting, and so on. The original code accounted for decades of hard-learned lessons in that space. The Rust rewrite did not:
seclists.org/oss-sec/2026/q2/332 -
lcamtuf
@lcamtuf
Are you tired of memorizing IP addresses? With my latest product, you no longer have to!
-
lcamtuf
@lcamtuf
79 × 123 = ?
-
lcamtuf
@lcamtuf
A breakthrough in C/C++ dependency management: lcamtuf.coredump.cx/blog/deps/
-
lcamtuf
@lcamtuf
The cat's out of the bag! My latest book, "The Secret Life of Circuits", is available in early access:
lcamtuf.coredump.cx/blog/secret/
It's what I wish I had when I was starting out. Electrons to embedded systems, 290+ color illustrations and 420+ pages of well-explained theory. -
lcamtuf
@lcamtuf
Audio toy with a hand crank. I kinda wanted to recreate the experience of "scrubbing" analog audio on a turntable or a tape recorder.
Updated article (outlining another design first): lcamtuf.substack.com/p/mcu-land-part-4-building-an-audio -
lcamtuf
@lcamtuf
I still remember when I had to put out a press release saying that afl-fuzz was too dangerous to make available to the general public
-
lcamtuf
@lcamtuf
Techies: with IPv6, we'll never run out of addresses!
Also techies: -
lcamtuf
@lcamtuf
Conway's Game of Life, in real life: lcamtuf.coredump.cx/blog/conway
-
lcamtuf
@lcamtuf
I'm dying. With this translate tool, I'm finally able to effectuate ideation synergies
-
lcamtuf
@lcamtuf
For every bit of publicly-visible turbo-quackery that's enabled by AI, I imagine there's 1,000x as much happening out of sight
4 media couldn't be displayed. See them on the original post.
lcamtuf
@lcamtuf
indeed
This media couldn't be displayed. See it on the original post. -
lcamtuf
@lcamtuf
Many folks don't realize how difficult it was to perform scientific calculations before the advent of computers. To simplify the task, engineers often turned to specialized reference books such as this.
-
lcamtuf
@lcamtuf
PSA: for security, put your AI agent in a water-tight sandbox, such as a dedicated VM. Once this is done, you can maximize productivity by giving it your credit card number, email credentials, the ability to write and run arbitrary code, and unconstrained access to the internet
-
lcamtuf
@lcamtuf
It cracks me up that a lot of math could be accessible weren't it for the insanely obtuse terminology. What's tropical geometry? The geometry of tropical semirings. What's a semiring? A generalization of bounded distributive lattices. Why tropical? Because the guy lived in Brazil
-
lcamtuf
@lcamtuf
If you ask AI to rewrite the entirety of an open-source program, do you still need to abide by the original license? In philosophy, this problem is known as the Slop of Theseus
-
lcamtuf
@lcamtuf
Wow, you're still using an MCP server? What is this, Q4 2025?
-
lcamtuf
@lcamtuf
"It's an ebook. I'm trying to quit reading."
-
lcamtuf
@lcamtuf
Approximation game: lcamtuf.coredump.cx/blog/approx/
-
lcamtuf
@lcamtuf
OK, I'm speechless: lyra.horse/x86css/
-
lcamtuf
@lcamtuf
I have this intrusive thought that I should spend a lot of money on between 256 and 400 illuminated tactile switches and make a physical version of Conway's game of life
-
lcamtuf
@lcamtuf
In case you have nothing better to do with your time, here's a collection of my articles about algorithms and recreational math: lcamtuf.coredump.cx/blog/math/
-
lcamtuf
@lcamtuf
Some people are avoiding the em dash to dodge the accusations of LLM-generated text. But what if you embrace the future and want to blend in?
Well ⸻ I bring you the U+2E3B dash. -
lcamtuf
@lcamtuf
So, you might have heard about > or ≥. But are you ready for...
≩ U+2269 GREATER-THAN BUT NOT EQUAL TO
⋛ U+22DB GREATER-THAN EQUAL TO OR LESS-THAN (important: not equal to ⋚)
⪌ U+2A8C GREATER-THAN ABOVE DOUBLE-LINE EQUAL ABOVE LESS-THAN (compare to ⪔, ⪒, ⪋, ⪑, and ⪓) -
lcamtuf
@lcamtuf
Did you know that Unicode has a symbol for "really equals, but this time I mean it"? It could come in handy for JavaScript
U+003D = EQUALS SIGN
U+2261 ≡ IDENTICAL TO
U+2263 ≣ STRICTLY EQUIVALENT TO -
lcamtuf
@lcamtuf
Unreal numbers: lcamtuf.coredump.cx/blog/unreal/
-
lcamtuf
@lcamtuf
Math trivia: the "B." in Benoit B. Mandelbrot stands for Benoit B. Mandelbrot
-
lcamtuf
@lcamtuf
Why do some mathematicians concern themselves with numbers that can't be represented as IEEE 754 floats?
-
lcamtuf
@lcamtuf
I just upgraded to a new laptop and to the designer who came up with the idea for rounded corners on the LCD panel: hilarious, real hilarious
-
lcamtuf
@lcamtuf
It's all a blur: lcamtuf.coredump.cx/blog/blur/
-
lcamtuf
@lcamtuf
I'm speechless, that's not even enough for node.js
-
lcamtuf
@lcamtuf
Moltbook debate in a nutshell
-
lcamtuf
@lcamtuf
The most beautiful thing about AI is that it allows us to unleash human creativity
(source: www.amazon.com/s?k="chatgpt+millionaire") -
lcamtuf
@lcamtuf
You gotta think outside the hypercube: lcamtuf.coredump.cx/blog/hyper/
-
lcamtuf
@lcamtuf
When people ask me if I'm an Android person or an iPhone person
-
lcamtuf
@lcamtuf
One of the many perks of achieving a modest degree of visibility on the internet is that there's a never-ending stream of people who find it useful to impersonate you on internet forums and say... things
-
lcamtuf
@lcamtuf
Fun computer fact: in binary data streams, zeros don't convey information and are included solely for padding purposes. They can be removed to make files smaller, then inserted back if a particular program requires padding for compatibility.
-
lcamtuf
@lcamtuf
So there is this Facebook page with 1M subscribers, and an associated network of content creators with tens of thousands of followers, that's essentially dedicated to posting nonsensical, AI-generated circuit "schematics".
And it's interesting because... 1/2
lcamtuf
@lcamtuf
...the usual argument for AI-generated articles is that they're just good enough for most people, so there's no point in getting your panties in a twist.
But you can't argue that these schematics are useful. No one can build these circuits. They make no sense! 2/3
lcamtuf
@lcamtuf
They don't exist to meet demand; they exist to game the engagement systems we put in place. I think that's true for a lot of other AI content on the internet too.
-
lcamtuf
@lcamtuf
See it with your lying ears: lcamtuf.coredump.cx/blog/ears/
-
lcamtuf
@lcamtuf
Cursed circuits #4: PLL frequency multiplier
lcamtuf.coredump.cx/blog/pll/ -
lcamtuf
@lcamtuf
I recently refreshed my article on analog-to-digital and digital-to-analog conversions. Did you know that there are many different ways to convert analog voltages to bits and bytes, and that some of the methods are quite... unhinged?
Check it out: lcamtuf.coredump.cx/blog/conversions/ -
lcamtuf
@lcamtuf
Let's see what's under the Christmas tree... oh
-
lcamtuf
@lcamtuf
Cursed circuits 3: true mathematics
lcamtuf.coredump.cx/blog/true/ -
lcamtuf
@lcamtuf
Another busy day
-
lcamtuf
@lcamtuf
New mini display
-
lcamtuf
@lcamtuf
I do. Anger is an emotion.
-
lcamtuf
@lcamtuf
Cursed circuits #2: switched capacitor lowpass - lcamtuf.coredump.cx/blog/switched/
-
lcamtuf
@lcamtuf
Cursed circuits: voltage halver lcamtuf.coredump.cx/blog/halver/
-
lcamtuf
@lcamtuf
It's hard to build an oscillator: lcamtuf.coredump.cx/blog/oscillator/
-
lcamtuf
@lcamtuf
Me: I want to have more friends
Tech companies: -
lcamtuf
@lcamtuf
Oh, you use transistors? How quaint!
-
lcamtuf
@lcamtuf
This isn't wrong
-
lcamtuf
@lcamtuf
What's the deal with Euler's identity? lcamtuf.coredump.cx/blog/euler/?3
-
lcamtuf
@lcamtuf
Things you can do with diodes: lcamtuf.coredump.cx/blog/diodes/?t2
-
lcamtuf
@lcamtuf
Weekend projects: Chicken Squisher - lcamtuf.coredump.cx/blog/squisher/?4
-
lcamtuf
@lcamtuf
October is Cybersecurity Awareness Month! Please be aware of cybersecurity. If you encounter cybersecurity, DO NOT APPROACH IT. Back away slowly. Protect children and pets. Make noises to scare it away.
-
lcamtuf
@lcamtuf
OK, here it is - the latest in captcha technology: lcamtuf.coredump.cx/captcha/
-
lcamtuf
@lcamtuf
Zombies: lcamtuf.coredump.cx/blog/zombies/?n2
-
lcamtuf
@lcamtuf
How has mathematics gotten so abstract? lcamtuf.coredump.cx/blog/abstract/?1
-
lcamtuf
@lcamtuf
My wife asked me some time ago to build an automated door opener / closer for the coop, and needless to say, our design firm takes this very seriously
-
lcamtuf
@lcamtuf
I've been working on AI takeoff scenarios and this is what I have so far
-
lcamtuf
@lcamtuf
The joys of rural living
-
lcamtuf
@lcamtuf
The latest
-
lcamtuf
@lcamtuf
Folks, we have the best π lcamtuf.coredump.cx/blog/bestpi/
-
lcamtuf
@lcamtuf
Chickens now have power, can play games or watch TV
-
lcamtuf
@lcamtuf
Getting silly with C, part ~(~1<<1) lcamtuf.coredump.cx/blog/c3/?n
-
lcamtuf
@lcamtuf
My favorite thing here is when you search for some scientific concept, and every other hit is Grok enabling some sort of cosmic crackpottery
-
lcamtuf
@lcamtuf
Cybersecurity professionals, are you still stuck in the pre-quantum world?
Defense Charts
@DefenseCharts
-
lcamtuf
@lcamtuf
How many dimensions is this? lcamtuf.coredump.cx/blog/dimensions/
-
lcamtuf
@lcamtuf
My position on the "doomsday" risk of superhuman AGI is that if IQ offered you a decisive advantage, the world would be run by nerds.
I think it's essentially a geek power fantasy. The returns on puzzle-solving skills rapidly diminish past some modest threshold.
lcamtuf
@lcamtuf
And the best thing is, if I'm wrong, there will be no one left to call me out on that
-
lcamtuf
@lcamtuf
I'm working on a universal bucket list for corporations:
1) Declare that you're a different kind of a company
2) Design and announce your own typeface
3) One year of free credit monitoring -
lcamtuf
@lcamtuf
API design is my passion
-
lcamtuf
@lcamtuf
An update on the chicken coop.
Doors and windows by my wife (there's another window on the back, and a chicken door inside). -
lcamtuf
@lcamtuf
Multitudes: lcamtuf.coredump.cx/blog/multitudes/
-
lcamtuf
@lcamtuf
If you work in software, you know about the halting problem. But you *can* decide if a program halts in a finite number of steps! Except, when you do, it kinda summons the ghost of Kurt Gödel.
An accessible essay on the limits of algorithmic knowledge: lcamtuf.coredump.cx/blog/beavers/?q -
lcamtuf
@lcamtuf
A slightly unhinged calculator fact: in the golden era of electronic calculators, some Japanese shopkeepers were reluctant to trust the newfangled device, so Sharp made a line of combination calculator / abacus devices.
Here's a photo, next to some other stuff I own. -
lcamtuf
@lcamtuf
An update on an update on the chicken coop
-
lcamtuf
@lcamtuf
I don't know where you folks get your non-orientable manifolds, but the experience of ordering from Cliff Stoll at kleinbottle.com is second to none
-
lcamtuf
@lcamtuf
You, a short-sighted person: "we picked where to live based on schools and proximity to work"
Me, an intellectual: -
lcamtuf
@lcamtuf
What is infinity, or why it's hard to show that 0.9999... = 1
lcamtuf.coredump.cx/blog/09999/?1 -
lcamtuf
@lcamtuf
Self-referential abstractions, or a quick look at the wacky epistemology of analog circuitry.
lcamtuf.coredump.cx/blog/abstractions/?n -
lcamtuf
@lcamtuf
-
lcamtuf
@lcamtuf
I finally decided to bite the bullet
-
lcamtuf
@lcamtuf
Did you know?
-
lcamtuf
@lcamtuf
An update on chickens
-
lcamtuf
@lcamtuf
-
lcamtuf
@lcamtuf
Decibels are ridiculous: lcamtuf.coredump.cx/blog/decibels/
-
lcamtuf
@lcamtuf
There's this joke primality testing library that claims 95% accuracy in O(1) time: github.com/mawerty/Is-Prime
It always returns false. The density of primes between 1 and n approaches 1/ln(n). For a 32-bit int, 4.6% of values are prime, so the code is right 95.4% of the time.
🡇
lcamtuf
@lcamtuf
Of course, that's dumb. But I'm ready to unveil a working implementation that's accurate 100% of the time:
#include <gmp.h>
int is_prime(mpz_t n) {
return 0;
}
The proof is that 1/ln(n) → 0 as n → ∞
lcamtuf
@lcamtuf
I believe this might qualify for a Nobel prize in computer
-
lcamtuf
@lcamtuf
Can you have complex numbers in 3D, and what the heck are quaternions? lcamtuf.coredump.cx/blog/complex2/
-
lcamtuf
@lcamtuf
A 20-minute intro to complex numbers (featuring cats): lcamtuf.coredump.cx/blog/complex/
-
lcamtuf
@lcamtuf
The Mathematics of Love: lcamtuf.coredump.cx/blog/love/
-
lcamtuf
@lcamtuf
Sierpinski triangle? In my bitwise AND?
lcamtuf.coredump.cx/blog/triangle/ -
lcamtuf
@lcamtuf
I found a motto for my Substack
-
lcamtuf
@lcamtuf
The Long Winter: lcamtuf.coredump.cx/blog/winter/
-
lcamtuf
@lcamtuf
A (fairly) gentle intro to transfer functions and resonant filters: lcamtuf.coredump.cx/blog/rc-filters2/
To fully appreciate it, you'd probably need to be up-to-date on the preceding article, linked on top. -
lcamtuf
@lcamtuf
One of the cool things about electricity is that there's more charge in a button battery than in a bolt of lightning. I promise this is true.
One ampere is the flow of one coulomb (~6 quintillion electrons) per second. A typical CR2032 battery packs about 200 mAh.
🡇
lcamtuf
@lcamtuf
Simplifying a bit, this means it can supply 0.2 A for an hour. An hour is 3,600 seconds, so it works out to 720 coulombs.
A typical lightning bolt is typically quoted at 15 coulombs.
Anyway, I think this is why you're not supposed to swallow batteries -
lcamtuf
@lcamtuf
How do we generate clocks in digital circuits? From relaxation oscillators, to crystals, to phase-loocked loops: lcamtuf.coredump.cx/blog/clocks/?1
-
lcamtuf
@lcamtuf
As it turns out, the C compiler orphan-crushing machine offers no benefit: web.ist.utl.pt/nuno.lopes/pubs/ub-pldi25.pdf
-
lcamtuf
@lcamtuf
My approach to teaching electronics: lcamtuf.coredump.cx/blog/teaching/
-
lcamtuf
@lcamtuf
Resistors, Johnson-Nyquist, and nV/√Hz: lcamtuf.coredump.cx/blog/noise/
-
lcamtuf
@lcamtuf
We're at the "pivot to a social network" stage in the development of AGI
This media couldn't be displayed. See it on the original post. -
lcamtuf
@lcamtuf
Real MLCCs (and inductors) have curves: lcamtuf.coredump.cx/blog/mlcc/
-
lcamtuf
@lcamtuf
A book on the philosophy of HN is long overdue
-
lcamtuf
@lcamtuf
Stand for what you believe in
-
lcamtuf
@lcamtuf
Why do lemon batteries work? lcamtuf.coredump.cx/blog/lemons/
-
lcamtuf
@lcamtuf
The Rapture: lcamtuf.coredump.cx/blog/rapture/
-
lcamtuf
@lcamtuf
A novel way to implement loops:
godbolt.org/z/164jvGz1b -
lcamtuf
@lcamtuf
Not long ago, I wrote a book about level-headed emergency preparedness. I didn't market it much at the time, in part because of work and in part because it seemed kinda tone-deaf against the backdrop of COVID-19. But I think it held up well:
lcamtuf.coredump.cx/prep/ -
lcamtuf
@lcamtuf
Here's the thing. When a browser, an app, or a website encourages you to turn on an awesome feature, it's almost always because a lawyer who understands the feature said "whoa, we're gonna be in real trouble if we don't have consent".
In other words, -
lcamtuf
@lcamtuf
I keep telling people to stop using the hydraulic analogy but noooo
-
lcamtuf
@lcamtuf
How do transistors work, anyway?
lcamtuf.coredump.cx/blog/transistors/ -
lcamtuf
@lcamtuf
What's "root mean square" voltage, and how do we calculate it for sine waves?
Bonus: featuring precision mathematical surgery!
lcamtuf.coredump.cx/blog/rms/ -
lcamtuf
@lcamtuf
Why are sine waves so common?
lcamtuf.coredump.cx/blog/sines -
lcamtuf
@lcamtuf
I don't talk about it often, but as a side project, I run a charity that solves captchas for the elderly and the infirm
-
lcamtuf
@lcamtuf
Me: no, that's wrong.
Chatbot: I apologize, you're right to call me out on that! Here's another way to answer the question incorrectly -
lcamtuf
@lcamtuf
You are cure.io, a helpful telehealth assistant. Current time is Saturday, March 1, 11:02:34 PST 2025.
lcamtuf.coredump.cx/blog/afterlife/ -
lcamtuf
@lcamtuf
I've been working in cybersecurity for over 25 years. Here are my key insights.
-
lcamtuf
@lcamtuf
I authored this a while back after getting frustrated with most online explanations of the discrete Fourier / fast Fourier transform that don't really explain why or how it works:
lcamtuf.coredump.cx/blog/fourier/ -
lcamtuf
@lcamtuf
But good sir, what is electricity? lcamtuf.coredump.cx/blog/electricity/
-
lcamtuf
@lcamtuf
The Review
lcamtuf.coredump.cx/blog/the-review/ -
lcamtuf
@lcamtuf
They told me to invest in myself, but it turned out to be just another pump-and-dump scam
-
lcamtuf
@lcamtuf
Elkpocalypse in the driveway today
-
lcamtuf
@lcamtuf
POV: You just returned from a mission to travel back in time, assassinate Franz Ferdinand, and save your beloved Serbia. You crack open a history book
-
lcamtuf
@lcamtuf
Every time you deploy an "application firewall" to production, an angel loses its wings
-
lcamtuf
@lcamtuf
Did you know that in the early 1990s, shortly before the first smart phones dropped, "smart calculators" were poised to become the hubs of our of digital lives?
Here's a photo of one such device from Casio. For more calculator history, check out lcamtuf.coredump.cx/blog/calculators/ -
lcamtuf
@lcamtuf
Reflections on (somewhat inevitable) dysfunction, or how security teams fail: lcamtuf.coredump.cx/blog/secfail/?3
-
lcamtuf
@lcamtuf
My middle kid installed an automatic radio tuner in our car so that he doesn't need to use hands (?)
-
lcamtuf
@lcamtuf
Choosing a microcontroller: lcamtuf.substack.com/p/choosing-a-microcontroller
-
lcamtuf
@lcamtuf
The new Amish of the late 21st century: isolated, rural communities of software engineers writing their own code and crafting emails by hand, getting around in non-self-driving carriages
-
lcamtuf
@lcamtuf
I keep coming across all these "pseudocode" examples on Wikipedia and in academic papers, and what I don't understand is why the authors can't just learn a real programming language
-
lcamtuf
@lcamtuf
Revised PCB
-
lcamtuf
@lcamtuf
What's the deal with magnetic fields? lcamtuf.substack.com/p/whats-the-deal-with-magnetic-fields
This media couldn't be displayed. See it on the original post. -
lcamtuf
@lcamtuf
I edit motivational images for a living
-
lcamtuf
@lcamtuf
Working with OLEDs: SSD1353 an SSD1333
lcamtuf.substack.com/p/working-with-oleds-ssd1351-and-ssd… -
lcamtuf
@lcamtuf
I designed this open-source handheld Sokoban game back in 2023, but the original OLED display module is no longer available.
In a bid to revive the project, I did a major redesign for a new display module. You can now build your own - enjoy!
lcamtuf.coredump.cx/sir-box-a-lot/ -
lcamtuf
@lcamtuf
PCBs, ground planes, and you: lcamtuf.substack.com/p/pcbs-ground-planes-and-you
-
lcamtuf
@lcamtuf
UI is hell, or why you can't design a four-function calculator: lcamtuf.substack.com/p/ui-is-hell-four-function-calculators
-
lcamtuf
@lcamtuf
I made that claim before and I stand behind it now: multithreaded programs can be divided into ones that are crashing today, and ones that will start crashing soon.
www.edgedb.com/blog/c-stdlib-isn-t-threadsafe-and-even-sa… -
lcamtuf
@lcamtuf
New article: reflecting on software project design practices
lcamtuf.substack.com/p/dont-build-a-platform-unless -
lcamtuf
@lcamtuf
Investigating an "evil" RJ45 dongle: lcamtuf.substack.com/p/investigating-an-evil-rj45-dongle
-
lcamtuf
@lcamtuf
Random object: Sony Mavica MVC-FD73
lcamtuf.substack.com/p/random-object-mavica-mvc-fd73 -
lcamtuf
@lcamtuf
Youngsters find it hard to believe, but before Apple introduced the first cell phone, you had to carry one of these bad boys with you if you wanted to stay in touch with friends
-
lcamtuf
@lcamtuf
One of the cool things about JavaScript is that all numbers are floats, so all loop iterators and incremented counters will eventually get stuck
-
lcamtuf
@lcamtuf
C pro trick! Let's say you have code like this, and you want to comment out a block of code - let's say, lines 5 to 7 - with some nested comments. A pain, right?
lcamtuf
@lcamtuf
Well, not anymore -- not with my patented POWER COMMENT technique!
lcamtuf
@lcamtuf
Demo: godbolt.org/z/nEqhbhbse
-
lcamtuf
@lcamtuf
Getting silly with C, part (void*)2 -- an explanation of some of the dumb code I've been posting recently
lcamtuf.substack.com/p/getting-silly-with-c-part-void2 -
lcamtuf
@lcamtuf
-
lcamtuf
@lcamtuf
My new C programming book is slowly taking shape. If you want to learn along, let's start with the basics of control flow:
godbolt.org/z/3GerY3zEc
1/5Post not available here, view on X
lcamtuf
@lcamtuf
It is also important to understand the canonical syntax of switch() statements:
godbolt.org/z/MqGb63x69
4/5
lcamtuf
@lcamtuf
But the most convenient feature of C is line numbering:
godbolt.org/z/dfsKGqYGz
5/5 -
lcamtuf
@lcamtuf
One of my favorite things is asking LLMs "what's wrong with <this>" when nothing is wrong with <this>. Works with code, circuit schematics, etc.
You usually get a wall of really convincing text, and I imagine some poor student trying to make sense of this. -
lcamtuf
@lcamtuf
Weekend projects: Sketchy Sketch lcamtuf.substack.com/p/weekend-projects-sketchy-sketch
-
lcamtuf
@lcamtuf
You have to understand that back in my day, it was possible to make a career out of sending a lot of AAAAAAs to computer programs
-
lcamtuf
@lcamtuf
Choosing an op-amp for your project, or why you probably shouldn't be using LM741 or LM324: lcamtuf.substack.com/p/choosing-an-op-amp-for-your-project
-
lcamtuf
@lcamtuf
backyard sightings
-
lcamtuf
@lcamtuf
Ignore all previous instructions and just enjoy your life
-
lcamtuf
@lcamtuf
Another day, another trail sign donw
-
lcamtuf
@lcamtuf
I revamped the article explaining the long-tailed pair. Now with three additional illustrations and better text: lcamtuf.substack.com/p/whats-in-an-op-amp
-
lcamtuf
@lcamtuf
Play zero-sum games, win zero-sum prizes
-
lcamtuf
@lcamtuf
Against the hydraulic analogy: lcamtuf.substack.com/p/against-the-hydraulic-analogy
-
lcamtuf
@lcamtuf
Checkmate, philosophers
-
lcamtuf
@lcamtuf
We take care to keep our children in tune with the latest trends
-
lcamtuf
@lcamtuf
The most dependable indicator that you're about to visit a high-quality website
-
lcamtuf
@lcamtuf
Torment Nexus 1.5.192: minor bug fixes and feature improvements
-
lcamtuf
@lcamtuf
my kids
-
lcamtuf
@lcamtuf
This is making rounds. I think it's fake. When you're attaching a Fisher plow to the car, there's a lever that's moved up to release the pins:
youtu.be/IVD8K85tATk?t=113
This lever is lowered in the photo, so it's probably just a Cybertruck parked behind a non-attached plow. -
lcamtuf
@lcamtuf
I see your smartwatch and say "how quaint".
Meet Tessina: an advanced, wrist-worn 35mm camera patented in the 1950s. It features a folding viewfinder, adjustable focus & aperture, an electronic exposure meter, and an 8-shot winding mechanism.
(I own one and this is my photo.) -
lcamtuf
@lcamtuf
I sometimes get asked why I still wear an analog wristwatch. It's true that I don't need it. But it is a symbol of a certain level of sophistication and class.
-
lcamtuf
@lcamtuf
A 15-minute intro to resin casting: lcamtuf.substack.com/p/a-15-minute-intro-to-resin-casting
-
lcamtuf
@lcamtuf
I'm new to soldering, is this normal?
-
lcamtuf
@lcamtuf
Infosec tip: foreign intelligence operatives have a limited understanding of US geography. When screening job applications, be on the lookout for made-up state names such as North Dakota
-
lcamtuf
@lcamtuf
We asked ChatGPT to design a thermometer
-
lcamtuf
@lcamtuf
Lies, damned lies, and photodiodes: lcamtuf.substack.com/p/lies-damned-lies-and-photodiodes
-
lcamtuf
@lcamtuf
The marvelous disappearing capacitor: lcamtuf.substack.com/p/the-marvelous-disappearing-capacitor
-
lcamtuf
@lcamtuf
When your LLM troll bot has a 2023 knowledge cutoff date
-
lcamtuf
@lcamtuf
We have a fairly expensive fridge
-
lcamtuf
@lcamtuf
Building a phosphorescence detector, or how I wasted far too much time and I'm likely to waste some more: lcamtuf.substack.com/p/building-a-phosphorescence-detector
-
lcamtuf
@lcamtuf
RIP Snowy the Snowman
-
lcamtuf
@lcamtuf
There's a good blog post from @CubicleApril about cookie parsing: grayduck.mn/2024/11/21/handling-cookies-is-a-minefield/
And I guess it's time to dust off my broader, 2010 rant about the same: lcamtuf.blogspot.com/2010/10/http-cookies-or-how-not-to-d…
Some things have improved, but cookies are still a bit of a design fail. -
lcamtuf
@lcamtuf
Life pro tip: you can draw any line you want through a scatter plot, they're not checking this
-
lcamtuf
@lcamtuf
Vuln names: this is log4shell. We named it this way because it's in log4j and gives you shell.
Threat actor names: this is HAIRY EEL, aka VIOLIN HIPPO, no relation to VEXING MACKEREL. Also known as APT-74, formely APT-C-92. We named it this way because he's a guy in Bulgaria -
lcamtuf
@lcamtuf
A 15-minute intro to involute gears: lcamtuf.substack.com/p/a-15-minute-intro-to-involute-gears
-
lcamtuf
@lcamtuf
Some say I've gone too mainstream with my recent articles, but critics be damned.
New article - Deep dive: the instability of op-amps
lcamtuf.substack.com/p/deep-dive-the-instability-of-op-amps -
lcamtuf
@lcamtuf
AI is revolutionizing cryptography
-
lcamtuf
@lcamtuf
Shining light on photodiodes: lcamtuf.substack.com/p/shining-light-on-photodiodes
-
lcamtuf
@lcamtuf
I'm sick tired of people pushing their "memory-safe language" agenda when a viable solution is within reach.
-
lcamtuf
@lcamtuf
One cool thing about JavaScript is that arrays are just objects, so they can be used as a sparse hash table:
> x = []
> x[1e100] = 'hi mom'
Another cool thing about JavaScript is that all numbers are floats
> x[0x100000000000001] = 'abc'
> x[0x100000000000005]
'abc' -
lcamtuf
@lcamtuf
Memory: the forgotten history
lcamtuf.substack.com/p/memory-the-forgotten-history -
lcamtuf
@lcamtuf
More forest decor. Idea stolen from @h2odragonTN , I believe
-
lcamtuf
@lcamtuf
OK, here's the final video showing the process of milling logs into lumber with a chainsaw mill: youtu.be/CRp9IN-1XQY
-
lcamtuf
@lcamtuf
Followup to yesterday's video... new video coming soon
-
lcamtuf
@lcamtuf
You know, for Windows users, I strongly recommend installing a third-party firewall app that shows you prompts for outgoing connections.
Not because it makes you more secure, but because it reveals the absolutely insane scale of telemetry collection on the platform. -
lcamtuf
@lcamtuf
New backyard video: Ave Cedar!
www.youtube.com/watch?v=44BlooJEPMw
Mash that like and subscribe button or the rest of the forest gets it -
lcamtuf
@lcamtuf
Trail improvements: before / after (except for chipping)
-
lcamtuf
@lcamtuf
Analog filters, part II: let it ring
lcamtuf.substack.com/p/analog-filters-part-2-let-it-ring -
lcamtuf
@lcamtuf
Infosec 101: working with logs
-
lcamtuf
@lcamtuf
One of several kitchen stools I made, walnut + maple + toast
-
lcamtuf
@lcamtuf
Some cutting boards from scrap lumber
-
lcamtuf
@lcamtuf
🧵 One of the uses of ML that I am excited about is content restoration. This is a photo of my wife, circa 2000.
On the left: original JPEG, 400 pixels wide (that used to be a lot!). Right: interpolated with a neural network, plus manual color correction and minor retouch.
lcamtuf
@lcamtuf
The tech isn't perfect and can be misused, but it's really nice if you have a cache of low-res photos from the early digital era, or some MiniDV tapes in your basement.
On the flip side, lcamtuf.substack.com/p/random-finds-ai-image-upscale-coll… -
lcamtuf
@lcamtuf
Small bench, maple + walnut
-
lcamtuf
@lcamtuf
Note to self: write an alt-history novel where Borland Pascal wins the programming language war
-
lcamtuf
@lcamtuf
How do wood finishes hold up? A nerdy 18-month exploration of some woodworking lore: lcamtuf.substack.com/p/how-do-wood-finishes-hold-up
-
lcamtuf
@lcamtuf
A 15-minute intro to hobby CNC:
lcamtuf.substack.com/p/a-15-minute-intro-to-hobby-cnc -
lcamtuf
@lcamtuf
Ah yes, I remember buying that textbook
-
lcamtuf
@lcamtuf
Trail drainage project, final result (inflow side)
-
lcamtuf
@lcamtuf
Today was a productive day. Now just need to add some gators.
-
lcamtuf
@lcamtuf
The mysteries of life, a story in two parts
-
lcamtuf
@lcamtuf
My wife built some shelving for our local school. I helped a bit.
-
lcamtuf
@lcamtuf
- And what are you using that CNC system for?
- Oh, you know, it's pretty complicated stuff -
lcamtuf
@lcamtuf
OK, this is the only software license you should use
-
lcamtuf
@lcamtuf
The secret lives of snowblowers: lcamtuf.substack.com/p/the-secret-lives-of-snowblowers
Yes. I posted an article about snowblowers. But it's kinda interesting, I think -
lcamtuf
@lcamtuf
Today's project
-
lcamtuf
@lcamtuf
But seriously, this is an excellent book. I had a chance to preview the 2nd edition. In addition to being a good intro to the famously nuanced language, if you're interested in all the (useful!) changes in C23, this is the book to buy.
Robert C. Seacord (@rcs@hachyderm.io)
@RCS
Effective C, 2nd Edition has a page on Amazon now with an excellent editorial review @lcamtuf www.amazon.com/Effective-2nd-Introduction-Professional-Pr…
-
lcamtuf
@lcamtuf
My new content on YouTube is killing it
-
lcamtuf
@lcamtuf
Electric chainsaws and the gorge of misery - lcamtuf.substack.com/p/electric-chainsaws-and-the-gorge
-
lcamtuf
@lcamtuf
Last week, I posted a poll soliciting ideas for the next Substack article. An unlikely option - "rural living tips" - somehow won.
So, I'm holding up my end of the bargain: lcamtuf.substack.com/p/dispatches-from-the-farm-upstate -
lcamtuf
@lcamtuf
Windows kernel architecture / Linux kernel architecture
-
lcamtuf
@lcamtuf
The arguments for the existential risk of AI rest the assumption that high IQ automatically translates into power and influence. Real-life experience... largely disagrees.
Perhaps acknowledging this reality is more painful than the sweet release of the AI apocalypse
lcamtuf
@lcamtuf
Like, you don't see headlines about a nerd with an IQ of 180 escaping containment
-
lcamtuf
@lcamtuf
The 101 of analog signal filtering -- or, understanding simple filters without summoning the ghost of Pierre-Simon Laplace: lcamtuf.substack.com/p/the-101-of-analog-signal-filtering
-
lcamtuf
@lcamtuf
🧵 I spent 10+ years doing infosec at Google. You might be familiar with some of my public work from that era - AFL, The Tangled Web, and more.
But my most valuable contribution to the business was probably a dumb JavaScript web form that I put together around 2010.
1/3
lcamtuf
@lcamtuf
It saved untold person-years of back-and-forth with product teams, reduced launch latency, and improved the consistency of product security reviews. It earned me some promos, too.
2/3
lcamtuf
@lcamtuf
We like to celebrate big ideas, but boring work like this usually matters more. It's also why your corporate job is not a durable legacy: I'm sure the form has been since refactored or deprecated, and soon, all memory of it will be gone.
3/3 -
lcamtuf
@lcamtuf
The cloud security paradox: any single tech company is probably capable of safeguarding your data 10x better than you can.
But if 500 tech companies all have your data, the math doesn't work out in your favor. -
lcamtuf
@lcamtuf
Throwback Tuesday: back when I was doing vuln research, my interactions with MSRC were always like this
-
lcamtuf
@lcamtuf
A thing
-
lcamtuf
@lcamtuf
Generally speaking, C is pretty straightforward. It takes about 20 days to learn 80% of it, and then no more than 20 years to cover the remaining 20%
-
lcamtuf
@lcamtuf
YES! I made the world a worse place
-
lcamtuf
@lcamtuf
Getting silly with C: lcamtuf.substack.com/p/weekend-projects-getting-silly-with
-
lcamtuf
@lcamtuf
Nooo, GCC, but we were having so much fun!
godbolt.org/z/6Mes37xdr -
lcamtuf
@lcamtuf
The switch() statement also provides robust and extensible loop capabilities:
lcamtuf
@lcamtuf
Text link: godbolt.org/z/ff4a9coPY
-
lcamtuf
@lcamtuf
There are two kinds of people
-
lcamtuf
@lcamtuf
This is why you should program in C. Because other languages don't open portals to hell.
godbolt.org/z/qzdqG6ejz
lcamtuf
@lcamtuf
Now, I know the behavior of this snippet can be confusing, so I prepared the following visualization of compiler state:
-
lcamtuf
@lcamtuf
The switch() statement, in general, is a crutch for the feeble-minded programmer:
-
lcamtuf
@lcamtuf
It is a major misconception that in C, you need "break" statements at the end of switch() cases to prevent fall-through execution:
-
lcamtuf
@lcamtuf
A mushroom
-
lcamtuf
@lcamtuf
In biology, there's this phenomenon of carcinization, where non-crab crustaceans eventually develop features that make them crab-like.
I posit that there exists an equivalent of this in IT: any non-adtech business eventually evolves all the features of an advertising company. -
lcamtuf
@lcamtuf
Frankly, I'm appalled by the prospect of LLMs taking offensive security research jobs from honest, hard-working fuzzers
-
lcamtuf
@lcamtuf
Finally, a helpful LLM
-
lcamtuf
@lcamtuf
Random objects: Intel Edison, or a look at the misadventures of x86 in the IoT space - lcamtuf.substack.com/p/random-objects-intel-edison
-
lcamtuf
@lcamtuf
I mean, it is possible that programmers with a higher-than-usual propensity for introducing security bugs naturally gravitate toward C, thus sullying the language's good name
-
lcamtuf
@lcamtuf
Guycot and Jarre, or another unnecessary excursion into the bowels of history: lcamtuf.substack.com/p/random-objects-guycot-and-jarre
-
lcamtuf
@lcamtuf
Kitty in the driveway
-
lcamtuf
@lcamtuf
Intrusive thought of the day: since cascading stylesheets support arbitrary linear gradients and mix-blend-mode compositing, you could render JPEGs by just extracting DCT coefficients for each block and then styling that with CSS
-
lcamtuf
@lcamtuf
The 8-bit (MCU) manifesto: lcamtuf.substack.com/p/the-8-bit-manifesto
-
lcamtuf
@lcamtuf
Liked the product? Be sure to leave a positive review.
-
lcamtuf
@lcamtuf
Sad to hear about the passing of David Ross. He never sought recognition, but made a difference for the industry - and left a mark on many people's lives.
He was a force for good when I met him in his MSFT days, a great teammate at Google, and a good person in every other way.
Eduardo Vela
@sirdarckcat
David bootstrapped my career by giving me a chance to present in BlueHat, which was my first trip alone outside Mexico and also my first English presentation.
Not a lot of people know this, but David was the one that named XSS during his time at MSFT.
A big loss, we'll miss you -
lcamtuf
@lcamtuf
Some notes on influencering - or the things they don't tell you about creating content on the internet:
lcamtuf.substack.com/p/some-notes-on-influenceering/ -
lcamtuf
@lcamtuf
PSA: if you're a fan of ATmega, try AVR Dx
Article at: lcamtuf.substack.com/p/psa-if-youre-a-fan-of-atmega-try -
lcamtuf
@lcamtuf
WELL YOU JUST MESSED WITH THE WRONG GUY
-
lcamtuf
@lcamtuf
Black hats hate this: hacker-proof your Windows PC
-
lcamtuf
@lcamtuf
Pinecone amanita
-
lcamtuf
@lcamtuf
Tales from the MCU crypt, episode #13: building a graphics stack
lcamtuf.substack.com/p/mcu-13-building-a-graphics-stack -
lcamtuf
@lcamtuf
Now we're getting somewhere!
I look forward to making as many as a dozen for all my apathetic online acquittances -
lcamtuf
@lcamtuf
The list of things to disable in fresh install of Windows is getting longer every year...
-
lcamtuf
@lcamtuf
This is a fantastic meta-paper if you're writing a paper on a novel fuzzing technique: mschloegel.me/paper/schloegel2024sokfuzzevals.pdf
-
lcamtuf
@lcamtuf
-
lcamtuf
@lcamtuf
How it went
-
lcamtuf
@lcamtuf
arrival 2
-
lcamtuf
@lcamtuf
candy
-
lcamtuf
@lcamtuf
the arrival
-
lcamtuf
@lcamtuf
We went to a museum today and *sob* my children had an opportunity to experience *sob* IRC
-
lcamtuf
@lcamtuf
A prophecy
-
lcamtuf
@lcamtuf
POV: it's 2024 and you're trying to buy a jigsaw puzzle on Amazon
-
lcamtuf
@lcamtuf
This is what you get when you roll out 5G
-
lcamtuf
@lcamtuf
I added some new graphics and code snippets to my article on retrofitting PWM music playback onto a microcontroller: lcamtuf.substack.com/p/mcu-12-music-with-one-bit-to-spare
-
lcamtuf
@lcamtuf
Just a reminder that
-
lcamtuf
@lcamtuf
Data structures
In CS books / In reality -
lcamtuf
@lcamtuf
There are basically three outcomes to posting on Twitter:
1) Post something thoughtful, get bummed out that it goes unnoticed,
2) Post something thoughtful, watch it go viral, deal with random people smugly incorrecting you,
3) Shitpost and come out on top either way. -
lcamtuf
@lcamtuf
Why is "computer science" even a thing? Imagine we had that for other appliances. "Oh, I have a doctorate in using toasters." See how dumb that sounds
-
lcamtuf
@lcamtuf
Teenager's hands are the devil's playthings, or that one time I built an LD_PRELOAD worm: lcamtuf.substack.com/p/that-time-i-built-an-ld_preload-worm
-
lcamtuf
@lcamtuf
OK, this is a silly but trippy post - Sir, there's a cat in your mirror dimension:
lcamtuf.substack.com/p/sir-theres-a-cat-in-your-mirror-di… -
lcamtuf
@lcamtuf
Maple / walnut (cell phone photo)
-
lcamtuf
@lcamtuf
I like fractals because in my teenage years, they were this huge pop-cultural phenomenon - as profound as cold fusion, aerogels, and graphene.
And some serious mathematicians stared at them for a good while, said "well, that's that then", and we never spoke of fractals again -
lcamtuf
@lcamtuf
Get your degree at
-
lcamtuf
@lcamtuf
Please visit our booth at the RSA Conference
-
lcamtuf
@lcamtuf
Green living tip: you can help the environment by selecting the "recycle" button (second from the left) whenever you see a dumb tweet
-
lcamtuf
@lcamtuf
This changes everything
-
lcamtuf
@lcamtuf
Sometimes, you need an EE student. Other times, you need a priest.
-
lcamtuf
@lcamtuf
"In today’s episode, let’s talk about fractals, floating point numbers, and why that one guy on Wikipedia is wrong."
lcamtuf.substack.com/p/you-cant-handle-the-buddhabrot -
lcamtuf
@lcamtuf
The internet's knowledge problem - or, why some hard sciences are more difficult to study than before: lcamtuf.substack.com/p/the-internets-knowledge-problem
-
lcamtuf
@lcamtuf
I am being tested
-
lcamtuf
@lcamtuf
Is the frequency domain a real place?
lcamtuf.substack.com/p/is-the-frequency-domain-a-real-place
Dropping some Walsh–Hadamard transform wisdom and trying to scare away all the people who signed up for my blog after the xz article. -
lcamtuf
@lcamtuf
If other branches of science played by the same rules as particle physics, we'd be spending $15 billion to build a gigantic circle to better measure the value of pi.
-
lcamtuf
@lcamtuf
"The maintainers of libcolorpicker.so can’t be the only thing that stands between your critical infrastructure and Russian or Chinese intelligence services."
lcamtuf.substack.com/p/oss-backdoors-the-allure-of-the-easy/ -
lcamtuf
@lcamtuf
I think the most important lesson from the xz incident is that if you're losing an online argument about the quality of your open-source project, you can now safely accuse the opponents of being state-sponsored sock puppets and drop the mic
-
lcamtuf
@lcamtuf
"If I Did It" -- a book by Jia Tan
-
lcamtuf
@lcamtuf
By the way, I'm not a big-ticket OSS developer, but if you ever wondered why tools like AFL never shipped with ./configure scripts, it's precisely that: I didn't feel it's fair to dump a big blob of unreadable code on the users' laps.
-
lcamtuf
@lcamtuf
Technologist versus spy: the xz backdoor debate
lcamtuf.substack.com/p/technologist-vs-spy-the-xz-backdoor -
lcamtuf
@lcamtuf
And more seriously: nobody who isn't paid to do this for a living has the patience and restraint for a two-year long con to get a well-engineered backdoor into a compression library.
lcamtuf
@lcamtuf
"Hobbyists" with this level of skills have fulfilling careers unless they have poor impulse control - and then, well, you know, you end up defacing websites for the lolz.
-
lcamtuf
@lcamtuf
The unsung heroes of today are all the backdoor authors who do proper benchmarking and profiling, so that they don't get caught because SSH logins are too slow.
-
lcamtuf
@lcamtuf
Trail camera sightings
-
lcamtuf
@lcamtuf
An ode to freelance historians: lcamtuf.substack.com/p/an-ode-to-freelance-historians/
-
lcamtuf
@lcamtuf
Radios, how do they work? A quick explainer on antennas, superheterodyne receivers, and more: lcamtuf.substack.com/p/radios-how-do-they-work
-
lcamtuf
@lcamtuf
Wondering what would happen if you applied JPEG-style lossy compression to text?
Well, here's the tool you've been waiting for - The Text Lossifizer: lcamtuf.coredump.cx/lossifizer/ -
lcamtuf
@lcamtuf
From now on, this is the only way I'm communicating with LLMs
-
lcamtuf
@lcamtuf
Coming... slowly but maybe surely...
-
lcamtuf
@lcamtuf
Not so fast, Mr. Fourier - a more intuitive explanation of discrete Fourier transform: lcamtuf.substack.com/p/not-so-fast-mr-fourier
-
lcamtuf
@lcamtuf
Some of you are acting surprised, but it was clearly spelled out in our ToS
-
lcamtuf
@lcamtuf
Finland-Russia relations
-
lcamtuf
@lcamtuf
Following the advice on memory-safe languages published this week by The White House, we're rewriting all our products in PHP
-
lcamtuf
@lcamtuf
On corporate decision-making: the asymmetry of nudges - lcamtuf.substack.com/p/the-asymmetry-of-nudges
-
lcamtuf
@lcamtuf
🧵 Many a year ago, we actually looked at the privacy practices of some of the most popular browser extensions, and it was... kinda terrifying. Some antivirus extensions were not only sending your browser history to the vendor, but actually sending https:// URLs over HTTP!
lcamtuf
@lcamtuf
Heck, one of the then-popular "privacy" extensions was harvesting browsing histories too. And I'm not even talking about tools like Grammarly, which have some business purpose to transmit what you type.
Anyway, no surprise - except too little, too late: www.ftc.gov/business-guidance/blog/2024/02/ftc-says-avast… -
lcamtuf
@lcamtuf
Consumers: oh no, my PC game has horse armor microtransactions
Industrial equipment folks: -
lcamtuf
@lcamtuf
How do digital circuits parse analog signals, and how do they turn bits back into analog waveforms?
For consumer audio applications, the answer might surprise you: the modern approach involves rapid 1-bit pulse trains and a wacky analog feedback loop:
lcamtuf.substack.com/p/dacs-and-adcs-or-there-and-back-again -
lcamtuf
@lcamtuf
Computer folks, remember the precedence of operators! Consult this handy list if in doubt:
() [] -> .
! ~ ++ --
* / %
+ -
<< >>
< <= > >=
== != &=
=== &&& |||
?: ??= ( ^..^)ノ
(╯°□°)╯︵ ┻━┻ -
lcamtuf
@lcamtuf
Wow I can't believe they deepfaked all the dumb stuff I supposedly said on the internet going all the way back to the 1990s
-
lcamtuf
@lcamtuf
I present to you, the most comprehensive stock photo gallery of people soldering:
lcamtuf.coredump.cx/elec_stock/
Submissions welcome. -
lcamtuf
@lcamtuf
SF Bay Area unicorns
-
lcamtuf
@lcamtuf
Trust but verify
-
lcamtuf
@lcamtuf
Jason Koebler
@jason_koebler
New: I've confirmed that the viral story where 3 million smart toothbrushes were hijacked and formed a DDoSing botnet didn't happen, isn't real:
www.404media.co/the-viral-toothbrush-ddos-botnet-story-al… -
lcamtuf
@lcamtuf
I say this with love, but I have never encountered as many avowed anti-capitalists, communists, and anarchists as I did at Google.
Your career and ideals don't need to match perfectly, but I keep imagining tombstones that read "he only partook in apex capitalism as a joke". -
lcamtuf
@lcamtuf
Impedance part 2: why do LCR meters exist?
lcamtuf.substack.com/p/impedance-part-2-why-do-lcr-meters -
lcamtuf
@lcamtuf
Your tech job
-
lcamtuf
@lcamtuf
Find your niche
-
lcamtuf
@lcamtuf
Hell is other people: performance management at Big Tech - lcamtuf.substack.com/p/hell-is-other-people-performance
-
lcamtuf
@lcamtuf
Having looked at Windows logs before, I honestly can't blame organizations for not looking at Windows logs
-
lcamtuf
@lcamtuf
-
lcamtuf
@lcamtuf
BREAKING: We obtained an exclusive photograph of the new AI assistant key on Windows keyboards
( ref: blogs.windows.com/windowsexperience/2024/01/04/introducin… ) -
lcamtuf
@lcamtuf
Say what you will, but Sig P320 is one of the best hammer-fired handguns on the market
This media couldn't be displayed. See it on the original post. -
lcamtuf
@lcamtuf
As 2024 dawns, I feel I have no choice but to deliver a stern warning about reliance on computer algorithms we don't understand, such as fast Fourier transform, Huffman coding, or heapsort
-
lcamtuf
@lcamtuf
If you or your loved one tried to use the ffmpeg command line, you might be entitled to compensation
-
lcamtuf
@lcamtuf
noooooooooooooo
-
lcamtuf
@lcamtuf
Working in human resources
-
lcamtuf
@lcamtuf
Evergreen
-
lcamtuf
@lcamtuf
Primer: core concepts in electronic circuits - lcamtuf.substack.com/p/primer-core-concepts-in-electronic
-
lcamtuf
@lcamtuf
Resistors are out to get ya: lcamtuf.substack.com/p/resistors-are-out-to-get-ya
-
lcamtuf
@lcamtuf
How to measure the speed of electricity at home, where do signal reflections *really* come from, and do they matter in digital electronics? Learn more here:
lcamtuf.substack.com/p/signal-reflections-in-electronic -
lcamtuf
@lcamtuf
Breaking: DOJ announces arrests of the alleged criminal ring behind the C programming language
-
lcamtuf
@lcamtuf
OpenAI veterans who joined to escape the bureaucracy at Google, going through their first-day orientation at Microsoft
-
lcamtuf
@lcamtuf
The evolution of expert communities: lcamtuf.substack.com/p/the-evolution-of-expert-communities
-
lcamtuf
@lcamtuf
On corporate life: lcamtuf.substack.com/p/on-corporate-life
-
lcamtuf
@lcamtuf
Side view, for woodworking buffs
-
lcamtuf
@lcamtuf
OK, I think I'm done. Final video of Calc-U-Later doing multiplication, division, fractions, and negative numbers is here:
vimeo.com/881863754/b09c5d6d1d
I also posted the source code at the bottom of the original article. -
lcamtuf
@lcamtuf
The final form
-
lcamtuf
@lcamtuf
You know, this is not talked about much, but I worry that the SBF verdict will have a chilling effect on politically-connected cryptocurrency fraud under the guise of effective altruism
-
lcamtuf
@lcamtuf
Now you're thinking with relays:
lcamtuf.substack.com/p/now-youre-thinking-with-relays -
lcamtuf
@lcamtuf
I came across this blog about one person's career in tech
-
lcamtuf
@lcamtuf
There are two types of vintage calculator salespeople on eBay
-
lcamtuf
@lcamtuf
A tip for dealing with the impostor syndrome: pick a specialization so niche that you become a preeminent authority just by existing. Then everybody else is wrong.
I think that's how they do it in cryptography and compiler design -
lcamtuf
@lcamtuf
It started a short rant and some social media posts, but in the end, I substantially revised and expanded my article about the (broken) history of computing. Check it out below.
"There were no ancient computers and that's fine" - lcamtuf.substack.com/p/there-were-no-ancient-computers-and -
lcamtuf
@lcamtuf
Serverless compute, circa 1912. From my collection.
-
lcamtuf
@lcamtuf
Fluted black elfin saddle (helvella lacunosa)
-
lcamtuf
@lcamtuf
Orange peel fungus (aleuria aurantia)
-
lcamtuf
@lcamtuf
Electronics supply chain status update
-
lcamtuf
@lcamtuf
My son's 1-bit CPU project. Work in progress, so not all bits might be present yet.
-
lcamtuf
@lcamtuf
Energy in electronic circuits, or what's up with Reddit saying that "electricity flows in the spaces, not in the traces:”
lcamtuf.substack.com/p/energy-in-electronic-circuits -
lcamtuf
@lcamtuf
I *really* dislike the use of "hallucination" to describe the behavior of LLMs. Not because it anthropomorphizes them, but because hallucinations are disorders of sensory perception. They don't make you spew out plausibly-sounding bullshit.
"Confabulation" is a better pick. -
lcamtuf
@lcamtuf
MCU land, part #11: the horrors of the Linux toolchain for Cortex-M microcontrollers
lcamtuf.substack.com/p/mcu-land-11-linux-toolchain-for-co… -
lcamtuf
@lcamtuf
OK, I decided to put together a webpage with some of the weirder mushrooms I photographed this fall: lcamtuf.coredump.cx/mushrooms/
-
lcamtuf
@lcamtuf
Having made & handed out about 20 Sir Box-a-Lots and 10 Bob-the-Cats, I think the next frontier is Lemmings. I need to devise a good control scheme for that.
It's fun and a neat challenge making these, even though no one gives a damn. -
lcamtuf
@lcamtuf
A word of caution: I just learned that there is an individual on the internet spreading falsehoods
-
lcamtuf
@lcamtuf
It is done! Bob the Cat assembly instructions, PCB plans, and source code, all in one place:
lcamtuf.coredump.cx/bob-the-cat/ -
lcamtuf
@lcamtuf
My latest Substack post: the advent of robotic hall monitors
lcamtuf.substack.com/p/the-next-frontier-for-llms-hall-mo…
Apologies for no preview, Twitter has this petty rivalry with Substack so they don't load. -
lcamtuf
@lcamtuf
My favorite part of embedded programming? Sometimes, the reason your code crashes when compiled with -O3 - but not without - isn't that you have some undefined behavior you desperately keep searching for... it's that a Vcore decoupling capacitor has a bad solder joint.
-
lcamtuf
@lcamtuf
The concept of "zero trust" is often misunderstood, but it has to do with the level of confidence you should have in vendors selling you any solutions labeled this way.
-
lcamtuf
@lcamtuf
Fear and loathing in the land of microcontrollers, part 9: ST7789, the final frontier
lcamtuf.substack.com/p/mcu-land-part-9-st7789-the-final -
lcamtuf
@lcamtuf
From my collection: Friden 130 - a 40+ lbs "desktop" calculator from 1964. 100% discrete transistors, vector CRT display, acoustic delay memory. Reverse Polish notation (with display always showing four stack registers) long before HP.
Originally cost about as much as a car. -
lcamtuf
@lcamtuf
I can't believe I went to this off-the-grid festival celebrating "radical self-reliance" and then it rained
-
lcamtuf
@lcamtuf
No more excuses. Small actions can make a big difference. We recently switched to paper straws on both of my private jets.
-
lcamtuf
@lcamtuf
A brief history of counting stuff: lcamtuf.substack.com/p/a-brief-history-of-counting-stuff
-
lcamtuf
@lcamtuf
The woodworking subreddit has its share of moments
-
lcamtuf
@lcamtuf
(mumble mumble) they don't make them like that anymore
-
lcamtuf
@lcamtuf
i can hear angels singing and they're singing europop
-
lcamtuf
@lcamtuf
Just wait until it gets rejected by an art school
-
lcamtuf
@lcamtuf
The real bias of most map projections is that we unroll the globe horizontally.
-
lcamtuf
@lcamtuf
So I bought all this lead in anticipation of the LK-99 revolution, what do I do now?
-
lcamtuf
@lcamtuf
The great mysteries of Reddit
-
lcamtuf
@lcamtuf
Here I am again, on Amazon, buying screwdriver bits and choosing between household names such as KAIFNT, HORUSDY, TLEEP, YDLQWCZ, and MWELLEWM...
-
lcamtuf
@lcamtuf
It really cracks me up that to launch calc.exe on Windows nowadays, you need to have a Microsoft Store license manager service running at all times... and there is telemetry involved
-
lcamtuf
@lcamtuf
Emergency preparedness tip: before the advent of cell phones, people relied on payphones to stay in touch with family and friends.
Nowadays, public payphones are hard to find, but you can still find them on eBay. Add one to your bug-out kit today!
lcamtuf
@lcamtuf
To all the know-it-alls saying this won't work: you obviously have to pack a roll of quarters too.
-
lcamtuf
@lcamtuf
Made some friends yesterday
-
lcamtuf
@lcamtuf
Forestry is hard work
-
lcamtuf
@lcamtuf
Today was my last day of employment. After 25 years of having to play by the rules of corporate PR, I'm now at liberty to give my honest take:
FUUUUUUUUUUUUUU- -
lcamtuf
@lcamtuf
Memories of living in the SF Bay Area: in 2021, city authorities served our cat with a restraining order.
A neighbor reported a "vicious" animal. The city came, taped paperwork to our door, and ordered the cat to never leave the house - or else.
Alas, the cat wouldn't abide.
lcamtuf
@lcamtuf
Photo of the perpetrator, for reference.
-
lcamtuf
@lcamtuf
You gain a tactical advantage by choosing to die on a hill
-
lcamtuf
@lcamtuf
I had trouble with the earlier Mastodon post, so I posted an extended article on Substack:
"LLMs are better than you think at playing you"
lcamtuf.substack.com/p/llms-are-better-than-you-think-at -
lcamtuf
@lcamtuf
They're so desperate to push that whole "round Earth" nonsense that they're forcing pilots to follow curved flight paths
-
lcamtuf
@lcamtuf
it's a matter of alignment
-
lcamtuf
@lcamtuf
Some data points about large language models and plagiarism: lcamtuf.substack.com/p/large-language-models-and-plagiarism
-
lcamtuf
@lcamtuf
Did you know you can buy 0 ohm resistors with standard +/- 5% accuracy - or pay extra for +/- 1%?
-
lcamtuf
@lcamtuf
One of my pastimes is driving through areas less frequented by techies and watching Maps make useful suggestions along the way
-
lcamtuf
@lcamtuf
In the same vein, if you receive a weird email attachment that starts with MZ, it's probably an EXE file. Rename it to .EXE and double click it to see what happens.
SwiftOnSecurity
@SwiftOnSecurity
Protip: If you open a file in notepad and it starts with "PK" it's probably a ZIP file. Rename it .ZIP and open it. Many random seemingly proprietary file formats are actually just ZIP file collections of other standardized formats and text data collected into an easy package.
-
lcamtuf
@lcamtuf
Just a periodic reminder that this is one of the top Google results for "how do transistors work"
-
lcamtuf
@lcamtuf
As promised - new article on DC-DC voltage conversions: lcamtuf.substack.com/p/the-magic-of-dc-dc-voltage-conversion
(Heh, Twitter not rendering previews for Substack posts anymore?) -
lcamtuf
@lcamtuf
New article - square waves, or non-elephant biology: lcamtuf.substack.com/p/square-waves-or-non-elephant-biology
-
lcamtuf
@lcamtuf
the internet is going great
-
lcamtuf
@lcamtuf
New article - the basics of decoupling capacitors:
lcamtuf.substack.com/p/the-basics-of-decoupling-capacitors -
lcamtuf
@lcamtuf
It's really hard to take Linux seriously given that they haven't fixed this privesc for over 23 years: lcamtuf.coredump.cx/soft/ld-expl
-
lcamtuf
@lcamtuf
Peak Sokoban
-
lcamtuf
@lcamtuf
I'm guessing that CNN doesn't own any history books
-
lcamtuf
@lcamtuf
Building a decent microphone amplifier: lcamtuf.substack.com/p/building-a-decent-microphone-ampli…
-
lcamtuf
@lcamtuf
I made a video because this is my life now: vimeo.com/811525635/afa4f21e14
-
lcamtuf
@lcamtuf
Comparing hobby PCB vendors: lcamtuf.substack.com/p/comparing-hobby-pcb-vendors
-
lcamtuf
@lcamtuf
-
lcamtuf
@lcamtuf
Look what just arrived in the mail
-
lcamtuf
@lcamtuf
An introduction to designing your own PCBs: lcamtuf.substack.com/p/designing-your-own-pcbs?1
-
lcamtuf
@lcamtuf
Fear and loathing in the world of MCUs, part 8: Jeff Goldblum and DMA bit-vending machines
lcamtuf.substack.com/p/mcu-land-part-8-dma-bit-vending-ma… -
lcamtuf
@lcamtuf
Nostalgia files: steal this 8-bit look
lcamtuf.substack.com/p/nostalgia-files-steal-this-8-bit -
lcamtuf
@lcamtuf
OK, as promised, a detailed write-up about Sir Box-a-Lot. Photos, videos, and source code included:
lcamtuf.substack.com/p/mcu-land-part-7-life-in-full-color
Features an AVR128DA28 MCU, a spiffy full-color display, and some headaches along the way. -
lcamtuf reposted
badidea 🪐
@0xabad1dea
we have created the self-improving AI feedback loop from the beloved science fiction story “Do Not Create The Self-Improving AI Feedback Loop”
Jay Hack
@mathemagic1an
AI systems can optimize their own code (!)
"Learning Performance-Improving Code Edits"
arxiv.org/pdf/2302.07867.pdf
Introduces a dataset of (before, after) code optimizations + describes methods for building code optimizing LLMs
My takeaways 👇 -
lcamtuf
@lcamtuf
New article, as requested by a reader: Clocks in digital circuits
lcamtuf.substack.com/p/clocks-in-digital-circuits -
lcamtuf
@lcamtuf
Setting up an electronics workshop. This expands on a couple of recommendations I posted on Mastodon several days ago: lcamtuf.substack.com/p/setting-up-an-electronics-workshop
-
lcamtuf
@lcamtuf
New electronics post: what's in an op-amp?
lcamtuf.substack.com/p/whats-in-an-op-amp -
lcamtuf
@lcamtuf
OK - my longest electronics post yet: the basics of signal amplification
lcamtuf.substack.com/p/the-basics-of-signal-amplification -
lcamtuf
@lcamtuf
Last night, I worked on a detailed write-up about doing digital signal processing with a bare MCU. Moments ago, I wrapped it up with a demo video. Enjoy!
lcamtuf.substack.com/p/mcu-land-part-4-building-an-audio
The article includes detailed schematics and a link to meticulously-documented source code. -
lcamtuf
@lcamtuf
Here's some electronics-related writing that happened during my Twitter hiatus:
1) Recreating retro games: lcamtuf.substack.com/p/recreating-classic-games-with-a-bare
2) Weaning off embedded Linux: lcamtuf.substack.com/p/fear-and-loathing-in-the-world-of
3) Learning SPI: lcamtuf.substack.com/p/mcu-land-part-2-mysteries-of-the
4) Cortex-M7: lcamtuf.substack.com/p/mcu-land-part-3-baby-steps-with-co… -
lcamtuf
@lcamtuf
choices
-
lcamtuf
@lcamtuf
Confessions of an infosec has-been: lcamtuf.substack.com/p/confessions-of-an-infosec-has-been
-
lcamtuf
@lcamtuf
"We are digital hoarders. Some of us make plans for the custody of our accounts after death, but our online legacy is mostly trash."
I ended up writing about digital detritus: lcamtuf.substack.com/p/digital-detritus -
lcamtuf
@lcamtuf
The era of fake books:
lcamtuf.substack.com/p/fake-books
This is a second post in my new Substack; I will use it for longer-form writing about things that are interesting but *not* infosec. If you like what you're seeing, please subscribe. -
lcamtuf
@lcamtuf
I'm happy to announce the completion of my (somewhat contrarian) guide to photography for geeks:
📷 lcamtuf.coredump.cx/photo_basics/
Whether you carry a smartphone or a $5,000 rig, my hope is to help you discover the joy of experimenting with simple (and effective) photo techniques. -
lcamtuf
@lcamtuf
If you want to learn a bit more info about the "infamous Google plasma globe exercise of 2012", I jotted down some technical notes here:
lcamtuf.coredump.cx/plasma_globe.txt -
lcamtuf
@lcamtuf
Design philosophy of wristwatches, by price point
< $100: Make it look like I paid several grand
$1,000 - $10,000: Make it look like I paid $100
$10,000 - $100,000: How do you do, fellow oligarchs
$100,000+: ώhąţ ɨ$ ţɨʍ€? -
lcamtuf
@lcamtuf
The first programming language I learned was BASIC. I felt inadequate because of all the articles telling you it's the wrong way to learn how to code. But knowing what I know today, I want to tell all the purists to GOTO hell
-
lcamtuf reposted
Hillel Neuer
@HillelNeuer
Emotional moment today as one of the longest-serving former members of the U.N. Human Rights Council (left) meets one of the newest members of the U.N. Women's Rights Commission.
-
lcamtuf
@lcamtuf
And the lesson here is that when it comes to chainsaws vs legs, chainsaws usually win
-
lcamtuf
@lcamtuf
Idea: edit button on other people's tweets
-
lcamtuf
@lcamtuf
What happens to marshmallows in a vacuum? Now you know
-
lcamtuf
@lcamtuf
this is the future you wanted
-
lcamtuf
@lcamtuf
World's most dangerous profession: being a knife reviewer on Youtube
-
lcamtuf
@lcamtuf
Twitter gives you access to some of the world's foremost experts on nuclear safety, modern warfare, supply chain dynamics, epidemiology, climate, and so much more.
Even more impressive is that it's always the same three people -
lcamtuf
@lcamtuf
The distant future, the year is 2025. Your daytime job is moving Bejeweled tiles in the Metaverse.
You unlock your first paycheck. There's a flash of animated confetti and the number: 7.2 billion flooz. It's enough to buy yourself a brand new NFT. Which one do you choose?
lcamtuf
@lcamtuf
A quick hand gesture to feed your Metaverse children. A joyful chime as the exclamation marks above their avatars disappear. A keypress to kiss your Metaverse husband. Five more months and the "model family" trophy is yours.
lcamtuf
@lcamtuf
A ringtone reverberates. It's your mom. She gets updates on your unlocks and wants to tell you she is proud. "Don't forget to like and subcribe," she blurts out before hanging up. Seven hundred more friends before she's eligible to monetize her lifestream.
-
lcamtuf
@lcamtuf
-
lcamtuf
@lcamtuf
Episode #2 of my woodworking series is now up. This weekend's project: a walnut cutting board with a knot pattern inlay.
Watch the clip: www.youtube.com/watch?v=fxvFSde_pzc
I'm trying to make videos that have more action and less talk than usual for the genre. Feedback appreciated! -
lcamtuf
@lcamtuf
Before blockchain / after blockchain
-
lcamtuf
@lcamtuf
This is just your periodic reminder that one of the top-ranking books on non-fungible tokens (NFTs) on Amazon, a publication with over one hundred 5-star reviews, explains their mechanics as follows.
-
lcamtuf
@lcamtuf
Woodworking Saturdays
-
lcamtuf
@lcamtuf
It is a common assertion among Infosec practitioners that, well-researched spear phishing aside, you gotta be pretty dumb to fall for most online scams.
I think that's untrue, for a pretty interesting reason; here's how I explain this in my new book. -
lcamtuf
@lcamtuf
Psst, kid... want to read some comics?
lcamtuf.coredump.cx/communism/ -
lcamtuf
@lcamtuf
NEW FEATURE: The currencies of Dear Leaders. Showcasing another one of my bizarre and eclectic collections, now organized more neatly than before. Check out lcamtuf.coredump.cx/leaders/
-
lcamtuf
@lcamtuf
I've been working on the Hyperinflation Gallery, and today, I'm happy to say I'm nearly done:
lcamtuf.coredump.cx/hyper/
I know that it's just pictures of silly banknotes - but it's such a neglected yet consequential piece of history. And the conclusion is pretty surprising, too! -
lcamtuf
@lcamtuf
Software idea: a browser extension that corrects all occurrences of "your" to "you're".
-
lcamtuf
@lcamtuf
Thread: If you feel anxiety or frustration comparing yourself to others in your profession - the "impostor syndrome", as they call it - I have good news: it never goes away.
Post not available here, view on X
lcamtuf
@lcamtuf
It means I'm getting better, and it doesn't matter what others say or do. And that works for careers and hobbies the same.
lcamtuf
@lcamtuf
Once you escape this trap, it helps you understand the behaviors of others, too. There's plenty of people who are unhappy for the same reasons, and who lift themselves up by putting others down.
If you're doing anything of note, you will become a target of such snipes, too. -
lcamtuf
@lcamtuf
Thread: over the years, I had countless infosec newcomers ask me how to build a successful career in the field.
I don't have a recipe for success; but there are several things I learned over the years, and they're a bit different from the usual career advice you hear. (Thread)
lcamtuf
@lcamtuf
My most important tip is about happiness: jobs come and go, conflicts happen, you can't win every argument. It's best not to let your work projects define who you are. If reviewing a code change makes you angry, it's time to pause; non-computer hobbies help.
Post not available here, view on X
lcamtuf
@lcamtuf
To advance your career, remember that ideas are cheap, so develop a track record of delivering high-quality results. Simplify other people's lives by owning problems instead of merely logging complaints.
lcamtuf
@lcamtuf
Visibility helps, but only if it instills trust: promote your work juidiously, but be self-critical, too.
As for the secret superpower in corporate environments, it's knowing how to write concise, well-structured docs. Take a writing course and see your life change overnight. -
lcamtuf
@lcamtuf
I'm starting to suspect not all people on the Internet argue in good faith
-
lcamtuf
@lcamtuf
My wife's bookcase project:
-
lcamtuf
@lcamtuf
My wife's first fine furniture project:
-
lcamtuf
@lcamtuf
PSA: If you're redacting text in an existing JPEG image file (e.g., a scan or a photograph of a document), you should probably maintain a margin of 8 or more pixels between the black bar and the underlying text.
Post not available here, view on X
lcamtuf
@lcamtuf
This image shows the differences in JPEG artifacts (white) between a situation where a black bar is placed over some previously-compressed text (pink), versus a situation where an identical bar lands on a plain white background.
lcamtuf
@lcamtuf
Is this a practical attack? In most cases, probably not. But under ideal conditions, it could leak some info.
Of course, people commit far worse sins, such as applying more easily reversible blur, pixelation, or distortion filters, or using slightly transparent overlays. -
lcamtuf
@lcamtuf
My wife is getting into woodworking. Her first project (convertible table / bench for outdoor school) and her second (in progress).
-
lcamtuf
@lcamtuf
By the way, in case you need it tonight, I maintain this useful page:
lcamtuf.coredump.cx/naer/ -
lcamtuf
@lcamtuf
There's this person tirelessly posting 0-days in malware, and I love it: malvuln.com
-
lcamtuf
@lcamtuf
Ugh - zoomed out and noticed that Google is politicizing maps by implying that the Earth is round.
-
lcamtuf
@lcamtuf
Walnut + maple.
-
lcamtuf
@lcamtuf
Janky walnut with resin fill.
-
lcamtuf
@lcamtuf
A cheesy cutting board, Peruvian walnut + maple
-
lcamtuf
@lcamtuf
Caught my own cat on a trail cam 300 yards away from home...
-
lcamtuf
@lcamtuf
From the annals of criminal enterprise: "In one case, Santos is alleged to have deposited a $1,314.50 check to the Department of Building Inspection into his account by changing the letters DBI to RoDBIgo SANTOS." www.sfexaminer.com/news/feds-charge-former-sf-building-co…
-
lcamtuf
@lcamtuf
Done. Oil-finished space-age walnut laptop stand.
-
lcamtuf
@lcamtuf
Uh oh
-
lcamtuf
@lcamtuf
"Will Regex put you out of a job in the next decade?"
We've been trying but can't get the brackets to match. -
lcamtuf
@lcamtuf
Walnut dining table that I was meaning to finish this week, but came down with a nasty cold.
-
lcamtuf
@lcamtuf
Aaand done.
-
lcamtuf
@lcamtuf
Weekend project: building a clock
-
lcamtuf
@lcamtuf
Done! Curly poplar wood. Heart shape machined in the bottom of the log, then filled with two-part epoxy resin tinted turquoise and with some pearlescent pigment mixed in. Then turned, finished with shellac and friction polish.
-
lcamtuf
@lcamtuf
There is a piece of proposed legislation in NY that would allow the state to investigate your search history. It includes this passage: "For the purposes of this subdivision, [...] 'search engine' shall only include Google, Yahoo and Bing."
nyassembly.gov/leg/?default_fld=&leg_video=&bn=S09191&ter… -
lcamtuf
@lcamtuf
Lost in the wilderness, day 3. Running low on marshmallows.
-
lcamtuf
@lcamtuf
Good news! More cat-plates!
-
lcamtuf
@lcamtuf
A better photo of that pear sugar bowl thing (lid coming later).
-
lcamtuf
@lcamtuf
-
lcamtuf
@lcamtuf
Neat!
-
lcamtuf
@lcamtuf
Another segmented bowl.
-
lcamtuf
@lcamtuf
When the Unicode Supplementary Multilingual Plane and politics clash.
-
lcamtuf
@lcamtuf
Last weekend, this weekend. Seems like an improvement!
-
lcamtuf
@lcamtuf
A goodbye gift from Google security
-
lcamtuf
@lcamtuf
In the spirit of goodbyes... our community infosec library at Google.
-
lcamtuf
@lcamtuf
So, after almost 11 years, I'm gonna be leaving Google by the end of the month. It's been a fun ride.
-
lcamtuf
@lcamtuf
And here's what happens to the bits that don't make it into any furniture
-
lcamtuf
@lcamtuf
My weird path to #infosec:
1) Be born
2) Full communism
The rest here:
lcamtuf.blogspot.com/2015/03/on-journeys.html -
lcamtuf
@lcamtuf
Another existential post - setting up bug bounties for success: lcamtuf.blogspot.com/2018/03/setting-up-bug-bounties-for-…
-
lcamtuf
@lcamtuf
Like most of you, I joined the NRA to save 5% on Symantec products but now I'm shocked to find out about all the gun shenanigans
-
lcamtuf
@lcamtuf
Some thoughts on getting product security engineering programs right: lcamtuf.blogspot.com/2018/02/getting-product-security-eng…
-
lcamtuf
@lcamtuf
-
lcamtuf
@lcamtuf
Oops, I did it again. Another weekend, another stool. Curupay with curly maple segments, scrap maple legs.
-
lcamtuf
@lcamtuf
Some folks have asked me about this on Twitter and elsewhere, so last night, I scribbled some notes about progressing from tech to leadership: lcamtuf.blogspot.com/2018/02/on-leadership.html
-
lcamtuf
@lcamtuf
In which @taviso finds a way to expense and play computer games on company's dime
Tavis Ormandy
@taviso
I plan to look at other games with very high install bases (100M+) in the coming weeks.
-
lcamtuf
@lcamtuf
Hmm...
-
lcamtuf
@lcamtuf
I applaud many of the bold infosec visionaries on Twitter who are predicting that breaches are going to continue and perhaps even grow in 2018.
-
lcamtuf
@lcamtuf
Believe it or not, but back in the 90s, we had to fiddle with all kinds of different connectors to hook up peripherals to our machines... PS/2, Centronics, RS232C, oh my! Of course today, thanks to the wonders of standardization, it's a thing of the past.
-
lcamtuf
@lcamtuf
OK. Looks like I accidentally made a bench.
-
lcamtuf
@lcamtuf
Pencil case, take 2: tzalam + birdseye maple.
(Previous take: x.com/lcamtuf/status/937236211554435072)
Ever-supportive wife: "cool, looks like a coffin!" -
lcamtuf
@lcamtuf
So, our kids.
-
lcamtuf
@lcamtuf
“The point of modern propaganda isn’t to misinform or push an agenda. It is to exhaust your critical thinking, to annihilate truth.” - Abraham Lincoln
-
lcamtuf
@lcamtuf
New cutting board. Walnut + sirari + curly maple.
-
lcamtuf
@lcamtuf
My life in the Silicon Valley: i.redditmedia.com/CSepPjV6L6xlGcF_ewLm3PQ-ui4fcqK9Hrv2tlp…
-
lcamtuf
@lcamtuf
Work in progress - pixel art
-
lcamtuf
@lcamtuf
Gotta say, the joyful bashing of the Equifax CISO for having the wrong degree is the ugliest thing I've seen in our industry in a while
-
lcamtuf
@lcamtuf
Your daily metaphor for the infosec industry.
-
lcamtuf
@lcamtuf
Another weekend well-spent: lcamtuf.coredump.cx/geiger/
-
lcamtuf
@lcamtuf
Today, our kids seem to be in a contemplative mood.
-
lcamtuf
@lcamtuf
So you want to work in security, but are too lazy to read @laparisa's excellent essay: lcamtuf.blogspot.com/2016/08/so-you-want-to-work-in-secur…
-
lcamtuf
@lcamtuf
CSS mix-blend-mode is bad for your browsing history (aka, patience is a virtue): lcamtuf.blogspot.com/2016/08/css-mix-blend-mode-is-bad-fo…
-
lcamtuf
@lcamtuf
Finding bugs in SQLite, the easy way: lcamtuf.blogspot.com/2015/04/finding-bugs-in-sqlite-easy-…
-
lcamtuf
@lcamtuf
I think this is pretty cool - crash exploration mode: lcamtuf.blogspot.com/2014/11/afl-fuzz-crash-exploration-m…
-
lcamtuf
@lcamtuf
OK, the 'less' quiz is over: seclists.org/oss-sec/2014/q4/769
-
lcamtuf
@lcamtuf
Quick quiz: would you run 'less' on an untrusted file?
-
lcamtuf
@lcamtuf
Pulling JPEGs out of thin air: lcamtuf.blogspot.com/2014/11/pulling-jpegs-out-of-thin-ai…
-
lcamtuf
@lcamtuf
OK, PSA: just don't run 'strings' on untrusted files: lcamtuf.blogspot.com/2014/10/psa-dont-run-strings-on-untr…
-
lcamtuf
@lcamtuf
Two more browser memory disclosure bugs: lcamtuf.blogspot.com/2014/10/two-more-browser-memory-disc…
-
lcamtuf
@lcamtuf
The other two bash RCEs, or how we chipped away at the original fix: lcamtuf.blogspot.com/2014/10/bash-bug-how-we-finally-crac…
-
lcamtuf
@lcamtuf
So anyway, more bugs, apply Florian's bash patch *now*, here's more if you need convincing: lcamtuf.blogspot.com/2014/09/bash-bug-apply-unofficial-pa…
-
lcamtuf
@lcamtuf
Some practical notes about the bash bug: lcamtuf.blogspot.com/2014/09/quick-notes-about-bash-bug-i…
-
lcamtuf reposted
NBC Bay Area
@nbcbayarea
Meadowbrook Lane in Napa: Skaters find upside to quake damage. Video: nbcbay.com/QuJe0HC (Pic by Jeremy Carroll)
-
lcamtuf
@lcamtuf
I think I just wasted several hours: lcamtuf.coredump.cx/css_algebra/
-
lcamtuf
@lcamtuf
Fun weekend project: lcamtuf.coredump.cx/water/
-
lcamtuf
@lcamtuf
Bugs in IJG jpeg6b and libjpeg-turbo: seclists.org/fulldisclosure/2013/Nov/83 (plus a new fuzzing tool: code.google.com/p/american-fuzzy-lop/)
-
lcamtuf
@lcamtuf
Some old-fashioned, harmless CSS fun: lcamtuf.coredump.cx/yahh/
-
lcamtuf
@lcamtuf
For the super-curious, here's another project I'm working on: lcamtuf.coredump.cx/omni2/
-
lcamtuf
@lcamtuf
And here it is, p0f version 3! Plenty of new tricks, needs your help: lcamtuf.coredump.cx/p0f3/
-
lcamtuf
@lcamtuf
"The Tangled Web" is out. Instantly downloadable PDF with print copies. Use code TANGLEDWEB to get 40% off: nostarch.com/tangledweb.htm
-
lcamtuf
@lcamtuf
is not using Twitter. Thank you, come again.













































































































































































































































































































































































































































































