Archive for the ‘Technology’ Category

Switchover

Wednesday, June 15th, 2011


If you’re tracking me on Bloglines or some other blogreader, I’m splitting this blog up into 3 pieces:

  • All my Christian, church and faith-related entries will go here;
  • posts related to software design and development, hardware and other technology will go here, and
  • other stuff into a catchall here.

New blog entries will still be announced via twitter & facebook.

Several reasons, but the precipitator was that this blog has been around for about 3 years and I’ve messed with it so much it was starting to do some very weird things – pieces of admin pages going walkabout; cache acting strangely; stuff like that. So I started fresh, exported everything to the appropriate new blog, and away we go…

Happy reading!

Share
PDF    Send article as PDF   

A reminder of where we are

Thursday, June 9th, 2011


Just a little reminder of where you are:

Share
PDF    Send article as PDF   

Setting a different color for the LI bullet in CSS

Sunday, May 15th, 2011


Not my usual type of post, but here’s a dabbleance with HTML and CSS…

I was building a mockup web site for the church I attend. One of the design decisions was to use a very dark – as black as possible – background, and while I don’t like light text on a dark background (since it’s harder to read as you approach geezerdom), we’re a church with a relatively low average age, so it would work there.

So … near-black background, white or very light text. And I thought maybe a third color for the borders and other bits of styling, such as the bullets in lists. Orange on black is a good standout color.

It’s not so easy in CSS to get text in one color and list bullets in another – it’s one of the things I suspect never occurred to the committees. What you want to be able to do is something like:

1.
2.
3.
<style>
li  { color: white;  bullet-color: orange; }
</style>

… but that property keyword doesn’t exist. And when the question comes up on the web, it doesn’t seem to be something the forum gurus are too up on either – at various different sites one simply said no, you can’t do it; another said use an image instead, and a third suggested enclosing the text in the list in a span like this:

1.
2.
3.
4.
5.
<ul>
  <li>
    <span>text</span>
  </li>
</ul>

Now the idea behind CSS was that it manage style in place of HTML, not that it require more HTML to manage the limitations of CSS. So I had a think, and here’s how you do it:

In the CSS, turn off the bullet. Then add the ‘:before’ pseudo class to the li statement with the spiffy color and a snazzy bullet character that you pulled from your favorite HTML entity table (here’s a site with them all). And you get something like this:

1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
<style>
li      { margin-left: 1em; list-style-type: none; }
li:before   { color: orange; content: "\25A0 \0020"; }
</style>

<stuff></stuff>

<ul>
<li>... for <a href="#" rel="external">stuff</a> to click on</li>
<li>Something you don’t click on</li>
</ul>

Don’t forget to add your Doctype at the front for IE or it won’t work.

Demo and code here.

Share
PDF Printer    Send article as PDF   

Comic Book News

Friday, June 11th, 2010


I think this is clever marketing. In Japan, although newspapers are more widely subscribed to than in the US, the publishers can see an inevitable decline as the next generation moves up. They also observe that the next generation is crazy about manga – a stylized form of cartoon.

Wired Magazine on 'Manga News'

Putting the two together, they are appealing to young potential readers by setting the news into manga – real news in cartoon form. Talk about adjusting your approach to meet the culture!

Share
PDF Printer    Send article as PDF   

God’s Grace in Microsoft Word

Wednesday, March 17th, 2010


I was writing a note to someone just now in Microsoft Word, and typed the words “God’s grace” which the spell check didn’t like. It wanted either “God’s graces” or “God’s Grace” instead. Very cool – and absolutely correct, but who’d a thunk?

Share
PDF    Send article as PDF   

My 7 rules for Twitter

Sunday, November 15th, 2009


  1. I wait a minute before I send a tweet. Did I really want to send that? – once its gone it’s not recallable. I’ve lost count of the number of tweets I typed and decided not to send.
  2. I follow selectively:
    1. I don’t follow people who don’t add value unless they are a personal friend or a business associate – in which case they are already adding personal value.
    2. I assume that anyone who follows thousands of people cannot possibly be reading all their tweets, so they’re not reading mine.
    3. I also assume they’re only doing it for reciprocity – to build up the number of people who follow them. (Why would anyone even want this? If you gain 40,000 followers just because you followed them back, that doesn’t say you’re popular – it says you’re desperate!)
  3. I don’t stalk:
    1. Responding to a tweet with a witty comment to simulate closeness rarely endears you to the recipient – it just makes you look like you want to be in their circle.
    2. Also: it may be corny and very old-fashioned, but I don’t follow many women, and – unless they are personal friends – I especially don’t follow married women. That just feels all kinds of wrong to me. Marriage is too precious a commodity and a tough enough proposition today without presenting yet another opportunity for its destruction.
  4. I try to add value with my tweets. Say nothing nasty, private, deceptive, pointless or destructive.
  5. Last year I stopped saying ‘hi’ to people just because they started following me. It seems a bit of an arrogant put-down, like saying ‘I was here first, but I’m so gracious I’ll welcome you too’.
  6. I don’t spew a torrent of tweets. When I have a lot of points to make, I blog it and send a tweet about the blog.
  7. I will unfollow people who
    1. try to sell me something,
    2. try to sell me on something about themselves to their profit,
    3. continually make up or pass along pithy quotes or
    4. violate points 4, 6 and possibly 3.

… and now I’m down to following 3 people.

Other thoughts:

  • I won’t unfollow people just because they use ‘LOL’, ‘ROFL’ or smilies or other idiotic contractions, but it certainly doesn’t endear them to me.
  • Twitter connectivity starts like this: ‘I find you; I read some of your tweets; I like them because they meet a need or interest that I have; I follow you’. But for some people the line of thought somehow continues, ‘… so I expect you to follow me back.’ This is then turned into ‘twitter courtesy’.
    This is the mentality that says ‘My self-esteem is built around getting a lot of followers. So I’ll follow a whole bunch of people just so they’ll follow me back – and if they don’t, I’ll accuse them of being discourteous!’ We live to the metric – gotta get those numbers up!
    I don’t get this mentality. If I follow you because I gain insights from your creativity, why should I expect you to follow me for free? I’d better be putting out some tweets that you find interesting too.

Any thoughts?

Share
PDF Printer    Send article as PDF