diff --git a/_layouts/default.html b/_layouts/default.html index c7b820e..610066e 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -7,12 +7,20 @@ - - - - - -
URL{{page.url}}
author{{page.author}}
points{{page.points}}
comments{{page.num_comments}} comments
+
+
+ + + + + +
URL{{page.url}}
author{{page.author}}
points{{page.points}}
comments{{page.num_comments}} comments
+
+
+
+
{{content}} +
+
\ No newline at end of file diff --git a/_stories/1933/10636818.md b/_stories/1933/10636818.md new file mode 100644 index 0000000..e74473a --- /dev/null +++ b/_stories/1933/10636818.md @@ -0,0 +1,38 @@ +--- +created_at: '2015-11-27T11:13:21.000Z' +title: The Triumph of Stupidity (1933) +url: http://russell-j.com/0583TS.HTM +author: mutor +points: 392 +story_text: +comment_text: +num_comments: 269 +story_id: +story_title: +story_url: +parent_id: +created_at_i: 1448622801 +_tags: +- story +- author_mutor +- story_10636818 +objectID: '10636818' + +--- +[Source](http://russell-j.com/0583TS.HTM "Permalink to Bertrand RussellFThe Triumph of Stupidity") + +# Bertrand RussellFThe Triumph of Stupidity + +[**e-texts of Bertrand Russell's writings**][1] +* In: _Mortals and Others: Bertrand Russell's American Essays, 1931-1935, _v.2__, p.28. + +What has been happening in Germany is a matter of the gravest portent for the whole civilised world. Throughout the last hundred and fifty years, individual Germans have done more to further civilisation than the individuals of any other country; during the latter half of this period, Germans, collectively, have been equally effective in degrading civilisation. At the present day the most distinguished names in the world of learning are still German; the most degraded and brutal government is also German. Of the individual Germans whose work has caused Germany to be respected, some are in exile, some in hiding, and some have disappeared, their fate unknown. Given a few years of Nazi rule, Germany will sink to the level of a horde of Goths. +What has happened? What has happened is quite simple. Those elements of the population which are both brutal and stupid (and these two qualities usually go together) have combined against the rest. By murder, by torture, by imprisonment, by the terrorism of armed forces, they have subjected the intelligent and humane parts of the nation and seized power with the view of furthering the glory of the Fatherland. +What has happened in Germany may well happen elsewhere. The British Fascists are not as yet a large party, but they are growing rapidly, and if at any future time there should be danger of a Labour Government that meant business, they would win the support of most of the governing classes. Meanwhile, the British government of India is a form of Fascism, all the worse for being alien. The British in India, like the Hitlerites in Germany, can only govern by putting the best people in prison. +Brute force plays a much larger part in the government of the world than it did before 1914, and what is especially alarming, force tends increasingly to fall into the hands of those who are enemies of civilisation. The danger is profound and terrible; it cannot be waved aside with easy optimism. +**The fundamental cause of the trouble is that in the modern world the stupid are cocksure while the intelligent are full of doubt.** Even those of the intelligent who believe that they have a nostrum are too individualistic to combine with other intelligent men from whom they differ on minor points. This was not always the case. A hundred years ago the philosophical radicals formed a school of intelligent men who were just as sure of themselves as the Hitlerites are; the result was that they dominated politics and that the world advanced rapidly both in intelligence and in material well-being. +It is quite true that the intelligence of the philosophical radicals was very limited. It is, I think, undeniable that the best men of the present day have a wider and truer outlook, but the best men of that day had influence, while the best men of this are impotent spectators. Perhaps we shall have to realise that scepticism and intellectual individualism are luxuries which in our tragic age must be forgone, and if intelligence is to be effective, it will have to be combined with a moral fervour which it usually possessed in the past but now usually lacks. +In this gloomy state of affairs, the brightest spot is America. In America democracy still appears well established, and the men in power deal with what is amiss by constructive measures, not by pogroms and wholesale imprisonment. After the defeat of the French Revolution, democracy; discredited by the reign of terror, reconquered the world from America. Perhaps America is destined once more to save Europe from the consequences of its excesses. (10 May 1933) | + +[1]: http://russell-j.com/cool/E-ORIGL2.HTM + diff --git a/_stories/1974/14216899.md b/_stories/1974/14216899.md index 00f8c8e..77d9b62 100644 --- a/_stories/1974/14216899.md +++ b/_stories/1974/14216899.md @@ -21,79 +21,8 @@ objectID: '14216899' --- [Source](https://www.the-tls.co.uk/articles/public/zen-art-motorcycle-maintenance/ "Permalink to On the road with Aristotle: 'Zen and the Art of Motorcycle Maintenance'") -# On the road with Aristotle: 'Zen and the Art of Motorcycle Maintenance' -By continuing to use the site, you agree to the use of cookies. You can change this and find out more by following [this link][1] - -Accept cookies - -![TLS][2] - -The times Literary supplement - -The leading international weekly for literary culture - -[ __ Logout ][3] [ Subscribe ][4] [ __ Login ][5] - -[ ][6] - -* [Latest Edition][7] -* [Subjects][8] -* [Mary Beard][9] -* [Daily][10] -* [Podcast][11] - -Search: - -Search by author, title, reviewer or keyword - -X - -__ Print __ Email __ Email __ __ - -{{::post.subscribe_section.subscribe_text}} - -Subscribe - -# - -#### - -#### - -__ Print __ Email __ __ - -To read the full article, please login - -Email address - -Password - -Keep me logged in - -__ Login - -Not a subscriber? -Get the world's leading literary journal from only **£1.50** or **$2.40** per week - -Subscribe - -{{::post.subscribe_section.subscribe_text}} - -Subscribe - -* [Archives][12] -* [About][13] -* [FAQs][14] -* [Terms & Conditions][15] -* [How to advertise][16] -* [Contact Us][17] -* [Classifieds][18] -* __ -* __ - -Copyright © The Times Literary Supplement Limited 2018. The Times Literary Supplement Limited: 1 London Bridge Street, London SE1 9GF. Registered in England. -Company registration number: 935240. VAT no: GB 243 8054 69. +Copyright © The Times Literary Supplement Limited 2018 [1]: http://www.newsprivacy.co.uk/single/ [2]: https://www.the-tls.co.uk/wp-content/themes/tls/images/logo.jpg diff --git a/_stories/1982/7583409.md b/_stories/1982/7583409.md new file mode 100644 index 0000000..e6ec85f --- /dev/null +++ b/_stories/1982/7583409.md @@ -0,0 +1,41 @@ +--- +created_at: '2014-04-13T22:34:29.000Z' +title: Inside the Soviet Army (1982) +url: http://militera.lib.ru/research/suvorov12/index.html +author: kumarski +points: 115 +story_text: '' +comment_text: +num_comments: 106 +story_id: +story_title: +story_url: +parent_id: +created_at_i: 1397428469 +_tags: +- story +- author_kumarski +- story_7583409 +objectID: '7583409' + +--- +[Source](http://militera.lib.ru/research/suvorov12/index.html "Permalink to --[ ]-- Suvorov V. Inside the Soviet Army") + +# --[ ]-- Suvorov V. Inside the Soviet Army + +Part I: **The higher military leadership** + +Why did the Soviet Tanks not threaten Romania? + +Why was the Warsaw Treaty Organisation set up later than NATO? + +The Bermuda Triangle + +Why does the system of higher military control appear complicated? + +Why is the make-up of the Defence Council kept secret? + +The Organisation of the Soviet Armed Forces + +High Commands in the Strategic Directions + diff --git a/_stories/1986/12526439.md b/_stories/1986/12526439.md new file mode 100644 index 0000000..2e3b471 --- /dev/null +++ b/_stories/1986/12526439.md @@ -0,0 +1,36 @@ +--- +created_at: '2016-09-18T18:27:39.000Z' +title: The Semantics of Destructive Lisp (1986) [pdf] +url: http://sul-derivatives.stanford.edu/derivative?CSNID=00000086&mediaType=application/pdf +author: mr_tyzic +points: 55 +story_text: +comment_text: +num_comments: 4 +story_id: +story_title: +story_url: +parent_id: +created_at_i: 1474223259 +_tags: +- story +- author_mr_tyzic +- story_12526439 +objectID: '12526439' + +--- +[Source](http://sul-derivatives.stanford.edu/derivative?CSNID=00000086 "Permalink to Apache Tomcat/6.0.24 - Error report") + +# Apache Tomcat/6.0.24 - Error report + +* * * + +**type** Status report + +**message** _A 'CSNID' and 'mediaType' parameter are required._ + +**description** _The request sent by the client was syntactically incorrect (A 'CSNID' and 'mediaType' parameter are required.)._ +* * * + +### Apache Tomcat/6.0.24 + diff --git a/_stories/1990/2279632.md b/_stories/1990/2279632.md new file mode 100644 index 0000000..6ca7bea --- /dev/null +++ b/_stories/1990/2279632.md @@ -0,0 +1,66 @@ +--- +created_at: '2011-03-02T14:27:47.000Z' +title: Someone is stealing your life (1990) +url: http://www.lycaeum.org/mv/M2/ventura.html +author: zizek +points: 167 +story_text: '' +comment_text: +num_comments: 159 +story_id: +story_title: +story_url: +parent_id: +created_at_i: 1299076067 +_tags: +- story +- author_zizek +- story_2279632 +objectID: '2279632' + +--- +[Source](http://www.lycaeum.org/mv/M2/ventura.html "Permalink") + +>By Michael Ventura +>(Excerpted from LA Weekly 26-Jan-90) + +Most American adults wake around 6 ot 7 in the morning. Get to work at 8 or 9. Knock off around 5. Home again, 6-ish. Fifty weeks a year. For about 45 years. Most are glad to have the work, but don't really choose it. They may dream, they may study and even train for work they intensely want; but sooner or later, for most, that doesn't pan out. Then they take what they can and make do. Most have families to support, so they need their jobs more than their jobs admit to needing them. They're employees. And, as employees, most have no say whatsoever about much of anything on the job. The purpose or service, the short and long-term goals of the company, are considered quite literally "none of their business" - though these issues drastically influence every aspect of their lives. No matter that they've given years to the day-to-day survival of the business; employees (even when they're called "managers") mostly take orders. Or else. It seems an odd way to structure a free society: Most people have little or no authority over what they do five days a week for 45 years. Doesn't sound much like "life, liberty, and the pursuit of happiness." Sounds like a nation of drones. + +It used to be that one's compensation for being an American drone was the freedom to live in one's own house, in one's own quirky way, in a clean and safe community in which your children had the chance to be happier, richer drones than you. But working stiffs can't afford houses now, fewer communities are clean, none are safe, and your kid's prospects are worse. (This condition may be because for five days a week, for 45 years, you had no say - while other people have been making decisions that haven't been good for you.) I'm not sure whose happiness we've been pursuing lately, but one thing is clear: It's not the happiness of those who've done our society's work. + + +On the other hand - or so they say - you're free, and if you don't like your job you can pursue happiness by starting a business of your very own, by becoming an "independent" entrepreneur. But you're only as independent as your credit rating. And to compete in the business community, you'll find yourself having to treat others - your employees - as much like slaves as you can get away with. Pay them as little as they'll tolerate and give them no say in anything, because that's what's most efficient and profitable. Money is the absolute standard. Freedom, and the dignity and well-being of one's fellow creatures, simply don't figure in the basic formula. + +This may seem a fairly harsh way to state the rules America now lives by. But if I sound radical, it's not from doing a lot of reading in some cozy university, then dashing off to dispense opinion as a prima donna of the alternative press. I learned about drones by droning. From ages 18 to 29 (minus a few distracted months at college when I was 24) I worked the sort of jobs that I expected to have all my life: typesetter for two years, tape transcriber for three, proofreader (a grossly incompetent one) for a few weeks, messenger for a few months, and secretary (yes, secretary) for a year and a half. Then I stopped working steadily and the jobs got funkier: hospital orderly, vacuum-cleaner salesman, Jack-in-the-Box counterperson, waiter, nail hammerer, cement mixer, toilet scrubber, driver. + +It was during the years of office work that I caught on: I got two weeks' paid vacation per year. A year has 52 weeks. Even a comparatively unskilled, uneducated worker like me, who couldn't (still can't) do fractions or long division - even I had enough math to figure that two goes into 52 ... how many times? Twenty-sic. Meaning it would take me 26 years on the job to accumulate one year for myself. And I could only have that in 26 pieces, so it wouldn't even feel like a year. In other words, no time was truly mine. My boss merely allowed me an illusion of freedom, a little space in which to catch my breath, in between the 50 weeks that I lived that he owned. My employer uses 26 years of my life for every year I get to keep. And what do I get in return for this enormous thing I am giving? What do I get in return for my life? + +A paycheck that's as skimpy as they can get away with. If I'm lucky, some health insurance. (If I'm really lucky, the employer's definition of "health" will include my teeth and my eyes - maybe even my mind.) And, in a truly enlightened workplace, just enough pension or "profit-sharing" to keep me sweet but not enough to make life different. And that's it. + +Compare this to what my employer gets: If the company is successful, he (it's usually a he) gets a standard of living beyond my wildest dreams, including what I would consider fantastic protection for his family, and a world of access that I can only pitifully mimic by changing channels on my TV. His standard of living wouldn't be possible without the labor of people like me - but my employer doesn't think that's a very significant fact. He certainly doesn't think that this fact entitles me to any say about the business. Not to mention a significant share in ownership. Oh no. The business is his to do with as he pleases, and he owns my work. Period. + +I don't mean that bosses don't work. Most work hard, and have the satisfaction of knowning that what they do is thiers. Great. The problem is: What I do is theirs too. Yet if my companion workers and I didn't do what we do - then nobody would be anybody's. So how come what we do is hardly ours? How come he can get rich while we're lucky to break even? How come he can do anything he wants with the company without consulting us, yet we do the bulk of the work and take the brunt of the consequences? + + +The only answer provided is that the employer came up with the money to start the enterprise in the first place; hence, he and his money people decide everything and get all the benefits. + + +Excuse me, but that seems a little unbalanced. It doesn't take into account that nothing happens unless work is done. Shouldn't it follow that, work being so important, the doers of that work deserve a more just formula for measuring who gets what? There's no doubt that the people who risked or raised the money to form a company, or bail it out of trouble, deserve a fair return on their investment - but is it fair that they get everything? It takes more than investment and management to make a company live. It takes the labor, skill, and talent of the people who do the company's work. Isn't that an investment? Doesn't it deserve a fair return, a voice, a share of the power? + +I know this sounds awfully simplistic, but no school ever taught me anything about the ways of economics and power (perhaps because they didn't want me to know), so I had to figure it out slowly, based on what I saw around me every day. And I saw: + +That it didn't matter how long I worked or what a good job I did. I could get incremental raises, perhaps even medical benefits and a few bonuses, but I would not be allowed power over my own life - no power over the fundamental decisions on which my life depends. My future is in the hands of people whose names I often don't know and whom I never meet. Their investment is the only factor taken seriously. They feed on my work, on my life, but reserve for themselves all power, perogative, and profit. + +Slowly, very slowly, I came to a conclusion that for me was fundamental: My employwers are stealing my life. + +They. Are. Stealing. My. Life. + +If the people who do the work don't own some part of the product, and don't have any power over what happens to their enterprise - they are being robbed. And don't think for a minute that those who are robbing you don't know they are robbing you. They know how much they get from you and how little they give back. They are thieves. They are stealing your life. + +The assembly-line worker isn't responsible for the decimation of the American auto industry, for instance. Those responsible are those who've been hurt least, executives and stockholders who, according to the Los Angeles Times, make 50 to 500 times what the assembly-line worker makes, but who've done a miserable job of managing. Yet it's the workers who suffer most. Layoffs, plant closings, and such are no doubt necessary - like the bumper stickers say, shit happens - but it is not necessary that workers have no power in the fundamental management decisions involved. + +As a worker, I am not an "operating cost." I am how the job gets done. I am the job. I am the company. Without me and my companion workers, there's nothing. I'm willing to take my lumps in a world in which little is certain, but I deserve a say. Not just some cosmetic "input," but significant power in good times or bad. A place at the table where decisions are made. Nothing less is fair. So nothing less is moral. + +And if you, as owners or management or government, deny me this - then you are choosing not to be moral, and you are committing a crime against me. Do you expect me not to struggle? + +Do you expect us to be forever passive while you get rich stealing our lives? diff --git a/_stories/1991/13346958.md b/_stories/1991/13346958.md index b2ae8fd..14c3ca3 100644 --- a/_stories/1991/13346958.md +++ b/_stories/1991/13346958.md @@ -23,29 +23,8 @@ objectID: '13346958' # John Cleese – Lecture On Creativity | Genius -{{:: 'cloud_flare_always_on_short_message' | i18n }} -Check [@genius][1] for updates. We'll have things fixed soon. - -[GENIUS][2] - -| | -* [ Facebook ][3] -* [ Twitter ][4] -* [ Instagram ][5] -* [ Youtube ][6] - -![Https%3a%2f%2fimages][7] - -# Lecture On Creativity - ## [John Cleese][8] -### - -### - -### - ## Lecture On Creativity Lyrics [You know, when Video Arts asked me][9] [if I'd like to talk about creativity I said "no problem!" No problem! Because telling people how to be creative is easy, it's only being it that's difficult.][10] @@ -372,53 +351,6 @@ So be careful. Thank you, and good night. Thank you. -More on Genius - -### "Lecture On Creativity" Track Info - -* [ Home ][2] -* [ J ][44] -* [ John Cleese ][8] -* [ Lecture On Creativity ][45] - -[About Genius][46] [Contributor Guidelines][47] [Press][48] [News Genius][49] [Annotate the Web][50] [Advertise][51] [Event Space][52] [Privacy Policy][53] [Licensing][54] [Jobs][55] [Developers][56] [Terms of Use][57] [Copyright Policy][58] [Contact us][59] [Sign in][60] - -© 2018 Genius Media Group Inc. - -[Verified Artists][61] All Artists: - -* [A][62] -* [B][63] -* [C][64] -* [D][65] -* [E][66] -* [F][67] -* [G][68] -* [H][69] -* [I][70] -* [J][44] -* [K][71] -* [L][72] -* [M][73] -* [N][74] -* [O][75] -* [P][76] -* [Q][77] -* [R][78] -* [S][79] -* [T][80] -* [U][81] -* [V][82] -* [W][83] -* [X][84] -* [Y][85] -* [Z][86] -* [#][87] - -![Quantcast][88] - -![][89] - [1]: https://twitter.com/genius [2]: https://genius.com/ [3]: https://www.facebook.com/geniusdotcom/ diff --git a/_stories/2005/12291014.md b/_stories/2005/12291014.md deleted file mode 100644 index 097e322..0000000 --- a/_stories/2005/12291014.md +++ /dev/null @@ -1,1059 +0,0 @@ ---- -created_at: '2016-08-15T15:17:34.000Z' -title: An Elementary Proof of Wallis’ Product Formula for Pi (2005) -url: http://fermatslibrary.com/s/an-elementary-proof-of-wallis-product-formula-for-pi -author: johnaston -points: 58 -story_text: -comment_text: -num_comments: 19 -story_id: -story_title: -story_url: -parent_id: -created_at_i: 1471274254 -_tags: -- story -- author_johnaston -- story_12291014 -objectID: '12291014' - ---- -[Source](http://fermatslibrary.com/s/an-elementary-proof-of-wallis-product-formula-for-pi "Permalink to -Fermat's Library | An elementary proof of Wallis’ product formula for pi annotated/explained version. -") - -# -Fermat's Library | An elementary proof of Wallis’ product formula for pi annotated/explained version. - - -[FERMAT'S LIBRARY][1] - -* [ Librarian ][2] -* [ Store ][3] -* [Donate][4] -* [Log in][5] - -Enter your email to receive a new paper every week: - -Close - -Join our newsletter to receive a new paper every week - -Close - -FERMAT'S LIBRARY - -Help us pay for server costs by donating below - -Donate Bitcoin: - -1KrAD3NvReo819SYa2v6MMCeKRBsJH81Mo - -Donate Ethereum: - -0x5b8b23aCAE57168c00960f07544CFB22a797d7C9 - -Donate Litecoin: - -Le5a453VL1qSN7dekKCgJiCqx2yNXE3f7U - -### Comments - -__ - -Ask a question or post a comment about the paper - -Join the discussion! Ask questions and share your comments. - -[Sign in with Google][6] -[Sign in with Facebook][7] -[Sign in with email][8] - -__ - -Get direct links to references, BibTeX extraction and comments on all arXiv papers with: ** [__ Librarian ][2]** - -John Wallis was an English mathematician who is given partial credi... - -This was actually the way that Wallis himself derived the formula. ... - -This is the proof present in most textbooks using integration and ... - -A partial sum with an odd number of factors is for instance $$ ... - -A partial sum with an even number of factors is for instance $$ ... - -Note that $s_{n+1}=frac{3}{2}frac{5}{4}...frac{2n+2-1}{2n+2-2}=s... - -Note that $$ frac{2j+1}{2(j+1)}frac{j+1}{i+j+1}+frac{2i+1}{... - -If we group all $R_{i,j}$ with the same $i+j$ we get the following ... - -Note that $$ frac{pi(n-1)}{2n}W, - -while the partial pro ducts with an even number of factors are of the form - -2n  1 - -s - -2 - -n - -= - -2 - -2 - -· 4 - -2 - -···(2n  2) - -2 - -1 · 3 - -2 - -···(2n  3) - -2 - -· (2n  1) - - 1$ has at least one prime factor, this proves the claim via induction. Euclid's Theorem is one of the fundamental results in number theory, which asserts that there are infinitely many prime numbers. The first proof of Euclid's Theorem was in the 9th book of Euclid's geometric treatise ( Elements) in 300 B.C. . ![The frontispiece of Sir Henry Billingsley's first English version of Euclid's Elements, 1570](https://upload.wikimedia.org/wikipedia/commons/c/cf/Title_page_of_Sir_Henry_Billingsley%27s_first_English_version_of_Euclid%27s_Elements%2C_1570_%28560x900%29.jpg) Figure: The frontispiece of Sir Henry Billingsley's first English version of Euclid's Elements, 1570 This is another incomplete argument. Be precise: "which process" and why are the generated numbers different from each other? Why should there be 3 different prime factors? Why are you not specific here. Just pick one, say 2. Saidak's new proof seems awfully similar to his restatement of Euclid's proof. In both cases the key is that any finite set of primes ${p_1, p_2, ..., p_n}$ can be extended by appending the prime factors of $p_1p_2(...)p_n+1$, which don't belong to ${p_1, ..., p_n}$. Daniel Roca González: Yes. Besides being a concise constructive proof, Saidak's relies solely on the property that consecutive integers are coprime and that's what makes this proof unique. And even if there were three, why can't two of them coincede? E.g. $2 cdot 2 cdot 3$ ? You are not giving a complete argument here. Coprime means that two numbers share no common prime factors. $n$ and $n+1$ share no prime factors, so $n(n+1)$ must have at least 2 prime factors. Consequently, the number after $n(n+1)$, $n(n+1)+1$ shares no common factors with $n(n+1)$, so it must share no common factors with either $n$ or $n+1$ since you can't get new prime factors by multiplying together $n$ and $n+1$ Two numbers are coprime if their highest common factor (or greatest common divisor) is 1. IMO you are not giving a complete argument here. If you spell out the details to make it rigorous by modern standards, you will likely need more then half a page. Euclids proof, on the other hand is super clean and concise. While Euclid's proof is usually reworded like this, it is not actually necessary to use contradiction in this way. Instead of assuming P is the finite set of all prime numbers, you can take $P$ to be any finite set of primes, and follow in the same way. The proof shows that $Q$ has a prime factor which is not in $P$, which already proves the premise since $P$ was arbitrary. You can use this iteratively(just put the new prime in the set $P$ and apply the proof again to get a new prime) to generate an infinite set of primes, just like Saidak's proof, and it's just as simple. Thx @Erik for spelling it out. I think this argument deserves a little more elaboration than just "Similarly" in a proof of an elementary result, that should be digestible by beginners. In this paper Filip Saidak, Professor at The University of North Carolina at Greensboro, comes up with a proof that is conceptually even simpler than Euclid's proof. Euclid's Theorem has been proved by several other famous mathematicians including Euler and Paul Erdos. Euler's and Erdo's proofs relied on the fundamental theorem of arithmetic: that every integer has a unique prime factorization. To see their proofs [click here](https://en.wikipedia.org/wiki/Euclid%27s_theorem#Proof_using_factorials) $Q = p_1.p_2...p_k + 1= P+1 $ is either prime or not. 1\. If Q is prime then by contradiction there's one more prime in the set P 2\. If Q is not prime, there is a $p_i$ in the set P that divides Q. By definition, since $p_i$ is in the list it will also divide P. If $p_i$ divides Q and P it will also divide its difference $Q-P=1$, which is a contradiction since no prime number divides 1. This means that $p_i$ is a prime number and can't be in the list! As can be seen, Euclid proves the result by contradiction, assuming that the initial set P contains all the prime numbers. Saidak's proof unlike Euclid's avoids the "reductio ad absurdum" method. -* [About][10] -* [Follow us __ ][11] -* [Get in touch __ ][12] - -[1]: http://fermatslibrary.com/ -[2]: http://fermatslibrary.com/librarian -[3]: https://teespring.com/stores/fermats-library?utm_source=fermatssite -[4]: http://fermatslibrary.com# -[5]: http://fermatslibrary.com/users/sign_in -[6]: http://fermatslibrary.com/users/auth/google_oauth2 -[7]: http://fermatslibrary.com/users/auth/facebook -[8]: http://fermatslibrary.com/users/sign_in?redirect=http%3A%2F%2Ffermatslibrary.com%2Fp%2F805da6ea -[9]: https://disqus.com/?ref_noscript -[10]: http://fermatslibrary.com/about -[11]: https://twitter.com/fermatslibrary -[12]: mailto:team%40fermatslibrary.com - diff --git a/_stories/2007/15543486.md b/_stories/2007/15543486.md deleted file mode 100644 index 1cb71e1..0000000 --- a/_stories/2007/15543486.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -created_at: '2017-10-24T17:43:32.000Z' -title: Self-Control Relies on Glucose as a Limited Energy Source (2007) -url: http://fermatslibrary.com/s/self-control-relies-on-glucose-as-a-limited-energy-source-willpower-is-more-than-a-metaphor -author: Goosee -points: 164 -story_text: -comment_text: -num_comments: 113 -story_id: -story_title: -story_url: -parent_id: -created_at_i: 1508867012 -_tags: -- story -- author_Goosee -- story_15543486 -objectID: '15543486' - ---- -[Source](http://fermatslibrary.com/s/self-control-relies-on-glucose-as-a-limited-energy-source-willpower-is-more-than-a-metaphor "Permalink to -Fermat's Library | Self-Control Relies on Glucose as a Limited Energy Source: Willpower Is More Than a Metaphor annotated/explained version. -") - -# -Fermat's Library | Self-Control Relies on Glucose as a Limited Energy Source: Willpower Is More Than a Metaphor annotated/explained version. - - - diff --git a/_stories/2007/16272399.md b/_stories/2007/16272399.md deleted file mode 100644 index afe7cd1..0000000 --- a/_stories/2007/16272399.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -created_at: '2018-01-31T08:31:00.000Z' -title: 'Sleep and Mortality: A Population-Based 22-Year Follow-Up Study (2007)' -url: https://fermatslibrary.com/s/sleep-and-mortality-a-population-based-22-year-follow-up-study -author: onderkalaci -points: 138 -story_text: -comment_text: -num_comments: 37 -story_id: -story_title: -story_url: -parent_id: -created_at_i: 1517387460 -_tags: -- story -- author_onderkalaci -- story_16272399 -objectID: '16272399' - ---- -[Source](https://fermatslibrary.com/s/sleep-and-mortality-a-population-based-22-year-follow-up-study "Permalink to -Fermat's Library | Sleep and Mortality: A Population-Based 22-Year Follow-Up Study annotated/explained version. -") - -# -Fermat's Library | Sleep and Mortality: A Population-Based 22-Year Follow-Up Study annotated/explained version. - - - diff --git a/_stories/2008/3353593.md b/_stories/2008/3353593.md index 556c2aa..26ec9de 100644 --- a/_stories/2008/3353593.md +++ b/_stories/2008/3353593.md @@ -22,13 +22,6 @@ objectID: '3353593' [Source](http://www.paulgraham.com/trolls.html "Permalink to Trolls") # Trolls - - -| ----- | -| ![][1] | ![][2] | ![][3] - - -| ![Trolls][4] February 2008 @@ -62,39 +55,19 @@ So far the experiment seems to be working. The level of conversation on News.YC I'm optimistic we will. We're not depending just on technical tricks. The core users of News.YC are mostly refugees from other sites that were overrun by trolls. They feel about trolls roughly the way refugees from Cuba or Eastern Europe feel about dictatorships. So there are a lot of people working to keep this from happening again. - - - - + **Notes** [1] I mean forum in the general sense of a place to exchange views. The original Internet forums were not web sites but Usenet newsgroups. [2] I'm talking here about everyday tagging. Some graffiti is quite impressive (anything becomes art if you do it well enough) but the median tag is just visual spam. - - | - - | ----- | -| ![][2] | | ![][9][Russian Translation][10]![][2] | | ![][2] | - - -| ----- | -| - - -* * * - - | - - | - [1]: http://ep.yimg.com/ay/paulgraham/essays-1.gif [2]: http://ep.yimg.com/ca/Img/trans_1x1.gif [3]: http://ep.yimg.com/ca/I/paulgraham_2271_3232 diff --git a/_stories/2009/1948436.md b/_stories/2009/1948436.md new file mode 100644 index 0000000..78ea86f --- /dev/null +++ b/_stories/2009/1948436.md @@ -0,0 +1,31 @@ +--- +created_at: '2010-11-28T21:49:32.000Z' +title: Australia blocks access to Wikileaks, $11K/day fine for linking to it (2009) +url: http://www.techradar.com/news/internet/australian-government-adds-wikileaks-to-banned-website-list-585894 +author: mcantelon +points: 87 +story_text: '' +comment_text: +num_comments: 66 +story_id: +story_title: +story_url: +parent_id: +created_at_i: 1290980972 +_tags: +- story +- author_mcantelon +- story_1948436 +objectID: '1948436' + +--- +[Source](https://www.techradar.com/news/internet/australian-government-adds-wikileaks-to-banned-website-list-585894 "Permalink to 301 Moved Permanently") + +# 301 Moved Permanently + +# 301 Moved Permanently + +* * * + +nginx + diff --git a/_stories/2009/2255463.md b/_stories/2009/2255463.md new file mode 100644 index 0000000..9d4f1f1 --- /dev/null +++ b/_stories/2009/2255463.md @@ -0,0 +1,50 @@ +--- +created_at: '2011-02-23T19:42:08.000Z' +title: How To Be a Consultant, a freelancer or an independent contractor (2009) +url: http://jacquesmattheij.com/be-consultant+/ +author: renofwon +points: 88 +story_text: '' +comment_text: +num_comments: 6 +story_id: +story_title: +story_url: +parent_id: +created_at_i: 1298490128 +_tags: +- story +- author_renofwon +- story_2255463 +objectID: '2255463' + +--- +[Source](https://jacquesmattheij.com/be-consultant "Permalink to How to be a Consultant, a Freelancer, or an Independent Contractor · Jacques Mattheij") + +# How to be a Consultant, a Freelancer, or an Independent Contractor · Jacques Mattheij + +This is a series of pages that guide you through the creation and operation of a successful consulting business. I've written this after running a fairly successful consultancy business in the mid-90's and reviving this business in 2008. I'm primarily active in software, so some of the things in here will be skewed in that direction, but I'll do my best to keep it general, and to make it 'location independent'. + +The reason I wrote this up is because on the [Hacker News forum][1] people will post questions regarding freelancing, and given the nature of the medium it is not always feasible to put all the time and effort into writing an answer as good as possible. So, this is dedicated to all those HN'ers that help me with my questions, I hope this balanced the scales a bit. + +This book assumes several things: + +* that you have a skill +* that this skill is marketable +* that you are willing to work reasonably hard +* that you have some self discipline + +If all of those are answerable with 'yes' then there is no reason why you could not run a business of your own. + +In the larger context of 'starting up' a consultancy business is an excellent way to bootstrap yourself into something larger, it gives you lots of very useful knowledge about running a business and it will get you a lot of contacts. + +You will also make a half decent living. + +The chapters are laid out more or less in the order that you will need them, the whole thing should read like a book, but feel free to dip in or skip pieces that you are already familiar with. + +If you should find yourself in disagreement with what I wrote here or wish to comment on a passage (or if you want to suggest improvements) by all means, do contact me, jacques@mattheij.com is my email address, I've also enabled comments at the bottom of every page to make it easier to comment on the content 'in context'. + +I should probably add that this stuff is written by someone who started out in Europe, and lived in Canada for about 5 years, so the experience in here will be somewhat biased because of that, even though I've tried to keep that sort of location based information to a minimum, and to keep it as generally applicable as possible. + +[1]: http://news.ycombinator.com/ + diff --git a/_stories/2010/8140298.md b/_stories/2010/8140298.md index 0cbf888..62d4a37 100644 --- a/_stories/2010/8140298.md +++ b/_stories/2010/8140298.md @@ -21,58 +21,6 @@ objectID: '8140298' --- [Source](http://www.slate.com/articles/health_and_science/medical_examiner/2010/02/the_chemists_war.html "Permalink to The little-told story of how the U.S. government poisoned alcohol during Prohibition.") -# The little-told story of how the U.S. government poisoned alcohol during Prohibition. - -[ Slate logo ][3] - -[Sign In][4] [Sign Up][4] - -# The little-told story of how the U.S. government poisoned alcohol during Prohibition. - -# The little-told story of how the U.S. government poisoned alcohol during Prohibition. - -[ ][4] - -[ ][4] - -[ ][5] [ ][6] - -[ Slate logo ][3] - -[Sign In][4] [Sign Up][4] - -Health and Science has moved! You can find [new stories here][7]. - -[Slate][8] - -[Medical Examiner][9] - -Health and medicine explained. - -Feb. 19 2010 10:00 AM - -# The Chemist's War - -[ ][4] - -[ ][4] - -[ ][5] - -## The little-told story of how the U.S. government poisoned alcohol during Prohibition with deadly consequences. - -By [Deborah Blum][10] - -[ ][5] - -[ ][4] - -[ ][4] - -[ ][11] - -[   ][12] - ![100219_MEDEX_ElkLake][13] A police raid confiscating illegal alcohol, in Elk Lake, Canada, in 1925. Archives de l' Ontario / Wikimedia Commons @@ -125,68 +73,8 @@ Officially, the special denaturing program ended only once the 18th Amendment wa _**Correction, Feb. 22, 2010: **The article originally and incorrectly said that the 18th Amendment banned the sale and consumption of alcohol. It banned the manufacture, sale, or transportation of alcohol, not consumption. ([Return][19]  to the corrected sentence.)_ -_Become a fan of  [**Slate** on Facebook][20]. Follow us on  [Twitter][21]._ - Deborah Blum is a Pulitzer Prize–winning science writer, the director of the Knight Science Journalism Fellowship Program at MIT, and the publisher of _Undark_. -[ ][4] - -[ ][4] - -[ ][5] - -[ ][5] - -[ ][4] - -[ ][4] - -[ ][22] - -[   ][23] - -Load Comments - -[Powered by Livefyre][24] - -[ Slate logo ][3] - -[Sign In][4] [Sign Up][4] - -FOLLOW SLATE - -* [Twitter][25] -* [Facebook][20] -* [Instagram][26] - -SLATE ON - -* [IPHONE][27] -* [ANDROID][28] -* [KINDLE][29] -* [Reprints][30] -* [Advertise with us][31] -* [ABOUT US][32] -* [CONTACT US][33] -* [WORK WITH US][34] -* [USER AGREEMENT][35] -* [PRIVACY POLICY][36] -* [FAQ][37] -* [FEEDBACK][38] -* [CORRECTIONS][39] - -Slate Group logo - -Slate is published by The Slate Group, a Graham Holdings Company. All contents © 2018 The Slate Group LLC. All rights reserved. - -[Slate][3] - -[ Slate logo ][3] - -[Sign In][4] [Sign Up][4] - -[ ][4] [ ][4] [ ][5] - [1]: http://b.scorecardresearch.com/p?c1=2&c2=18406752&c3=&c4=http://www.slate.com/articles/health_and_science/medical_examiner/2010/02/the_chemists_war.html&c5=&c6=&c15=&cj=1 [2]: http://pixel.quantserve.com/pixel/p-fw53_-Tq3MNK1.gif [3]: http://www.slate.com/ diff --git a/_stories/2010/9777485.md b/_stories/2010/9777485.md index bb6aac4..16e0742 100644 --- a/_stories/2010/9777485.md +++ b/_stories/2010/9777485.md @@ -27,14 +27,6 @@ objectID: '9777485' by [Steve Klabnik][1] -* * * - -##### Meta - -* [All Posts][2] -* [Feed][3] -* * * - ##### Table of Contents * [What To Know Before Debating Type Systems][4] diff --git a/_stories/2010/9814741.md b/_stories/2010/9814741.md index 447e609..ea455af 100644 --- a/_stories/2010/9814741.md +++ b/_stories/2010/9814741.md @@ -19,263 +19,7 @@ _tags: objectID: '9814741' --- -[Source](http://www.spiegel.de/international/europe/greek-debt-crisis-how-goldman-sachs-helped-greece-to-mask-its-true-debt-a-676634.html "Permalink to Greek Debt Crisis: How Goldman Sachs Helped Greece to Mask its True Debt - SPIEGEL ONLINE") - -# Greek Debt Crisis: How Goldman Sachs Helped Greece to Mask its True Debt - SPIEGEL ONLINE - -![][1] - - - -* __ -* * * __ - -[Mein SPIEGEL][2] - -* __Menu -* [Politik][3] -* [Meinung][4] -* [Wirtschaft][5] -* [Panorama][6] -* [Sport][7] -* [Kultur][8] -* [Netzwelt][9] -* [Wissenschaft][10] -* more __ -* [International][11] -* [Abo][12] -* [TV-Programm][13]ǀ -* DAX [ 12.496,71][14]ǀ -* [__Wetter][15]ǀ -* [Schlagzeilen][16]ǀ -* __ -* [Nachrichten][17] -* [Schlagzeilen][16] -* [Nachrichtenarchiv][18] -* [Newsletter][19] -* [RSS][20] -* [Mobil][21] -* [Multimedia][22] - * * [Story][23] - * [Fotostrecken][24] - * [Infografiken][22] -* [Politik][3] - * * * * Ü[bersicht][3] - * [Deutschland][25] - * [Ausland][26] - * [Europa][27] - * [Meinung][28] - * * [Meinung][29] -* [Wirtschaft][5] - * * * * Ü[bersicht][5] - * [Börse][30] - * [Verbraucher & Service][31] - * [Versicherungen][32] - * [Unternehmen & Märkte][33] - * [Staat & Soziales][34] - * [Mittelstand][35] - * * * [Brutto-Netto-Rechner][36] - * [Jobsuche][37] - * [Immowelt][38] - * [Tarifvergleiche][39] -* [Panorama][6] - * * * * Ü[bersicht][6] - * [Justiz][40] - * [Leute][41] - * [Gesellschaft][42] - * [Multimedia-Reportagen][43] - * [Elterncouch][44] - * * * [LOTTO 6aus49][45] - * [Eurojackpot][46] - * [Glücksspirale][47] -* [Sport][7] - * * * * Ü[bersicht][7] - * [Fußball-Liveticker][48] - * [Spielerindex SPIX][49] - * [Fußball-News][50] - * [Champions League][51] - * [Fußball-Tippspiel][52] - * [Formel 1][53] - * [Formel-1-Liveticker][54] - * [Ergebnisse][55] - * [Wintersport][56] - * * * [ Bundesliga präsentiert von Continental][57] - * * [ Olympia 2018 ][58] -* [Kultur][8] - * * * * Ü[bersicht][8] - * [Kino][59] - * [Musik][60] - * [TV][61] - * [Literatur][62] - * [Gutenberg][63] - * [Bestseller][64] - * [Buchrezensionen][65] - * * [Video][66] -* [Netzwelt][9] - * * * * Ü[bersicht][9] - * [Netzpolitik][67] - * [Web][68] - * [Gadgets][69] - * [Games][70] - * [Apps][71] - * * [Wissenschaft][10] - * * * * Ü[bersicht][10] - * [Mensch][72] - * [Natur][73] - * [Technik][74] - * [Weltall][75] - * [Medizin][76] - * [Datenlese][77] - * [ÜberMorgen][78] - * [Uno-Klimakonferenz 2017][79] - * * * [Sudoku][80] - * [Kenken][81] -* [Gesundheit][82] - * * * * Ü[bersicht][82] - * [Diagnose & Therapie][83] - * [Ernährung & Fitness][84] - * [Psychologie][85] - * [Sex & Partnerschaft][86] - * [Schwangerschaft & Kind][87] - * * [BMI-Rechner][88] - * [Kalorienrechner][89] - * [Arztsuche][90] -* [einestages][91] - * * * * Ü[bersicht][91] - * [Zeitzeugen][92] - * [Erster Weltkrieg][93] - * [Zweiter Weltkrieg][94] - * [DDR][95] - * [Fotografie][96] - * [Film][97] - * [Musik][98] - * [Archiv][99] -* [KarriereSPIEGEL][100] -* [Leben und Lernen][101] - * * * * Ü[bersicht][101] - * [Schule][102] - * [Uni][103] - * [Job][104] -* [bento][105] -* [Reise][106] - * * * * Ü[bersicht][106] - * [Städtereisen][107] - * [Deutschland][108] - * [Europa][109] - * [Fernweh][110] - * [Skiatlas][111] - * * * [Deals der Woche][112] -* [Auto][113] - * * * * Ü[bersicht][113] - * [Tests][114] - * [Fahrkultur][115] - * [IAA 2017][116] - * * * [Kfz-Versicherung][117] -* [Stil][118] - * * * * Ü[bersicht][118] - * [Design][119] - * [Mode][120] - * [Kochen][121] - * [Reisen][122] - * [Hotels][123] - * [S-Magazin][124] - * * [Backstage][125] -* [English][11] - * * * * [Front Page][11] - * [World][126] - * [Europe][127] - * [Germany][128] - * [Business][129] - * [Zeitgeist][130] - * [BeyondTomorrow][131] - * [Newsletter][132] -* [SPIEGEL Plus][133] - * * * * Ü[bersicht][133] - * [SPIEGEL Plus Deutschland][134] - * [SPIEGEL Plus Wirtschaft][135] - * [SPIEGEL Plus Gesellschaft][136] - * [SPIEGEL Plus Ausland][137] - * [SPIEGEL Plus Sport][138] - * [SPIEGEL Plus Wissenschaft][139] - * [SPIEGEL Plus Kultur][140] -* [SPIEGEL AKADEMIE][141] -* [DER SPIEGEL live][142] -* [DER SPIEGEL][143] - * * * [ **DER SPIEGEL -(digitales Magazin)** ][143] - * [ Titelbilder & Heftarchive ][144] - * [ Abo-Angebote ][12] - * [ Shop ][145] - * [ SPIEGELblog ][146] -* [SPIEGEL TV][147] - * * * * Ü[bersicht][147] - * [SPIEGEL TV Magazin][148] - * [SPIEGEL TV Reportage][149] - * [SPIEGEL TV Programm][150] - * [SPIEGEL Geschichte][151] - * [SPIEGEL TV Wissen][152] - * [SPIEGEL.TV][153] -* [Forum][154] - * * * * Ü[bersicht][154] - * [Votes][155] - * [Netiquette][156] -* [Themen][157] -* Service - * * * [ Wetter ][158] - * [ Börse ][159] - * [ TV-Programm ][13] - * [ Benzinpreis ][160] - * [ Bußgeldrechner ][161] - * [ Werkstattvergleich ][162] - * [ Bücher bestellen ][163] - * [ DSL-Vergleich ][164] - * [ Ferientermine ][165] - * [ Gasanbietervergleich ][166] - * [ Stromanbietervergleich ][167] - * [ Energiesparratgeber ][168] - * [ Energievergleiche ][169] - * [ Gehaltscheck ][170] - * [ Uni-Tools ][171] - * [ Währungsrechner ][172] - * [ Versicherungen ][173] -* [Gutscheine (Anzeige)][174] - * * * [Amazon][175] - * [Mytoys][176] - * [Douglas][177] - -Cancel - -date... any time last week last month last year headline and teaser full text author - -* [English Site][11] -* [Europe][178] -* [Euro Crisis 2010][179] -* # Greek Debt Crisis: How Goldman Sachs Helped Greece to Mask its True Debt - - - - - -## Greek Debt Crisis How Goldman Sachs Helped Greece to Mask its True Debt - -**Goldman Sachs helped the Greek government to mask the true extent of its deficit with the help of a derivatives deal that legally circumvented the EU Maastricht deficit rules. At some point the so-called cross currency swaps will mature, and swell the country's already bloated deficit.** - -[ ![Greek Finance Minister George Papaconstantinou speaking at a conference in January. ][180] ][181] - -dpa - -Greek Finance Minister George Papaconstantinou speaking at a conference in January. - -By Beat Balzli - -__ - -**February 08, 2010**  06:55 PM - -* [Print][182] -* [Feedback][183] - - +[Source](http://www.spiegel.de/international/europe/greek-debt-crisis-how-goldman-sachs-helped-greece-to-mask-its-true-debt-a-676634.html "Permalink to Greek Debt Crisis: How Goldman Sachs Helped Greece to Mask its True Debt - SPIEGEL ONLINE") Greeks aren't very welcome in the Rue Alphones Weicker in Luxembourg. It's home to Eurostat, the European Union's statistical office. The number crunchers there are deeply annoyed with Athens. Investigative reports state that important data "cannot be confirmed" or has been requested but "not received." @@ -301,147 +45,6 @@ At some point Greece will have to pay up for its swap transactions, and that wil The bank declined to comment on the controversial deal. The Greek Finance Ministry did not respond to a written request for comment. -Article... - -* [Print][182] -* [Feedback][183] - -__ - -Related SPIEGEL ONLINE links - -* [Interview with German Government Economic Adviser: Euro Zone 'Could Cope with Greek Bankruptcy'][185] (02/05/2010) -* [Europe's Lehman Brothers: Brussels Intervenes to Slow Greece's Plunge][186] (02/04/2010) -* [Pressure to Reform: European Union Puts Greece under Financial Surveillance][187] (02/03/2010) -* [Betting on Default: Hedge Funds Speculate on Greek Debt][188] (02/01/2010) - -Related Topics - -* #### [Euro Crisis 2010][179] -* [**Banking and Finance][189]** -* [**Euro Crisis][190]** -* [**Greek Debt Crisis 2010][191]** -* [**Greece][192]** - - - - - -**© SPIEGEL ONLINE 2010** -All Rights Reserved -Reproduction only allowed with the permission of SPIEGELnet GmbH - - - -[TOP][193] - -Die Homepage wurde aktualisiert. [Jetzt aufrufen.][194] - -[Hinweis nicht mehr anzeigen.][195] - -#### Serviceangebote von SPIEGEL-ONLINE-Partnern - -* ##### AUTO -* [ Benzinpreis ][160] -* [ Bußgeldrechner ][161] -* [ Werkstattvergleich ][196] -* [ Kfz-Versicherung ][197] -* [ Firmenradrechner ][198] -* [ Firmenwagenrechner ][199] -* ##### ENERGIE -* [ Gasanbietervergleich ][200] -* [ Stromanbietervergleich ][201] -* [ Energievergleiche ][202] -* ##### JOB -* [ Gehaltscheck ][203] -* [ Brutto-Netto-Rechner ][204] -* [ Uni-Tools ][171] -* [ Jobsuche ][205] -* [ Online Englisch lernen ][206] -* [ Online Französisch lernen ][207] -* ##### FINANZEN -* [ Währungsrechner ][172] -* [ Immobilien-Börse ][208] -* [ Versicherungen ][209] -* ##### FREIZEIT -* * [ Eurojackpot ][210] - * [ Lottozahlen ][211] - * [ Glücksspirale][212] - * [ Sudoku ][213] - * [ Kenken ][214] - * [ Street ][215] - * [ Reise-Deals ][216] - * [ Gutscheine ][217] -* * [ Bücher bestellen ][163] - * [ Arztsuche ][218] - * [ DSL-Vergleich ][219] - * [ Ferientermine ][165] - -#### SPIEGEL GRUPPE - -* [Abo][220] -* -[Shop][221] -* -[manager magazin][222] -* -[Harvard Business Manager][223] -* -[buchreport][224] -* -[Werbung][225] -* -[Jobs][226] -* #### DER SPIEGEL - -[ ][143] -* #### Dein SPIEGEL - -[ ][227] -* #### SPIEGEL WISSEN - -[ ][228] -* #### SPIEGEL GESCHICHTE - -[ ][229] -* #### SPIEGEL CHRONIK - -[ ][230] -* #### LITERATUR SPIEGEL - -[ ][231] -* #### SPIEGEL BIOGRAFIE - -[ ][232] -* #### SPIEGEL SPEZIAL - -[ ][233] -* #### Edition Wissen - -[ ][234] -* #### UNI SPIEGEL - -[ ][235] - -* [__Twitter][236] -* [__Facebook][237] -* [__Google+][238] -* [Impressum][239] -* -[Datenschutz][240] -* -[Nutzungsrechte][241] -* -[Kontakt][242] -* -[Hilfe][243] - - - -Bitte deaktivieren Sie Ihren Adblocker! - -So schalten Sie Ihren Adblocker auf SPIEGEL ONLINE aus!!!: - -* Klicken Sie auf das Adblocker-Zeichen in Ihrem Browser oder öffnen Sie in den Einstellungen den Bereich für Erweiterungen / Addons. -* Wählen Sie die Option „Deaktivieren auf: spiegel.de“ (oder ähnlich), um eine Ausnahme hinzuzufügen. Vielen Dank! -* Seite neu laden - -**Sie haben gar keinen Adblocker oder bereits eine Ausnahme hinzugefügt?** - -Bitte prüfen Sie, ob Sie ähnliche Erweiterungen, Do-not-Track-Funktionen oder den Inkognito-Modus aktiviert haben, die ebenfalls Werbung unterdrücken. Oder haben Sie einen anderen Browser? [Hier finden Sie mehr Informationen][244]. - -Welche Bedeutung Werbung für SPIEGEL ONLINE hat, was wir für Ihre Sicherheit im Netz tun, wie unsere Redaktion arbeitet – [Fragen und Antworten finden Sie hier][245]. - ![][246] [1]: https://count.spiegel.de/nm_trck.gif?sp.site=9999 diff --git a/add-metadata.rb b/add-metadata.rb index bd145a6..c2f7608 100644 --- a/add-metadata.rb +++ b/add-metadata.rb @@ -5,6 +5,18 @@ require 'front_matter_parser' stories = JSON.parse File.read 'stories.json' +def is_hard_url(url) + # We don't want PDFs for now + if url.split(//).last(4).join === '.pdf' + return true + # Or fermatlibrary links + elsif /fermatslibrary/.match(url) + return true + end + + return false +end + stories.each do |year, storiesByYear| storiesByYear.each do |story| story.delete '_highlightResult' @@ -15,9 +27,9 @@ stories.each do |year, storiesByYear| next if url.nil? - # We don't want PDF for now - if url.split(//).last(4).join === '.pdf' + if is_hard_url(url) File.delete fn if File.exist? fn + next end @@ -33,7 +45,23 @@ stories.each do |year, storiesByYear| File.delete fn end else + puts "[DL] #{url}" + + + begin + http = Curl.get("http://heckyesmarkdown.com/go/", {read: '1', u: url}) do |http| + http.timeout = 3 + end + + if http.body_str.size > 100 + content = "#{story.to_yaml}\n---\n#{http.body_str}" + File.open(fn, "w") { |file| file.write content } + puts "[info] Saved" + end + rescue StandardError => e + next + end end end end \ No newline at end of file