Slashdot Mirror


User: mrchaotica

mrchaotica's activity in the archive.

Stories
0
Comments
17,992
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 17,992

  1. Re:if assignments on Ask Slashdot: What Are Some Bad Programming Ideas That Work? (infoworld.com) · · Score: 1

    Providing a descriptive name for the error condition was not the important part (especially when the error value is 0, null, or false). The important part was the explicit use of the comparison operator in addition to the assignment operator.

  2. In that case, you apparently want autopep8 instead.

  3. Re:if assignments on Ask Slashdot: What Are Some Bad Programming Ideas That Work? (infoworld.com) · · Score: 1

    If you're doing that, it's more clear for your condition to be like this:

    const int error = 0;
    if( (x = somefunction()) != error ) { ... }

  4. Re:FORTRAN 77 on Ask Slashdot: What Are Some Bad Programming Ideas That Work? (infoworld.com) · · Score: 1

    Why? Matlab (or better yet, GNU Octave) can be a reasonable choice if (and only if) your program is made almost entirely out of matrix manipulation.

  5. Debugger: you can skip the execution point forward/backwards. You can edit code _live_ whilst debugging, or execute custom code in the same context as what's being debugged, and you can debug that as well. Can your favorite language's debugger do this?

    Visual Studio can do it with C#. Its C++ debugger also allows moving the program counter (but not editing), although it can sometimes cause a crash.

  6. I'm currently dealing with about 2M lines of crappy code written in an ide that did/does soft wrapping of lines. Looks really pretty in that particular Windows ONLY IDE, but in anything else it looks like shit when you 1k, 2k and some times even 3k characters on a single line.

    Just run it through indent and be done with it.

  7. Re: Verdict sound legitimate on Linux Developer Loses GPL Suit Against VMware (itwire.com) · · Score: 1

    Nobody really knows what GPL even means.

    It does not define how closely linked code needs to be in order to be one work. Interpretations are very much C/C++ oriented, the meaning in Java/.Net etc. is even more obscure.

    Bullshit. The GPL is built on copyright law, which means "derivative work" mean the same thing in relation to the GPL as it does everywhere else. It is a legal definition, not a technical one.

    In other words, the manner in which the compiler/interpreter links the proprietary code to the GPL'd code is entirely irrelevant: if the proprietary code is "based on" the GPL'd code, it's infringing. That even includes just reading the GPL'd code on GitHub and reimplementing it!

  8. Re:Wrong data is not a benefit nor useful on Kansas Couple Sues IP Mapping Firm For Turning Their Life Into a 'Digital Hell' (arstechnica.com) · · Score: 1

    I wouldn't tolerate that behavior in a scale, either! Even a seven-segment LCD can display "ERROR."

  9. Re:Wrong data is not a benefit nor useful on Kansas Couple Sues IP Mapping Firm For Turning Their Life Into a 'Digital Hell' (arstechnica.com) · · Score: 1

    No, (0,0) is just as idiotic. The software should return NULL or throw an exception.

  10. Re:xkcd is funny but does not always present reali on Being Lazy Is a Sign of High Intelligence, Study Suggests (independent.co.uk) · · Score: 2

    Heretic! Of course xkcd represents reality; you just have to choose the right one. In this case, here's the one you want.

  11. Re:Bureau of Land Management on FBI Forced To Release 18 Hours of Spy Plane Footage (vice.com) · · Score: 1

    people looting the businesses in their own neighborhoods, burning down city blocks, chanting about wanting to see dead police officers, and cheering when cops are murdered.

    Those aren't "people." Those are agents provocateurs planted by the FBI (and/or other law enforcement).

  12. Re:Comcast's argument is more-sensible than summar on Comcast Wants To Charge Broadband Users More For Privacy (dslreports.com) · · Score: 1

    Comcast argues that a service costing $10 can be sold for >=$10, or sold for >=($10 - market_price_of_information).

    Except it can't, because the latter option is unethical and should be criminal!

  13. Re:Meh. Still rocking Windows XP. on One Year Later: Windows 10 Now Runs On Over 21% of All Desktops (winbeta.org) · · Score: 2

    Have you ever found a Point of Sale system that didn't also meet the other definition?

  14. It doesn't matter: it's still a first-party controlled market, with no alternative. There is no third-party market, and there is no "side-loading" (a.k.a., "the normal method of installing software since the dawn of computing"). That makes it exactly as evil as Sony or Nintendo (or Apple).

  15. Hobbyist developer: Disable the setting in your machine, unsigned drivers work fine.

    False. Microsoft is saying that if you do that, playback of DRM'd media will break. Therefore:

    Developer who makes software to enable users to exercise their Fair Use rights: screwed.

    THIS IS THE PROBLEM.

  16. ...that can be installed through Xbox Live.

    Okay, now tell us how many can be installed without Xbox Live.

    In other words, you completely missed the point: everything on Xbox Live is only allowed to exist with Microsoft's permission. That is an evil and intolerable situation.

  17. Re:"if you're serious about security" on New Site Checks Your Browser's Fingerprint · · Score: 1

    Yes. But then you need to agree on such a virtual image, the browser, the addons, the settings of the browser. Do they use adblock plus or ublock origin?

    What we need is a service that allows participating sites to publish the trailing most common configuration in real time, coupled with a browser extension that forges the reporting of your settings (regardless of what they actually are) to match.

    Obviously, the fact that the "participating sites" will not include the most popular sites (which are heavily invested in tracking and thus not sympathetic to the cause -- or trustworthy anyway) means that we'd end up mimicking the most common configuration among privacy nuts instead of among the public as a whole, but even that is better than nothing!

  18. Re:Current Version is GIMP 2.8.18 on After New GIMP Release, Core Developer Discusses Future of GIMP and GEGL (girinstud.io) · · Score: 1

    My wife is a professional graphic designer. I don't know that there's anything she can't accomplish in GIMP, but she does complain that it takes her a lot longer than it does in Photoshop.

  19. Re:What's the big problem? on The Chip Card Transition In the US Has Been a Disaster (qz.com) · · Score: 1

    The backs of my cards are signed "see photo ID."

    It doesn't happen very often, but once in a while, the cashier actually notices and checks!

  20. Re:Handy guide to licenses on Slashdot Asks: Free Upgrade To Windows 10 Ends Today: What's Your Thought On This? · · Score: 1

    GPL and BSD are both free as in speech, but the question is "for who?"

    GPL maximizes freedom for the users -- nothing can take away their control over the code running on their computer.

    BSD maximizes freedom for developers -- they can do whatever they want with it, including close it up and sell it.

  21. Re: Same As Before on Slashdot Asks: Free Upgrade To Windows 10 Ends Today: What's Your Thought On This? · · Score: 1, Offtopic

    The entire reason for Ubuntu's popularity -- not "some" of the reason, or "most" of the reason, but 100.000000000000000000% of it -- was that it worked well as a desktop by default.

  22. Re:Rules for thee, not for me on Getty Sued For $1 Billion For Selling Publicly Donated Photos (thestack.com) · · Score: 1

    Hey dumbass, maybe it's true that "it's almost never RICO," but the key word is "almost" and this case actually could fit the definition.

    From your own goddamn link:

    To win, a plaintiff would have to prove (1) conduct, (2) of an enterprise, (3) through a pattern, (4) of racketeering activity called "predicate acts," (5) causing injury to the plaintiffâ(TM)s "business or property."

    • (1) the executives and management of Getty Images, Inc. manage the enterprise Getty Images, Inc. Obviously.
    • (2) Getty Images, Inc. is an enterprise. That's what the "Inc." part in the name means, so again -- obviously.
    • (3) Other people in this thread have mentioned Morel v. Getty, and a site on which I read about that case (that I can't be bothered to cite; deal with it) listed several other previous instances of Getty Images, Inc.'s similar conduct. That's a pattern.
    • (4) Getty Images, Inc. is extorting payment from innocent people based on bogus claims of copyright infringement. Extortion is "racketeering activity" as defined in 18 U.S. Code ss. 1961 (1) A.
    • (5) The racketeering is causing damage to Highsmith's professional reputation, which is part of her "business or property." It's also costing her money, which is obviously property.

    So there you go: RICO Act violations. QED, asshole!

  23. Re:uMatrix or RequestPolicy Continued on Ask Slashdot: Best Browser Extensions -- 2016 Edition · · Score: 4, Informative

    Care to offer up the advantages/reasons for RequestPolicy Continued rather then RequestPolicy?

    RequestPolicy Continued is under active development, while the original RequestPolicy has been abandoned by its author.

    Also, RequestPolicy Continued allows you to block or unblock several domains at once without having to exit the menu and reload the page each time.

  24. uMatrix or RequestPolicy Continued on Ask Slashdot: Best Browser Extensions -- 2016 Edition · · Score: 2

    uMatrix or RequestPolicy Continued let you block all the cross-site requests and whitelist them yourself instead of relying on a possibly-subverted third-party whitelist (like Ghostery or Adblock).

  25. Re: Make Corrupt sites Disappear on Dark Patterns Across the Web Are Designed To Trick You · · Score: 1

    That's a neat idea! However, I'm a little dismayed that you think users need to be "allowed" to do this or that there "should be" a right to do it, instead of realizing that users don't need anybody's permission and that right already exists and always has existed.

    All we need is easy-to-use software to implement it. I think building that kind of functionality into things like Web of Trust and YaCy (if they don't implement it already) is a good place to start.