Categories: The World, Current Events, Movies, Music, Sports, Web, MYSQL, PHP

The Open-Source Experience (Pt. 4)

08/23/10 | by Charlie [mail] | Categories: Web, Technology

My Involvement

Thus far I’ve only talked about my work with CKEditor, however back in high school I was involved with another project called ALP (Autonomous LAN Party). I found it when I was searching for LAN party software and became interested in it. When I discovered it, a first version had been developed but had since fallen into disrepair. I made a few modifications and found another guy who had made a few modifications and together we took over the project and developed it for awhile. To this day, it still (more or less) works, although the last version was released about 4 years ago.

We got to the point where we had outgrown the original slopped together version and needed to do a total rewrite. Unfortunately, the prospect of so much work and the lack of people to do it caused the project to fall apart in the planning phase. Nevertheless, all our work is publicly available and maybe someday I or someone else will pick it up and keep going.

CKEditor, just finished a rewrite and is much better off for it. Although this means it’s not totally mature yet and has a few bugs still lurking around. I encountered some of these and they were easy enough problems that I could hop right in and fix them. Thus it was quite easy for me to get involved in the project.

The hard part, however, was running the support forums (I just tried to answer a lot of posts). I ended up fielding about 7 posts a day. Some of the problems were legitimate or valid debugging things. I helped people work out their configurations and do things I had been through when I first setup the editor. On the other hand, some were face palmingly stupid questions which could have been solved by 2 minutes of effort or simply using google. I often had very little patience in these topics.

My feeling is that you should at least be able to understand the software you are using and how it works before asking questions. There were people who simply needed to find a configuration option (Which is all given on a single page on the site’s support area). They just hadn’t looked around before asking. While those cases are stressful, it’s also nice to see the people who say “oh thanks!” when they solve their problem. Those are the people who have actually worked through their problem before asking.

In any case, working on this project has given me a better understanding of the software, a better understanding of javascript, and made me feel like I’ve contributed to the project. Sure in a week I probably will never touch the project again, but that’s how it goes. Next month some new developer will have to use the software and will begin stomping bugs right where I left off.

The whole process is really an art though. There’s open-source software to manage open-source software, I.E. Trac. It’s the program almost everyone uses to “trac” bugs and manage source code. Most interestingly though is the fact that everything has to be so well thought out. Since none of the developers ever really see each other, there’s a remote code review process, standards have to be employed, and the whole project has to be well documented so that at a moments notice someone new can step in and start contributing.

It’s a fantastic process and one that I really support. If anything, it’s made me want to assemble a team to redevelop ALP. In summary I guess the open-source ideal, to me, seems to define a certain type of social norm. The tragedy of the commons doesn’t apply because even by being selfish, people will still help the project; It's impossible to use up all the open-source resources. Rather than not supporting the project, people will use the software for free and, when they themselves find bugs or make changes, will send their changes back into the commons helping future users.

Nevertheless, there are things that cost money in these projects. There is also the matter of incentive to develop. So next time you find one of these projects useful, consider sending $10 to help support it's development. After all isn't that better than having to pay hundreds of dollars for some commercial software? Support community development, choose open-source!

Permalink

The Open-Source Experience (Pt. 3)

08/20/10 | by Charlie [mail] | Categories: Web, Technology

Pros/Cons

In case you haven’t caught on to how open-source software works, we’re in the middle of a lengthy discussion about how it all works. Next stop, pros and cons. Let’s get the biggest pro out of the way. IT’S FREE. Horray. But there are, of course, some downsides too.

With commercial software, support and follow-through must be exemplary in order to maintain your customer base for future releases. However with open-source, because the software is free, the developers have very little incentive to provide technical support. The support for CKEditor was a little lackluster (non-existent), it’s also quite poorly documented. This made it very hard to figure out what I was doing wrong without digging around and debugging the code. A lot of people will opt for commercial software because it’s already been extensively tested and will (usually) function very well out-of-the-box.

