Slashdot Mirror


User: TheUnknownCoder

TheUnknownCoder's activity in the archive.

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

Comments · 55

  1. THAT was really funny. Been a while since a youtube video brought me to tears for laughing so hard...

  2. Re:English on What Did Google Earth Spot In the Chinese Desert? · · Score: 1

    They've fixed it...

  3. Re:Lots of red flags, little tech on Camera Lets You Shift Focus After Shooting · · Score: 1
  4. Re:Ahahahahahaha that's funny! on The Intimate Social Graph · · Score: 2, Insightful

    What a proper username!

  5. Re:Comments are good on If the Comments Are Ugly, the Code Is Ugly · · Score: 1

    Comments shall be avoided as much as possible :

    No. Bad comments should be avoided. Those are the comments that add nothing to the code.

    1) the code shall be simple and the name of variables and methods shall be self explanatory in most cases.

    Reasonably naming variables and methods is a given. Most of the time the comments are (or should be) used to explain why a certain function was created and coded that way, rather than putting in plain english what we can tell just by reading the code. The requirements behind your coding can be (and often are) as relevant as the code itself.

    2) the more you add comment lines, the less lines of code you can see on your screen.

    True, but unless you're coding with chisel and stones, this is really irrelevant. A program is not a novel that requires two pages of comments to explain a few lines of code. Whoever does this is missing the whole point of code commenting.

    3) comments introduce a redundancy.

    They do not, if they're done properly. As aforementioned, comments are needed to explain reasons that one cannot tell from the code.

  6. Re:The comment may also be complex.. on If the Comments Are Ugly, the Code Is Ugly · · Score: 1

    You missed the classic:
    // Here be dragons

  7. Re:Same as bugzilla? on Data Locking In a Web Application? · · Score: 2, Insightful

    Beautifully simple! If I may add: try to keep all this functionality inside your Data Access Layer. That will really make things simpler in the presentation layer (your web pages).

  8. No .trim??? on JavaScript: The Good Parts · · Score: 2, Informative
    String.prototype.trim = function(){return(this.replace(/((^\s*)|(\s*$))/g, ""))};

    There you go.

  9. Re:damned if you do... on Software Update Shuts Down Nuclear Power Plant · · Score: 1

    I would hope that isn't the case for that system, but I have seen it happen before. In a nuclear plant? No you did not.
  10. Re:But Bacon Tastes Good... Pork Chops Taste Good. on Robot Identifies Human Flesh As Bacon · · Score: 1

    RE:#16789835

    Sewer rat may taste like pumpkin pie, but I'd never know, because I'd never eat the filthy motherfucker.

  11. Re:Obvious on New Windows Attack Can Disable Firewall · · Score: 1

    What the fuck is going on with the Mods nowadays??? The guy has a valid point, not applicable to most of us, but a valid one anyway. And he's a flamebait now?

    Oh, how I long for this kind of abuse when [meta]moderating...

  12. Re:New Hardware Found..... on Vista to Allow "One Significant" Hardware Upgrade · · Score: 2, Interesting

    Agreed. It seems that MS forgets that end users are, albeit slowly, getting more educated about computing in general. For a lot of people, though, computer is Windoze, the difference is not clear enough... For those, I like to put it this way:

    You just bought your family a nice new car. As usual, you fill up the tank weekly at the gas station down the corner. But their gas isn't that good, and causes your engine to malfunction, for no apparent reason. But you're used to it, since the station is there for over 25 years, you grew up with it. It was actually the only gas station around until a couple of years ago.. Besides that, they just issued a notice that says that you can no longer install that nice CD player you want on your car, because the CD player is not supported by them, and your engine will stall after 10 miles, if you insist in installing the player. Now, why the hell would you put up with that gas station, knowing that there are many, many other gas stations around, with better, cheaper gas?...

    You wouldn't. It's your car, and you do have a choice of what gas you want to fill up the tank with!

  13. Re:When cryptography is outlawed, on 30 Years of Public Key Cryptography · · Score: 1

    Damn! I just used my last mod point. Otherwise I'd mod you up Informative... I really like this little plugin!!!

  14. Re:I don't understand. on FCC Lets Wireless Devices Use Empty TV Channels · · Score: 1

    Did you know that 1% of the static you see and hear on empty channels is actually radiation from the Big Bang?
    Really.

  15. Re:Please... on Teleportation Gets a Boost · · Score: 2, Funny

    copy con teleport.bat
    @echo off
    cls
    echo.
    echo Now teleporting...
    move /Y a b > NULL
    REM sleep 30s (OMG! It's taking long this time! IT'S WOKRING!!!):
    PING -n 31 127.0.0.1>nul
    echo.
    echo Done!
    ^Z

  16. Re:Yogurt is already smarter than me on BT Futurologist On Smart Yogurt and the $7 PC · · Score: 1

    LOL HAHAHAHAHAHAHA! That is Funny... Thanks for making me laugh so hard, I was almost sleeping at the desk, and now I want to go out and hug pedestrians on may way to the pub... Schartz!!! HAHAHAHHAHA! Oh boy...

  17. Re:Computers as smart as "some" people im sure on BT Futurologist On Smart Yogurt and the $7 PC · · Score: 1

    Talking about chess, Deep Blue was the first computer to beat a chess world champion in a round of chess. Processing 11 gigaflops, the machine was built solely for that purpose. Special hardware and all.

    Well, the humanity isn't made of Kasparovs. We all have single abilities and excel in so many different areas that it would be impossible to build a computer capable of being better than any human in every single way.

    And please, do not forget that we (I'm human FYI) are becoming smarter, not at the same fast pace as computers are getting faster, but I believe that the end result is that we are always ahead of the machines we create.

  18. Re:1.2 Megawatts on 500 Miles on a 5-Minute Recharge? · · Score: 1

    Hot-to-hot means the voltage between the 2 phases. The voltage between a phase and neutral is usually 110V. When each phase is shifted by 180 degrees (think about the sine wave) the peak difference between p1 and p2 is 220, because one wave is at the +110 and the other is at -110. Read more.

  19. Re:SVG on The Future of Rich Internet Applications · · Score: 2, Interesting

    It's not that it's not quite there yet. Native browser support for SVG is non-existing. However, you can download plug-ins to view SVG. And being a W3C Recommendation, Netscape and IE are promising future browser support for SVG, and with browser support, the plug-in will eventually be phased out. The main problem with SVG for the moment is that hardly anyone uses it.

    One sweet duo is SVG + Ajax, that can vastly improve the interface with the end-user, without eating up a lot of bandwidth and most importantly, can be easily implemented so that the browser gracefully presents an downgraded version of the page if one is not supported...

    Give it all to the ones that can handle it, but degrade gracefully if one cannot handle it all. That is (or should be) the future of the web.

  20. MOD PARENT UP... on No Shadow From the Big Bang? · · Score: 1

    He's absolutely right. I too am a Christian. If there's one thing that the rest of us should learn is to open up our heads and try, try to understand the other side of things. Even (and especially) if we do not agree with it. There's always another side, and who's who to decide what's wrong or what's right?
    Things unacceptable today were normal a few centuries, even years ago. That, my friends, is called evolution. We evolve, our society evolves, the whole world evolves. Animals need to adapt themselves to changes to the environment. The human species is one of the most adaptable in the world. Why the fuck is it so absurd, and against the Bible?

  21. Re:More Nonsense! on Google to Give Data To Brazilian Court · · Score: 3, Insightful
    Of course they could pull the plug on Orkut. But do they really want to do that?
    According to Google's Press Release:

    MOUNTAIN VIEW, Calif. - November 17, 2005
    [...]
    The launch of operations in Latin America further demonstrates Google's ongoing commitment to expanding its international business, and developing the search advertising market in new regions around the world. The office in Sao Paulo, Brazil follows the acquisition of Brazil's Akwan Information Technologies Inc. in July of this year. Akwan has become Google's R&D centre in Brazil.

    So they are activelly building an R&D center in Brazil, which will be Google's HQ in Latin America. Businesswise, they have a lot to loose by not complying with a cuort order...
    Just my R$0,02.
  22. Re:No one expects the Britsh Inquisition! on Possession of Violent Pornography Outlawed in UK · · Score: 1, Insightful

    That's funny alright, but you make a valid point there: how would they know you're in posession of such material and, more inportantly, where would you draw the line between porn, violent porn, fetiche, abuse, S&M?...

    Don't want to be pessimistic (or optimistic, depends on which side of the fence you're at), but if a law can't be enforced, or it's not worth being enforced, then it never will.

  23. Cleversafe on 9 Open Source Companies to Watch · · Score: 4, Funny

    Funding: Private, plus angel investors, amount not disclosed.

    Plus free, shameless advertisement through Slashdot:

    Posted by ScuttleMonkey on Wednesday April 26
    Posted by Zonk on Monday August 21
    Posted by CmdrTaco on Monday August 28

  24. Re:10? on 9 Open Source Companies to Watch · · Score: 1

    Yes! 10 companies in the list. Only 9 are worth watching.

  25. Obligatory joke on Ladies and Gentlemen, the Electronic Toilet · · Score: 1

    On a flight to Singapore, a gentleman had made several attempts to get into the men's restroom, but it had always been occupied. The flight attendant noticed his predicament. Sir, she said "You may use the ladies room if you promise not to touch any of the buttons on the wall." He did what he needed to, and as he sat there he noticed the buttons he had promised not to touch. Each button was identified by letters: WW, WA, PP, and a red one labeled ATR. Who would know if he touched them? He couldn't resist. He pushed WW. Warm water was sprayed gently upon his bottom. What a nice feeling, he thought. Men's restrooms don't have nice things like this. Anticipating greater pleasure, he pushed the WA button. Warm air replaced the warm water, gently drying his underside. When this stopped, he pushed the PP button. A large powder puff caressed his bottom adding a fragile scent of spring flowers to this unbelievable pleasure. The ladies restroom was more than a restroom, it is tender loving pleasure. When the powder puff completed its pleasure, he couldn't wait to push the ATR button which he knew would be supreme ecstasy. Next thing he knew he was in a hospital as he opened his eyes. A nurse was staring down at him with a smile on her face. "What happened?" he exclaimed. "You pushed one too many buttons," replied the nurse. "The last button marked ATR was an Automatic Tampon Remover. Your balls are in the bucket under the bed"