« January 2008 | Main | March 2008 »

February 26, 2008

Hidden Linux : Monitor switch-off


My LCD monitor's tricky to switch on and off. Not only is its power button in an odd place, but it's also small, unlit, and flush-mounted. That means I invariably hit Brightness or Menu when I'm head away from my desk for an extended period. But, no worries. Linux to the rescue...

The manual page for xset describes it modestly as the "user preference utility for X", and one of those preferences is monitor control.

xset q
for example will list your monitor's current settings, while


xset dpms force off
will turn it off. (DPMS. or Display Power Management Signaling, is more commonly known as Energy Star compliance.)


So by creating a keyboard shortcut to perform the command

sleep 1 && xset dpms force off

you can create a keyboard-based, power-saving, monitor switch. (Moving the mouse or hitting a key will reawaken it.)

In case you're wondering, sleep 1 forces the system to wait a second before executing xset. Keyboards send signals when keys are pressed and released, so without it the monitor would only switch off for as long as you held the key down!





<--Previous Hidden Linux        Next Hidden Linux -->


 

February 22, 2008

Paradise lost...?

For almost three months now TelstraClear broadband users have been enduring what I can only describe as an on-going series of micro-outages -- with no apparent end in sight. They manifest themselves either as an uncharacteristically slow response, or no response at all. Here, for example, is what I got when I went to check my email this morning...



The second time I clicked the Get Mail button, it arrived.

From a technical viewpoint, the network seems to lose all awareness of you. Here's what I got pinging Paradise at 11:45 this morning...



Ping tries for around 30 seconds before giving up, so the outage here is about a minute. Then it suddenly connects.

To be fair, TelstraClear sent out letters in early December saying they were going to be working on the network and that monthly charges would be discounted by $20 for the inconvenience. But that was nearly three months ago and the micro-outages seem to be getting worse.

In an attempt to find out how long this situation's going to continue, I logged a question with TelstraClear's online help system. I was promptly informed by a Customer Care representative that Question Reference No. 080207-000123 had been forwarded "to the team that will assist with your request. One of our representatives will be in touch with you shortly."

That was more than a fortnight ago.

I tried phoning the Helpdesk this morning to chase it up, but was told wait times were currently 33 minutes so promptly gave up.

Is anyone else experiencing these sorts of problems? Can anyone -- inisde or outside TelstraClear -- tell me what's going on and how long these upgrades or repairs are expected to take?

In the March issue of PC World I'll be exploring the new Telecommunications Disputes Resolution service. I just didn't think I'd be needing it quite so soon.


February 18, 2008

Fun stuff for Firefox and Safari users


The block of text below contains a hidden picture. To view it, select all or part of it with your mouse, and the underlying image will be revealed...

Tux Love Tux Love Tux Love Tux Love Tux
Love Tux Love Tux Love Tux Love Tux Love
Tux Love Tux Love Tux Love Tux Love Tux
Love Tux Love Tux Love Tux Love Tux Lov
e Tux Love Tux Love Tux Love Tux Love Tu
x Love Tux Love Tux Love Tux Love Tux Lo
ve Tux Love Tux Love Tux Love Tux Love T
ux Love Tux Love Tux Love Tux Love Tux L
ove Tux Love Tux Love Tux Love Tux Love
Tux Love Tux Love Tux Love Tux Love Tux
Love Tux Love Tux Love Tux Love Tux Love
Tux Love Tux Love Tux Love Tux Love Tux
Love Tux Love Tux Love Tux Love Tux Lov
e Tux Love Tux Love Tux Love Tux Love Tu
x Love Tux Love Tux Love Tux Love Tux Lo
ve Tux Love Tux Love Tux Love Tux Love T
ux Love Tux Love Tux Love Tux Love Tux L
ove Tux Love Tux Love Tux Love Tux Love
Tux Love Tux Love Tux Love Tux Love Tux
Love Tux Love Tux Love Tux Love Tux Love
The trick involves using selection pseudo-elements in CSS. You can read all about 'em here. If, however, you just want to experiment and generate your own, try this site.

PS. If all you get is selected text, you must be using Internet Explorer!


February 13, 2008

NZ's worst e-commerce site?


If you're planning to book for the forthcoming NZ International Arts Festival -- or any multi-event venue -- don't use Ticketek for the sake of your sanity. Why? Let me take you through what I went through recently trying to book for seven separate New Zealand Post Writers and Readers Week events...


(Click images for a detailed view)
1.  Start at Ticketek's Arts Festival web page and click on the Writers and Readers Week link.



2.  Here's the Writers and Readers Week page. I hope you've made a careful note of exactly what you want see because most of the useful information is absent. You won't, for example, find mention of Ian McEwan -- one of the WRW's main drawcards. You'll need to know what his event's called or what he looks like in order to actually book to see him.



3.  You're now taken to the event details page. Yes, yes, I know all this. I just want to book!



