Time to Update WordPress Again

December 18, 2004 on 4:08 pm | In General, RSS | No Comments

No sooner do we get WordPress 1.2.1 up and running across our many blogs … and now it is time for 1.2.2 … so here goes nothing. Only problem is that the post file needs manual correction for the image auth hack we use and like.

Rounded Corners in Paint Shop Pro

December 16, 2004 on 9:08 pm | In Images | 1 Comment

Paint Shop Pro 7 and 8 do a very poor job of creating rounded corners if you create a rounded rectangle. It has frustrated me to no end. Ironically PSP 6 made perfectly fine rounded corners. What gives? Fortunately I found this tip: how to round corners (it is a ways down in the tips). It looks promising. Next I want to figure out if there is a way to do it with the fancy scripting part of psp (that I have never even tried). I also have Paint Shop Pro 9 sitting on the shelf. I should install and see if they by chance fixed this issue.

Rounded Corners in Paint Shop Pro

December 16, 2004 on 9:04 pm | In Images | 2 Comments

Paint Shop Pro 7 and 8 do a very poor job of creating rounded corners if you create a rounded rectangle. It has frustrated me to no end. Ironically PSP 6 made perfectly fine rounded corners. What gives? Fortunately I found this tip: how to round corners (it is a ways down in the tips). It looks promising. Next I want to figure out if there is a way to do it with the fancy scripting part of psp (that I have never even tried). I also have Paint Shop Pro 9 sitting on the shelf. I should install and see if they by chance fixed this issue.

Making the most of CSS

December 9, 2004 on 6:06 pm | In CSS, General, Random Feature Sites, Web Design | 1 Comment

I’m always on the lookout for new ways to tweak CSS for design purposes. The more you can rely on CSS to drive layout, versus images, tables, etc. the faster your site is going to load and the more you’ll distinguish your site from others.

Mandarin Design is one such site that is pushing the CSS envelope. An exploration of their site reveals a whole shebang of excellent tips, tricks, design ideas and style guidelines. I haven’t come close to checking everything out, but here are a couple of notable articles:

Continue reading Making the most of CSS…

WiFi Security – HP’s Guide

December 9, 2004 on 2:41 pm | In War Driving | No Comments

This HP series of articles seeks to address WIFI Security. WIFI will grow increasingly popular and no doubt enable a whole new way of accessing information. Many are using wireless palms to get and send email on the fly already. Security should be part of any wireless users thought process at this point. This article makes some “beyond the basics” recommendations.

US Exempts Internet Connections from Tax

December 6, 2004 on 9:40 pm | In General, News | No Comments

There is great pressure from local governments to tax internet connection services. Several states already tax broadband and/or DSL connection services. A prior ban on such taxes lapsed at the end of November, but President Bush last Friday signed a bill to extent that exemption from local taxation. They allowed states already charging a broadband tax to continue that for two more years however.

List all capitalized words in a file

December 4, 2004 on 10:12 pm | In Special Clips - for someone | No Comments

A reader on the notetab list asked for a clip to generate a list of words with a first letter capitalized (the rest of the word can be upper or lower cased so long as the first letter is capitalized). I tried a couple of versions that worked pretty well on my test files. Because the sort function puts umlauted characters at the bottom of the alphabet in a sort and the reader wanted to preserve umlauted characters, I decided that this method was better. This clip ran 8 minutes for the reader on a 500K file. I didn’t disable screen update so you can see the progress, but that also slows the machine.

Here is the clip:

