First Draft of Ideas for the New Website Topic
I created the first draft for the ideas of the new website redesign. Here is the mind-map version of the ideas:
Note that this is the first draft, which means that I would remove or add certain titles to the draft in the future. There is a to-do item that I’ve included in the portfolio section. I will add the required items into the section after I researched this topic.
If you have any advice on what should I include or not include on the new site, please leave a comment below. Thank you.
Changing Website Topic
I have not updated my main website robbychen.com since I began to blog more often. Although I got this domain last year, I haven’t used it until this semester. At first, I didn’t have any ideas what to do with this website. I decided to temperately store my class assignments. My goal for this website became more clear after I began this blog. I plan to change robbychen.com topic relevant to the topic of this blog. It will contain video tutorials for GNU/Linux and web development. It will also include all of my web development projects, as well as their source code. But first I will redesign the website to fit the new topic. I plan to complete before this semester ends.
Miro 3 was released
Miro is an online podcast aggregator that allows you to subscribe to podcasts and it will automatically download the new episodes for you. I tried Miro on Windows long time ago. Actually, before Miro sent me an email about this update today, I had forgotten about Miro. Thanks to this notification, I finally remembered to use Miro as an alternative to iTunes’ podcast feature since I had struggled to find an alternative iTunes Linux app. Except I have to copy the podcast files to my iPod Touch manually.
Since I had not used Miro in the last two years, I couldn’t tell you the improvement of the new version. Here is the change log directly copied from the official Miro website blog in case you want to know:
- Subtitles!
If subtitles are embedded or in the same folder as your video, they will be available automatically in a new drop-down menu. Or pick any subtitle file.- Faster Faster Faster!
Miro is faster and snappier in all sorts of ways from downloading torrents to deleting lots of files. For example, launching Miro is over 150% faster! Downloading torrents is faster!- Louder Louder Louder!
The maximum volume for videos is now at least twice as high. Really nice for laptops.- Edit file info
Easily change the title, description, and category of a file.- Play Externally
We’ve added an option to play all files externally and a right-click menu for single items.
For me, the biggest change is faster download speed for torrents. I couldn’t remember the earlier version of Miro that I tried years ago, but I believe that it has changed a lot both on the interface and on the performance.
The meaning of the Ubuntu Version Number
I was confused that why did each Ubuntu version never contain the whole number. After watching this Ubuntu screencast, I finally understand its reason. According to the video, Ubuntu version number is based on the date when it’s released. This explains why the first version of Ubuntu was not 1. The current version of Ubuntu is 9.10. That means it’s released on October, 2009. I then found out that Ubuntu has 6 months release cycle. It explains why does Ubuntu have consistent version number that I was wondered about. That reminds me about Ubuntu 10.04 Beta. Based on this version numbering method, its final version should be released next month. I’m very exited because it’s going to be April after five days from now.
Brother Scanner Driver Installation in Ubuntu 9.10 (Updated)
UPDATE (03/15/2011): According to the comments posted by two readers, Ludovic and Don1, the snippet in this post also applies to Ubuntu 10.10 (Maverick Meerkat), but make sure to change “SYSFS” to “ATTRS”. For the original snippet, read the post below. Note that I’m still using Ubuntu 10.04 because there’s no WebDAV support even with the upcoming 11.04, so I can’t verify the code myself. For the original comments, scroll down to the comments section of this post.
UPDATE (08/31/2010): The solution in this post appears to only work in Ubuntu 9.10. I haven’t have any success with the scanner running in non-root environment since I upgraded to 10.04. This bug however is not very popular. Its launchpad page can be found here.
UPDATE (07/08/2010): Changed the last line to single equal sign. It doesn’t work with the double equal signs. Check out the updated post below for more detail.
UPDATE (05/01/2010): I recently discovered that I can use wild-card characters such as * and ? in the command line to easily find and execute/edit the file. See step 5 of this post for more information about how to use these special characters to find the libsane.rules file.
I haven’t used my Brother-based multifunction printer since I switched to Ubuntu. When I need to use the scanner function of my MFC-7420 printer to scan a document, I just found out that I have to install this printer and its scanner driver. I was surprised to know that there are already drivers for my Brother printer available in the repository and waiting to be installed. I installed the printer driver and downloaded the scanner driver for my printer device from the Brother website.
After I installed the scanner driver, I thought that it should automatically detect scanner by Ubuntu. However, it didn’t detect my scanner at all during the starting of the XSane Image Scanner. I then tried to run it through the root account and the program detected the scanner without problem.
I decided to find a way to use the scanner under non-root account. After I searched around online, I found out a post from Ubuntu forum that discusses about the same issue. Unfortunately, it is for the older version of Ubuntu. While following the tutorial and digging around, I discovered that the location of libsane rules file is different from the tutorial, as well as the format of the rules. After I looked through this tutorial, I revised it to fit the version of Ubuntu that I currently installed which is the stable version 9.10:
- Download the Linux driver for your scanner from Brother Linux driver download page (.deb is for Debian-based distros, and .rpm is for Fedora-based distros).
- Download the appropriate packages and install them to your system.
- Open up the terminal and type lsusb command into the command line to see a list of USB devices that have connected to your system.
- Record the Vendor ID and Product ID of your Brother device from the list, the following is the sample format of the list (the basic format is Vendor-ID:Product-ID):
Bus 001 Device 003: ID 04f9:018c Brother Industries, Ltd
- Using either Vim or gedit to open /lib/udev/rules.d/40-libsane.rules file as root.
NOTE: The number in front of the libsane.rules might not be 40, so please check with the content inside /lib/udev/rules.d directory using the command ls /lib/udev/rules.d and look for the libsane file.
UPDATE: Or you could simply enter vim /lib/udev/rules.d/*libsane* or gedit /lib/udev/rules.d/*libsane* into the command line.
- After the file is opened, you need to add the following lines before the last comment (at the bottom part of the file):
# Brother “Your scanner module“
SYSFS{idVendor}==”Vendor ID“, SYSFS{idProduct}==”Product ID“, ENV{libsane_matched}=”yes”
Update (07/08 2010): I changed the last line to ENV{libsane_matched}=”yes”. It doesn’t work with the double equal signs.
Replace “Your scanner module” with your scanner module number (without quote, for example: MFC-7420) and replace “Vendor ID” and “Product ID” with the Vendor ID and Product ID that you recorded earlier (with quotes for both fields, for example: “04f9″ for Vendor ID and “018c” for Product ID).
- Finally restart your system and XSane Image Scanner and other programs that using Sane should detect the scanner with normal user account.
If you have any problem after completing the above steps, please leave a comment below. I will help you as possible as I can.
Linux could improve Computer Skills
Since I switched to GNU/Linux, I always believed that I could improve my programming skills by using this open source Operating System. I’m still believing this beliefs until now. However, after nearly two years of using GNU/Linux, my programming skills doesn’t even increase a bit. But my creativity seems to be improved and I have gotten a lot of inspirations from using GNU/Linux Operating System.
I came across an article from DaniWeb today that talks about how is Linux a good teacher. It advises me to always use command line in order to actually improve my programming skills with Linux. I remembered that when I was a Fedora user, I always used command line to install new software packages. However, after I have switched to Kubuntu, I had used less and less command line. Mainly because the package installation command is different from Fedora. After I read the article, I have decided that I need to begin to use command line frequently in order to learn from multiple Linux distros as well as to improve my programming skills.
Since I heard about the existence of Linux three years ago, I have searched around online to find a suitable Linux distro to begin my programming skills improvement. However, because of my inexperience of GNU/Linux, I chose to using Fedora as my first Linux distro. I continued to search for the Linux distros for improve my programing skills while using Fedora as my main OS. The following Linux distros I’ve found so far that I think it’s useful to begin with:
- LFS (Linux From Scratch)
- Arch Linux
- BSDs (FreeBSD, OpenBSD, etc)
Currently, I’m trying to install Arch Linux on my netbook by following the tutorials on its official website. I also plan to finishing reading the LFS ebook and apply the technique in the book to my test desktop machine. In addition, I will also try to download, test, and learn various BSD distros in VirtualBox.
The easiness of sharing between Ubuntu-based Distros and Windows
GNU/Linux uses Samba to sharing files within a network. I remembered last time when I tried to use Samba to connect to my Windows XP netbook using Fedora. It involves several complicated procedures that took me long time to complete. During those painful times, I failed numerous times to get Fedora to be discovered by Windows XP despite following good tutorials. It finally worked after I read the tutorial several times and numerous trials.
After I switched to Kubuntu this week, I discovered an easier way to share files between GNU/Linux and Windows. It has become much easier to sharing files with Windows.
- Right click the folder that you would like to be shared
- Select “Sharing Options”
- In the “Folder Sharing” dialog box, check “Sharing this folder” checkbox
- After customize the sharing options, click “Create Share”
After the dialog box closed, the share is created. It’s a lot easier compare to the Samba setup in Fedora.
Although lots of videos on YouTube showcase the Samba feature available in Ubuntu, it doesn’t give you how to work with other computers on the network in order to get it working. I will create a video demonstration later next week to demonstrate how to get shared files in other computers on the same network, including Windows XP and Untutu.
An easy way to learn and improve web programming skill that I didn’t know about
As a long-time web developer, I always search across the Internet to look for good tutorials to improve my web development skill. While searching through different websites, I was amazed by the unique design and programming technique implemented on these sites. The fact which I didn’t know about open web is that the source code of every web page can be easily viewed either through viewer source context menu or using web development tools such as Firebug. After reading this article from webmonkey, I was surprised to know that I didn’t know about this simple technique to learn from the better-designed web pages. The article also advise to learn JavaScrpt the same way. As it pointed out,
the best way to learn JavaScript is to look at scripts other people have written. JavaScript, just like HTML, can be viewed by selecting View Source on your browser. Do it frequently!
The technique I also learned from this article is to copy the code from an original web page, and modify it to my own version in order to understand source code more clearly. I think that this is the simplest and easiest way to learn new or improve existing web development skill.


