LaurieWired's Avatar

LaurieWired

@lauriewired.bsky.social

researcher @google; serial complexity unpacker ex @ msft & aerospace

5,443 Followers  |  1 Following  |  982 Posts  |  Joined: 20.11.2024
Posts Following

Posts by LaurieWired (@lauriewired.bsky.social)

there’s an interesting little quirk that goes along with that…



auto-gcas for example, is purposefully limited to 5G, because in testing, more aggressive maneuvers decreased pilot “trust”, even if it was arguably technically superior.

03.03.2026 21:09 — 👍 1    🔁 0    💬 1    📌 0

Here's kind of a fun public paper about the subject of ML-assisted missile evasion in general:

arxiv.org/pdf/2511.05828

03.03.2026 20:01 — 👍 13    🔁 0    💬 0    📌 0
Post image Post image

That test aircraft is structurally limited to just 6Gs, but it’s interesting to think how these models would be applied to other manned/unmanned aircraft.



It’s an unusual ethical software problem.

Do you purposefully force a human unconscious…in an attempt to save their life?

03.03.2026 20:01 — 👍 15    🔁 0    💬 3    📌 0
Post image

Last year, Lockheed demonstrated “Have Remy”.



Yes, Remy is a direct Ratatouille joke.



Apparently, they ran “billions of simulated engagements” on a GPU cluster to refine behavior, then flew it on the real X-62 VISTA.

03.03.2026 20:01 — 👍 9    🔁 0    💬 1    📌 0
Video thumbnail

Auto-GCAS is somewhat the precursor.


Implemented on the F-16 since 2014, it will automatically pull a ~5G recovery if you’re about to hit the ground.

Famously saved a student’s life (see video), after they blacked out into a full afterburner vertical dive!

03.03.2026 20:01 — 👍 7    🔁 0    💬 1    📌 0
Post image Post image

Ignoring other countermeasures, research consistently shows the optimal evasion is a two part “bang-bang” structure.


A long, sustained G barrel roll to deplete missile energy, followed by a last-second maximum effort reversal.

Optimal timing is…milliseconds.

03.03.2026 20:01 — 👍 10    🔁 0    💬 1    📌 0
Post image Post image

I’ve always wondered; could a software algorithm (ML or otherwise) evade an incoming missile better than a human pilot?



Perhaps even at the expense of a blackout.



*You* might be able to only handle 9G…but what if the airframe can take 12?


…it (sorta) exists.

03.03.2026 20:01 — 👍 30    🔁 0    💬 3    📌 0
This C code should be ILLEGAL.  It's also fantastic.
YouTube video by LaurieWired This C code should be ILLEGAL. It's also fantastic.

here's my full breakdown / reverse engineering of some of the last contest's winners (go to ioccc . org to submit an entry yourself!)

www.youtube.com/watch?v=by53...

03.03.2026 05:05 — 👍 21    🔁 0    💬 0    📌 0
Video thumbnail

There’s just about ~10 days left to make a submission to one of my favorite programming contests:



The International Obfuscated C Code Contest!


Highly encourage you to take a peek and enter, it really brings out some of the best programmers (and compiler wizards).

03.03.2026 05:05 — 👍 80    🔁 8    💬 4    📌 0

hmm, interesting, but it does seem like a bit of funny marketing ha.

L0 seems to be a renamed, more efficient L1

02.03.2026 18:55 — 👍 0    🔁 0    💬 0    📌 0
Post image

The logic was essentially, hey system fonts are pretty good now…why not just default to what’s native?



Apple get’s apple fonts. Windows get’s windows fonts.



There’s a great blogpost from Mark Otto, GitHub’s director of design about the switch:

markdotto.com/blog/github-...

02.03.2026 18:45 — 👍 43    🔁 1    💬 1    📌 0
Post image

Hence, the early web was very…Times New Roman-y.



Github was arguably one of the first major players to go *against* the custom font / FOUT hell of the mid 2010s.



In mid 2017, they essentially re-adopted the 90s method of using direct system fonts!

02.03.2026 18:45 — 👍 34    🔁 0    💬 2    📌 0
Post image Post image

FOUTs were essentially unheard of in the 90s. 

The entire world basically defaulted to web-safe fonts.


In the rare instance someone got fancy with something non-standard, the browser would just fallback to a default.


This didn’t really change until 2010!

02.03.2026 18:45 — 👍 24    🔁 0    💬 1    📌 0
Post image

First, ignore JavaScript for a second.


Even with plain HTML+CSS, it’s quite common to get FOUTs these days.


FOUT = Flash of Unstyled Text.

AKA temporarily load a system-native font, then when the custom font finally rolls in, "snap" to the new font.

02.03.2026 18:45 — 👍 24    🔁 0    💬 2    📌 0
Video thumbnail

Websites today load wildly differently than in the 90s.

Arguably, worse.

The HTML spec was designed to be read sequentially, so text used to stream in, then display instantaneously. Basically, read -> paint.

