Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
colomon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
51 ms
·
481.
▲
by
colomon
14y ago
I think there's still a lot of potential improvement to be gained by increasing reuse. It seems to me what we need is to take the CPAN to the next level: to have a readily available, heavily tested repository of libraries that work with al
482.
▲
by
colomon
14y ago
The grandparent is talking about modulation within a song. Unless they normalized each section of each song to C without saying so, modulation is still an issue. For instance (though I greatly doubt it's on their list) Jethro Tull's "The
483.
▲
by
colomon
14y ago
Sure, but the 99 cent edition in question almost certainly is the Project Gutenberg edition, mangled by a third-party file conversion. (On personal note, a few months ago I decided to read Les Miserables. I read a few chapters in one of
484.
▲
by
colomon
14y ago
"Dragon is in the water."
485.
▲
by
colomon
14y ago
First parachutes just deployed...
486.
▲
by
colomon
14y ago
Based on the examples, I presume xrange(x) is every integer up to but not including x. ie 1..^$x in Perl 6, don't recall if that's the Perl 5 syntax or not.
487.
▲
by
colomon
14y ago
Just in case anyone was wondering, in Perl 6: sub factorial($n) { my $output = 1; for 1..$n -> $i { $output *= $i; } $output; } or sub factorial2($n) { [*] 1..$n;
488.
▲
by
colomon
14y ago
It's funny, it seems that many (most?) whistle makers aren't very virtuosic players. For the most part, I don't think it does their whistle-making any favors. Whatever they win in "ease of novice use" they lose in "ease of serious use", i
489.
▲
by
colomon
14y ago
How about giving the test on a computer and having it automatically change the difficulty level on the fly? (Obviously this may be a lot easier for math than for other subjects.) Test every grade level using the same program, just with di
490.
▲
by
colomon
14y ago
On consideration, it occurs to me that the original article may mean "extra over your maintenance calories". In other words, suppose the obese guy needs 3500 calories a day to maintain his weight, and the skinny guy needs 2000. Then I gues
491.
▲
by
colomon
14y ago
Except that's completely backwards to any "calories needed" calculation I've ever heard before. For instance, I just tried http://caloriecount.about.com/cc/calories-goal.php (after googling it out of the blue) with starting weights of 300
492.
▲
by
colomon
14y ago
For what it's worth, Perl 6 allows dashes in identifiers, and many of us working with the language have gleefully taken to using them instead of underscores. I can't tell you why it makes a difference, but somehow underscores now feel clum
493.
▲
by
colomon
14y ago
Sure, if writers write faster than they can write well, then there will be declines. But thinking about it, many authors I am quite fond of seem to have routinely published two or more books a year during their more productive phases. Eliz
494.
▲
by
colomon
14y ago
I use straightforward techniques to automatically generate about a third of my C++ code (108,000 lines of code or so). When I'm writing code, I keep an eye out for things that I'm doing which are very repetitious. For instance, I have nine
495.
▲
by
colomon
14y ago
That works great if you're only using one interface in your class. What if you need to include two?
496.
▲
by
colomon
14y ago
The problem is you really want to inherit the implementations as well -- otherwise every one of the classes that use the Isin interface must implement its storage and accessors as well.
497.
▲
by
colomon
14y ago
In the Moose / Perl 6 world, we use roles for this. (I know the idea is borrowed from elsewhere, but I don't know where.) As a Perl 6 programmer, I have almost completely given up on traditional inheritance, because roles capture everythi
498.
▲
by
colomon
14y ago
Agreed. I can imagine a situation where GapList might perform better if you were alternating requests to the beginning and ending of the list and GapList happened to store them close enough in memory that they were both on the same cache l
499.
▲
by
colomon
14y ago
But when the jackpot is bigger, more people buy tickets, too, which makes the EV for that week go down. It's not at all clear to me which effect is bigger. (Indeed, I wonder if your best bet is to buy the first week the jackpot rolls over
500.
▲
by
colomon
14y ago
I always wonder about these calculations. According to http://www.michiganlottery.com/where_the_money_goes out of every $1 players spend on the Michign lottery, $.58 goes to player prizes. Assuming they're actually counting that correct
501.
▲
by
colomon
14y ago
Regular expressions are just like everything in programming. Used properly they are a huge boon. Used improperly, they're a disaster. Here's a practical example. I spent half a day coding this algorithm (ASCII string in STEP format to an
502.
▲
by
colomon
14y ago
That may well be so. But my main point there was that GDP alone is a pretty blinkered standard to use to measure innovation.
503.
▲
by
colomon
14y ago
Hmm. Speaking personally, I don't think my music-buying has more than doubled the number of tracks I purchase in a year from 1994 (first year with a full time job, still had to buy from brick-and-mortar stores) until today. Considering ho
504.
▲
by
colomon
14y ago
I hate this "low innovation" meme. Seriously? Imaginary example, but real tech: Suppose I remember the first half of an Irish reel I heard somewhere, but can't remember the name or where I heard it. In 1980, trying to track it down woul
505.
▲
by
colomon
15y ago
Gotcha. Damn, I see what you mean. If that's all it takes to game the system, it's amazing that their system isn't completely overwhelmed by fake reviews...
506.
▲
by
colomon
15y ago
They already allow you to click through to the reviews they have filtered out. How about having two average ratings, one for only "filtered in" reviews and one for all reviews?
507.
▲
by
colomon
15y ago
Maybe I'm doing something wrong, but I was unable to find the sushi reviews here... Is Yelp changing the reviews as we read them?
508.
▲
by
colomon
15y ago
For what it's worth, I'm running Snow Leopard (10.6.8) and I see the same sort of terrible performance the article describes. Though I did improve matters drastically by telling mds not to index my (Linux) MP3 server and my Time Machine dri
509.
▲
by
colomon
15y ago
Did anyone else find the story about switching from a tree structure to a list kind of weird? On the one hand, that's a pretty trivial sort of optimization, and hardly seems worth making a fuss about. But on the other hand, isn't he assumi
510.
▲
by
colomon
15y ago
Sure, and I'm one of them. It's not exactly startling news in 2012 that a lot of people prefer the git/hg model. Hell, I prefer it myself! But I've got a complete svn ecosystem set up here, with 44 projects in a single svn repository, au
More ›