Overview for 'derekrethans'
Written by Derick Rethans
/ Original link
on Feb. 25, 2014
DateTimeImmutable Montreal, Canada Tuesday, February 25th 2014, 09:41 EST The first time that my improved DateTime support made its way into PHP was officially in PHP 5.1, although the more advanced features such as the DateTime class only made it appearance in PHP 5.2. Since its introduction the…
Written by Derick Rethans
/ Original link
on Feb. 18, 2014
Type juggling with MongoDB London, UK Tuesday, February 18th 2014, 09:41 GMT As PHP developer you likely know that all GET and POST variables are represented as strings through the $_GET and $_POST super globals. PHP's weak typing system allows you to do calculations with numbers that are stored in…
Written by Derick Rethans
/ Original link
on Feb. 11, 2014
MongoDB and arbitrary key names London, UK Tuesday, February 11th 2014, 09:41 GMT I hang out on the MongoDB IRC channel (Freenode/#mongodb) quite a bit, and an often recurring question is inherently abour storing values as keys. One of the examples is storing timed data points like this: { person:…
Written by Derick Rethans
/ Original link
on Feb. 4, 2014
Understanding Valgrind errors (1) London, UK Tuesday, February 4th 2014, 09:22 GMT While debugging segmentation faults (crashes) in PHP and its extensions, I often use Valgrind to assist me finding the root cause. Valgrind is an instrumentation framework for building dynamic analysis tools. It cont…
Written by Derick Rethans
/ Original link
on Jan. 28, 2014
Hunting for Postboxes (part 1) London, UK Tuesday, January 28th 2014, 09:11 GMT The new year brings new hobby projects! In this year, I am going to try to photograph as many UK postboxes as I can. For this I am going to build some apps and overview maps, but I will write more about those later. A…