Preston L. Bannister { random memes }

2007.10.29

Eating my words

Filed under: Personal — Preston @ 3:40 pm

Guy from work asked if I needed new equipment. Doing all my work on my personal gear, and upgraded stuff as needed. Told him I was fine – really did not need an upgrade.

Since then I found my time going into heavy refactoring of code inherited from a departed developer. Refactoring as the original code is not remotely close to my personal standards. Find I am reading up on Swing (been a while – things have changed). Of course there is time pressure (lots). Running through lots of code, ripping out and refactoring as I go, and the !@#$% computer CANNOT KEEP UP!

Serves me right, I suppose.

As a side note – the “Visual Editor” in Eclipse 3.3 is gone (so far), and in Eclipse 3.2 is quirky and slow (at least in my usage). The equivalent in NetBeans – “Matisse” – is excellent! On the other hand NetBeans sucks at refactoring (slow/quirky), at least compared to Eclipse. Been switching between NetBeans 6.0b1, 6.0b2, and 5.5.1 (you don’t want to know), then back to 6.0b1.

NetBeans gets noticeably better with each new release, but is still full of quirks (too often you have to slow down and “explain” things at a rate NetBeans can absorb). Eclipse is much better generally, but lacks a decent GUI builder (critical to iterating – the only way to build a decent GUI). Means I have both installed and switch as needed. Not helping the time spent on the learning curve, guys.

Dammit – need to upgrade my hardware, again.

Point of view

Filed under: General — Preston @ 7:41 am

Life is not about waiting for the storm to pass,
It’s about learning to dance in the rain.

Where is this quote from?

Brought to mind by the recent wildfires in coastal southern California. Floods, earthquakes, and wildfires are a natural part of living in southern California. Much of the Los Angeles basin is a flood plain. Folk here are largely unaware of the massive system of dams, channels and drains put in place decades ago. When heavy rains come, huge volumes of water are quietly channelled into the ocean, unnoticed by most.

We have seen earthquakes here cause a few cracked buildings and minor injury – that elsewhere might level an entire city. The earthquake standards for buildings do largely work.

Wildfires burning around communities here – built in the 1980’s and 90’s – passed through causing essentially no damage. The surrounding buffer zones – thinned, landscaped, and carefully maintained – did exactly what they were meant to do.

The story further south, in San Diego, is different.

2007.10.22

Wildfires

Filed under: Images — Preston @ 7:29 am

The Santa Ana winds are blowing again. Strong winds – gusting here between roughly 20 to 40 miles per hour – carrying warm, dry air. In addition this is a dry part of a fairly dry year. Most of the undeveloped hills in coastal southern California are covered by Chaparral – and highly combustible this time of year.

Today we have fires. There is a fire burning perhaps a mile from my home. I can see clouds of orange-brown smoke out the window. Not a big concern, as this community was built with fire in mind. Houses were built with concrete tile roofs, and stucco sides. Talked to a firefighter last time (years ago) when fire came near. He noted that the risk to houses of this sort was usually from add-on wooden structures built nearby – patio covers and gazebos. The neighbourhood is surrounded by a buffer zone – cleared, landscaped, and lightly irrigated – and is at the bottom of a slope. Fire burns more slowly downhill. Last time we had a fire out here, it took all night for fire to burn from the top to the bottom of the hill – then died when it reached the buffer.

On the other side of Los Angeles there is a big fire in the Malibu area. Drove around the Malibu area a couple years back. Saw expensive homes nestled amid thick stands of fragrant chaparral. Saw houses with rustic wood-shake roofs and even wood-shake siding. All very nice and very likely to be lost the next time fire passes through the area. My feelings are decidedly mixed about the homes lost in the Malibu fire. When homeowners choose to build homes in such insane fashion, should firefighters be asked to risk their lives defending those homes from fire? Should the government step in and offer aid when those houses eventually burn?

The wildfires are burning. Last night went out and took pictures. Will take more pictures during the day. Closed up the windows, to keep out the worst of the smoke (not bad here in any case). Fire vehicles occasionally roll through – looking for problems most likely – then leave. Otherwise, the whole thing is mildly diverting.

Update – 10am: Winds have died down – gusts are maybe 20 mph, with a quite modest breeze between. Lots of folk cruising through, to look as the fire started creeping down the hill visible from the street. Lots of worried looking folks coming back from work to check on their homes. Emergency vehicles cruising through looking for something to do. Over-protective parents picking up their kids from school, enough so the teacher cannot do lessons. Happy-chirpy daughter voice on the phone: “Daddieee, can you pick me up??” (No school today!!) Later, she ran around outside with the happy dog, while I took pictures and chatted with the neighbours.

