Better HN
topnewbestaskshowjobs
Log inSign up

califield

49 karma · joined Jul 14, 2014 (12y ago) · 29 submissions

CTO of RPG Classroom. @califield on Twitter and GitHub.
Submissions

comment 11y ago · link · parent

Women did not serve in combat roles during World War 2. There was about ten times as many men in the military than women at that time.

comment 11y ago · link · parent

Perhaps this is because um is closer to the mystical sound om/aum[1]?

[1] http://en.wikipedia.org/wiki/Om

comment 11y ago · link · parent

This is why I'm excited for VR. Now that equipment like Oculus Rift is going mainstream, there's an opportunity to move beyond managing "windows" to managing "objects", e.g. taking a phone call would not affect the notes you were arranging on the virtual desk in front of you. Current generation phones are trapped by the limited screen size of a handheld device.

Even worse than being disrupted would be if my phone started trying to guess what I was intending. "It looks like you're writing a letter."

comment 11y ago · link · parent

You could make it a redirect service for npm modules.

e.g. https://js.org/express 301 redirects to https://www.npmjs.com/package/express

Another idea is a blog. One of my favorite blogs is http://npmawesome.com/

comment 11y ago · link · parent

If moving the project to a new server is not feasible, then how does the client backup their data?

I refuse to work on projects that cannot be installed from scratch in a local VM.

comment 11y ago · link · parent

Modern browsers don't actually let you redefine `undefined`.

comment 11y ago · link · parent

Check out this excerpt from his 2001 semi-autobiographical film, "Confessions of a Sociopath":

https://www.youtube.com/watch?v=k-tHqOz5zTo

More information on the film:

http://creative-capital.org/projects/view/154

comment 11y ago · link · parent

I would set up a free Heroku application and provide SSL and caching by redirecting it through CloudFlare.

I host a lot of static websites like this.

comment 11y ago · link · parent

The article is missing an important piece of information: can you buy a drink at the bar with it?

comment 11y ago · link · parent

Perhaps this is too far outside of your existing scope of functionality but I'll throw it out there: I would really love a "Hacker News Alerts" feature. I make the same searches every week on a few key terms but it's a manual process.

If you could push new search results directly to my inbox it would be convenient.

comment 11y ago · link · parent

I make really delicious slow cooker black beans every Sunday, following this recipe I found online:

http://cafejohnsonia.com/2013/02/how-to-slow-cooker-black-be...

She recommends skipping the soak and I haven't noticed any problems yet!

comment 11y ago · link · parent

Another great resource for free, permissively licensed music and sound effects is OpenGameArt.org[1], although they mostly focus on assets for retro games.

[1] http://opengameart.org/

comment 11y ago · link · parent

Big payment processors like Stripe are storing your full credit card number forever whether you choose to "Remember me" or not.

The checkbox is whether you want to be able to pay again without retyping it.

comment 11y ago · link · parent

They're going to trade Bitcoin under the NASDAQ symbol COIN. I love it!

comment 11y ago · link · parent

I use the `dotenv`[1] package with Node.js and it does exactly the same thing: environment variable definitions that you can store elsewhere in a dead-simple format.

To be fair, I think they just copied the `foreman` tool from Heroku. However, it works great. Most projects don't need anything more than a flat hierarchy of secret keys and values.

Writing your own parser for a `.env` file is a piece of cake, even in shell language.

Adding `etcd` is better, but it's too much work for a small project.

[1] https://github.com/motdotla/dotenv

comment 11y ago · link · parent

It would be a little more clear if they compared it to L20n[1] (their internal Mozilla browser localization API) and how this is going to bring those open standards to browsers.

Let's get deeper than money classes.

[1] https://wiki.mozilla.org/L20n/FAQ

comment 11y ago · link · parent

I would title this article, "Infinite recursion considered harmful".

comment 11y ago · link · parent

This article reads like a mind dump lacking a cohesive narrative... I mean look at how the author closes the article:

> This article isn't really about callbacks and it isn't even really about APIs.

Well then, perhaps you should have named the article something else...?

comment 11y ago · link · parent

#bbg on Freenode is a channel for HTML5 canvas game hacking. I try to poke my head in and listen once in a while.

comment 11y ago · link · parent

Yeah, but typically you have a certain level of trust in your project dependencies. Adding a library to your project often means granting access to your system anyway (if the dependency contains executable code).

comment 11y ago · link · parent

I was wondering who found this vulnerability. You have to click through to the Git mailing list announcement[1]:

> A big "thanks!" for bringing this issue to us goes to our friends in the Mercurial land, namely, Matt Mackall and Augie Fackler.

It'd be interesting to hear how they came across this. Matt is the leader of the Mercurial project and Augie is a Mercurial core contributor.

This doesn't seem like a high priority upgrade since GitHub now blocks the vulnerability from being pushed to their servers.

[1] http://article.gmane.org/gmane.linux.kernel/1853266

edit: Upgrade ASAP!

comment 11y ago · link · parent

> The code comes back to us, and we have to redo it -- there's nothing good about this.

Implement code review and start rejecting their pull requests with constructive criticism and mentoring.

comment 11y ago · link · parent

`f` in your example is a global function that cannot be redefined.

comment 11y ago · link · parent

The author doesn't mention the go-to option in this scenario: write a data mapper[1] to dehydrate your object.

While I'm a huge proponent of PostgreSQL and the hstore[2]/JSON column types (hstore column type is not mentioned but it existed way before JSON columns), it's still more common to use PostgreSQL in a primarily relational fashion and the author could have touched on that more before giving us the scoop on the new shiny stuff.

[1] http://martinfowler.com/eaaCatalog/dataMapper.html [2] http://postgresguide.com/sexy/hstore.html

comment 11y ago · link · parent

This is an exciting space right now. I'm gearing up to launch RPG Classroom this Spring. The name is sort of a combination of their old and new names (gaming and mentoring).

I think their price is a little high, but I guess they have an obligation to charge what people are willing to pay. Instead of charging $30,000, my idea is to accept Bitcoin donations if people are happy with their education.

Besides teaching computer science, I think gamification is a natural next step for primary education (K-12) in this era of attention challenged kids and I hope MakeSchool isn't back-peddling on that. For example, instead of making proof of concept games, I want to put out an RPG that teaches Biology 101 (or build a platform that enables someone else to do it).

comment 12y ago · link · parent

To be honest, this library doesn't really make sense.

Perhaps a related but more useful idea would be to adjust the colors of your site to match the user's local time like f.lux...

comment 12y ago · link · parent

> We're getting more monolithic and coarse-grained.

At the same time we are pushing more heterogenous software stacks to production and configuring more specific dependencies for our applications.

It almost seems like you're using cross-platform as a pejorative. ;)

comment 12y ago · link · parent

As the founder of a "game engine startup", I found this post extremely useful. I'll be purchasing your book if only to support your marketing research.