Tags: firefox


  07:05:00 pm, by The Dreamer   , 2118 words  
Categories: Software, Computer, BOINC, FreeBSD

sqlite3 SECURE_DELETE and Firefox

So a few days ago, databases/sqlite3 was updated in ports. And, in the portmaster run, I was faced with its config dialog. Think I had gone with the defaults previously, but decided to take a closer look this time. Saw that SECURE_DELETE, with the description "Overwrite deleted information with zeros". That sounds like a waste of time, I should probably turn that off.

A quick online search, I found this:

The secure_delete setting causes deleted content to be overwritten with zeros. There is a small performance penalty for this since additional I/O must occur. On the other hand, secure_delete can prevent sensitive information from lingering in unused parts of the database file after it has allegedly been deleted.

Yup, definitely just a waste of time...even says so. The OTOH, wrong. Why? Because I'm running my FreeBSD system on ZFS, which is copy-on-write. Its just spinning my wheels create a new copy of the file filled with zeros, and the old file is just unlinked somewhere intact, and then unlinking that new copy that it had filled with zeros. When just unlinking the old file achieves the same thing faster.

Of course, what happens a little while later there's an update to www/firefox in ports, where the configure fails because sqlite3 wasn't built with SQLITE_SECURE_DELETE. Well, I'm not turning on stupid for Firefox...I'm already disappointed by how slow it has become (and PGO seems to be broken again), to where chrome/chromium is now my everywhere browser. Which is working on the most part now that I don't have a Solaris workstation as part of my everywhere.

Well, its just configure that is testing for it and complaining...so there should be a way to turn it off. Hmmm, no option to do that, guess I'll have to later the configure script. Do I inject a patch into the files directory? Looks like the file is being adjusted elsewhere, though I don't see a patch in files that is working on it. Okay, its the post-patch target in the Makefile. Can I just add to that? Guess the way to do it is to change AC_MSG_ERROR to something that doesn't terminate the configure. Unfortunately I have portmaster.rc opertion "PM_DEL_BUILD_ONLY=pm_dbo" uncommented, so can't quickly look what AC_MSG_??? I could use. Find some online documentation, that describes AC_MSG_CHECKING, AC_MSG_RESULT, AC_MSG_NOTICE, AC_MSG_ERROR, AC_MSG_FAILURE, AC_MSG_WARN...first 3 are messages that aren't emitted if '--quiet' or '--silent' options are used. I don't think those options are used normally, but seems like a good idea to me. I'll use AC_MSG_NOTICE (though now that think of it, AC_MSG_RESULT is probably valid, since it was an AC_MSG_CHECKING that comes before the AC_MSG_ERROR...)

Well, AC_MSG_NOTICE is undefined. Guess the autoconf being used is different than the one I found online. AC_MSG_ERROR and AC_MSG_FAILURE cause exits, but AC_MSG_WARN writes to stderr and continues. Guess, that's what I'll have to use then.

So, I insert the change, and create quick diff so that I can reapply it as a patch for next time....


--- Makefile.orig  2013-06-03 17:45:05.000000000 -0500
+++ Makefile  2013-06-04 18:22:37.335175851 -0500
@@ -89,6 +89,7 @@
  @${REINPLACE_CMD} -e '/MOZPNG/s/=[0-9]*/=10511/' \
    -e '/^SQLITE_VERSION/s/=.*/=' \
+    -e '/with SQLITE_SECURE_DELETE/s/_ERROR/_WARN/' \

Pages: 1· 2


  02:31:00 pm, by The Dreamer   , 990 words  
Categories: Software, Computer, Ubuntu

Upgrading to Lucid Lynx

Since I got back from Penguicon 2010, it had been my plan to test out upgrading to Lucid Lynx.

I didn't get around to it the first day back to work, since I was busy catching up on 1000s of emails and making sure things that my co-workers had ignored or overlooked during my absence got done. I then came home with a fever, and ended up taking the next day off from work. The fever broke Thursday night, so I went back to work on Friday...even though head is still all stuffed up and I had a killer sinus headache.

Finally, near the end of the day, I remembered that I wanted to try the upgrade....

At work, I have two Karmic Koala VMs, running in VirtualBox on a Sun Ultra 20 running Solaris 10/x64.

One VM is/was a 32-bit server....it runs BOINC all the time, got a squid instance when I was testing something and more recently I set up backuppc so that I'd have backups of my windows desktop at work. The other VM is a 32-bit desktop which is mainly so I can offload and run my mail/calendar client on...since the Windows computer is starting to suffer with the bloat and growth of apps...the more recent versions of Thunderbird and Firefox are very resource intensive, and I can't run both at the same time anymore.

Though what I do now is run Thunderbird and direct it to open on Cygwin/X running on the Windows box. Since, I want it to be visible all the time as I'm doing tasks come from emails. Makes it strange opening links and attachments though, since they won't go to the Firefox/apps on my windows box....etc.