4.  Clicking the Buy Now button takes you Quantity and Delivery Method selections. Not only do you have to select the latter for every event you book, it also gives the impression there's a surcharge on each booking.



5.  You'll get this message helpful message every time you pass this point.



6.  The booking confirmation page. Not only do you have to complete you multiple bookings within 10 minutes, but there's also a hidden trap. Can you spot it?



7.  Click to Select More Tickets and this appears. (Yes, this pops up every time too.) Click OK and you're taken back to the event details page (3). You can't click the Back button here -- that'll take you back into the booking system -- so you have to return to the Arts Festival website (1).

Now repeat all the steps above six more times. And remember, the clock is ticking!

What was the hidden trap I mentioned on the booking confirmation page? You can't actually book for more than six events! This is disguised by the phrase "Your Order Offers: 4 (out of 6 per order)".

At this point I gave up and reverted to the 0800 number. Yes, it took about 10 minutes for a human being to answer, but I flipped it onto speaker phone and enjoyed some background music while I got on with my life. There was even a comedy spot. A recorded message told me that internet booking system was "quick, convenient and secure". I suspect it's only secure because most people give up before actually entering their credit card details.

The actual phone booking -- from me rattling off my selections to having the details confirmed back to me -- took just two minutes. And the cost? The same as booking online.

The Ticketek booking system is bad in so many ways. What's wrong with a one-page booking form like the one they use in printed publications? Or would that make it so easy that people would actually start using the internet?


February 11, 2008

VoIP threats outlined


Voice over Internet Protocol (VoIP) users now have their very own threat list. VoIP News, reporting on the work of a Texas research company, details the Top 5 VoIP Security Threats of 2008 and what you can do about them.

1.  Denial of Services attacks on VoIP networks.
"DoS attacks can overwhelm your company's phone lines, creating long-term busy signals, forced call disconnects and an exhausted work force."

2.  VoIP eavesdropping.
"In June 2007, it was learned that a hacker with a packet sniffer and VOMIT could tap directly into VoIP calls."

3.  Microsoft Office Communications Server hacks.
"Hackers love attacking Microsoft, and Microsoft loves being unprepared."

4.  Vishing (”phishing by voice„) by VoIP.
"With caller ID spoofing, the criminals can be very difficult to track, due to rapidly evolving criminal methodologies."

5.  VoIP attacks against service providers.
"The hacker could... [generate] up to 10,000 messages per second … equal [to] the traffic of 10 million users."

More details on the site.

February 8, 2008

Hidden Linux : Tab-completion


Many Linux newcomers avoid using console windows because they seem to require a lot of typing. What they don't realise is that Linux has a secret speed-up.

It's called tab-completion. Type anything in a console session, hit the <Tab> key and Linux will try to make sense of it. For example, let's say I want to look at a particular icon image using the Gwenview graphical viewer. To do this from a console window requires typing the command

gwenview /usr/share/icons/crystalsvg/128x128/apps/penguin.png

but what I actually type is

gw<tab> /u<tab>sh<tab>ic<tab>cr<tab>12<tab>ap<tab>pen<tab>

If that looks complicated, try it. You'll see how simple it actually is!


Double-tabs
If Linux detects more than one match for the command or file name you're tabbing, it'll warn you by requiring a second tab. Try the above command concluding with

...ap<tab>p<tab>

and nothing will happen because there are multiple files beginning with "p". A second <Tab> however will reveal all possible matches...



This can be a great memory aide too. If all you can remember of that graphical viewer's name is that it starts with a "g", type "g" in a console session, hit <Tab> twice and you'll be prompted with a list of all possible matching commands.



<--Previous Hidden Linux       Next Hidden Linux -->



 





February 1, 2008

Wet bus ticket readied for Telecom slapping

News today that Telecom is to be prosecuted for its 2006 "Go Large" broadband promotion that ran under the banner "Xtra Broadband is about to be unleashed!". The campaign -- promising "unlimited data usage and all the internet you can handle" along with "maximum speed internet" -- was swiftly shown to be an utter farce by readers of this blog.

The Commerce Commission is pushing for a prosecution, alleging breaches of the Fair Trading Act, and saying that Telecom misled the public and made false or misleading representations about the Go Large plan.

Which is all well and good.

What isn't so great is that if Telecom are found guilty, they face a maximum fine of just $200,000. To put that in perspective, their net profit last year was $3 billion -- or around $5,700 per minute. So if they're found guilty and they're hit with the maximum fine, it'll cost 'em just 35 minutes worth of profit.

I bet they're quaking in their boots.

Subscribe
Newsletter & SubscriptionsPC World is New Zealand’s top selling computing and technology magazine.

It provides up-to-the-minute editorial, insight and buying advice for personal computing, cell phones, game consoles, digital entertainment and broadband.
SIGN UP
PCWorldUpdate
PC World's weekly round-up of tech news, gear and game reviews, software selections, and handy How Tos.