Archive for the ‘Open Source’ Category

A Few Random Thoughts

Monday, December 14th, 2009

I’m up later than I probably should be tonight, but as I’m trying to wind down to go to sleep, some thoughts have been running through my mind. On the heels of this article, I am once again reminded about the issue of Net Neutrality. While I am completely for the concept of Net Neutrality in the sense that I think it should be illegal for the pipeline provider to reclassify your packets, there is one single edge case that comes to my mind that is not like the others. This issue is about emergency services calls over VoIP (or whatever the defacto technology is at any point in time in the future). In this one case the providers should be allowed, in fact even required, to grant higher priority to calls, as it could very well be a matter of life and death.

That brings me to another issue. The FCC is starting to take preliminary comments about an eventual switchover from the current TDM phone network that we all know to a packet voice network (in this case, specifically VoIP). Now there is at least one major kink in handling routing of emergency services calls. If I were managing a service provider (i.e. an ITSP), I would not want to rely on the consumer to keep all records up to date, and what of the case where somebody is running their own PBX and has multiple users from multiple geographic locations? As we are all waiting to see if the USA in general will join the 1990’s by finally starting to roll out IPv6 natively on the wire on a grand scale, there *might* be a solution to that built into IPv6. Another member of the FreeSWITCH community suggested that the IPv6 mobility extensions might hold the key to this problem. His understanding is that information about the geographical location of the system using the IP address gets (or can get) encoded into the packets with the mobility extensions. I myself have not yet read up on IPv6 mobility extensions, so if any of you have and have some input on this, I’d love to hear about it.

Draconians in the Private Sector

Wednesday, January 14th, 2009

It’s been a good while since I posted anything.  I know, I have been bad, and allowed real life to interfere with my virtual reality that is the Internet.  That being said, there’s a few things that I feel the need to comment on, especially since they are fresh in my mind.  I am sure I’m not the only one who says these things, but perhaps the more people talk about it in an intelligent manner, the more the “common person” will understand about the issues.  Granted, these issues are not of the utmost importance, and I’d be much more inclined to have the healthcare system in the USA fixed before these issues are dealt with.  However, the “common person” often times places greater importance on these issues than I do.

Have you bought any Blu-ray movies recently?  How about subscribing to digital cable TV in a major metropolitan area in the USA?  If so, you have either knowingly or unknownling encountered DRM.  DRM, called “Digital Rights Management”, is misnamed.  Since it does little to protect you, the consumer, and is all about protecting the rights that the “content publishers” (in this case, the companies that publish the movies or cable tv feeds) believe they have.  It restricts what you may and may not do with the movie in your own home.  Therefore, “Digital Restrictions Management” is a more apt definition.

Since you may not have knowingly encountered the problems that this DRM creates, I can present two scenarios that I have encountered.  For starters, Blu-ray discs are usually encrypted with a pretty strong encryption routine.  This encryption routine is much stronger than the one that is used on standard DVD discs.  The “content publishers” would have you believe that the encryption is to prevent copyright infringement (notice I did not say piracy, as the real piracy is occuring in the waters off of the Horn of Africa by Somalis).  Why do I have the strong suspicion that bootleg copies of Blu-ray movies have been out since they were released to market, especially in East and Southeast Asian countries?  The answer is simple: those who do large scale infringement for profit can easily get around the encryption on the discs.  So then one must assume that the encryption on the disc was either a naive protection against those large scale counterfeiters or simply a way of preventing you, the end user, from making copies and giving to your friends.  With all the hype going around the media about how piracy is hurting legitimate sales, let me pause for a minute to put the clock back to the 1970s and 1980s.  Back then, how many people made mix tapes and shared them with their friends, and those friends ended up sharing the mixes with their friends too?  I’d put my money on it being the majority of folks around at the time with access to records and tapes. What’s the difference between the 1970s and 1980s and the current day?  Simple: The Internet has given people some *limited* ability to quantify events and occurences that were previously too difficult to quantify otherwise.  So suddenly the “content publishers” are able to see “OMG, there’s thousands of copies of our songs out on the Great Wild Internet!  We must do something to force people to pay for every single copy out there!”  Current Recording Industry of America Association litigation aside, the second prong on that crusade is to encrypt everything.  Not only that, to be able to decrypt the content, your hardware and software must be licensed.  That means that all free and open source projects are excluded, because one of the steps in getting the license is coughing up a big wad of cash.  Another of the steps, I believe, is preventing users from getting the technical information and encryption keys necessary to decrypt discs on their own.  The fact that the program’s source code is widely available means that all that technical information is right there in public view.  This effectively prevents anybody from releasing a piece of open source software to allow even viewing of the content without taking on great legal and/or financial liability.

