Friday, March 27, 2009

组合优化 quiz3

还好,homework4也拿了个A,希望这门课可以拿A吧,不要A-。后面的两次quiz好好考吧。project4还是挺好玩的,对批处理也搞了一下。向其他人学习会进步得很快的。

下面提醒一下自己

Quiz #3

When: Monday, Mar 30, 2009
Description:

Linear programming. Simplex algorithm. Integer-linear programming.
Branch and Bound algorithm. Bounds and the Knapsack Problem.
Dynamic programming (matrix multiplication and TSP).
And all previous material.

Thursday, March 26, 2009

qq和google的工具栏

那个在线的收藏夹一直是我很喜欢的功能,看到QQ工具栏有这个,我很高兴就装了。其实QQ工具栏好像挺不错的,但是登录上面的有一些不方便,又比较占资源,那个收藏夹加东西,同步超慢,所以没用了。可能是因为我在美国的原因吧,但还是没有用了,现在在用google bar了,他家的bookmark虽然挺难看的,但胜在快啊。有时候用一个软件真的很看印像,从小处为用户着想,才有人喜欢用。

如果delicious也可以加到这上面来就更好了。这样的东西可能早就有了只是我不知道而已啦。现就去搜一下吧。好像没有,那就算了。

如果可以做到QQ登录了,网页就自动登录就方便多了,或者弹出一个窗口确认登录也是不错的。QQ真的做了很多东西啊,能进去工作的话也真不错,应该有很多新鲜的东西可以尝试。不过听说里面很辛苦。

就这样的。工作最近没怎么找,人倒是放松了,舒舒服服地上自己的课,做自己的project. 然后,自己做做网页,我还是很喜欢搞这个的,如果真的可以很我现在学到的编程的功力用到一处当然是我所希望的啦。好好做我现在的事情吧。我觉得我一点也不怕回国。也不怕留在这里。我在哪都能找到我自己地方。我觉得我可以学到更多,这种学习只能靠自己了,如果有人教就最好了,但是不要寄希望在这种地方,只有自己可以创出自己的天地来。

Friday, March 13, 2009

Set Up the Sun Java Server GlassFish

  J2EE的服务器装好了很久了,没用过,又安装了Tomcat, 之前跟着教程试过了好几个servlet,但是还不知道jsp是什么工作的。今天想一用一下吧。就回归到这个问题上了。想用netbean,看了一下自带的quick start结果发现很多文件夹都对应不上,东西都找不到,quickstart不了。于是想去sun网站找个新的quickstart 吧,结果找到一个旧的,倒是对应上了。就start了一个,于是我的第一个jsp helloworld就出现在我的屏幕上了,然后呢,又不知道干什么了。不过先总结一下吧。

quick start: http://docs.sun.com/source/819-1004/QuickStart.htm
(1) 服务器网址: http://localhost:8080/
(2) www server root 在 install_dir/domains/domain1
(3) 例子在 install_dir/samples , helloworld也在这
(4) 在domain1里面有个autodeploy的文件夹,把war文件放进去就会自动deploy了。
(5) 管理地址: http://localhost:4848/asadmin
  不过好像 http://localhost:4848/ 就可以了。我没用过。

Saturday, March 07, 2009

Java on My Nokia 770 --- (2)

http://www.internettablettalk.com/forums/showthread.php?t=6555

转一个贴。好像讲了很多,贴过来再说吧

WARNING: DO NOT ATTEMPT TO USE THESE FILES UNLESS YOU'RE ABSOLUTELY SURE YOU KNOW WHAT YOU'RE DOING. NO SUPPORT WILL BE PROVIDED.

原文的链接已经坏了。

The first link is a ARMEL CVM built on QT 3.3.4. (Circa 8M unpacked)
The second link is the QT 3.3.4 libraries. (Circa 40M unpacked)

Some of you might have seen my (extremely) cryptic post about libqt3-mt. This was what I was going for. I've tested it on my N800 and was able to get basis.DemoFrame up and running (although it interferes with basically everything at this point, get ready to hit HOME and force-kill the xterm .

INSTALL: (Note that you'll need 50M of root space. I'm working on that...)(this assumes you downloaded the two files to your external MMC)


再转一个: phoneME Advanced: Building Qt Embedded

Thursday, March 05, 2009

Find a job now

I think I should focus more on the on-campus jobs. I can find my way out. It's a very important time to determine my life. I could have done more. I am starting again for my future. Whatever the result is, i will not have any regret, if i have try my best. Wish me success. Good luck!

Tuesday, March 03, 2009

Nokia Internet Tablet Resources 770/n800/n810

http://mg.pov.lt/

http://www.internettablettalk.com/

http://www.mulliner.org/nokia770/

http://examplified.net/guide/Nokia_770/
Introduction
Recommended Accessories
Flash Newest Image
Install XTerm and Root Access
Tethering to a Bluetooth Phone
Installing a SSH Client and Server
Booting from MMC
Using GPS and Maemo Mapper
Resources

Java on My Nokia 770

It's actually called "PhoneMEAdvanced MR2 Java CDC/FP version 1.1 VM"
http://wiki.java.net/bin/view/Mobileandembedded/PhoneMEAdvancedPlatformsNokia800

Step 1 Install tools we need

1.1 OpenSSH server
1.2
osso Xterm
1.3
unzip
1.4
wget

1.1 OpenSSH is not needed here, but it's a very interesting tool. I install both of the client and server. Having the server installed, it's supposed that we can access the device via its IP address from a normal computer so that the typing would be easier. Need password, it might be "rootme".

1.2 osso Xterm is the terminal console
We do everything here.

1.3 unzip
so that we can unzip the .zip files.

1.4 wget
it's a GNU freeware, search "maemo wget", you will get to here:
http://maemo.org/downloads/product/OS2007/wget/
for 770, http://maemo.org/downloads/product/OS2006/wget/
Open the page on 770 using the OS2006 link. However, my 770 cannot find the resource.
We can get it here:
http://mg.pov.lt/770/dists/mistral/other/binary-armel/
There are many other application at mg.pov.lt too.

Step 2.
get a binary runtime build here

http://thehereweb.googlepages.com/N800-java-cdc-fp-pmea-mr2-rev5444.zip

link to the java.net page. and show the java servlet on 770
http://thehereweb.googlepages.com/runningosgionthenokian800

This is the most important materials
http://wiki.java.net/bin/view/Mobileandembedded/PhoneMEAdvancedPlatformsNokia800

Step 3. Run to Validate

we can unzip it on our PC and send to 770 and must be on the ram, cannot save in the mmc card.
put it anywhere in the /home/user/MyDocs/.documents/
chmod 555 ./bin/cvm
give it the permission to execute.

Transfer zipfile to N800, unzip to a directory of your choice and validate on N800 with these commands: Nokia-N800:/cdc/# ./bin/cvm -version
Product: phoneME Advanced (phoneme_advanced_mr2-b18)
Profile: Foundation Profile Specification 1.1
JVM: CVM phoneme_advanced_mr2-b18 (mixed mode)
Nokia-N800:/cdc/# ./bin/cvm -cp testclasses.zip HelloWorld
Hello world.
Nokia-N800:/cdc/# ./bin/cvm -cp testclasses.zip Test
<... lots of output ...>
*CONGRATULATIONS: test Test completed with 411 tests passed and 0 failures
*Output lines starting with a * should be checked for correctness
*They can be compared to src/share/javavm/test/TestExpectedResult

Write blog on my 770!!

I write this blog on my Nokia 770.
Interesting!

I installed the wordpy on it. And can connect to wordpress or blogger