Sign in or Join FriendFeed
FriendFeed is the easiest way to share online. Learn more »
netghost on (DCSS) Can minotaurs wear masks? - http://www.reddit.com/r...
"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
netghost on Converting a string into a Time class object - http://www.reddit.com/r...
"I am re-upvoting you out of whimsy!" - Adam Sanderson
netghost on Converting a string into a Time class object - http://www.reddit.com/r...
"If you do this, and your times have timezones attached, make sure you include that in the parsing format you pass in." - Adam Sanderson
netghost on Weird behavior with Date object in node - http://www.reddit.com/r...
"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
netghost on Converting a string into a Time class object - http://www.reddit.com/r...
"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
netghost on [Postgres] Modeling Hierarchies With Materialized Paths - http://www.reddit.com/r...
"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
netghost on Phone Screens suck. REPLs help them suck less. - http://www.reddit.com/r...
"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
netghost on [DCSS] Monk advice - http://www.reddit.com/r...
"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
netghost on [DCSS] MiFi of Elyvilon - My First Ascension! - http://www.reddit.com/r...
"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
netghost on [DCSS] MiFi of Elyvilon - My First Ascension! - http://www.reddit.com/r...
"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
netghost on Games with randomly generated spells - http://www.reddit.com/r...
"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
netghost on SlowmoJS, view the step-by-step evaluation of your JS - http://www.reddit.com/r...
"This is a really neat library, thanks for sharing it!" - Adam Sanderson
netghost on rot.js -- JS Roguelike Library - http://www.reddit.com/r...
"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.
Want to roll your own WYSIWYG editor? https://t.co/H3hae6E6h5 will help you get started. If you don't want to go mad though, eat some cake.
RT @angelinamagnum: http://sewingandembroideryware... Just keep scrolling. Forever. Until overwhelmed.
netghost on Who tests the tests? Mutation testing with PIT - http://www.reddit.com/r...
"You can use the Rubinius parser outside of Rubinius? That's good to know." - Adam Sanderson
PIT mutation testing - http://pitest.org/#fnref1
netghost on Who tests the tests? Mutation testing with PIT - http://www.reddit.com/r...
"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
netghost on Amusing Use For Skeletons - http://www.reddit.com/r...
"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
netghost on Finally released my Web-Based roguelike, Morf. Give it a shot! - http://www.reddit.com/r...
"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
netghost on Amusing Use For Skeletons - http://www.reddit.com/r...
"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
netghost on Amusing Use For Skeletons - http://www.reddit.com/r...
"Sorry, I forgot the [DCSS], I tried edit the title, but it doesn't look like you can?" - Adam Sanderson
netghost on Amusing Use For Skeletons - http://www.reddit.com/r...
"Actually, I guess the skeleton in question doesn't appreciate being blown up, Psyche's skeleton came back for me, heh..." - Adam Sanderson
Exponential Decay of History, Improved | Awelon Blue - http://awelonblue.wordpress.com/2013...
This is a pretty cool algorithm for storing historical data that prefers recent events. - Adam Sanderson
Just a Theory: Always Use TIMESTAMP WITH TIME ZONE - http://justatheory.com/compute...
Responsive Web Design Patterns | This Is Responsive - http://bradfrost.github.com/this-is...
Other ways to read this feed:Feed readerFacebook