Today I noticed one of my links were not working. This was only happening in Internet Explorer 8. Looking down at the status bar in the lower left corner I saw the message “Error on page.” Double-clicking on it popped up this window full of useless information.
Recently I was having a problem where a Flash video was not being displayed. It turned out the Flash video had not been created properly and had a dependency on other Flash files that were not available. When I was viewing this Flash video directly using JBoss I did not see any errors. But when I viewed it using Apache the logs showed the dependency problems.
if (root.Foo === undefined)
If I want to test if something is defined I do it like this.
A long time ago I enabled the WordPress permalink functionality so that the links for my blog articles were somewhat human readable. I used my own custom format, /%category%/%year%/%monthnum%/%day%/%postname%/.
Awhile ago I began regretting that format because if I changed the category of the article then the URL would change and any bookmarks to that article would be broken.
Today I started reorganizing a lot of categories and decided it was time to bite the bullter. I changed the permalink format to the standard /%year%/%monthnum%/%day%/%postname%/. What was so impressive is that the old URL’s still worked, they redirected to the new URL. WordPress rocks.
Image optimization is an art that not many people master. There are many good image editing tools that allow us to get the best visual result for a certain file size but “under the hood” a lot more optimization can be done.
Smushit.com is a service that goes beyond the limitations of Photoshop, Fireworks & Co. It uses image format specific non-lossy image optimization tools to squeeze the last bytes out of your images – without changing their look or visual quality. You’ll get a report of how many bytes you can save by optimizing your images and all the changed images as a single zip for download.
Smush it comes in different flavours:
You can upload a bunch of pictures in your browser
You can provide us with a list of image urls or
You can get a Firefox Extension to optimize the images found on any web page
Saving bytes has never been so easy – you point us in the right direction, and we’ll do the rest for you. A ZIP archive with optimized images will be generated for you.
New from the Yahoo Performance team.
Takes your image(s) and makes their file size as small as possible: converts GIF to PNG8, throws out JPG metadata, etc. Does not make JPGs more lossy; the results look exactly the same.
Install the Firefox plugin and you can hand it a URL — and when it’s done, it’ll give you a ZIP file of all the images from that URL in reduced form.
Our Travel page, for instance:
Smushed 12.97% or 30.14 KB from the size of your image(s).
I’m actually pretty pleased we are “only” 30KB over. I’d have thought it’d be more.
Our visitor HIW page:
Smushed 30.48% or 51.16 KB from the size of your image(s).
I think it is necessary for us to be precise when we talk about “security popups” as there are many different kinds.
Some of these are always preventable, some are unavoidable in certain scenarios, all vary according to the browser version and its user config.
Anyway here’s a kickstart:
SSL Certificate Warnings (various) – Triggered on HTTPS URL’s on domains with an expired or self-signed certificate.
Insecure Content Warnings – Triggered on HTTPS URL’s when the page contents embed references to HTTP resources (images, iFrames, stylesheets or scripts).
This is preventable by proper JSP/taglib usage. Note it is ok for links to use http:// even in https:// pages as they’re not automatically followed.
HTTPS to HTTP Redirection Warnings – Triggered when an HTTPS request triggers a redirect to an HTTP URL.
This is unavoidable in some scenarios but should be avoided by design whenever possible.
HTTP/HTTPS Switch Alert – Triggered when simply navigating from HTTP to HTTPS or back.
This is out of our control, but most browsers don’t have this on by default, and users tend to turn this global setting off after seeing it once or twice (on any site) as it’s so common and harmless.
Content not under this site’s control (New) – Apparently resulting from the recent Microsoft security patch.
I believe this is triggered by scripts which are not on the same domain as the page requested.
This is most likely to arise w/ 3rd-party tracking pixel-related scripts. Needs more investigation.
There are others but I think these are the main ones we’ve been dealing with lately.
Recently I learned about Google’s App Engine and I must admit I am extremely impressed. I am already have heard of at least two start ups that are deploying on it.
What it promises in terms of scalability and the amount it gives for free in terms of storage and bandwidth is impressive. It is too bad it has not announced yet the terms when you begin to go over these limits.
I watched this tutorial on developing and deploying an application on Google App Engine.
My initial impressions were:
this is not nearly as easy as Ruby on Rails
Still once has to believe this is going to help Python and its web framework, Django, in terms of momentum.