What more could you want?
chuck
This user hasn't shared any biographical information
Homepage: http://www.ozymo.com
Posts by chuck
Addons in Firefox3 (at your own risk!)
Mar 10th
Ooh, I installed Ubuntu’s beta, the Hardy Heron, and I was unthrilled to find that they are including a BETA version of Firefox as the default browser.
Who knows, maybe it’ll be official by April, but for now, it’s still BETA!
I use a few plugins for various things, and was equally unthrilled to find that none of the were compatible with FF3. Unthrilled, but not completely unsurprised. The same issue happened when they release FF2 some time ago.
So, I found a way to fix it.
In the Address Bar, type “about:config”. This will prompt you (which I laughed at) that it might “void your warranty”. Right click on a blank space, and click New->Boolean. Enter the value string “extensions.checkCompatibility” and select “false” for the boolean value.
Restart FF, and voila! I was able to successfully use the ShowIP and Signature plugins, which I use quite regularly.
I am now happy.
/cs
Ubuntu 8.04 Hardy Heron Alpha and Beta testing
Mar 7th
I love Ubuntu. It’s Linux that you can plug in and use quickly, without a whole lot of setup time. I even convinced my Uncle Phil and my Grandmother-in-law to use it, and they are die-hard Windows fans.
Well, wow. My first impression once I got Hardy installed was that the new modern art deco background is a far reach from their traditional “wiggly lines” art.
Determine the architecture of your system
Mar 4th
So, how can you tell if the system you are using is 64-bit capable under Linux or just x86?
It’s easy. Run the following command:
$ cat /proc/cpuinfo | grep -y flags
In the output, look for the ‘lm’ (that’s L M) flag.
$ cat /proc/cpuinfo | grep -y flags
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl cid cx16 xtpr lahf_lm
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl cid cx16 xtpr lahf_lm
The ‘lm’ flag stands for “Long Mode” and is only present on 64-bit processors, and determines that you have the capability of running a 64-bit OS. This is from thefollowing:
/usr/include/asm/cpufeature.h: #define X86_FEATURE_LM (1*32+29) /* Long Mode (x86-64) */
Particularly, on my local system, which runs 32-bit Ubuntu Feisty, I found that the file containing this was in /usr/src/linux-headers-VERSION/includes.
It seems I may have a box to rekick soon, just to give it a whirl.
/cs
warning: incompatible implicit declaration of built-in function ‘strlen’
Mar 2nd
This is an error presented by the GNU Compiler Collection (which I still like to call the GNU C Compiler) when compiling a piece of code that calls to a function in the <string.h> header file if it cannot find the function.
Typically, this is caused by a call to the strlen function when the <string.h> header has not been included.
$ grep ‘#include’ whiteout.c
#include <stdio.h>
$ gcc -o ../whiteout whiteout.c
whiteout.c: In function ‘trim’:
whiteout.c:49: warning: incompatible implicit declaration of built-in function ‘strlen’
whiteout.c: In function ‘add’:
whiteout.c:64: warning: incompatible implicit declaration of built-in function ‘strlen’$ grep ‘#include’ whiteout.c
#include <stdio.h>
#include <string.h>
$ gcc -o ../whiteout whiteout.c
$
As you can see, simply placing the statement ‘#include <string.h>’ into your includes section of your code will alleviate the issue.
/cs
Plesk and root email
Feb 28th
God help you if you have Plesk.
But, if you do an you need to receive the system messages emailed to root, simply execute these commands as root on your RHEL server:
# echo `hostname` >> /var/qmail/control/locals
# /etc/init.d/qmail restart
After this, log into the CP, and click Server->Edit. Change the Administrator Email to the address you want root’s mail sent to, and voila! it goes.
This will also work for postmaster and mailer-daemon.
/cs
