2009年12月11日 星期五

Mobile Communications Buying Guide

DSCN3321

Tell me why you want to buy a new mobile phone. Maybe your old cell phone is broken, maybe  you only want to buy a new one. I can tell you why I bought Nokia 5800.In the beginning I borrowed Google Android SDK開發範例大全 from the school library. This book is very popular in many Taiwanese bookstores. I hit upon an idea of a smartphone that would help me to imporove the skill of the phone programs.

DSCN3322

I have an old Motorola’s phone and it seems to be installed JAVAME programs. I tried but I failed. So I need a newer 3.5g mobile. I read the pages of “ Mobile Communications Buying Guide” and “Fashionable Mobile Phones Buying Guide”. They suggested we can buy Apple iPhone 3G, HTC Touch, Samsung Instinct, RIM Blackberry Pearl, Nokia N95, Palm Centro, Samsung Tocco or Sony Ericsson K-770i Cyber-Shot. The system of Apple iPhone 3G is no free so I do not consider it. I very prefer HTC Touch, but at a price. So I choice Nokia because the mobile operating system is free and the price is low.

Which one is the best? Nokia 5800 is the cheapest smartphone I think. Where can I buy it? In Taiwan there is no store or shopping site like ShopWiki.

2009-12-11_155616

We can easily input “nokia 5800” in the textfiled on the upper right corner of the site or the bottom of the site. The search results in thousands of records and we can choice the cheapest or the best store to buy Nokia 5800 we like.The search result page has a special filter feature to help you to find exactly what you're looking for on the right of the page.

2009-12-11_160351

2009-12-11_160437

Today that using your cellular phone while driving without a hands-free device can land you up to two years behind bars, it might be a good time to take procuring a Bluetooth headset like this into account.

DSCN3332

I bought it on Yahoo for NT $250 dollars. At the below suggestions, you can also choose a headset to suit your particular needs.

I like the site and here's that site. Enjoy!

2009年12月9日 星期三

Ventrilo Hosting Servers

How do you feel the Ventrilo Hosting Servers at first sight? I feel it is a virtual host. But when I surf the page about Ventrilo, I see Ventrilo Hosting Servers are VOIP Gaming Servers.The VOIP catch my attention because I wrote the “Ubuntu 架 VoIP server” article about setting up a VOIP server. But I think it is difficult for most people so we can appeal to ventrillo for help. And I wrote the “渴望的平板電腦”article about a dead simple web tablet. It would be great to have it be built entirely on open source hardware, but including Skype for VOIP and video calls may be a nice touch, too.

We can talk to the persons who you know well or our parents and children with home / personal software like Ventrilo or play the organized online games where Voice Comm can cause them to be further exciting and creative. Ventrilo can also be used in a business environment as an efficiency tool for organizing interurban group discussions like my company. This would assist while using group collaboration software that doesn't offer any kind of digital speech communication support too. The tablet, the Ventrilo Client and Server program will be the perfect combination.

In the “SDK中的API外掛程式”article we can know there is an API Plug-in for the S60 5th Edition SDK for Symbian OS, for C++ in my Nokia 5800. It allows control of audio by 3rd party VoIP client applications. So It seems to be interesting to develop the study of the API and Ventrilo Hosting Servers.

We may be faced with a difficult decision why we select Ventrilo Hosting Servers. I look some people’s testimonials.Death Jesters said,”Ventriloservers.biz has had the most excellent customer service. The ping times are outstanding on the servers and they support both PC and Mac codecs.”Nomilk said,”No downtime and clear channels at all times.”Mazrigos EU,”Their response time is very fast and web admin control panel makes it easy to configure your server.”Derek said,”Ventrilo is a very important part in a guilds foundation and after being screwed by 3 other Ventrilo suppliers Ventriloservers.biz came down like a light from heaven in our time of need, very good customer service, treats their customers like family which is rare to see these day, easy to use site and admin tools, and awesome prices.”.Look! There are many advantages to use Ventrilo Hosting Servers. So why not buy the service?

