I found an excellent article about writing Eclipse plugins and publishing them on SourceForge. I hope to work on a project like this soon.
Oracle on Eclipse
I saw the new release today of Oracle Enterprise Pack for Eclipse.
I found this quote on Oracle’s website:
Eclipse is one of several open source communities (Apache, PHP, and Glassfish are other examples) in which Oracle invests significant development resources. A Strategic Developer and Board Member of the Eclipse Foundation, Oracle is a leading participant in the Eclipse Web Tools Platform and Technology projects.
It is just interesting to me since I work with Oracle’s PeopleSoft software. I waiting for Eclipse to be used with PeopleSoft!
Jasper Reports
I have found Jasper Reports to be a great tool for allowing printing from Java-based applications. I am using the iReports tool to create the reports in a GUI mode much like Crystal Reports. Then, with a few lines of Java, I can display the report to view the report and allow him to print.
Right now, I am trying to figure out how to display totals on the page. I found this nice article explaining the basics:
Open Source Reporting with JasperReports and iReports (Totals on Page 3)
Gpsd: Fixing for Ubuntu
I have an LT-20 Delorme Earthmate GPS. It may not be the best GPS, but it gets the job done. Getting it to work in Ubuntu was no easy feat.
I had to fix a bug in a cypress module. I followed the instructions from here.
To get the kernel version, I ran:
uname -r
Then, to install the kernel source, I ran:
sudo apt-get install linux-source-2.6.24
Then, I changed directories into the installation directory and unzipped the source:
cd /usr/src
sudo tar -xvf linux-source-2.6.24.tar.bz2
Then, I copied the two files:
cd linux-source-2.6.24/drivers/usb/serial/
sudo mkdir /usr/src/modules
sudo cp cypress_m8.h cypress_m8.c /usr/src/modules/
Next, I created the make file (note that I have installed gvim. I saw a note saying that they had problems using the gedit text editor):
cd /usr/src/modules
sudo gvim Makefile
And, I pasted these lines into the Makefile:
obj-m := cypress_m8.o
KDIR := /lib/modules/
$(shell uname -r)/build
PWD := $(shell pwd)
default:
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
Then, I edited cypress_m8.c and commented out line 408. The original instructions have more detail on this. I thought the line number might be different, but it was the same as the original instructions.
When running make (sudo make) I had trouble with “make: Nothing to be done for `default’.” message. I just opened the file and deleted and readded the tab in front of the last line. Then, it ran fine.
Then, I ran the command:
sudo install -m 644 cypress_m8.ko /lib/modules/`uname -r`/kernel/drivers/usb/serial/cypress_m8.ko
sudo depmod -a
Resources
Bible Software Analysis
I found this great article today on Bible Software in Linux.
http://www.ubuntuproductivity.com/journal/software/07/2008/bible-software-on-ubuntu-linux/
I have been using Gnomesword just because it is a Gnome project, but I would like to spend some more time finding more alternatives and evaluating them.
Convert Youtube Videos
I found this command that successfully strips the audio into a wav file:
ffmpeg -i Blessed_Be_Your_Name.flv -vn -acodec pcm_s16le \ -ar 44100 -ac 2 Blessed_Be_Your_Name.wav
Here is the same command that includes the video that will play in Window’s Media Player:
ffmpeg -i Blessed_Be_Your_Name.flv -vcodec msmpeg4v2
-acodec pcm_s16le \
-ar 44100 -ac 2 Blessed_Be_Your_Name.avi
I was able to use this command to convert an flv file from a downloaded Google Tech talk to an mp4 file that I could play with mplayer in Linux:
ffmpeg -i Using_bluemail_to_renew_the_design_and_study_of_enterprise_email.flv \ -vcodec xvid -acodec pcm_s16le -ar 44100 -ac 2 \ Using_bluemail_to_renew_the_design_and_study_of_enterprise_email.mp4
Resources
Webex in Linux
I finally got Webex to work in the lastest version of Ubuntu (Hardy Heron – 8.04). It was as simple as setting the JAVA_HOME variable.
http://ubuntuforums.org/showthread.php?t=841801
At least this allowed the client to load. I have yet to test it in a meeting.
Windows VPN in Linux
I had need to connect to a Windows-based VPN, and I found the instructions to do so here:
Thunderbird
Well, work demands are forcing me to begin to use a fat client for my mail. Up until now, I have been using GMail successfully. So, I am choosing Thunderbird.
Here is what I like about GMail:
- I can access GMail from any computer (I used to work on multiple computers depending on the client/day of the week)
- I can manage multiple email addresses (Each client was giving me an email address with their domain name)
- I like the GMail interface
- threads instead of messages
- labels
- Ability to type the name of a person in the to box
But, there were a few features that I needed that forced me to switch to Thunderbird:
- HTML Signatures (or at least formatting)
- Different signature for each email account
- Use a third party SMTP server — sending through GMail leaves an “on behalf of” message even if you choose to send with another email address.
I have started with two extensions that I thought were helpful:
One of the frustrations that I found was that when I replied to a message, it would put the quoted message above my reply. Most email programs place the original programs below the new message. I found a thread that explains you can change this in the Account Settings, Composition and Addressing settings.
The signature is in the Account Settings as well. It is on the main page for each account. I created an HTML file in my home directory and attached it to account.
Zindus was easy to configure. You can access the setings in Tools > Zindus. I just entered my GMail account information and I was off. I did have an issue with duplicate contacts because I had already sent a couple of emails to people already in my GMail contact list. Thunderbird automatically adds to your contact list people to whom you send an email. I just deleted those contacts, and everything synced fine.
The Lightning settings were in the Preferences — that is in the Edit menu for Linux and Tools menu for Windows.
The Provider for Google Calendar was a little more difficult to figure out. I finally found some instructions on the wiki. I had to open the Google Calendar web interface. Then, if you click settings on the calendar list, you get your list of calendars. Next, click on the link for your specific calendar that you want in Thunderbird. At the bottom of the settings list, you will find the XML links. I right clicked on the XML button for the Calendar address and selected Copy Link Location. Once I had the link copied, I went to Thunderbird. First, I had to click on the Calendar button on the lower left hand corner of the screen. Then, I could choose File > New > Calendar. I chose a calendar on the Network. Next, I chose a Google calendar and pasted the XML link into the Location. Then, it asked me to log into the Google account. Finally, it asked for a name/description for the calendar.
Proprietary Olympics
I got the great idea that we would try to watch the Olympics online last night. But, I had to reboot to Windows!

The problem is that NBC used a tool called Silverlight to broadcast the video. Currently, the version of Silverlight does not work on Linux.
I attempted to download Moonlight, the Linux version of Silverlight. but it did not help. The download page says that they do have an experimental version 2, but I think this note explains why it still does not work: “Note: These are currently built without multimedia support. No video or mp3 playback is enabled on these binaries.”
I tried to do some quick searches to see if there was a way to recompile or enable Moonlight to playback video, but I did not find anything.
I did find many other people complaining about Microsoft though. New York times wrote an article called Olympics Online, With a Hook. My search also brought this article up a few times: Linux Users on NBC’s Olympic Videos: We Don’t Get No Respect.
I found another article, Ok, I admit it. I love NBCOlympics.com! Now go make it work on Linux!, where the author makes this quote: “Now, one could get all huffy and puffy and blame Microsoft on this state of affairs, but in this case, I have to lay this problem strictly at the feet of the Open Source community.” I have to disagree! If I write a website, I have to make sure that I use tools and code that will work with my audience’s computers. It would be ridiculous for me to write and test my website only for the Firefox browser or only Safari. If Microsoft really wants Silverlight to be a success, I think they should donate the resources necessary to the Open Source effort. Obviously, not that many open source developers feel that we need another Flash.
Anyway, I wish I had a good answer for how I made it work, but all I can say for now is we have to use Windows.