Better HN
topnewbestaskshowjobs
Log inSign up

fferen

830 karma · joined Dec 24, 2010 (15y ago) · 159 submissions

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

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

Github: https://github.com/fferen

E-mail: kyh@berkeley.edu

Submissions

comment 1w ago · link · parent

I started programming by making games in TI-BASIC, for the TI-83+ graphing calculators. There were some weird tricks like omitting all ending parentheses. Good preparation for weird hacks in real languages.

comment 4mo ago · link · parent

Corporate windows laptop; need to restart every 2-3 days at best.

3.

In Search of the Leisure Class(libertiesjournal.com ↗)

3 points · by fferen · 9mo ago · discuss

comment 10mo ago · link · parent

Well, they already do in that large files take more time to copy which subconsciously discourages moving them.

comment 1y ago · link · parent

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

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 2y ago · link · parent

Edge on Mac, but IIRC it happens on Windows as well. Just checked in firefox/mac and seems OK.

comment 2y ago · link · parent

On the topic of calculator font bugs, Google's calculator randomly switches between two fonts:

https://pasteboard.co/lmbr4iE6BJej.png

https://pasteboard.co/sU3GA5psIaT0.png

comment 2y ago · link · parent

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

comment 3y ago · link · parent

Reminds me of TI-BASIC for the TI-83 graphing calculators... The closing ')' is optional at the end of a line, and omitting it could make your program slightly faster...

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

When I started grad school in semiconductor electronics, I noticed everyone pronounced it "si-li-cun", while normal people usually say "si-li-con". Maybe it's just a west coast thing.

comment 3y ago · link · parent

At least from the graph, it's leveling out?

comment 3y ago · link · parent

https://diffxweyl.wordpress.com/

Theoretical physics blog. Something for everyone.

comment 3y ago · link · parent

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)

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

Would be better if you could pan around the board. Having only linear scrolling kinda defeats the concept.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

Sometimes you can get too carried away with drawing exactly what you see. Once I drew a person based on a photo I had on my desk, only to realize that since I was looking down at an angle to it, the drawing was all distorted. :)

comment 3y ago · link · parent

Transfer length method :)

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 4y ago · link · parent

Data from functions:

(define (cons x y) (lambda (m) (m x y)))

(define (car z) (z (lambda (p q) p)))

(define (cdr z) (z (lambda (p q) q)))

comment 4y ago · link · parent

> 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 :)

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

As a last resort, if you remember part of the lost file, you can grep the hard drive: http://blog.nullspace.io/recovering-deleted-files-using-only...

Saved some of my code once.

123456