Maybe you still set up a VOIP server by yourself. But characteristically, a web site or a group of sister companies like my company that produce a big, considerable amount of traffic are among those who should think dedicated hosting. Such a hosting solution enables the development of a high-end or complicate business. A hosting server needs an air-conditioned room.If you like me living in Taiwan, You will find the electricity fee is very high. Maybe you think setting up a linux server hosting is cheap because the operating system is free. However you need to know the activities, methods, procedures, and tools that pertain to the operation,administration,maintenance, and provisioning of networked systems. Believe me. You will spend most of your life to learn it because I stiil read many books about how to manage the sites.

There is no doubt at all that the best game server hosting is Ventrilo Server.

Ordering a New Service include:

  • Instant Setup
  • Private Ventrilo Server
  • State of The Art Control Panel
  • All Codecs / Formats Included
  • No Bandwith Limit - Premium Servers - 100 mb Linux Network

Don’t let the grass grow under your feet.

2009年12月2日 星期三

No download Top Posts by Category

I want to use the pligin "Top Posts by Category" on my site(工作達人), and I read this article "WordPress Plugin: Top Posts by Category". The download link is failed so I can not download it.

2009年11月24日 星期二

10 easy guidelines to understand variable annuity insurance

The 30-year-old office lady Meiru is a typical non-married hedonist. Therefore, her monthly income of more than 40,000 dollars to the end is always running out. She graduated from many years but the amount is always single-digit in the passbook. As I have sworn to her, I can not help but worry for her. What if you goes on like this?
I can suggest 10 easy guidelines to help you to know variable annuity insurance :
1.The amount and method of charging fees
2.The times of investment targets free transfer per year
3.How may investment targets you can select
4.Measure the long-term financial planning
5.Measure your risk properties
6.Guarantee to avoid the downside risk of investment
7.To control the 10-day withdrawal period of contractual rights
8.Pensioners calculations
9.Purchase riders
10.How long the accumulation period and guaranteed period
We also can google "life insurance policy limitations" and know the limitations on the amounts of coverage we can purchase.
And if you have cars like me. You need to know “what is car insurance?” and “what is a car insurance deductible?”.
On the site we can leran more about any insurances. When we retire, we can have more money and more leisure to enjoy it easily without worry.

No 7 Wholesale

I do not smoke because tobacco use leads most commonly to diseases affecting the heart and lungs and I am a member of The Church of Jesus Christ of Latter-day Saints. In DOCTRINE AND COVENANTS 89:8,”And again, tobacco is not for the body, neither for the belly, and is not good for man, but is an herb for bruises and all sick cattle, to be used with judgment and skill.”

My sister and I dislike my father to smoke. He smokes many cigarettes a day. And It stinks of smoke in our house. I think quitting smoking is very difficult for him and he is not a church member. Recently I found an electronic cigarette. For those of you who have your home in Austria can ask for them to be supplied and obtain these electronic cigarettes on page E-Cigarettes Austria on the site. You can surf the E-Cigarettes Belgium page to know the smokers smart choice is No.7 E-Cigarettes and something about this company. Form E-Cigarettes Brazil you can know how to buy them and the pricing is suitable.

It may be cool for you like my father. In Hong Kong it seems to have some shops to sell the electronic cigarettes.

Xbox Live

I see the twitter,”

hemang27shah: @josetapadas i will send you one if you can give me a Xbox Live Code

josetapadas: @hemang27shah hey! can you send me one? jose.tapadas (at) gmail.com please!

hemang27shah: @josetapadas ill tell you what...i sent you an invite to lockerz.com..sign up there and i will give u google wave..check ur email”.

