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 Ask HN: Where to start on creating AI for games?
Seconded. Covers a lot of ground, lots of great examples, the code is language-agnostic (Python-ish). Hard to go wrong with this book on your shelf.
drhayes9··on The Reddit Front Page Is Not a Meritocracy
I think, at least in the US, our extreme politicization makes that difficult: http://www.vox.com/2014/11/1/7136343/gamergate-and-the-polit...

My favorite part of this article is the graph showing how "Do you think Twelve Years a Slave should win an Oscar" breaks down by party lines.

drhayes9··on Show HN: JavaScript Battle – A daily artificial intelligence battle
CoreWars but with JS and GitHub! Cool idea.

I'd be very interested in hearing about the server-side setup, especially around isolating the code so some rando doesn't "require('fs')" and do damage to the server. How are you isolating the brains from the sensitive game data and from each other? How long does a single game take to run given max users? How are you protecting against "while(true);"?

Here's a repo that looks related: https://github.com/JavascriptBattle/javascript-battle-webwor...

drhayes9··on Vulcan: Inspect your database in your browser
It does, yeah! Thanks for letting me pester you.
drhayes9··on Vulcan: Inspect your database in your browser
What does it do when there's 10k items? Is there a search or are you scrolling through all of them to find what you want? Is each expansion a network request to get the fields of the child?

I've been thinking a lot about how to solve this and I don't really have any answers. Curious if you're doing something different.

drhayes9··on Vulcan: Inspect your database in your browser
This looks and performs pretty great. Good job! Is this going to replace Forge?