; by don at htmlfixit.com
; using a bunch of Hugo's ideas
; runs a text file and makes
; a list of all words that start
; with a capital letter
^!Menu Edit/Copy All
^!Toolbar Paste New
^!Replace "^P" >> " " ATIWS
^!Replace ")" >> " " ATIWS
^!Replace "(" >> " " ATIWS
^!Replace """ >> " " ATIWS
^!Replace "^T" >> " " ATIWS
^!Replace "," >> " " ATIWS
^!Replace "[" >> " " ATIWS
^!Replace "]" >> " " ATIWS
^!Replace "< " >> " " ATIWS
^!Replace ">" >> " " ATIWS
^!Replace "~" >> " " ATIWS
^!Replace "!" >> " " ATIWS
^!Replace "@" >> " " ATIWS
^!Replace "#" >> " " ATIWS
^!Replace "$" >> " " ATIWS
^!Replace "%" >> " " ATIWS
^!Replace "^" >> " " ATIWS
^!Replace "&" >> " " ATIWS
^!Replace "*" >> " " ATIWS
^!Replace "_" >> " " ATIWS
^!Replace "+" >> " " ATIWS
^!Replace "=" >> " " ATIWS
^!Replace "|" >> " " ATIWS
^!Replace "{" >> " " ATIWS
^!Replace "}" >> " " ATIWS
^!Replace "" >> " " ATIWS
^!Replace "/" >> " " ATIWS
^!Replace "?" >> " " ATIWS
^!Replace "." >> " " ATIWS
^!Replace ";" >> " " ATIWS
^!Replace ":" >> " " ATIWS
^!Replace "" >> " " ATIWS
^!Replace "•" >> " " ATIWS
^!Replace "– " >> " " ATIWS
^!Replace "´" >> " " ATIWS
^!Replace "’" >> " " ATIWS
^!Replace "“" >> " " ATIWS
^!Replace "‘" >> " " ATIWS
^!Replace "`" >> " " ATIWS
^!Replace "¡" >> " " ATIWS
^!Replace "¢" >> " " ATIWS
^!Replace "£" >> " " ATIWS
^!Replace "¤" >> " " ATIWS
^!Replace "¥" >> " " ATIWS
^!Replace "§" >> " " ATIWS
^!Replace "©" >> " " ATIWS
^!Replace "«" >> " " ATIWS

^!Menu Modify/Spaces/Single Space
^!Replace " " >> "^P" ATIWS
^!Replace "^P´" >> "^P" ATIWS
^!Replace "^P-" >> "^P" ATIWS
^!Replace "^P " >> "^P" ATIWS
^!Menu Edit/Copy All
^!SetClipboard ^$StrSort("^$GetClipboard$";1;1;1)$
^!Select All
^!Toolbar Paste
^!Jump 1

; following is to dump all numer or lower cased
; first character lines
:DumpBad
^!If ^$GetRow$ = ^$GetLinecount$ Sort2
^!Select +1
^!IfTrue ^$IsEmpty("^$GetLine$")$ NEXT ELSE SKIP_2
^!Keyboard DELETE
^!GoTo DumpBad

^!If "^$IsNumber("^$GetSelection$")$" = "1" SKIP
^!If "^$IsUppercase("^$GetSelection$")$" = "1" SKIP_4
^!Select Eol
^!Keyboard DELETE
^!Keyboard DELETE
^!GoTo DumpBad

:GoNext
^!Jump +1
^!GoTo DumpBad

; following is to eliminate single characters on one line
:Sort2
^!Jump 1

:Sort2a
^!Select Eol
^!IfError END
^!If ^$StrSize("^$GetSelection$")$ > 1 SKIP_2
^!Keyboard DELETE
^!Keyboard DELETE
^!Jump +1
^!GoTo Sort2a

This also removes any single character lines (under the theory those aren’t words).

Significant things done in this clip:
generating a list of words by replacing most non-alphanumeric with a space
replacing all double spaces with a single space and a return
sorting of the words that are now on single lines using the function in notetab
elimate all lines that don’t have an uppercase letter as the first character (note that we needed to use the test clip info to be sure that ^!IsUppercase was alphabetic before testing if it was upper case)
remove lines with only one character on them

^$IsUppercase really means NotLowercase

December 4, 2004 on 10:02 pm | In test clips | No Comments

I found something interesting the other day … non-uppercase characters were testing positive for ^$IsUppercase. While you might presume only an uppercase character/string would test positive for this, it is actually testing to be sure there are no lower-case alphabetic characters. The opposite is also true with ^$IsLowercase testing for Not Uppercase. So you first need to be sure you don’t have either a number or a non-alphabetic character if that is important before using either ^$IsUppercase or ^$IsLowercase

Testing the ^$IsUppercase function:

; by don at htmlfixit.com
; any-non lowercase non-alphabetic
; character tests positive as Uppercase
^!SetArray %Original%="0";"1";"|";"?";"a";"@";"1";"+";"=";"F";"`";"~";"-";"q";"L";"[";"}";" ";"x"
^!Set %count%=0
:Loop
^!Inc %count%
^!If "^%count%" > "^%Original0%" End

^!If "^$IsUppercase("^%Original^%count%%")$" = "1" UPPER ELSE NOTUPPER

:UPPER
^!Info "^%Original^%count%%" is POSITIVE when tested as upper case -- even if it isn't a letter
^!GoTo Loop

:NOTUPPER
^!Info "^%Original^%count%%" is negative when tested as upper case
^!GoTo Loop

Testing the ^$IsLowercase function:

; by don at htmlfixit.com
; any-non lowercase non-alphabetic
; character tests positive as Uppercase
^!SetArray %Original%="0";"1";"|";"?";"a";"@";"1";"+";"=";"F";"`";"~";"-";"q";"L";"[";"}";" ";"x"
^!Set %count%=0
:Loop
^!Inc %count%
^!If "^%count%" > "^%Original0%" End

^!If "^$IsLowercase("^%Original^%count%%")$" = "1" UPPER ELSE NOTUPPER

:UPPER
^!Info "^%Original^%count%%" is POSITIVE when tested as lower case -- even if it isn't a letter
^!GoTo Loop

:NOTUPPER
^!Info "^%Original^%count%%" is negative when tested as lower case
^!GoTo Loop

^$GetLinecount$ updates as lines are deleted

December 4, 2004 on 9:57 pm | In test clips | No Comments

I wanted to see if ^$GetLinecount$ updates on the fly every time a line is deleted. It does as shown by the following clip:

; by don at htmlfixit.com
; this clip is to show that
; if you delete lines the
; variable ^$GetLinecount$ updates
; itself on the fly

;create file
^!Menu File/New
;put 10 lines in the file
^!InsertText 1^P2^P3^P4^P5^P6^P7^P8^P9^P10
;display linecount, should be 10
^!Info Line Count: ^$GetLinecount$
;put cursor at bottom
^!Jump Doc_End
;select to line 6
^!SelectTo 6:1
;delete last 5 lines
^!Keyboard DELETE
^!Keyboard BACKSPACE
;display linecount, should be 5
^!Info Line Count: ^$GetLinecount$
; it works! ^$GetLinecount$ updates

Blog now an official word

December 2, 2004 on 4:43 pm | In General | No Comments

Blog is one of the “top ten” words being looked up and has been added to the dictionary. I am not sure if that is necessarily a good thing, and I am not sure the definition is even accurate at this point as many blogs are no longer simply personal (ours being a perfect example). I was reading the other day about the “blogoshere” and I see that is now on the verge of being a word as well. Is there just one blogosphere (as the article I was reading suggested) or are there many blogospheres (more like biomes or ecosystems)?

More Firefox recommendations

December 2, 2004 on 4:08 pm | In General | No Comments

In the BBC breakfast new was some advice on how to deal with the latest scam in which a computer user’s Internet dialler is diverted to a premium rate or international number.

Amongst the list of advice was to consider changing your web browser and that a popular new browser is Firefox, which is less susceptible to security threats than Internet Explorer!

Also pointing out that Firefox uses a pop-up blocker with will prevent most rogue diallers from loading. So Firefox is getting noticed.

Hazel

Open Files in Irfanview

December 1, 2004 on 5:15 pm | In General, Generic Clips | No Comments

A reader on the YahooGroups Clips List was wondering how to open files in Irfanview via a NoteTab Clip. I proposed the following two solutions:
Continue reading Open Files in Irfanview…

Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds. Valid XHTML and CSS. ^Top^

Bad Behavior has blocked 30 access attempts in the last 7 days.