Okay. Now that Firefox 3 has been out for a while, and the comments around the net have died down, I would like to say a few things about the revamped Location Bar (AKA, the "Awesome Bar"). First of all, the Awesome Bar is very awesome. It knows about your bookmarks, search history, tags, the frequency and recency of each visit to a site, etc. And it magically optimizes its behavior based on the way you use the browser. In other words, the Awesome Bar can be trained. Since I only frequently visit a few web sites on any given day, I bookmark these sites (click the star), since the Awesome Bar seems to give preference to bookmarks. Also, if I clear my browser history, the bookmarks are still saved (thankfully), so the Awesome Bar becomes even more useful. In fact, I've only clicked on the `Bookmarks' menu approx. 4 times since I've used Firefox 3. The most commonly criticized aspect of the Awesome Bar is its "intrusive" nature and "lack of polish" as compared to the old Location Bar. I can understand what these people are saying, but I honestly don't care. I love the Awesome Bar for its functionality and adaptive-learning characteristics. I don't care how it looks. I don't find OpenOffice.org's UI very attractive, but I do find OOo to be incredibly reliable and simple to use. Mozilla, you rock! Firefox 3.5 is going to be even more amazing!
05 August 2008
02 August 2008
RTL8187B will soon be supported
Fantastic news! The upcoming Linux kernel (2.6.27) will provide support for the RTL8187B (Realtek) chipset for wireless USB adapters. This is the chipset in my adapter, so I'm thrilled. Many people have tried to make these adapters work with the native Linux drivers. Info can be found here: http://www.datanorth.net/~cuervo/rtl8187b/ http://www.a110wiki.de/wiki/Wireless There are two different USB IDs associated with this chipset (0bda:8187 and 0bda:8189), and they will both be supported. I accidentally discovered this information from browsing the commit history in the Linux git sources. All of the patches relating to RTL8187B were committed in July (so far)! Here are links to a bunch of the patches (mostly for my reference, but others might be interested in looking at the patches too): http://tinyurl.com/68ayq7 http://tinyurl.com/5w4au9 http://tinyurl.com/5oube6 http://tinyurl.com/6fxkls http://tinyurl.com/6k8sp3 http://tinyurl.com/6hgmp4 http://tinyurl.com/5jr3r9 http://tinyurl.com/67nesc Long live GNU/Linux!!
~
Patrick
at
7:03 PM
1 comments
10 July 2008
LilyPond Bug...Crushed!!!
I never thought I would *stumble* upon a bug in LilyPond, but I did. It was an outstanding bug that's been around for 1 1/2 years, and I believe that the default LilyPond build runs quite a bit faster now that the bug has been fixed.
As I said, I discovered the *typo* by accident. When I was compiling LilyPond's documentation from scratch a few days ago, a compile-time error was preventing me from completing the build. It's strange though, because when I redirected stdout and stderr to a file, like so:
$ make web > lily-makeweb.log 2>&1
the build successfully completed! After inspecting the log file, I noticed these *bogus* "programming errors" appearing at the spot where the build usually failed. I grepped the phrase in the source code, which took me to lily/include/smobs.hh. It turns out that this programming error was only supposed to appear when building an unoptimized, debugging build of LilyPond (which is not the default). But there was a typo in the #ifndef test (it checked for NDEDUG instead of NDEBUG), so the subroutine to check for these "programming errors" was being included in the binary no matter the configuration.
Anyway, nobody else has mentioned a speed increase yet, so maybe it's just relevant to my setup. But it's exciting.
I hope you enjoyed my convoluted bug-crushing story that involved changing one letter in an identifier name in a preprocessor conditional construct. :-)
~
Patrick
at
6:28 PM
2
comments
17 June 2008
Firefox 3 is here!!
This is SO exciting!! If you are reading this, download Firefox 3 right now. You should, for two reasons:
1) It is the best and fastest browser currently available
2) You can take part in setting a Guinness World Record for the most downloads in one day if you download it by approx. 11AM PDT on June 18.
Here is what Firefox 3 looks like on my machine (first run):
Isn't that awesome! Now, hurry! Go download. Download, download, download!
~
Patrick
at
1:00 PM
1 comments
24 April 2008
Blackboard...you have issues!
Okay. Blackboard and Linux do not get along at all. It turns out that Blackboard is currently 'unsupported' on the Linux platform. Not cool. I think Blackboard's programming team is living in the dark ages. Anyways...to the point: Fortunately, most of Blackboard's functionality is web-based, and since Firefox (all any platform) is more than capable of handling anything HTML/CSS/JavaScript, Blackboard works.......mostly. Since the Linux operating system is not 'supported', Blackboard performs a user-agent check to see if you are running Windows or Mac. If not, you cannot upload files to Blackboard. Not cool. I have tried the Firefox extension called User Agent Switcher that lets you 'spoof' your browser's identification, the version of your browser, and your operating system. For example, I could be running Mozilla Firefox 3.0 Beta 5 on Linux, and using the User Agent Switcher, I could pretend to be running Microsoft Internet Explorer 7 (GASP!!) on Windows Vista (GASP!!), and no website would know the difference. Isn't that wonderful? Firefox lets the user be in control, and that's what I love about it. Unfortunately, this doesn't fool Blackboard. Blackboard looks for filenames that have backslashes in them. Aha! So if I try to upload a file called myCrazyLongFileName.cpp, Blackboard won't let you upload it. But if I rename the file to be \myCrazyLongFileName.cpp, Blackboard recognizes the file. And it gets better: Blackboard strips this backslash after you upload the file. Yes!! Glorious!!
~
Patrick
at
4:43 PM
2
comments
23 April 2008
Arch Linux!!
Arch Linux rules! It is not too difficult for beginners to figure out; if you read the Beginner's Guide on the Arch Linux Wiki, you'll be ready to go. If you want to try Arch Linux, there is a new "Arch Live" ISO image coming out very soon (the Release Candidate has already been released). Even though I've had Arch installed on my PC for about 8 months now, I will definitely test out the Live CD once the final ISO is released. Since Arch Linux is a fairly "bleeding-edge" distro, I have become accustomed to receiving regular software updates (sometimes up to 10 updates per day). In other words, when a new version of a software package on my system is released, I expect the Arch Linux development team to send the updates to me. And...they usually do. Recently, I have been a little frustrated (okay, very frustrated) that my printer software package (HPLIP) doesn't get updated in a timely fashion. It's okay though, because now I know how Arch's ABS system works. I am running the latest version HPLIP, compiled using up-to-date configure options and updated dependencies, and now I'm happy. There is currently a Udev problem on my system, but that's okay. It'll be fixed eventually, and running /etc/start_udev is a temporary workaround. Now go install Arch Linux! If you use Windows, Mac OS X, BSD, or a different GNU/Linux distribution and feel adventurous, I would highly recommend trying out Arch Linux using the upcoming Arch Live CD. Make sure you read (or print out) the Beginner's Guide first though. It, along with the Arch Linux Forums, will answer any questions you may have. Have fun!!!! :-)
~
Patrick
at
11:11 PM
1 comments
08 January 2008
Oh, Wonderful Vim
I have been using Vim as my primary text editor and web development IDE for a couple of months now, and my experience so far has been excellent. I would classify myself as an "intermediate" Vim user right now, since I'm still learning some of the more advanced commands (that make my life easier), but I am making huge progress.
Here is a tip for Linux users that I just discovered yesterday. It assumes that you have Vim as well as GVim installed.
On the command line, type
$ gvimdiff firstfile secondfile
Notes: The "$" symbol above is the prompt (it could be "#" for a root user). "firstfile" and "secondfile" are the locations of two files you wish to compare.
GVim will open in a two paned window, illustrating colored diffs between the two files (assuming your ~/.gvimrc allows for the color). I highly recommend using the Desert colorscheme to compare the files; the diffs really stand out as a result.
This works for comparing more than two files as well. Just tack the additional locations on the end:
$ gvimdiff firstfile secondfile thirdfile ... ... ...
I hope this is helpful!
~
Patrick
at
12:17 PM
1 comments