Better HN
topnewbestaskshowjobs
Log inSign up

hyperjeff

139 karma · joined Nov 30, 2015 (11y ago) · 81 submissions

physics, math, history, philosophy, experimental music, keyboard hacking, programming.
Submissions

comment 4y ago · link · parent

A cursory search might even give one the impression that Einstein had an opinion about bees. (Unkillable memes are pretty interesting.)

comment 4y ago · link · parent

Not sure if you’re just unhappy about the minimalist landing page, but click around from there, lots of nicely done articles.

comment 4y ago · link · parent

I sorely miss those exciting days. Hotline was so well done. I still have v1.8.4, but sadly remote host refuses connection. Is there no way we can bring such things to life again? Tor isn’t it.

comment 5y ago · link · parent

> Yes, it's just muscle memory and you can always re-train it, but there's very little return for my investment.

As a data point of one, I've found the return to be enormous and the investment suprisingly small. You have a whole lifetime of typing ahead, so what's a small investment of time compared to that? Just something to consider.

> As far as I'm concerned, any byte set to any value above 127 in any source file should be a compile-time error.

People can vote by using the languages and tools they want, but I have been waiting for that limitation to die for quite some time. I also use function names longer than 6 characters. That said, I realize I'm lucky enough to be in charge of my own programming environments and don't have to worry about its adoption in unknown limited scenarios.

> I can see an argument for allowing non-ASCII characters inside string literals and comments, but with non-ASCII identifiers you're just looking for trouble.

Again, just as a data point, I've never found this to be an issue (if one is prudent and not obnoxious with it), though the language support needs to be in place. In my main language these days, Swift, it's fine. Julia and Kotlin too.

comment 5y ago · link · parent

> Whatever reading comprehension advantage they may carry is completely negated by the fact that they can't be typed from a regular keyboard.

There's a curious blindspot among coders with regard to customizing their main interface with their machines. Keyboards are heavily customizable.

Some wins are extremely easy: If you want instant access to all Greek letters on a Mac (e.g.), you can have your caps lock key toggle between your standard layout and the Greek layout. (no \alpha, just α.) The rabbit hole runs deep from there if you are adventurous. Look at all the option key symbols you don't use. Swap them out for nice things like real arrows, ∈, and whatever you fancy.

Maybe you have restraints or biases about work code being all ASCII, but typeability is up to you.

comment 5y ago · link · parent

This presumes one isn't using real tab characters in their code. (No idea why they claim tabs are 8 spaces, as they're their own character.) The rest of these arguments are just curious decisions by a certain community. The point is for the visual indentation to be up to the end user, seasoned to taste. Requiring some code viewer to stick to n spaces is unfriendly. (I'd sooner quit programming altogether than follow the above rules.)

comment 5y ago · link · parent

Working very well on my (3rd gen) iPad Pro, fwiw.

comment 5y ago · link · parent

Especially Carlos’s Beauty in the Beast, one of my fav albums. It seems to have a strong Indonesian influence in places, and I’ve since found similar exotic tunings in music from there.

comment 5y ago · link · parent

Some nice symbol selection here. It’s a great thing to customize your keyboard layout. On the Mac side, there’s a nice tool called Ukelele: https://software.sil.org/ukelele/

comment 5y ago · link · parent

“4 weeks of paid parental leave” — I’d change this to 4 weeks of paid caregiving.

comment 6y ago · link · parent

I agree that usually one uses a higher level API, but I've worked on commercial apps that use Metal both for graphics and compute. The code is not so unweildy as is suggested here. An old triangle test app I have here shows only about 100 lines of graphics code.

comment 7y ago · link · parent

Every shell can make its own version, but here's a wrapper in fish which I named pstl:

  eval (echo "pastel $argv" | sed 's/ | / | pastel /g')
Now you can

  pstl "random | mix red | lighten 0.2 | format hex"

comment 7y ago · link · parent

Yes, well said. Math is not any form of programming, and programming is not math. Studying the relations between the two can be very helpful, and the difference itself is interesting. One may have specific reasons to us FP to cleanly decouple from certain kinds of side-effects, but there’s nothing un-mathy about mutability, and there are times when it’s a fine choice.

comment 7y ago · link · parent

turning off #blog-post's padding and the .blog-content-card's left & right margins makes the layout nice on a desktop.

comment 7y ago · link · parent

Ex-PhD student in general relativity here, also slowly going thru that book. If anyone wants to start a reading (slack?) group together, I’d be interested. I have no one to talk to about this stuff IRL.

comment 7y ago · link · parent

Isn't this exact feature available via Do Not Disturb? I have DND on 24/7, and you can quickly turn it off for Lyft/etc if needed. If you make groups within your contacts you can even hone the whitelist and can fairly quickly mod it.

comment 7y ago · link · parent

macOS (in its NeXT-based lineage) has always come with many scripting languages (php, perl, python, ruby, applescript, awk, *sh, etc) as part of a standard unixy setup, even before Apple themselves made use of them per se in the system. While they make use of Python currently, it's there also just to enable whatever things a user or a 3rd party may build.

comment 10y ago · link · parent

Of course, the author would agree that it's not close to real-life assault. If I said, "I shot a bear in virtual reality," it would be missing the point to complain that it's nowhere close to real-life bear shooting. No one said it was real-life, quite the contrary.

The story does bring up a central trouble spot in multiplayer gaming: no mechanisms in place for holding players responsible for being an asshat.

comment 10y ago · link · parent

oh, geez, yes of course. sorry, old habit from before the say command.

comment 10y ago · link · parent

also fun is to append `osascript -e 'say "all done!"'` or somesuch if you're within decent earshot. you can even pipe in context-specific info.
123