Sunday, August 31, 2008

Survey: Runtime trumps cost and safety for battery-purchasers

Survey: Runtime trumps cost and safety for battery-purchasers
Cost was pretty low on most buyers' list of priorities, although safety did take second place.

BatteryA recent survey by Nexergy determined runtime was the top priority for those buying their batteries, which isn’t a huge surprise, but the fact that price was nearly the last thing on buyers’ minds was unsuspected.

“It was a bit surprising,” [Phil Glandon, Nexergy president and CEO] added, “that cost appeared so low on the priority list for both groups we surveyed, and nearly at the bottom among our marketing contacts. Battery performance clearly is seen as a core competitive advantage by our customers, and that should be the primary consideration as we make design decisions on new battery packs for our customers.”

Safety ranked number two on the list, and after seeing more than one incident of exploding cell phone batteries, we can certainly see why. There was also a surprising number of engineers who were unfamiliar with lithium-ion variants and other emerging battery technologies. If you’re in that boat, Giz actually had a solid post on different battery types and how they’re the major chokepoint for mobile technology.


Filed under News | Permalink | No comment | Add to Del.icio.us or Digg


Intergen at Microsoft Tech Ed New Zealand 2008

For you Intergen fans, here is the list of sessions their people are going to be running at this year's Microsoft Tech Ed New Zealand:

[quote]

SOA205 - Extending the Application Platform with Cloud Services - Chris Auld SOA209 - The R... (more in the full post)

Read More

How to validate length of input into a multi-line textbox

How to validate length of input into a multi-line textbox
You can validate the length of input of an ordinary TextBox using the MaxLength attribute.  However, this doesn't work if the TextBox has a TextMode of Multi-line.  In those instances, use this piece of code.

<script type="text/javascript" language="javascript">

   

    function MaxLength()

    {

        var txt = $get("<%=ResponseNote_TextBox.clientid %>");

        var msg = $get("<%=Message_Label.clientid %>");

       

        if (txt.value.length > 500)

        {

            SelectText();

                                                           

            msg.className = "Failure";

            msg.innerHTML = "* Response has more than 500 characters";

        }

        else

        {

            if (msg.innerHTML == "* Response has more than 500 characters")

            {

                msg.innerHTML = "";

            }

        }

    }

   

    function SelectText()

    {

            var txt = $get("<%=ResponseNote_TextBox.clientid %>");

            var rng = txt.createTextRange();

 

            rng.moveStart("character", 501);

            rng.moveEnd("character", 0);

            rng.select();

    }

   

    function RemoveCRLFs()

    {

   // debugger;

    var txt = $get("<%=ResponseNote_TextBox.clientid %>");

    var str = window.clipboardData.getData("Text");

   

    str = str.replace(/(\s*(\r?\n|\r))+$/, '');

   

    txt.value = str ;

       

    }   

       

       

</script>        

 

Page_load:

ResponseNote_TextBox.Attributes.Add("onblur", "javascript:MaxLength()")

ResponseNote_TextBox.Attributes.Add("onpaste", "javascript:RemoveCRLFs()")

 


Google may let users comment on, rearrange search results

Google may let users comment on, rearrange search results
New functionalities to be available to any user, not just those signed in to their Google accounts

Olyimpic stupidity

Olyimpic stupidity

More than once now, have I found myself shaking my head at the morons otherwise known as "on-the-spot" TV journalists.


I can well imagine that an exhausted athlete, sweat pouring from their brow, could well do without being asked a question like "Do you think you tried as hard as you could have?!?"


Lets take a moment to consider the possible responses:


1) Why yes, yes I did!


2) No. For some reason, I just lacked the motivation to fully capitalize on the last 4 years of intense training that all led up to this single critical moment in my life. A moment I will probably relive in my dreams and nightmares for years to come. Nay, a moment I will in fact relive again and again on the couch of my mental health councillor while I fight to rediscover my own self-worth as a human being.


3) I really couldn't say for sure, what do you think?!?


And it's not like it was just one isolated incident. These idiot women who don't know the first thing about what it means to be an Athlete have been let loose on these poor unsuspecting souls, just like a truck-load of ankle biting Chiwawas. Only the chosen few are in the joyous position of not giving a flying sh!t how stupid the questions are, because you guessed it, they won a medal. The Sky could be falling in on their heads and they would probably still have a stupid grin on their faces.


But what was the alternative, Tony Vietch?


U.S to take top spot from UK in mobile web browsing

UK growth in mobile browsing has been dwindling, but American uptake has been high thanks to unlimited data plans and big screens.

First place cupA recent survey by mobile billing service Bango is forecasting increased mobile browsing in the U.S which could bump the UK out of its number one spot. Last month the UK took in 19.35% of global traffic, the US had 18.88%, India 10.82%, South Africa 8.82% and Indonesia 4.08%. AdMob’s recent report corroborates the trend, claiming US ad requests grew 5.8% month over month, while UK traffic saw a -0.5% drop from June. The reason for the uptake?

“The US share of the browsing market has grown as an increasing number of phones come with bigger screens and service contracts that include unlimited internet access,” said Adam Kerr, VP of Bango North America at Bango.

(via cellular-news)


Filed under News | Permalink | No comment | Add to Del.icio.us or Digg