The situation with cable tv is pretty much the same.  The only two differences that come to mind are the fact that instead of a disc being encrypted, it’s the signal that comes over the cable lines that is, and the fact that you as a consumer are paying a pretty hefty price monthly to subscribe to this service.  I use an open source DVR at home known as MythTV.  MythTV is similar in many ways to a Tivo, except that it has no corporate backing, no interest in financial gain via sale of software or services, and allows the user to have more complete control over what is done with the recordings.  For example, I can retain my recordings forever, provided I have space for them.  I can transcode them (means to convert from one format to another) in order to save drive space at the cost of quality (usually).  I can automatically skip the obnoxious commercials as well.  Tivo will certainly not allow you to skip commercials, only to fast forward through them.  This means that Tivo is a somewhat more convenient VHS, and does not live up to its potential as a digital recorder.  If you happen to have a Motorola 6200 series cable box, you’ll see that the box has the hardware for networking (the RJ45 connector), Firewire connectivity, and USB connectivity, which are all very likely disabled by your cable provider.  Since digital cable and HDTV transmit what’s called mpeg2ts which can be streamed (sent) directly out the firewire ports, it would make sense to just plug the cable box into a computer with a firewire port on it, and record off of that, no?  It cuts out the overhead of digital-to-analog-to-digital conversions, and simplifies everything.  Comcast in DuPage County, Illinois, only allows for the firewire port to be used on channels that are broadcast in the region (i.e. channels 2, 5, 7, 9, 11, 26, 32, 38, 44, 50, and 66) and a few public access channels.  Everything else is disabled by encryption.  So I end up paying $70 per month to not be able to simply and easily record off of the cable box, and instead have to resort to a convoluted solution involving infrared transmitters and Hauppage WinTV capture cards.  It is far less successful than using the firewire, as sometimes the channel does not change properly.  When I called to complain to Comcast about this, I was told “We disabled this because you might record a show and keep it forever.”  Excuse me?  First off, what about all those old VHS tapes of TV shows that my elders have in their possession?  I don’t seem them tossing them out.  I also don’t see them watching them anymore either, though.  I do have several episodes of The Daily Show with Jon Stewart from 2005, but I also have not watched them recently either.  I would not likely buy seasons of The Daily Show on disc if they were offered for sale assuming that I did not have those episodes saved on my drive.  The “content publishers” cannot even try to assert that this is a “lost sale”.

The only lost sales involved are these:

1.  I have not subscribed to cable tv since moving back in November.  I have no plans on doing so until the encryption is beaten to a pulp (which is unnecessary to do in my opinion) or is completely dropped from at least non-premium stations.  So that means that Comcast, Time Warner, AT&T, et al, are all out of the $70 a month that I would otherwise have spent on service from one of those companies.

2.  I have no immediate plans to buy any Blu-ray movie discs.  I do own a Blu-ray recorder on my computer, but it is meant to be used for data and for my own home movies.  I own somewhere around 40 DVD movies (or more) right now, which I only bought because it was possible to watch them with open source software.  Until this is possible and unencumbered, all the “content publishers” selling encrypted and encumbered discs are out the several thousands of dollars I would otherwise spend on updating my collection and collecting new titles.

The “content publishers” lobbyists constantly sell their sad sad stories to our elected (and unelected) officials all the time.  For some reason, they believe that their products are of national importance, and that without them the national economy would crumble.  I didn’t realize that music, movies, and tv, were on the same level of importance as roads, schools, healthcare, and protection.  What would happen if they just vanished off the face of the planet?  Simple – life would go on as it always did, and people would care less about American Idol and the next installment of Tolkien’s books into movie form.

Americans would not likely let the government control at what times they eat everyday inside their own homes.  Why do they let companies like these control how they view and copy what they have legally paid for in their own homes?

The issues are even more complex than this, but this is already a good start.

Trials and Tribulations with Vista

Sunday, March 9th, 2008

I have noticed something in the past year.  All of the HP business desktops that my clients have purchased in the past year have not come with recovery CDs/DVDs nor did they come with the Windows CDs/DVDs either.  Instead, they want you to use their utility to make a braindead recovery utility disc(s) that flatlines the machine and repartitions it the way it has been scripted to do so, regardless of what partition(s) might be there that don’t belong to Vista.