I do not know the meaning.  So I surf Google wave and find the message. I have a Google account. Why can't I sign in to Google Wave?,”Even though you have a Gmail or a Google account, you must be invited to Google Wave in order to sign in. If you haven't been invited by a friend, you won't be able to use the service at this time.”So if I give  hemang27shah a Xbox Live Code, I can play Google wave. Ha ha! This is a good deal for hemang27shah. But he can go to the BuyMMOAccounts.com’s site to buy the xbox live gold codes and be ready to use in under 30 minutes after his purchase. I think Xbox Live may be cooler than Google wave.  So I prefer to have a xbox live gold and I can enjoy the game.

http://www.x4labs.com/why-we-are-different.php

In Taiwan there is a strong culture of silence and inability to talk about rectile dysfunction with other people. It is difficult for me to understand the meaning when I read the page “doctor recommended penis enlargement”. Who needs the penis extender? So I continue to study the site about penis enlargement. I have to admit many English expressions and vocabulary related to the medical field is not easy for me. I only know there are two commonly used types of traction devices used for penis extenders, the modern 1 inch wide silicone comfort strap and the classic noose.  The very special technique of 1 inch wide silicone comfort strap provides persons who are receiving medical treatment from a doctor or hospital with an better level of comfort and improved blood circulation, two fundamental factors of the penis enlargement process. And I know that X4 Labs and their unique Hybrid Traction System offers patients the ability to choice which system suits them best.

What is the X4 Labs?  X4 Labs, a Canadian medical research and development business organization, has worked closely with leading male-health specialists and urologists to make the world's first Hybrid Support System-based penis extender successful.

If you feel it is useful. You can get information from the site. And I believe the doctor can slove your problems.

gold future

I desire to start by asking an easy problem. What is the most valuable material or product on earth? I believe that gold has the greatest significance. I read Nick Godt, MarketWatch,” NEW YORK (MarketWatch) -- Gold futures finished at a record Friday, after earlier tapping $1,100 an ounce, as news that the U.S. unemployment rate topped 10.2% in October lifted expectations the Federal Reserve will keep interest rates near zero well into next year, pressuring the dollar.”

"By year end, it wouldn't surprise me to [see gold] test $1,200 and then $1,300 by early next year before we see some consolidation." said Joe Foster, manager of the Van Eck International Investors Gold Fund. I think this will happen. So why not try collecting certified gold coins to see if we can earn some money.

I surf the net looking for information on American eagle gold coin value. On the site of the United States Mint it says “Authorized by the Bullion Coin Act of 1985, American Eagle Gold Bullion Coins quickly became one of the world's leading gold bullion investment coins”. American Eagle Gold Bullion Coins have some advantages:

  • Government Guarantee
  • Investing in Gold
  • Easy to Buy and Sell

It seems to be a good investment. Now it will make me change my mind. I continue to read Rocky Vega,”Why Gold Bullion May Outperform Mining Stocks”. He said ”It’s been 14 months since mining stocks were last as expensive as they are now relative to physical gold. So, mining stocks may turn the performance lead back over to the bullion price”. So you should not buy mining stocks. You ‘d better watch out this warning.

Fun Holiday Eyeglasses from Zenni

Recently I received the ZenniOptical.com’s e-catalog. There are Holiday Fun Eyeglasses, New Arrivals and $8 Prescription Zenni Glasses. Sophia and I talked to each other which Frames are the best. According to her personal feeling, she thinks Frame#:  4999 Stainless Steel Half-rim Frame is the most beautiful frames in thee-calalog of  New Arrivals.

image

And Frame#:  4436 Acetate Full-Rim Frame with Design on Temples suit my pedant’s need.

image

It’s too much fun.

uSing2 Online karaoke

A Karaoke was a familiar type of entertainment in Taiwan when I was young. In Taiwan a Karaoke and a popular MTV combine to form a modified karaoke box is called a KTV. Sometimes many of my friends like singing in the KTV. But recently I can't afford it, it's too expensive. And we play a competitive music video game series for the PlayStation consoles in our homes. And this is cheaper than singing in the KTV or Karaoke. Today I want to introduce another new amusing website is called uSing2 for your friends who love to sing. 

2009-11-25_101951

