Serge's Technology View

Talk about Technologies, Software Architecture and Management

Archive for June, 2008

CodeGear no more?

July 1st is around the corner and everybody is wondering what would happen tomorrow with CodeGear team… everything goes well as it seems.

David IAllen Bauer, Michael Swindell and Anders Ohlsson are talking about the transition and a new day at the new place:

Today is my last official day as a Borland/CodeGear employee… The only difference will be that I will be employed by Embarcadero.

We are not so much interested in Borland at this point, but CodeGear news are in focal point…

No more Borland in Scotts Valley, as there is no more CodeGear. At least as an entity.
Would CodeGear as a division keep its name associated with the products or would we see Embarcadero Delphi? Time will tell.

New home, new chapter for Delphi.
Congratulations and good luck!

Do you want a fast computer? How about 1,026,000 GFlops?

Just a quick note. BetaNews has published an article about new record for computer processing speed – LANL’s Roadrunner system eclipsed 1,026,000 GFlops with the peak score of 1,375,780 GFlops.

Not that you could put this monster in your computer room, or you need one any time soon, but…

Preload images – AJAX, CSS or JavaScript

When it comes to designing your first web-site, you want it to be smooth, nice, and fast loading.

One of the main things nowadays is hi-def images used for various elements on the page: backgrounds, logos, banners, menus, buttons, … some of them a few bytes in size, others are much bigger and require time to bring it from server.

And here problem might appear.
Few highly visible problems: layout of the page is resized while image is loaded, page content is not visible because background is dark and text is light and not visible on default white surface, no menu visible, etc. So many problems with such simple thing.

There is one thing which might help – preload your images before showing the content.

I am not going to write about possible solutions here, but rather provide you with reference information which would make your search quick while skipping non-essential discussions on various forums. There are several techniques you can use, so please choose one which is best for your situation.

  1. Define exact size of the element so it is displayed properly on the first run. To avoid image placeholders, use CSS to define background image for the element.
  2. Preloading images on load of the page.- JavaScript – Page onLoad event
  3. Preload page content while showing progress indicator - JavaScript  – Page onLoad event
  4. Preloading images for the next page with CSS - No JavaScript – CSS, hidden image placeholders.
  5. Simple AJAX based state image preloader – JavaScript, AJAX
  6. Image gallery with thumbnails – JavaScript and AJAX. All you need for simple image gallery.

 I hope links above would provide you with all necessary information and spare you some time.

World is not that big when help is needed

If you are in California, you know about drought being declared. On another side of the mountains, Midwest states are affected by recent flooding.

Result of new record rainfall rivers are record high almost everywhere.

Fortunately, our area, Milwaukee, was not affected that much – in some cases basements are wet, or people who are living to close to the river now have a small pools in their backyards.

Sadly, southwest Wisconsin, famous Wisconsin Dells area as an example, was hit along with Iowa and have some noticeable damage.

There is a chance for you to help. Several agencies accepting donations for their efforts to help victims of flooding in southern Wisconsin.

PS. I have received a nice email from CodeGear team offering help and assistance. Thank you!
It is good to know that there is always a friend nearby.

Valid XHTML 1.0 Transitional  Valid CSS!