A lot of today’s modern weirdness comes from…fonts.

02.03.2026 18:45 — 👍 95    🔁 6    💬 3    📌 1

From AMD, more on the performance side:

“Improving the Utilization of Micro-operation Caches in x86 Processors”



The other is more security angle + some interesting timing attacks:

“UC-Check: Characterizing Micro-operation Caches in x86 Processors and Implications in Security and Performance”

27.02.2026 19:42 — 👍 25    🔁 1    💬 2    📌 0
Post image

The smaller pieces are thus able to fit entirely in the uOP cache, avoiding thrashing the decoder constantly.

There are quite a few papers on the subject, but these two give a really nice overview:

27.02.2026 19:42 — 👍 21    🔁 0    💬 1    📌 0
Post image

99% of programmers shouldn’t care; but those who squeeze the absolute maximum last bit of performance out of x86 pay attention.


Loop Fission is an interesting technique, where you spit up a complex loop into multiple smaller sequential ones.

27.02.2026 19:42 — 👍 20    🔁 0    💬 2    📌 0
Post image

x86 “looks” CISC, but all of the engine is RISC underneath.

You don’t *want* to wake up the decoder if you don’t have to. It wastes about ~6 cycles + extra power.

Usually, the compiler aligns everything for you...as long as your loop is small enough.

27.02.2026 19:42 — 👍 20    🔁 0    💬 1    📌 0
Post image

There is one problem though.



You can’t see it.



Well, not directly at least. You’ll never find uOPs in the binary.



But! You can see the “shape” of it with performance tools…and there are subtle tells in the binary as well (hint, some nops).

27.02.2026 19:42 — 👍 22    🔁 0    💬 3    📌 0
Post image Post image

Most programmers are taught that L1 is the “top level” cache on x86.


It’s not quite true anymore!


Intel calls it the Decoded Stream Buffer (DSB), AMD the OpCache.

Only enough room for ~4,000 micro-ops, but there are interesting ways to take advantage of it.

27.02.2026 19:42 — 👍 150    🔁 18    💬 4    📌 1

hahaha

25.02.2026 22:13 — 👍 1    🔁 0    💬 0    📌 0
Preview
Random number generators: good ones are hard to find | Communications of the ACM Practical and theoretical issues are presented concerning the design, implementation, and use of a good, minimal standard random number generator that will port to virtually all systems.

(side note: most rand() implementations moved on to other LCGs, or mersenne twisters and such…but it’s arguable that 16807 is still quite ubiquitous!)

Original Paper if you’d like to read:
dl.acm.org/doi/10.1145/...

25.02.2026 22:13 — 👍 31    🔁 0    💬 2    📌 0
Post image

It’s kind of funny that so few listened. FreeBSD was still using 16807 in rand() all the way until 2021!



So if you ever see that constant in disassembled code…now you know :)

25.02.2026 22:13 — 👍 41    🔁 0    💬 2    📌 0
Video thumbnail

That fits nicely in 32-bit hardware. Only a few instructions.



Apple put it in CarbonLib, FreeBSD also used it; for a few decades it was kind of everywhere.



A few years later they discovered that 48271 was a little better.

Specifically, a bit more even on spectral tests up to 6 dimensions.

25.02.2026 22:13 — 👍 24    🔁 0    💬 2    📌 0
Post image

They weren’t really trying to make a perfect algorithm; it was more about being “reasonably good and efficient”.

Called the minimal standard, it’s a quick little multiplication routine, just one line:

x = seed × 16807 mod 2^31 - 1

25.02.2026 22:13 — 👍 25    🔁 0    💬 1    📌 0
Post image Post image

Today it feels trivial, but for decades random number generation was REALLY bad. Mostly IBM's fault.


Two researchers, Park + Miller got so sick of bad RNGs, they released a paper to the ACM in 1988 titled:


"Random Number Generators: Good Ones Are Hard to Find."

25.02.2026 22:13 — 👍 29    🔁 0    💬 1    📌 0
Post image Post image

16807 is a very special number in Computer Science.



You can find it in the Playstation 5 (freebsd 11), almost every Mac Classic game, and even the C++11 standard!


Give it the right prime number, you can produce an evenly distributed sequence for over 2 BILLION values.

25.02.2026 22:13 — 👍 104    🔁 14    💬 2    📌 0
Post image Post image

The original title of the paper if you want to search:


“Implications of the Turing completeness of reaction-diffusion models, informed by GPGPU simulations on an XBox 360: Cardiac arrhythmias, re-entry and the
Halting problem”

23.02.2026 19:27 — 👍 28    🔁 2    💬 0    📌 0
Post image

Boom. Thousands of simulated cardiac cells running at high speed on a single box.



A fun benefit, you get visualizations for “free” by tacking on a little render code to the end of the sim.



It’s certainly an entertaining read, even if the utility is questionable.

23.02.2026 19:27 — 👍 17    🔁 0    💬 1    📌 0