
#define min(X,Y) ((X) < (Y) ? (X) : (Y))
Just be careful with your side effects.
(gcc-3 had a side-effect safe <? min operator, though it has since been removed.)
Or the server that it would receive that amount of text from you?
Change a word (or two) and release a new edition to put a damper on used textbook sales. Students will love that. Probably so much that they would actually start to pirate your book...
Actually, there's no need to change even one word. Just re-order some chapters, re-number any numbered questions/exercises/etc., and change the font, margins, or paper size so that the page numbers don't line up even within each chapter. Instructors will refuse to deal with the headache of issuing two page/exercise/chapter numbers at each reference to the textbook.
Maybe the value of your book to most people isn't above free?
Then why are they willing to break the law to get it?
Breaking the law is also free?
"I am so sensible, sir, of the kindness with which the House has listened to me, that I will not detain you longer. I will only say this, that if the measure before us should pass, and should produce one tenth part of the evil which it is calculated to produce, and which I fully expect it to produce, there will soon be a remedy, though of a very objectionable kind. Just as the absurd acts which prohibited the sale of game were virtually repealed by the poacher, just as many absurd revenue acts have been virtually repealed by the smuggler, so will this law be virtually repealed by piratical booksellers.
At present, the holder of copyright has the public feeling on his side. Those who invade copyright are regarded as knaves who take the bread out of the mouths of deserving men. Everybody is well pleased to see them restrained by the law, and compelled to refund their ill-gotten gains. No tradesmen of good repute will have anything to do with such disgraceful transactions. Pass this law, and that feeling is at an end. Men very different from the present race of piratical booksellers will soon infringe this intolerable monopoly. Great masses of capital will be constantly employed in the violation of the law. Every art will be employed to evade legal pursuit; and the whole nation will be in the plot.
On which side, indeed, should the public sympathy be when the question is, whether some book as popular as 'Robinson Crusoe,' or 'The Pilgrim's Progress,' shall be in every cottage, or whether it shall be confined to the libraries of the rich for the advantage of the great-grandson of a bookseller, who, a hundred years before, drove a hard bargain for the copyright with the author when in great distress?
Remember, too, that, when once it ceases to be considered as wrong and discreditable to invade literary property, no person can say where the invasion will stop. The public seldom makes nice distinctions. The wholesome copyright which now exists will share in the disgrace and danger of the new copyright which you are about to create. And you will find, that, in attempting to impose unreasonable restraints on the reprinting of the works of the dead, you have, to a great extent, annulled those restraints which now prevent men from pillaging and defrauding the living."
So these laws finally went through, and the pirates are here. Surprise!
Consider voluntarily opting out of the over-zealous protections offered by current copyright law. For example, check out O'Reilly's Open Book project. Among their options are the Founders' Copyright, where works return to the public domain after 14 or 28 years (instead of the current lifetime + 70 years). Even better, given the technological revolution between then and now, consider even less restrictive licenses that would enable your customers to get even greater benefit out of your works.
Yes, this option requires that the public make some "nice distinctions" by recognizing that your works are (would be) more freely available than the typical work, and that they should correspondingly pirate them less. If you take this path, remember to proclaim your moral highground loudly and proudly, so that people notice. Also, encouraging your coworkers, fellow authors, publishers, etc., along the same lines and increasing the number of works so available will help the public to more often encounter and understand this issue, and again reduce the incentive to pirate your works.
Thomas Babington Macaulay's speech in the House of Commons, 5 February 1841 on the obscene extension of the term of copyright protections:
"I am so sensible, sir, of the kindness with which the House has listened to me, that I will not detain you longer. I will only say this, that if the measure before us should pass, and should produce one tenth part of the evil which it is calculated to produce, and which I fully expect it to produce, there will soon be a remedy, though of a very objectionable kind. Just as the absurd acts which prohibited the sale of game were virtually repealed by the poacher, just as many absurd revenue acts have been virtually repealed by the smuggler, so will this law be virtually repealed by piratical booksellers.
At present, the holder of copyright has the public feeling on his side. Those who invade copyright are regarded as knaves who take the bread out of the mouths of deserving men. Everybody is well pleased to see them restrained by the law, and compelled to refund their ill-gotten gains. No tradesmen of good repute will have anything to do with such disgraceful transactions. Pass this law, and that feeling is at an end. Men very different from the present race of piratical booksellers will soon infringe this intolerable monopoly. Great masses of capital will be constantly employed in the violation of the law. Every art will be employed to evade legal pursuit; and the whole nation will be in the plot.
On which side, indeed, should the public sympathy be when the question is, whether some book as popular as 'Robinson Crusoe,' or 'The Pilgrim's Progress,' shall be in every cottage, or whether it shall be confined to the libraries of the rich for the advantage of the great-grandson of a bookseller, who, a hundred years before, drove a hard bargain for the copyright with the author when in great distress?
Remember, too, that, when once it ceases to be considered as wrong and discreditable to invade literary property, no person can say where the invasion will stop. The public seldom makes nice distinctions. The wholesome copyright which now exists will share in the disgrace and danger of the new copyright which you are about to create. And you will find, that, in attempting to impose unreasonable restraints on the reprinting of the works of the dead, you have, to a great extent, annulled those restraints which now prevent men from pillaging and defrauding the living."
Linux, otoh, doesn't need eject. Just umount the thing, and sync if you're paranoid.
Actually, eject is still useful in GNU/Linux.
Eject USB devices in GNU/Linux with the same old
Things that I have apparently been curious about recently (a tour through grep units ~/.bash_history):
If a beverage has 91 Calories per 8oz serving, how many Calories are in the whole bottle?
$ units -v '((91 Calories)/(8 floz)) * 2 litres' Calories
((91 Calories)/(8 floz)) * 2 litres = 769.26902 Calories
How heavy is a gallon of water?
$ units -v 1gallon*waterdensity lbs
1gallon*waterdensity = 8.3454045 lbs
How much energy does it take to run a human being for a year?
$ units -v '(2000 kcal/day) * 365.2425 days' 'kilowatt hours'
(2000 kcal/day) * 365.2425 days = 849.55405 kilowatt hours
$ units -v '(2000 kcal/day) * 365.2425 days' joules
(2000 kcal/day) * 365.2425 days = 3.0583946e+09 joules
About how far away is pluto?
$ units -v plutoorbit lighthours
plutoorbit = 5.4726529 lighthours
How much energy would it take to stop the earth's rotation (Joshua 10:13)?
$ units -v '(1/2) ((2/5) earthmass earthradius^2) (1/day)^2' hiroshima
(1/2) ((2/5) earthmass earthradius^2) (1/day)^2 = 1.0351872e+14 hiroshima
How much sideways force would you feel if the earth's rotation was gradually stopped over the course of 15 minutes?
$ units -v '2 pi earthradius
2 pi earthradius
What is the lower bound for a ping over a geostationary satellite link?
$ units -v '4 * 35786 km / c' s
4 * 35786 km / c = 0.47747699 s
How much would it cost to leave two 19-watt bulbs on for a month?
$ units -v '2 * 19 watts * 30 days * (.126627 dollars/(kilowatt*hour))'
Definition: 3.4645147 US$
What are minimum and maximum communication delays to Mars?
$ units -v '(marsorbit - au) / c' minutes
(marsorbit - au) / c = 4.3551666 minutes
$ units -v '(marsorbit + au) / c' minutes
(marsorbit + au) / c = 20.988659 minutes
If I wanted to get to mars in a week and a half, approximately how long would I have to accelerate/decelerate at 1G at each end of the trip?
$ units -v '((marsorbit - au) / 1.5 weeks) / gravity' hours
((marsorbit - au) / 1.5 weeks) / gravity = 2.4459665 hours
My upstream rate is about 266 kB/s. How far into the month do I get before I hit the Comcast cap?
$ units -v '250 GB / (266 kB/s)' days
250 GB / (266 kB/s) = 10.877889 days
(Lighthours, plutoorbit, marsorbit, and hiroshima are from my ~/.units.dat.)
"In order to make an apple pie from scratch, you must first create the universe." -- Carl Sagan, Cosmos