Having probably made my last databases-exam, I started a new course, Discrete Math A.
The last time I studied math was more than 9 years ago, and I found myself puzzling why
(2n+1)2 was not (4n2 + 1).
After 15 minutes of panic, I recalled my second grade math-classes:
(2n+1)2 = 4n2 + 4n + 1
because
(2n+1)2
=(2n+1) * (2n+1)
= 2n * 2n, 2n * 1, 1 * 2n, 1*1
= 4n2 + 2n + 2n + 1
= 4n2 + 4n + 1
pfeeuw.
Posted by:
Merlijn on Sunday, 17 of April , 2005 at 18:22
Tags:
mathematics,
open university Categories:
General
Comments:
be the first (opens in a pop-up window)
Add this post to
del.icio.us or
digg it
I did it!
For over a year I glanced at PHP5, but put it aside as too unstable/experimental (a year ago) or too dangerous to migrate due to incompatibility issues.
Some of my projects where however advancing to a point, that procedural programming became to limited. And more and more I found myself looking at (Object Orientated Programming) OOP.
And being a absolute rookie in OOP, I decided that if I had to learn OOP, I wanted it to learn in PHP5 rightaway, instead of starting in PHP4.
Well, 2 weeks ago, I decided that the time has come. I downloaded php5, installed it on my development server and….it just worked?!
A closer look learned that JPgraph -scripts broke and some my legacy code also.
Fortunately, there are two configuration options who both can be set in a htaccess or virtualhost configuration:
zend.ze1_compatibility_mode
and
register_long_arrays
Enabling those two directives in the appropiate virtualhost config made all the scripts 100% working again!(yeah yeah I know, ditch the legacy code and wait for jpgraph 2.0, but we don’t live in a perfect world, do we?)
The last week I find myself coding in PHP5 OOP style for the first time, using the new mysqli extension (prepared statements kick ass!) and enjoying php5 very very much!
Posted by:
Merlijn on Sunday, 10 of April , 2005 at 09:05
Tags:
JPGraph,
oop,
PHP Categories:
Coding
Comments:
be the first (opens in a pop-up window)
Add this post to
del.icio.us or
digg it
The 1st of april has become one the better internet days.
The whole net gets filled with hoaxes…the one even better than the other…
Some highlights of today:
A newly submitted RFC Requirements for Morality Sections in Routing Area Drafts (this is actually becoming a tradition).
Google Gulp
OS X on ipod
Water on Mars!
‘complete’ list
Posted by:
Merlijn on Friday, 1 of April , 2005 at 15:52
Tags:
april,
foolsday,
hoaxes Categories:
General
Comments:
be the first (opens in a pop-up window)
Add this post to
del.icio.us or
digg it