HNHacker News
TopNewBestAskShowJobs

drhayes9

1,178 karma · joined March 18, 2011

Living in Austin, TX.

[ my public key: https://keybase.io/drhayes; my proof: https://keybase.io/drhayes/sigs/PXnm3PVm_lBEWf4LbWb4rC_SlGwNyzpYMnDiZ2OB8D4 ]

Verifying my Blockstack ID is secured with the address 1M1QN2SWzH4ecxeDgAjFDii1F6hSrGswLj https://explorer.blockstack.org/address/1M1QN2SWzH4ecxeDgAjFDii1F6hSrGswLj

submissionscomments
drhayes9··on How to Write a Pac-Man Game in JavaScript (2004)
Lots of variables enter into this, but here's Pixi.js' bunnymark if you want to try this yourself: http://www.goodboydigital.com/pixijs/bunnymark/

My system (OSX 10.10.5, 2.6 GHz Intel Core i5, 16 GB RAM) running Chrome 45.0.2454.101 (64-bit) gets north of ~80k bunnies before dropping FPS below 60.

Don't measure when adding, add a bunch and let it run for a bit.

drhayes9··on Embed Node.js on any website
That was one of the first things I tried when I found the service: https://tonicdev.com/drhayes/fun-with-fs
drhayes9··on Embed Node.js on any website
Education: show JavaScript examples with code the student can run.

Runbook: provide support staff executable blocks they can modify to record how they are fixing a support fire.

API docs: show off that NPM package you built with real examples the user can modify by putting in their own data.

That's off the top of my head.

drhayes9··on Medium Raises $57M
I know what you mean! I feel like I'm squinting at a typewritten page of text, or something fresh from the printer with maybe a little too much ink on it. It's beautiful, but such a departure from what I normally read it's always a little startling. Maybe my monitor isn't high enough DPI or something.
drhayes9··on Medium Raises $57M
I think the "don't own your content" part is neatly explained in this post: http://practicaltypography.com/billionaires-typewriter.html

Essentially, authors give up a lot of control to put their work on Medium. It's not that they no longer own their words but that they've given up specific notions of value to publish on Medium. And Medium has specific ideas about the value of the writing published on it reflected in its advertising, etc.

drhayes9··on My favorite interview question
The intent is that the job seeker asks these questions of the place that's hiring, not the other way around.
drhayes9··on My favorite interview question
My favorite question to ask as the interviewee is kinda isomorphic of that one: "If you could spare $10,000 of the engineering budget to fix anything in your business right now, what would it be?"

I also like the similar: "If you could spend one week fixing anything in your app, what would it be?"

drhayes9··on Inside the Feminist Hackerspace
You could imagine something like some churrascarias use: you have a little badge near you that shows green when you're good, or you turn it over to the red side when you need help.
drhayes9··on Why It's Safe for Founders to Be Nice
You seem to have a particular political axe to grind. Fair enough.

> It's not the job of companies to make "marginalized" groups feel welcome, or to be a good "culture fit" for anyone in particular, unless you (and the US Federal Government) make it their job.

That would be the Civil Rights Act of 1964 which makes it illegal to discriminate on the basis of race, color, religion, sex, or national origin. Yes, it is your company's job to ensure that you are hiring fairly across all marginalized groups.

You are free to "associate" with whomever you wish, at all times. But when through seeming coincidence some 96% of tech jobs are held by men I'd say there's something larger afoot.

My theory is sexism. It provides a testable hypothesis that has been proven multiple times. It makes predictions on other effects we'd see. Those have also been proven.

What's yours?

drhayes9··on Why It's Safe for Founders to Be Nice
Never said they weren't allowed, I'm not making a demand, and I'm not the one PG said is generally a nice person.
drhayes9··on Why It's Safe for Founders to Be Nice
I don't know, this feels like confirmation bias. When PG talks about founders being "nice", nice to whom? Their VC and advisor? Sure. Customers? Sure, hopefully.

But as we go down the line I'd argue that startups demonstrably aren't "nice": what does Uber pay drivers again? In fact, what startup in the task economy is "nice" to their workers?

When your startup holds meetups at bars, you're not being nice to marginalized groups that don't do well in these settings. When you haven't examined your hiring practices you're not being nice to the people you've "culture-fitted" out of your organization.

I like this vision, and I like the math. I'd just hope founders cast a wider net of niceness.

drhayes9··on Ask HN : What side project are you working on?
Working on a JavaScript Metroidvania using Phaser.
drhayes9··on 365 days of pixel art
Scott McCloud talks about it a bit in Understanding Comics when he talks about the "universality" of cartoony imagery: http://www.kylechipman.com/blog/wp-content/uploads/2009/01/u...

When it comes to certain kinds of art experiences I think too much fidelity gets in the way of the expressive power of the medium.

As an indie or hobbyist game dev it is way easier to create pixel art assets than higher resolution assets... never mind 3d. That's really powerful when combined with the universality component.

Sword and Sworcery, Fez, Moonman, vvvvvv, Corrypt ... lots of great pixel art goodness out there right now.

drhayes9··on Stephen King: “Everything You Need to Know About Writing Successfully”
My favorite rule from "On Writing" is "Second Draft = First Draft - 10%". What a godsend that rule is.
drhayes9··on BabylonJS – A JavaScript framework for building 3D games with HTML 5 and WebGL
They added 2d support in 4.3 a couple of years ago, but it was still really clunky then. Like, you still had to texture wrap 3d objects behind the scenes and it made 2d GUIs painful to use with no native pixel measurements.

Is that fixed in 5.0?

drhayes9··on BabylonJS – A JavaScript framework for building 3D games with HTML 5 and WebGL
Unity still doesn't have great support for making pure 2d games of the Mario/Metroid/Castlevania variety and is awfully heavyweight compared to an HTML5 canvas.

That, and the accessibility of the API vs. having to download and work in an IDE that you'll eventually have to pay money for mean more JS games.

Phaser.io[1] is a fairly comprehensive JS engine that is totally free. It's used to make professional games that run across a variety of devices.

[1]: http://phaser.io/

drhayes9··on How Google Hires
The person who interviewed you is going to write their brain-teasery questions into their interview feedback and get a strongly worded email from the Hiring Committee.

Statistically, across multiple interviewers, Google does not allow these questions.

drhayes9··on The Instrument That's the Key to Electronic Music's Future
I just bought this tiny MIDI controller: http://www.cme-pro.com/xkey-specs/

On the features list: "Polyphonic aftertouch".

It's a little scary; I thought that was a super common feature and didn't think to check that the one I was ordering didn't support it. I'm glad it does, though.

drhayes9··on TANX: online multiplayer tank battle using WebGL and Node.js
I was thinking the same thing but I chalked it up to lag.
drhayes9··on What Would You Recommend to a Bright 14 Year Old?
Same here. It's partially why I became a programmer – closest thing to being a wizard I could find.

I still have the original paperback versions that I read as a child sitting on my shelf waiting for my son. He's 2 1/2 right now, so I've got some waiting ahead of me.

drhayes9··on What Would You Recommend to a Bright 14 Year Old?
The first three books of "The Wrinkle in Time" series.

The first three books of the Earthsea cycle by Ursula K. LeGuin.

These both skew young but I valued re-reading them as I got older:

The Dot and the Line: http://en.wikipedia.org/wiki/The_Dot_and_the_Line

The Phantom Tollbooth: http://en.wikipedia.org/wiki/The_Phantom_Tollbooth

drhayes9··on Software Estimation Games
This book! A great introduction to transactional analysis and a very useful tool for disarming and defusing interpersonal strife.

This book helped me figure out that, in personal relationships especially, I could raise the discussion by one level and talk about the game I was playing in an effort to figure out why and get somewhere useful, emotionally. As in, "I think I'm just playing 'Why Don't You - Yes, But'. I need you to just listen to me while I vent."

Can't recommend enough.

EDIT: I should say that the edition I read seemed a bit sexist? I just ordered the new edition so we'll see if any of that text changed.

drhayes9··on The time has come to stand up for the GPL
IANAL. I'm not a GPL expert. But here's my reasoning:

1. Code written under the GPL is value created for public consumption. VMWare is violating the spirit of reciprocity by benefiting from that value, creating more value on top of it, then not releasing their additions for everyone to benefit.

So it's not about Christoph's benefit, nor the company's. It's about our benefit as the people not involved directly in that transaction.

2. I imagine copyright gets really hairy if you write something, someone comes along and modifies it over a period of a year or two, then claims ownership. I imagine the GPL helps clear that sort of thing up as well.

drhayes9··on Side projects
This is 100% my situation with my side project. Understanding that all of these are approximations for a weekday: 12-9: sleep then get kiddo ready then get me ready. 9-5: job. 5-6: transit (ouch). 6-9: family. 9-11: side project (occasional breaks for other stuff, reading, vegging, etc). 11-12: cooldown (sometimes missed).

I show everyone that shows the slightest interest what I'm doing. I make incremental progress then, as a reward, work hard towards specific milestones on my nights off; my wife and I trade nights where we don't have to be a parent and get to go off and play and I often just go to a coffee shop and work on my side project.

My slow progress can be extremely frustrating but I try to offset that with the gratification when I achieve my milestones. I used to doubt that I could be this disciplined until this particular side project; now it's effortless because I'm doing what I want to do and it makes me happy.

And, ultimately, that's what decided it for me: am I doing what makes me happy? That's motivating for me. Not money, not fame. That's why that 6-9 family time is pretty inviolate and I tend to spend all my time with them on the weekends. Ultimately, my family makes me happier than my side project so they get the majority of my time and thought.

But that side project is always waiting to be worked on. ( =

drhayes9··on Becoming a Tech Lead
I think being a tech lead in a flat organization is more of a matter of being the techy that other techies want to talk to. Sure, those other people aren't your direct reports... but there are still plenty of leadership and mentor opportunities.
drhayes9··on Flipboard releases React Canvas
That's one of the problems with rendering UIs on canvas: it doesn't work with a11y. And since it's not rendering tags, there's nowhere to hang the ARIA attributes.
drhayes9··on Flipboard releases React Canvas
What are the accessibility implications of drawing all controls of a web app to the canvas using React? Are there ARIA annotations available for React already?
drhayes9··on Photos Preview
Transporter does that as well: http://www.filetransporter.com/
drhayes9··on Build Static Websites
I'll put in a vote for Hexo: http://hexo.io/

Node.js-based, lots of plugins available via npm, sane themeing syntax. I have a script that generates my site and then pushes it to S3.

My site, such as it is, is available here: https://github.com/drhayes/drhayes.io

drhayes9··on Christmas Geotagging
You're totally right. But I think it's interesting to pick a bunch of random Instagram users in your area whose address you now know who start posting photos that are geotagged out of town. Now you know where they live and that they're not in their house right now.
← PreviousPage 4 of 10Next →