Read More

BlackBerry Connect coming to India

Now plenty of Nokia customers on BPL can get in on the tasty, tasty, BlackBerry services.

<b>BlackBerry</b> Connect on BPL Mobile

Indian carrier BPL is now offering BlackBerry Connect on a wide variety of handsets, including the Moto Q9h and the Nokia Communicator. BlackBerry Connect brings all of the back-end goodness like push email, data security and personal information syncing of BlackBerry to other platforms like Symbian and Windows Mobile. Clearly BlackBerry services are picking up at a decent clip again since that security mess awhile back, and I think we’re all pretty glad to see it.

(via EFYTimes)


Filed under News, Software Release | Permalink | No comment | Add to Del.icio.us or Digg

Read More

Toybox: Polished Firefox 3.0 not always up to speed

Toybox: Polished Firefox 3.0 not always up to speed
But Firefox 3 adds a host of welcome improvements

The BlackBerry Thunder is the Storm 9530 (and the Thunder?)

A leaked image of the box design confirms that the first touchscreen BlackBerry will be called the BlackBerry Storm 9350. The device will also appear on Rogers and Vodafone with the traditional Thunder namesake.

Verizon <b>BlackBerry</b> Storm 9530

This isn’t the usually way most BlackBerry news breaks, but Engadget was able to grab an image of the eventual box design for the Verizon BlackBerry Storm 9530, previously known as the BlackBerry Thunder, shedding light on why RIM’s development teams were referring to the device as the HalleBerry.

However, considering the contentious debate that has occurred on the ‘net over the name of RIM’s first touchscreen BlackBerry, don’t think that’s the whole story. It turns out the BlackBerry Thunder namesake will be used for the eventual Vodafone and Rogers (!!) versions. That’s right, Rogers. So much for a Telus/Verizon exclusive.

Other items of note? Another World Edition phone, the Storm will come with a SIM card, as well as an 8GB MicroSD card. We’ll keep tabs on the story and see what else we can dig up.

(via Engadget)

(...)
Read the rest of The BlackBerry Thunder is the Storm 9530 (and the Thunder?) (140 words)


Filed under News, Rumors, Top Story | Permalink | 2 comments | Add to Del.icio.us or Digg

Read More

Blackberry File Manager

Read More

Friday, August 29, 2008

How to validate length of input into a multi-line textbox

How to validate length of input into a multi-line textbox
You can validate the length of input of an ordinary TextBox using the MaxLength attribute.  However, this doesn't work if the TextBox has a TextMode of Multi-line.  In those instances, use this piece of code.

<script type="text/javascript" language="javascript">

   

    function MaxLength()

    {

        var txt = $get("<%=ResponseNote_TextBox.clientid %>");

        var msg = $get("<%=Message_Label.clientid %>");

       

        if (txt.value.length > 500)

        {

            SelectText();

                                                           

            msg.className = "Failure";

            msg.innerHTML = "* Response has more than 500 characters";

        }

        else

        {

            if (msg.innerHTML == "* Response has more than 500 characters")

            {

                msg.innerHTML = "";

            }

        }

    }

   

    function SelectText()

    {

            var txt = $get("<%=ResponseNote_TextBox.clientid %>");

            var rng = txt.createTextRange();

 

            rng.moveStart("character", 501);

            rng.moveEnd("character", 0);

            rng.select();

    }

   

    function RemoveCRLFs()

    {

   // debugger;

    var txt = $get("<%=ResponseNote_TextBox.clientid %>");

    var str = window.clipboardData.getData("Text");

   

    str = str.replace(/(\s*(\r?\n|\r))+$/, '');

   

    txt.value = str ;

       

    }   

       

       

</script>        

 

Page_load:

ResponseNote_TextBox.Attributes.Add("onblur", "javascript:MaxLength()")

ResponseNote_TextBox.Attributes.Add("onpaste", "javascript:RemoveCRLFs()")

 


I am back, and programming Python now ...

I am back, and programming Python now ...
Well, it's been a very strange year indeed, and not very geeky, with a lot of upheavals in my personal life. However, I'm not going to blog about those ...

I have discovered Python, in a big way. It all started because I got involved with a project (very strict NDA) for a client that uses Python. I'd never really looked at it before ... my coding history was Fortran (at first), then C, C++, Genstat (an obscure statistical modelling package with a powerful  Fortran-like scripting language [url]http://en.wikipedia.org/wiki/GenStat[/url]), lots and lots of Perl for web backends and web crawling, some Java (which I've used a lot but never really liked), some PHP (which I have never and will never like) and a tiny smidge of C# ...

Well, I am seriously enthusiastic about Python. Not quite in the same way Pentecostalists are about God, but not far off. 

I can use it for:

  • web backends using Django
  • my mystery top-secret project with a tight NDA
  • Asterisk AGI scripting
  • the icing on the cake: Apple Cocoa projects
It is also fast becoming the language of choice for mobile devices, a field I am increasingly involved in:




Clippy for VI: What we all have been waiting for

Clippy for VI: What we all have been waiting for
Here is what we command-line users have always wanted. Microsoft's assistant - Clippy - for VI.

I found this animated GIF via reddit on a site called houghi.org. But I have no idea who originally produced this image.

Good stuf... (more in the full post)