How much large of a list have you opened up in it? 1k? 10k? I don't have a Firebase with a ton of children off a leaf or else I'd test it myself. ( =

I notice that it's a DevTools panel. I expected it to be able to read the Firebase I was using in my app, but it asked for a URL instead. Since it's not related to the app I'm looking at, maybe it should have its own page instead of being in the DevTools? Or be a separate Chrome app?

The security permissions ask for all my data on all websites, but doesn't it really only need to read *.firebaseio.com?

drhayes9··on Show HN: Set OS X files and folders to self-destruct based on tag
For easy-to-use OSX automation I'm a big fan of Hazel: http://www.noodlesoft.com/hazel.php

I bet you could set up something similar in it.

drhayes9··on Show HN: Impulse – Dynamic JS Animations for the Mobile Web
It seems like such an obvious idea: rather than rely on mathematical guessing games with easing functions, animate the elements at the velocity of the user's gesture and apply physics to that.

Having messed around with 2d games this seems really intuitive and exciting. Nice job and well named.

drhayes9··on Show HN: Impulse – Dynamic JS Animations for the Mobile Web
Very cool! The animations are just buttery smooth.

coderzach, since you're here and responding, how would you compare your library to Velocity? (http://julian.com/research/velocity/)

EDIT: Ah, should've kept reading. The answer is here: http://impulse.luster.io/guides.html

drhayes9··on Social Media and the ‘Spiral of Silence’
I'm not super interested in developing a hierarchy of sins since I don't think it's useful or realistic.

You asked if he'd engaged in actual discrimination -- by donating that money, he had. Having the opinion wasn't what people were mad about.

drhayes9··on Social Media and the ‘Spiral of Silence’
Yes. I think turning this into a discussion about "Person A supported political position X and People Y protested against it" misses a lot of the subtlety in the piece.

I was thinking more about those times that I've sat in work meetings and been asked if I objected to something and said nothing when I actually do object because I knew few others agreed with me.

drhayes9··on Social Media and the ‘Spiral of Silence’
No, I'm bigoted against people who send money to organizations who support kicking puppies. Just to stretch this metaphor to the breaking point.

EDIT: His donation is actual discrimination based on someone's sexual identity.

drhayes9··on Social Media and the ‘Spiral of Silence’
Yes, but don't minimize it.

Metaphorically, it's the difference between a guy with a big stick who makes stuff up so he can beat your face and a crowd of people voting on what court system to set up to give you a trial.

drhayes9··on Social Media and the ‘Spiral of Silence’
I disagree.

The strict definition of bigotry is viewing other groups with suspicion, hatred, whatever. So, yes, I'm okay with being bigoted against people who kick puppies.

I think the more meaningful definition of bigotry within the context of social equality is an expression of power that flows from those with power to those without it. In this case, the one with power (rich white guy) trying to remove previously granted rights from marginalized folks (gays wanting to get married).

The fact that the rich white guy, in this case, was the newly minted CEO of a corporation that strives to bring "Internet equality" added a spice of irony to the whole thing.

drhayes9··on Social Media and the ‘Spiral of Silence’
I'll risk more downvotes, I guess, what the heck.

Here are the main differences I see: the power dynamic at play, the scale of the effort, and the availability of concrete proof of action.

The Hollywood Blacklist was an attempt by studios and directors and some in the US government (those in power) to ban those underneath them based on, largely, unfounded allegations of Communist sympathies. It also had anti-union motivations, but I might be wrong? It took down dozens of actors, directors, and producers. No concrete "anti-American" actions were proven (that I know of).

Brendan Eich stepped down after his customers (and some of his employees) found proof that he'd donated to a cause supporting Prop 8, a piece of legislation that would have removed previously granted rights to homosexuals trying to marry. The donation was a specific action that Eich took that his customers disagreed with.

I think the power dynamic is the telling one. Oligarchic vs. grassroots, etc.

drhayes9··on Social Media and the ‘Spiral of Silence’
Except for threatening someone's life?

Let's not get too hyperbolic here. A rich, white guy was forced out of a CEO position and he was "silenced"? He could have given interviews about his position at any tech magazine he could reach by phone. He could publish a blog post on his site. None of this suggests that he was silenced.

Let's save the powerful terms for bigger travesties is all I'm saying.

drhayes9··on Social Media and the ‘Spiral of Silence’
Nobody silenced Brendan Eich. He is free to say whatever he wants about his political affiliations and his personal ideals.

With that freedom comes the concomitant responsibility for the consequences of that speech.

In fact, I think it's admirable that he didn't back down from his position or try and weasel-word his way out of a difficult situation. He stuck to his guns in the face of a firestorm of controversy.

drhayes9··on The History of Civilization
Might be too simple when measured against those heavies, but check out Neptune's Pride 2: http://triton.ironhelmet.com

Slow, real-time 4x strategy game with no randomness and lots of fun.

drhayes9··on The Best Programming Font: M+
Caveat: "Infinite are the arguments of mages."

My current favorite programming font is Inconsolata, but I'm being swayed by Source Code Pro.

drhayes9··on Show HN: Free, anonymous coding interview practice
Kinda off-topic: where'd you get the batman icon?
drhayes9··on Put Yourself Out There: The Myth of the Genius Programmer
Out of how many programmers in the world, ever? They're basically statistical noise against the backdrop of all coders everywhere.

As a sidenote, I'd put Grace Hopper up there instead of DHH, and Dennis Ritchie and Ken Thomopson seem to be missing. ; )

drhayes9··on PlayCanvas goes open source
Anyone able to compare this with Phaser (http://phaser.io/)?
drhayes9··on Knod – A Tiny HTTP server for your current directory with writes
That's why I prefer it. A dev site with a bunch of resources could wedge the SimpleHTTPServer every couple of page loads. Still haven't overwhelmed http-server.
drhayes9··on Knod – A Tiny HTTP server for your current directory with writes
Just chiming in with Node's http-server: https://www.npmjs.org/package/http-server
drhayes9··on The ups and downs of doing online multiplayer as an indie
I like Daniel Cook's comment: http://www.gamasutra.com/view/feature/217434/the_ups_and_dow...

I read it as, "Are you aware that the engineering costs of non-local multiplayer can pay out many more rewards than simply designing for local multiplayer?"

I think framing this problem in terms of a design challenge yields a lot of fruit. Can my game be turn-based or only vaguely real time? (see http://triton.ironhelmet.com/ or any number of board game translations) What kind of players are attracted to games that don't demand large simultaneous time commitments? Etc.

drhayes9··on “Game Programming Patterns” is now finished
I'd like to second this. I would very much like to throw money your way.
drhayes9··on Why The Clock is Ticking for MongoDB
This seems totally reasonable to me. I was playing around with using Firebase (https://www.firebase.com/) as the datastore for a turn-based multiplayer game on the web and its data policies seemed very well suited.

Essentially, each game was its own document and relevant stats were updated/duplicated on the player documents as well.

There don't seem to be useful relationships here that I'd want to query. Maybe successive game states? But not across different games, right?

drhayes9··on My Ideas, My Boss’s Property
Of course, IANAL. I also don't like those kinds of employment clauses.

The way I understand it those clauses are written to prevent the kind of situation where you have a problem at work, can't solve it, go home, solve it, then offer to license it to your employer the following day for a reasonable charge.

drhayes9··on How Rare Are Anti-Gay-Marriage Donations in Silicon Valley?
This is pretty clearly a "right to swing your fist ends at my nose" situation. If your parents aren't attempting to limit homosexuals' ability to live as equals with non-homosexual humans then, yes, they shouldn't be persecuted for their beliefs. However, if they donate to political causes that are anti-gay-marriage, or march in support of those who do, or sign petitions asking for the right to marry to be repealed...

If you're uncomfortable with associating the word "hate" with "against gay marriage", consider what opponents of gay marriage are trying to stop:

* A person easily being able to be present at the deathbed of their lifetime partner.

* Joint custody of children.

* Tax breaks.

drhayes9··on Brendan Eich Steps Down as Mozilla CEO
Probably the comment-to-upvote-ratio flamewar detector. I believe that once a story gets more comments than it has upvotes its ranking gets dropped.
← PreviousPage 5 of 10Next →