Firefox PageUp and PageDown keys bug

I found that the page up/down keys stopped working for me in Firefox. Searching around I discovered that caret browsing mode had been turned on and it’s had a bug since 2003. Caret browsing mode is not supposed to alter the page keys but some bug in caret mode breaks the page keys operation.

The fix is to turn off caret browsing mode by pressing F7.

You can also turn off the mode with this setting, “Tools – Options – Advanced – General / Accessibility – “Always use the cursor keys to navigate within pages””.

Bug 205846 – caret eventually gets stuck when trying to scroll with PageDown / PageUp keys

Mozilla/Gecko Keyboard Navigation Proposal

Must see TV interview

I just watched this weeks Bill Moyers Journal on PBS it’s an excellent interview with Andrew J. Bacevich author of The Limits of Power: The End of American Exceptionalism. You can Watch & Listen to it online and there is also a full transcript of the interview on the site. Below are are couple of excerpts to wet your appetite.

BILL MOYERS: You intrigued me when you wrote that “The fundamental problem facing the country will remain stubbornly in place no matter who is elected in November.” What’s the fundamental problem you say is not going away no matter whether it’s McCain or Obama?

ANDREW BACEVICH: What neither of these candidates will be able to, I think, accomplish is to persuade us to look ourselves in the mirror, to see the direction in which we are headed. And from my point of view, it’s a direction towards ever greater debt and dependency.

This reminds me that I haven’t sent you two readers to Tyler’s blog in a while, he very often points out what should be obvious realities to rational minded folks but that most US citizens just don’t want to face. Check out this post from a few weeks ago for a good taste of this, Elementary, My Dear Pwoggie. Now back to Bill & Andrew.

BILL MOYERS: And this is connected, as you say in the book, in your first chapters, of what you call “the crisis of profligacy.”

ANDREW BACEVICH: Well, we don’t live within our means. I mean, the nation doesn’t, and increasingly, individual Americans don’t. Our saving – the individual savings rate in this country is below zero. The personal debt, national debt, however you want to measure it, as individuals and as a government, and as a nation we assume an endless line of credit.

As individuals, the line of credit is not endless, that’s one of the reasons why we’re having this current problem with the housing crisis, and so on. And my view would be that the nation’s assumption, that its line of credit is endless, is also going to be shown to be false. And when that day occurs it’s going to be a black day, indeed.

I couldn’t agree more!

Full Screen Playback of a Whole YouTube Playlist

This information is very old and out of date, please see this new post for up to date information.

