Moving to PHP on 64 bit… the isssues & challenges

So your current website – if running PHP – and it seems to work just fine. I am however working on a project, where the new servers are running on a 64 bit version of the OS. This change seem to cause a number of potential issues, and as there didn’t seem to be a [...]

Tags: , , , ,

The Big Switch

Housekeeping is happening and this site moving and changing. After almost 15 years of pro bono hosting at TDC, this site is now moved to it’s own home funded by myself. The move isn’t quite done yet, but as most is in place, the DNS has been updated and you’re watching the new netfactory.dk site. [...]

Defaults may be wrong…

Just a word of warning when using PHP and Mysql – if you’re trying to make efficient code and not utilizing all sort of frameworks and abstractions, you might be in for a small surprise in a default setting. Usually is slightly lazy and often use the mysql_fetch_assoc function. It provides each row as an [...]

Tags: , ,

Function names as signaling

In most web applications there’s a host of functions (or methods if speaking in the object-oriented world). It’s widely recognized, that it’s probably a good idea to name them something, which may suggest the purpose or functionality of what the function is doing, but often developers seem to fail at making a stringent naming convention. [...]

Tags: ,

Copenhagen Zoo

For anyone interested in animals or photography, a Zoo is a wonderful place and somehow we stumbled across the Copenhagen Zoo yesterday. While it would have been somewhat more fun with a Zoom lens on the Nikon D300, I still got a few nice shots. Here are a small selection. Currently there is a lot [...]

Tags: ,

Brede Værk

I hvad der engang var Danmarks største tekstil fabrik tilbage i 1800 tallet, findes i dag Brede Værk – en del af national museet. Her fortælles om livet i en tøjfabrik, industri samfundets udvikling og om velfærdssamfundet. Specielt deres interaktive udstilling, hvor man kan prøve samlebåndsarbejde. Der er gratis adgang. – In what was once [...]

Tags:

Bread crumbs in version control

I’m sorry but sometimes I really don’t get why even seasoned developers doesn’t learn the art of the commit message in version control system. All too often I’ve come across check-ins where the entire commit message just reads “bugfix”, “change”, “oops” or something just as mindless. The effort of writing a useful message compared to [...]

Tags: ,

PHP best practice: Function Parameters

I’ve been developing web applications for some years now, and while I make no claims to being the world greatest developer, I do figure, that I do have some solid experience which may help others – or at least encourage thoughts and discussion. This is the first in a series of posts, and while it [...]

Tags: , ,

Florence, Italy

As part of our trip to Pisa, we to a day trip to Florence. Florence was once the capital of Italy (before Rome), and is a beautiful historic town with plenty of interesting things to see. The train ride from from Pisa was slightly more than an hour, and most of the time was spend [...]

Tags: , ,

Pisa, Italy

Budget airlines is a wonderful way to have short holidays or extended weekends somewhere interesting. The carrier Norwegian has flights from Copenhagen to Pisa and we went to explore Pisa a few days saying at the Grand Hotel Bonanno. Getting around Getting to town… If you fly into Pisa Airport taking the train to Pisa [...]

Tags: , , , ,