Slashdot Mirror


Moving from Binary Drivers to Open Source?

GerryGilmore asks: "We are a division, specializing in telecommunications equipment, of a very large hardware manufacturer. Our equipment, DSP and PSTN boards, has been supported under Linux through a set of binary driver modules and binary libraries implementing our API set. We are in the process of migrating to a completely open source-based software infrastructure to be more in sync with the rest of the Linux industry. However, not having any real experience with moving from proprietary to an open source model, we wanted to see if the Slashdot crowd has any similar experiences to share: The Good; The Bad; The Ugly; and how best to avoid the most common pitfalls."

9 of 186 comments (clear)

  1. Avoid closed source coding conventions by JamesP · · Score: 3, Funny

    The worse thing i've seen in a (Windows) driver.

    for (i=0;i10;i++) {
    switch(i) {
    case 1: // stage 1 // stuff here
    case 2: // stage 2 // stuff here
    case 3: // stage 3
    }
    } // lameness filter mary had a little lab, blah, bla, 1 3 5 7 11 13 17 19 23 29 31

    --
    how long until /. fixes commenting on Chrome?
  2. Re:going.. through... withdrawals... *twitch* by Saeed+al-Sahaf · · Score: 1, Funny

    Exactly. How are we going to Slashdot the site without a link? The story author, GerryGilmore, should be SHOT for submitting a story without a link!

    --
    "Who are in control, they are not in control of anything - they don't even control themselves!" - Glen Beck
  3. Code by rbreve · · Score: 4, Funny

    be sure you dont have any SCO code in there ;)

  4. Re:Know your code by Savage-Rabbit · · Score: 3, Funny

    ...lots of closed source contains rather dodgy comments that you might not want to be public.

    Hehe.. very true. My favorite one:
    "Sane people do things like this?"

    --
    Only to idiots, are orders laws.
    -- Henning von Tresckow
  5. Re:Know your code by bebing · · Score: 5, Funny

    Or things like...

    //WARNING! We do not know what the following code does!
    //But do NOT remove that extra semi-colon whatever you do

    or...

    //TODO: Change from inefficient inept implementation to sane one

  6. Re:Know your code by bullestock · · Score: 3, Funny
    If you have a source code control system...

    What do you mean, "if"?

  7. Re:Know your code by Frank+T.+Lofaro+Jr. · · Score: 2, Funny

    The Linux kernel (and much other open source code) has some "interesting" comments as well.

    --
    Just because it CAN be done, doesn't mean it should!
  8. Re:Know your code by jesser · · Score: 2, Funny
    Some examples from Netscape 4:

    /* Get the OVERFLOW attribute. (Fuck yuo, W3C. Fuck you.) */

    /* Words cannot express how much HPUX SUCKS!

    ** This whole hacky pile of poop was done by Michael Toy.

    --
    The shareholder is always right.
  9. Re:Know your code by bluGill · · Score: 2, Funny

    You missed the implied rest:

    else
    shoot everyone who worked on the code without installing source control

    Sadly many companies do not use source control. CVS is free, and as been around for years not. (Not to mention all the newer systems that fix some of CVS's flaws) Doesn't mean anyone uses them.