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
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/
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
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.
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.
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.
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.
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.
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/
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/
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 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
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
http://github.com/yiwang/xmlinq
Make Red5 Server and Client Work!
Finally got Red5 sever configuration right and a simple server and client connection setup.
http://www.red5.org/wiki/0_9_1
Following tutorial:
http://www.red5tutorials.net/index.php/Tutorials:Getting_Started_With_Red5_Server
http://www.actionscript.org/resources/articles/615/1/Getting-started-with-red5-server/Page1.html
Server side code:
http://github.com/yiwang/Red5FirstApp_server
1. using Eclipse Galileo
2. lots of energy spent on tweaking web.xml etc. spring framework (v3.0) configuration files, getting help from http://sunil-gupta.blogspot.com/2007/03/how-to-create-sample-application-using.html
Client side code (in different formats):
http://github.com/yiwang/Red5FirstClient_AS
http://github.com/yiwang/Red5FirstClient_MXML
http://github.com/yiwang/Red5FirstClient_AIR
http://github.com/yiwang/Red5FirstClient_FLA
commons-logging-1.1.1 is included in lib
http://commons.apache.org/logging/download_logging.cgi
http://www.red5.org/wiki/0_9_1
Following tutorial:
http://www.red5tutorials.net/index.php/Tutorials:Getting_Started_With_Red5_Server
http://www.actionscript.org/resources/articles/615/1/Getting-started-with-red5-server/Page1.html
Server side code:
http://github.com/yiwang/Red5FirstApp_server
1. using Eclipse Galileo
2. lots of energy spent on tweaking web.xml etc. spring framework (v3.0) configuration files, getting help from http://sunil-gupta.blogspot.com/2007/03/how-to-create-sample-application-using.html
Client side code (in different formats):
http://github.com/yiwang/Red5FirstClient_AS
http://github.com/yiwang/Red5FirstClient_MXML
http://github.com/yiwang/Red5FirstClient_AIR
http://github.com/yiwang/Red5FirstClient_FLA
commons-logging-1.1.1 is included in lib
http://commons.apache.org/logging/download_logging.cgi
Doctrine of Modularity
Apply to function, but not content.
http://www.youtube.com/watch?v=zNJvGnI4VYA&feature=PlayList&p=7835614AE20903B4&index=3
http://www.youtube.com/watch?v=zNJvGnI4VYA&feature=PlayList&p=7835614AE20903B4&index=3
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
Subscribe to:
Posts (Atom)