Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Locke
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
Locke
17y ago
I've learned many abstract strategy games. I play some fairly well, others not so much so. When I approach a new game, I assume it will take many hundreds (or thousands!) of plays to become truly good at it. I assume that I will play poor
32.
▲
by
Locke
17y ago
I often "think" on paper. So, I use a pen and paper almost every day. This isn't writing intended for consumption. I'm the only person who ever looks at my own notes, and even then I only ever look back a page or two. Because I'm thinkin
33.
▲
Key-Value Stores For Ruby Part 2: Tokyo Cabinet
(engineyard.com)
13 points
by
Locke
17y ago
|
1 comments
34.
▲
The Game Design Lessons of Permadeath
(gamasutra.com)
4 points
by
Locke
17y ago
|
0 comments
35.
▲
by
Locke
17y ago
Cut-and-choose is known as the "pie rule" in the abstract gaming world. For games with a clear first move advantage the pie rule is sometimes applied to balance the game. The first player moves, and the second player then has a choice of c
36.
▲
What's up with Merb?
(groups.google.com)
2 points
by
Locke
17y ago
|
0 comments
37.
▲
by
Locke
17y ago
In what way? I've heard that a couple times, but it's worked fine for me in chrome so I'm not sure what I'm looking for...
38.
▲
by
Locke
17y ago
Nice. I've been lurking quite a bit on rec.games.roguelike.development lately. I'm surprised more roguelike developers haven't started targetting javascript / web browsers. Still a lot of C / C++ and curses. So, anyway, I've always wante
39.
▲
by
Locke
17y ago
Indeed, it is really basic. I guess I could see value in aliasing that to save typing. In my case, I have a "Screen" menu in fvwm with menu entries like this: + %terminal.png%"caspian" Exec exec xterm -geometry 80x25+30-28 -T "scree
40.
▲
Kind Acts of Randomness
(wizards.com)
6 points
by
Locke
17y ago
|
0 comments
41.
▲
Prolog in Haskell
(propella.blogspot.com)
22 points
by
Locke
17y ago
|
1 comments
42.
▲
by
Locke
17y ago
I've been working on my Z-Machine interpreter library again. It basically started as a project to turn Frotz into a Ruby extension (Frotz, probably the most popular interpreter, is written in C). The code has undergone quite a few transfor
43.
▲
by
Locke
18y ago
In my own library, I use inject instead of adding Array#sum. But, I know that's sidestepping the issue, not solving it. Honestly, I'm not sure how Rails uses #sum. I'm not sure whether they really need it or not. I suspect not. I'm n
44.
▲
by
Locke
18y ago
Usually, I think, people write sum with inject: [1,2,3].inject { |s,i| s + i } Which is presumably why sum doesn't exist.
45.
▲
by
Locke
18y ago
I'd almost blame this problem on Ruby not having its own standard Array#sum method (or more likely it should be a method on Enumerable?). I'm guessing a lot of projects add their own, so it's a natural source of conflict. Secondly, it seem
46.
▲
by
Locke
18y ago
Someone on reddit claims it's an exact copy of this: http://www.maxmind.com/app/geolitecity I haven't verified that claim.
47.
▲
by
Locke
18y ago
Yes, I meant mainly that it doesn't cover Ruby 1.9 or some newer libraries. While the Ruby landscape has changed a little since it came out, The Ruby Way still covers the core language and many still relevant libraries quite well.
48.
▲
by
Locke
18y ago
Poignant is fun . That's all. Probably the best book for really learning Ruby is The Ruby Way by Hal Fulton. Hal clearly gets Ruby. The book is thorough (although possibly a little out of date now), introduces a lot of idiomatic
49.
▲
by
Locke
18y ago
Am I reading this right? Are you actually saying ExplorerCanvas (canvas on top of VML) is faster than native canvas in firefox, webkit, etc? I have some experience with this -- my site uses canvas / ExplorerCanvas quite a lot -- ExplorerCa
50.
▲
by
Locke
18y ago
Here's, I think, the big philosphic difference: Some people only want good code in the repo. Some people want every change in the repo. I'm in the second camp. I'll gladly commit broken code and then fix it later. I don't push bro
51.
▲
by
Locke
18y ago
I'm not convinced there was anything illegal about the threatening / abusive postings. I think we need to be careful about protecting our freedom of speech. However, I'm very happy that those individuals who were identified have faced soc
52.
▲
by
Locke
18y ago
The role of mundane activities is interesting: A cup of tea, reading the newspaper, taking a walk, smoking a cigar, etc. People who have trouble sleeping are, among other things, supposed to establish a routine. Repeating mundane activiti
53.
▲
by
Locke
18y ago
The best situation for me has been one of my personal projects. It's a gaming site that I use everyday. The database dump is less that 100MB gzipped, so I load it in my development environment every week or so. That way as I develop I'm
54.
▲
by
Locke
18y ago
Verifying backups is almost always many times more difficult than setting up the backups themselves. Checking that replication was in fact working turned out to be fairly easy to automate (although, short of checksumming all the records in
55.
▲
by
Locke
18y ago
It's easy to say, "What? No backups... how stupid can you be?" But, without knowing the particulars, I wouldn't necessarily jump to that conclusion. It's very easy to have regular automated backups fail in some way. Unfortunately, it's n
56.
▲
by
Locke
18y ago
Which version of Ruby? 1.8 or 1.9? With my own projects Ruby 1.9 performs much better. Lua is well known for being small and fast, so I doubt Ruby 1.9 would beat it... Nevertheless, it'd be a lot more interesting comparison that Lua vs R
57.
▲
by
Locke
18y ago
I think it's fascinating how interested people are in quantitative analysis of speeches. How many times did he use the word "I". Which president said "I" the fewest times in an inauguration speech? What's the tag cloud look like. Obama g
58.
▲
by
Locke
18y ago
I'll miss the quiet "me time" of reading the newspaper in pyjamas in the morning, or at a restaurant on my lunch break (not in pyjamas). I'll miss the local sports coverage, box scores, etc. All of this is online, more or less, but it's ju
59.
▲
by
Locke
18y ago
Neat. It took me a while to figure out how to "undo" the slide. First I tried clicking the link that triggered the slide, then I tried clicking around the side pane itself, then I looked for links that might close the side pane, then I fin
60.
▲
by
Locke
18y ago
IIRC, that was a scene in the British version of The Office.
More ›