You do not need any karaoke hosting software like Singstar as long as you have a PC and microphone.

But today unfortunately, I can not register at the site in my company’s computer. So I will test it another day.

2009年11月16日 星期一

Read Google DON’Ts

I read JohnChow’s article,”Google DON’Ts” and find it is useful for seo.

There are:

1. Never Seek Quick Fixes

2. Avoid Link Farm

3. Avoid Splash Pages

4. Avoid Frames

5. Avoid Cookies

6. Avoid JavaScript when Possible

7. Avoid Search-Box Navigation

8. Avoid Redirects

9. Avoid Internal Dynamic URLs on the Home page

10. Session ID’s

11. Eliminate Pop-Up Ads

12. Eliminate Hidden / Invisible Text

Why Never Seek Quick Fixes? I do not know and I can not search any result about this on Google.The 2、3、4、5、6 items are good suggestions.

And Avoid Search-Box Navigation we can read EPORIA’s article,”SEO Best Practices Do’s and Don’ts Part 2”. We don’t let the search tool be your site’s primary method of navigation. Search engine crawlers cannot enter text into the search box to find your pages. For Pop-Up Ads I think many people hate the ads.

2009年11月9日 星期一

Read Man Woman & Mathematics

Last week I read Man Woman & Mathematics,”

Romance Mathematics

  • Smart man + smart woman = romance
  • Smart man + dumb woman = affair
  • Dumb man + smart woman = marriage
  • Dumb man + dumb woman = pregnancy

Office Mathematics

  • Smart boss + smart employee = profit
  • Smart boss + dumb employee = production
  • Dumb boss + smart employee = promotion
  • Dumb boss + dumb employee = overtime

Shopping Math

  • A man will pay $20 for a $10 item he needs.
  • A woman will pay $10 for a $20 item that she doesn’t need.

General Equations & Statistics

  • A woman worries about the future until she gets a husband.
  • A man never worries about the future until he gets a wife.
  • A successful man is one who makes more money than his wife can spend.
  • A successful woman is one who can find such a man.

Happiness

  • To be happy with a man, you must understand him a lot and love him a
    little.
  • To be happy with a woman, you must love her a lot and not try to
    understand her at all.

Longevity

  • Married men live longer than single men do, but married men are a lot
    more willing to die.

Propensity To Change

  • A woman marries a man expecting he will change, but he doesn’t.
  • A man marries a woman expecting that she won’t change, and she does.

Discussion Technique

  • A woman has the last word in any argument.
  • Anything a man says after that is the beginning of a new argument. “
  • It seems a joke and very interesting.

2009年11月3日 星期二

Fun Holiday Eyeglasses from Zenni

image

This weekend I were on vacation in Kaohsiung. I surfeded Zenni’s site to check my fun holiday Eyeglasses. My sister suggested  4475 Acetate Full-Rim Frame was the coolest style  Eyeglasses from Holiday Fun Eyeglasses, New Arrivals, and $8 Prescription Zenni Glasses pages. But she said it’s not for me.  It suited the pop stars like Faye Wong. She is an icon popular in mainland China, Taiwan, Hong Kong, Singapore, Malaysia, Indonesia, Japan and to some extent in the West.

2009年10月30日 星期五

2009年10月29日 星期四

3 言 2 語: SmartCam and Nokia 5800

3 言 2 語: SmartCam and Nokia 5800
This is useful for my nokia 5800. I can put the video on my blog.
It will be very cool.

NetBeans Java ME CLDC/MIDP Development Quick Start Guide

This is from NetBeans Java ME CLDC/MIDP Development Quick Start Guide,but some is old. So I update it here.

his document guides you through the basic steps of using NetBeans IDE to create a Java™ Platform, Micro Edition (Java™ ME platform), Mobile Information Device Profile (MIDP) application and is designed to get you started with mobile application development as quickly as possible. The tutorial takes you through some of the basic steps of working with the project system. We show you two ways to create a Java ME MIDP project named "MyHello" that displays the text "Make my day" in a device emulator. This tutorial prepares you to use other IDE features for developing CLDC/MIDP applications.

Contents
Content on this page applies to NetBeans IDE 6.7

Requirements

To complete this tutorial, you need the following software and resources:

Software or Resource
Version Required

NetBeans IDE with Java ME
Version 6.7

Java Development Kit (JDK)
Version 6 or
version 5

For help getting your system set up, please see the installation instructions.

MacOS users should refer to the MIDP Development on Mac OS Set Up Guide.

Creating a MIDP Application Using the Visual Mobile Designer

The NetBeans IDE provides a wizard that enables you to quickly create a MIDP project. When creating the project, you can choose to develop your application in the Visual Mobile Designer (VMD) or in the Source Code Editor. Using the Visual Mobile Designer gives you the ability to graphically plan out the flow of the application and design the screens the application uses. The designer automatically creates the code for the application.

Creating a MIDP/CLDC Application
  1. Choose File > New Project (Ctrl+Shift+N). Under Categories, select Java ME. Under Projects, select Moblie Application and click Next.
  2. Enter MyHello in the Project Name field. Use the default Project Location, or change it to the directory you prefer on your system. In this tutorial we refer to this directory as D:\source\java.
  3. Check the Set as Main Project and Create Hello MIDlet check boxes (both are checked by default). Click Next.
  4. Select the Java(TM) Platform Micro Edition SDK 3.0 as the Emulator Platform and use the remaining defaults. Click Next. 2009-10-29_164922
  5. Click Finish. The IDE creates the D:\source\java\MyHello project folder. The project folder contains all of your sources and project metadata, such as the project Ant script. The application itself is displayed in the Flow Design window of the Visual Mobile Designer.

    Flow view of Hello Midlet in IDE

    Note: for a complete description of the available palette components, please refer to the Visual Mobile Designer Palette Reference.

Editing the Java Source Code

Now let's edit the text displayed by the MIDlet.

  1. Click on Screen. This opens the Screen Designer window, and displays the Device screen, which is the only screen available in the application.
  2. In the Palette window, click Text Field and replace the text “Hello, World!”into "Make my day".

    2009-10-29_170957 

  3. The Screen view displays a preview of the text you enter in the Text Field.

    The text 'Make my day' is visible in Device Screen preview in the VMD's Screen view.

Compiling and Running the Project
  1. Choose Run > Run Main Project (F6) from the Run menu. Follow the progress of the project compilation in the Output window. Note that the HelloMIDlet.java file is built before it is executed. A device emulator opens to display the results of the executed MIDlet. The default device emulator is ClamshellCldcPhone1.
  2. In the device emulator window, click on the button below the Launch command. The device emulator launches the MIDlet and displays the text you entered in the source code.

    2009-10-29_172052 

  3. Click on the button 2009-10-29_172721 to close the MIDlet. Then click on the button in the upper right corner of the device to close the emulator window.

Creating a MIDP Application Using the Source Editor

Using the Source Code Editor, you manually create the code for your MIDlets. Creating code in the Source Code Editor gives you more flexibility when editing the code, and enables you to insert preprocessor code blocks. Next we create the MyHello application using the New Project and New File wizards, and complete the code using the Source Editor.

Creating a New Java ME MIDP Project
  1. Choose File > New Project (Ctrl-Shift-N). Under Categories, select Java ME. Under Projects, select Moblie Application and click Next.
  2. Enter MyHelloMIDlet in the Project Name field (note that "MID" is in upper case letters). Use the default Project Location, or change it to the directory you prefer on your system. We refer to this directory as D:\source\java in this tutorial.
  3. Check the Set as Main Project checkbox and remove the check from the Create Hello MIDlet checkbox. Click Next.
  4. Select the Java(TM) Platform Micro Edition SDK 3.0 as the Emulator Platform and use the remaining defaults. Click Next.
  5. Expand "Configuration templates provided by installed CLDC platforms" and "Java(TM) Platform Micro Edition SDK 3.0" folders. Check the boxes next to each of the configurations. The IDE automatically creates a new project configuration for each template listed.
  6. Click Finish. The IDE creates the D:\source\java\MyHelloMIDlet project folder. The project folder contains all of your sources and project metadata, such as the project Ant script.
  7. Right-click the MyHelloMIDlet node in the Explorer window and choose New > MIDlet
  8. Enter HelloMIDlet as the MIDlet name (note that "MID" is in upper case letters by default). Click Finish. The HelloMIDlet.java file is created and the source code is displayed in the IDE's Editor window.
  9. Click in the Source Editor and change
    public class HelloMIDlet extends MIDlet

    to

    public class HelloMIDlet
    extends MIDlet implements javax.microedition.lcdui.CommandListener
    {



  10. Add the following text before the startApp() method:

        private void initialize() {
    javax.microedition.lcdui.Display.getDisplay(this).setCurrent(get_helloTextBox());
    }

    public void commandAction(javax.microedition.lcdui.Command command, javax.microedition.lcdui.Displayable displayable) {
    if (displayable == helloTextBox) {
    if (command == exitCommand) {
    javax.microedition.lcdui.Display.getDisplay(this).setCurrent(null);
    destroyApp(true);
    notifyDestroyed();
    }
    }
    }

    private javax.microedition.lcdui.TextBox get_helloTextBox() {
    if (helloTextBox == null) {
    helloTextBox = new javax.microedition.lcdui.TextBox(null, "Make My Day", 120, 0x0);
    helloTextBox.addCommand(get_exitCommand());
    helloTextBox.setCommandListener(this);
    }
    return helloTextBox;
    }

    private javax.microedition.lcdui.Command get_exitCommand() {
    if (exitCommand == null) {
    exitCommand = new javax.microedition.lcdui.Command("Exit", javax.microedition.lcdui.Command.EXIT,
    1);
    }
    return exitCommand;
    }
    javax.microedition.lcdui.TextBox helloTextBox;
    javax.microedition.lcdui.Command exitCommand;



  11. Add a line initialize(); to the startApp() method, so it looks like the following:

      public void startApp() {
    initialize();
    }




Editing the Java Source Code


Now let's add some text for our MIDlet to display.




  1. In the get_helloTextBox() method, replace the "test string" code with the text of your choice. For example, "Make my day."



Note: For a complete guide to using the Java Source Editor in NetBeans see Java Editing in NetBeans IDE.



Compiling and Running the Project



  1. Choose Run > Run Main Project (F6) from the Run menu. Follow the progress of the project compilation in the Output window. Note that the HelloMIDlet.java file is built before it is executed. A device emulator opens to display the results of the executed MIDlet. The default device emulator is ClamshellCldcPhone1.


  2. In the device emulator window, click on the button below the Launch command. The device emulator launches the HelloMIDlet and displays the text you entered in the source code.

    2009-10-29_174154



Night Walker: Change NetBeans IDE interface language

Night Walker: Change NetBeans IDE interface language: "--locale en:US."

This parameter is very useful for me.

2009年10月6日 星期二

Making A Million Dollar

I read JohnChow's article about "Making A Million Dollar On The Net". Alex Tew was smarter than I am. He has a good idea 『turn his home page into a billboard made up of a million dots, and sell them for a dollar a dot to anyone who wants to put up their logo. A 10 by 10 dot square, roughly the size of a letter of type, costs $100. He sold a few to his brothers and some friends, and when he had made $1,000, he issued a press release.』
I look the site million dollar home page and say "wa". It is very cool.

2009年10月1日 星期四

pyDanny: Feedparser does not work with Google App Engine

pyDanny: Feedparser does not work with Google App Engine
Now may be Goole App Engine do not offer feedparser api to fetch feed.
I always get the errors:
No module named feedparser

2009年9月24日 星期四

Visionary Reloaded

I used this template on this blog and still modifying it.

Add Google Analytics to My Blogger Blogs

I follow Andy Wibbels's How to Add Google Analytics to Your Blogger Blogon ㄚ琪的Blogger部落格 and nokia 5800. Good articles and I will monitor the result of the Google Analytics.

2009年9月23日 星期三

TOP POSTS

Recently My site http://job.achi.idv.tw always crashed. So I focus on the blogger and buid a new template. I imitate http://john-chow-blogger-template.blogspot.com/. When I want to have the function of "TOP POSTS", I found the site Top Posts Widget for Blogger and http://feed2js.org/.
I test them, but feed2js.org seems to be good because we can immediately use it.

2009年9月17日 星期四

Blogger Trackback

I think this script is useful for use firefox to post blogger's articles.But if we use IE, we can not use the script.So I think it is not very good.

App Engine Blog

I use micolog and fix the problems from

2009年9月16日 星期三

Retest proxy pppcfg.py

Finally, I find we need upgrade python to 2.6, fix the two programs urllib2.py and httplib.py and set http_proxy and https_proxy.
It would upload app successfully.

ERROR appcfg.py:1235 An unexpected error occurred. Aborting

Scanning files on local disk.
Initiating update.
Email: XXX@gmail.com
Password forXXX@gmail.com:
2009-09-17 09:03:56,855 ERROR appcfg.py:1235 An unexpected error occurred. Abort
ing.
Traceback (most recent call last):
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.p
y", line 1213, in DoUpload
missing_files = self.Begin()
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.p
y", line 1009, in Begin
version=self.version, payload=self.config.ToYAML())
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appengin
e_rpc.py", line 312, in Send
self._Authenticate()
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appengin
e_rpc.py", line 344, in _Authenticate
super(HttpRpcServer, self)._Authenticate()
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appengin
e_rpc.py", line 233, in _Authenticate
auth_token = self._GetAuthToken(credentials[0], credentials[1])
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appengin
e_rpc.py", line 177, in _GetAuthToken
response = self.opener.open(req)
File "C:\Python25\lib\urllib2.py", line 381, in open
response = self._open(req, data)
File "C:\Python25\lib\urllib2.py", line 399, in _open
'_open', req)
File "C:\Python25\lib\urllib2.py", line 360, in _call_chain
result = func(*args)
File "C:\Python25\lib\urllib2.py", line 1115, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "C:\Python25\lib\urllib2.py", line 1082, in do_open
raise URLError(err)
URLError:
Traceback (most recent call last):
File "C:\Program Files\Google\google_appengine\appcfg.py", line 60, in >
run_file(__file__, globals())
File "C:\Program Files\Google\google_appengine\appcfg.py", line 57, in run_fil
e
execfile(script_path, globals_)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.p
y", line 1974, in
main(sys.argv)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.p
y", line 1965, in main
result = AppCfgApp(argv).Run()
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.p
y", line 1418, in Run
self.action(self)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.p
y", line 1879, in __call__
return method()
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.p
y", line 1669, in Update
lambda path: open(os.path.join(basepath, path), "rb"))
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.p
y", line 1213, in DoUpload
missing_files = self.Begin()
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.p
y", line 1009, in Begin
version=self.version, payload=self.config.ToYAML())
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appengin
e_rpc.py", line 312, in Send
self._Authenticate()
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appengin
e_rpc.py", line 344, in _Authenticate
super(HttpRpcServer, self)._Authenticate()
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appengin
e_rpc.py", line 233, in _Authenticate
auth_token = self._GetAuthToken(credentials[0], credentials[1])
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appengin
e_rpc.py", line 177, in _GetAuthToken
response = self.opener.open(req)
File "C:\Python25\lib\urllib2.py", line 381, in open
response = self._open(req, data)
File "C:\Python25\lib\urllib2.py", line 399, in _open
'_open', req)
File "C:\Python25\lib\urllib2.py", line 360, in _call_chain
result = func(*args)
File "C:\Python25\lib\urllib2.py", line 1115, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "C:\Python25\lib\urllib2.py", line 1082, in do_open
raise URLError(err)
urllib2.URLError:

