Programming

ProjectDrinks, Take 2

Auteur: 
Rob Britton

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.

Empirical SoEn is Hard: Cost

Auteur: 
Rob Britton

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.

Code reviews with Gerrit and Gitorious

Auteur: 
François Marier

The Mahara project has just moved to mandatory code reviews for every commit that gets applied to core code.

Here is a description of how Gerrit Code Review, the peer-review system used by Android, was retrofitted into our existing git repository on Gitorious.

Using plupload inside a Django application

Auteur: 
François Marier

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.

Normalisation of data

Auteur: 
Jason Lotito

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&#821

Profiling a PHP Application

Auteur: 
Jason Lotito

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!

Object Oriented Programming: Data Mapping

Auteur: 
Jason Lotito

The What

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();
return $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.

ProjectDrinks

Auteur: 
Rob Britton

Way back in September I tried to get together a group of programmers around Montreal to hang out, have drinks, and talk about various projects that we might be working on at the time.

4JC.IN

Auteur: 
Jason Lotito

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!

Eclipse with FTP Support

Auteur: 
Jason Lotito

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.

Syndiquer le contenu