Miscellaneous Musing |Techie Talk by Judy @ 10:19 AM
tags:

Now that the election is over, I’ve made a few changes to PI.

The Wayback Machine is courtesy of Scriptygoddess’ “Today in weeks/months/years past” WordPress plugin. I fixed a few bugs in it and added the post title display under the link to the date archive.

I’ve also installed plugins and hacks that put “next | home | previous” links on the page and date archives. I’m looking for a clue on how to do a “next/previous category” link on the category archives, but so far no go.

Gone is the “election” section of the news. Weather, Mood and Skin Me have been moved over to the right. This makes the right-hand blog carry all of the miscellaneous, non-PI-related stuff, while the left-hand blog has all of the more blog related items. It also makes the columns fairly even. 🙂

Election |Political Rants by Judy @ 11:21 AM
tags: ,

Consumer confidence down:

Consumer confidence fell in October to its lowest level in seven months. The downturn is fueled mostly by soaring energy costs, sluggish hiring, the war in Iraq and an increasingly nasty election. Analysts worry that the downturn in confidence will result in less spending by already debt-laden consumers.

“Consumers are more concerned about the future than they are about current conditions and I think that has a lot to do with the high oil prices we’re seeing and probably some of the election rhetoric,” said Gary Thayer, chief economist at A.G. Edwards & Sons in St. Louis.

Consumer confidence in hiring is up very slightly, but businesses remain cautious about hiring workers given the record oil prices and the rise in health care costs.

“While consumers’ assessment of the labor market showed a moderate improvement, the gain was not sufficient to ease concerns about job growth in the months ahead,” Lynn Franco, director of the Conference Board’s Consumer Research Center, said in a statement.

This is not good new… especially here in Oregon where we still face the highest unemployment rate in the nation.

The election

Techie Talk by Judy @ 3:02 PM
tags:

I like flexible, semi-liquid layouts. But Microsoft makes it tough because IE5+ does not conform to CSS standards.

I’ve managed to handle the problems so far by having two and three column layouts with a header but no footer. Then I decided that having a footer would be oh, so cool. And that’s where I ran into problems.

This doesn’t seem so tough, really. A header, then three columns, then a footer. The three columns together should be the same width as the header and footer. The footer should be at the bottom of the longest column, whichever that is. The presentation should be source ordered — that is, the first section in the source should be in the middle column. No tables — all CSS. Looks good in all modern browsers. OK…

This is not rocket science, if one wants a fixed-width layout. Something like 50% of web surfers use a resolution of 800×600, and something approaching 50% use a resolution greater than that. Only a very tiny percentage use anything smaller. I like 1024×768, myself. But if I design a fixed-width page for 1024×768, then people using 800×600 can’t see the whole page without scrolling horizontally. On the other hand, if I design for 800×600, then anyone using higher than that ends up with a bunch of white space. That isn’t all that bad with a two-column layout, but with three columns it makes the middle column mighty narrow.

Lizard, Mirage and Moon are examples of fixed-width layouts. They look best at 1024×768. Below that, the horizontal scroll bar is necessary to see the right-hand column. Above that, there’s white space to either side.

Black and White and Mommymonster dot com are completely liquid. B&W does better at liquidity than MM. Below 1024×768, some parts of MM – notably the calendar and the drop-down box – break because the side columns become too narrow for their contents.

The most common solution to this last problem is to have the side columns fixed-width and the middle column liquid.

No problem, right? Well… I want my layout to become smaller than the header and footer if the resolution is narrower than the header width. But, if the user has a resolution larger than the header, I want the columns to stay under the header and above the footer, and have white space added to the sides. Again no problem. I simply use the max-width property on the main wrapper div that encloses all of the columns and the min-width property on the side columns, while having the middle column width property a percentage.

That works great. In every browser except IE5+. Along with various other quirks and bugs, IE does not support max- or min-width, or max- or min-height.

There are various ways to “fix” this. After trying several of them out, and after much thought, I decided to go with a hack that uses IE’s ability to parse a javascript expression imbedded in a CSS property, like so:

#maindiv {
width: expression(document.body.clientWidth > 1000? “1000px”: “100%” );
}

What this says is that, if the width of the browser window is greater than 1000px, set the width of maindiv (that’s the wrapper) to 1000px. Otherwise, set it to 100% of the browser window.

The problem with this hack is that it means that the CSS no longer validates. I believe in writing valid code, so this bothers me. But I’m consoling myself with the fact that at least it is a browser-specific hack to fix a browser-specific problem. Hopefully with the next release of IE, Microsoft will get around to fixing their box model problems and support all of CSS2.

Reviews |Techie Talk by Judy @ 7:35 PM
tags: , , ,

