HN user

piinbinary

2,925 karma

Jeremy Mikkola

http://jeremymikkola.com

Email: <My first name><2^7=>@<google's mail product>.com

https://twitter.com/silenceofnight

Posts74
Comments370
View on HN
calnewport.com 1mo ago

Deep Habits: WorkingMemory.txt

piinbinary
1pts0
projects.dev 3mo ago

Stripe Projects: Provision and manage services from the CLI

piinbinary
137pts31
situational-awareness.ai 4mo ago

Situational Awareness (2024)

piinbinary
1pts0
jeremymikkola.com 4mo ago

AI Thoughts

piinbinary
3pts1
james-iry.blogspot.com 6mo ago

A Brief, Incomplete, and Mostly Wrong History of Programming Languages

piinbinary
4pts0
usefulfictions.substack.com 6mo ago

Burnout is breaking a sacred pact

piinbinary
2pts0
www.willus.com 6mo ago

K2pdfopt

piinbinary
2pts0
www.youtube.com 10mo ago

Fixing the Biggest Problem with Mechanical Keyboards [video]

piinbinary
1pts0
www.johndcook.com 11mo ago

A simple way to generate random points on a sphere

piinbinary
80pts75
en.wikipedia.org 11mo ago

Torpenhow Hill

piinbinary
1pts1
www.stephendiehl.com 1y ago

Monads to Machine Code

piinbinary
3pts1
jeremymikkola.com 1y ago

A UI might not make it easier

piinbinary
25pts5
jeremymikkola.com 1y ago

Software Shouldn't Flow Away (2020)

piinbinary
2pts0
pointersgonewild.com 1y ago

So I rolled my own static site generator

piinbinary
2pts0
www.youtube.com 2y ago

The almost impossible chessboard puzzle

piinbinary
2pts0
jeremymikkola.com 2y ago

Moving Git commits between repos (2017)

piinbinary
41pts10
news.ycombinator.com 2y ago

Tell HN: Slack seems to be having an outage

piinbinary
7pts0
jeremymikkola.com 3y ago

What makes developers productive?

piinbinary
187pts156
jeremymikkola.com 3y ago

The problem with slow tools (2021)

piinbinary
62pts55
langdev.stackexchange.com 3y ago

Programming Language Design and Implementation stack exchange

piinbinary
2pts0
www.paulgraham.com 3y ago

Maker's Schedule, Manager's Schedule (2009)

piinbinary
3pts1
jvns.ca 3y ago

Things your manager might not know (2021)

piinbinary
253pts108
github.com 3y ago

Redefining for Loop Variable Semantics

piinbinary
4pts0
james-iry.blogspot.com 3y ago

A Brief, Incomplete, and Mostly Wrong History of Programming Languages

piinbinary
2pts1
www.anandtech.com 3y ago

Ryzen 9 7950X and Ryzen 5 7600X Review: Retaking The High-End

piinbinary
22pts0
en.wikipedia.org 3y ago

Moravec's Paradox

piinbinary
1pts0
en.wikibooks.org 3y ago

Write Yourself a Scheme in 48 Hours

piinbinary
1pts0
lethain.com 3y ago

One-on-Ones with Executives

piinbinary
2pts0
bam.kalzumeus.com 3y ago

The optimal amount of fraud is non-zero

piinbinary
313pts232
yieldthought.com 4y ago

Reality doesn't care about your opinion

piinbinary
3pts5

One day I want to build something like this, except for sound. It would be great to get a heading and distance for where a sound is coming from.

This could be both for small scale things (e.g. which part of this is squeaking?) or large scale (e.g. is that booming noise coming from the construction a few blocks away?)

I wonder if it would ever start to make sense to burn an AI model into ROM, replacing a large portion of an inference machine's RAM with ROM. (Probably not, since I'm sure those machines do dual-duty and run training when the inference workload slows down)

I have a suspicion these new prices will stick around, even after the RAM shortage ends.

Speaking of which, what's the timeline of the RAM shortage ending? I have no sense for whether it is going to be (for example) 6 months or 3 years.

Austral 1 month ago

How do the linear types here relate (or not relate) to the Borrow Checker in Rust?

I've been going through Nora Sandler's Writing a C Compiler book and writing a compiler in Python. I'm excited to start the chapters on optimization - those seem like the most fun algorithm problems.

I recommend the book. It certainly isn't easy (maybe 3x harder than Crafting Interpreters), but I've learned a ton (eg how to deal with operations on different sizes of types, or the trick of using pseudoregisters to avoid having to figure out registers up front).

https://github.com/jmikkola/writing-a-c-compiler-python

I'd be very curious to know what class of vulnerability these tend to be (buffer overrun, use after free, misset execute permissions?), and if, armed with that knowledge, a deterministic tool could reliably find or prevent all such vulnerabilities. Can linters find these? Perhaps fuzzing? If code was written in a more modern language, is it sill likely that these bugs would have happened?

a luxury apartment building goes up, surveys the market, and sets its rents 30% higher for the privilege of living in a new building with a gym for dogs or ball pit or whatever. Then the older buildings say, "Well, we can raise our rents 20% and still be the best deal in town," and so on.

I think that might not be the right cause and effect relationship. The actual cause is increased demand. This creates both the increased pricing of existing stock and an incentive to build new stock.

Back when I lived in SF, there was one bus route (the 6, I believe) that I could use to get to work. The bus was so slow due to frequent, long stops and traffic lights that I could keep up with it on foot by walking briskly. I only bothered taking it when it was raining because it didn't get me to work any faster than walking.

That's an interesting point.

I'm also curious how bus stops interact with timed lights. Presumably each time the bus stops, it gets kicked back to the next cycle of green lights (which might be a low-single-digit minute delay).

Hopefully there's a traffic engineer in the audience who can give the real answers.

friends don’t just bring up type inference in casual conversation

I wonder if this is a reference to "I need you to understand that people don't have conversations where they randomly recommend operating systems to one another"

But to the actual point of the article: my understanding is that there are areas where you can use bidirectional typing (e.g. languages that have subclasses) where HM style type inference might become undecidable.

That stuck out to me as well.

I wonder if there could be a bug where extra code runs but the result is discarded (and the code that runs happens to have no side effects).

The post also says

That is roughly 1 billion iterations

but that doesn't sound right because GCC's version runs in only 0.047s, and no CPU can do a billion iterations that quickly.

Tiny C Compiler 5 months ago

I am currently going through that book. I recommend it with one caveat: you'll need to have written some interpreters before (Crafting Interpreters is a perfect starting point) because it expects you to already know some things like to how write a simple recursive decent parser.

It didn't know about the Woodboring beetle: https://en.wikipedia.org/wiki/Woodboring_beetle

Doing this felt odd, it was like it wore out something in my brain. After a while I could picture the animals I wanted to enter but I struggled to remember the word for them. Only now, a minute or so after stopping, could I remember 'Dragonfly'

I was also amused by the reaction to "crab":

(Carcinization makes it hard to define “crab”, so I'm going to pretend you said “brown crab”.)