I first upgraded the server VM, and it largely worked without any major issues....the only thing is that it does complain with "Your CPU is lacking expected security protection"....the checker says the CPU family has NX, but my BIOS isn't ... but the box to enable PAE/NX in VirtualBox is checked. So, guess its just a bug with Ubuntu running in VirtualBox.

I then upgraded the desktop VM...again that went okay.

The server VM originally started out as a Jaunty Jackalope, and went to Karmic Koala...so that was my first experience that 32-bit servers are no longer supported by Ubuntu (I mentioned it as the Ubuntu Q+A at Penguicon, but was ignored...when they were saying that Ubuntu supports a wide range of older hardware..I have older hardware that won't run 64-bit that I use a servers at home...plus I ran into a lot of problems getting 32-bit apps to work on my 64-bit hardy heron server.) Hopefully someday there'll be a way to go from 32-bit to 64-bit, on the machines that can support 64-bit but had 32-bit Ubuntu installed on them.

So, last night....after making backuppc complete that day's incremental. I set out to upgrade my laptop 'ulkc' to Lucid Lynx. This is a laptop, and I originally installed Jaunty Jackalope 32-bit on it, even though its a Core 2 Duo. Main thing is that boxee didn't support 64-bit, and it was one of the key apps I wanted to run...at the time (I've never actually used it on here though...since the streams that wouldn't show on my AppleTV+Boxee also wouldn't work on here. Forcing me to resort to iTunes/AppleTV to get the content.

The upgrade was largely straight forward....though along with disabling 3rdparty sources, it removed picasa (that's the main thing I noticed missing).

Afterwards, I left the computer on, and ran a new full backup into backuppc.

This morning I did some poking around of the usual apps that I use...Firefox/Thunderbird. Of course, Thunderbird is now 3.04...so it did its upgrade/migrate thing and loss of extensions that haven't been updated for 3.x and don't work if I do 'make compatible'. I hope someday these extensions will appear....mainly the View Header toggle button and Mail Redirect.

Being that I some how am an email admin at work, needing to see full headers is something that happens regularly....and mail redirect is handy when I send a message, and then realize that I forgot to CC/BCC somebody...I can then do that with redirect and they won't see the alteration to the email that forwarding does. Also useful to 'cc' a copy of an email that was sent directly to me rather than through proper channels (even if I'll be the one that ends up doing the work).

I left the computer on again...so Thunderbird can do its new (annoying) thing....and guess it'll eventually get picked up for today's incremental...unless I go back to using it before it runs and suspend it.

Not sure when I'm going to upgrade my Ubuntu servers. 'box' is currently a karmic koala 32-bit server (older P4 that doesn't do 64-bit)...was a jaunty jackalope...though I probably should've made it a hardy heron...to match 'orac'...since there are things (namely DHCP fail-over) that I can't do due to version mismatches. But, the plan is to make both servers run the 10.04LTS...where they'll stay until 12.04LTS comes out, or not?

I'm very hesitant about touching 'orac'....because its working, has critical functions, and its temperamental. Of course, 'box' has functions more critical to my overall home network...but I'm going to risk the upgrade of it, to get it to an LTS version.

It was my original intent to not upgrade the servers until at least a couple months have past...since when I had upgraded 'box' to karmic koala shortly after its release, stuff important to me (name DNS) didn't work. apparmor was breaking it. Eventually they released the kernel upgrade that resolved the issue. Though building a 32-bit server kernel each time, etc. was also kind of painful. I've since opted to just have the server running on the 'generic-pae' kernel.

'orac' can continue to be a server, since it is a 64-bit system.

I'll probably go back to the waiting...there are other things I should get to first....


  08:16:22 am, by The Dreamer   , 300 words  
Categories: Hardware, Software, Computer, BOINC

box now has 2GB

A couple of days ago, I got a second stick of 1GB PC3200 DDR memory...and last night I finally got around to upgrading 'box' to 2GB. I had previously throwing a 1GB stick into a geeks.com order to bring 'box' to 1.5GB.

Nothing special of note happened with either upgrade. Just that I now have the maximum for this system, and it should allow it to better run BOINC work.

Though the current RNA World work assignments are calling for memory that I only have one machine that has at least that much memory....but it has 4 cores, so it can't run more than one RNA World at a time...and if I mix in other work with RNA World....the RNA World jobs always miss their deadline, because the estimation perpetually wrong.

Anyways....after I had done this...it occurred to me that I had done something odd....my main desktop (known as 'tardis') is suffering with low memory (firefox keeps consuming more and more memory...sometimes its consuming over 800MB....not to mention all my CPU....and then I made that mistake of upgrading to Thunderbird 3....plus Tweetdeck is pretty big too) Why am I not upgrading the memory in there....it has 4 slots, currently filled with 512MB PC3200 DDR memory. And, I should be able to change two of the slots for 1GB PC3200 DDR memory and everything should work. Could do 4GB, but don't think it'll see it all.

Though that computer was pretty temperamental on what kind of PC3200 memory it got....though when I do get around to finally replacing that computer, the 1GB sticks would probably go well in to 'box'....had I thought about this process better :lalala:

Wonder if there'll be hardware upgrades to my main desktop between now and when I finally get around to replacing it. Think the machine turns 7 soon.


  02:07:41 pm, by The Dreamer   , 116 words  
Categories: Software

Firefox 3.6 changes where new tabs are put

I make use of the middle mouse button to open new tabs off to the side/background for later reading.

Especially useful with reading forums...I can go down the list of updated threads and middle click the new messages on each thread of interest off to a new tab. Especially useful on forums that clear the new message marker based on time rather than when you have actually gotten around to reading those messages.

But, Firefox 3.6 changed where new tabs go, and I couldn't find in the preferences where to change it back. Finally, found that I had to go into about:config and change this:


to false.

Wonder what other 'bug' Firefox 3.6 has waiting for me.... :**:


  01:36:00 pm, by The Dreamer   , 568 words  
Categories: Software, Computer, BOINC, Ubuntu

upgrading to Karmic Koala

I hadn't intended to start upgrading systems to Karmic Koala so soon...since the servers are kind of pegged with other people downloading and upgrading. But, playing around with do-release-upgrade on my Ubuntu server at work....at first (on Thursday) it didn't show the release and the later it did.

Since its running as a Guest on my Solaris 10 x86 desktop, in VirtualBox, I could take a snapshot and let it go. Plus its a pretty minimal server...its just to run BOINC. It estimated that it would take about 4 hours to download what it needed. Guess it doesn't take advantage of the I2, or things were pretty saturated....

When I came in yesterday, it was still going...was kind of hard with it blanking the screen and stopping waiting for input...but it kept chugging along and eventually upgraded and all seemed good.

So, last night I decided to pull the trigger and upgrade my notebook (ulkc). It warned about a lot more stuff that was unsupported and would be removed, and lots of warnings about all the 3rdparty stuff. But it gave an estimate of 10 hours to download and asked if I wanted to continue.

Sure :lalala:

When I got up the next morning it was waiting to ask about differences in my mod blacklist, it wanted to add pcspkr but it wasn't going to keep the modules I had blacklisted...and no option to merge or stuff....so I told it to keep my blacklist. Wonder what'll happen when I do box, since there's nothing connected to its sound card....so its only way to make noise is through its pc speaker.

After it was done and rebooted, two things didn't work. The firefox button on the panel, since default had changed from firefox 3.0 to firefox 3.5 (though I've been using 3.5 since it came out, just replace /usr/bin/firefox with a new symlink)....easy enough to replace. And, virtualbox.