CKEditor might be an exception in this regard however, since normally open source projects will document every single function. Why spend all that time writing wikis and APIs? Because the hope is that if the program is well documented, it will be easier for people to alter the software on their own and thus more contributions will come back to the program. Still, support is often the blind leading the blind.

The upside to glitches in open-source software is that they are usually fixed quickly and the software tends to have more releases than its commercial counterparts. In addition, customers usually have the option of three different types of releases. Stable, Beta, and Nightly. Stable is the equivalent of a commercial release. It's supposed to be extremely stable and polished. If, however, you want to have the newest features and bug-fixes sooner, you can opt for a beta version. These versions tend to have some kinks that still need working out, but generally function quite well. Finally, there's nightly. This is basically a copy of the source code (From the SVN, remember?) which is built automatically every night.

Even though nightly builds are supposed to be quite unstable, CKEditor usually has very good nightly packages. This is because all code changes are reviewed before they are committed, thus changes tend to work with 95% certainty as soon as they are in the code base.

Features can be another huge factor in choosing. Again though, it’s a two part problem. While commercial software might have more features initally, it’s usually easier to request new features in open-source software and to have those changes made. (Try asking Microsoft to add 16-bit support to 64-bit OS’s, I dare you).

Here’s the sticky part though. Remember way back when we talked about licensing? Well that means that any part of an open-source program can be reused (Under certain licenses). Thus Microsoft could, in theory, use some part of CKEditor for it’s own nefarious purposes, however the same is not true in reverse. Commercial companies can use these things called patents to exclude anyone else from using the software. Despite the short 10-year lifespan, this is an eternity in computer terms and effectively means that commercial applications can have features that no one else does.

In fact, this problem is most present in video codecs right now. Remember when I said that linux was 100% open-source? Well that is except for one video codec. The problem is that it’s commercial and thus doesn’t have to include its source code. This is also a problem for HTML5 video tags (New way of playing videos in browsers more or less), people cannot decide on a standard codec to use because one is commercial (and a bit better?) but one is open source. Thus, due to asymmetric information…this round goes to commercial. Nevertheless, more and more companies are starting to give back to the open-source community in various ways. So keep an eye on this tussle in the future.

I think now you can see why not everyone is using open-source software. It sometimes isn’t available, especially in niche areas where there wouldn’t be enough developers and sometimes it just doesn’t get the job done as well as commercial products. I still HIGHLY encourage you to give it a try! Take the OpenOffice challenge and try to use the free program for 6 months instead of Microsoft Office. You'll see that OpenOffice is really really good, but probably be so used to Microsoft that it will be hard to use.

Anyways, next time, we’ll get into my involvement and experiences with open-source projects.

Permalink

The Open-Source Experience (Pt. 2)

08/17/10 | by Charlie [mail] | Categories: Current Events, Technology

This is part two in our look at open source software, this edition covers how open-source software comes into being and is developed essentially for free!

Contributing:

Normal companies like Microsoft, Google, etc. pay people to develop software, but yet there is often comparable software (Linux, OpenOffice, etc.) which is free, if not better. So how do these free applications stay free? Well in the case of large projects such as Linux and Firefox, they are supported by foundations which collect donations and solicit support to help fund the core developers and to pay for the overhead of running a website.

Most projects, however, begin with a spark from one individual or a group which does the initial development. For small things, maybe it’s just some guy who made a tool for himself and decided to share it. For medium sized projects, the initial release is often sloppy and bug-ridden as it is developed (and thus tested) by a small number of people.

As the project gains popularity (If it ever does), people will start to complain about the bugs and to request features. The developers will usually prioritize those requests and work on them in their free-time (I.E. Slowly). As a project becomes more stable and useful however, individuals and companies (like myself) will start to use the projects. Those people may have different requirements than what the software does out of the box. For instance, my company wanted to be able to use IFrames in CKEditor. Thus it became my job to develop a plugin which could handle this task. When I was done, (and since I’m a very classy open source guy), I sent my work back to the project.