We should have more fires, maybe.

Update – 6pm: Winds still occasionally gusting, but mostly just a gentle 5-10mph breeze (if that). During the day the fire burned clockwise around the community, from west in the morning, through north, and now east in the evening. Lots of folk out looking. Lots of fire crews cruising around and keeping an eye on things (just exactly as they should). Despite the attempts to create sensationalism on the TV news, the fact is – everything worked! The buffer zones around the community kept the fire at a safe distance. So far as I know, not one single house caught on fire.

Towards evening the fire burnt down the small thickly-grown canyon kept for the hiking trail into the local “wilderness area”. For a period of time the fire was quite dramatic. The local school – Foothill Ranch Elementary – is along one side of the canyon (kids get to see the occasional deer, coyote, etc.). The TV news reported “firefighters are trying to save the school!!”. The firefighters caught on camera were looking pretty relaxed, just keeping a close watch on the fire. In fact outside the school there is a buffer zone – cleared, landscaped, and maintained. Also inside the school fence there was another buffer zone. Looks like the buffer zones worked exactly as designed.

Given how little real trouble we had – given how well the proper zoning, construction, landscaping and maintainence worked – you have to wonder about the areas where houses burned, and where firefighters had to risk injury to protect property. Somehow it seems loss and risk of that sort should be largely unnecessary.

2007.10.20

trackerd and Ubuntu 7.10

Filed under: Software — Preston @ 7:45 pm

If and when you upgrade to Ubuntu 7.10, best you run:

sudo apt-get remove tracker-utils

There is lots about this on the web (in bits and pieces). Boils down to software that was promoted for general distribution way before is was ready.

The short form, if you are developer – you do not write a background indexer that saturates the disk, or drains a laptop battery. If you can’t get this right up front, you are not ready for general distribution. If you do not know how to keep from saturating the disk (or that you are running on battery), then you are really not ready.

2007.10.19

Product activation – Corel just lost a customer

Filed under: Software — Preston @ 11:28 am

Recently you requested personal assistance from our on-line support center. Below is a summary of your request and our response.

If this issue is not resolved to your satisfaction, you may reopen it within the next 7 days.
Thank you for allowing us to be of service to you.

To update your question from our support site, click the following link or paste it into your web browser.

http://www.corel.com/rightnow/redirect_en.html?p_userid=preston@bannister.us&p_next_page=myq_upd.php&p_refno=070911-000219&p_created=1189536562

Subject
—————————————————————
Activation problem

Discussion Thread
—————————————————————
Response (Angelo) – 09/11/2007 11:08 PM
Dear Preston,

Thank you for contacting Corel Support Services. We have reviewed your e-mail and determined that we can most effectively address your inquiry if you contact us via telephone. A full listing of contact numbers for Corel Customer Support Services can be found at:

http://support.corel.com/scripts/rightnow.cfg/php.exe/enduser/std_adp.php?p_faqid=754347

Regards,

Angelo
Corel Customer Support Services

http://www.corel.com

[snip]

Customer (Preston Bannister) – 09/11/2007 02:49 PM
Fired up my copy of Paint Shop Pro today. Got a “Thank you for purchasing …” message. Did re-install XP a while back. Did create an alternate user profile more recently. Perhaps I’d not used the application since the re-install.

Clicked on the “Activate now” link and got the message:
“Sorry the serial number you are using has already been submitted the maximum number of times for activation”

Right. So now I’m running in “trial” mode.

If this is going to be an ongoing problem, I am going to feel uncomfortable upgrading PPS in future. No point in buying a product if someday I find it no longer installs properly.
[snip]

Lots of words above, but no help. Just wasted about a half hour waiting on the phone with Corel, after probably another half hour trying to get support via email (above). If this happened to me once, odds are it will happen again. I asked – newer versions of the product have the same activation scheme. Not real keen about buying an upgrade anymore.

My 11-year-old daughter has become rather proficient at using GIMP. Have used it a bit myself, though I am less than impressed with the UI. Given that GIMP is portable, guess I will be spending more time puzzling out the UI….

2007.10.12

CSS gone wrong – java.net

Filed under: Web — Preston @ 9:32 am

Argh. Had too many annoyances to clear out of late – I am all out of tolerance. You are warned.

Opened up java.net again today. Saw the too small text, again. Could hit “Ctrl-+”, again … but not today. Turned on Firebug (a wonderful tool, BTW), clicked “Inspect” and on the undersized text. The offending bit of style:

body, th, td, p, div, dl, li, select, input, textarea, blockquote {
    font-size: 12px;
}

