This tendency could be discouraged by making wins more weighted realtively than draws: win = 2 points (or, may be 1.5 pts), draw = .5 pts, loss = 0 pts.
939 karma · joined April 5, 2010
This tendency could be discouraged by making wins more weighted realtively than draws: win = 2 points (or, may be 1.5 pts), draw = .5 pts, loss = 0 pts.
This one is simple enough to be defined as an alias:
alias gitdiff='git diff --patience --ignore-space-at-eol -b -w --ignore-blank-lines'
This[1] discusses aliases vs functions (just to make my reply a bit more useful [may be not for you, but in general] and to me feel less guilty.)[1] http://unix.stackexchange.com/questions/30925/in-bash-when-t...
use v5.12; # enables strictures
open my $in, "<", $ARGV[0];
open my $out, ">", $ARGV[1];
print $out sort <$in>;
Perl6: sub MAIN( $in, $out ) {
spurt( $out, open($in, chomp => False).lines.sort.join )
}
[EDIT: fixed typo in first example]Your 'ls' must be an alias for the real ls with some options. For example, mine is:
$ type ls
ls is aliased to `ls --color=auto'
A quick way to run the original 'ls' (not the aliased version), just prefix it with backslash: $ \ls ...
Or: $ command ls ...Based on the comments made ([1] and [2]), that doesn't seem to be the case. The company doesn't seem to have any developers yet.
[1] http://lists.lrug.org/pipermail/chat-lrug.org/2013-July/0091... [2] http://www.newstatesman.com/economics/2013/07/women-offered-...
Here's one.
perl -0777 -nE '$w{$_}++ for split; say for (sort {$w{$b} <=> $w{$a}} keys %w)[0..9]'
It is slightly different compared to your version in that each word is printed on a separate line. To print all words on the same line, is just a bit longer: perl -0777 -nE '$w{$_}++ for split; $, = $"; say((sort {$w{$b} <=> $w{$a}} keys %w)[0..9])' .say for (bag($text.words) ==> sort {-*.value})[^10]I will add one more thing. They have to make the browser not just for Windows platform, but for all major platforms (Mac and Linux).
> my @fib := 1, 1, *+* ... *; @fib[99]
354224848179261915075
> (1, 1, *+* ... *)[99]
354224848179261915075
[1] https://justrakudoit.wordpress.com/2010/12/29/perl-6-fibonac...No, considering the poster's name is "AlanT"!
Are you talking about Media Hint (http://mediahint.com)?
The web site barely has any information what the addon is for. The mozilla.org page for this addon is not much better. The description says: This extension allows you to enjoy The Fun Stuff from any country! No additional set-up required. Install extension and you are ready to go. That is not very helpful.
Could you elaborate what is this addon useful for?
Then I came across the earlier post "We are the 5%" (http://datastories.in/blog/2013/04/01/indias-5-percent/), which had a similar map showing the "% of Households with TV, Computer, Phone and Vehicle, by District". This map shows Hyderabad with 22.7% and Rangareddi with 15.8%. These of course are more likely numbers.
Since TV and phone were among the lists of assets in both posts, the first set of numbers should be more in line with the second set. How is this discrepancy explained?
The online (draft) version of Beginning Perl is available at http://ofps.oreilly.com/titles/9781118013847/
For the record, this would be the code with missing part included:
my @large_orders = sort { $a->{items} <=> $b->{items} } grep { $_->{total} > 100 } @orders;At least one airline, Spirit Air, already does. I am sure more will follow this practice.
Just one thing. I pressed the Enter key thinking that it would take me to the next step (like the right-arrow), but the page background went darker. And, each successive press of Enter made it even darker. I actually liked the effect (even if it was unintended) as it increased the contrast between the step being focused and the rest of the page.
However, I found no way to get back to original page after all the steps are completed (by right-arrow navigation). Pressing ESC had no effect.
Edit: Using Firefox 20.0 on Ubuntu Lucid.
On Ubuntu/Debian systems, it is packaged as `ack-grep`.
Ms. Zaveri received a Masters degree in Molecular Biology and Genetics from the University of California at Santa Barbara. Subsequent graduate studies were undertaken at California Polytechnic University (“Cal Tech”)
Since when California Polytechnic University is called Cal Tech? Isn't that abbreviation used for "California Institute of Technology (http://caltech.edu)?
Searching for California Polytechnic University shows "Cal Poly" or "California Polytechnic State University, San Luis Obispo, CA (www.calpoly.edu).
Update: Wikipedia says (http://en.wikipedia.org/wiki/Linus_Pauling), Linus Pauling was at Caltech in the 1927–1963 period and does not indicate he was there in the later stage of his life (nineties). Nor does it say that he was ever associated with CalPoly. At least this part of the Ms. Zaveri's story seems suspicious to me.
* Checkboxes imply that you can select multiple tags. But Clicking on a second tag is clearing the first. You might want to use a radio button, or (better) allow multiple tags to selected.
* As a minor but useful improvement, clicking on the tag name should select the checkbox (the cursor is already changing to hand, implying that the name is clickable, but it is currently not.)
* When I selected Perl tag, the first stackoverflow user displayed (ikegami) shows 0%. A bug?
* When you change from one tag to another the user list is refreshed, but the article list on the right is not. That seems a bit of disconnect for me. I am not sure what the best way here, but I think I prefer that article list also cleared out (or at least, display it faded or something).
That's all I have for now.
EDIT: Also, it would be nice if there is a text box to enter an arbitrary tag, instead of clicking on Load more tags... and hoping that the tag you want will show up. Useful for less popular tags.
It provides a few commands, two of which I use the most:
als - list files in an archive
aunpack - exatract files from an archive
The best part is aunpack extracts files into a subdirectory (I hate polluting the current directory with files from a new archive which wasn't properly packaged to include a directory), and it does it only when necessary. Before I found it, I always used to create a temp directory, cd to it, unpack into it, and possibly move files around etc.I also use re.pl from Devel::REPL (https://metacpan.org/module/Devel::REPL).
Are you talking about the problem described in this post? http://askubuntu.com/questions/117127/flash-video-appears-bl...
He should and does get the credit for having the insight and chops to have started it all, and is the single-most important person for Linux, but today's Linux is the result of the work of thousands of programmers.
Add the line where you want the execution to stop:
$DB::single = 1;
Then, run your program as: $ PERLDB_OPTS=NonStop perl -d program.pl
See: http://perldoc.perl.org/perldebug.htmlBusy trying not to pay child support and fighting her in court for custody of the children.
http://anarchistsoccermom.blogspot.com/2012/07/news-from-war...