SuperShape3D

24 Feb 2010

http://www.syedrezaali.com/blog/ This guy is amazing! He did a brilliant app with processing to generate pretty awesome shapes!

apc and wordpress

21 Feb 2010

Strange, ive been having problems with my wordpress installation not wanting to load the dashboard. It now seems like this is because of APC. Ive tweaked my settings to make everything run smoother by setting apc.include_once_override=1 but this seems to break more than speed up things. By setting this back to 0 i was able to remove the problem

days of month in javascript

19 Feb 2010

Heres a quick tip to get the total number of days in a month in javascript

function getDaysOfMonth(year, month) {
    return 32 - new Date(year, month, 32).getDate();
}

How to create a REST Protocol

16 Feb 2010

Awesome article on creating RESTful protocols http://bitworking.org/news/How_to_create_a_REST_Protocol

Setup Zend_Rest_Route with multiple modules

15 Feb 2010

Say you have an application and you want entire modules or just a controller to be treated and follow the RESTful ways you can do following in your bootstrap.php:

protected function _initRestRoute() {
	$this->bootstrap('frontController');
	$frontController = Zend_Controller_Front::getInstance();
	$restRoute = new Zend_Rest_Route($frontController, array(), array(
		'api',
		'planner' => array('event'),
	));
	$frontController->getRouter()->addRoute('rest', $restRoute);
}

As you can see the 3th argument of Zend_Rest_Route will set “module”, or “module” => “controller”. Quite useful if you have an api module you want to treat as RESTful, or maybe a controller in a specific module used for some ajax stuff.

What IS the secret of Monkey Island?

13 Feb 2010

crazy awesome movie about the secret of monkey island, and about Guybrushs parents.

More on this right here http://www.geero.net/2010/02/other-secret-of-monkey-island.html

Mass Effect 2 review

10 Feb 2010

As a guy that never played through mass effect 1 i didnt look forward to this game at all. The first game had very mixed reviews. To sum up what ive heard was “good game but to many faults”

So got this a week ago, im through my first run and im left with very mixed feelings right now. First of all, this is an awesome game. I cant stress that enough. Even if you havnt played the first one its totally playable. You’ll get the story told along as you play. Your thrown right in the story where the first game left off. And based on how you finished the first game you’ll have different experience with this game. People you’ve saved in the first will appear in this game and story moments will continue. Of course you have the choice to start from a new character or pull your save game from the first one.

So long story short, this is brilliant. The action events in cut scenes is brilliant. The characters and conversations is brilliant. If you like Gears of War or Halo but also like RPG games, get this! Im going to play through a second time – which says a lot as i never does that!

Brilliant

Quick Bioshock 2 review

im 5 hours in and i really dont like this game. Im forcing my self to playing it though, but only because i really like the first one so much. It becomes more and more clear for me that this should have been a movie and not a game. And now the movie wouldnt make sense because you’ve ruined it all by making this game!

If you put me in a big daddy body, why not make me feel like im a giant guy with crazy weapons? why force me to go through exactly the same stuff as the first game? What a pain… I never felt like i was a giant guy with a lot of power. I know it wouldnt make a lot of sense to give you a lot of power at first but at least dont make me feel like a cripple.

Last annoying thing which was in the first one is the blinking items all over the map. I know i can run through without looking at everything but by making items blink you force me to look at it. And by not giving me enough items you force me to look too. Its annoying! Give me enough ammo to get by, but if you want to do more damage i can look around for it. And stop blinking!

At all time i wanted to play mass effect 2 through once more

Awesome ZF posts

5 Feb 2010

Awesome sir with great php and zf posts http://www.joeyrivera.com/

MacVim == awesome

4 Feb 2010

Im normally a Textmate guy but when i work in the terminal i always use vim. Ive known about MacVim for some time now but havnt really had any use for it as im living in Textmate. Yesterday i had to do some work on a server with a lot of editing files. While the terminal vim is great i got frustrated of not having my Textmate bundles and tweaks in vim. So i grapped a copy of MacVim at http://code.google.com/p/macvim/ and played around with it and got most of my bundles or equal awesome tools to do the same things.

Though i havnt been working that much in the terminal lately ive forgot a bunch of all the great features vim has. So i searched out for resources and the best one yet is http://vim.runpaint.org/ – they even have a twitter account at http://twitter.com/vimrecipes AND the book is available for forking at http://github.com/runpaint/vim-recipes

So go check it out! :)

LOADING!