Test test test :)
fix suspend in ubuntu
Posted by
sKh
at
10:36 PM
|
My ubuntu freezes a few seconds after resume after a second suspend(not the first suspend, i donna know why). Deeply research in the problem, i find it is caused by wireless driver iwl4965.
ref: http://en.opensuse.org/Pm-utils
$ vim /etc/pm/sleep.d/01iwl4965
#!/bin/bash
case $1 in
hibernate)
rmmod iwl4965;
;;
suspend)
rmmod iwl4965;
;;
thaw)
modprobe iwl4965;
;;
resume)
modprobe iwl4965;
;;
*)
;;
esac
ref: http://en.opensuse.org/Pm-utils
Notes: Things to Avoid in C/C++
ref: Things to Avoid in C/C++
- gets(): no internal checks means a potential overflow, use fgets() instead
- fflush(stdin): effect undefined for input stream
- feof() to exit a loop
- system("pause"): no need for this expensive function, use getchar() instead
- scanf(): a. leaves stuff in the input buffer to mess up your next input. b. quite a big function. c. for string, same problem as gets(). d. for char, use getchar() instead.
- void main()
Alt + SysRq + ?
B: Immediately reboot the system, without unmounting partitions or syncing
R: Switch the keyboard from raw mode, the mode used by programs such as X11 and svgalib, to XLATE mode
S: Sync all mounted filesystems
R: Switch the keyboard from raw mode, the mode used by programs such as X11 and svgalib, to XLATE mode
S: Sync all mounted filesystems
Grub incompatibility with e2fsprogs
while e2fsprogs in Gentoo 2008.0 livecd create ext3 partition with large 256 nodes. Bugs could be found here and explanation here
fix GPS in Google Map
that is cuz too little time is given by google map to FIX a satellite using GPSViewer
Sync Win Mobile 6.1 With Ubuntu
Three Steps:
Install SynCE:
http://www.synce.org/moin/SynceWithUbuntu
Setup SynCE:
http://www.synce.org/moin/SynceSetup/SyncEngine
Setup OpenSync:
http://www.synce.org/moin/SynceSetup/OpenSync
一些安装笔记:
1. python-opensync要降级,默认是3.6,会出现segment fault
2. 每次要先开 synce-sync-engine, 再用synce-create-partnership "sKh Ubuntu" "Contacts,Calendar,Tasks"新建一个通话(不明原因),再用msynctool --sync synce-sync即可同步
3. 可以同步Contacts,Calendar,Tasks,Files
Install SynCE:
http://www.synce.org/moin/SynceWithUbuntu
Setup SynCE:
http://www.synce.org/moin/SynceSetup/SyncEngine
Setup OpenSync:
http://www.synce.org/moin/SynceSetup/OpenSync
一些安装笔记:
1. python-opensync要降级,默认是3.6,会出现segment fault
2. 每次要先开 synce-sync-engine, 再用synce-create-partnership "sKh Ubuntu" "Contacts,Calendar,Tasks"新建一个通话(不明原因),再用msynctool --sync synce-sync即可同步
3. 可以同步Contacts,Calendar,Tasks,Files
新鼠标新转椅
某天正好无意看到Circuitcity打折,$9.99外加Free shipping,于是少在学校吃两顿饭就搞了一个回来。很薄,而且让偶很惊奇的是这个无线鼠标可以轻易转换成有线鼠,把外盖打开里面就有线和转接头。至于椅子么,也是staple某天打折的时候搞的,毕竟要坐两年的说。
Crossweaver convert Google Chrome to Linux/Mac
Absolutely, it is using Wine. However, it takes just 11 days. And more important is, Chromium works perfect :)
Get more info here and here
Get more info here and here
舍本逐末
Posted by
sKh
at
7:49 PM
|
发信人: dynkin (想买D3了), 信区: Linux
标 题: Re: 舍本逐末
发信站: BBS 未名空间站 (Sun Sep 14 02:01:36 2008)
界面好可以加快效率啊。为什么linux用户整天折腾界面,因为就是不好呗。为什么
windows用户整天在查毒?因为安全性不好呗。为什么apple用户整天不知道在干什么?
因为没有软件用呗。要是有一个安全有好看的操作系统,又有很多免费好用的软件,能
搞定网银,BT和在线视屏的,鬼才用windows, linux呢
标 题: Re: 舍本逐末
发信站: BBS 未名空间站 (Sun Sep 14 02:01:36 2008)
界面好可以加快效率啊。为什么linux用户整天折腾界面,因为就是不好呗。为什么
windows用户整天在查毒?因为安全性不好呗。为什么apple用户整天不知道在干什么?
因为没有软件用呗。要是有一个安全有好看的操作系统,又有很多免费好用的软件,能
搞定网银,BT和在线视屏的,鬼才用windows, linux呢
关于Google的license
Google的服务许可里有说“用户通过Google提交、发表的内容,Google拥有对该内容修改、发布等的全部权利”("By submitting, posting or displaying the content you give Google a perpetual, irrevocable, worldwide, royalty-free, and non-exclusive licence to reproduce, adapt, modify, translate, publish, publicly perform, publicly display and distribute any Content which you submit, post or display.")
有如下报道:
Google claims license to user content in multiple products
Google last week removed some language in its Chrome browser's terms of service that gave the company a license to any material displayed in the browser, but that language remains in several other Google products, including its Picasa photo service and its Blogger service.
The language came from Google's universal terms of service, the default license agreement for Google products.
The provision in the license agreement states that Google users retain the copyright to the content they post into a Google product, but then says, "By submitting, posting or displaying the content you give Google a perpetual, irrevocable, worldwide, royalty-free, and non-exclusive licence to reproduce, adapt, modify, translate, publish, publicly perform, publicly display and distribute any Content which you submit, post or display."
Similar language exists in terms of service for Picasa, Blogger, Google Docs and Google Groups. It does not exist in Gmail and no longer exists in Chrome.
The provisions raise security as well as privacy questions, said Randy Abrams, director of technical education at Eset, a cybersecurity vendor. "I wouldn't do anything that was personally sensitive or security-sensitive with most any Google product," he said.
Google removed the language from Chrome one day after launching the browser, following an outcry about the copyright implications of it asserting a license for everything posted or displayed in the browser. In some cases, Google needs the license to display content, Mike Yang, Google's senior product counsel, said in a blog post.
"To be clear: our terms do not claim ownership of your content -- what you create is yours and remains yours," Yang wrote. "But in lawyer-speak, we need to ask for a 'license' (which basically means your permission) to display this content to the wider world when that's what you intend."
Several critics questioned whether that language was appropriate in other applications provided by Google.
Google seems to be going in two different directions with these licensing terms, Abrams said. "One thing is to abide by their 'do no evil' creed, but also claim as many rights as possible," he said. "This is a typical corporate response: Try to get as much as you can and back off if forced to."
Yang also noted that similar language exists in the terms of service at several Web sites, including Amazon.com, eBay and Facebook. And the next sentence in that copyright provision limits what Google could do with a picture posted on the Picasa service or a blog post in Blogger, he said. It reads as follows: "This licence is for the sole purpose of enabling Google to display, distribute and promote the Services and may be revoked for certain Services as defined in the Additional Terms of those Services."
Yang, in an interview, said terms of service that may be needed for a Web site to display content may not be appropriate for other applications. Google "goofed" in putting the copyright language in Chrome, and the company is reviewing that copyright language in some of its other products, he said.
"There's no intent on our part to assert any sort of license for all the stuff users push to and from the Internet," Yang said. "[The universal terms of service] is a pretty broad license, but only to the extent that we need it to provide you with the services."
However, the copyright terms that still exist in Picasa, Blogger and other Google applications would allow the company to use its customers' content to promote the Google service. That could allow Google to use the content in live product demonstrations, for example, or in some promotional materials, Yang said.
Asked whether Google could take user content and use it in an advertising campaign without their permission, Yang said internal Google policies would probably prevent the company from doing it. Google wouldn't sell user content without permission, he added.
Andrew Flusche, a Fredericksburg, Virginia, lawyer who focuses on copyright and other issues, questioned how internal Google policy would guarantee protection of the end-users.
"Google's internal policy can change any time; it's their policy," Flusche said. "The only protection users have is what the EULA [end user license agreement] says."
The user agreement could allow Google to "publish a full-color book of Picasa photos as a promotional product," he added.
Google is correct when it says many Web sites have similar copyright provisions, he added. "But that doesn't mean anything," Flusche said. "The terms are still unfavorable to users; that's the dynamic of a huge corporation and millions of end-users."
However, Google would mostly likely be careful with its use of user content to promote its products, given that there's little upside in doing so, said Josh King, vice president for business development at general counsel at Avvo.com, a legal advice site.
"While the rights they've reserved themselves are very broad, it's probably a case of their actual practice being more conservative," King said. "We just have to hope they maintain their stance of not being evil."
有如下报道:
Google claims license to user content in multiple products
Google last week removed some language in its Chrome browser's terms of service that gave the company a license to any material displayed in the browser, but that language remains in several other Google products, including its Picasa photo service and its Blogger service.
The language came from Google's universal terms of service, the default license agreement for Google products.
The provision in the license agreement states that Google users retain the copyright to the content they post into a Google product, but then says, "By submitting, posting or displaying the content you give Google a perpetual, irrevocable, worldwide, royalty-free, and non-exclusive licence to reproduce, adapt, modify, translate, publish, publicly perform, publicly display and distribute any Content which you submit, post or display."
Similar language exists in terms of service for Picasa, Blogger, Google Docs and Google Groups. It does not exist in Gmail and no longer exists in Chrome.
The provisions raise security as well as privacy questions, said Randy Abrams, director of technical education at Eset, a cybersecurity vendor. "I wouldn't do anything that was personally sensitive or security-sensitive with most any Google product," he said.
Google removed the language from Chrome one day after launching the browser, following an outcry about the copyright implications of it asserting a license for everything posted or displayed in the browser. In some cases, Google needs the license to display content, Mike Yang, Google's senior product counsel, said in a blog post.
"To be clear: our terms do not claim ownership of your content -- what you create is yours and remains yours," Yang wrote. "But in lawyer-speak, we need to ask for a 'license' (which basically means your permission) to display this content to the wider world when that's what you intend."
Several critics questioned whether that language was appropriate in other applications provided by Google.
Google seems to be going in two different directions with these licensing terms, Abrams said. "One thing is to abide by their 'do no evil' creed, but also claim as many rights as possible," he said. "This is a typical corporate response: Try to get as much as you can and back off if forced to."
Yang also noted that similar language exists in the terms of service at several Web sites, including Amazon.com, eBay and Facebook. And the next sentence in that copyright provision limits what Google could do with a picture posted on the Picasa service or a blog post in Blogger, he said. It reads as follows: "This licence is for the sole purpose of enabling Google to display, distribute and promote the Services and may be revoked for certain Services as defined in the Additional Terms of those Services."
Yang, in an interview, said terms of service that may be needed for a Web site to display content may not be appropriate for other applications. Google "goofed" in putting the copyright language in Chrome, and the company is reviewing that copyright language in some of its other products, he said.
"There's no intent on our part to assert any sort of license for all the stuff users push to and from the Internet," Yang said. "[The universal terms of service] is a pretty broad license, but only to the extent that we need it to provide you with the services."
However, the copyright terms that still exist in Picasa, Blogger and other Google applications would allow the company to use its customers' content to promote the Google service. That could allow Google to use the content in live product demonstrations, for example, or in some promotional materials, Yang said.
Asked whether Google could take user content and use it in an advertising campaign without their permission, Yang said internal Google policies would probably prevent the company from doing it. Google wouldn't sell user content without permission, he added.
Andrew Flusche, a Fredericksburg, Virginia, lawyer who focuses on copyright and other issues, questioned how internal Google policy would guarantee protection of the end-users.
"Google's internal policy can change any time; it's their policy," Flusche said. "The only protection users have is what the EULA [end user license agreement] says."
The user agreement could allow Google to "publish a full-color book of Picasa photos as a promotional product," he added.
Google is correct when it says many Web sites have similar copyright provisions, he added. "But that doesn't mean anything," Flusche said. "The terms are still unfavorable to users; that's the dynamic of a huge corporation and millions of end-users."
However, Google would mostly likely be careful with its use of user content to promote its products, given that there's little upside in doing so, said Josh King, vice president for business development at general counsel at Avvo.com, a legal advice site.
"While the rights they've reserved themselves are very broad, it's probably a case of their actual practice being more conservative," King said. "We just have to hope they maintain their stance of not being evil."
conky配置备份
Posted by
sKh
at
12:40 AM
|
截图如下:

.conkyrc代码

.conkyrc代码
# UBUNTU-CONKY
# A comprehensive conky script, configured for use on
# Ubuntu / Debian Gnome, without the need for any external scripts.
#
# Based on conky-jc and the default .conkyrc.
# INCLUDES:
# - tail of /var/log/messages
# - netstat connections to your computer
#
#
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
#xftfont Lucida Sans Typewriter:size=8
xftfont Manaco:size=10
xftalpha 0.8
# Create own window instead of using desktop (required in nautilus)
#own_window yes
#own_window_hints undecorated,below,skip_taskbar
#background no
background yes
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# fiddle with window
use_spacer yes
use_xft yes
# Update interval in seconds
update_interval 1.0
# Minimum size of text area
minimum_size 280 5
maximum_width 400
# Draw shades?
draw_shades yes
# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
uppercase no # set to yes if you want all text to be in uppercase
# Stippled borders?
stippled_borders 8
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors, grey90 == #e5e5e5
default_color white
default_shade_color black
default_outline_color white
own_window_colour brown
own_window_transparent yes
# Text alignment, other possible values are commented
alignment top_left
#alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
gap_x 160
gap_y 10
# stuff after 'TEXT' will be formatted on screen
override_utf8_locale no
# Possible variables to be used:
# http://conky.sourceforge.net/variables.html
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
#${font Dungeon:style=Bold:pixelsize=10}I can change the font as well
#${font Verdana:size=10}as many times as I choose
#${font Perry:size=10}Including UTF-8,
# stuff after 'TEXT' will be formatted on screen
#${font Grunge:size=12}${time %a %b %d}${alignr -25}${time %k:%M}
TEXT
${color #42AE4A}${alignc}$sysname $kernel $machine - $nodename
${color }${alignc}${time %a, %e %B %G, %H:%M:%S}
${color orange}CPU ${hr 2}$color
${color #42AE4A}UpTime: ${color }$uptime${alignr}${color #42AE4A}Load: ${color }$loadavg
${color #42AE4A}Intel(R) Core(TM)2 Duo CPU P8400 ${color }${freq_dyn_g}GHz
${color #42AE4A}Processes: ${color }$processes ${color #42AE4A}Running: ${color }$running_processes ${color #42AE4A}Temp: ${color }${acpitemp} C
${color #42AE4A}CPU Core 1:${color } ${cpu cpu0}%${alignr}${color #42AE4A}CPU Core 2: ${color } ${cpu cpu1}%
${color #42AE4A}${cpugraph cpu0 20,135 42AE4A eeeeee}${alignr}${cpugraph cpu1 20,135 42AE4A eeeeee}
${color #42AE4A}Highest CPU: ${alignr}PID CPU% MEM%
${color #ddaa00} ${top name 1}${alignr}${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2}${alignr}${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3}${alignr}${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4}${alignr}${top pid 4} ${top cpu 4} ${top mem 4}
${color #42AE4A}Highest MEM: ${alignr}PID CPU% MEM%
${color #ddaa00} ${top_mem name 1}${alignr}${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color lightgrey} ${top_mem name 2}${alignr}${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color lightgrey} ${top_mem name 3}${alignr}${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color lightgrey} ${top_mem name 4}${alignr}${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
${color orange}BATTERY ${hr 2}$color
${color #42AE4A}$battery ${color }$battery_time $alignr $battery_percent%
${color #42AE4A}$battery_bar
${color orange}MEMORY/DISK ${hr 2}$color
${color #42AE4A}MEM ${color } $alignc$mem / $memmax $alignr $memperc%
${color #42AE4A}$membar
${color #42AE4A}/ ${color } $alignc${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
${color #42AE4A}${fs_bar /}
${color #42AE4A}/home $alignc ${color }${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
${color #42AE4A}${fs_bar /home}
${color #42AE4A}swap $alignc ${color }$swap / $swapmax $alignr $swapperc%
${color #42AE4A}${swapbar}
${color orange}NETWORK (${addr wlan0}) ${hr 2}$color
${color #42AE4A}ESSID: ${color }${wireless_essid wlan0}${color }${alignc} ${wireless_bitrate wlan0} $alignr ${wireless_link_qual_perc wlan0}%
${color #42AE4A}${wireless_link_bar wlan0}
${color #42AE4A}Down:${color lightgrey} ${downspeed wlan0} k/s $alignr${color #42AE4A} Up:${color lightgrey} ${upspeed wlan0} k/s
${color #42AE4A}${downspeedgraph wlan0 20,135 42AE4A eeeeee 150} $alignr${color #42AE4A}${upspeedgraph wlan0 20,135 42AE4A eeeeee 50}
${color #42AE4A}Total: ${color lightgrey}${totaldown wlan0}$alignr${color #42AE4A}Total: ${color lightgrey}${totalup wlan0}
${color #42AE4A}Inbound: ${color lightgrey}${tcp_portmon 1 32767 count} ${color #42AE4A}Outbound: ${color lightgrey}${tcp_portmon 32768 61000 count}${alignr}${color #42AE4A}Total: ${color lightgrey}${tcp_portmon 1 65535 count}
${color #42AE4A}Connections ${alignr} Local Service/Port${color lightgrey}
${tcp_portmon 1 61000 rhost 0} ${alignr} ${tcp_portmon 1 61000 rservice 0}
${tcp_portmon 1 61000 rhost 1} ${alignr} ${tcp_portmon 1 61000 rservice 1}
${tcp_portmon 1 61000 rhost 2} ${alignr} ${tcp_portmon 1 61000 rservice 2}
${tcp_portmon 1 61000 rhost 3} ${alignr} ${tcp_portmon 1 61000 rservice 3}
${tcp_portmon 1 61000 rhost 4} ${alignr} ${tcp_portmon 1 61000 rservice 4}
${tcp_portmon 1 61000 rhost 5} ${alignr} ${tcp_portmon 1 61000 rservice 5}
${color orange}SYSTEM LOGS${hr 2}$color
${execi 10 /usr/bin/tail -n 4 /var/log/messages | cut -c 27-}
T400: Video Crashes X in Ubuntu
Solved by:
gstreamer-properties: set video output -> X window system (no Xv)
smplayer/mplayer: set vo == x11
This also solved the webcam problem (cuz webcam do not have problem but the video)
gstreamer-properties: set video output -> X window system (no Xv)
smplayer/mplayer: set vo == x11
This also solved the webcam problem (cuz webcam do not have problem but the video)
T400系列:Lenovo让世界人民很失望啊
Posted by
sKh
at
3:45 AM
|
事情是这样的,Thinkpad T400的独显版本支持双显卡热切换,这也是它的卖点之一。可是发布到现在(已经有一个月了),从官网上仍不能下载到驱动,不仅仅是64-bit版本的,32-bit都有问题。很多消费者购买了机器,回去重装系统,然后就发现没有合适的驱动,不仅仅是ATI显卡的驱动,Intel 5100wifi也有同样的问题。当他们使用ThinkVantage恢复的时候,“出厂”设置也不带显卡驱动。那对这些消费者来说,小黑果然变“砖头”了。
T400系列:WebCam笔记
Posted by
sKh
at
3:11 AM
|
一开就死机啊 整个X都crash了
备忘一下(链接在这里):
Webcam
The webcam in T61 is some sort of UVC camera: Found UVC 1.00 device Integrated Camera (17ef:1004). The module loads out of the box. I tested the camera using: Luvcview: http://mxhaard.free.fr/spca50x/Investigation/uvc/luvcview-20070512.tar.gz Just compile and run using ./luvcview -f yuv (JPG format doesn't work)
I also tried gqcam and webcam, but both doesn't work (first SEGFAULTs, second prints Invalid argument)
luvcview has a button to take pictures. Place your mouse over the buttons at the bottom of the window, and their function is revealed in the title bar. Unfortunately, the button for avi capture does not seem to work (although it does tell you what the video framerate is, which is helpful).
To capture a video stream, run ./luvcview -f yuv -S To play back the video stream, run mplayer -demuxer rawvideo -rawvideo fps=7:w=320:h=240:yuy2 stream.raw
备忘一下(链接在这里):
Webcam
The webcam in T61 is some sort of UVC camera: Found UVC 1.00 device Integrated Camera (17ef:1004). The module loads out of the box. I tested the camera using: Luvcview: http://mxhaard.free.fr/spca50x/Investigation/uvc/luvcview-20070512.tar.gz Just compile and run using ./luvcview -f yuv (JPG format doesn't work)
I also tried gqcam and webcam, but both doesn't work (first SEGFAULTs, second prints Invalid argument)
luvcview has a button to take pictures. Place your mouse over the buttons at the bottom of the window, and their function is revealed in the title bar. Unfortunately, the button for avi capture does not seem to work (although it does tell you what the video framerate is, which is helpful).
To capture a video stream, run ./luvcview -f yuv -S To play back the video stream, run mplayer -demuxer rawvideo -rawvideo fps=7:w=320:h=240:yuy2 stream.raw
T400系列:Intel Wifi 5100 drivers
an awesome thread in ubuntuforums could be referred and there is a "step-by-step" on page 2.
following these steps and i compiled it in the kernel of 2.6.24-21 then make install in 2.6.24-19, finally it works!
following these steps and i compiled it in the kernel of 2.6.24-21 then make install in 2.6.24-19, finally it works!
T400系列:关于Gentoo的尝试
一直很怨念Gentoo,于是在新机到手时迫不及待想尝试一次。没有DVD-R在身边,于是只好想办法硬盘安装。不过,这一次尝试失败了。因为失败是成功他妈妈,所以,我还是记录下这次失败的笔记:
1.关于Vista中的Boot Loader,Vista使用了Boot Configuration Data(BCD)来引导启动,本身配置起来比较麻烦,不过可以用EasyBCD来帮助配置,可以方便的添加Windows,Linux和Mac。软件本身可以安装NeoGrub,看上去和grub很类似的一个东西,menu.lst都很相像。
2.关于miniCD进入系统之后,接下来就没法进行下去了。问题在于找不到网卡,相关的modules无线网卡和有线网卡都不行。Gentoo官网上有专文。无线网卡的相关内容可以参考:链接一, 链接二,链接三,链接四,链接五。有线网卡就更搞不清怎么回事了,e1000e应该有效啊.....
1.关于Vista中的Boot Loader,Vista使用了Boot Configuration Data(BCD)来引导启动,本身配置起来比较麻烦,不过可以用EasyBCD来帮助配置,可以方便的添加Windows,Linux和Mac。软件本身可以安装NeoGrub,看上去和grub很类似的一个东西,menu.lst都很相像。
2.关于miniCD进入系统之后,接下来就没法进行下去了。问题在于找不到网卡,相关的modules无线网卡和有线网卡都不行。Gentoo官网上有专文。无线网卡的相关内容可以参考:链接一, 链接二,链接三,链接四,链接五。有线网卡就更搞不清怎么回事了,e1000e应该有效啊.....
T400系列:为Vista调整分区
Posted by
sKh
at
8:17 PM
|
拿到T400之后,预装的Vista Home Basic,随后发现联想只给用户分了一个将近140G的区。想改分区的时候郁闷的发现PQMagic不支持vista。于是人肉搜索了一番,查找到了如下两种方法:
一是利用Vista自带的磁盘工具,在computer->management里,可以对分区shrink。然而就算是新装的电脑也只能分出1/3也就是40G,这是远远不够的。这是因为Vista会判断分区里最后一个被写的簇而将之后的空白shrink出来。这种做法“不会对分区内容产生任何损害”,但效果一般。
另一种是使用Acronis Disk Director工具,现在的版本是10.0.1.216。用起来很简易,只是要注意的是,在英文Vista中只有用英文版的软件才可以生效,汉化版本无效,这个折腾了我好久。这个方法有效的解决了偶的问题。于是,仰天长啸上课去了~~
一是利用Vista自带的磁盘工具,在computer->management里,可以对分区shrink。然而就算是新装的电脑也只能分出1/3也就是40G,这是远远不够的。这是因为Vista会判断分区里最后一个被写的簇而将之后的空白shrink出来。这种做法“不会对分区内容产生任何损害”,但效果一般。
另一种是使用Acronis Disk Director工具,现在的版本是10.0.1.216。用起来很简易,只是要注意的是,在英文Vista中只有用英文版的软件才可以生效,汉化版本无效,这个折腾了我好久。这个方法有效的解决了偶的问题。于是,仰天长啸上课去了~~
T400系列:T400到手
Posted by
sKh
at
4:42 PM
|
UPS的速度真的挺快的,9月1号的时候从HK,期间经过韩国、阿拉斯加、肯塔基最后在9月3号也就是今天早上寄到了.. 机器是8/20晚上order的,到今天正好两周,还是挺长的一段时间。
方方正正的看着很舒服。虽然一直说要买fujitsu的laptop的,可是这里的lenovo真的很便宜。
用了一天,基本都挺满意
小不爽的是电池,网上说6芯电池不会突出来的,可实际上是会的。受害的不只是偶,还连累了大家,唉。不过Tiger0说,只要能放平就没事 - -!
最后这张是现在的办公环境
新机到手,免不了给他留个影。
![]() |
| From Life@CMU |
方方正正的看着很舒服。虽然一直说要买fujitsu的laptop的,可是这里的lenovo真的很便宜。
![]() |
| From Life@CMU |
用了一天,基本都挺满意
![]() |
| From Life@CMU |
小不爽的是电池,网上说6芯电池不会突出来的,可实际上是会的。受害的不只是偶,还连累了大家,唉。不过Tiger0说,只要能放平就没事 - -!
![]() |
| From Life@CMU |
最后这张是现在的办公环境
![]() |
| From Life@CMU |
课终于全上了
从waiting list中进入正式课程的感觉真好..
以下是新学期课表:
Your current number of units carried: 49.0
以下是新学期课表:
Here is your current schedule for Fall 08
| Course | Sect | Course Title | Units | Day | Begin | End | Bldg | Room | Instructor |
|---|---|---|---|---|---|---|---|---|---|
| 14704 | A | INI RESEARCH SEMINAR | 1.0 | F | 02:30PM | 03:50PM | CIC | 1201 | INSTRUCTOR TBA |
| 14761 | A | APPLD INFO ASSURANCE | 12.0 | T | 03:00PM | 05:20PM | CIC | 1201 | MAY |
| 15213 | 1 | INTRO COMP SYSTEMS | 0.0 | TR | 01:30PM | 02:50PM | DH | 2210 | BRYANT,GANGER |
| 15213 | D | INTRO COMP SYSTEMS | 12.0 | M | 12:30PM | 01:20PM | DH | 1217 | INSTRUCTOR TBA |
| 18730 | A | INTRO COMPUTER SEC | 12.0 | F | 09:30AM | 11:20AM | MM | 103 | GLIGOR |
| MW | 02:30PM | 04:20PM | DH | 1212 | GLIGOR | ||||
| 18756 | A | PAC SWTCNG COMP NETW | 12.0 | MW | 09:30AM | 11:20AM | CIC | 1201 | KIM |
| M | 07:00PM | 08:50PM | HH | B103 | KIM |
Google Chrome已经有下载了
Posted by
sKh
at
4:01 PM
|
for Linux的似乎还要等上一阵子..... google只发布了win的版本
http://www.google.com/chrome/eula.html
http://www.google.com/chrome/eula.html
下了win版本的先试用了一下,一如Google的风格--简洁,界面还算漂亮。
截图如下:
Google手机10月13号发布
Posted by
sKh
at
10:32 AM
|
据说是T-mobile经营,价格也是$199,和iphone当时一样。有两种颜色,白和黑,个人觉得黑的要好看一些。
External Links:
http://www.cnbeta.com/articles/63603.htm
http://cn.engadget.com/2008/09/01/htcs-android-driven-dream-revealed-in-glorious-spy-photos/

External Links:
http://www.cnbeta.com/articles/63603.htm
http://cn.engadget.com/2008/09/01/htcs-android-driven-dream-revealed-in-glorious-spy-photos/

留美三周记
Posted by
sKh
at
2:34 AM
|
我是9号的时候从北京走的,到匹兹堡当地时间也还是9号,算是赚了半天。到今天算下来整整三周了,奥运会结束了,慢慢的,我的生活也进入了正轨。
先说说这个城市吧,Pittsburgh是Pennsylvania的第二大城市,好说也曾经在美国风光过一阵子,作为一座钢城,当年繁荣的痕迹-钢在城里到处可见,水面上的钢桥也是一座接着一座。可以说,从这个城市可以看出20世纪中期美国的繁荣。城市不大,downtown也就那么一片地,楼都是有些历史的,从繁华程度上看,和上海北京是没法比的,至少看上去是这样的。尽管这里曾经是座工业城市,这里的空气质量却还是不错的,所以在这儿可以安心的买白色的鞋子。气候和北京差不多,可能稍冷一些,一般是长裤和短袖,现在的晚上就要披个外套了。喜欢的是这座城市有山有水,Ohio River在城里一分为二,中间的三角地形成了Pitts的downtown,downtown的对面是一大片小山,站在上面可以俯瞰城市的全景。上去看过两次,白天去过一次,晚上又去过一次,可以搭免费的incline shuttle上去,全景还是相当漂亮的。很喜欢城市远端的星星灯火,那天从DC飞到Pitts的飞机上也是,灯不是那么的亮也不是那么的多,黄黄的,但和高速公路上缓缓移动的车灯一起,在一整篇的黑暗中显得很漂亮了。很奇怪的是,白天的高速公路上,美国人也喜欢打着大光灯。
城里有不止Upitts和CMU两所高校,比如有家叫Chatham University在家门口。CMU和Upitts一比就显得年轻多了,第一天来就看到路边有个Upitts的石牌,上面告诉我们Upitts在1787就建立了。Upitts的医学是相当牛的,城里到处有UPMC的标志,downtown还有栋UPMC的大楼。在Upitts外有片小地上有小摊卖Upitts的Tshirt,最便宜的有$2.99,于是整了件。CMU学校很小,从任意一端到任意另一端的步行距离不会有5分钟,不过在校外零零散散还有几栋楼。校内有栋楼,叫University Center,基本上所有室内的校内活动都在里面,从邮局到书店到银行,从游泳馆到壁球场到篮球场,从餐厅到自习到各种布告栏。CMU里最多的是印度人,如果有人把我丢在这里,我一定以为这是印度。然后是我们东亚这片的黄种人,接下来才是欧美的白人黑人们。在学校里看到一个中国人的雕像-茅以升先生,他是Carnegie工学院授予的第一个博士,很自豪啊。
我们住在离学校不算近也不算远的地方-步行也可以接受,30分钟,坐车5分钟,可惜bus不是那么准时,这边治安还算不错,对面是一家公园。刚般进来的时候什么都没有,买了几天东西把桌子床配好了,又从教会那边拿了个书橱和一把椅子,总算算是安顿下来,不过房间还是显得很空,毕竟木钱买那么多家具啊。有点怨念那个Queen Size的床垫,twin size的确舒展不开 >.<
已经开始做饭了,进步很多,毕竟起点是0。很享受做饭的过程,不过不是很喜欢洗碗擦桌这类post-dinner的步骤。心情好的时候炒几个菜,懒得做的时候就炒个饭下个面或者做个批萨都行。而且像美国人喜欢吃的Salad,Burger,Sandwich之类偶也喜欢,所以那几天Orientation也吃的很欢,而初到美国时Big Mac Meal + $0.99/Big Mac让我一顿可以吃俩Big Mac,觉得也挺爽的。离学校不远(其实在Upitts旁)有一家中餐buffet,$7一顿,偶尔吃吃也算是蛮爽的,不过菜少肉多。这里的菜价真的很贵,不少蔬菜都是要比肉贵的。买到过的鸡腿肉有$.99/lb(每磅,下同),牛肉$1.29,猪肉$.99,牛排$1.99,而绿叶菜一般都要$1.99,四季豆青椒黄瓜会便宜些。水果里香蕉算是便宜的了,$.49,其他的水果差不多是$1.5~$2的样子,西瓜$5一只。牛奶$3.4一加仑,冰淇淋$4.3一大桶,这都还算可以,但愿牛奶还能帮偶长长个@@~~ 其他的,Outlet里买牛仔裤倒也不贵,Lee的$12.99,就是尺码不好找,经常拿起一条到偶胸高了- -b 鞋子价格比国内便宜不了多少,不过据同来的哥们说国内很多款式没有,不过这边鞋子的质量要比国内糙些,怀疑是不是国内鞋厂一看要出口就糙了。整了双$40的converse先穿着,等打折啊~~~ 才知道New Balance是总统跑步鞋,在这里还蛮多人穿的。这儿有个连锁店叫Dollar Tree,俗称“一元店”,所有东西都只卖$1,上次过去把办公用具给配齐了。
买了新手机,AT&T Tilt,其实更喜欢HTC Diamond Pro的,可惜等不及了,而且那机器也不会便宜,想想就算了。为了这个Tilt偶还是从T-mobile转过来的,美国这点倒是不错,可以保留号码在各运营商之间转服务。不过手机费真的不便宜,最低的individual plan都要$30,还不含税。话说这里最不习惯的就是什么东西都要上税了。接着说手机,我还办了data plan,这样就可以畅通的享受3G啦。3G果然是很好的东东,据AT&T官方,下行速度可以到1.8M。我尝试过用手机上skype打电话,效果还不错。也试用(真的是试用啊,只有3天的Trial时间)了手机上自带的Mobile TV,看了几天奥运会。现在最常用的就是开着手机的GPS满大街找路啦,配上Google Maps可以查到公交信息。
一直都听说美国人服务好,到这里才知道,服务态度是不错,但不是很靠谱。过来的第一晚就遭遇不幸,两个158箱子只到了1只,去登记的时候看到从DC转机Pitts的总共丢了十多个箱子。还好第二天去取的时候过来了,但还是很麻烦。这两天被网络的问题搞烦了,取消的东西莫名其妙的寄来了帐单,网络又被莫名其妙的取消了,打电话过去每次都要被转机若干次,好处倒是和不同口音的人都打过交道了。网络要到4号才能通,但愿这次不会再出差错了。其他的,退货倒是件让人愉快的事情,和国内不同,这里退货实在太简单了,只要和他随便说个理由就可以了。超市多算了账,也只要一个电话打过去,他就会把款退回来了。
开学了,据说会比较辛苦。上课基本可以听懂,可印度学生一提问就开始要让我抓狂了,还有个老师是印度的,皑皑,需要时间去适应啊。总之这里不比中国,这边什么东西都要自己动手,也开始天天记得记帐了。想大家了,弄了几个相框装大家的照片。想等有deal的时候,再去搞个数码相框 :)
先说说这个城市吧,Pittsburgh是Pennsylvania的第二大城市,好说也曾经在美国风光过一阵子,作为一座钢城,当年繁荣的痕迹-钢在城里到处可见,水面上的钢桥也是一座接着一座。可以说,从这个城市可以看出20世纪中期美国的繁荣。城市不大,downtown也就那么一片地,楼都是有些历史的,从繁华程度上看,和上海北京是没法比的,至少看上去是这样的。尽管这里曾经是座工业城市,这里的空气质量却还是不错的,所以在这儿可以安心的买白色的鞋子。气候和北京差不多,可能稍冷一些,一般是长裤和短袖,现在的晚上就要披个外套了。喜欢的是这座城市有山有水,Ohio River在城里一分为二,中间的三角地形成了Pitts的downtown,downtown的对面是一大片小山,站在上面可以俯瞰城市的全景。上去看过两次,白天去过一次,晚上又去过一次,可以搭免费的incline shuttle上去,全景还是相当漂亮的。很喜欢城市远端的星星灯火,那天从DC飞到Pitts的飞机上也是,灯不是那么的亮也不是那么的多,黄黄的,但和高速公路上缓缓移动的车灯一起,在一整篇的黑暗中显得很漂亮了。很奇怪的是,白天的高速公路上,美国人也喜欢打着大光灯。
城里有不止Upitts和CMU两所高校,比如有家叫Chatham University在家门口。CMU和Upitts一比就显得年轻多了,第一天来就看到路边有个Upitts的石牌,上面告诉我们Upitts在1787就建立了。Upitts的医学是相当牛的,城里到处有UPMC的标志,downtown还有栋UPMC的大楼。在Upitts外有片小地上有小摊卖Upitts的Tshirt,最便宜的有$2.99,于是整了件。CMU学校很小,从任意一端到任意另一端的步行距离不会有5分钟,不过在校外零零散散还有几栋楼。校内有栋楼,叫University Center,基本上所有室内的校内活动都在里面,从邮局到书店到银行,从游泳馆到壁球场到篮球场,从餐厅到自习到各种布告栏。CMU里最多的是印度人,如果有人把我丢在这里,我一定以为这是印度。然后是我们东亚这片的黄种人,接下来才是欧美的白人黑人们。在学校里看到一个中国人的雕像-茅以升先生,他是Carnegie工学院授予的第一个博士,很自豪啊。
我们住在离学校不算近也不算远的地方-步行也可以接受,30分钟,坐车5分钟,可惜bus不是那么准时,这边治安还算不错,对面是一家公园。刚般进来的时候什么都没有,买了几天东西把桌子床配好了,又从教会那边拿了个书橱和一把椅子,总算算是安顿下来,不过房间还是显得很空,毕竟木钱买那么多家具啊。有点怨念那个Queen Size的床垫,twin size的确舒展不开 >.<
已经开始做饭了,进步很多,毕竟起点是0。很享受做饭的过程,不过不是很喜欢洗碗擦桌这类post-dinner的步骤。心情好的时候炒几个菜,懒得做的时候就炒个饭下个面或者做个批萨都行。而且像美国人喜欢吃的Salad,Burger,Sandwich之类偶也喜欢,所以那几天Orientation也吃的很欢,而初到美国时Big Mac Meal + $0.99/Big Mac让我一顿可以吃俩Big Mac,觉得也挺爽的。离学校不远(其实在Upitts旁)有一家中餐buffet,$7一顿,偶尔吃吃也算是蛮爽的,不过菜少肉多。这里的菜价真的很贵,不少蔬菜都是要比肉贵的。买到过的鸡腿肉有$.99/lb(每磅,下同),牛肉$1.29,猪肉$.99,牛排$1.99,而绿叶菜一般都要$1.99,四季豆青椒黄瓜会便宜些。水果里香蕉算是便宜的了,$.49,其他的水果差不多是$1.5~$2的样子,西瓜$5一只。牛奶$3.4一加仑,冰淇淋$4.3一大桶,这都还算可以,但愿牛奶还能帮偶长长个@@~~ 其他的,Outlet里买牛仔裤倒也不贵,Lee的$12.99,就是尺码不好找,经常拿起一条到偶胸高了- -b 鞋子价格比国内便宜不了多少,不过据同来的哥们说国内很多款式没有,不过这边鞋子的质量要比国内糙些,怀疑是不是国内鞋厂一看要出口就糙了。整了双$40的converse先穿着,等打折啊~~~ 才知道New Balance是总统跑步鞋,在这里还蛮多人穿的。这儿有个连锁店叫Dollar Tree,俗称“一元店”,所有东西都只卖$1,上次过去把办公用具给配齐了。
买了新手机,AT&T Tilt,其实更喜欢HTC Diamond Pro的,可惜等不及了,而且那机器也不会便宜,想想就算了。为了这个Tilt偶还是从T-mobile转过来的,美国这点倒是不错,可以保留号码在各运营商之间转服务。不过手机费真的不便宜,最低的individual plan都要$30,还不含税。话说这里最不习惯的就是什么东西都要上税了。接着说手机,我还办了data plan,这样就可以畅通的享受3G啦。3G果然是很好的东东,据AT&T官方,下行速度可以到1.8M。我尝试过用手机上skype打电话,效果还不错。也试用(真的是试用啊,只有3天的Trial时间)了手机上自带的Mobile TV,看了几天奥运会。现在最常用的就是开着手机的GPS满大街找路啦,配上Google Maps可以查到公交信息。
一直都听说美国人服务好,到这里才知道,服务态度是不错,但不是很靠谱。过来的第一晚就遭遇不幸,两个158箱子只到了1只,去登记的时候看到从DC转机Pitts的总共丢了十多个箱子。还好第二天去取的时候过来了,但还是很麻烦。这两天被网络的问题搞烦了,取消的东西莫名其妙的寄来了帐单,网络又被莫名其妙的取消了,打电话过去每次都要被转机若干次,好处倒是和不同口音的人都打过交道了。网络要到4号才能通,但愿这次不会再出差错了。其他的,退货倒是件让人愉快的事情,和国内不同,这里退货实在太简单了,只要和他随便说个理由就可以了。超市多算了账,也只要一个电话打过去,他就会把款退回来了。
开学了,据说会比较辛苦。上课基本可以听懂,可印度学生一提问就开始要让我抓狂了,还有个老师是印度的,皑皑,需要时间去适应啊。总之这里不比中国,这边什么东西都要自己动手,也开始天天记得记帐了。想大家了,弄了几个相框装大家的照片。想等有deal的时候,再去搞个数码相框 :)
Subscribe to:
Posts (Atom)