Right. The font size is defined in pixels. Dumb. Always has been. For those of you who were asleep when you should have been paying attention, please remember, the number of pixels per inch is not the same for all screens. Specify anything in pixels, and you will get different sizes on different screens.

This is one of those common mistakes I have seen repeated over, and over, and … over the past twenty-odd years.

In CSS that is what “pt” (point) sizes are all about. If your system is set up properly, point sizes will yield the same visible size, independent of display resolution. Used Firebug to change the “12px” to a proper “10pt”. Much better! There are other “px” font sizes in the style sheets that need to be cleaned out, but just the one change makes the bulk of the text readable.

Oh right. The java.net site is using table-based layout. Grrr….

So just who exactly is responsible for the java.net site? In About … nope. Perhaps Feedback? No obvious link to whomever styles the website. A general search on “CSS” yields one possibly relevant hit on font size.

Forum    Wish List
From     sarahb
Subject  Re: Font size
Date     2004-03-30 21:45:48 GMT

Hi Patrick,

Thanks for your message.  The CSS on our pages uses pixels
to set the font-size.  Currently this causes IE's text
enlarging to not work.  This is easy to get around,
though.  All you need to do is go to Tools->Internet
Options (in IE) and choose Accessibility (near the
bottom).  Then check the "Ignore font sizes specified on
Web pages" box. 

There are a number of reasons we chose to use pixels to
set the font size.  Here's a good reference for CSS issues
if you're interested:

http://www.aglasshalffull.org/css-resources/CSS-Issues.htm

Regards,
Sarah
java.net Producer

Well, that is an answer – if wrong.

Tracking things down this far was tedious. For some reason the java.net site is SLOW. Bit disturbing, as Sun produces some really wonderful hardware, and given all the interesting work going into optimized the JVM. Not exactly a showcase.

2007.10.08

Why some schools do better than others

Filed under: General — Preston @ 4:11 pm
Subject: Room 9 News
Date: Mon, 8 Oct 2007 12:22:34 -0700
From: "xxxx, xxxx (Foothill Ranch Elementary School)" <Lxxxx@svusd.org>
To: <jxxxx@gmail.com>, <nxxxx@aol.com>, <txxxx@aol.com>,
	<gxxxx@cox.net>, <pxxxx@bannister.us>, <fxxxx@cox.net>,
	<mxxxx@cox.net>, <txxxx@yahoo.com>, <kxxxx@cebridge.net>,
	<bxxxx@cox.net>, <jxxxx@yahoo.com>, <hxxxx@cox.net>,
	<gxxxx@yahoo.com>, <pxxxx@mbzdirect.com>,
	<jxxxx@gmail.com>, <exxxx@pacbell.net>,
	<bxxxx@hotmail.com>, <kxxxx@cox.net>,
	<dxxxx@mac.com>, <mxxxx@wittkieffer.com>,
	<dxxxx@cox.net>, <pxxxx@cox.net>, <mxxxx@yahoo.com>,
	<rxxxx@cox.net>, <dxxxx@yahoo.com>, <jxxxx@cox.net>,
	<dxxxx@cox.net>,
	"Lee, Jim (Foothill Ranch Elementary School)" <Jxxxx@svusd.org>,
	<jxxxx@noevirusa.com>, <sxxxx@cox.net>, <sxxxx@pb.com>,
	<rxxxx@yahoo.com>, <kxxxx@accessmicrocorp.com>,
	<exxxx@cox.net>, <gxxxx@cox.net>, <hxxxx@cox.net>,
	<dxxxx@shadycanyongolfclub.com>, <sxxxx@hotmail.com>,
	"Txxxx, xxxx (Foothill Ranch Elementary School)" <Cxxxx@svusd.org>,
	<jxxxx@hotmail.com>, <mxxxx@sbcglobal.net>, <sxxxx@cox.net>,
	<kxxxx@cox.net>, <jxxxx@cox.net>,
	<axxxx@yahoo.com>, <bxxxx@rootmarketing.com>, <mxxxx@cox.net>,
	<mxxxx@cbre.com>, <txxxx@cox.net>, <gxxxx@cox.net>,
	<txxxx@advantevh.com>

Dear Parents,

Many of you volunteered to come along on the field trip with us this
Friday.  Unfortunately, we are only able to bring one parents with us!
I just did a blind drawing so that the selection would be fair.  Axxxx
Hxxxx is the lucky winner, who gets to spend some quality time with
200 eleven year olds! 

Thank you all for offering your time,

Ms. Pxxxx

Yes, the teacher is sending updates to 48 parent email addresses – for the 32 kids in her class.

As one parent observed, in her old neighbourhood the teacher would be lucky to get just one volunteer – and kids generally did not do as well.