HackerLangs
TopNewTrendsCommentsPastAskShowJobs

piinbinary

2,925 karmajoined 16 tahun yang lalu
Jeremy Mikkola

http://jeremymikkola.com

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

https://twitter.com/silenceofnight

Submissions

Deep Habits: WorkingMemory.txt

calnewport.com
1 points·by piinbinary·bulan lalu·0 comments

Stripe Projects: Provision and manage services from the CLI

projects.dev
137 points·by piinbinary·4 bulan yang lalu·31 comments

Situational Awareness (2024)

situational-awareness.ai
1 points·by piinbinary·4 bulan yang lalu·0 comments

AI Thoughts

jeremymikkola.com
3 points·by piinbinary·4 bulan yang lalu·1 comments

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

james-iry.blogspot.com
4 points·by piinbinary·6 bulan yang lalu·0 comments

Burnout is breaking a sacred pact

usefulfictions.substack.com
2 points·by piinbinary·6 bulan yang lalu·0 comments

K2pdfopt

willus.com
2 points·by piinbinary·6 bulan yang lalu·0 comments

Fixing the Biggest Problem with Mechanical Keyboards [video]

youtube.com
1 points·by piinbinary·10 bulan yang lalu·0 comments

The problem with slow tools (2021)

jeremymikkola.com
62 points·by piinbinary·3 tahun yang lalu·55 comments

Golang: Know Your 'Nil'

jeremymikkola.com
134 points·by piinbinary·5 tahun yang lalu·150 comments

comments

piinbinary
·10 jam yang lalu·discuss
ChatGPT tells me that it would take a very large array to detect distance with any accuracy
piinbinary
·11 jam yang lalu·discuss
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?)
piinbinary
·kemarin dulu·discuss
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)
piinbinary
·4 hari yang lalu·discuss
Is there a URL for that language? It is unfortunately a bit un-googleable!
piinbinary
·15 hari yang lalu·discuss
I have this book and like it.

I also wish there was a book that guided you through the process of implementing a language with accurate garbage collection, similar to how Crafting Interpreters teaches you to implement a language. Perhaps it could start with a shadow stack + simple mark-and-sweep and then move on to stack maps + generational GC.
piinbinary
·15 hari yang lalu·discuss
Prior discussion: https://news.ycombinator.com/item?id=29104047
piinbinary
·16 hari yang lalu·discuss
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.
piinbinary
·23 hari yang lalu·discuss
Only as

> the act of writing out a problem to a model still forces the same sentence-level precision described earlier

(model referring to LLM here)

but not as writing for writing's sake
piinbinary
·24 hari yang lalu·discuss
Writing is as good, or even better https://www.paulgraham.com/words.html
piinbinary
·24 hari yang lalu·discuss
How do the linear types here relate (or not relate) to the Borrow Checker in Rust?
piinbinary
·24 hari yang lalu·discuss
This 404s for me
piinbinary
·24 hari yang lalu·discuss
The README references Electroboom's implementation
piinbinary
·25 hari yang lalu·discuss
It would also be fun to have a full computer algebra system (like maxima) on a phone
piinbinary
·26 hari yang lalu·discuss
I bet if you took one of Taalas' cards which consumes 200 watts for 14,000 tokens/second [0] and slowed it down by a factor of 10, it would actually be quite reasonable to power by bicycle.

[0]: https://www.sdxcentral.com/news/chip-designer-taalas-bets-on...
piinbinary
·2 bulan yang lalu·discuss
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
piinbinary
·3 bulan yang lalu·discuss
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?
piinbinary
·4 bulan yang lalu·discuss
How does the benchmark tell how many branches were mispredicted? Is that something the processor exposes?
piinbinary
·4 bulan yang lalu·discuss
> 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.
piinbinary
·5 bulan yang lalu·discuss
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.
piinbinary
·5 bulan yang lalu·discuss
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.