HN user

fferen

829 karma

Relativity textbook: http://ramp-book.com/

Blog: https://diffxweyl.wordpress.com/

Github: https://github.com/fferen

E-mail: kyh@berkeley.edu

Posts10
Comments145
View on HN
Sora 2 10 months ago

Very first frame of the video: green digital text is messed up. Stopped watching after that :)

I first started coding in high school on the TI-84 calculators. My 1st language was TI-BASIC, 2nd was Z80 assembly - quite a big step - and I quit when I faced some tricky bugs that my teenage self could not figure out :-) Back then, I don't believe they had a C/C++ toolchain. Some time later, I tried using Small Device C compiler (SDCC), but encountered several compiler bugs which I couldn't fix but duly reported. Great to see there is such excellent tooling nowadays.

Disagree with first example. If that condition is only used once, adding a variable introduces more state to keep track of, that could just be a comment next to the conditional.

Fails to mention the actual reason people are fascinated: their diversity of appearance. Typical AI summary with many words not saying very much.

Idea: deplane by row. Each row leaves when a light in that row turns on. An algorithm decides when to turn them on based on several factors: keeping large groups together, expected speed of deplaning (eg. elderly may be slower), current occupancy of the aisle. Advantage: should be very fast, easy to follow, groups stay together.

My tentative advice would be to find the one with the best reviews. Only pay attention to the lowest reviews, even a few 1-stars are informative.

My story: I brush and floss every single day. At my regular checkup, the dentist measured 2-5mm gum depths, and insisted on doing a deep cleaning, which involves anesthesia and multiple visits. I argued that the 5mm depths were borderline, and could very well be 4mm with measurement error. (They did seem to be pushing rather hard.) They also pointed out some tiny supposed "pockets" on the X-ray that looked like just imaging blur or something. Feeling very suspicious, I left, and found another dentist with, surprisingly, zero bad reviews on Yelp. They measured 2-4mm gum depths, and did a much less aggressive cleaning.

I've been using Cloudhiker lately to replace the good old stumbleupon days and it does capture some of the magic of the old web. (not affiliated)

Everyone warns you about alcohol, but I have only had positive experiences, and in fact, wish I started drinking sooner in life. When I was going through a period of general anxiety and loneliness, I used to drink alone every weekend. It was a lot of fun and led to some of my best decisions, such as applying for a new job. Nowadays, I'm in a more stable place and only drink socially.

I feel like my mind is by default "extra sober", and drinking helps bring it to a normal level of sobriety.

I've found they serve almost exactly the opposite purpose as search engines. When I want reliable info and don't need hand-holding: search. When I have no idea what to search, or want a quick intro to something: ChatGPT. Together, they are very powerful complementary tools.

Something I wonder: are computers better at chess because they can think faster? What if we give a team of top grandmasters 1 day per move, versus like 1 hour for Stockfish. Will they at least consistently draw? To my knowledge, top human vs computer matches these days only use piece odds, not time odds.

SICP blew my mind the first time, but I think it's most useful when you already have some hands-on coding experience (as I did). It's why we don't start teaching math with set theory.

If the major source of latency is key travel distance, does this really impact the user experience? My feeling is that a keyboard with longer travel distance feels more "solid" than one where the key hardly goes down at all, even if this adds some extra latency. Otherwise we could just type on virtual keyboards with zero travel distance, but then there is no tactile feedback when the key is pressed.

Before I lug my sluggish body from under the security of my warm sheets, I reach for my phone, pull it up inches away from my face, and start scrolling through whatever I missed overnight.

In my late 20s, I physically cannot do this anymore since my eyes start to hurt. I am forced to get out of bed and open the blinds until my eyes adjust to the light, then scroll through my phone. But by then I don't feel like scrolling as much. So that problem fixed itself :)

1. The animal icons didn't show up for me until I refreshed the page a few times. (Edge, Windows 10)

2. Would help to say "Somebody at bone AND Somebody at flower". I first interpreted it as OR and thought it was broken when it wouldn't let me move.

For example, if I have a `Point` object with `x` and `y` fields, and I make a function called `lowest_point`, it knows I want to the point with the minimum `y` value. Because it knows the name `y` is most typically used for vertical direction, and the word `lowest` also implies vertical direction.

Unless, as in many systems, y=0 is the top and y increases downward.