Thursday, January 8, 2009

Vista 64 = Messy Awesomeness

It took me a whole day to back up and install windows vista 64. Finally i can access my 8G of ram. Some softwares are heavily ram chewers (The gigantic adobe bundles) so even 3.25G ram is kinda skinny now.

Here are some of the issues:
1. Some OEM vista cdkeys are interchanageable for 32 bit and 64 bit versions. I have tried my ultimate 32 bit vista key and it works gracefully with the 64 bit DVD.

2. Cheap stuff = bad compatibility. The wireless dongle i bought for 15 bucks now shows the weakness over a pci wireless card: no driver for vista 64. I have to hook up two 3 meter cable to reach the router, and i still have the plastic connector back 3 years ago. And it rocks!

3. Weird file protection issues. Ok, here's what it is. Some softwares like acrobat reader will create some protection over certain files even admin can't delete in the first few tries. You need to 'takeover' the file ownership then 'grant' it to new administrators. Luckily these commands supports *.* batches...otherwise i have to manually deal with hundreds of files.

If you got access denied:
takeown /f file_name
icacls file_name /grant administrators:F

Then you may delete all the files.
There may be a hidden manual that can turn the entire vista into commandline?

4. There was a weird *.mov file on my computer in vista 32 that i could not remove before. First i thought it was related to hardware failure (NOOOO!) Chkdsk was totally green. I can play this file, it was fine, but any other operations, like rename, cut, delete, even right click on properties will freeze the explorer. I turned off OAS still no luck. Some googling showed that ppl have encountered similar issues, but no clear solutions were provided. Besides, this was not related to privileges.

Now i will see how vista works with my 8G of ram.

Friday, October 24, 2008

MV



1 nites work.

Sunday, October 12, 2008

ExtJS learning notes

Useful tips.
1. 'mousewheel' event indeed can be removed. Something is messed up in my code. Need to figure out a way to avoid functions registered twice.
2. Ext.apply, Ext.applyIf, can quickly apply options to a given object;
3. function.call(this), execute the function under a specific scope.
4. Ext.reg(), register custom xtypes
5. EventManger.onWindowResize(), add custom window resize functions, which are performed right AFTER the viewport sync functions.
6. Function.createSequence can create a function that call same params with the original



Btw, !important in CSS means immutable..and non-overidable D:

Friday, October 10, 2008

Updates



Updates:
1. Added column names and rownames into index, remote loading data.
2. Added the mini map...no click & go functions yet
3. Mousewheel in/out

Weird ext bugs:
1. mousewheel event can't be removed! annoying.
2. same function if registered twice will be performed twice. Trying to sort this out.
3. Weird behavior of selection models. I will get back to this when i have more time.

Wednesday, October 8, 2008

Time Stamp

偶然在Google的右下角看到一个链接:
'try a search from our early days.'

点击进入了2001年的Google。那个时候,我不上百合,也几乎不知网络为何物。
好奇心驱使下,在搜索栏里填入了自己的名字和南京大学。第一个hit,也是
唯一一个和我有关的hit,却打开了我记忆的盒子。

原始的网站早已404了;一个在我活跃在浦口的时代的网站,也许它的一生也不到4位数的
访问量。它默默消失之后,在Google的故纸堆里,如此期待之外的出现。这里面有的人,
早已天各一方;有的人,若干年后在美国偶遇;有些人,也许大家早已互相忘记,只是看
到这个名字,脑海中浮现出一个模糊的影子,然后一瞬间这些画面就清晰了起来。8年前青
涩而充满激情的校园生活,和那其间的我,现在完全feels like a dream.

What has been lost, should not be forgotten.

Tuesday, October 7, 2008

Quick Chip viewer

Around 6-7 hrs of dev time including debugging and fine tuning.


Some new experiences with Ext:
The hidden Ext.lib.Dom provides some handy functions like to calculate the size of the browser window, thanks Jack, it's not in the documentation but i was able to dig it out :)

Viewport is neat but it may take a while to get it work properly; everytime add/remove elements don't forget to call viewport.doLayout()