Recently  Richard Carter, FCD had a post at The Red Notebook pointing me to YouTube videos of James Burke’s wonderful series “The Day the Universe Changed“. This led me to the JamesBurkeFan’s Channel on YouTube, a fantastic resource, I am thankful he took the time to record, cut up and post all the James Burke video series. JamesBurkeFan even took the extra steps to make playlists for each episode from all of the series. (Note: JamesBurkeFan’s TDTUC episode 4 playlist is backwards, here’s a corrected playlist The Day the Universe Changed Episode 4 Playlist [Update 1/6/08 the JamesBurkeFan channel is no longer available details here.

Using playlists to watch these and other shows cut up to fit YouTube’s 10 minute limit is nice but I did find one annoyance. The problem is that the full screen view always terminates at the end of each video clip. I like to kick back with the Media Center remote for volume and watch the playlists just like regular TV. Having to get up and click the mouse to re-activate full screen mode every ten minutes wrecks the experience for me.

I went searching to find out if it was possible to work around this annoyance. Everything I found was saying, sorry your out of luck until YouTube changes their system. Then I found this post on the I learned something new today blog with a great idea. You take the embed URL from the playlist page, place it in a local HTML file with a few modifications and presto the whole playlist runs while staying in full screen mode. The embed code from that blog post seemed to have a lot more parameters than should be needed so I read the YouTube Embedded Player Parameters from the YouTube APIs and Tools pages @ Google Code. Sure enough the actual requirements are less, all you need to add are these parameters in the right spots.

&fs=1 (gives full screen button on player)

allowfullscreen=”true” (Enables full screen operation)

You also probably need to have an up to date version flash in your browser, I have 9.0 r124. I’ve created a small HTML file on my desktop that I simply modify using the playlist ID from the YouTube provided playlist embed code. When I want to watch a playlist uninterrupted in full screen I simply edit the file and start watching. Here’s the source code for my local HTML file.

Replace the XXXXXXXXXXXXXXXX parts of the following URL's with the values from the YouTube embeddable URL.
[1/6/08 Ugh, the code plugin has stopped working for HTML comment lines in HTML code]


http://www.youtube.com/p/XXXXXXXXXXXXXXXX&fs=1

That’s all there is to it, now I’m gonna kick back and watch another episode of Connections.

*****************************

Update Nov. 4th, commenter Mary got this working on a Blogger hosted blog using this code snippet:


http://www.youtube.com/p/XXXXXXXXXXXXXXXX&fs

Thank you for the code Mary.

Firefox 3 news, comments and tips

This is mostly old news but I’ve been so busy with other things lately I never got around to publishing this. Now that I’ve got some time I figured I should post this even though it may be old news to my one or two regular readers. 😉

Firefox has officially set the Guinness World Record for the most software downloaded in 24 hours, read about it at the Spread Firefox Download Day 2008 page. The record now stands at just over 8 million downloads and as of this writing the total download count is over 28 million.

I am very pleased with the latest release of my favorite browser, it feels quicker and according to process explorer it now has the same memory usage as IE7 (~20M). The Firefox team has managed to plug the memory leaks while reducing the base memory footprint.

Only one of my essential add-on’s, Copy Plain Text, hasn’t been updated for Firefox 3 yet. So I went to the all versions page and downloaded the v 0.3.3 installer by right clicking the button and choosing “Save Link As …”. But when I tried to install it I saw:

“Copy Plain Text” will not be installed because it does not provide secure updates

On the add-on’s reviews page Firefox user ervee posted a link to a pre-modified version for those who don’t want to hack the installer. Of course I just had to be a geek and roll my own so, I headed over to the the Mozilla Wiki to read about the new add-on security system. It turns out to be easy to patch the installer for this too. The warning is do to the update source not being an SSL server (HTTPS). I simply removed the update source and it installed fine.

A couple of non-essential extensions that I like are still not updated for V3,  Download Manager Tweak get a Firefox 3 hacked version here and MozCC which I may hack myself some day when I have some free time.

I have also started using a couple new extensions, Interclue and Foxmarks both are very handy and Foxmarks is a perfect example of using cloud computing for convenience in a safe way (you have copies of all data locally as well as in the cloud).

A good tip for increasing your privacy on the web without major inconvenience is to disable third party cookies. You’ll find this option in Tools-Options-Privacy of Firefox, simply uncheck the “Accept third-party cookies” checkbox. You may need to add exceptions for some web sites/services. So far I have only needed to add one exception, Foxmarks.com.

Since I’m likely to need this link when I upgrade Firefox for friends and family I’m adding it here. Microsoft Windows Media Player Firefox Plug-in, you can download it from Port 25: The Open Source Community at Microsoft.

Finally some fun Firefox stuff, to see the latest chapter and verse from The Book of Mozilla enter about:mozilla in the address bar. There is also a new Easter Egg in Firefox 3 check it out by entering about:robots in the address bar.

Backup & Synchronization utility for Windows

By now everyone should know that backing up your data is an essential part of computing. All the important data I use is maintained in multiple storage media types in multiple physical locations. One application I find very useful in maintaining my backup policies is Backer by Leanware. I’ve been using it for many years to backup and synchronize my data with excellent results. My most frequent use is to synchronize the data between locations via compact flash cards. Recently I upgraded my CF transfer cards to 2Gig as my previous 1G cards where getting close to 80% full. When I upgraded I also added substantially to the quantity of data involved in this process, this slowed down the operation enough that it became inconvenient. I had know for quite some time that the later versions of Backer had speed improvements so, I purchased an upgrade and was blown away with the speed improvements.

For reference my most used backup/synch operation has 521 directories with 10,531 files and on Backer 5.1 it was taking 8:21 to finish comparing the source and destination. The new version, Backer 6.7 performs the same operation in only 0:44 a 10X increase in speed, wow! Now that’s what I call a very worthwhile upgrade.

While you’re visiting there also check out the free Leanware Window Sizer I find it very useful.

Poor Man's Ring Light

imgp09411When taking indoor macro photos getting the lighting correct has always been a challenge for me. In the past I would use two or more halogen desk lamps for lighting but, getting all the lamps positioned correctly takes a long time. Even after carefully placing the lamps I was often not satisfied with the result. Frequently the light sources would not produce a flat enough lighting effect (even brightness with few shadows). The standard method of achieving the lighting I’m looking for is to use a ring light.

A few months ago I got sick of moving my desk lamps between my work spaces and the copy stand I use for macro photography. So I headed on up to a local Staples to pick up an extra halogen desk lamp. Browsing through the lamp aisle I spotted this fluorescent magnifying clip-on lamp (Item# 612507, Model# 13464-US) and thought it could make a nice ring light. So I bought one for $25, a bargain for a 3.5″ diameter ring light.

Converting the lamp is one of the simplest hacks I’ve ever done. You start by following the included instructions for replacing the bulb. Take out the three screws holding the bulb cover and diffuser and pull off the diffuser. Gently lift the bulb off the metal retaining clips while pulling out the connector. The bulb and connector are not rigidly attached so be careful not to break the two apart.

The lens is held in the lamp by three small metal plates underneath the bulb clips. Remove the three screws, pull out the bulb and lens clips and, then the lens. With the lens out reassemble the clips with the screws but reverse the direction of the lens clips so that they don’t cause light reflections outside of the diffuser. Make sure you position the tall sides of the bulb clips away from the center hole like they where originally.

Reinsert the bulb and reattach the diffuser with its three screws. The last step is to permanently remove the hinged lens cover. Simply grab the cover and twist it off the housing leaving hinge bumps that can be cut off with a utility knife.

The result is a good ring light that fits well on my copy stand.

Now I can can use my ring light alone or in combination with one or more halogen lamps to easily get a lighting effect I like.

Cosmic Wimpout Die Ring and Halogen Lights

The much cooler operation of the fluorescent compared to the halogen lamps got me using it with my microscope which only has built in halogen lighting. I quickly got tired of sharing the lamp between the microscope and copy stand so, I bought two more lamps one for the microscope plus one for spare parts in case I need them.imgp0978

Here’s a good article with information about Choosing the Correct Illumination.

A professional chemist doing for profit chemistry is not a hobbyist

Earlier this week Greg Laden posted an intriguing article, Home Chemistry Hobbyist Shut Down in Massachusetts. He had picked up on this story via a post at the MAKE magazine Blog, Home science under attack. Both of the blogs where basing their commentary on this one article from the August 9th edition of the Worcester Telegram & Gazette. Let me start by summarizing the story as reported by two local newspapers, see the links below for the full text of the seven newspaper articles I found.

On the afternoon of August 5th 2008 the Marlborough Massachusetts Fire Department responded to a call of a fire in a two story house on Fremont Street. When they arrived they found a fire in a window air conditioner of a second floor bedroom and the lone occupant of the house at the time, homeowner Victor Deeb, had safely gotten out. The firemen put the fire out in about a minute but by that time there was more than a thousand dollars worth of smoke damage to the bedroom.  [updated 8/18 with information from Mr. Deeb’s comment] If this had happened to me I would have turned off the power to the air conditioner and put the fire out with a fire extinguisher avoiding the major smoke damage from waiting for the fire department to arrive. Since Mr. Deeb is a 71 year old who uses a cane to get around it is perfectly understandable why he called the fire department instead. [Mr. Deeb was trying to use a fire extinguisher on the fire when a passing Policeman saw the smoke and called the fire department.] (Photo of Mr. Deeb speaking to Police after the fire was put out, from The MetroWest Daily News)

The firefighters then followed standard procedures and checked that all the spaces in the house had been ventilated to remove the smoke and prevent further damage. When they went down into the basement they discovered a chemical R&D laboratory containing more than 100 unlabeled containers of chemicals [Mr. Deeb seems to dispute this]. The chemicals where in assorted containers from quart size up to 20 gallon drums some on shelves and some just sitting on the basement floor. Fire department officials attempted to find permits issued to Mr. Deeb for the storage of large quantities of chemicals but where unable to find any permits. The fire department then contacted the state fire marshal’s office who in turn called in the state bomb squad. If Mr. Deeb had obtained permits for possessing large quantities of chemicals they could have avoided the bomb squad but without the permits they had to take the safe approach and treat this as a potentially dangerous situation in a residential neighborhood. At no time did the authorities claim that Mr. Deeb was making weapons or drugs they simply had no way to know what was in the containers and without permits they could not simply take Mr. Deeb’s word for it that these unlabeled chemicals were not dangerous.

The Fire Department advised Mr. Deeb that this situation would take many hours to clear up so he should find a place to stay for a while. Mr. Deeb took the advise of the fire department and left with his family. Over the next two days the Massachusetts Department of Environmental Protection and local authorities, with the cooperation of Mr. Deeb, removed over 1,500 containers of chemicals none of which turned out to be a biological or radioactive risk. Mr. Deeb and his family were allowed to return to their home on August 8th after the laboratory was safely dismantled and taken away. A hazardous materials cleanup company was contracted by MA DEP to test and then properly dispose of the chemicals. The Marlborough Department of Public Works is running tests to make sure none of the chemicals seeped into the town sewer system. While Mr. Deeb has likely violated numerous state and local safety regulations and laws, as of Saturday the 9th no citations had yet been issued.

This Saturday’s (8/16) Worcester Telegram & Gazette article has more details about the incident. The FBI showed up to take a look and there were thirty-five 20 gallon drums of chemicals that the hazmat contractor had to take for analysis and disposal. His laboratory was a mess with flammable chemicals stored next to the home’s furnace. By his own admission Mr. Deeb is a retired chemist who was very clearly running a for profit chemical R&D laboratory out of his basement in a residential neighborhood. He is considering suing the city for taking down his lab because he thinks his civil rights have been violated.

IMO, the fire department and other city and state officials did absolutely nothing wrong. They certainly did not violate Mr. Deeb’s civil rights because there is no civil right to possess and improperly store large quantities of regulated chemicals in your home. The officials had every right to enter his lab without a search warrant because they were called to the home by him [there] to put out a fire.

Mr. Deeb may be a very good chemist in fact judging by the number of patents he appears on it is almost a certainty. He has clearly been running a business from his home at least since 11/1/98. However he clearly does not understand laboratory safety rules, you must always properly label and store chemicals. Flammable chemicals like the acetone he had must be stored in fire proof cabinets not sitting on the floor or shelf and/or near a furnace. Mr. Deeb could not handle a small fire without the assistance of the fire department so obviously he couldn’t be trusted to handle a laboratory fire. He appears to not understand the need for permits and zoning clearance for commercial chemical research laboratories.

The reaction on the Internet is so far over the top I’m astounded. It seems that most of the people commenting on this story have made no effort to read the articles and are simply jumping to totally absurd conclusions based on preconceived notions. Here’s a list of my responses to the wild commentary and claims that are spreading across the Internet.

  1. Mr. Deebs was not a hobbyist, he freely admits this was a for profit R&D laboratory. Even without his admission the fact that he had hundreds of containers of chemicals including 35 twenty gallon drums puts him way beyond the hobbyist level.
  2. The government did not target Mr. Deeb in any way, they came to his aid when he called [put out a fire] and found him violating safety and zoning regulations.
  3. No government agency is going to come to your house because you gave your child a home chemistry set for Christmas.
  4. Having retail containers of household chemicals is not equivalent to having large quantities of industrial chemicals.
  5. The City Government of Marlborough Massachusetts is in no way comparable to the Nazi’s. Oh and it’s spelled Marlborough not Marlboro, that’s a brand of cigarettes.
  6. Thomas Edison did not set up laboratories in residential neighborhoods, he knew what he was doing could be hazardous so his laboratories where in private compounds and/or industrial districts.
  7. The police did not raid Mr. Deeb’s home, they did not kick down his door.
  8. Doing scientific research on a home computer is in no way even remotely equivalent to running an R&D laboratory with large quantities of chemicals.
  9. There was no fourth amendment violation, see number two above.
  10. That he has not yet been charged is not proof he didn’t break laws.
  11. This incident will not lead to the government burning our books.
  12. Mr. Deeb is not even remotely like a terrorist, any mention of 9/11 is absolutely ridiculous.
  13. Football is in no danger of being banned.
  14. Marlborough Massachusetts is not a police state.
  15. This is not equivalent to the two Steve’s founding Apple Computer in a garage, Woz is far too intelligent to improperly label and store large quantities of industrial chemicals.
  16. Ditto for Hewlett and Packard.
  17. Practicing putting in your living room, baking cookies for church, scrap booking and doing transcriptions are not even remotely similar to what Mr. Deeb did.
  18. The citizens of Massachusetts have rights, in fact we have some rights most other states do not grant to their citizens. e.g. Marrying the person you want to.
  19. This is not like outlawing innovation.
  20. Mr. Deeb did NOT take proper laboratory safety precautions, unlabeled and improperly stored containers is very bad.
  21. Building your own PC and running Linux on it are not going to get you into the trouble Mr. Deeb is in.
  22. The safety of Mr. Deeb’s neighbors IS the responsibility of the government.
  23. Mr. Deeb was not picked on because he was racially profiled as being of Middle Eastern descent.
  24. A hobbyist darkroom in your home is not equivalent to a R&D laboratory. A commercial darkroom on the other hand is regulated in similar ways to a R&D chemical lab.
  25. There were dangerous chemicals in Mr. Deeb’s laboratory by his own admission there was acetone. What the government officials have said is there where no biological or radiological hazards and no exceptionally explosive chemicals.
  26. Mr. Deeb did not give the fire fighters an inventory of the chemicals in his laboratory. Either he did not have an inventory or he wanted them to have to call in the bomb squad and hazmat teams, I’m guessing he didn’t have an inventory list.
  27. Making beer in your basement for personal use is not like a commercial research chemical laboratory.

I know it’s hard to research stories but that doesn’t excuse people from the obligation to examine the evidence. I’m most disappointed that so many people jump right to parroting the poorly researched and quote mined work of others to justify their preconceived notions. Any of these people who have integrity should take the time to read the articles, Google Victor M. Deeb and then post updates to correct their bogus reporting.

I have found one well researched response on the net, Mike O’Risal’s post is a very good read. Having read a number of excellent posts and comments by Mike over the past year, today I’ve added his blog to my reader and blogroll. On top of his good writing I need to start reading him regularly because he lives in my county, Worcester (pronounced Woostah in my native Yankee accent).

I’m sorry that Mr. Deeb has lost his R&D laboratory and likely will close his business. However, he should have followed the rules for running a commercial laboratory and gotten the proper permits and zoning variances. He may be ignorant of the law but that is not a valid excuse especially when you are running a for profit business.

The MetroWest Daily News articles:

Worcester Telegram & Gazette articles:

Victor Deeb’s business: