Hulu starts invitation

Hulu started invitation several days ago, every beta user has 10 invitations to send to their friends.
It reminds me the old days, the age of gmail.

Currently ppl living in mainland China may have some difficult to view contents. However, you are clever enough to skip check.

If you are interested in getting an invitation, just drop me a mail.:)

Bots of SNS Sites, Privacy, and more...

We’ve seen a lot of bots since IRC was invented (maybe much more earlier, I’m a 80-age guy). Bots are widely used nowadays in SNS sites.

They can track the changes of your nick and personal status, then automatically report to your twitter-like mini blog. But someone bad may record your password, use your contact list and spread ads and spam mails. We’ve seen a lot of such bad sites which provide marriage info exchange or something else, ONS, I mean, who knows. One of them is even one of MSN China’s partners which appear in MSN tab for mainland China users. Check your hotmail inbox or spam directory, are there some spam-like mail from some sites but in the name of your friends?

So, why users still type their IM account and even IM password in their SNS site? Are they looking for a true love, true friendship, business chance, new circle, new network? I don’t know.

SNS sites will have more and more difficult in balancing of providing credible personal data and protecting personal privacy. After all, the key value of all SNS is users’ data and the network upon them. We will see more changes in the industry. It’s not the end nor the start The challenge was, is, and still will be the most difficult for every SNS site, and even the whole Internet.

PS.

A famous “search engine” in China is “man powered search”. Many scandal guys’ personal data are posted on Internet by start searching from a picture, a phone number, or even an id. The big brother are created by ourselves.

Yet another stupid JiWai.de gadget

I spent a five minutes to complete a stupid JiWai.de using Prototype JS library for my personal web site.

Because I set my JiWai.de to private, so I have to download my data to server using wget or curl in crontab.


>
> [email protected]:~/wwwdata/doc_root$ crontab -l
# m h dom mon dow command
10/ * sudo -u www-data /usr/bin/wget -N -q –[email protected] –http-password=sillypaswordRocks -O /home/feuvan/wwwdata/doc_root/jiwai.json http://api.jiwai.de/statuses/user_timeline.json?count=10
>
>

and on my homepage:


>
>




>
>

ISOCMD

required files(drivers directory in UltraISO installation):
isocmd.exe
ISODrive.sys
ISODrv64.sys

related reg key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ISODrive