Is this a new ploy by Microsoft to keep purchasers of new computer equipment from demanding a refund for their unopened copies of the current flavor of Windows?  Perhaps.  It seems all too convenient that it does draw my suspicion.  The only alternative reason that I can think of would be a cost-cutting strategy by HP.  However, given the low cost for CD and DVD media for a company the size of HP, I find that to be the lesser likely of the two scenarios.

What I can tell you is that the advanced user is paying the price for this.  I personally run both the copy of Vista that came on my new HP TX1410US notebook and Slamd64 Linux.  The problem with this scenario is getting some free hard disk space for some new partitions.  Since there are no driver discs and OS discs included, the idea of manually reinstalling Vista on the machine and defining your own size for the Vista partition is scrapped.  Then I tried using Ghost to image the drive to a USB connected drive.  Again, no dice when the machine froze while trying to load the drivers for the USB device.  Stupid old DOS application…

It turns out after about a full day of banging my head on the wall trying to find some way to image out the drives and running the braindead recovery procedure from HP only to find no advanced options available, that I came across another method.  Vista’s disk manager has a sometimes functional feature that will allow you to shrink and extend partitions (provided there is space to perform such a function).  This 240 GB hard disk partition for Vista had 222GB of free space on it.  So I went in to shrink it, and it let me chop off about 80GB.  I then tried GParted on the machine, as that was not enough of a drop in size.  GParted kept reporting to me that there was some problem in the NTFS $BITMAP file, and would not allow me to resize.  I went back into Vista, created a new partition, and moved the pagefile to that new partition.  I then rebooted into GParted, and this time I could shrink it.  It, unlike Vista’s built-in tool, allowed me to shrink it a whole lot more, and now I have 80GB for Vista and the rest for Linux.  This all cost me almost 2 full days worth of work though.

The pain doesn’t end yet, though.  I spent another day trying to figure out why the machine was locking up very randomly while trying to install Slamd64.  I even tried recent versions of Kubuntu and had the same random freezing.  I was just about to pack the machine up and take it back to the store (or the field from Office Space) when a friend of mine provided me with some invaluable information.  It seems that there is a big problem with the APIC on this machine in Linux.  Even a BIOS update to current (F.1D) couldn’t solve.  This problem exists even in kernel 2.6.24.x…  I had to give acpi_balance_irqs and noapic as parameters to isolinux and LILO in order to have the system run stably.  It has ever since, but I lament over losing out on the APIC functions for IRQ handling.  I can only hope that between the Linux kernel developers and HP that a fix for this will be forthcoming.

After 3 1/2 days of laboring, I finally have a notebook that I can use.

Reiser4 and the Linux Kernel

Wednesday, November 21st, 2007

Before I even start, let me respond to those friends of you out there that will complain about how an old version of reiser3 choked and died and you never touched it again: If only people would have been this way with Windows throughout umpteen versions of crash. I have run both reiser3 and reiser4 for some time on all of my systems, both server and workstation alike. I have had some problems in the past, but with the exception of Reiser4 on Linux 2.6.21.x, I have never lost my data. It might even be due to a very specific revision of 2.6.21.x, but since the problem occurred on one server and one workstation back in August, I cannot remember for sure. All the other times (and it’s not like there were many other times), all I had to do was rebuild the filesystem and everything was fine again. I have had similar problems with other filesystems as well, such as ext3 and XFS in the past too.

Reiser4 is a very useful filesystem especially for certain circumstances. I use it heavily on Maildir repositories. It is extremely fast even when I have over 10,000 files in a directory.

time ls -l > /tmp/bah.lst

real 0m20.071s
user 0m5.873s
sys 0m6.518s

That’s on a Pentium III 733 MHz machine with 384 MB of RAM and a run-of-the-mill 30 GB IDE drive on a directory with 120,854 individual files in it. Something tells me that ext3 would have choked long before I accumulated that many files.

But aside from this, I cannot see any real reason that reiser4 is still not in the kernel. At the moment, Namesys is offline, and Hans is in the middle of a court case about a murder he may or may not have committed (Do I care? No. It has nothing to do with a filesystem other than he won’t be around to support it.), and a whole huge cloud of uncertainty dangling above our heads. All of my google searches on the subject of inclusion in the mainline kernel turn up inconclusive results, and those that shed any light at all say that Andrew Morton is working on it (though it’s about 6 months to a year outdated). Now do I wait and pray? Or do I start preparations for a migration of all my systems to another filesystem? And if so, which one? For maildirs, the answer isn’t so simple.

Kudos to the Wordpress team

Thursday, October 11th, 2007

I just wanted to thank the Wordpress team for all the work spent on writing such a clean application for blogging. Now thanks to them, you can read my drivel.