Now it isn't as though anyone can just waltz in and alter the code. Usually the code is stored in what's called an SVN system (Subversion Control System). This system is the perfect solution for managing projects. Here's why. First, everytime a new file is saved, a copy is created. Thus if I were to commit some bad code, it could just be rolled back to an old version, no problem. Second, it can do "branching" of code. This in effect creates a second copy of the code which people can work on for specific reasons. For instance, when a large new feature was introduced to CKEditor, it was first created in a branch so that any problems stemming from this feature could be isolated from the rest of the code changes.

It all sounds complicated, but it's really easy to use. To keep things sane, only the core developers can approve changes to the source code. So once they approve my plugin, it will eventually be integrated in and redistributed as part of the program. Thus even though my company didn’t pay for the program, we paid for the program indirectly. Because my company pays me, and it became my job to work on the project, the project as a whole benefits.

More generally, because each user wants slightly different things out of a program. They will expand the program in the direction of their needs. If we look at the entire user base, this will have the effect of eventually expanding and bolstering the project in all directions.

From a companies/users perspective, they could pay 1000$ for a commercial solution, or could pay their developers 400$ to take open-source software and alter it to fit their needs. For the company/user, this is often more lucrative because they are permitted to directly change the program and will benefit from future development, which is not always the case with commercial software.

So how does the software perform head-to-head? That’s something we’ll look at next time.

Permalink

The Open-Source Experience (Pt. 1)

08/14/10 | by Charlie [mail] | Categories: Current Events, Web

So this week version 3.4 of CKEditor was released. CKEditor is a very popular WYSIWYG editor written in javascript. Since we use this program at our office, I spent most of the last release cycle working with CKEditor. I decided to go one step further though and fill the void of support on the forums.

Over the past month I've contributed about 10 bug findings, 15 bug patches, 2 plugins, and lots of support hours. Not all of my contributions made it into this release (Some will be in 3.5), but I wanted to take some time to reflect on my second major open-source project involvement. Especially in light of the open-source movement which is constantly growing and becoming more of a debate in the technological community as various companies "embrace" open-source practices, buy open-source companies, or use open-source software.

This will be a multi-part series about Open-Source software, its pros and cons, project life-cycle, and more! So let’s start with a bit of background.

For the uninitiated, one of the biggest trends in software development right now is the open source model. Source code is the raw programming code which produces the programs and sites you use. For example, when you look at my blog, you see HTML, you cannot however see the source code (PHP) which was used to generate this HTML. Also, when you run Word or any other program, you will not find the code which powers that program. Just the EXE.

Open-Source programs on the other hand, usually require that the program be distributed with its source code, and that the source code be kept in a publicly accessible place. So when you use CKEditor on a website, it’s shrunken down, translated and basically unreadable…but it’s easy to get the source code to make changes.

Since the raw-code is available, open-source programs are usually free to use under certain conditions. These include: 1) The source code must always be distributed, 2) The license may not be altered (It’s at the top of every file), 3) Attribution must remain, 4) It may not be used in commercial products. Since this doesn’t fit everyone, many people will offer a second type of license for commercial applications. This allows companies to pay a certain amount of money for a different license which lets them remove references to the original product and to use it in a commercial program.

For example, if I were to use CKEditor to allow you to comment on my site, that’s fine. But if I used it in the same was (for editing comments) in a Content Management System which I sold to companies, I would need a different license. Anyways, there are some core CKEditor developers who presumably use this money as their salary (Including the guy who the editor is named after).

One of the biggest sites for Open-Source software is http://www.sourceforge.net where all projects are open source (or are supposed to be). Projects here include Filezilla, eMule, Azureus, Bittorrent, 7-Zip, Audacity and more. Did you know Firefox is open source? As is the entire Linux operating system. Anyways, it’s kind of a big deal.

Well now you know a little bit of backround about what exactly an open-source project is. There is, of course, a catch which is, it’s all distributed free…and who would work for free? Well that’s something for next time.

Permalink

Eurail Costs

