Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
colomon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
331.
▲
by
colomon
13y ago
"People say that when a piece of Haskell code successfully compiles it is usually correct." Every time I see this claim, I wonder what the heck people are working on that is so simple that getting the types right is all it takes t
332.
▲
by
colomon
13y ago
I'd love to take another few semester's of Great Books. But would I love to pay $1800 to take it? Not so much. The current prices for college only make sense if you are preparing for a good career. Very few people would willing
333.
▲
by
colomon
13y ago
Perl 6 has proper types. If you produce a string, you are producing a Str object (well, technically it could be an object that does the Stringy role, but I don't think there are any other Stringy types implemented yet) and it will com
334.
▲
by
colomon
13y ago
Props to Haskell, though -- p6 makes it easy to do, but Haskell is definitely more elegant here. Though maybe if I keep playing with it...
335.
▲
by
colomon
13y ago
It's O(log n) because Haskell is smart enough to implement exponentiation by repeated squaring and summing as appropriate? (There must be a better name for that.)
336.
▲
by
colomon
13y ago
The only reason I haven't actually implemented a number type like this in Perl 6 (someone proposed it to me years ago) is I didn't really it had such a lovely and practical application.
337.
▲
by
colomon
13y ago
I should have also said that a great deal of thought went into making the default behaviors for "cmp" robust. But if (as in the article's example) you're producing numbers in the transformation code, "cmp" is
338.
▲
by
colomon
13y ago
The latter doesn't appear to be implemented in any version of p6.
339.
▲
by
colomon
13y ago
Perl 6 has three comparisons: "<=>" for numeric, "leg" for string (stands for less equal greater), and "cmp" as described above.
340.
▲
by
colomon
13y ago
While Rakudo certainly crashes more than anyone wants, it doesn't crash anywhere near as often as you suggest. It's a good thing, as it is implemented in itself; you couldn't get to line one of your script without crashing i
341.
▲
by
colomon
13y ago
Am I missing something? If bike kilometers are 3.6% of car kilometers, then aren't there 25x the car kilometers and only 4x the car fatalities?
342.
▲
by
colomon
13y ago
Let me amplify your point with a specific, personal example. I write Irish traditional-style dance tunes, reels & jigs, mostly. I think I do a pretty decent job of it. (Of course, I might be wrong about this -- certainly there are lo
343.
▲
by
colomon
13y ago
It really seems to me it depends on the book and the circumstances. A nice, reasonably sized paperback or hardcover is great for reading; it's less great for carrying around with you or storing. On the other hand, a 1000+ page monste
344.
▲
by
colomon
13y ago
Do you have a Github ID to make patches?
345.
▲
by
colomon
13y ago
Actually, just making sure the people getting the checks are alive will constitute some overhead, no?
346.
▲
by
colomon
13y ago
For what it's worth, I wasn't trying to excuse the math or the jargon, which is terrible. But at least simple addition and subtraction problems sound like something a beginning first grader might be able to handle, particularly a
347.
▲
by
colomon
13y ago
As the father of a five-year-old, two things puzzled me here: 1) "In the United States, students begin Grade 1 at the age of 5 or 6." Say what? In our part of Michigan, kids begin kindergarten at 5 or 6, leaning towards 6. 2) I
348.
▲
by
colomon
13y ago
The oldest digital clock my family had used a mechanical display, so it had ten values for the right-most digit, six for the next, and twelve for the left-most. So this explanation would definitely make sense for it. But I don't recal
349.
▲
by
colomon
13y ago
For me, the best sort of tiny break is reading a good book for a page or two. I think maybe because the two contexts are so distinct?
350.
▲
by
colomon
13y ago
Can anyone verify this info? I was a bit surprised to see it wasn't better sourced than the comments of a previous Marginal Revolution post. (Nothing against MR, but this seems like huge news if true.)
351.
▲
by
colomon
13y ago
I spent a good bit of the summer of '89 writing C code to drive a tape punch for programming CNC machines.
352.
▲
by
colomon
13y ago
The connection I needed to found my software company (not a big company, but it's provided for me (and now my family) for 14 years) came from e-mailing with the author of a hybrid math / programming book about bugs in his publishe
353.
▲
by
colomon
13y ago
Hell, probably multiple "Go Blues" as well. But yes. "Hail" and all that. :)
354.
▲
by
colomon
13y ago
I meant more in the straightforward sense that no one explicitly told us that. I don't think we came anywhere close to a 1/3rd dropout rate in the classes I took, but then I was LS&A rather than Engineering.
355.
▲
by
colomon
13y ago
My parents (in their 70s now) have the same sort of stories about US universities from their experience -- the one that stuck with me was "Look to your left. Look to your right. One of the three of you will not make it to graduation.
356.
▲
by
colomon
13y ago
I'm curious how you think this worked in the specific case here of Scott Adams. His Dilbert has been on a decline for ages, and it still manages to be one of the most consistently funny comic strips out there. In his heyday probably
357.
▲
by
colomon
13y ago
I'm pretty sure that's the key difference in this case.
358.
▲
by
colomon
13y ago
Did you tell them you would be playing shows?
359.
▲
by
colomon
13y ago
I don't understand the reason, but from what I've seen the US and Canadian rules on these things are explicitly set up to screw small musicians. Like getting a VISA to do a single gig in a bar or restaurant costing more than the
360.
▲
by
colomon
13y ago
I remember people after 9/11 saying "Who would ever have thought a plane could be used as a weapon?" and thinking that it had been a key plot point in a bestselling Tom Clancy book...
More ›