Slashdot Mirror


User: zill

zill's activity in the archive.

Stories
0
Comments
1,137
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 1,137

  1. Re:One person's myth is another person's fact. on Myths About Code Comments · · Score: 1

    Again, it's language and architecture dependent, but in my case (C99 on x64) the following code produces the wrong result:
    printf("%i",-1>>1);

    In fact, right shift is not equivalent to division by 2 on all machines that use two's complement for binary numbers. So we're talking about at least 99% of all computers out there.

    Of course your language/compiler/architecture of choice may not have this problem, but at least right shift is not universally equivalent to division by 2.

  2. Re:No, it's a stupid idea... on Ireland's Blasphemy Law Goes Into Effect · · Score: 2, Interesting

    s/atheism/Pastafarianism/g

    Just claim that in the Irish denomination of Pastafarianism, "God" is the name of the devil and its utterance is blasphemy.

  3. Re:One person's myth is another person's fact. on Myths About Code Comments · · Score: 1

    Sure. It's a damned fast way to multiply or divide by a power of 2.

    That really depends on the language and the machine architecture. Since the compiler has a better grasp of both, it's better to let it make the decision for you.

    Plus it invites this type of dangerous thinking: "If left shift is multiplication by 2, then right shift must be division by 2!"

  4. Re:Kernighan on Myths About Code Comments · · Score: 4, Funny

    So I should dumb myself down with a hammer before writing code?

    I'm not sure how I'd reverse the process before debugging though. Maybe I should have thought of that before the hammer came down...

  5. Re:Will the same happen to phones? on Technology Changes To Kill Netbooks? · · Score: 1

    It did for me...

    That's the point. Search engines returns different results for different users, depending on user-agent, cookies, country of ISP, OS, IP, previous search history, and the Echelon database. When you want to share a website please post the URL instead of relying on search engines.

    For example, your link return entirely NSFW results for me.

  6. Re:Waste of bullets on Online Services Let Virus Writers Check Their Work · · Score: 1

    No, they should instead share a cell with men who have enlarged their penises, taken Viagra and are looking for a new relationship.

  7. Re:Easy? on 5th Underhanded C Contest Now Open · · Score: 1

    There are literally thousands of string hashing algorithms available, many of the them have implementations under BSD/MIT license which you can just copy and paste into your program. If you wrote a custom string hashing algorithm it would be highly suspicious.

    Even if the code review doesn't catch you, you will still be fired for reinventing the wheel and polluting the codebase.

  8. Re:Ballmer on Steve Jobs Crowned "Person of the Decade" · · Score: 1

    Right after the flying chairs send the editors to the hospital.

  9. Online poll are just plain silly: on Steve Jobs Crowned "Person of the Decade" · · Score: 1

    mARBLECAKE ALSO THE GAME

  10. Re:Ha Ha on GSM Decryption Published · · Score: 3, Informative

    Actually GSM requires a stream cipher while your suggestion, AES, is a block cipher and would not work in this case.

    Of course it is trivial to turn a block cipher like AES into a stream cipher, but its performance cannot compete with a "native" stream cipher.

  11. Re:Headache? on Real-World Synthehol In Development · · Score: 1, Redundant

    Whoosh!

  12. Re:Duck! I can see you, move to your right on Patrolling the US Border Via Webcam · · Score: 4, Funny

    Now all the poor families near the border have access to free video chat.

    The only problem is that two minor features have not been implemented yet: audio and recipient selection.

  13. Re:Well... on Patrolling the US Border Via Webcam · · Score: 5, Funny

    1. Wear a Bigfoot costume and approach the border.
    2. Frail around for 5 minutes.
    3. Take a smoke break and then google "bigfoot Mexican border".
    4. If there are no relevant results, you're safe to cross.
    5. If there are a few million hits and you find yourself on /. front page, then congratulations on the career move from a deal smuggler to an internet celebrity.

    The best part is that you're guaranteed not to be fired upon if spotted by the boarder patrol. Also you can claim you're just perpetrating a hoax if you're caught performing steps 1-3.

    Security through obscurity never works.

  14. Re:East Coast, no problem on Holiday E-Commerce DDoS Attack Hits EC2 Cloud · · Score: 1

    No law enforcement agency in the country has the authority to do this.

  15. Or more generally speaking... on Amazon Kindle Proprietary Format Broken · · Score: 1

    All proprietary formats are inherently broken.

  16. An animal-rights activist who hunts? on OSU President Cans Anthrax Vaccine Research On Primates · · Score: 1, Insightful

    ...noted huntsman T. Boone Pickens, who had previously pressured the school over animal-rights issues.

    Don't huntsmen shoot and kill animals?

  17. Re:Misleading Title. on Firefox 3.5 Now the Most Popular Browser Worldwide · · Score: 1
    That really depends on how you define "browser". Most slashdotter differentiate browsers by their codebase because we're software oriented and are more concerned about the standard compliance of each browser as opposed to whatever arbitrary string the marketing departments assigns.

    If you choose to use the marketing name to differentiate browsers, then please consider the following senario:

    Microsoft buys out Opera with $500 million (37% premium) and renames Opera to IE8 SP0.

  18. Obligatory xkcd post on Firefox 3.5 Now the Most Popular Browser Worldwide · · Score: 5, Funny

    http://xkcd.com/198/

    Unless you're a web browser developer, keeping track of global browser market-shares is just plain nerdy. But then again, this is /..

  19. Re:Because death threats are illegal and a felony on Student Banned From Minnesota Campus Over Facebook Comments · · Score: 1

    (I don't want to have to pay some uninsured jerks medical bills for a fight)

    Don't worry. Obama covered that for you already.

  20. Re:Because death threats are illegal and a felony on Student Banned From Minnesota Campus Over Facebook Comments · · Score: 1

    The victim's family will obviously sue the school, not the instructors. University of Minnesota has more than 2 billion dollars of endowment, while the instructors have next to nothing in comparison.

  21. Re:Wow, a confirmation on Super-Earths Discovered Orbiting Nearby, Sun-Like Star · · Score: 1

    Actually TFA doesn't say anything about the planets being rocky. Their size imply they're very likely rocky planets, but that has not been confirmed by observation.

  22. Re:To back up parent..... on SFLC Sues 14 Companies For BusyBox GPL Violations · · Score: 2, Informative

    You can charge whatever you want, that's your freedom.

    Depending on the actual worth of the software and its demand, one of two things will happen:

    If the total worth of your software (value to each user * total users in the market) is less than $2,000,000, then obviously no one will buy it and you will earn a total of $0.

    If the total worth of your software is greater than $2,000,000, then someone will pay you $2,000,000 to obtain your binary and source and re-distribute both under GPL at a reasonable price. Your competitor will capture the entire market and you will only earn $2,000,000 (a small portion of the entire market in this case). Thus by pricing your software above the market price, you have essentially developed a product for your competitor to sell. They will earn most of the profits while undertaking no risk.

    In both cases, charging $1,000,000 for your software is not economically optimal.

    In other words, the price of a GPL software is completely determined by the market, since anyone with money can buy you out and re-distribute at the market price. In contrast, the price of proprietary software is less constrained by the market, which explains the fact that almost all commercial software is proprietary.

    In reality, however, it's impossible to have commercial GPL software since regardless of the price you charge, [insert evil software company here] could buy it and then maliciously re-distribute it for free, thus completely killing off your revenue stream. Thus GPL implies both libre and gratis in the real world.

  23. Re:Wow, a confirmation on Super-Earths Discovered Orbiting Nearby, Sun-Like Star · · Score: 2, Insightful

    Why is everyone surprised that super-earths are orbiting other stars? I've always wondered that.

    Because the the term "super-earth" is intentionally used to misled the general public into thinking that those planets have a Earth-like habitat, which imply the possibility of colonization.

    If the title was instead "Heavier than Earth rocky planets found outside of the solar system" no one would read it.

  24. That'll show those pranksters. on Lotus Teases With a Fuel-Agnostic Two-Stroke Engine · · Score: 1

    Excellent.

    If those damn kids put sugar in my gas tank again, I'll get cinnamon buns now instead of a dead engine.

  25. Re:Linking to it on Best Way To Clear Your Name Online? · · Score: 1

    It's pretty obvious now. Desperate blogger looking for a few million hits, and we all fell for it.