Showing posts with label Software. Show all posts
Showing posts with label Software. Show all posts

Tuesday, June 16, 2009

Brian Make(s) your browsing faster...

I'm shocked this morning when reading my email previews, how can my friend Brian make browsing faster????
So I open that email immediately: Oh, the "Make your browsing faster" part is a commercial added by his emailbox provider.
Google Email Preview + Yahoo Email Commercial = LOL

Tuesday, June 9, 2009

LOL New feature in VS2010: position of the X button!

I remember I once worked on an .aspx file, and later I wanted to close it. I clicked several times on the x in 'aspx' but the tab is not closed... It's not my fault, the X button of the tabs is in the right top corner of VS2005, totally different from the IE tab style...


VS2008: the X button is still in the right top corner.
But it got a new feature for the tabs, the tab is highlighted when the mouse moves to it....


Finally, the VS2010 moved the X button to the place it should be, LOL. I noticed this feature in yesterday's event, it is really exciting! Here is the screenshot I found from internet, I didn't install the VS2010 on my machine.

Thursday, May 28, 2009

Show the sender's photo in your outlook 2007



Just create contact cards with photo for your contacts, then you could see their face when reading their emails! It applies for the emails they send you before.

For the people who wants to set up this feature for their work email, it is easier just copy & paste all contacts from the public folder to your local folder.

Tuesday, May 12, 2009

Google definitely changed the way of thinking

I started to use google since 2003, and became more and more addictive to it. Yes, I love Google, I guess I could not finish ~90% of my research type of tasks without it. But the funny joke I made today let me think maybe I used it too much.

The story is: I need to found what happened in DB when I do certain operations in an application I have never seen before. So I start to trace sql using the profiler. I have used a few basic functionalities of profiler for couple of years, but never touched any 'advanced' functionalities. But this time, I saw too much other sql commands which I don't care, so I decide to use some 'advanced' function of column filter to exclude them. I decide to exclude commands like 'exec sp_reset_connection ' and 'exec sp_VerifyUserSession ', then I found the column filter easily and input the first '%sp_reset_connection%' under the Not Like item. But the funny thing is I don't know how to input the 2nd Not Like item. See the following dialog, it is a pretty simple UI and I cannot find any buttons/hints from it.



So I try to use '%sp_reset_connection% OR %sp_VerifyUserSession%', '%sp_reset_connection% AND %sp_VerifyUserSession%', but they are not working. Then I begin to think maybe I should use some special symbols like && or to replace the AND/OR. So I think I'd better google it. I searched 6 groups of keywords, and read about 10 different articles but still didn't find a solution.




I began to feel frustrated, and decided to go to ask our DBA. Well, I know it sounds funny, but asking co-workers for general technical issues is the last thing I prefer to do. I saw the DBA was on a phone, so I tried it by myself for the last shoot. I pressed the Enter key at the end of the ''%sp_reset_connection%', and to my surprise, the magic happened and the 2nd item appeared. I cannot help laughing at myself for 1 whole minute.



Besides blaming my addiction to Google, I have to blame MS for this dialog. It is really a weird UI design of activating the next item only by pressing the Enter key.

Wednesday, April 22, 2009

Cycling route planner website

Website: http://cyclevancouver.ubc.ca/




This website shows elevation gains. It is perfect for cyclists like me who hate uphills.
But the calculation for routes is not smart enough, it chose a 15 km alternative route for me to avoid uphills but my regular route is only 8.8 km. Sometimes it may even keep on calculating for a couple of hours. You may have to kill the IE process to stop it.

I don't believe the calories calculation result, it seems the weight of elevation gain VS speed is not proper. I definitely sweat more on my way home than go to work, as it is more steep.

My way to work:
Route length: 8.852 km.
Estimated time: 0 hr 35 min.
Speed: 15km/hr
Calories burned: 192.5 kCal.
Elevation gain: 71 m.

My way from work:
Route length: 8.841 km.
Estimated time: 0 hr 53 min.
Speed: 10km/hr
Calories burned: 192.3 kCal.
Elevation gain: 153 m.

Monday, February 9, 2009

未加入域的两台机器之间共享文件的问题

一般家里有了第二天的电脑之后,就会遇到想要从电脑A上面访问电脑B上面的文件的情况。如果两台机器都是在同一个域内,那么非常容易,用域用户就可以不费吹灰之力的实现这一点。但是问题在于谁会闲着没事给家里的电脑建立域呢? 在这种没有域的情况下,共享文件就变成了一件很难做到的事情。
相信下面这个对话框很多人都见过。当从电脑A上面输入\\PinkAcer(电脑B的名字)之后,就会出现一个连接到电脑B的对话框。问题在于这个对话框的用户名被限制为电脑B上面的Guest用户。




我第一次碰到时,以为是自己的电脑的个别问题,没有想起来求教google,而是老老实实的到电脑B上面Enable Guest用户,然后把要访问的文件夹给Guest设上权限,然后拷贝,然后取消Guest的访问权限,然后禁用Guest用户。。。。以后每次见都暗骂MS若干句,然后拿出移动硬盘拷两次了事。
碰到的次数多了,而且换过好几台电脑都有同样的问题(汗一个,没说清楚。不是因为这个问题才换电脑的,是因为种种原因换了电脑后,无意中总是反复重现这个问题)。今天晚上才终于决定花一点时间来解决它。