How to solve the problem?

How to solve no proxy in appcfg.py

The problem is very Strange.But I google the question and find the solution. Look at the page:http://code.google.com/p/googleappengine/issues/detail?id=126
I follow sachingm's comment and success.
The content post blew:
Hi

Finally got my app to upload to the server. :)

My machine is Win XP with Python 2.6 and my proxy requires user/password authentication.

I had to apply the Python patch AND use ntlmaps proxy (doing only 1 of either gets
you misleading errors. Btw alexander.trakhimenok, I too got those infinite dots on
the NTLSMaps console but this was resolved when I did the patch).
I tried arthurfreeman's appcfg.py (and added yaml) but it did NOT help - so I
reverted to the original appcfg.py.

Final Steps:
1) Install the Python patch from http://bugs.python.org/issue1424152.
Its not just urllib2.py that needs to be patched but httplib.py as well. I've
attached both these PATCHED files for Python 2.6. Just replace your corresponding
files with these.

2) Download the latest ntlmaps proxy (v0.9.9?) from http://ntlmaps.sourceforge.net/
(its only 71kb!).
Change the following attributes in server.cfg: PARENT_PROXY, NT_DOMAIN, USER, PASSWORD.
You can leave the password empty and it will prompt you when you start ntlmaps.

3) Set the following environment values:
set HTTP_PROXY=localhost:5865
set HTTPS_PROXY=localhost:5865
(5685 is the default port used by ntlsmaps which can be changed in server.cfg)

