Scaling foursquare with MongoDB meetup

http://www.meetup.com/New-York-MongoDB-User-Group/calendar/13817235/

4sq Outrage caused by RAM (64G on EC2) max out (not CPU bounded)
badge calculation based on entire check-in history
Solid state hard drive, significant improvement on matching with RAM
Hadoop for analytics, separate data collection branch on logs
customized MongoDB build with C++ code for location search given prefix
sharding from day 1 with MongoDB, (not using replica set yet)
validating objects in app, correcting if possible
no map reduce on MongoDB yet
original 4sq code is PHP with ... SQL
employee #3

Harry Heymann:
"10% on open source everything"
"XML is wrong"
"if using Java, not with Scala ... , is wrong"

https://docs.google.com/present/view?id=0ATHAG0M-0vxXZGNicHozY2tfMzdjM3hmbXJkYg&hl=en

http://www.10gen.com/video/misc/foursquare

Street Pacman v0.07 on N1 Screen Shot



157 total
73 active installs (46%)

Qmmp got projectM plugin built in

Audacious, Amarok do not. (on my machine, Ubuntu 10.04 repo)

Noticed Autocomplete (J key) in Qmmp and Audacious.

http://projectm.sourceforge.net/

Compiling gccgo Needs Bison and Flex

Following Go installation
http://golang.org/doc/install.html

It took hours to compile gccgo, 8g tooks less time to setup and run.

Bison and Flex reference
http://ubuntuforums.org/archive/index.php/t-339799.html

bootstrap comparison failure ()
http://gcc.gnu.org/ml/gcc/2009-09/msg00220.html

Can not get Gold linker to work (Ubuntu Lucid)

Video
http://www.youtube.com/watch?v=jgVhBThJdXc

Chrome (Chromium) Freezes Ubuntu 10.04 on Lenovo T61, Sync Related Issue

Now I got this problem (thanks Google)
http://ubuntuforums.org/showthread.php?t=1470623
on both Chrome and Chromium.

The Caps-Lock indicator flashes when it freezes.

Turning off Sync seems work.

NTFS mobile drive dies ...

After NTFS error message shown on Ubuntu 9.10 when plugin in the mobile drive, I follow its instruction.

Use
chkdsk /f
under windows

It detects lots of file errors and just die, Windows still can not see the drive.

I wonder this command actually does break my files since the implementation to access NTFS file system under Linux might (must) be different from Windows.

Switching back to Ubuntu, all files on the drive seems corrupted (partial images, I/O error)

Evil!

[Update]
Recovered most files after doing nothing but wait for one day, still some files lost.
Strange thing to me is those partial files come back as full files.

Life Saved by Openoffice Backup

Tried photorec, ddrescue without success, finally saved by ~/.openoffice.org/3/user/backup

Lesson is never leave file residing on external drive opened when the drive goes to unattached.

following GAE python tutorial

Code
http://github.com/yiwang/GAE_helloworld

Tutorial

http://code.google.com/appengine/docs/python/gettingstarted/helloworld.html
http://www.youtube.com/watch?v=bfgO-LXGpTM

Deployment URL
http://animds090418.appspot.com/

PS:
GAE currently only supports Python2.5.
On Ubuntu 9.10, I have Python2.5 and Python2.6 both installed.
appcfg.py attempts to use SSL to authenticate gmail account.
http://code.google.com/appengine/kb/general.html#rpcssl

In reference to http://groups.google.com/group/google-appengine-python/browse_thread/thread/92583bea0395c57a?pli=1
I can use
sudo easy_install-2.6 pyopenssl
to install and use SSL (import ssl) for Python2.6. But
sudo easy_install-2.5 pyopenssl
seems installation successfully but import ssl fails.

I compiled ssl module from source at http://pypi.python.org/pypi/ssl/ with
sudo apt-get install libbluetooth-dev
to fix the missing bluetooth.h header
and it finally works.

following the great RobotLegs Hello World Video Tutorial

Tutorial at:
http://pv3d.org/2009/11/18/robotlegs-hello-world-video-tutorial

code:
http://github.com/yiwang/HelloRobotLegs/

made a build.xml for ant to compile .as files directly into .swf with open sourced Flex SDK, without Flash (Flex) Builder or Flash IDE.


Create an eCommerce Website with Spree in under 1 minute

Spree! (got its sample site running on my server)
http://spreecommerce.com/support/quick_start

Code:
http://github.com/railsdog/spree

Not tried another RoR ecommerce template yet
http://code.google.com/p/substruct/

Rails command line seems much better than WP solution?
http://wordpress.tv/2009/06/08/create-an-ecommerce-website-with-wordpress-in-under-5-minutes/

Vision in Microscopes

CID
http://micro.magnet.fsu.edu/primer/digitalimaging/digitalimagingdetectors.html

confocal
http://en.wikipedia.org/wiki/Confocal_microscopy

deconvolution
http://micro.magnet.fsu.edu/primer/digitalimaging/deconvolution/deconintro.html

Install git binaries on Godady Linux share host

Godady Linux has no gcc, so need compatible binary, following tutorial
http://serverfault.com/questions/26836/setting-up-a-git-repo-on-my-godaddy-hosting-plan

Tried Rackspace Redhat 5.3 and CentOS 5.3 which are x64, therefore their binaries are not usable on godaddy's 32 server. Then compiled git from source on another 32 server (also Cent OS 5.3) and copied the binaries to Godady. It works!

Note:

To check Redhat version
cat /etc/redhat_release
Cent OS 5.3


To check glibc difference
http://www.linuxquestions.org/questions/linux-software-2/how-to-check-glibc-version-263103/

My machine:
e@e-laptop:~$ ldd --version
ldd (EGLIBC) 2.10.1

Godaddy share host server:
-bash-3.2$ ldd --version
ldd (GNU libc) 2.5

There are somewhat two different 'libc' (EGLIBC vs. GNU libc)
http://en.wikipedia.org/wiki/EGLIBC

LINQ and XML in C#

A SQL like language (in query mode) for manipulating dataset.
http://github.com/yiwang/xmlinq

回走的女生

在L到6 AV下车的Path,一个女生从一乞讨者边走过4,5米,回走,把钱放入杯中

M60, from LGA to 116ST, Columbia


View Larger Map


GPS tracking powered by InstaMapper.com





N1 ran out of battery.


GPS tracking powered by InstaMapper.com



Rare Situation


GPS Tracks


GPS tracking powered by InstaMapper.com






GPS tracking powered by InstaMapper.com



Where am I Now?


GPS tracking powered by InstaMapper.com