Slashdot Mirror


User: someones

someones's activity in the archive.

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

Comments · 174

  1. Too much comments on Comments On Code Comments? · · Score: 1

    I have developed/maintained software for some bigger companies like our National Trains' Company.
    I came across code that was done by some guy comming from the java eco system.
    It seems to me, like he was an amateur OR that java folks do lots of useless commenting.
    Not that there were more commenting lines than code lines, but the comment itself was that trivial that it just obstructed reading the code.

    Consider something like this (actually i cannot post the real function, but its pretty much the same triviality): /*
    * if num1 or num2 are both greater than 0 add num1 to num2 and return the result.
    * in all other cases return -1
    */
    int addNumIfPositive(num1, num2) { /* if num1 or num2 is smaller than 0 return -1 */
    if(num1 0 || num2 0 ) return -1; /* add num1 to num2 and return */
    return (num1 + num2);
    }

    Why would one need any comments at all?
    Code comments should be helpful for people that maintain or extend existing functionality and not for people who cannot read code.
    Comments should be used on code sections that are not clear from reading the code. eg some series of function calls, or exception handling, but PLEASE dont use them on trivialities or for people that cant read code!

  2. Re:Don't trust the cloud! on Cloud Firm MediaFire Flags Malware Samples For DMCA Violation, Bans Researcher · · Score: 1

    The problem is, not everyone knows how to do that.

    Thats why so many NON-IT folks are using cloud crap.
    Remember dropbox and rapidshare and co. They ALL make a living off people not knowing how to do better.

  3. Re:Don't trust the cloud! on Cloud Firm MediaFire Flags Malware Samples For DMCA Violation, Bans Researcher · · Score: 1

    The cloud is just a new fancy word for mainframe or terminal server.

    move along nothing to see here.

  4. Re:...which is why... on Cloud Firm MediaFire Flags Malware Samples For DMCA Violation, Bans Researcher · · Score: 1

    THIS

  5. If law and politics are killing the internet on Cloud Firm MediaFire Flags Malware Samples For DMCA Violation, Bans Researcher · · Score: 1

    start killing the laws and the politics?
    ie. start contributing to the free internet and start boykotting the idiots?

  6. DNT is failing by design. on Apache Patch To Override IE 10's Do Not Track Setting · · Score: 2

    If you do not want to be tracked, DO NOT SEND REQUESTS.
    But sending requests with a "please handle this one but dont use it to track me or put it in logfiles" comment ... did anyone *really* expect that to work?

    How much tracking is done via log file analysis alone?
    Not Logging requests that the user specifies makes it a standard for script kiddies only.

    If it was intended for just not putting a cookie... well fail?
    Thats what browser settings are for and what could have been done with more aggressive browser settings alone.

    Sorry to say that, but this whole standard seems to not ever made sense at all...

  7. Re:Copy to.... on GNOME 3.6 To Include Major Revisions · · Score: 1

    10 years ago: yes.
    1 year ago: not anymore, thants to the intagration of filemanagers to DEs...

  8. Re:Excellent For Student/Office Trolls on GNOME 3.6 To Include Major Revisions · · Score: 1

    None of your reasons imply the need of locking the screen at all.

  9. Re:So what ? on GNOME 3.6 To Include Major Revisions · · Score: 1

    Thats exactly whats KDE is like.
    You can configure anything. But you also NEED to configure anything, as their defaults seem totally screw'd to me, but at least you CAN do it.

  10. Re:fundamental problem unaddressed on GNOME 3.6 To Include Major Revisions · · Score: 1

    This

  11. KDE on GNOME 3.6 To Include Major Revisions · · Score: 2

    Its better every release. At least if you dont have a touch screen device KDE 4.9 is the my new old way of getting work done.

    Unlike gnome which seems to regress every release. I am waiting for them to release their own version of X and Linux.
    A system with integration of all components into one monolithic thing.
    Like Kernel/X/DE/... in just on bin.
    Also might want to start calling bins excecutable files and shotren their extensions to .exe and .so files could be called dll i guess...

  12. Re:Yawn... on GNOME 3.6 To Include Major Revisions · · Score: 1

    Thats why i switched to KDE like 1 year ago.
    Its not even eating more ressources than gnome 3.2 did.

  13. Re:An unforseen method on ICS-CERT Warns That Infrastructure Switches Have Hard-Coded Account Holes · · Score: 1

    So what?
    if you rely on security thru obscurity, please, PLEASE, immidiately resign from any work related to the network/system security field.

  14. The interesting thing is, that on BitFloor Joins List of Compromised BitCoin Exchanges · · Score: 1

    The interesting thing is, that someone is actually willing to accept bitcoins (a virtual not value backed currency) and give in return real stuff. E.g: There is a $ value for bitcoins.
    OK trade porn for bitcoins, but anything else makes me just shake my head...

  15. Re:Show me the money on Hugo Awards Live Stream Cut By Copyright Enforcement Bot · · Score: 1

    If not, lets abuse it till this whole copyright and patent shit drops dead!

  16. Re:Can anyone explain to me why this is worse than on Firefox, Opera Allow Phishing By Data URI Claims New Paper · · Score: 1

    or be served from there?

  17. Re:Chrome and IE on Firefox, Opera Allow Phishing By Data URI Claims New Paper · · Score: 2

    Your argument is invalid.
    Most of us are using http1.1 which has connection keep alive.
    That would make your example 0.80625 seconds where uris would still need 1,07 seconds.
    Also if you live somewhere where you need 25ms for a tcp handshake to complete, consider changing your ISP.

  18. Why introduce censorship, if you can call it on Knocking Infected PCs Off the Internet · · Score: 3, Insightful

    Why publically introduce censorship, if you can call it "computer infected by malware".
    'nuff said.

  19. OpenJDK vs. Oracle Java? on Java Exploit Patched? Not So Fast · · Score: 3, Interesting

    I switched to OpenJDK a while back.
    In its early days it was bugged and crashed all the time, but that time seems long forgotten past.

    Is there a reason to favor Oracle's Java over OpenJDK?

  20. If your system is reasonable secure on Ask Slashdot: Where To Report Script Kiddies and Other System Attacks? · · Score: 2

    you do not need to care about script kiddies and such nuisances...
    just ignore them - if they can get in, their actions will be logged, fix the broken service and you are done.
    if they can get root privs, you failed somewhere.

    Consider them like a free security/penetration check.

  21. Re:Let me get this straight: on Large Bitcoin Ponzi Scheme Collapses With a Loss of $5.6 Million · · Score: 1

    THIS!

  22. Re:News Flash! on How Long Do You Want To Live? · · Score: 1

    thats what came to my mind.
    how could one not want to live forever?

  23. did that my first month in work on The Programmers Go Coding Two-by-Two — Hurrah? · · Score: 1

    i (man) was paired up with a girl. She was fine as a human, but getting work done was kinda pain in the ass.
    I could not scroll anywhere and did not understand anything about the codebase and annoyed the hell outta her permanently asking (trivial, but not obviously trivial) questions.

    Later when i got my laptop, it was heaven: i was alone, could scroll and look up stuff and together we were much more productive.
    And i even had IRC for private + work chat.

  24. Re:Written in ruby on rails, isnt it? on Diaspora* Announces It Is Now a "Community Project" · · Score: 1

    That kinda ruins the idea?

    wasnt everyone supposed to host his/her own pod?

  25. Written in ruby on rails, isnt it? on Diaspora* Announces It Is Now a "Community Project" · · Score: 1

    Did anyone seriously expect it to become anything? Have you ever looked at their installation manual?
    I tried it like 2 years ago, and fail'd miserably...
    I liked the idea, but needing to go thru a longer installation manual than the gentoo quickinstall guide, JUST for checking it out... no thanks, i stopped somewhere in the process.
    Also because I failed to install the pod, im not gonna try again, it was just a too big waste of time back then.

    And if noone can easily bring up an pod and all just join the one pod, how is that diffrent from joining facebook?