Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
graue
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
211.
▲
by
graue
13y ago
No. Usually experienced players will begin in a cell like a2, b1 or b2, cells near to the top left corner — these are considered fairly neutral opening moves. I wish I could link you to the Hex Wiki (hexwiki.org), where players much more ad
212.
▲
by
graue
13y ago
A 13×13 .png of line art stretched to 30×30 or 5×5 is gonna look pretty ugly[1]. Am I misinterpreting you? [1] I tried it: http://toxicsli.me/file/hexes.png Leftmost is original, others resized.
213.
▲
by
graue
13y ago
As in a .png? Certainly simpler, but I wanted to be able to change the hex cells' radius with one line of code. In fact, the way it is now, you can change one constant in the code to make the board size anything you like — 10×10, 13×13, 19×
214.
▲
by
graue
13y ago
Neat. I like how when you move the cursor over a cell, a path to that cell lights up. It might be nice if there were a defined exit you could go to and win the maze.
215.
▲
by
graue
13y ago
This is an amazing resource. Bookmarked. I recently implemented the board game Hex[1] using canvas. I didn't need most of this stuff... really only "neighbors", "hex to pixel" and "pixel to hex". Hex uses a rhombus grid, a possibility surpr
216.
▲
by
graue
13y ago
While I may have phrased my post somewhat harshly, I too asked because I wished to improve my understanding, and the responses have definitely helped.
217.
▲
by
graue
13y ago
I'm not sure how great of an example it is, but I had the thought when recently rereading this routine from an old game, reading its level file: static void scanlevel(int num, FILE *fp) { filemap_t filemap; int i;
218.
▲
by
graue
13y ago
> I've seen people burn red lights right in front of police officers and get no reaction. Heck, I've seen police cars burn red lights(for no reason, sirens weren't on, they were driving pretty slow, they just felt like it). As another
219.
▲
by
graue
13y ago
Wait a sec, are you implying the remote employees live somewhere with a lower cost of living than Chicago? In my experience Chicago is pretty darn cheap, comparable to a place like Berlin.
220.
▲
by
graue
13y ago
The lack of exceptions just seems like a total bear to me. I wrote C for 10 years and did tons of stuff like: Open file "foobar.dat". If that fails, abort with this error. Read the first 4 bytes into x. If that fails, abort
221.
▲
by
graue
13y ago
No one who steals your Facebook password can get into anything as serious as your entire medical history. The proposal is dangerous precisely because it's centralized — in the sense of centralizing all different types of data on a particula
222.
▲
by
graue
13y ago
Look, I'm not saying don't go for this idea. I'd love to see you try it. My doubts shouldn't get in your way. Code it up. As for why it would be difficult to use and insecure? I'm guessing most of the people you hang out with are probably g
223.
▲
by
graue
13y ago
But since most startups fail, won't the equity be worth little to nothing in the median case? Kind of like playing the lottery.
224.
▲
by
graue
13y ago
> Imagine if the wealth of data collected about you all went to one place, and, most importantly, was controlled by you. Imagine if Company X had to pay you to know about your Amazon spending habits instead of paying Amazon. Even more
225.
▲
by
graue
13y ago
Interesting to read about the story behind this. I recently tried to use Airbnb to get a last minute spot in Boston. The most annoying part of the ID process was that it acted like everything was cool, let me browse the site, let me make a
226.
▲
by
graue
13y ago
I like this. Is there anything comparable for Python or Node.js?
227.
▲
by
graue
13y ago
I think you misunderstand — this seems to have been claudius' point: > Note that usually it's best to allow requests that have no referrer header at all, otherwise you'll be blocking some legitimate viewers of your site.
228.
▲
CPU core estimation with JavaScript
(eligrey.com)
1 points
by
graue
13y ago
|
0 comments
229.
▲
by
graue
13y ago
> It's inevitable people will reverse engineer the client, as was done with MSN, Y! Messenger, and AOL. I hope you're right, but to my knowledge, this has never been done with Skype, and to this day you can only call a Skype-using fri
230.
▲
by
graue
13y ago
> Instagram was starting to cannibalize the facebook youth userbase Tumblr, too, is doing exactly that, if you believe this January survey: http://articles.latimes.com/2013/jan/11/business/la-fi-tn-tu... Another survey, this one fro
231.
▲
by
graue
13y ago
I've seen that leaked PHP code before... does anyone have a link to the full story to go with it? Was it really only last year? The code is scary in so many ways. I assumed it was from Tumblr's early days and they long since fixed it up.
232.
▲
by
graue
13y ago
Sort of. I don't list my full name in my profile, but it's on the blog I link to there. The one degree of separation is nice. You can find out who I am from my HN posts, but you won't find my HN posts from searching my name.
233.
▲
by
graue
13y ago
> One of, if not my very first, comment's first comment was someone using my gender to denounce my opinion That sucks. I hope they were downvoted into oblivion, but either way, I know that kind of thing happens on HN and I wish HN wer
234.
▲
by
graue
13y ago
Probably the inventor of PGP: https://en.wikipedia.org/wiki/Phil_Zimmermann
235.
▲
by
graue
13y ago
This is great. Here's a bug report: If your browser window is narrow, the "Fork Me on GitHub" link overlaps the "Pause" button. (But the overlapping part of the GitHub image is transparent, so it's not immediately obvious why "Pause" doesn'
236.
▲
by
graue
13y ago
I'm a recent NYC transplant. In past places I've lived (VA, DC, MN) it's definitely the law that a bedroom must have an egress window — not just a window, but one that opens and is large enough you could exit through it in case of a fire. I
237.
▲
by
graue
13y ago
Did you not get the email? I'm a Name.com customer too and I didn't get this email.
238.
▲
by
graue
13y ago
HTTP Strict Transport Security[1] is designed specifically to prevent that attack. Unfortunately, Linode's manager doesn't seem to use it: $ curl -I https://manager.linode.com/ HTTP/1.1 200 OK Server: nginx/0.7.65 Date: Tu
239.
▲
by
graue
13y ago
Is there a list of changes since Go 1.1 RC1? Just curious what held up the release.
240.
▲
by
graue
13y ago
UX maybe, but the visual design with that light gray text on white is terrible. On my MacBook, I had to turn the brightness up to painful levels, and even then it's barely readable.
More ›