Sunday, May 06, 2007

Do I need a new phone?

Blackberry, new treo, or samsung blackjack?


RIM BlackBerry Curve (aka BlackBerry 8300) Reviews. Smartphones Reviews by CNET.
Simply put, it was love at first sight. Though we don't fully understand the name--it's no curvier than the BlackBerry Pearl or any of the other latest BlackBerrys--the RIM BlackBerry Curve offers a best-of-breed design that beautifully combines a full QWERTY keyboard into a sleek and compact form factor. The silver-and-black color scheme is standard but attractive nonetheless. We'll admit there's a slight resemblance to the Palm Treo 680 from the front, but it's much thinner and more manageable in terms of size. In fact, it's the smallest and lightest full QWERTY BlackBerry to date at just 4.2x2.4x0.6 inches and 3.9 ounces. By comparison, the BlackBerry 8800 measures 4.4x2.6x0.5 inches and 4.7 ounces, while the Treo 680 measures 4.4x2.3x0.8 inches and 5.5 ounces.

RIM BlackBerry Curve


RIM BlackBerry Curve

















This is my stock screenshot... how does it look? :)

Friday, May 04, 2007

yummy frog juice



Frog juice in high demand in Peru - Yahoo! News
LIMA, Peru - Carmen Gonzalez plucks one of the 50 frogs from the aquarium at her bus stop restaurant, bangs it against tiles to kill it and then makes two incisions along its belly and peels off the skin as if husking corn.
ADVERTISEMENT

She's preparing frog juice, a beverage revered by some Andean cultures for having the power to cure asthma, bronchitis, sluggishness and a low sex drive. A drink of so-called "Peruvian Viagra" sells for about 90 cents.

Gonzalez adds three ladles of hot, white bean broth, two generous spoonfuls of honey, raw aloe vera plant and several tablespoons of maca — an Andean root also believed to boost stamina and sex drive — into a household blender.

Tuesday, April 17, 2007

Disney Princess Gowns



Disney offers princess gowns to brides - Yahoo! News
NEW YORK - So many brides say they want to look like a princess on their wedding day — and now we're about to find out if they mean really mean it.
ADVERTISEMENT

The Walt Disney Co. has teamed with bridal designer Kirstie Kelly to create a collection of gowns inspired by the favorite Disney princess characters, Cinderella, Sleeping Beauty, Snow White, Ariel from "The Little Mermaid," Belle from "Beauty and The Beast" and Jasmine from "Aladdin."


Mags, you cannot wear this around the apartment.

Sunday, April 15, 2007

6mbps down 600 up

Wowers!



So I moved into this new apartment 2 blocks up the street. Mags and I decided to upgrade our DSL.



We now get 5mbps! All this fancy ajax stuff isn't slow anymore! Now to see if my bittorrent stuff is any slower....









Wednesday, February 21, 2007

log4j.properties

Whenever you use log4j, make sure you stuff the log4j.properties inside your classpath. I always put the file inside the directory, but I forget to put it in the classpath. I then spend a hours wondering why nothing is being outputted into the logs.

Tuesday, February 20, 2007

Install Notify Errors for Motorola Phones

Be careful.... sometimes the url on the install notify for OTA is too long, and it will causes some motorola devices to reject the jad and jar.







Content Delivery [The Wireless FAQ]

906 Invalid descriptor Indicates that the device could not interpret the Download Descriptor. This typically means a syntactic error.

Monday, February 19, 2007

Nokia Cell Phones ignore the meta refresh....

For all you mobile wap developers...



The nokia phones like to ignore the meta-refresh tag.



 http-equiv="refresh" content="5" />

If you need do a long operation for a website like loading email or pulling up data for a report, this tag will be unreliable.



You will need to implement some sort of polling mechanism, where the user clicks on the link manually every 5 seconds to gather the information.



To go through a directory of log files and delete them on unix

for FILE in `find /home/evilsquid/logs -maxdepth 1 -mtime -1 -name *.log`

do

echo $FILE

rm $FILE

done



This is a useful tidbit if you need to do some log file monitoring....



Friday, February 16, 2007

Don't eat my kitty





Chinese animal rights victory takes cats off the menu | Special reports | Guardian Unlimited


Chinese animal rights victory takes cats off the menu


Jonathan Watts in Beijing
Tuesday February 13, 2007
The Guardian

