November 30, 2006
An Old Bug Squashed
Today, I fixed a bug in my blog which has perplexed me for, literally, years...
read the rest of the entry »
The bug affected how the blog displayed in IE vs. Netscape/Mozilla/Firefox.
In IE, the "Read the rest of the entry" expandable section function worked properly.
In the other browsers, rather than displaying the above as a link which "expanded" the rest of the entry in-place, I had a "Posted by <author> at <date>" where the <author> had a mailto: link and the <date> had a link to the full entry.
This, by the way, is the default for the Movable Type default entry template.
I had always assumed that Netscape et.al. did not display correctly due to a difference in the way they handled the javascript and HTML.
Turns out, it was a bug in my code!
I always endeavor to comment my code well. I also typically retain old HTML - just in case - and deactivate it by bracketing the old code with the HTML begin <!-- and end --> comment markers
I also use this format to identify functional sections, for example:
<!-- Start section which does whatever -->
Code which does whatever
<!-- End section which does whatever -->
<!-- Start section which does something else -->
Code which does something else
<!-- End section which does something else -->
Unfortunately, it turns out that I neglected the --> for one of my start section comments. Since I had a "start" immediately following and "end" comment, I guess IE just saw the two as one long comment, but Netscape et. al. acted very differently.
Amazing how adding three characters can have such a profound impact.
Guess that's why I didn't make it long term as a programmer.
PS. This entry was written in SharpMT. It only seemed fitting given this all revolved around Extended Entries, and WLW doesn't support them (yet).
While I am talking about SharpMT, I should also mention one negative I've found with WLW - the HTML it generates for each entry is quite bloated compared to that which is generated by SharpMT. Guess it is analogous to the difference between a file generated by a text editor and a word processor.
« hide the rest of the entry
Digg It!
Bookmark it!
Social Bookmarking
I guess I've been living under a rock for a while, or maybe this is an indication that I'm getting old and am no longer "with it..."
I just discovered the phenomena of Social Bookmarking. I guess this is somehow related to Social Networking, which I also don't understand.
Anyway, there are loads of sites that focus on this including:
http://www.blinkbits.com
http://www.blinklist.com
http://blogmarks.net
http://co.mments.com
http://www.connotea.org
http://del.icio.us
http://de.lirio.us
http://digg.com
http://cgi.fark.com
http://feedmelinks.com
http://www.furl.net
http://www.linkagogo.com
http://ma.gnolia.com
http://www.newsvine.com
http://www.netvouz.com
http://www.rawsugar.com
http://reddit.com
http://www.scuttle.org
http://www.shadows.com
http://www.simpy.com
http://smarking.com
http://www.spurl.net
http://tailrank.com
http://wists.com
http://myweb2.search.yahoo.com
WLW, in its most recent beta, has added support for tagging, which should help more easily integrate social bookmarking into more blogs. I think I'll have to spend some more time playing with the feature, as I'd like to be able to automatically insert multiple tags as illustrated by This post on GeekCapital.com, but for a start, here's one:
Digg It!
Bookmark it!
Posted by
David at 10:21 AM |
Permalink
| Categorized under:
Blog tips,
Follow me...,
Reference
|
Tickle me
Another Internet Search Option
I just found another interesting option for performing Internet searches: SearchWeaver. With SearchWeaver, you can
1. Search Multiple Websites
- You can select multiple websites/search engines to search from each category.
- After selecting the website(s), you have the option to set it as the default selected websites for that category.
2. Search Multiple Keywords
- After selecting the website(s) to search, you have the option to search up to ten (10) keywords at a time.
3. Show Results in Tabs
- Most search results can be shown in tabs for easy and fast access to different websites. It also includes the option to re-search keywords.
Pretty cool... check it out.
PS. The numbered, bulleted list above was copy/pasted directly from the SearchWeaver web site into this entry - yet another way cool feature of Windows Live Writer.
Digg It!
Bookmark it!
Posted by
David at 08:47 AM |
Permalink
| Categorized under:
Follow me...,
Reference
|
Tickle me
November 29, 2006
Computing Problems
Today is one of those days when I really question if the invention of computers was a good thing...
For the last few days, or Internet access has been soooo slow.
I finally broke down and called BellSouth. I got a great tech on the phone. Long story short... they made some tweaks to the line, and things improved dramatically.
Unfortunately, the improvements only lasted a few hours.
Resetting the DSL modem got things zipping along again, but I figure it will only be a matter of time before I have to reset it again.
As if that wasn't enough of an annoyance, my email mysteriously lost the ability to send mail.
After some digging, I determined that the problem was that the server was not accepting SMTP connections from my home machine. The really strange thing? It would accept connections from my work computer or the "other" windows PC.
I spent lots of time trying to figure out why the server would accept an SMTP connection from one machine on the network, but not another.
As one of my trouble shooting steps, I reconfigured sendmail to use a port other than 25. Sendmail accepted the connection from the main PC on this new port. When I changed it back, it wouldn't accept the connection. For the time being, I'm just going to leave it set to the other port.
Arrrg!
On a positive note, I had posted a message on the WLW forum requesting that support for MT Extended Entries be added. I received a response from the development team within hours saying "it's already on the list."
Cool!
Digg It!
Bookmark it!
Posted by
David at 08:23 PM |
Permalink
| Categorized under:
A day in the life
|
Tickle me
November 28, 2006
Windows Live Writer Update
I have continued to play with Windows Live Writer, and I must say, the more I use it, the more impressed I am.
The major new "feature" I discovered?
When you modify an entry which has already been saved and published, and then (re)publish it, WLW updates the entry in Movable Type. With SharpMT, editing an entry and posting it results in a second entry being added to the blog.
I did also notice that the last entry did not have a Trackback link. I don't know if that is because I reconfigured the default in MT to turn Trackback off - no one ever used the feature for anything other than spam - or if because it is another MT unique feature and therefore not supported by WLW. I am going to set the Trackback in the Properties tab to "Allow" to see what happens with this post...
I am not putting SharpMT down - it still has a lot going for it, especially the full support of all of the unique features of Movable Type, but, I am impressed with WLW. If only it supported Extended Entry...
Digg It!
Bookmark it!
Posted by
David at 02:01 PM |
Permalink
| Categorized under:
Follow me...,
My blog,
Reference
|
TrackBack
(0)
|
(1) Tickle
show comments right here »
Actually, you can edit posts that have been put up to the server, but just not from the original draft. Any file that's stored locally goes up as a new post; if you show the Blog Links window, though, you can right click and edit any existing post that is already on the server. Might seem strange, but it was the only way I could think of to keep the two "modes" distinct.
But I have to admit it: if WLW started to support the MT/TypePad specific fields, I don't know how long #MT would keep going... it impressed me as well!
Posted by Randy at December 3, 2006 04:44 PM
« hide comments
November 27, 2006
Windows Live Writer
I had a "to-do" to upgrade my SharpMT to version 3.3, so I went to the site to grab the download. While I was there, I read a post from Randy on Windows Live Writer, so I decided to download it as well and give it a try.
The WYSIWYG editing mode is pretty cool. So are some of the formatting features like
Bold Italic Underline Strikethrough Color
Right
Center
and Left alignment
- Numbered
- Lists
And Block Quotes
It also appears to have good support for inserting pictures and Windows Live Maps.
What doesn't it have?
Support for tables... wait
I wandered over to the Windows Live Gallery and guess what I found
, or support for the extended entry feature of MT.
That last omission is most likely a deal killer for me, so I'll probably continue to stick with SharpMT.
Well...
I just browsed some more of the plug-ins, and there are some really cool ones including
Display HTML code for example: <a href="http://www.blogdom.org">Blogdom</a>
Insert symbols like ° or ½
And I don't know when I'd really use it, but insert Live Spaces emoticons like
or 
So, maybe I'll play with this a bit more...
Digg It!
Bookmark it!
Posted by
David at 11:00 AM |
Permalink
| Categorized under:
Follow me...
|
Tickle me
November 26, 2006
Flight Tracking Sites
There are a slew of flight tracking sites available for free on the Internet, my newest favorite being...
read the rest of the entry »
FlightAware, which I have added to my Flight Tracking Links on Witsdom.
One of my favorite features on FlightAware is the animated twenty four hour flight analysis loop (note: you must have QuickTime installed to use this feature). It is so cool to watch the ebb and flow of the traffic over the course of the day.
I guess I'm not the only one impressed with this site, as some of the major broadcast networks have also starting using it, either alone, in in a mashup with Google Earth which you can access via this link (note: you must have Google Earth installed to use this feature).
And speaking of interesting mashups, if you go to the fboweb Aeroseek tracker, after you enter the flight information, on the results page, you are offered a button which will allow you to display the flight as a real time updated overlay on Google Earth.
And speaking of interesting mashups, if you go to the fboweb Aeroseek tracker, after you enter the flight information, on the results page, you are offered a button which will allow you to display the flight as a real time updated overlay on Google Earth.
On a related theme, this entry in the Google Earth Blog has a number of links which allow you to get all of the traffic for a number of major US airports overlayed on Google Earth.
Way Cool!
« hide the rest of the entry
Digg It!
Bookmark it!
Posted by
David at 11:57 PM |
Permalink
| Categorized under:
Reference
|
TrackBack
(0)
|
Tickle me
November 21, 2006
Live365
Among my fairly eclectic music tastes, I enjoy barbershop quartet music. Unfortunately, it is not the easiest thing to find... unless, that is, you check out Live365
, Internet radio, which has thousands of stations to listen to, including a few featuring barbershop.
read the rest of the entry »
Live365 has just about every musical genre you can think of, and it is free - if you clicked on the link above, just click on the 5 day trial, then click on the Live365.com icon on the top right of the page, or the home link at the bottom, which will take you to the free version.
Other sources for barbershop include:
a-cappella.com and the Public Radio Music Source 800-75-MUSIC
Happy listening!
« hide the rest of the entry
Digg It!
Bookmark it!
Posted by
David at 03:15 PM |
Permalink
| Categorized under:
Follow me...
|
TrackBack
(0)
|
Tickle me
November 20, 2006
Incredibly Cool Site Of The Day
I was playing with the Google personalized page - as opposed to the classic Google page - and stumbled on this really cool site, Mighty Optical Illusions. Check it out - way cool!
Digg It!
Bookmark it!
Posted by
David at 11:37 AM |
Permalink
| Categorized under:
Follow me...
|
TrackBack
(0)
|
Tickle me
November 19, 2006
Back In The Saddle
I flew today for the first time since the surgery...
read the rest of the entry »
It felt good to get back up in the air, and I couldn't have asked for a prettier day to fly.
I ended up flying with the CAP squadron commander, which made Jeanie more comfortable than had I flown alone.
Turns out he had reserved the plane for the time right before I had, and he called me to let me know he might be a few minutes late getting back. When he called, he mentioned that he was going up to take some pictures, so I offered to fly, so he could concentrate on the photography.
After we did the photography thing, which was good practice for me - sort of like flying a real photography mission, I headed out northwest to do some slow flight, stalls, steep turns, etc. Paul even taught me how to fly a creeping line search, which is a skill I'll need when I get serious about becoming a mission pilot. It was also good to have another pilot there to provide feedback on my practice. After returning from the practice area and doing a few touch and goes, Paul and I switched seats and I rode shotgun while he shot a few approaches.
The good news is that my arm/hand was fine as far as the flying is concerned.
The bad news is that there's still some numbness in a part of the thumb, and a strange sensation in the palm and heel of the hand. It doesn't affect my ability to do things with the hand, it just bugs me.
The other bad news is that I'm starting to feel angry that my hand surgeon didn't refer me to a peripheral nerve surgeon. I don't know that having a peripheral nerve surgeon do the surgery would have yielded any better results, but the wondering is gnawing at me. And unfortunately, the Internet isn't helping me. I am still really confused about why, if it is a schwannoma, there was any impact to the feeling in my hand since everything I read seems to indicate that there shouldn't have been, which makes me think it is a neurofibroma, which would explain the impact, but then makes me question the diagnosis. And, if it is a schwannoma, everything I read seems to imply that it should have been able to have been safely removed, or at least significantly reduced. If anything, the lump in my arm is larger than when I started this whole mess, which, quite honestly, at this point, I wish I'd never started. All it did was take a lot of time, cost a lot of money, cause a significant amount of worry, cause pain for the actual surgery, and end up with things worse than they were before.
Yes, I am grateful that the tumor wasn't malignant. Yes, I'm grateful there weren't major complications like infection or severe nerve damage / loss of function. But, to be brutally honest, at the moment, I am feeling an itsy bit sorry for myself, which makes me feel like a turd, when I think about the really bad stuff so many people bravely endure.
I think I'll ponder that, and get my attitude straightened out, since the reality is that most of the world's population would gladly kill to switch places with me.
« hide the rest of the entry
Digg It!
Bookmark it!
Posted by
David at 01:24 AM |
Permalink
| Categorized under:
A day in the life
|
TrackBack
(0)
|
(2) Tickles
show comments right here »
Al - thanks for the link - very cool!
Posted by David at November 27, 2006 12:53 AM
Hi Dave,
Glad to hear you're flying again. Cool hobby!
I just stumbled onto this YouTube video and thought you might be amused.
Hope you are well.
Al
http://youtube.com/watch?v=o40_MzuKIGA
Originally Posted by Al Kirchner at November 25, 2006 07:26 PM - accidentally deleted during spam removal and reposted by administrator
Posted by Al Kirchner at December 1, 2006 08:08 AM
« hide comments
November 15, 2006
I Guess Sometimes Brute Force Works
I now have eleven lines in my .htaccess file...
read the rest of the entry »
and the number of new comment spams actually posted in the last two days?
ZERO!
And the processor utilization?
Down from averaging in the eighties to in the thirties, and sometimes down into single digits - TOP and SAR are such wonderful tools!
I've even started approaching the management of the .htaccess file a little more systematically.
Once a day, I create a file containing the last 500 entries from the access_log file by executing tail -500 access_log > access_log.txt. I then take the access_log.txt and import it into an Excel worksheet in which I've created a pivot table. A quick refresh of the pivot data and resort, and I can see who the top accessors of the blog are. Typically, these are the big spammers. The one thing I do double check is what the typical action of these accessors is - I want to block the spammers, but not the search engine robots. Interestingly, while there are lots of addresses who will show one, two, maybe ten hits, there are only a few which show tens or hundreds of hits. Those are the ones which get added to the .htaccess.
At some point, I may even start paring down the MT-Blacklist blacklist, which I believe would speed up the comment processing and reduce the server load.
Of course the better solution would be to just bite the bullet and upgrade to MovableType 3.2, but that would be a pretty big learning curve, and I'd have to actually pay for it in order to manage all of the blogs I host. Yeah, guess I'll stick with what I have for now. Maybe I'll upgrade if I ever really get serious about blogging.
« hide the rest of the entry
Digg It!
Bookmark it!
Posted by
David at 09:33 AM |
Permalink
| Categorized under:
My blog
|
TrackBack
(0)
|
Tickle me
November 13, 2006
And I Thought A Hand Surgeon Was Specialized
So, I've been doing some more research on schwannomas, and among my other discoveries...
read the rest of the entry »
I learned that there are peripheral nerve surgeons!
Like neurosurgery isn't specialized enough?
Of course, now my question is, if there are such highly specialized doctors as peripheral nerve surgeons, and my hand surgeon had a high degree of confidence that my problem was a tumor of a nerve in my arm, why didn't he refer me to a peripheral nerve surgeon for a second opinion, and for the performance of the exploratory surgery / biopsy?
Rather than who knows how many dollars spent for still having the tumor, having more pain than I did pre-surgery and a loss of feeling in my thumb, had I been referred to the peripheral nerve surgeon, would I now have no tumor, no pain and no loss of sensation?
« hide the rest of the entry
Digg It!
Bookmark it!
Posted by
David at 06:26 PM |
Permalink
| Categorized under:
A day in the life
|
TrackBack
(0)
|
Tickle me
Typing With Two Hands
I just got back home from the doctor...
read the rest of the entry »
The incision from the surgery is healing nicely, so the doctor removed the bandages and sutures. I now just have a removable splint that I wear simply to provide some protection to the incision area for another week or two. The doctor said I have no restrictions on the use of my left hand, within the realms of common sense, as long as I don't try to push too far too fast.
Turns out that I have a benign schwannoma (also called a neurilemoma or schwannoglioma), which is a tumor of the nerve sheath. Since the tumor is extensively integrated into the medial nerve, the recommendation is that we just leave it, and keep an eye on it over time through annual MRIs and physical examination.
I am a bit confused about the diagnosis, because from what I've been able to find on the net, it would seem that by definition, a schwannoma does not involve the nerve itself, and as such, should be fully removable. So, either it is a schwannoma, in which case, why isn't it sitting in a jar of formalin somewhere, or if it has infiltrated the nerve fibers, is it not really instead a neurofibroma? I guess I'll ask the doctor when I see him in a month for my follow up.
If you want to see what a medial nerve schwannoma looks like (a much smaller, not mine version) look here, but be forewarned, these are medical photographs and not for the squeamish. Here's another, although as you can see, this is less than 2cm, whereas mine is ~5cm. One more, not a medial nerve, but good pics nonetheless.
The pain is tolerable, even without medication, and I've regained sensation in all but just a small portion of my thumb, so overall, life is good.
« hide the rest of the entry
Digg It!
Bookmark it!
Posted by
David at 04:45 PM |
Permalink
| Categorized under:
Advice
|
TrackBack
(0)
|
Tickle me
November 12, 2006
A More Manual Approach To Spammers
I've decided to try a more brute force approach to stopping the worst of the spammers...
read the rest of the entry »
I first tried using MT's IP blocking, but it doesn't appear to work too well, so, I decided to go right to the server...
My approach was to use an .htaccess file to block specific IP addresses. I know that IPs change all the time, but at least I can stop some of the systems which are absolutely hammering my server right now.
Not only did I end up having to place the .htaccess files in the root directory of the virtual server, but also in the cgi directory.
At first, that alone didn't work.
Turns out I also had to modify the Directory sections of httpd.conf to change from AllowOverride None to AllowOverride Limit.
Those changes, and a restart of the httpd process seem to be helping.
The specifics of .htaccess?
<Limit GET POST>
Order Allow,Deny
Allow from all
Deny from aa.bb.cc.0/24
</Limit>
The aa.bb.cc is replaced with the first three stanzas of the offending segment - in this case, there were a number of servers all hitting me from this segment, so I blocked the entire thing. Note, that's a zero after the cc. not the letter O, to limit a specific IP address, you would add another line Deny from ee.ff.gg.hh
Note the Order statement seems counterintuitive to me, but here's a good explanation: http://httpd.apache.org/docs/1.3/mod/mod_access.html#order
« hide the rest of the entry
Digg It!
Bookmark it!
Posted by
David at 07:07 PM |
Permalink
| Categorized under:
My blog
|
TrackBack
(0)
|
Tickle me
November 10, 2006
One Handed Typing
No, not that kind of one handed typing...
read the rest of the entry »
If you noticed I've been off the air for a while, it was due initially to work and then to surgery.
Work has been busy as we've approached deadline for submission of the proposal for the engagement I'm on.
And if that we're enough of an impediment, last week, I had surgery on my left forearm. The surgery was a combination exploratory / biopsy thing.
I've had a lump just above my wrist on the inside of my forearm for as long as I can remember. Every doctor I've ever asked about it told me it was a ganglion cyst. It has grown over the years to the point where it was becomming a bother and causing some pain. So, a few months ago, when I lacerated my thumb, I decided to go see a hand surgeon. The primary motivation was the thumb, but while I was there, I did one of those "oh by the way" things that people do to doctors. Well, that led to an MRI, which led to another MRI (with contrast) which led to the surgery.
Seems it isn't - and never was - a ganglion cyst.
While I won't know for sure until Monday, odds are, it is a plexiform neurofibroma. Most likely, it is benign, and I already know that it can not be removed surgically. For those of you not up to speed on your 'oma's, it is basically a tumor of the nerve sheath. In my case, of the median nerve. The tumor is quite nicely intertwined with the nerve and blood vessels. Thus the plexiform, or "bag of worms" descriptor. Removal of the tumor would result in the loss of use of my left thumb, index and middle fingers.
I had expected that the surgery would be performed under "twilight" anesthesia, but it ended up being done under general, which knocked me out. Sorry, couldn't resist.
I had also expected to have a little bandaid over the incision, but instead awoke to find an immobilizing bandage 2/3 of the way to my elbow. There must be splints or something in there, because for all practical purposes, it is like my hand/wrist/forearm is in a cast.
Thus, the one handed typing.
« hide the rest of the entry
Digg It!
Bookmark it!
Posted by
David at 06:21 PM |
Permalink
| Categorized under:
A day in the life
|
TrackBack
(0)
|
Tickle me