So I figured out how to fix my master drive partition table and reinstall XP from backup. 3 hours. I reinstalled SuSE – several times because each time it didn’t install correctly, each time for a different reason. I kept thinking about that old saying about the definition of insanity is doing the same thing over and over, each time expecting different results. I kept doing the same thing over and over, expecting the same results, and each time it was different. (This is not a Linux slam, as Windows will do the same thing.) I finally blew away those partitions, reformatted them — thank goodness for Partition Magic 8 — and reinstalled. Total time to install SuSE: 3 hours.

I had Mandrake CDs lying around also, so I thought I’d give Mandrake a try. A friend told me that it would probably be an easier install than SuSE, and definitely easier than Fedora. I booted to the install CD, and it complained that it didn’t understand my master drive partition table, but it would be happy to destroy all partitions on that drive and start over. I shut the computer off and unhooked the master drive (I can be taught). Then I tried again. This time it said that it didn’t understand the partition table on my slave drive, but it would be happy to blow that drive away and reformat it. Did I want it to do that? I shut the machine off, hooked the master drive back up, and threw the Mandrake CDs into my “software I’m not playing with anymore” drawer.

Maybe SuSE is enough for now, eh?

So I booted up into SuSE. I figured out how to change my screen resolution and refresh rate to something usable. Not bad so far. Popped an audio CD in the drive…

Techie Talk by Judy @ 5:39 PM
tags:

I like WinXP. It’s my OS of choice at this particular time. I have a lot of software that cost me a lot of $ that runs very nicely under XP.

But I like new toys, also, hence my desire to load a couple of Linux distros and play around.

Last night I managed to successfully load SuSE on my seondary drive! YEA! This was after multiple unsuccessful installs the previous night, so I was pretty happy when I saw KDE come up.

I also have Fedora and Mandrake lying around. So, since SuSE went so well, I decided to load Fedora.

It turns out there’s this “feature” in Fedora.

SuSE happily installed itself into the partition where I told it to go. No sweat.

Fedora offered to either wipe out all of my Linux partitions, or, if that wasn’t good enough, to wipe out every partition in my system. I told it no thanks, pointed it at a partition and told it to go there. I also told it to leave my MBR the heck alone and install it’s boot info in its own partition. Fedora wiped out all of my Linux partitions, including my SuSE install, in order to grab everything for itself. Along the way, it messed with the MBR on my master drive and “fixed” that drive’s partition table. Apparently XP sets up the disk geometry a little strangely, and Fedora helpfully changed it back to its own interpretation.

I’m lucky as hell that I was able to boot to XP at all post-Fedora install.

I’ve pulled Fedora off (and it will never blacken my disk again), and will spend this evening fixing my now-invalid partition table.

That has got to be one of the worst-behaved pieces of software I’ve ever had the displeasure to install. However XP set up the partition table, what the hell is it doing messing around with stuff that I told it to leave strictly alone? Regardless of how one feels or doesn’t feel about Microsoft, this kind of behavior is not OK from any software.

From poking around on the net, it appears that this is a general problem right now and also occurs with SuSE and Mandrake dual boots with XP. My SuSE install went OK because I told it where to install and it didn’t need to repartition the drive. Fedora didn’t need to repartition either — it just did anyway.

Techie Talk by Judy @ 11:10 AM
tags:

The best laid schemes o’ Mice an’ Men, Gang aft agley. (That’s Robert Burns, friends.)

Installing Linux is not as easy as it sounds. I installed SuSE multiple times last night. Once it actually installed OK and booted to KDE. But it only booted once and after that I couldn’t boot to anything. So I ran FIXMBR and could then boot to XP, but not to Linux. So I decided to start over again. But I never could get back to that point.

This is the reason why Linux is not on more desktops. When it’s as easy to install and use as Windows then it will spread beyond the enthusiast market.



  • Translate
  • Thought of the Minute
    • Terrorists and totalitarians have always been two sides of one coin; a totalitarian out of office is a terrorist.

      (David Gelernter)
  • Word Of The Day
  • Current Weather


Wayback Machine
  • Present Future
    • Fri, Jun 12 - Friday! (2 days)
    • Sun, Jun 14 - Flag Day (4 days)
    • Sat, Jun 20 - until 06-22 Black Sheep Gathering, Eugene (10 days)
    • Sun, Jun 21 - Father's Day (11 days)
    • Sat, Jul 4 - Independence Day (24 days)
    • Sat, Jul 11 - #1 Son's Birthday (31 days)
Stuff I Gotta Do

Follow The Leader shawl

30%

entrelac wrap

0%

Arabesque shawl

100%

Jubjub Bird Socks

15%

I Mog Di

15%

Peacock Feather Shawl

0%

Honeybee Stole

5%

Irtfa'a Faroese Shawl

0%

Lenore

20%

Fatigues henley sweater

10%

Jade Sapphire Scarf

15%

#1 Son's Blanket

2%

Cotton Bag

1%