Husband, new dad, Product Engineer at ExtraHop

Arlington Heights, MA
Joined June 2012
Pinned Tweet
ExtraHop is hiring: cloud infra, Python/Go services, detection engineering, and managers too. I’ve been here 6 years and this is as exciting a time as I’ve seen. Come help us win NDR. Roles below ⬇️
2
2
Love Fil and his C, but my favorite C derivative of the month is clearly… Single Assignment C - C syntax - no pointers - everything is arrays - type checked dimensions - use the dim types for multiple dispatch - basically Julia but invented in 1994
1
1
It’s just the pattern matching and sum types and type classes? always has been
90% of the the Fil-C criticism
1
reminds me how much the old Carmack talk on FP encouraged me down the rabbit hole ~10 years ago. I hope this next generation understands that there’s plenty of applicable wisdom there, but you probably shouldn’t go “full Haskell”
When I started working in python, I got lazy with “single assignment”, and I need to nudge myself about it. You should strive to never reassign or update a variable outside of true iterative calculations in loops. Having all the intermediate calculations still available is helpful in the debugger, and it avoids problems where you move a block of code and it silently uses a version of the variable that wasn’t what it originally had. In C/C++, making almost every variable const at initialization is good practice. I wish it was the default, and mutable was a keyword.
1
Replying to @xilnocas @marimo_io
And a dozen lines just for the crappy table at the bottom
I built a godbolt-like "compiler explorer" for my toy compiler in ~3 dozen lines of python code. @marimo_io is truly something
Now ported to @marimo_io. Turns out faking a reactive notebook with a SPA build system is not 10% as nice as… a good reactive notebook
@seagreen__ the demo is going to be so sick. You ain’t ready
2
“Parse, don’t validate” is an instance of “Learn by building”
1
Nick Lawler retweeted
There is no technical opposition or incompatibility between OO and FP. But there are rivalries of underlying mindsets. OO is for incrementality—required to deal with irreducible complexity. FP is for compositionality—required to deal with reducible complexity.
9
5
2
53
Behold, the linearaizer
Announcing the Iɢɴᴇᴏᴜs Lɪɴᴇᴀʀɪᴢᴇʀ: write code as hypertext with explicit links, transpile it to a plaintext file. The purpose? Explore the Goldilocks Thesis of Code Structure: we want a better medium for code than plaintext, but fully structured code-in-the-db is hard...
1
1
Nick Lawler retweeted
Midnight progress update: - JS transpiler with tail recursion elimination - Rewritten macro system (a property of the application, not the system itself) - Copy/pasteable system images - New docs + motivation section (feedback appreciated🙏) midnightsystem.com/
1
3
Nick Lawler retweeted
ANN: 𝘚𝘰𝘮𝘦𝘳𝘷𝘪𝘭𝘭𝘦 𝘎𝘭𝘰𝘴𝘴𝘢𝘳𝘺 𝘰𝘧 𝘚𝘰𝘧𝘵𝘸𝘢𝘳𝘦 𝘋𝘦𝘴𝘪𝘨𝘯 Wikipedia is great but strict in what it includes, the C2 wiki is frozen, this is to fill the gap for myself until someone makes something better. domain-j.com/Somerville-glos… Suggestions welcome!
2
3
Nick Lawler retweeted
Nick Lawler retweeted
This is why I love anime 😂😂😂😂😂😂
Nick Lawler retweeted
*какая-то шутка про металгир*
Nick Lawler retweeted
A lot of people know Nobel Prize-winning economist Elinor Ostrom from her work on the commons. But many might not know that some of her first research in the 1970s on policing. It can inform the reform vs. defunding debate, with some clear empirical findings.