useful parameters:
isocmd -number 3
set how many devices to be emulated
HKLM\SYSTEM\CurrentControlSet\Services\ISODrive\Parameters\NumberOfDevices
DWORD 0x0000003
isocmd -install
install the drive and service named ‘ISODrive’
D:>sc start ISODrive
SERVICE_NAME: ISODrive
TYPE : 2 FILE_SYSTEM_DRIVER
STATE : 4 RUNNING
(STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
PID : 0
FLAGS :
D:>sc getdisplayname ISODrive
[SC] GetServiceDisplayName SUCCESS
Name = ISO DVD/CD-ROM Device Driver
isocmd -print
output version information and emulated devices
D:>isocmd -print
ISODrive V3.11.409
Number of Devices=1, DriveLetters=[E]
isocmd -mount X: xxx.iso
isocmd -eject X:
isocmd -remove
remove the service named ‘ISODrive’, remove drive

Documented parameters:
D:>isocmd
Usage: isocmd <-command>
-mount drive: file_spec (mount file_spec to drive:
password is optional for ISZ images)
-eject drive: (unmount drive:)
-number (set number of devices)
-change device_no new_drive_letter: (change drive letter)

Remarks
If you want to change the number of emulated devices, you have to reinstall service.
i.e.
isocmd -remove
isocmd -number 32
isocmd -install

Windows Live ID Web Authentication 1.0 released

MS released Windows Live ID Web/Client Authentication to public recently. Now 3rd party web sites can take advantages of millions of existed Windows Live ID users (previous Passport).

MS provides a language-independence ( sample include C# for asp.NET, Java, Ruby, PHP, Perl and Python. And once you read through the code, you can write your own Windows Live ID authenticate lib in your preferred language) , platform-neutral (Windows, *Nix, whatever), build-on-XML and strong encrypt algorithm(HMAC, SHA, etc) way to authenticate users.

It’s easy to use:

  1. Login https://msm.live.com/app/ to get your unique APPID for your site.
  2. Follow the samples, change your authentication.

It takes me ten minutes to setup and use.

The Windows Live ID will ONLY pass a unique anonymous user id (specified to your site) to the site. This seems to be a little useless because it even lacks email address. But, it just protect Windows Live ID user’s potential privacy.

Links:

MSDN

Windows Live ID Web Authentication 1.0 SDK

WTL toturial on codeproject

By Michael Dunn

WTL for MFC Programmers, Part I - ATL GUI Classes
WTL for MFC Programmers, Part II - WTL GUI Base Classes
WTL for MFC Programmers, Part III - Toolbars and Status Bars
WTL for MFC Programmers, Part IV - Dialogs and Controls
WTL for MFC Programmers, Part V - Advanced Dialog UI Classes
WTL for MFC Programmers, Part VI - Hosting ActiveX Controls
WTL for MFC Programmers, Part VII - Splitter Windows
WTL for MFC Programmers, Part VIII - Property Sheets and Wizards
WTL for MFC Programmers, Part IX - GDI Classes, Common Dialogs, and Utility Classes
WTL for MFC Programmers, Part X - Implementing a Drag and Drop Source

PS:
What is WTL?
http://en.wikipedia.org/wiki/Windows_Template_Library


The Windows Template Library (WTL) is an object-oriented Win32 encapsulation C++ library by Microsoft. The WTL supports an API for use by programmers. It was developed as a light-weight alternative to Microsoft Foundation Classes. WTL extends Microsoft’s ATL, another lightweight API for using COM and for creating ActiveX controls. Though created by Microsoft, it is unsupported.

Microsoft made the source code of WTL freely available under an open source license. Releasing it under the Common Public License, Microsoft posted the source on SourceForge, an Internet repository for open-source code. As of version 7.5, the library was also dual licensed under the Microsoft Permissive License. [1]

Most of the WTL API is a direct mirror of the standard Win32 calls, so the interface is familiar to most Windows programmers. Being an unsupported library, WTL has little formal documentation. Faced with this problem the “WTL Documentation” project [2] was started and now has a semi-complete documentation.

Overview

Windows Template Library, or WTL, is a set of classes that extend ATL to support more complex user interfaces for either applications or various UI components, while maintaining the big advantage of ATL—small and fast code. WTL classes were designed to be the best and the easiest way to implement rich Win32 based UI for ATL based applications, servers, components, and controls.

WTL provides support for implementing various user interface elements, from frame and popup windows, to MDI, standard and common controls, common dialogs, property sheets and pages, GDI objects, UI updating, scrollable windows, splitter windows, command bars, etc. The WTL classes are mostly templated and use minimal instance data and inline functions. They were not designed as a framework, so they do not impose a particular application model, and can accommodate any. The classes do not use hooks or thread local storage, so they have no restrictions that those techniques impose. They also have no inter-dependencies and can be freely mixed with straight SDK code. In summary, WTL delivers very small and efficient code, very close in size and speed to SDK programs, while presenting a more logical, object oriented model to a programmer.


http://sourceforge.net/projects/wtl/
http://www.viksoe.dk/code/wtldoc.htm

lighttpd 1.5.0 pr on Debian sid step by step

Download:

http://www.lighttpd.net/download/lighttpd-1.5.0-r1857.tar.gz

Prerequisites:

sudo aptitude install libglib2.0-dev libpcre3-dev zlib1g-dev libaio-dev libbz2-dev automake1.9

Configure:

./configure –prefix={yourprefix}

Build:

make clean install

Run:

{yourprefix}/sbin/lighttpd –f {yourprefix}/etc/lighttpd.conf

More:

I modified mod_extforward to make it compatible with 1.5.0 pre-release

Patch:

cd your-path-to-source/lighttpd-1.5.0/ patch -p1 < lighttpd-1.5.0-pr-mod_extforward.patch autoreconf

patch:
lighttpd-1.5.0-pr-mod_extforward.patch

Trac on lighttpd
`

$HTTP["host"] =~ "^trac\.lighttpd\.net" {
    # alias, ...

    $HTTP["url"] =~ "^/trac/" {
        proxy-core.backends = ( "127.0.0.1:9090" )
        proxy-core.protocol = "fastcgi" 
        proxy-core.rewrite-request = (
           "_pathinfo" => ( "^/trac(/.*)" => "$1" ),
           "_scriptname" => ( "^(/trac/)" => "$1" )
        )
    }
}

`

Some news about Age of Empires III: The Asian Dynasties

“Age of Empires III” Expands Into the Eastern World This Fall
The expansion pack will introduce gamers to Asian civilizations, a host of new gameplay features, and a new developer that will provide a unique spin to a classic favorite.

Age of Empires III: The Asian Dynasties Exclusive Q&A; - The Very First Details - PC News at GameSpot

AOE3: TAD Q&A; on community

screenshots:

And more

Update:
IGN Dynasties Interview: Some of the first information and images of the Indian civilization is now available in IGN’s latest interview with Brian Reynolds! The Indians will be appearing in Age of Empires III: The Asian Dynasties, the second expansion pack for Age III, along side the Chinese and Japanese. Check out the interview and the amazing screenshots that come with it for more information.
Age of Empires III: The Asian Dynasties, We chat with Brian Reynolds about the upcoming expansion.

Update:

Box art:
http://forum.agecommunity.com/forums/thread/519445.aspx
So, let me defeat the Japz when I get the pack.

Trailers from Microsoft AgeCommunity:
A small movie of about fifty seconds was put together for E3 showing off some gameplay and cutscene footage from Age of Empires III: The Asian Dynasties! The movie comes in two sizes, and can be downloaded via the links below. We hope you enjoy this brief look at the new civilizations.
low-res: here
hi-res: here