Tuesday, July 31, 2007

Firefox Popup Window Resize

For some reason, some popups in Firefox have been opening with the wrong size for the content displayed and the resize feature was disabled for the windows.

After some research, I found that in Firefox you can override this behavior by changing one of the many user preferences.

To do this

  1. Type about:config in the location bar and press enter

  2. Search for the "dom.disable_window_open_feature.resizable" entry

  3. Change the boolean value from false to true


Setting this to true will prevent a window from disabling the resize feature.
"Given enough eyeballs, all bugs are shallow." --Linus's Law

Monday, July 30, 2007

"Adding manpower to a late software project makes it later." --Brook's Law

Friday, July 27, 2007

"First, solve the problem. Then, write the code." --John Johnson

Thursday, July 26, 2007

"The computers do what you tell them to do, not what you want them to do." --Alexander Atanasov

Wednesday, July 25, 2007

"If you can read this, thank a Software Developer." --Abounader Joseph

Tuesday, July 24, 2007

"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." --Donald Knuth

Monday, July 23, 2007

"You can't manage what you can't control, and you can't control what you don't measure."  -Tom DeMarco

Friday, July 20, 2007

"Software is a place where dreams are planted and nightmares harvested, an abstract, mystical swamp where terrible demons compete with magical panaceas, a world of werewolves and silver bullets." --Brad J. Cox

Thursday, July 19, 2007

"There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." -- C.A.R. Hoare

Wednesday, July 18, 2007

"Measuring programming progress by lines of code is like measuring aircraft building progress by weight." --Bill Gates

Tuesday, July 17, 2007

Skinning Custom Control

I was trying to add a skin entry for a custom control that I made, but I kept getting the following error

"The control type 'ASP.controls_customerpicker_ascx' cannot be themed."

Surely I can skin my own control! After research, trial, and error I stumbled upon the solution that worked.

Adding the "[Themeable(true)]" attribute to my custom control class fixed my issue. Yippee!

"Good specifications will always improve programmer productivity far better than any programming tool or technique." -Milt Bryce

Monday, July 16, 2007

Program Definition

"program, n.: A magic spell cast over a computer allowing it to turn one's input into error messages. tr.v. To engage in a pastime similar to banging one's head against a wall, but with fewer opportunities for reward." --Unknown

Friday, July 13, 2007

"I released a piece of software once on a Friday 13th and vowed never to do it again." --Unknown

Thursday, July 12, 2007

Some people, when confronted with a problem, think "I know, I'll use  regular expressions." Now they have two problems. --Jamie Zawinski

Wednesday, July 11, 2007

"Theory is when you know something, but it doesn't work. Practice is when something works, but you don't know why. Programmers combine theory and practice: Nothing works and they don't know why." --Unknown

Tuesday, July 10, 2007

"One of my most productive days was throwing away 1000 lines of code." --Ken Thompson

Monday, July 09, 2007

"If engineers built buildings the way programmers wrote programs, the first woodpecker to come along would destroy civilization." --Unknown

Friday, July 06, 2007

"Imagine if every Thursday your shoes exploded if you tied them the usual way. This happens to us all the time with computers, and nobody thinks of complaining." -- Jeff Raskin

Thursday, July 05, 2007

Perfect Design

"You know you've achieved perfection in design, not when you have nothing more to add, but when you have nothing more to take away." --Antoine de Saint-Exupery, Wind, Sand and Stars

Tuesday, July 03, 2007

"Controlling complexity is the essence of computer programming." -Brian W. Kernighan

Monday, July 02, 2007

"If it's worth asking the user, it's worth the program remembering." -Alan Cooper