"It is of course considered a fashion faux pas to wear a cap as a minotaur, it clashes with the horns. Although it does look jaunty, kobolds will laugh at you."
- Adam Sanderson
"If you want to do integer math on `Date` objects, you're best off forcing into an integer before doing anything else: (+ new Date) + 1000; The unary `+` operator will convert it to integer milliseconds. Also handy, you can things like this: var d = new Date; d.setDate(d.getDate() + 60); That will increment the date by 60 days."
- Adam Sanderson
"Your timestamps are in the `xmlschema` format. So just do this: Time.xmlschema("2013-05-19T23:11:10-04:00") #=> 2013-05-20 03:11:10 UTC It's faster and more foolproof than `Time.parse`. `Time.parse` will try a variety of formats, and pick the first one it thinks is right. Often that's fine, but in this case you know ahead of time what the format is."
- Adam Sanderson
"Yeah, it's true, you can do recursive CTEs. I glossed over them because I was trying to describe the naive approach so that people had a basis for getting started. I'll add a link to the 9.2 docs on recursive CTEs in the article."
- Adam Sanderson
"Maybe "Phone Screening Sucks", I spent a while trying to figure out why I'd use this on an iPhone ;) I've done various phone screenings with candidates in the past, and this looks useful, but instead of a carousel rotating through screen shots put some real world examples/use cases up top."
- Adam Sanderson
"Although I never won with a ghoul monk, I always have fun with them. Somehow I like the idea of a ravenous ghoul descending upon the orc mines. Nemelex is pretty easy since you can sacrifice just about every item you find as a monk."
- Adam Sanderson
"I saw it took Piety, so I avoided using it since I wanted to save it to heal myself (greedy!). Maybe the Piety hit wasn't as bad as I thought it would be."
- Adam Sanderson
"In the beginning you can get a rank or two of piety by sacrificing any weapons you come across, more if they're unholy (draining, pain, vampiric). Later if you've trained invocations, you can use Lesser Healing to turn monsters neutral. You get 1/2 experience for that apparently, but it's a great way to deal with fleeing monsters. By the end I could turn hydras neutral even when they were at full life, and dragons when they were in the red. On top of that, I think it uses smite targeting so if you feel like causing havoc, you can turn a monster in the middle of a pack neutral. Greater Self Healing was pretty handy, and occasionally Purification would be handy for curing rot, stat loss, etc."
- Adam Sanderson
"The simplest thing would probably be Random(targeting mechanism, effect, strength) which would probably be kind of boring. There was one game I played a long time ago where I think spells could be "built" by the user. In my memory the spell components could be pieced together kind of like a little programming language. Perhaps that could be the basis for creating random spells? You could imagine some kind of finite state machine type of thing that would control things like selecting the tile to be targeted by a spell, executing some effect, and possibly doing something else. The results would probably be pretty chaotic, but it could be kind of fun."
- Adam Sanderson
"I just came across this and thought anyone making a roguelike might benefit from it. The lighting and visibility components look pretty handy."
- Adam Sanderson
Just wrote up a handle little utility: https://t.co/toBdYK7JnP will run a single command whenever files in your working dir change.
"There's a similar project in ruby called [Heckle](http://ruby.sadi.st/Heckle...) for anyone who is interested. I haven't personally tried it, but the other tools in the ruby sadist collection are pretty neat."
- Adam Sanderson
"It's [Dungeon Crawl Stone Soup](https://crawl.develz.org/wordpre...), a surprisingly deep roguelike. I think it was a fork(?) of [Linley's Dungeon Crawl](http://www.dungeoncrawl.org/). If you haven't played it, give it a shot, there are binaries for most platforms, and you can even play it on the web. Keys are a bit odd if you're not used to roguelikes."
- Adam Sanderson
"Hey, this very slick. Great work! Do you always morph every time you kill a guy? It would be nice if hovering over equipment like the shards gave some indication as to what they do."
- Adam Sanderson
"Sorry there. I assume your point was that I should have slapped a [DCSS] on there. You're right, it was late, and I was tired, but amused. I should have been in bed, but I decided to share this with the kind folk on reddit."
- Adam Sanderson