Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ryangittins
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
121.
▲
by
ryangittins
11y ago
Offhand, I think it could be useful for ensuring your regex is doing what you want it to do. Perhaps I'd write a regex to validate a xxx-xxx-xxxx telephone number: \d{3}\-\d{3}\-\d{3} Oops! I made a typo! That last 3 should
122.
▲
by
ryangittins
11y ago
Yes and no. Life experiences do not affect one's genes, but the way those genes are expressed. Though, I don't know if (and doubt) that distinction was known in his day.
123.
▲
by
ryangittins
11y ago
I think you've missed the joke.
124.
▲
by
ryangittins
11y ago
For the uninitiated: http://www.ibiblio.org/harris/500milemail.html
125.
▲
by
ryangittins
11y ago
I think (hope) it was a joke.
126.
▲
by
ryangittins
11y ago
What are you talking about? No one believes in the "wonder" of compound interest. They believe in the mathematics.
127.
▲
by
ryangittins
11y ago
No, he made well-reasoned points. You, on the other hand, have yet to.
128.
▲
by
ryangittins
11y ago
I've got a really good joke about UDP, but you might not get it.
129.
▲
by
ryangittins
11y ago
Hah, this is great! It reminds me of the classic static char buffer[1024*1024*2]; story from a few years back. http://www.dodgycoder.net/2012/02/coding-tricks-of-game-deve...
130.
▲
by
ryangittins
11y ago
I guess I was talking more about code in general than my specific case. My case is just what prompted me to ponder.
131.
▲
Ask HN: Can any code be made to look pretty?
1 points
by
ryangittins
11y ago
|
2 comments
132.
▲
by
ryangittins
12y ago
Agreed. It's extremely common where I live for various entities (colleges, cities, bars, etc.) to offer safe ride home programs free of charge. Some places just do it during holidays or other alcohol-related events, but some do it yea
133.
▲
by
ryangittins
12y ago
O brave new world, That has such consumers in't!
134.
▲
by
ryangittins
12y ago
Not that this isn't abhorrent behavior, and not that GoDaddy isn't a terrible company anyway, but this isn't exactly uncommon. It happens every day, with the prototypical example of this sort of thing is General Motors: htt
135.
▲
by
ryangittins
12y ago
I had a very similar experience. We went over Prolog for five weeks or so, and while I did thoroughly enjoy learning a whole new paradigm, it still felt like it was just a toy. All programs amounted to `YES` or `NO`, without any building
136.
▲
by
ryangittins
12y ago
http://en.wikipedia.org/wiki/Cultivation_theory
137.
▲
by
ryangittins
12y ago
Before anything else, Bitcoin is a way of transferring value anywhere cheaply, quickly, and without chargebacks, counterfeiting, or relying on a line of credit. If the exchange price stabilizes to the point where things can be priced only
138.
▲
by
ryangittins
12y ago
I'm relatively young, so perhaps I'm just incapable of fully understanding the impact of the classics throughout the course of a lifetime as you describe it. I like poetry and Shakespeare and whatnot, and they have impacted me in
139.
▲
by
ryangittins
12y ago
I think that what constitutes being well-rounded is somewhat subjective. It would certainly be lovely to have a society full of people that can appreciate poetry, can quote and enjoy Shakespeare, etc, but there is a point to be made about
140.
▲
by
ryangittins
12y ago
(look at English in common core where now 70% of what students are supposed to read is not classic literature, plays, poetry, contemporary fiction, but newspaper articles and speeches and the like) Maybe I'm misunderstanding, but are
141.
▲
by
ryangittins
12y ago
Hey, excellent game! I'm sure I'll waste a lot of time on this, haha. One feature that might be cool to have would be to make the gray background hexagon one block larger if you get four or five blocks in a row. That way, you&#x
142.
▲
by
ryangittins
12y ago
Excellent post; this is a very astute point. It seems that so often some algorithm is optimized in a microcosm, but would just never hold up in practice. This sort of optimization would almost certainly have more overhead than it would be
143.
▲
by
ryangittins
12y ago
I like the idea they're going for here, but I agree. For something like this to work, it should be as transparent as possible and easy to audit. Could you elaborate on your point on Bitcoin? I'm not an expert, but I have some ex
144.
▲
by
ryangittins
12y ago
Yes, that's correct. The default value is only interpreted once, when the `def` statement is called. After that point, it's completely mutable. You have to see Python functions as objects and default parameter values as object
145.
▲
by
ryangittins
12y ago
The l (lowercase L) and the 1 (one) look really similar. Could that be the cause of some confusion? Of course, the function name helps, but most developers have learned not to trust function names to be an accurate description of what the