A program to compute number of days between two dates?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309
Rep:
Quote:
Originally Posted by qweasd
I don't think "release" can be put on a real line without taking serious liberties with interpretation, which is why I called it voodoo. My X axis is not a mystery: it's just 13.0 for ver. 13.0, 13.1 for ver. 13.1, etc.
I don’t try to argue with you. I like very much the name “voodoo” that you chose for that type of the the data. When after 1 goes 1.1, and 1.1.2, and then 2.0, but after 4 goes 7, and after 13 goes 13.1, and 13.37, and then 14 it’s complete voodoo. The English language isn’t my native one. Moreover I never learned English language. So I thought “voodoo” is the standard name used in the English language in such a case. Now I know you invented it and I admire that name much more than before. I simply like very much the people which are able to invent something.
Quote:
Originally Posted by qweasd
But assigning it this way is just as arbitrary as mapping each release to an integer, or whatever is that you did...
It isn’t whatever. See the descriptions of the axes. X is for the days after Slackware 1.0 and Y is for the days after the previous Slackware release. So both axes display the days. I tried to use the same scale for both axes but the resulting graph was very flat so I gave up and I used the standard scale.
Quote:
Originally Posted by qweasd
After all, the version assignment is a random experiment from hell; it is dependent on everything, including this thread. What is your first column anyway?
The first column (X axis): the days since 1993-07-17 (Slackware 1.0 release)*.
The latter column (Y axis): the days since the previous release.
* There’s 121 days till Slackware’s 20th birthday. Let’s celebrate that day when it’ll come!
Quote:
Originally Posted by qweasd
And using trend here is also questionable: the correlation coefficient is pretty low, the spread is huge, and so it is far from certain that the mean went up. But for purely gambling purposes I would bet on the trend, probably because I always found pictures very convincing
I didn’t plot any trend: qweasd plotted the simple linear regression and allend plotted the regression slope and some standard errors. I don’t consider these plots reasonable or useful.
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309
Rep:
Here’s the official graph of the slacky randomized standard deviation coefficient divided by some imaginary number that I imagined almost one hour ago:
The function used to draw that graph is too complicated to be stored on all LinuxQuestions.org servers – I’m sorry!
For mrclisdue, qweasd, and the other guys (male sex) and gals (female sex) as well as for all the asexual creatures (neuter sex) in the whole universe and beyond with the special greetings for the exceptional human being living here and now and named volkerdi (male sex).
Last edited by w1k0; 03-18-2013 at 10:35 AM.
Reason: edited chin and ear
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309
Rep:
Quote:
Originally Posted by mrclisdue
I'm sure I can see Bob Dobbs, and perhaps a pipe.
It seems that the next points on that graph will be the smoke from the pipe: that gives the valuable clue for all the forecasters (it’s enough to monitor the movement of the air molecules and the changes of the temperature to print the next point in advance).
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309
Rep:
Some of you may be curious which function I used to draw the nice graph from the post #63. As I mentioned above that function is too complicated to be stored on all LQ machines but I can disclose the shortened version of that function:
Code:
y = f(me)
Unfortunately the current version of gnuplot doesn’t understand that simplified function so you can’t re-draw my graph alone. (Feel free to send the bug report to the gnuplot developers.)
There are three kinds of lies: small lies, big lies, and statistics.
I remember a young friend, he was very keen on science. He felt insulted when I discredited statistics. Be careful, don't criticize idols in front of religious people.
That’s rather natural idea in such a case. To “predict” the date one can use different methods. The more methods she’ll try the more results she’ll gain. As a result one of these “predictions” will be really close to the actual date of the next release. That’s the whole truth about the predictions and the numerology.
Ambiguity in predictions and a continuous supply of new data in which to look for coincidental similarities doesn't hurt, either. I see it as the Nostradamus effect. Given enough time and enough room for interpretation, any prediction will "come true."
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.