rustypotato | 1 year ago | on: A change of heart regarding employee metrics
rustypotato's comments
rustypotato | 1 year ago | on: AI companies are pivoting from creating gods to building products
This is the fundamental problem that prevents generative AI from becoming a "foundational building block" for most products. Even with rigorous safety measures in place, there are few guarantees about its output. AI is about as solid as sand when it comes to determinism, which is great if you're trying to sell sand, but not so great if you're trying to build a huge structure on top of it.
rustypotato | 1 year ago | on: Use a work journal
The journal has served two main purposes. One, I can write and annotate free-form pseudocode at exactly the level of abstraction I need without getting distracted by the errors produced by the code editor. It's really helped me work through the difficult parts of coding puzzles before I ever touch the keyboard to implement.
Two, I have a scientific notebook for debugging. I write down a hypothesis, design a small experiment, document the steps and complications as I go, and write down what the actual result was; then repeat the cycle. Putting it all in writing keeps it straight so I don't chase my tail, and I have something to look back on if I need to explain the bug and how it was solved to my coworkers.
rustypotato | 1 year ago | on: Xv6, a simple Unix-like teaching operating system
The first lab: https://pdos.csail.mit.edu/6.1810/2023/labs/util.html
I do plan to work through the whole thing myself again at some point soon.
rustypotato | 1 year ago | on: New CSS Logical Properties
rustypotato | 2 years ago | on: Random Animations
[0]: https://bleuje.com/tutorials/ [1]: https://processing.org/
rustypotato | 2 years ago | on: Responsive type scales with composable CSS utilities
minFont = 12
maxFont = 18
minScreen = 320
maxScreen = 2400
Then you calculate the slope (m) using the ol' (y - y) / (x - x): m = (maxFont - minFont) / (maxScreen - minScreen)
Then plug one of the (font, screen) pairs into the equation and solve for b. Use that as --linear-font-size.Once you have the linear equation for your font size, you use clamp() to bound the screen size between the min and max that you set before.
font-size: clamp(var(--minScreen), var(--linear-font-size), var(--maxScreen))
I think this basically has the same effect as the blog post produces, but it fits in my head better when the dynamic part is expressed as the equation for a line.rustypotato | 3 years ago | on: Ask HN: Where can I find a primer on how computers boot?
rustypotato | 3 years ago | on: Math breakdown: Anime homing missiles