November 29, 2007 § Leave a comment
This is another not so new social networking site, but its idea is somehow refreshing and original.
- There are a lot of fashion blogs/magazines…
- There are a lot of gossip blogs…
- There are a lot of social network sites…
But there’s not a whole lot of those three combined in 1 site. It definitely has high advertisement values.
Detailed conversation about Popsugar’s technical specs & Drupal tips is recorded here.
Granted that Drupal source code is somewhat funky, along with its hook architecture, but it is well known to be flexible and capable to withstand medium-sized traffic.
November 27, 2007 § Leave a comment
November 26, 2007 § 5 Comments
is pretty much neutered. It doesn’t have a lot of extensions that I need such as: curl, mysql (this is the big one), pdo, etc, etc…
Update: It seems like I did not went through a clean-wiped-out install when installing Leopard. Many of my old development tool directories stayed the same, but some are different. PHP happens to be one of the few that’s different.
That sucks… O well, all I have to do is rebuild PHP 5.2.4/5.2.5 from source (+ all the extensions that I want) right?
WRONG!!! Big Fat Wrong!
I cannot even do:
After that I got this console message:
configure: error: -–with-mysql=/usr/local/mysql: invalid option; use –help to show usage
Huh? Why? WTF?
There are plenty of people complaining about the exact same problem, but no one seemed to have the answers.
Can anyone help me? Can anyone points me to the working PHP 5.2.4/5.2.5 source?
November 25, 2007 § 1 Comment
Note that the following are archives of what people said. I never work for Google. This summary is meant for fanboism towards Python.
Hope readers enjoy it.
How Python is being used inside Google itself:
- “At Google, python is one of the 3 “official languages” alongside with C++ and Java.”
- “The Google build system is written in python.”
- “Google has an internal packaging format like RPM. These packages are created using python.”
- “Binary Data Pusher. This is the area where Alex Martelli is working, on optimizing pushing bits between thousands of servers.”
- “Production servers. All monitoring, restarting and data collection functionality is done with python”
- “Reporting. Logs are analyzed and reports are generated using Python.”
- Note from reference no.1: It is obvious that SWIG is being used to talk between C++ and Python, Cool… Way cool.
- “Python is fast enough for our site and allows us to produce maintainable features in record times, with a minimum of developers.”
- “Requests are routed for handling by a Python application server.”
- “The Python web code is usually NOT the bottleneck, it spends most of its time blocked on RPCs.”
- “Python allows rapid flexible development and deployment. This is critical given the competition they face.”
- “Use psyco, a dynamic python->C compiler that uses a JIT compiler approach to optimize inner loops.” The other way is to use SWIG, wrapping C++ functions so that they are callable by Python.
- “Fully formed Python objects are cached.” I guess that means The python object is serialized and stored somewhere close to the server’s CPU. My wild guess is in the memory using Memcached.
November 25, 2007 § Leave a comment
Freecol is a turn-based strategy game inspired by the widely popular Colonization game of the 90s.
It is of course open source and definitely earned the nostalgic value of the commercial predecessor.
It is written in Java, if you are a programmer, make sure to download the source code and read it. The source code is very clean and organized. The source code could definitely be an awesome learning experience for those new in software development world.
As of today the stable version is 0.7.2.