解决起来其实挺快,打开注册表,把下列键值设为0即可: HKLM\SYSTEM\ControlSet001\Control\Lsa\forceguest

不幸的是,这个设置仅仅对于XP Pro版本有效,对于Home版没有作用。

下面这篇文章对于ForceGuest的原因解释的很详细:http://www.windowsnetworking.com/articles_tutorials/wxpsimsh.html


Friday, February 6, 2009

Acer Aspire One Netbook 噪音问题

买了这个可爱的小本本已经一周多了,用的时候却并不是很长。昨天突然注意到好像总是有嗡嗡的声音,虽然声音不大,但是确实有点影响心情。今天Google了一下,发现原来这是这个机型公认的一个缺陷,不过幸亏已经有人写好了程序来控制。

Windows版本的程序可以从这个链接下载,Linux的就自己去Google吧:)
http://www.computentsystems.de/aceraspireonefancontrol/

刚刚仔细看了一下这个程序,它的原理其实很简单,就是控制风扇的启动和停止,由于这个噪音就是风扇的声音,只要把风扇停下来就没有噪音了。它允许用户设定两个温度,一个是风扇的启动温度,一个是风扇的停止温度。一旦CPU的当前温度高于风扇启动温度,就启动风扇;风扇启动后CPU温度自然会下降,下降到风扇的停止温度后,风扇就会停下来,噪音也就没有了。这确实比过去一直开着风扇要更合理。

Thursday, August 30, 2007

How to set a single wallpaper/background across dual monitors 如何设置双显示器的背景图片贯穿

1) Get the wallpaper which fits your resolution. For example, if both of your monitors' resolution is 1440*900, you should look for the wallpaper of 2880*900 resolution.

2) Set this image to background, select "Tile" for Position

------------------------------------------------------------------------------------------------
1) 选择一个适合你的显示器分辨率的背景图片。比如说,如果你的两个显示器的分辨率都是1440*900,那么你需要找适应分辨率2880*900的图片来做背景/墙纸
2) 设置这张图片为背景,选择“平铺”方式

Friday, August 17, 2007

Convert Wav file to MP3 via Windows Sound Recorder. 利用windows的录音机将wav文件转成MP3

1) All Programs -> Accessories -> Entertainment -> Sound Recorder

2) Open the Wav file with Sound Recorder

3) Click File -> Save As, the Save As dialog appears.

4) Choose "All Files(*.*)" for the Save as type, input your target filename e.g. "target.mp3" Click "Change" button at the bottom, the Sound Selection dialog shows.



5) Choose "MPEG Layer-3" for the format dropdownlist.

And you could also select different qualities from the dropdownlist of Attrubites. (Keep in mind, higher quality means bigger file size)

6) Click Ok For the Sound Selection dialog, then click Save on the save as dialog.

7) The Converting dialog will appear, wait until the conversion is finished.

===================================================================
===================================================================
1) 程序->附件->娱乐->录音机
2) 用录音机打开要转换的Wav文件
3) 点击文件->另存为
4) 在另存为的对话框上,选择"全部文件(*.*)"作为文件类型,输入你的目标文件的名字,比如说"target.mp3".
点击对话框底端的更改按钮,会出现声音选项的对话框
5) 在声音格式的下拉列表中选择"MPEG Layer-3" .
还可以在属性下拉列表中,选择不同的声音质量(不过,高质量的声音意味着较大的文件)
6) 在声音选项的对话框上,点击确定。
在另存为的对话框上,点击保存。
7) 这时候,会出现一个声音转换中的对话框,等待这个对话框消失即可。

Thursday, August 16, 2007

Show Immediate Window in VS. 显示Visual Studio中的Immediate窗口

The Immediate window is quite useful in your debugging, but you can never find it in the menus of Visual Studio.

I don't know why Microsoft wants to "hide" it, as it seems the only way to show it is quite tricky.

1) View -> Other Windows -> Command Window

2) Type "immed" in the Command Window, and press Enter key

Now the Immediate Window will appear magically.




===================================================================
===================================================================
Visual Studio中的Immediate窗口在调试中的用处极大,但是在VS中的菜单项中总是找不到它。
我不知道为什么微软非要把它“藏起来”,但是要想把它叫出来确实要通过一个很奇怪的办法。
1) View -> Other Windows -> Command Window
2) 在Command窗口敲入"immed",然后按回车键。
现在,Immediate窗口就神奇的出现了。

Wednesday, August 15, 2007

Copy message box text to the clipboard. 复制Windows标准消息框中的文本


How to copy the content of a standard Windows MessageBox?
It's much easier than you could image!
1) Activate this MessageBox (Click the Caption of the MessageBox)
2) Press Ctrl+C on this MessageBox
3) Press Ctrl+V on a notepad/word file.

The result looks like:
---------------------------Notepad---------------------------
The text in the Untitled file has changed.
Do you want to save the changes?
---------------------------Yes No Cancel ---------------------------
===================================================================
===================================================================
如何拷贝一个windows标准消息框中的文本呢?比你想象的更容易!
1) 激活这个消息框(点一下这个对话框的标题栏)
2) 在这个消息框上按Ctrl+C
3) 在记事本/word文档上面按Ctrl+V, 文字就复制下来了。
结果如下:
---------------------------Notepad---------------------------
The text in the Untitled file has changed.
Do you want to save the changes?
---------------------------Yes No Cancel ---------------------------