December 18, 2007
What the majority of the articles don't spell out is that IE 6 only supports alpha transparency in PNG-32 format. Which unfortunately creates much larger file sizes as compared to PNG-8. :(
IE 7 however will display alpha transparency correctly in PNG-8 like the other popular browsers.
The sad fact is that around 30% of people using the internet are still on IE 6 as of this post. C'mon people upgrade your Internet Explorer browsers already. That or switch to Firefox, it's much faster anyway.
December 4, 2007
October 23, 2007
Please urge your congressmen to pull their heads out of their asses. http://capwiz.com/cherokee/issues/alert/?alertid=10085201
August 3, 2007
SELECT*,sql_variant_property(value,'basetype') AS type FROM
Try to minimize the ribbon.
If the ribbon is minimized Access12 doesn't send the bugged query. Makes no sense, but works.
July 12, 2007
DOS text files traditionally have carriage return and line feed pairs as their newline characters, while Unix text files have the line feed as their newline character. We often find myself needing to ‘clean-up’ some files saved with Win/DOS characters, and this can be done very easy with dos2unix. While RedHat based Linux distributions will traditionally include these small utils by default, on Debian we have to install them if needed.
The file logresolvemerge.pl included in the awstats package from Debian, needs cleaning up as showed by the error:
/usr/share/doc/awstats/examples/logresolvemerge.pl -bash: /usr/share/doc/awstats/examples/logresolvemerge.pl:
/usr/bin/perl^M: bad interpreter: No such file or directory
The dos2unix and corresponding unix2dos, are found in the tofrodos Debian package, and to install the package just type:
#apt-get install tofrodos
Once we have dos2unix installed, I can use it to clean up very easy any file that needs that:
and the offending DOS characters are gone.
June 5, 2007
May 30, 2007
April 25, 2007
April 16, 2007
April 11, 2007
April 10, 2007
April 5, 2007
February 27, 2007
February 16, 2007
... methods ...
... methods ...
That will force ColdFusion to look for the root Application.cfc file and retain your session management.
Since application behavoir starts in the local folder; if you use "Application" without the /. the code will fail saying something about the component cannot extend itself.
February 6, 2007
- 30% WORSE average gas mileage with e85 than 100% gasoline. Yet you don't pay 30% less.
- Ethanol has a higher octane rating but this doesn't improve gas mileage unless your engine is knocking.
- Since 1978, ethanol tax exemptions have cost taxpayers more than $11 billion.
- A gallon of gasoline has about 125,000 BTUs of energy, while a gallon of ethanol contains about 84,000 BTUs, meaning that a gallon of ethanol contains about two-thirds as much energy as a gallon of gasoline.
- It takes around 98,000 BTUs to create a gallon of ethanol, 22,000 BTUs for a gallon of gas. The ethanol industry claims that equipment will be more efficient in the future with modernized ethanol plants, but that will only get them slightly over a 1:1 ratio.
- You may be getting short changed if your state doesn't require pumps to be labeled that they contain 10% ethanol (aka gasohol.)
Let's say you drive 20,000 miles per year in a vehicle that gets 20 miles to the gallon at $2 per gallon of 100% gasoline. Going by the ethanol price difference at the gas station down the street our example equates to $1.68 per gallon for e85. $0.32 less per gallon is a great deal right? Wrong.
- 1000 gallons = $2000 you would have paid at the pump for 100% gasoline. $166 per month.
- 1400 gallons = $2352 you will have to pay for e85. $196 per month.
- You will have saved 21 barrels of oil and used 6700 bushels (375,000 lbs.) of corn.
Bottom line is that it costs more for gas, raises taxes and wastes energy. I totally support alternative fuels, but not if they are worse than oil.