Slashdot Mirror


User: dmbasso

dmbasso's activity in the archive.

Stories
0
Comments
756
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 756

  1. Re:Maybe, maybe not. on China's Arthur C. Clarke · · Score: 0

    Clarke gave us the three laws.

    I prefer Asimov's "2001: A Space Odyssey". Not mentioning Asimov's work on satellites.

  2. Re:Perl is more expressive on Perl 6 In Time For Next Christmas? · · Score: 1

    Ok, in this thread there are already C++, Ruby, and Perl 6 versions of your snippets, so I'll add the Python ones.

    @Lines = sort { $a->{Name} cmp $b->{Name} } @Lines;

    lines.sort(lambda a, b: a.name < b.name)
    or
    lines.sort(key=lambda o: o.name)

    @Files = <c:/Windows/*.exe>;

    from glob import glob
    files = glob("c:/Windows/*.exe")

    I think a good analogy would be Perl is Finish, Python is Esperanto. When you have hundreds of thousands of LoC to maintain, I guess a more direct and unambiguous language is preferred.

    It occurred to me that perhaps Perl is an attempt to seduce the computer... too bad it will take some time before it can appreciate language nuances... ;)

  3. Re:Almost all normal people realise on European Countries Seek Sweeping New Powers To Curb Terrorism · · Score: 1

    No, the OP does not have a point. Why are you focusing on one specific instance? Violence is widespread, and is committed by all kinds of people. Christians of all denominations in the US were quite content with the fact their government torture people (or offshore the task). The loads of innocent people that are killed in drone attacks are also not victims of muslim terrorists.

    Religions are stupid and should be extinguished, but the correct way to achieve that goal is through education. With violence you'll only get more violence.

  4. Re:Almost all normal people realise on European Countries Seek Sweeping New Powers To Curb Terrorism · · Score: 1, Troll

    If by "normal" you mean the normal curve, I guess you're right... probably the majority of the population is ignorant people that can't analyze the facts for themselves. Easier to watch Fox News and hate the other group.

  5. Re:Stop messing with Slashdot on Facebook Targets Office Workers With Facebook At Work Service · · Score: 4, Informative

    It is not the full beta. Just the tip.

  6. Re:Better WebMD than Wikipedia on The Downside of Connected Healthcare: Cyberchondria · · Score: 1

    Uncross your arms
    Take and throw them to the cure
    Say, "I do believe."
    Uncross your arms now
    Take 'em to it
    Say, "I do believe
    I do believe."

  7. Re:Sky drive? on OneDrive Delivers Unlimited Cloud Storage To Office 365 Subscribers · · Score: 0

    "Dropbox, Google, Microsoft, and others have been competing to become your favorite gateway to the NSA."

    FTFY

  8. Re:Bennett Haselton on reality on New Oculus SDK Adds Experimental Linux Support and Unity Free For Rift Headset · · Score: 1

    It's amazing how the joke got old so quick. I guess you should have stopped around the third iteration.

    And before you come criticize this comment, wait for Bennett's.

  9. Re:And so therefor it follows and I quote on Italian Supreme Court Bans the 'Microsoft Tax' · · Score: 1

    IIRC, the license explicitly forbids running it under a VM... though in my opinion if you paid for the crap you should be able to run it whatever way you want.
    But, as I said, Windows is just a waste of hard disk space to me, be it a partition or VDI.

  10. Re:And so therefor it follows and I quote on Italian Supreme Court Bans the 'Microsoft Tax' · · Score: 1

    Why didn't you just order a hamburger?

    Because nobody offers that option. I would gladly request a refund for the Windows 7 that came with my notebook if I could. The only reason I keep its partition is because I paid for that crap, and just "in case I need it"... but it's been 3 years so far without booting it. I guess I'll just wipe it and give more space to my Linux partition whenever I get some time to do it.

  11. Re:Perjury on Silk Road Lawyers Poke Holes In FBI's Story · · Score: 1

    Does that apply even if you're scratching your head while saying the false things (or the "least untruthful things") intentionally?

  12. Re:It Rhymes! on Water Discovered In Exoplanet Atmosphere · · Score: 2

    And it was fa-bu-lous!!!

  13. Re:bitcoin on Putin To Discuss Plans For Disconnecting Russia From the Internet · · Score: 1

    Double spends for anyone who can connect to both sides of the network. Essentially, there will be two ledgers, an International ledger and a Russian one. If you spend on the Russian ledger, the International ledger will still have your money. When the network rejoins, whatever ledger has the most hashing power behind it will be chosen as the correct one, and all the transactions from the other one will be retried on the new global ledger. If the network saw a new transaction spending a previous transaction's outputs, it would be rejected, as well as any spends referencing that transaction, and so on.

    Thank you, that's exactly what I wanted to know.

    This happened already.

    I guess I've missed the news, any links for my lazy ass?

    Bitcoin sounds like a nice investment for dictators willing to further screw their populaces.

  14. bitcoin on Putin To Discuss Plans For Disconnecting Russia From the Internet · · Score: 1

    What happens to the block chain if the network is split, as in this case?

  15. Re:Still... on C++14 Is Set In Stone · · Score: 1

    E.g., would you rather try to see which bit is set in a string like "0b001011010011011101011100" or have it broken up like "0b0010_1101_0011_0111_0101_1100" or "0b00101101_00110111_01011100". If it's a bit field, you may even want "0b001011_010011011_01_0_111_0_0" if breaking it into fields has meaning.

    Such a small change to help readability...

    If you're really interested in readability you would probably define those bits, like:

    #define HIGHSTUFF (0b001011 << 17)
    #define NOTSOHIGHSTUFF (0b010011011 << 8)

    and then or them together.

    Alternatively you could define a macro for your bit field, like:

    #include
    #define bitfield(a,b,c,d) 0x##a##b##c##d
    int main() {
            printf("%x", bitfield(f,f,f,f));
    }

  16. Re:Has anyone been asking Bing for this feature? on Bing Implements Right To Be Forgotten · · Score: 5, Funny

    The feature is actually working! I had totally forgotten Bing existed!

  17. Re:Subject bait on A Skeptical View of Israel's Iron Dome Rocket Defense System · · Score: 1

    Meta-discussions have to happen somewhere... where do you suggest?

  18. Re:I'll enjoy this.... on Foxconn Replacing Workers With Robots · · Score: 1

    For extra nerdiness, 0x853204FA81 is prime.

  19. Re:I'll enjoy this.... on Foxconn Replacing Workers With Robots · · Score: 1

    Uh oh, somebody got his contradictions/hypocrisies rubbed the wrong way. :)

  20. Re:I'll enjoy this.... on Foxconn Replacing Workers With Robots · · Score: 1

    Thanks. Btw, did you try to factor it? :)

  21. Re:I'll enjoy this.... on Foxconn Replacing Workers With Robots · · Score: 2

    Yes, let's just starve everybody to death! That's what Jesus would do! [I hope I don't need to explain why I'm conflating things.]

  22. Re:Really bad explanation of the evolution. on Tibetans Inherited High-Altitude Gene From Ancient Human · · Score: 1

    Because you said that thousands of years ago specific genes were transplanted

    No, I didn't say that. The example I gave was only to elucidate that a single gene (or even a bunch of them) doesn't define a population. I read my post again and the message still seems clear. But ok, I'll make it fucking transparent: suppose I write a book and copy an entire paragraph of Shakespeare's Hamlet, then proceed to burn every single copy of the aforementioned play. It doesn't matter that a paragraph continues to exist in another book, Hamlet went extinct.

  23. Re:Really bad explanation of the evolution. on Tibetans Inherited High-Altitude Gene From Ancient Human · · Score: 1

    I haven't said Denisovans were a different species... you are aware that the word "extinction" is not limited to species right? If all Caucasians | Africans | Mongolians died, their population would be extinct. Their genes would still survive in other humans, and that doesn't make any difference to the fact they would be extinct.

    And how the fuck did you read religious connotations in my post? I'm an atheist.

  24. Re:Really bad explanation of the evolution. on Tibetans Inherited High-Altitude Gene From Ancient Human · · Score: 2

    The explanation of the evolution is terrible. If the gene was inherited from a "Denisovans" then that Denisovan didn't go extinct. His descendents are still among us. The gene did not spread through the population; the people who had the gene survived and people without the gene disappeared leaving more space for those survivors.

    Yes, the "people with the gene" were called Denisovans, they "disappeared", therefore they did go extinct. It seems you don't follow the logic of your own statements.

    And just to make it even more clear: suppose I make dog with the tomato gene for photosynthesis (a solar powered dog, how cool is that), then kill every single tomato plant in the world with some Monsanto shit. It doesn't matter that my glorious green power efficient dog would carry the tomato gene... tomatos would still have gone extinct.

  25. Re:sure you want to go with 'undead' ? on Perl Is Undead · · Score: 2

    [...] code [...] in sigs and comments. [...] Now it's, apparently, the worst thing [...]

    They tried understanding their own sigs after some time.