Just a reminder to anybody who is interested, this Monday is the second ProjectDrinks meetup. It will be at 6:30pm at Trois-Brasseurs, at the corner of St. Catherine and Crescent, downtown Montreal.br /br /Last time people had some trouble finding the table, so it will be the one with a laptop on it.br /br /I was contacted last time about a href = "http://notmanhouse.pbworks.com/w/page/37549246/Homepage"Notman House/a, which is supposedly a meeting place for web developers and tech entrepreneurs.
In economics, there is a small sub-branch called a href = "http://en.wikipedia.org/wiki/Experimental_economics"experimental economics/a, which focuses on applying the experimental method to better understand economic phenomena. It has had some interesting results in small cases - especially in the field of game theory with things like the a href = "http://en.wikipedia.org/wiki/Ultimatum_game"ultimatum game/a - but most of the papers I've read are done at such a small or simple scale that they don't really apply to a real economy.
Plupload is a reusable component which fully takes advantage of the file upload capabilities of your browser and its plugins. It will use HTML5, Flash and Google Gears if they are available, but otherwise, it can gracefully degrade down to HTML4 it it needs to. Here's how it can be integrated within a Django web application.
This post used to be called Don’t confuse validation with filtering. This was meant to be about normalising data, but at the time, filtering was at the forefront of my mine due to work that did some of the things discussed here. Filtering, validation, and normalising are all essential parts of handling data. Finally, I want to stress that while normalisation is good, it’s not easy. Making assumptions is fine as long as you make educated assumptions. The reason you don’t see normalisation as much as you do is because it’s difficult to get right. I̵
Eric Hogue, a fellow PHP programmer up here in Montreal has written about Profiling a PHP Application. It’s a solid step-by-step setup of XHProf, XHGui, Xdebug for profiling with kcachegrind, and siege. Take a look!
Just because you use objects doesn’t mean you are programming in an object oriented manner. A function like this defeats the purpose:
public function init()
$user = new User();
It immediate creates a dependency. Whatever object init() is in, we know it relies on User. It also prevents us from testing init() without User. User needs to be in place, and it needs to work. If init() fails, we don’t know if it’s init() or User.
4JC.IN is useless for anyone but me, but it’s still useful for me. A simple tool, a weekend project, and a little exploratory on the web design side of things. The point is to have ready my own HTML bootstrapping system. With a quick call from the web directory, I can have everything I need downloaded and setup. The command is short, and easy to remember.
curl 4jc.in/to | sh
Yes, I’m running a remote file from the shell. Evil me!
FTP in Eclipse? This question gets asked a lot. An FTP plugin for Eclipse that will put your file up onto the server with a save of the file. I don’t use it much, but for fast projects on my home server, it makes things easy.