Please create an account to participate in the Slashdot moderation system


Forgot your password?
Slashdot Deals: Cyber Monday Sale Extended! Courses ranging from coding to project management - all eLearning deals 20% off with coupon code "CYBERMONDAY20". ×

Comment Hate to explain jokes but... (Score 1) 122

// Contrived, but this kind of thing can happen in duck-typed languages like Javascript
// if you're reading user input and forget explicit casts.

function duckTypingIsGood() {
    return Math.random()<=0.06;
    return 0;

var votes = '';

for ( var i=0; i<100; i++ ) {
   if ( duckTypingIsGood() ) votes = votes + 1;

console.log("In a survey of 100 programmers, "+votes+" thought duck-typing was a good idea")

// Output: In a survey of 100 programmers, 111111 thought duck-typing was a good idea

Comment Re: Resume the lunar program (Score 1) 198

If it's Trump then I predict a change to a program to send people to Venus. It's a lot closer, is similarly sized to earth, and has a real atmosphere.

Please tell me you're joking, right? Sorry if I missed the sarcasm. I don't consider 500 degree sulfuric acid at 90 atmospheres to be much of an advantage. Anyway everyone knows Trump would be more interested in building a casino on the moon.

Comment Re:Sputnik? (Score 5, Insightful) 198

Sputnik was never intended as a "slap in the face to anyone". Self centered people tend to think that others do things especially for their own benefit. Sputnik was a mere step forward in technology. It would have been difficult to create an orbital satellite that did NOT fly over the United States at some point or other. That America decided to take it as a personal insult from "those commie bastards" is another thing entirely.

Bell Labs Unix -- Reach out and grep someone.