I reinstated the 3rdparty sources for apt, and checked for updates. Guess there's no Karmic repository for Boxee yet. The only thing that did upgrade was dropbox.

So, I uninstalled virtualbox (it was 2.2) and reinstalled it (3.0 from the karmic repo). And, then I tested it.

It worked.

Full story »


  11:26:03 pm, by The Dreamer   , 109 words  
Categories: Software

Password AutoFill on Password form's with disabled Username field

In addition to previous hack to nsLoginManager.js -- Remember Password Override for Firefox 3.0

I came up with another hack to do:


        // If the fields are disabled or read-only, there's nothing to do.
        if (passwordField.disabled || passwordField.readOnly ||
            usernameField && (usernameField.disabled ||
                              usernameField.readOnly)) {
            this.log("not filling form, login fields disabled");
            return [false, foundLogins];


        // If the fields are disabled or read-only, there's nothing to do.
        if (passwordField.disabled || passwordField.readOnly) {
            this.log("not filling form, login fields disabled");
            return [false, foundLogins];

Because there's a certain site and prompts for Username first, and then on the second page provides a disabled Username field prefilled in and prompts for password. The disabled Username field was preventing autofill of saved password....

Now instead of subjecting some poor random forum to a long rambling thought, I will try to consolidate those things into this blog where they can be more easily ignored profess to be collected thoughts from my mind.

Latest Poopli Updaters -- http://lkc.me/poop


There are 20 years 3 months 25 days 22 hours 20 minutes and 24 seconds until the end of time.
And, it has been 4 years 9 months 1 day 15 hours 42 minutes and 32 seconds since The Doctor saved us all from the end of the World!


September 2017
Mon Tue Wed Thu Fri Sat Sun
 << <   > >>
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30  


  XML Feeds

Who's Online?

  • Guest Users: 4
This seal is issued to lawrencechen.net by StopTheHacker Inc.
blog software

hosted by
Green Web Hosting! This site hosted by DreamHost.

monitored by
Monitored by eXternalTest
SiteUptime Web Site Monitoring Service
website uptime