Better HN
topnewbestaskshowjobs
Log inSign up

doty

1,094 karma · joined Aug 20, 2009 (17y ago) · 137 submissions

John Doty
Submissions

1.

Human Interface Guidelines: The Apple Desktop Interface (Final Draft, 12/1/1986)(archive.org ↗)

2 points · by doty · 2y ago · discuss

comment 3y ago · link · parent

> Look, most modern software is spending 99.9% of the time waiting for user input, and 0.1% of the time actually calculating something.

I'm sorry to say that this argument is not even wrong.

As programmers, it is not useful to us to think about that 99.9% of time. The 0.1% of the time is literally our entire job.

"Most of the universe is not Earth, so why do we spend so much time thinking about things on Earth?"

comment 4y ago · link · parent

Am i mis-reading this article?

BESIDES not having any particular way to validate a token without asking the service, making the rate a hell of a lot slower than 2^64 tokens per second (lol wut) doesn’t it also assume that you have 2^46 valid tokens in existence? Isn’t that 70 TRILLION valid tokens, or nearly 9000 tokens per human on earth?

comment 4y ago · link · parent

From the post:

> The same doesn't apply to the player sprite, as Aseprite takes minutes to compile the atlas for the nearly 1000 frames we have.

Why does compiling a sprite atlas for the player take 60ms/frame?

comment 5y ago · link · parent

I say- it’s like they hooked a computer to a car. At first I thought “oh man, look! They hooked a computer to a car! Think of all the cool things you can do!”

A few months later I had learned how to reboot the drivers side door latch because of a software failure, somewhere… and I thought “oh yeah, right. It’s like they hooked a computer to a car.”

comment 8y ago · link · parent

BTW that code has a security vulnerability in it: the size computation can overflow and you can end up shrinking your buffer, and you will end up smashing your heap, and then bad things.

7.

An Engineer's Bill of Rights (and Responsibilities)(charity.wtf ↗)

2 points · by doty · 8y ago · discuss

8.

Deconstructing the Water Effect in Super Mario Sunshine(blog.mecheye.net ↗)

4 points · by doty · 8y ago · discuss

comment 9y ago · link · parent

If you are subscribed, the footer of the page reads as follows:

You can share this article! This URL can be posted anywhere you like, including in public. Anyone clicking on it can read the article without logging in. The URL is specific to your subscribed account, but no one outside of Destroy All Software can identify your account simply from the URL.

comment 9y ago · link · parent

Don't the tuples with named values do that for you?

    (string first, string middle, string last) LookupName(long id)

11.

Writing Video Games in a Functional Style(prog21.dadgum.com ↗)

7 points · by doty · 9y ago · discuss

comment 10y ago · link · parent

I think this PYNQ is Python Productivity for ZYNC (http://www.pynq.io/), not "Python Implementation of Linq" (https://github.com/heynemann/pynq), as suggested by the title.

13.

Debugging unknown code in an unknown language with an unknown debugger(bitfunnel.org ↗)

2 points · by doty · 10y ago · discuss

14.

Asking good questions is hard (but worth it)(jvns.ca ↗)

1 points · by doty · 10y ago · discuss

15.

Eve Dev Diary (August 2016)(incidentalcomplexity.com ↗)

38 points · by doty · 10y ago · 18 comments

16.

How do you decide what to work on?(jvns.ca ↗)

3 points · by doty · 10y ago · discuss

17.

Release it, then build it(jvns.ca ↗)

1 points · by doty · 10y ago · discuss

18.

Breaking Down: Tic-Tac-Toe in Eve(incidentalcomplexity.com ↗)

3 points · by doty · 10y ago · discuss

19.

An open letter to a Reddit Commentator(destroyallsoftware.com ↗)

2 points · by doty · 10y ago · discuss

20.

Python FAQ: Why should I use Python 3?(eev.ee ↗)

1 points · by doty · 10y ago · discuss

21.

Fun vs. Computer Science(prog21.dadgum.com ↗)

3 points · by doty · 10y ago · discuss

22.

Braid Cleanup (part 4)(number-none.com ↗)

2 points · by doty · 10y ago · discuss

comment 10y ago · link · parent

From http://number-none.com/blow/blog/programming/2016/07/07/brai...:

The game Braid originally shipped to the world in 2008, and after some ports in 2009, I have only worked significantly with the code on a few occasions. But I want to maintain this game indefinitely into the future; in the back of my mind, there have always been some clean-ups that I have wanted to perform on the code. Often when shipping a game, the best answer to a problem isn’t evident, and we are under time pressure, so we solve the problem in some way that is sufficient but sub-optimal. Other times, we need to design the game to meet technical constraints of systems we want to deploy on, but as the years go on, these systems become irrelevant, so the code can be cleaned up. I figured it would be interesting to talk about some of these things in a blog (and the blog will help motivate me to think about these situations and clean some of them up!)

24.

SimCity, Part 1: Will Wright’s City in a Box(filfre.net ↗)

3 points · by doty · 10y ago · discuss

25.

Death of a Language Dilettante(prog21.dadgum.com ↗)

122 points · by doty · 10y ago · 65 comments

26.

You can take the derivative of a regular expression?(jvns.ca ↗)

4 points · by doty · 10y ago · discuss

27.

Planet – by Oskar Stålberg (3d polygonal planet builder)(oskarstalberg.com ↗)

2 points · by doty · 10y ago · discuss

comment 11y ago · link · parent

I am reminded of JWZ's "On Toolkits" (https://www.jwz.org/xscreensaver/toolkits.html):

"Let's suppose that down in the bowels of some particular version of some particular toolkit library, there lurks a bug. Let's suppose that the nature of this bug is something relatively obscure: say that it's something like, if you hold down 5 keys on the keyboard for 10 seconds then drag the middle mouse button, the text entry widget gets a SEGV. (In fact, I'm not making this up: I saw this very bug once, years ago.)

Now, that's the sort of bug that is not likely to be noticed or fixed, because it's the sort of thing that people "never" do. If that bug was reported against, say, a web browser, nobody would much care: User: "I can crash my web browser by doing this crazy thing!" Developer: "Uh, don't do that then." And that's not a totally unreasonable response.

However, in the context of security software, it matters, because then it's not merely a cute trick that crashes the program: now it's a backdoor password that unlocks the screen."

29.

Twitter is a crowded bar(fishbowl.pastiche.org ↗)

8 points · by doty · 11y ago · 2 comments

12345