4) Start up the ntlsmaps proxy by running runserver.bat (you might have to edit the
bat file to point to your actual python executable).

5) Test whether ntlsmaps is working by changing your browser proxy to point to
localhost:5865, and try to access some sites. If this fails, your proxy is probably
not understood by ntlsmaps or vice versa - try to finetune ntlsmaps some more.

6) Finally run your upload command:
appcfg.py update xyz/
Hopefully you should get something like this:
...\appcfg.py:40: DeprecationWarning: the sha
module is deprecated; use the hashlib module instead
DIR_PATH,
Scanning files on local disk.
Initiating update.
Email: xyz@gmail.com
Password for xyz@gmail.com:
Cloning 2 static files.
Cloning 5 application files.
Deploying new version.
Checking if new version is ready to serve.
Will check again in 1 seconds.
Checking if new version is ready to serve.
Closing update: new version is ready to start serving.
Uploading index definitions.

Thanks A ZILLION to all the above posters...
urllib2.py
48.7 KB Download
httplib.py
44.7 KB Download

But I test if I do not run ntlmaps, it seems to be ok. I need to retest.

2009年9月10日 星期四

Yuren's Info Area: java + mysql + unicode

Yuren's Info Area: java + mysql + unicode
Recently I use the site "部落格觀察" to look at large amounts of information that has been collected on a computer and using it to provide new information. I used htmlparser class and it is a very useful tool to parse html. Then I need to use the useUnicode=true and characterEncoding=utf8 parameters to insert records to MySQL.
Good article!

2009年8月21日 星期五

jikker的隨手雜記: Nokia 5800 WiFi MAC查法

jikker的隨手雜記: Nokia 5800 WiFi MAC查法: "Nokia 5800 to check WiFi MAC

We can check box or input *#62209526#

achi
hope it's useful for you.

K科技: Nokia 5800 無限試用PapaGO! 15天

K科技: Nokia 5800 無限試用PapaGO! 15天
PapaGO is very useful.But it need to pay money to buy.Achi now use Google map.

2009年7月8日 星期三

greener current: Nokia 5800 XpressMusic 使用感想

greener current: Nokia 5800 XpressMusic 使用感想: "Google Map"
Google Map可以從哪裡下載?
很高興你成為ㄚ琪nokia 5800的第一位好友!

2009年7月4日 星期六