175 karma · joined Feb 27, 2011 (15y ago) · 51 submissions
comment 11y ago · link · parent
Instead of my kids accumulating more junk, they learn the skills of hiring and delegating.
Don't want to mow the lawn in this heat? Use your allowance to somebody else to do it. As long as the job is done they will earn their allowance.
I just need a way to make sure they're not outsourcing their homework or paying somebody buy them alcohol.
comment 12y ago · link · parent
She didn't change ^K^B, I still remember that one.
I had to learn WordPerfect in High School and hated the clunky command codes and the keyboard overlays required to make sense of it all.
comment 12y ago · link · parent
For example, if somebody posts a photo and describes as something that shocking that recently happened, the social network could add a tag "original photo taken year in location, context."
This would also be helpful in election years.
4.
Ask HN: Why hasn't the email client been reinvented lately?
8 points · by dc-tech-fan · 12y ago · 4 comments
comment 12y ago · link · parent
Github's preview mode doesn't render it correctly and I can't find anything about it in Github's docs.
Here's the source:
---
title: Michael Abrash's Graphics Programming Black Book, Special Edition
author: Michael Abrash
date: '1997-07-01'
identifier:
- scheme: ISBN
text: 1576101746
publisher: The Coriolis Group
category: 'Web and Software Development: Game Development,Web and Software Development:
Graphics and Multimedia Development'
chapter: '01'
pages: 004-019
---
https://github.com/jagregory/abrash-black-book/blob/master/s...comment 13y ago · link · parent
The drawing tool in the game and the anti-cheating systems are both things I created.
I'm impressed with your app. Instead of converting a bitmap to a pixel-by-pixel rendention (which people have done and it looks obvious) it re-draws it like a real drawing, picking one color at a time.
Paying users get a replay feature. It replays fairly realistically and that's difficult to detect as cheating.
Nice work!
comment 14y ago · link · parent
I wish it had drawing ability, but your art skills are way better than anything I could do.
Was this inspired by Windoodles? http://windoodles.tumblr.com/
comment 14y ago · link · parent
Doodles are stored as JSONP: http://doodles.s3.amazonaws.com/d2/5iSFn-ME/8qp73zuBe.js
This json renders in canvas as the page loads like these amazing drawings: http://doodleordie.com/profile/underwearhero
We want to make a native mobile app because we've heard that HTML5 is slow enough to frustrating. I tried a Lua-based framework and it was fun to use but the resulting drawing too was too slow to be usable because every line had to be created as a new object, instead of Canvas-like pixel manipulation.
comment 14y ago · link · parent
Use a library like Async, it makes this really easy.
https://github.com/caolan/async
(assume redis, mongo, facebook, and callback are all functions)
async.parallel([ redis, mongo, facebook], callback);
callback is called when all of the others are complete. If you have dependencies, like facebook needs the output of redis and mongo then use async.auto which will automatically run things in parallel and in the order you need them.
comment 14y ago · link · parent
Yes you get to keep your hearts in Ghost mode. It's for people like me who are embarresed about how bad they draw. Fun fact: I made this game because I wanted to make a game and my art skills are so bad I hoped instead I could get players to create the art for the game.
comment 14y ago · link · parent
There have been many times when I've wanted to give up on Doodle or Die. For example when somebody created a site called Screw Your Doodle to upload offensive images and users were asking for a reporting system that we didn't have yet and I had already been working every night on the site for much of the night...
comment 14y ago · link · parent
mongodb
async - no more insane levels of nested indents when doing async javascript
express - middleware
ejs - templating system
logging - very simple logging module i wrote more than a year ago when there weren't good logging modules for Node yet.
knox - for storing doodles and static assets on S3
uglify-js - compress that client-side javascript
stylus - much nicer way to write css. variables, functions, mixins, etc.
everyauth - authentication - supports more than we could ever want but we're just exposing Facebook and Twitter for now.
useragent - we only support modern browsers, sorry IE users!
shortid - module I created to give us very short unique ids that are not guessable for chain sharing, like http://doodleordie.com/c/Eih5TDOHk or http://doodleordie.com/c/1hODyac94#1to4
moment - nice time references, like "7 days ago"
canvas - we render doodles on the server and then save those pngs instead of accepting pngs from the browser because people figured out they could send us any image they wanted.
ansi - doodles above a certain number of brush strokes we convert to ansi and echo in our console log. This is my favorite feature of the whole site, especially because I got my start in online communities in the 2400 Baud BBS world when ANSI art ruled.
comment 14y ago · link · parent
We're using a 5 GB instance at MongoHQ with backups to S3.
Mongo is insane fast compared to what I'm used to with MySQL, and I love the JSON-based query syntax over SQL.
Not being able to do relational-type queries has made some things more difficult, like building "Top 10 List" of arbitrary data is a bit more tedious.
comment 14y ago · link · parent
For example:
http://doodleordie.com/profile/underwearhero
Let me know if those drawings load very slowly or not at all.
Anybody else using Chrome on Linux having this issue?
comment 14y ago · link · parent
I wish we knew about it before launching because there have been many times when deciding how the game should work that it would have been much easier to know how Broken Picture did things, such as how long chains should be and how to handle jerky players.
comment 14y ago · link · parent
EveryAuth: https://github.com/bnoguchi/everyauth
comment 14y ago · link · parent
Of course Native is better but the Doodle or Die fans want a mobile app now and Phonegap seems like a quick win because I know JS well and I don't know Java or Objective C.