Posts Tagged ‘Technology’

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
Create 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
Create 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 Download    Send article as PDF   

Where were you on #Sept11?

Friday, September 11th, 2009


8 years ago today, I was in California at the International Tandem User Group. Compaq had bought Tandem and DEC, and HP had bought Compaq, so this was now HP’s show – bigger, but a lot less fun than the old ITUGs. The stock market had begun tanking a year before, and the department that I ran was processing massive numbers of executions per day as people were selling at a frantic rate. Volume was through the roof. I was in the process of rearchitecting one of my main systems to allow for multiple instantiations, which worked well when implemented. And I was at the trade show to talk to vendors about hiring more consultants, or at least to maintain contact with the vendors I short-listed.

When the planes hit the towers and the Pentagon, every consulting house left for home immediately. They all felt – probably correctly – that they would need to be at their desks in order to provide crisis support via more consultants. Perhaps more strikes would come – nobody knew. Since all flights were canceled, trains were at capacity; people were hiring cabs to take them from California halfway across country. And I was stuck on the West coast. There was nothing I could do back at work; I called my 2IC several times a day to make sure things were running as smoothly as possible. The trade show was canceled. I managed to get my room extended, and sat out there and watched the carnage on TV. It doesn’t feel good to sit in luxury and watch helplessly while a place you’re intimately familiar with – I used to work in downtown NY on John Street and Water Street for some years – is being crushed.

It took nearly a week before I could get on a plane and come home.

My company had spent an enormous sum of money to protect their primary building. It had already been developed with disaster in mind – earthquake-resistant architecture, power feeds from different substations, multiple generators, and so on. Now we were going into a huddle about how to maintain the systems under threat of attack. Who would be evacuated from the building; who would be brought in to run the systems? The operators were in this building; developers in a different building. We went around the table; each department head said, “I’ll have so-and-so come over – he knows most about the systems we run.” I was getting more and more bothered. We had a disaster site 300 miles away – why wouldn’t we switch there immediately? This was obviously just an academic issue. But I felt intense pressure to go along with the crowd. These were VPs and SVPs – I was just a director then. I didn’t want to look like I wasn’t a company man. But I also felt that, as department head, I needed to be thinking about ‘my’ people. So when it came to my turn, I said, “All our systems are accessible to the programmers in the other building – we designed it that way.” (Which was true.) “My developers will stay in their seats and run things there – I’m not sending any of my people into harm’s way.”

I never caught any flack from that call, though I was sure I would.

Where were you? – Tell me in the comments.

Share
Create PDF    Send article as PDF   

More on #TheNines

Thursday, September 3rd, 2009


I was watching the pre-show about THE NINES the other day, and watching the viewer counter. At one point it rose to 310 simultaneous viewers. Not bad as an indicator of an event that only began to be publicized 6 weeks earlier! Here’s some other info:

  • The schedule assumes 9 hours of transmission – there’s 8.62 hours of raw footage already. I must say I’m a little surprised, since there are some 75 speakers, and who ever heard of anybody that ever got up into a pulpit to speak for less than the allotted time! My guess would have been for 75*9/60 = 11.25 hours – but they’ve got the files.
  • Some 7,000 people have signed up to watch. And if I’m any indication, that only includes the signer-uppers, not all the additional people who are going to show up by invitation to watch.
  • There will be some live cut-ins at the top and bottom of each hour – sounds like the Catalyst conference is going to do some advertising then.
  • There is no schedule for the day yet – they may push one out during the day. This is a bit disappointing – while I want to find new people to listen to, I’d also like to know when people I’ve heard of (but never actually heard) will be on.
  • It will be pushed at streaming quality (500 Kbps), not at satellite quality for most people.
  • Recordings will be posted after the conference.

I’ll probably be blogging the conference here at Praise Christian Fellowship in CT – let me know in the comments if you’d like to join us.

Share
PDF Creator    Send article as PDF