I love the idea. This could be really big.
However, it's not actually that cheap. Auduble offer two books a month for 40usd. Picking two books off the front page (Cold mountain, 14h 21m, Dude Where's My Country, 6h 57m) that's 3.12 cents a minute.
From Telltale A Modest Proposal Swift, 18m 21s) costs 75 cents. That's 4.15cents a minute.
Of course, you don't have the DRM crap you get with audible, or the subscription stuff, and you get it in plain mp3s (or OGGs!), and you can give it to your blind neighbour for free, and eventually they'll set the file free for anyone...but for *now*, it's still not the cheapest thing on the block.
Fair point.
However, the cost associated with licensing besides the actualy cost of the licence (that is to say, the cost of keeping track of all the software you've used, doing the accounts for it, paying the right people) is non trivial too.
Sorry, what?
I was posting about how getting a search page back in your webbrowser was a good thing. I fail to see what this has to do with anti-spam systems.
Sure, verisign's technique will cause the problems I think you're trying to describe, but I wasn't talking about the technique used. Hence why I said "The complete wrongness of the way Verisign are going about it aside".
The complete wrongness of the way Verisign are going about it aside, I don't see why getting a search engine when you enter an incorrect domain is a bad thing in your web browser. I'd argue it's a feature. Sure, it could be a bit better labeled, but it's not like you were going to see anything else of use, was it?
Where did you go to school? You can't add probabilities like that. Would the chance of twenty drives failing be 100%? Thirty drives 150%? Huh?
Draw yourself out a probability tree and you'll see where you're going wrong.
In this case the similiest thing to do is work out the probability that none of the drives fail. You gave 95% or 0.95. So, two drives is 0.95 * 0.95. Three drives is 0.95 * 0.95 * 0.95. And so on. So eight drives is 0.95 to the power of 8, which is 0.663, or 66.3%. So the probability of any drive failing is 1-0.663, or 33.7%.
osaka:~ mark$/Users/mark/Desktop/DOSBox_OSX/dosbox; exit dyld:/Users/mark/Desktop/DOSBox_OSX/dosbox can't open library:/sw/lib/libSDL-1.2.0.dylib (No such file or directory, errno = 2) Trace/BPT trap
Looks like the binary requires you to have installed SDL from fink in order to work
Dude, you don't ask people to mod people down because you disagree with them. The right and the wrongs or the arguments aside, the grandparent is a reasonable comment that is 'Interesting'; If you disagree with someone, argue your case, not ask for people to abuse the mod system.
You didn't actually run that code before posting did you;-)?
The brackets ((2**31) - time) are being considered the arguments to print, and then you're dividing the return value from print (which is, um, 1) by the seconds in a year and concatinating "\n", rather than dividing the result of the time calculation and then printing it.
Wow, that's really confusing. It's trying to say unless we've got arguments, we need to die with an error message. Which can be witten as
unless (@ARGV) { die "usage: $0 N\n"; }
That's not the only other thing that's odd too. Using local instead of my is odd - though both will work. my will do proper lexical variables, whereas local is using main variables in the stash and creating temp copies each itteration of the subroutine.
Oh, and wrapping the whole thing in a if statement is odd. You should just return if you're the base case (just like you do with tail recursion in Haskell)
Here's a cleaned up version with comments
#!/usr/bin/perl
# turn on perl's safety features use strict; use warnings;
# check we got some arguments unless (@ARGV) { die "usage: $0 N\n" };
# get the number of disks my $N = int($ARGV[0]); unless ($N > 0) { die "$0: illegal value for number of disks\n";}
# run the main routine hanoi($N, 3, 1, 2);
sub hanoi { my ($num_disks, $to_peg, $from_peg, $using_peg) = @_;
# are we done? (i.e. is this the basecase) return unless $num_disks;
# move the stack covering the 'bottom' disk to the # spare peg hanoi($num_disks-1, $using_peg, $from_peg, $to_peg);
# move the 'bottom' disk to the other stack print "move $from --> $to\n";
# move the stack we moved to the spare peg ontop # of the disk we just moved. hanoi($num_disks-1, $to_peg, $using_peg, $from_peg); }
Note that one of the first things I did was turn strict and warnings on, thus meaning it's easier to catch mistakes.
Wow, ECODE doens't let you space things in properly. That's terrible.
My understanding is that if light falls into a gravity well it gains energy and then shifts towords the blue end of the spectrum. If it falls out of the gravity well it shifts towards the red area of the spectrum.
So if 'your momma', who traditionally is 'so fat', is behind me, the light will turn blue.
Hmm, about nine comments. Good to see my calendar is well loved;-)
The original poster neglected to mention there's a mirror at http://mirror.perladvent.org incase my server falls over for any reason. Not that it does that a lot, but last year the part London where my server's located had a nasty power cut on the 4th, so I guess anything's possible.
If anyone has any questions, feel free to ask them, but since it's half one in the morning atm, answers will have to wait until I've had some kip
Installing 2.60 into your home directory is painless, but you're stuffed unless you're using the client/server spamc/spamd system and you get a sudden influx of a zillion messages. You'll kill your box due to the expense of loading perl a zillion times.
Ah, yes, I guess I was playing devil's advocate a little strong there. Certainly your points about spamming and DoS attacks make a lots of sense.
My point (even though it seems at 1am last night I was making it badly) was that making it law that someone is legally responsible for the actions of the machine means that anyone that ever gets cracked can't go to the police for help, as they themselves are now guilty of crimes commited by their computer.
From Telltale A Modest Proposal Swift, 18m 21s) costs 75 cents. That's 4.15cents a minute.
Of course, you don't have the DRM crap you get with audible, or the subscription stuff, and you get it in plain mp3s (or OGGs!), and you can give it to your blind neighbour for free, and eventually they'll set the file free for anyone...but for *now*, it's still not the cheapest thing on the block.
(Someone please check my maths)
Fair point. However, the cost associated with licensing besides the actualy cost of the licence (that is to say, the cost of keeping track of all the software you've used, doing the accounts for it, paying the right people) is non trivial too.
Can't you wait for Sky to buy the series when it comes out, and then air what's been shown on the movie channel on Sky One?
This is why I said "The complete wrongness of the way Verisign are going about it aside"
Sorry, what? I was posting about how getting a search page back in your webbrowser was a good thing. I fail to see what this has to do with anti-spam systems. Sure, verisign's technique will cause the problems I think you're trying to describe, but I wasn't talking about the technique used. Hence why I said "The complete wrongness of the way Verisign are going about it aside".
The complete wrongness of the way Verisign are going about it aside, I don't see why getting a search engine when you enter an incorrect domain is a bad thing in your web browser. I'd argue it's a feature. Sure, it could be a bit better labeled, but it's not like you were going to see anything else of use, was it?
Lego::RCX module.
Draw yourself out a probability tree and you'll see where you're going wrong.
In this case the similiest thing to do is work out the probability that none of the drives fail. You gave 95% or 0.95. So, two drives is 0.95 * 0.95. Three drives is 0.95 * 0.95 * 0.95. And so on. So eight drives is 0.95 to the power of 8, which is 0.663, or 66.3%. So the probability of any drive failing is 1-0.663, or 33.7%.
People running on local network.
Dude, you don't ask people to mod people down because you disagree with them. The right and the wrongs or the arguments aside, the grandparent is a reasonable comment that is 'Interesting'; If you disagree with someone, argue your case, not ask for people to abuse the mod system.
The brackets ((2**31) - time) are being considered the arguments to print, and then you're dividing the return value from print (which is, um, 1) by the seconds in a year and concatinating "\n", rather than dividing the result of the time calculation and then printing it.
Identifying Music with MusicBrainz
The Law
as published by the government itself.
d'oh.
Yes, if I'd run that perl would have complained at me because use strict was on.
Oh, and wrapping the whole thing in a if statement is odd. You should just return if you're the base case (just like you do with tail recursion in Haskell)
Here's a cleaned up version with comments
Note that one of the first things I did was turn strict and warnings on, thus meaning it's easier to catch mistakes.Wow, ECODE doens't let you space things in properly. That's terrible.
So if 'your momma', who traditionally is 'so fat', is behind me, the light will turn blue.
Or so the lame joke goes.
I'm standing still, and it still looks blue. Is your momma standing behind me?
Hmm, about nine comments. Good to see my calendar is well loved ;-)
The original poster neglected to mention there's a mirror at http://mirror.perladvent.org incase my server falls over for any reason. Not that it does that a lot, but last year the part London where my server's located had a nasty power cut on the 4th, so I guess anything's possible.
If anyone has any questions, feel free to ask them, but since it's half one in the morning atm, answers will have to wait until I've had some kip
Scott Kurtz did a little scetch on this in his latest comic
In theory Virgin customers should be able to request the infomation that refers to themselves by making a request under the Data Protection Act.
pperl might help you here.
My point (even though it seems at 1am last night I was making it badly) was that making it law that someone is legally responsible for the actions of the machine means that anyone that ever gets cracked can't go to the police for help, as they themselves are now guilty of crimes commited by their computer.