Slashdot Mirror


Offset Bad Code, With Bad Code Offsets

An anonymous reader writes "Two weeks ago, The Daily WTF's Alex Papadimoulis announced Bad Code Offsets, a join venture between many big names in the software development community (including StackOverflow's Jeff Atwood and Jon Skeet and SourceGear's Eric Sink). The premise is that you can offset bad code by purchasing Bad Code Offsets (much in the same way a carbon-footprint is offset). The profits are donated to Free Software projects which work to eliminate bad code, such as the Apache Foundation and FreeBSD. The first cheques were sent out earlier today." Hopefully, they work better than carbon offsets, actually.

37 of 279 comments (clear)

  1. Deliberately bad? by Geoffrey.landis · · Score: 4, Interesting
    Let me get this right-- you purchase this offset so that you can deliberately write bad code?

    Why??

    --
    http://www.geoffreylandis.com
    1. Re:Deliberately bad? by mea37 · · Score: 4, Insightful

      I think the intent is that you buy them as penance for bad code you've already written.

      Which makes them pretty much unlike carbon offsets, but I guess someone thinks they're being amusing.

      It's a clever fund-raising campaign for certain projects; I wouldn't read much more into it than that.

    2. Re:Deliberately bad? by DAldredge · · Score: 4, Insightful

      Why would someone feel guilty for developing closed source code?

    3. Re:Deliberately bad? by jimbobborg · · Score: 4, Funny

      Do you think Microsoft doesn't have any sort of internal code and bug tracking system?

      Sometimes I wonder...

    4. Re:Deliberately bad? by Nefarious+Wheel · · Score: 3, Insightful

      I think the intent is that you buy them as penance for bad code you've already written.

      No way could I come up with that kind of coin.

      --
      Do not mock my vision of impractical footwear
    5. Re:Deliberately bad? by Surt · · Score: 3, Insightful

      Why would someone feel guilty for that? It's not like the buyer has no choice.

      --
      "Who is the Journal of Quantum Physics going to believe?" --Stephen Hawking
    6. Re:Deliberately bad? by Rycross · · Score: 4, Insightful

      Assuming that the guy I'm selling it to has a real choice whether to buy the car, understands that the hood is welded shut before buying, and I don't try to use legal means to keep him from unwelding the hood or getting to the engine, why should I feel bad about selling it to him?

    7. Re:Deliberately bad? by MrNaz · · Score: 4, Funny

      Wrong. The real reason someone would feel bad for writing bad code is because afterwards they'd have to put up with RMS picketing their offices every morning. I can imagine the boardroom now:
      Director 1: We're making millions from this closed source software, it's the company's greatest success.
      Director 2: Yea, but that scary guy with the beard and the long hair keeps turning up and making my morning miserable.
      Director 1: I know, he's really annoying. All in favor of scuttling our revenue in the interests of making him go away, say "aye".
      Directors 1 - 20: "AYE!"

      --
      I hate printers.
    8. Re:Deliberately bad? by Rycross · · Score: 4, Insightful

      In what way? Closed source says nothing about whether you actually use some of the very-bad laws on the books to prevent people from inspecting the workings of your program. Its perfectly possibly for me to write a closed-source program and not drag people to court for reverse engineering, and even write a license to that effect.

      If I do not explicitly permit someone to distribute modifications of my software, that *would* fall under copyright law, but that's not covered by the analogy. In fact, its pretty difficult to come up with a car analogy that actually makes sense. Whether you view copyright as moral or not falls to your personal belief. My belief is that, despite Stallman's protestations, it is possible to distribute software under copyright morally, even though a lot of proprietary software vendors do not do so.

    9. Re:Deliberately bad? by ClosedSource · · Score: 3, Insightful

      I don't think it's that clever. People who frequent WTF think it's the other guy who writes bad code.

  2. Apache & FreeBSD = bad code? by sopssa · · Score: 5, Funny

    which work to eliminate bad code, such as the Apache Foundation and FreeBSD.

    Wow, that's a quite direct attack.

    1. Re:Apache & FreeBSD = bad code? by bsDaemon · · Score: 3, Funny

      What could possibly be bad in a code base that contains functions such as "void die_you_gravy_sucking_pig_dog(void)"?

    2. Re:Apache & FreeBSD = bad code? by bsDaemon · · Score: 3, Informative

      It's from the FreeBSD shutdown.c source file.

  3. Just call them by the real name, indulgences... by nweaver · · Score: 4, Insightful

    * (carbon, code, whatever) offsets are really the Papal indulgences of the 21st century.

    --
    Test your net with Netalyzr
    1. Re:Just call them by the real name, indulgences... by slimjim8094 · · Score: 3, Informative

      More or less yes, but the principle is sound. Offsets are voluntary so those who feel "guilty" pay.

      Essentially, no individual person or company pays for pollution - we all do, all across the world. I'm talking about any and all kinds of pollution, not just greenhouse gases.

      Carbon credits - the government taxy, non-voluntary way - is a good idea because if, say, GM releases a bunch of sulfuric acid into the atmosphere, they don't need to pay for it, or any of the costs it inflicts on the planet. Instead, everybody does.

      Credits are a perfect example of free-market ideals - polluting becomes a cost of doing business, and as the cost of polluting rises, companies will become more efficient or less profitable.

      --
      I have developed a truly marvelous proof of this comment, which this signature is too narrow to contain.
    2. Re:Just call them by the real name, indulgences... by Lord+Ender · · Score: 4, Insightful

      They are an attempt to provide an economic incentive to pollute less. Without such incentive, the tragedy of the commons ensures we will wreck our collective selves while seeking individual profits.

      This is not anywhere near the same thing as imaginary religious crap. It's economics, man.

      --
      A slashdotter who didn't build his own computer is like a Jedi who didn't build his own lightsaber.
    3. Re:Just call them by the real name, indulgences... by Obfuscant · · Score: 4, Insightful
      Carbon offsets are money to fund programs that actually help the environment (with luck, help enough to undo what harm you did in the first place, or even more).

      I'm sorry, but buying credits from a company that doesn't produce as much carbon emission as the government says it can is in no way actually helping the environment. It's a ponzi scheme. You produce the same amount of carbon, THEY produce the same amount of carbon, but YOUR costs to do business go up and the middleman brokering the credits makes a fortune.

    4. Re:Just call them by the real name, indulgences... by jeremyp · · Score: 3, Interesting

      I'm sorry, but buying credits from a company that doesn't produce as much carbon emission as the government says it can is in no way actually helping the environment.

      Wrong. It gives people a financial incentive to reduce their carbon emissions if possible.

      If you merely tax or fine people, they will reduce their carbon emissions to the point where the cost of further reductions would outweigh the fines/taxes they'll have to pay. If they have the prospect of selling further reductions i.e. making money out of them, there is an incentive to make further investments to cut emissions below statutory levels.

      If you and I both manufacture widgets, but I invest to reduce carbon emissions below whatever limit is placed and you don't, under a tax / fining system I'd be bonkers to go below the limit, or even to the limit. If it costs me $20 to avoid a fine of $10 it'd be stupid.

      Under a carbon trading system, if I reduce my emissions below the limit, I can sell the credits to you so you can continue to emit the same levels of carbon. So the people who buy your high carbon widgets are subsidising the people who buy my low carbon widgets.

      I'd go so far as to say a properly constructed carbon trading system is the only way forward.

      By the way, there is a precedent. The US EPA introduced a trading system for sulphur dioxide emissions and apparently it worked like a charm.

      --
      All I want is a secure system where it's easy to do anything I want. Is that too much to ask ~~ Randall Munroe
    5. Re:Just call them by the real name, indulgences... by Obfuscant · · Score: 4, Insightful
      Yes, everyone produces the same amount of carbon TODAY. But with an economic incentive to produce less carbon it will be cost effective to install greener technology and produce less TOMORROW.

      If it was cost effective to install greener technology and produce less carbon today, companies would do it and save money.

      If it becomes cost effective TOMORROW, they'll do it TOMORROW to save money.

      In the meantime, the cost of carbon offsets has done nothing but cost them, and thus every one of their customers, money. Money which makes carbon brokers richer. Costs which may force that company to move their jobs overseas. That costs us all.

      It's a shell game. Plain and simple. Carbon, carbon, who's got the carbon?

  4. ...and now for something entirely unrelated. by eddy+the+lip · · Score: 3, Insightful

    "Hopefully, they work better than carbon offsets, actually."

    Way to ensure this whole thread goes off track, by trolling on an unrelated and politically charged topic. And with an example poorly chosen as proof of anything, at that.

    --

    This is the voice of World Control. I bring you Peace.

    1. Re:...and now for something entirely unrelated. by SomeJoel · · Score: 4, Funny

      "Hopefully, they work better than carbon offsets, actually."

      Way to ensure this whole thread goes off track, by trolling on an unrelated and politically charged topic. And with an example poorly chosen as proof of anything, at that.

      Don't pay any attention to the last line of the summary. If you ignore it, it will go away.

      ... just like global warming.

      --
      <Complete your profile by adding a signature!>
    2. Re:...and now for something entirely unrelated. by Sir_Lewk · · Score: 4, Funny

      I really hope Mozilla won't be getting money from this. If anything, they should be contributing...

      --
      "linux is just DOS with a UNIX like syntax" -- Galactic Dominator (944134)
    3. Re:...and now for something entirely unrelated. by devjoe · · Score: 3, Informative

      I've never actually met or talked to somebody that thought carbon offsets weren't a scam, except for those trying to sell them. I get your point about derailing the thread, but have to ask... do you actually think carbon offsets are legitimate?

      There are two kinds of carbon offsets. The Wikipedia Carbon offset article describes them as two markets, right up top.

      The larger carbon offset market is based upon laws limiting total industrial carbon dioxide emissions, and in this market companies buy carbon offsets in the amount of carbon dioxide they are emitting, and, yes, sell any excess ones they have to other companies. The difference between this and a simple tax on carbon dioxide emissions is that the total amount of offsets available in any year is limited. These are legitimate to the extent that companies aren't cheating on emissions, and in theory somebody is checking for compliance. The "caps" link in this discussion on Wikipedia leads to a topic on emissions trading, where you can read about similar systems, including the system limiting sulfur dioxide emissions in the United States which has been around since before anybody heard of carbon offsets. However, since there is no law limiting the amount of bad code people can write, this does not compare well to "bad code credits". This is probably why GP considered it a poor example.

      The smaller, consumer carbon offset market is what you're thinking of. This is where people effectively donate money to environmental causes, theoretically to pay activities that either prevent carbon dioxide from being emitted or remove it from the air. I won't argue with you here; I agree that at least some of these are not legitimate, or have other problems that make them not effective. And it is this kind of carbon offset which is more relevant to the discussion at hand.

  5. Not realistic by DoofusOfDeath · · Score: 5, Funny

    I can't really see how Microsoft can afford this...

    1. Re:Not realistic by Monkeedude1212 · · Score: 4, Funny

      Windows ME alone would probably throw them bankrupt.

    2. Re:Not realistic by gregarican · · Score: 4, Funny

      Then Microsoft Bob would put them to the brink of becoming corporate antimatter...

  6. The only possible way this works is... by Radtastic · · Score: 3, Funny

    ... if the bad-code offset is a penalty after-the-fact for putting out bad code.

    And no, I'm not going to RTFA. This is a horrible idea.

    --
    You stereotypers are all the same...
    1. Re:The only possible way this works is... by Monkeedude1212 · · Score: 3, Informative

      It's actually a great idea. Essentially its a way to donate to Open Source projects and better coding without having to decide which one and going through the hassle of contacting the project manager and trying to get his paypal information to send some cash over.

      It is not so much a penalty as it is a donation, simply because no one is forcing you. They simply structured it around an already existing system (carbon offsets) - probably to give it a more meaningful feel to it.

  7. Re:You want me to pay what? by gmuslera · · Score: 3, Funny

    What about IE6 supporting this? If Microsoft pays they quota just for IE6 this will mean millons in donations to Apache Foundation, FreeBSD and others.

  8. Bad code offsets? by ozbird · · Score: 4, Funny
    You mean like this?

    JMP 0x0BAD

    1. Re:Bad code offsets? by clone53421 · · Score: 3, Funny

      That is a goto, so yes.

      --
      Alexander Peter Kristopeit bought his basement from his mommy for one dollar.
  9. Lutherans by Anonymous Coward · · Score: 5, Funny

    As a Catholic, let me tell all you greens and bad coders that letting people buy their way out of their sins just gets stuff nailed to your door. But good luck with it anyway.

  10. Re:cyber-indugences by skywolf3 · · Score: 5, Insightful

    You're missing the point. The point is to poke fun at carbon schemes and raise money for free software. It's not to actually offset bad code, just to support good code writing organizations.

  11. Good thing they aren't mandatory by damn_registrars · · Score: 3, Funny

    Or slashdot would go broke in a hurry.

    --
    Damn_registrars has no butt-hole. Damn_registrars has no use for a butt-hole.
  12. Gave up on DailyWTF by gauauu · · Score: 4, Insightful

    The day Alex announced this was the day I finally stopped reading the DailyWTF. It's gotten worse and worse over the past few years, with stories that were so embellished that you stop caring. The fun part about the site was laughing at real IT blunders. But Alex and his creative writing team overdid the writing to the point where the stories were often incredibly far from the real fact (the original submitters would often explain the "real" story in the comments". This might be bearable if their writing wasn't so awful. But often they interchange important character names, have horribly confusing grammatical constructs, and generally just make a mess out of the stories.

    Then to top it off, Alex shows up occasionally and comes up with nonsense like this instead of posting another story.

    I'm done. Yes, it was amusing for awhile, but I'm moving on.

  13. Re:If you write bad code... by mcgrew · · Score: 3, Funny

    I know my code is all peaches and cream!

    Typo: You misspelled "patches".

  14. why not mangle some climate code? by Budenny · · Score: 3, Funny

    I work in the climate science department of a well known university in E Anglia, UK, and am proud to be the owner of a 4 x 4 and also an excruciatingly bad programmer. No, sorry, I got that wrong, I have no car, walk to work, and only write in equisitely structured C++.

    You can all assuage your guilt from driving those 4 x 4s and writing all that crap code in Python. Ruby or whatever by sending me large sums of money, and I will continue my low guilt lifestyle as long as the cheques keep coming.

    You can carry on shopping at malls in your 4 x 4s, and writing your terrible code.

    We will all be happy. I will get rich. Everyone wins. We save the planet. What's the problem?