Blog / General / News / FlatPress 0.812 Fortissimo
HO! HO! HO! MERRY XMAS!
ChangeLog
+ Brand new indexing system
+ Many bug fixes (drafts, validation errors, etc.)
+ Cosmetic changes in default admin panel
How to upgrade from Vivace
That’ll be surprisingly easy, even though there is a brand new indexing engine!
1) do a backup (just in case ;) )
2) Download the package from SourceForge
2) unpack the file you downloaded
3) drop your old fp-content/ to the new flatpress/ dir you unpacked
3) login as usual; if anything doesn’t work here (it should, don’t worry), reinstall
4) go to the maintenance tab and choose to rebuild the index
5) wait for the page to load completely
6) scroll down, you should see a message saying the process has finished: you’re done!
6/b) you might need to empty the fp-content/cache/ dir if you had prettyurls enabled
Note: This is SVN rev227
Have fun!
UPDATE: if you’re experiencing a “syntax error”, try using these patched files. And tell your host they suck :D
Blog / General / News / 110 e lode
I’ve left it as we say it in Italian, since I couldn’t find a proper translation.
Anyway, great result :)
Blog / General / Almost fainted

I was trying to give a refresh to my own personal blog with a brand new SVN snapshot; it’s been a long since I updated with the last changes the FP installed there.
I almost fainted when I saw a fatal error in FlatIndex/BPlusTree coming up.
What. The. Hell.
I have to discuss the thesis in a few days, I’m supposed to be working on the presentation, in fact. You can imagine how I could feel.
A few swears later, it turns out that I was reading a signed int as unsigned and therefore everything went horribly wrong.
I was already picturing images of EPIC FAILure (O NOES ENDIAN-NESS!) but luckily I was able to track the issue down; FIX’D in your SVN.
Now, you may ask, how did this trivial bug make to slip in the lib?
Well, in my tests even though the code was trying to read an unsigned value, the unpack() command still returned a signed value.
I suppose it was a bug in the PHP version of my tests. True story.
Well, finally all went well.
Blog / General / News / Announcements / Thesis printing
Let us all celebrate :D
FlatIndex (formerly bplustree.class.php) will soon be hosted at code.google.com
Please notice: MIT License… :)
Bye!
Blog / General / Thesis almost finished
So, the last revision is almost finished, if my tutor says it’s ok I’ll have to go and print it; and it must be before next Monday, 8th.
and I’ve got an exam for this Friday. Damnit.
For your pleasure, here’s from the text.
Can you spot the intruder? HINT: don’t stop at the obvious.
LAWL.