Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
T-hawk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
52 ms
·
331.
▲
by
T-hawk
12y ago
That last isn't defined explicitly. It's an emergent property from the constraint that the solution must be unique. Any blue circle (or any linear group of them) that is not in line-of-sight with a numbered circle would have no c
332.
▲
by
T-hawk
12y ago
Yes. Any deduction that you could reach from that fact could also be reached from other constraints on the board. Here's an example illustration, from the top-left corner of a board: y B R x R _ _ _ _ If x is red, then y is
333.
▲
by
T-hawk
12y ago
That's what the hint button is for. If you start adding any automated processing like that, then you're only a couple more processes away from the game just solving itself without you. The elegance of this implementation is that
334.
▲
by
T-hawk
12y ago
This approach is effective, but is stateful and iterative. There's elegance and quite likely reduced computational load in a functional approach that can give the wave height value with only the inputs of the coordinates and time. Th
335.
▲
by
T-hawk
12y ago
It's discontinuous if the value is undefined at the origin. That happens here because the denominator of (x + t) yields a division by zero. A nonzero slope would give a kink in the curve, but not a discontinuity. One approach to av
336.
▲
by
T-hawk
12y ago
It's possible with a regex. Here's one spectacularly awful way: enumerate through all the permutations of 3 out of 4 character classes. Assume the classes are A, B, C, and D just to simplify the syntax here: (.*A.*B.*C.*)|
337.
▲
by
T-hawk
12y ago
If you're accessing objects that deeply, something is breaking the Law of Demeter about locality of reference and looseness of coupling. It's a syntactic convenience, but it leads to questionable patterns. Do you really want to s
338.
▲
by
T-hawk
12y ago
I understand the concerns, but the same "have you tried implementing" concern applies there too. This is premature optimization, until you do it both ways and profile it and see if the runtime difference matters. Cache locality
339.
▲
by
T-hawk
12y ago
Why are we storing in an array at all? Why keep that last vestige of rectangular representation? How about storing the map directly in cubic coordinates? The storage structure would be a dictionary with a three-value tuple as the key. It
340.
▲
by
T-hawk
12y ago
DEFINE BCCA(Q),< BCC Q> ;BRANCHES THAT ALWAYS BRANCH DEFINE BCSA(Q),< BCS Q> ;THESE ARE USED ON THE 6502 BECAUSE DEFINE BEQA(Q),< BEQ Q> ;THERE IS NO UNCONDITIONAL BRANCH
341.
▲
by
T-hawk
12y ago
Why do we delete the largest arc? I couldn't understand the elegance of the spiral until seeing that that had been done. Deleting that largest arc breaks the self-similarity. Without it, the topmost scale becomes an S curve and does
342.
▲
by
T-hawk
12y ago
Shareware involved two different ideas: the method of distribution, and the trial to paid purchase model. Shareware was genius in encouraging users to copy programs around to each other in the primitive days of computer connectivity. But t
343.
▲
by
T-hawk
12y ago
The actual answer to your question is that the Atari 2600's fundamental limitation is sprites per scanline, not per screen. It can draw lots of objects by reusing sprites across many scanlines, but can't draw many objects that ne
344.
▲
by
T-hawk
12y ago
Yup. Estimation inflation syndrome is a thing. One of my previous jobs suffered from that all the time, on database sizing. How much space does the client need for this trading app? DBA figures 1k transactions per day at 1kb/record
345.
▲
by
T-hawk
12y ago
There's a disconnect in the show's treatment of parts of the characters' lives, which accounts for the divisive polarity of opinions on it. The show manages to be both pro-intellectual and anti-intellectual in different area
346.
▲
by
T-hawk
12y ago
This is correct. I think I may have fat-fingered a downvote on you.
347.
▲
by
T-hawk
12y ago
> btw, does anybody else think it's weird NYC hasn't integrated either airport into the subway system? For LaGuardia, it's basically NIMBYism. JFK has the AirTrain connections to the subway and LIRR. Why that, why not jus
348.
▲
by
T-hawk
12y ago
Is this the sort of thing that's in the scope of JREF's challenge? It says "psychic, supernatural, or paranormal ability". If this experiment does show a result from manipulating mental age with a throwback environment
349.
▲
by
T-hawk
12y ago
There's some no-true-Scotsman going on there. If one defines anywhere with more poverty than the US as not western, then by definition the US will have the most poverty of western societies.
350.
▲
by
T-hawk
12y ago
The thing is, layout is content. Even right here on HN. One comment being a reply to another is indicated visually with a level of indentation. That's semantic meaning. A comment saying "I disagree" carries vastly differ
351.
▲
by
T-hawk
12y ago
This is getting rather off topic for HN. The best place for MLP CCG talk is on Reddit: https://www.reddit.com/r/mlpccg Hasbro does not produce MLP CCG. Enterplay does. Enterplay is a separate company that is not a s
352.
▲
by
T-hawk
12y ago
Holy Celestia, a fellow MLP CCG brony on HN. We've really got all types here. The constraint on global distribution is Hasbro, who owns the MLP intellectual property and chooses to license it out on a per country basis. Enterplay is
353.
▲
by
T-hawk
12y ago
Here's my favorite, from the Atari 2600. The graphics chip has two "missile" objects that act like simple sprites that are only one bit wide. They are each enabled or disabled by writing 1 or 0 to a certain bit of a certain
354.
▲
by
T-hawk
12y ago
It's competitive. The price is $879, for those who missed it deep in the article. There are many places where 45 days worth of rent at that price will get you worse environs than a train.
355.
▲
by
T-hawk
12y ago
Regulatory capture. Interests concerned with protecting ISPs' monopolistic profits have more government influence than interests concerned with the good of the consumer.
356.
▲
by
T-hawk
12y ago
Usenet is the closest thing we've got to that. Although it lacks any voting or ranking system to filter content. Whether that's a bug or feature is debatable.
357.
▲
by
T-hawk
12y ago
"Quasi-satellite" already has a different astromechanical meaning: http://en.wikipedia.org/wiki/Quasi-satellite
358.
▲
by
T-hawk
12y ago
> Another one is instant availability for open-ended road trips. It's not feasible to go visit a friend two hours away with the possibility of staying overnight with an Uber. Traditional car rental is for this usage case. Availabil
359.
▲
by
T-hawk
12y ago
I bet it was a Javascript system that tried to interpret month numbers of 08 and 09 as octal because of the leading zero. Am I close?
360.
▲
by
T-hawk
12y ago
Sorry but gotta jump in to set this straight. Amit programmed Solar Realms Elite. His brother Mehul did Barren Realms Elite. SRE came first, then later BRE was the more popular one thanks to the inter-BBS play.
More ›