07/27/10 | by Charlie [mail] | Categories: The Life, The World, Travel

A lot of people ask me, is a Eurail pass worth it? Since we covered variable travel costs last post, let's do the fixed travel pass comparison this time.

First, it’s important to research the pass that best fits you. Obviously you get more value the longer your pass is valid for. A one-month global pass is $679, while a three-month is $1189. If you divide this out by weeks, you'll see that you only have to spend ~$100 per week to recoup the 3-month as opposed to over $160 for the one-month.

There are, of course, alternatives. You can get the limited number of days in a certain number of countries variety which will save you some cash. 15 days across 2 months spanning 5 countries (or regions) is only $589.

Even better, there are often ISIC card deals and the saver pass. The new saver pass costs about 1.5x as much as the youth global pass, but enables 2-5 people to travel together. Find four friends and you are doing Europe for dirt cheap. Can you say no brainer?

But unfortunately, no one wanted to come live and travel with you, so you're out on your own trying to find a pass. Probably the most important factor to you is cost. The best way to sum this up is to present my summer travelogue. It's not totally complete, but will give you an idea of what I fit into 3 months while working.

A few notes before diving in. In Italy, I had to pay 10 Euros for a reservation per leg. This ended up taking about 40€ out of the above estimate, still...Italian trains were pretty expensive and helped my pass a lot.

Second, this chart doesn't include small trips in the area I took on regional trains. (Ex. Füssen, Dachau, etc.). Lastly, the ticket is also valid on all S-Bahns in Germany, which I also didn't count (I.E. Potsdam-Berlin)

FrankfurtHannover     49,00€ 
HannoverHamburg     19,00€ 
HamburgOldenburg     29,00€ 
OldenburgHamburg     29,00€ 
HamburgBerlin     39,00€ 
BerlinMünchen     69,00€ 
MünchenNürnberg     19,00€ 
NürnbergWürzburg     19,00€ 
WürzburgParis     89,00€ 
ParisAmsterdam     80,00€***
AmsterdamBonn     29,00€ 
BonnHannover     49,00€ 
HannoverBerlin     29,00€ 
BerlinMünchen     69,00€ 
            -   
MünchenSalzburg     19,00€ 
SalzburgHallstatt     22,00€ 
HallstattMünchen     41,00€ 
            -   
MünchenPrauge     59,00€ 
PraugeMünchen     59,00€ 
            -   
MünchenPadova     59,00€Italy*****
PadovaRome     66,00€ 
RomeFlorence     44,00€ 
FlorenceMünchen     90,00€ 
    
MünchenVienna     49,00€ 
ViennaBudapest     29,00€ 
BudapestMünchen     49,00€ 
    
   1.203,00€ $    1.563,90

So the numbers speak for themselves here. I priced these by looking up the cheapest trips I could find for next week. It's possible to find cheaper prices if you book a month or so in advanced, or if you take regional trains all the way, but this list is still pessimistic.

The reason it is, is because I am looking a week ahead for trips in the above table. There were many, many times I didn't know what train I was going to take until I got on it. This is the second biggest advantage to the rail pass, total flexibility. I can literally walk onto any train in Germany and be covered. (Some fast-trains in other countries have required reservations for 2-10€ which you should still get beforehand). I would have paid much much more for certain journeys had I booked only one day in advanced.

As with all things like this. It depends if it's worth it for you. If you plan to spend the entire time travelling...there's no other way to go. Especially if you are travelling with friends...the saver pass is absolutely the best.

As for my case, I made it worth it. And had the Euro not plummeted, it probably would have been even more worth it. The best part for me was having the freedom to decide Friday afternoon where I wanted to go that weekend. This weekend is still wide open...so who knows where I'll end up!

Permalink

Pages: 1 2 3 4 5 6 7 8 >>

Ever wanted a look inside the life of a Yale student? Here's your chance, I write about everything from the stress of school to the rewards of college social life. Join me as I vent about my daily life, struggles and triumphs.

Search

XML Feeds

powered by b2evolution free blog software