China's nascent animal rights movement claimed a rare victory today after rescuing more than 400 cats that were about to be slaughtered for their fur and meat.

They were saved from a market in Tianjin after a standoff last week between 100 pet lovers and police which left one protester hospitalised.

Until recent years, respect for animal rights was almost non-existent in China, but the country's rising affluence has brought with it a pet-pampering middle class. Activists are becoming bolder, posting video footage of cruel treatment on YouTube and staging protests.

Article continues
In the latest confrontation, 100 supporters of the "Love Kitty" group in Tianjin surrounded a market, where cats and dogs were being slaughtered. Many of the protesters were local people who had lost their pets and suspected the animals had been abducted by furriers. The police refused to support the animal protection group because there is no law in China against killing cats and dogs, and all the animal traders were licensed.

Lu Di, director of the Small Animal Protection Association, said: "The demonstrators were afraid that the killings were continuing behind the closed doors so they made their way inside. They found cats crammed inside tiny wire cages about 10cm [4ins] high. About 80 police officers arrived and there were scuffles. One man suffered a head injury and is still in hospital."

To avoid further clashes, the Hebei provincial government allowed the cats to be taken to Ms Lu's shelter in Beijing. It has been difficult for her small, non-profit organisation to cope with so many mistreated animals.

Thursday, February 15, 2007

Bow Wow





Mother cat adopts newborn Rottweiler - Yahoo! News

The tiny pup, named Charlie by Humane Society volunteers, nurses alongside a jumble of black and gray kittens recently born to Satin, who was taken to the shelter by an owner unable to care for her.

Tuesday, January 16, 2007

how to get the imei for a nextel phone



Every Nextel phone has a unique number that identifies it. Depending on your phone model,
you will need to locate a SIM ID or an IMEI number.





SIM ID phones






















i30sx, i35s,
i50sx, i55sr, i58sr, i60c, i80s, i85s,
i88s, i90c, i95cl, i99cl, i205, i305,
i530, i730, i733, and 2004 NASCAR NEXTEL Cup Series™ phones
1. In a quick sequence, press # * MENU right arrow on your phone's keypad
to pull up the Trace Mode menu.
2. Scroll down to IMEI/SIM ID and press the option button (•) under VIEW,
or press OK to display your IMEI and SIM ID.
3. Add a zero to the end of your SIM ID for the complete, 15-digit number.



stolen from





http://www.nextel.com/registration/wiz_info_imei-sim.shtml

Adding unix services on startup

As root run:



/sbin/chkconfig --add mysqld



then run



/sbin/chkconfig --list to check

Monday, January 08, 2007

Should I do it? Should I modify my old controllers to make a xbox 360 controller?

http://www.gamersreports.com/article/24/

Launching new blog

Hey folks!



I am launching a new blog at evil pufferfish.com!



please visit and click on links! Add a link on your blog please!

Thursday, January 04, 2007

Good Log4j documentation

This page here has good log4j documentation.



http://www.vipan.com/htdocs/log4jhelp.html



I usually do not need to modify my log4j.xml very often, but it's often pretty hard to find good documentation.



Monday, January 01, 2007

Happy New Year!

Happy new year everyone!



I'm amazed it's 2007 already. I am such a lucky person, my amigos and wife pitched in and got me a xbox 360!



Anyone on xbox live? what is your friendtag?





Happy new year!

Alert tabby saves family from fire

Timmy the tabby sprang into action by waking his unidentified owner when a mattress caught fire as the family slept early Friday in Cairns in Australia's tropical north.

"The cat was probably the best smoke alarm system ... it was clawing at the occupant's face and got him up and out of bed," Cairns fire service spokesman Robert White-Macfarlane told reporters.


Alert tabby saves family from fire

powered by performancing firefox

Monday, December 11, 2006

If you are using maven to generate your intellij project files, and you get a:

java.lang.StringIndexOutOfBoundsException: String index out of range: -1

make sure you add a slash to all of your basedir variables

${basedir}/

Saturday, December 09, 2006

This is how to run an ant script from a maven pom file. Useful if you do not want to do silly things like rewrite ant scripts.




4.0.0
my-test-app
my-test-group
1.0-SNAPSHOT





org.apache.maven.plugins
maven-antrun-plugin


compile
compile








run





ant
ant-antlr
1.6.5


antlr
antlrall
2.7.4