JavaScript Optimization

On 5-27-2005, in JavaScript, by Alex

JavaScript Optimization article:

This document is intended to serve a number of purposes. One, it is intended to be a compendium of JavaScript optimization techniques, a place where one can turn to find optimization examples, some well known to JavaScript Programmers, and some not so well known. Two, it is also a source of performance information with regard to how these techniques perform in comparison to each other. Lastly, it is intended to address the issue of which programming optimization techniques work as intended in the interpreted environment in which JavaScript code runs.

There are a few web sites out there that deal with JavaScript optimization, but most only deal with size issues, and if they do deal with other issues, it is in a very general way. I seek to rectify that here. I will also delve into some of the more obscure issues related to programming optimization, and how they might impact on JavaScript. This document is divided into three main sections: Speed, Size and Memory.

 

li value

On 5-11-2005, in HTML, by Alex

Very simple.
Just to remind myself:
<ol>
<li value=”3″>three</li>
<li value=”2″>two</li>
<li value=”1″>one</li>
</ol>

  1. three
  2. two
  3. one
 

High Pass Filter

On 5-7-2005, in Coding, by Alex

Enhance your photos by using the High Pass Filter:

  • duplicate the layer that contains your image and make sure it’s on top of your original (drag layer onto layer icon in the Layer’s Palette)
  • select the duplicated layer and go to Filters > Other and choose High Pass Filter
  • choose a value using the slider (I’ve used 4 for my example)
  • change the Layer Mode of your duplicated layer to Overlay, Soft Light or Hard Light

Afterwards you can always decrease the effect (if needed) using the transparency slider in the Layer Palette or you can mask certain areas to keep them from sharpening. In other words it gives you total flexibility.

full article

 

Log in problem

On 5-1-2005, in Just another blog, by Alex

How to fix LogIn issue for WordPress 1.5 on Win server: set of fixes.
Very useful.
Thanks io_error on #wordpress irc channel.

 

Almost best wysiwyg editor

On 3-26-2005, in Coding, JavaScript, by Alex

xStandard

XStandard is the leading standards-compliant plug-in WYSIWYG editor for Windows desktop applications and browser-based content management systems (IE/Mozilla/Firefox). The editor generates clean XHTML Strict or 1.1, uses CSS for formatting, and ensures the clean separation of content from presentation. Markup generated by XStandard meets the most demanding accessibility requirements.