Cinterion TC65 Chip

WARNING: All the Cinterion related content from this blog will be removed to go to the javacint wikisoon. Please get used to going there.M2M projects are the type of project I like to work on. Connecting remote devices, making them work together, and controlling everything remotely are things i love ! I discovered the Cinterion TC65 (which belonged to Siemens then) 3 years ago. And it was a dream come true....

March 26, 2009 · Florent Clairambault

MySQL Master-Master desynchronization

Settings a master-master synchronization is pretty easy. You can find a quick guide to do this on google, just try. What is a little bit more problematic is when you lose your loved sync. And that can happen. It happened to me yesterday, I upgraded my two servers from Debian 4.0 to Debian 5.0. The reason is that the old version (something like 5.0.32) used the Relay_Log_File ${hostname}-relay-bin.XXXXXX. And the new version (5....

March 25, 2009 · Florent Clairambault

Compile mono on Debian

Mono enables you to run .Net program on almost every operating systems and my second favorite one is Debian/Linux (my first one is Windows as you can guess). You need to get some tools: apt-get install subversion make automake autoconf python gcc g++ libtool pkg-config bison libxml-perl gawk Get the SVN repository (very slow): mkdir ~/mono cd ~/mono svn co svn://anonsvn.mono-project.com/source/trunk/mcs svn co svn://anonsvn.mono-project.com/source/trunk/mono svn co svn://anonsvn.mono-project.com/source/trunk/libgdiplus #svn co svn://anonsvn.mono-project.com/source/trunk/gtk-sharp If you don’t have any mono on the system:...

March 2, 2009 · Florent Clairambault

DOL – Delete Oldest Logs

This is a little program I made some time ago because I had some problems with some log files I generated. I didn’t know how big they would end up and I had a limited disk space. As you can guess, it can be used for any files. So I could have called it “DOF * Delete Oldest Files”. The idea of this tiny .Net program is to delete the oldest logs first....

February 25, 2009 · Florent Clairambault

Sharepoint – Clean a huge Document Library

I recently had to clean a huge (113 000 rows) document library. The first question that must come in mind is : Why was it so big ? Well, someone thought it was beter to store data in lots of XML files instead of in a classic list. The second question is: How ? First, you have to understand that you can’t use a DeleteAll() method, it doesn’t exist. You must fetch data by little packet of rows....

February 20, 2009 · Florent Clairambault

Sharepoint : What should I Dispose ?

When you begin with Sharepoint like it did (and still do), you will ask your self: “What object should I dispose ?”. It’s quite important because Sharepoint leaks approximately 1 Mb per “IDisposable object not disposed”. If it’s a menu, it could quickly make you loose 10 Mb per loaded page. The best and complete answer is in the MSDN. But it’s a pretty long answer. The short answer is :...

February 17, 2009 · Florent Clairambault

Automatic error reporting in PHP

I edited this page on the 21 March 2010 because a lot of people seem interested and the code as since improved ! PHP has a pretty interesting feature, you can define a callback method to “catch” any error “thrown” in your code. And I’m sure most of you don’t use it. It’s really usefull when you want to make sure to detect error before any user reports it (which can takes time)....

February 15, 2009 · Florent Clairambault

Insert SVN version and Build number in your C# AssemblyInfo file

Software version number is quite important. It helps you track what versions have your users when they report something. And when it’s linked to an SVN version number, it’s even better. Well, with MSBuild Community Task, you can easily automatically generate smart version numbers, you have to: Download MSBuildCommunityTasks Make sure your “svn.exe” binary is in C:\program files\subversion\bin Add this at the end of your .csproject file : 2011-07-02 update: As givenin Markus comment, this code is a much better option:<!...

February 3, 2009 · Florent Clairambault

TC65 FAQ

MOVED HERE: javacint / FAQ I decided to open source the content I wrote in my blog pages to the javacint wiki. Please use it and participate from now on.

December 31, 2008 · Florent Clairambault

I want to write again

Hello guys, I intend to use my crappy english to write about the stuff I’ve been working and playing on. So, I think I will post some new articles soon. And why do I suddently write in english ? Well, I’d like to train my self. I have a very good understanding english level, but I’m somehow quite limited when I have to speak or write in english. You can post comments to help me improve my english level....

December 27, 2008 · Florent Clairambault