News for hackers. Stuff that matters.

jonhess

Re:Cloudflare outage on December 5, 2025 on Saturday December 06, 2025 @03:09AM (#46171549)
Yeah, redundancy and efficiency are opposites. As engineers, we always chase efficiency, but resilience and redundancy are related.
Re:Irrational Base Number System (2000) on Wednesday August 31, 2022 @05:57PM (#32668878)
> which also explains why ternary logic puzzles are so elegant.

Could you elaborate on that?

Re:Impressions from a first-time Mac user on Monday April 11, 2022 @11:07PM (#30998131)
This initially bothered me too.

The macOS equivalents are command+left-arrow and command+right-arrow. I find them even easier to invoke than home/end.

Re:OpenTTD 1.10 on Friday April 03, 2020 @06:10PM (#22774436)
That’s what I like about this game too. It quickly turns into a concurrency / lock contention optimization problem if you build a very connected network.
Re:Ask HN: The most useful Mac keyboard shortcuts? on Monday August 05, 2019 @10:27PM (#20621543)
Command-e, put the selected text on the find clipboard.

Then command-e, command-g (find next) will search for the selected text without sacrificing the copy/paste clipboard.

Also, the find clipboard is shared between apps, so you can command-e in Safari, then command-g in Xcode.

Re:The Objective-C Runtime and Swift Dynamism on Wednesday December 13, 2017 @02:38PM (#15916893)
The lookup happens on each invocation. It’s alway indirect, and the implementation of a method can be changed at runtime. Method calls aren’t optimized to be direct invocations.
Re:Say Hello to X64 Assembly Part 3 on Friday September 19, 2014 @04:49PM (#8342416)
If you're writing a desktop app, you may need to debug frameworks and libraries you don't have the source for. If you author a framework or library, you may need to debug a client application you don't have source for. In both cases, you'll likely need to debug assembly code.
Re:Should you use Yes/No or Ok/Cancel on your message boxes? on Sunday January 06, 2013 @10:30PM (#5019109)
I've seen set top boxes that offer three answers to yes/no questions.

"Switching the channel will switch to live mode and lose your rewind buffer. Do you want to switch to channels?"

[YES] [NO] [Cancel]

Re:Understanding C by learning assembly on Wednesday September 12, 2012 @09:59PM (#4514377)
There are diminishing returns to going deeper and deeper. But there's a big return for the first level.

I think it's useful to have a basic understanding of assembly so that you can debug better, or understand why some behaviors are undefined. I think that only takes a basic understanding of assembly though.

If you want to be an expert at assembly, you probably want to go deeper, but most people don't have that goal.