I've been using Javascript for a long, long time now. I've always considered it more of a serious programming language than most of my peers, and with the recent additions to the HTML5 working drafts and other emerging technologies like WebGL, things are about to get really interesting!
Facebook f8: HipHop for PHP
PHP is an extremely flexible language. Pretty easy to debug, easy to deploy, easy to learn. This goes for most scripting languages, and like most scripting languages PHP is uses a lot more memory and CPU cycles than, say, a compiled language like C/C++. Facebook was mostly built on PHP, and since Facebook needs to be able to serve 400 million users, they decided to look into different ways of improving the performance of PHP itself.
Facebook f8: Open Source PHP development using XHP
Part two of my Facebook f8 coverage will cover the XHP talk I attended. Bob Baldwin hosted this talk on the newly open sourced templating language XHP.
Facebook f8: Keynote
I am at Facebook's f8 event, and just sat in on Mark Zuckerberg and Brent Taylor's keynote presentations, here's my recap.
RFC-822 Date Time in PHP
Just in case you were wondering. Here's what I came up with to represent an RFC-822 compliant date string in PHP:
date("D, d M Y H:i:s O" [, $timestamp])
OpenGL 4.0 Released at GDC
March 11, 2010 – San Francisco, GDC 2010 –The KhronosTM Group today announced the release of the OpenGL® 4.0 specification; a significant update to the most widely adopted 2D and 3D graphics API (application programming interface) that is deployed on all major desktop operating systems. OpenGL 4.0 brings the very latest in cross-platform graphics acceleration and functionality to personal computers and workstations and the OpenGL standard serves as the basis for OpenGL® ES, the graphics standard on virtually every shipping smart phone.
Parsing Trade Offs
So as none of you may now, at the core of my little framework here is a pretty sweet home grown parser, that basically spits out a DOM tree. It takes all sorts of input and turns it into pretty smileys, auto-paragraphs and more coolness. There's a few things it doesn't do too well though, so I rewrite a new parser from scratch over the past 2 days.
Regex builder
One of the changes I made to my parser is how smileys are handled. Whereas the old parser had a character tokenizer which made writing the logic for parsing smileys tedious to say the least, I felt it would be worth it to attempt to build an auto regex builder script.
RSS standard lameness
RSS (most commonly expanded as "Really Simple Syndication") is a family of web feed formats used to publish frequently updated works—such as blog entries, news headlines, audio, and video—in a standardized format.
So I've been working on fixing up my RSS codes so that I can automatically post to Facebook using my blog, which led me to see a lot of stupidness in the RSS specs.
Code Blog
This section of the blog will be used as an outlet for my nerdy programming geek side. I have several pet nerd projects going on. One of which is showcased in the image you see here.
The geometric mesh you see here was obtained by subdividing a tetrahedron into increasingly smaller parts, and offsetting the resulting vertices on their normal vectors to create a sphere. A mathematical displacement function was then applied to create the ripple effect.







