Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Canonical Begins To Open-Source Launchpad

Posted by kdawson on Tue Jul 10, 2007 01:41 PM
from the could-take-a-while dept.
kripkenstein writes "Canonical, the corporation behind Ubuntu, has begun to open-source Launchpad. Canonical has been criticized for not doing so earlier. The first component of Launchpad to be open-sourced is Storm, described as an 'object-relational mapper for Python.' A tutorial with many examples is available. The license for Storm is the LGPL 2.1. Inspection of the source files shows they contain the common phrase, 'either version 2.1 of the License, or (at your option) any later version,' meaning that Storm is LGPLv3-compatible."

Related Stories

[+] IT: Ubuntu Servers Hacked 330 comments
An anonymous reader noted that "Ubuntu had to shutdown 5 of 8 production servers that are sponsored by Canonical, when they started attacking other systems. Canonical blames the community, saying they were community hosted, and were poorly maintained. However, kernel upgrades couldn't be done because of poor backwards compatibility with the very hardware that Canonical had sponsored! While people point fingers at each other it is pretty clear that both sides are equally to blame, the community administrators for practicing bad security practices, such as using unencrypted FTP transfers with accounts, not properly maintaining the system. However Canonical should have been well aware of what they are hosting. The question remains, if any of the files distributed to users have been compromised. A major blow for Canonical though who are attempting to enter the business market with Ubuntu Server."
[+] Canonical Chases Deal to Ship Ubuntu Server OS 151 comments
Kurtz'sKompund writes "Canonical, the company that supports Ubuntu Linux, is trying to work out a deal with hardware vendors such as Dell to make Ubuntu available pre-installed on servers. 'Canonical, despite obviously supporting such a deal, had little to do with Dell's decision. Dell said it was merited by customer demand. Likewise, the decision of whether Ubuntu Server will ship pre-installed will be determined the same way.'"
This discussion has been archived. No new comments can be posted.
Display Options Threshold:
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • Canonical, the corporation behind Ubuntu, has begun to open-source Launchpad. Canonical has been criticized for not doing so earlier.
    I wish people would relax and remember that everyone has the choice to release their software under whatever license they deem acceptable.

    Now, you might be wondering why anyone would open source anything at all. And my simple answer to that is this: Prior to today, if someone said 'Launchpad' to me, it would be the Ducktales character. As soon as this application is open source, it's going to become something I installed on my box and played around with for a while. And that's the difference, if it's proprietary, you better be prepared to sell it or it's going to die a death of obscurity without anyone even hearing about it.

    People have the choice not to open source software and oftentimes, it's for very good reasons. I don't think this case is any different as the Wikipedia article states:

    Mark Shuttleworth responded personally to this criticism stating that Launchpad needs paid-programmers to continue the development of the Launchpad platform and that there would be no point in developing multiple versions of Launchpad due to the probable incomparability of the forks [2].
    Mod me as flamebait if you want but the original creators deciding that they value the quality or single source of code is just as valid as any other for delaying a release under an open source license.

    Canonical isn't stupid and, yes, they're making money. According to Wikipedia [wikipedia.org], their 50 person company has an annual revenue of $10 million. Which isn't too shabby. I think these guys are genuinely interested in being both an active member of the open source (Ubunutu) and commercial (Project Landscape) worlds. Isn't it obvious who their thinking of when they put:

    'either version 2.1 of the License, or (at your option) any later version,'
    which is pretty much proof that they have companies in mind who refuse to proceed to GPLv3 (like Microsoft and the cadre of companies that have paid them for software patent protection). You can paint this move as evil, brilliant, successful, intelligent or any of all of them. To me, I trust these guys as Ubuntu has made open source a little more accessible to the world and I really believe that not only do they know what they're doing but they're going to be around for a while. That's good news for software and (at least in my opinion) therefor good news for everyone.
    • Re:It's Always a Choice (Score:5, Insightful)

      by physicsnick (1031656) on Tuesday July 10, @02:00PM (#19816657)

      As soon as this application is open source, it's going to become something I installed on my box and played around with for a while.
      I don't think you understand what Launchpad is.

      Part of the reason Canonical was in no hurry to ready Launchpad for open source was that it wasn't really meant to be hosted on a variety of different servers or instanced for each project, like Trac; it's a centralized system designed to host many projects concurrently, like SourceForge. In short, there was only supposed to be one Launchpad.

      The fact that people wanted Launchpad open source to host their own projects meant that Canonical first had to design standards for communication between different instances of the software. This should allow you to, say, host your own project on your own Launchpad, but still have bug reports communicated automatically with Ubuntu.
      [ Parent ]
    • Re:It's Always a Choice by morgan_greywolf (Score:3) Tuesday July 10, @02:02PM
    • Re:It's Always a Choice by semiotec (Score:3) Tuesday July 10, @03:32PM
    • So? by LWATCDR (Score:3) Tuesday July 10, @03:39PM
  • ORM == good (Score:3)

    by wawannem (591061) on Tuesday July 10, @01:45PM (#19816479)
    (http://www.wantii.com/)
    After having used Object-Relational Mapping in Java for a little bit, I really think that it should be adopted more widely. Prior to using Hibernate in Java, I stood by the notion that CUD operations in the database should strictly be done in stored procedures. This notion seems to be going away, not just for myself but in the industry as a whole. -Wes
    • Re:ORM == good by cromar (Score:1) Tuesday July 10, @01:59PM
    • Re:ORM == good (Score:5, Insightful)

      by bockelboy (824282) on Tuesday July 10, @02:05PM (#19816705)
      ORM is great! ... until you you have a couple hundred thousand rows. Then it's slow. ... until you have a couple million rows. Then it's unbearable.

      I love ORM for smaller applications, but there's always a point where heading down the hall to say "hi" to the local DBA is a good idea. And beware, redesigning the DB from the ORM to your own schema can be extremely painful. How close the ORM schema is to "pleasant" depends highly upon the package you use.

      This is from someone who is trying to perform queries on someone else's database designed with Hibernate. One that has 12 million rows (average row size, 9KB). Which has been running my simple query for 40 minutes.
      [ Parent ]
      • Re:ORM == good by Shados (Score:2) Tuesday July 10, @02:17PM
      • Re:ORM == good (Score:4, Informative)

        by wawannem (591061) on Tuesday July 10, @02:22PM (#19816887)
        (http://www.wantii.com/)
        > ORM is great! ... until you you have a couple hundred thousand rows. Then it's slow. ... until you have a couple million rows. Then it's unbearable.

        > This is from someone who is trying to perform queries on someone else's database designed with Hibernate. One that has 12 million rows (average row size, 9KB). Which has been running my simple query for 40 minutes.

        Don't get me wrong, bad database design is bad database design whether it is ORM or any other technology. Something tells me that based on the average row size of 9KB, I'm thinking this table does not really follow good relational design principles (1st normal form, I'm guessing). I've had a project where the data grew quite quickly, quicker than we had anticipated and the database needed optimized. Fortunately, since we were using Spring backed with Hibernate, we had interfaces defined for all of our persistent objects. Our solution was to use iBATIS to get some more granularity with our database queries, build some stored procedures (so that the query plan would be compiled) and add an index or two. The iBATIS classes were retro-fitted to implement the interfaces for the hibernate objects and then all we had to do was tell Spring to use the iBATIS objects rather than the Hibernate objects. Surprisingly, all of the unit tests passed and post-install, we increased our performance quite drastically. The whole project went as smooth as you could hope and I was pleasantly surprised because I really didn't think it would work out. I've been a fan-boy ever since. I still start with hibernate because it does help cut-down the design time, and I believe that "premature optimization is the root of all evil" (Knuth) -Wes
        [ Parent ]
      • Re:ORM == good (Score:5, Informative)

        by Cyberax (705495) on Tuesday July 10, @02:26PM (#19816935)
        Your statement is just plain stupid.

        Decent ORMs do nothing but map object operations into SQL statements. SQL from an ORM tool is not going to magically work more faster or slower than a hand-written one.

        Again, decent DB schemas (i.e. fairly normalized ones) map nicely into object models (hell, ER-diagrams used to model relational tables map directly into object diagrams). It's the databases with weird tables without PKs and strange stored procs which do not map well.

        I've worked with Hibernate application handling OLAP operations on 10 terabytes of data without any problems.
        [ Parent ]
        • Re:ORM == good by iluvcapra (Score:3) Tuesday July 10, @03:06PM
        • Re:ORM == good by DragonWriter (Score:2) Tuesday July 10, @03:08PM
        • Re:ORM == good (Score:4, Informative)

          by bockelboy (824282) on Tuesday July 10, @03:24PM (#19817631)
          Correct Usage: Human writes SQL schema, then integrates the ORM. As long as human doesn't do silly things in the programming language, we have success. Database objects become much easier to use, and speed is fast.

          Incorrect Usage: Human writes an object spec. ORM auto-generates SQL schema. Human blindly uses machine-generated ORM bindings without understanding underlying SQL. Database gets mildly large, then human complains "the stupid thing is slow".

          If ORM is done for convenience, great! That's what I use it for.
          If ORM is used in lieu of understanding how SQL works, you could be headed for trouble.

          [ Parent ]
        • 1 reply beneath your current threshold.
    • Re:ORM == good by nuzak (Score:3) Tuesday July 10, @02:42PM
  • Storm? (Score:4, Informative)

    by Klowner (145731) on Tuesday July 10, @01:46PM (#19816507)
    (http://klowner.com/)
    Anyone know how Storm compares to SQLObject? They appear to achieve the same goal.
  • Oh, wow! (Score:5, Funny)

    by TobyRush (957946) on Tuesday July 10, @02:01PM (#19816659)
    (http://tobyrush.blogspot.com/)

    Canonical Begins to Open-Source Launchpad
    Hey, that's great! I always get excited when advectives begin to noun things.
    • Re:Oh, wow! by evanbd (Score:2) Tuesday July 10, @02:34PM
      • Re:Oh, wow! by nuzak (Score:3) Tuesday July 10, @02:46PM
        • Re:Oh, wow! by thomasj (Score:1) Tuesday July 10, @04:15PM
        • 1 reply beneath your current threshold.
  • One Launchpad to rule them all.. (Score:5, Informative)

    by rustalot42684 (1055008) on Tuesday July 10, @02:05PM (#19816711)
    The reason they don't opensource it because there should only be one Launchpad, or you get all kinds of complex problems that are totally unnecessary. The point of Launchpad is to have a central system to manage things. Why do you need your own Launchpad, when it's better for it to be centralized?
  • We always want stuff faster, but we get epically testy about Open Source. Welcome to /.
  • We shall remember rosetta bug #44 (Score:2, Informative)

    by JucaBlues (990708) on Tuesday July 10, @02:30PM (#19816985)
    I am waiting to see rosetta component (software translation tool) opensourced. There is a 'most wanted' feature that I guess will be implemented quickly as soon as rosetta code gets released:

    Rosetta Bug #44,
    "Translations should be searchable"
    first reported on 2005-01-10

    Today it completes exactly 2,5 years of waiting and nothing!

    https://bugs.launchpad.net/rosetta/+bug/44 [launchpad.net]
  • begins? (Score:1)

    by alfino (173081) on Tuesday July 10, @02:54PM (#19817277)
    Uh, releasing a component used by Launchpad does not mean releasing the whole thing, now does it? I doubt Launchpad will become OSS, it would go completely against what I understand Canonical's mission to be.
    • Re:begins? by Stemp (Score:3) Tuesday July 10, @03:11PM
  • Lead by example (Score:4, Insightful)

    by TheDarkener (198348) on Tuesday July 10, @03:04PM (#19817391)
    (http://youtube.com/thedarkener)
    It's difficult to see, in this day in age, ones who lead by example. This should be considered a rare (yet inspirational) occurrence of true leaders - ones who practice what they preach.

    Thank you, Canonical, for doing what you do.

    Sincerely,
    A proud GNU/Linux user.
  • I'm a fan of launchpad (Score:2, Insightful)

    by Skeith (931626) on Tuesday July 10, @03:25PM (#19817639)
    It gives an easy way for computer idiots like myself to contribute to Ubuntu in a small way
  • Re:Don't forget... (Score:1)

    by goarilla (908067) on Tuesday July 10, @06:47PM (#19819931)
    at last where were you i mean ... it's kinda hard but i
    missed you trill
    [ Parent ]
  • by MtHuurne (602934) on Tuesday July 10, @07:29PM (#19820235)
    (http://www.treewalker.org/)
    Reading the Storm tutorial, I wonder why SQL statements are needed to create tables, while the Python data classes already contain all the needed information. In SQLAlchemy, you define the schema in Python, at which point the SQL create statements are generated for you and the data classes automatically have attributes corresponding to the columns of the table.

    While you could argue about what the best place is to define the structure of the data, I think it is always desirable to have the structure defined in just one place. The advantages of SQLAlchemy's approach are that ORM is optional (unlike defining the structure in the data classes) and that it can abstract from some of the differences between databases (unlike defining the structure in the database).

    SQLAlchemy is a relatively new toolkit though (the first release I could find on sf.net is from 2006), so maybe it didn't exist or wasn't usable yet when Canonical started work on Launchpad.
    [ Parent ]
  • 5 replies beneath your current threshold.