Ajax Push Engine 1.0 Beta 5

I talked quickly about APE in a recent post. I recently downloaded a new version of their program and I’ve installed it successfully and it works much better. Since the first released verison, it has become quite easy, you just have to launch “./build.sh”. I had some problems with the linker on my CentOS system and the mysql libraries. But I solved it by added “-L/var/lib64/mysql” to some line of the Makefile. ...

December 6, 2009 · Florent Clairambault

Show process being started on Windows

You might want to see what commands are executed by the system or the applications you use. Take Process Monitor Go to Menu “Filter” / “Filter”, click “Add” and select for the added item : “Operation”, “is”, “Process Start”, “Include”, click on “OK” You see a list of all the newly started processes Double-click on the process you want to get the command line from. A new windows opens, go to the “Process” Panel, you have a “Command Line” text box. You can also right-click on the column titles and add the “Command Line” column to see the Command Line being executed directly in the main window.

December 2, 2009 · Florent Clairambault

Loading plugins assemblies in .Net

This might seem like a quite complex thing to do, but it’s in fact very simple. Thank you .Net for being so well built. Note: With .Net 3.5, there is a much more advanced method called Add-In. But it’s also much more complex. You should use it on long-term projects with some evolutions of the plugins API (and no possibility to change the plugins). I’ve used it for a project and that really made us lose a lot of time. ...

December 1, 2009 · Florent Clairambault

My dear visitors

Hi my dear visitors, Some of you seem to like (or fall by mistake in) my unfunny, unspiritual and crappy english speaking blog. I’m very glad you have such bad taste. You are more than 2 500 to come each month. You mostly come about some stuffs around the TC65, SVN, C# .Net or Sharepoint. By the way, you consumed more than 200 GB of bandwidth this month, mostly on downloading the TC65 SDK. I’m really surprised, I guess a lot of people use this chip even if nearly nobody writes about it.

November 28, 2009 · Florent Clairambault

The waspmote

For those of you that take an interest in M2M and/or embedded things. You should look at the Waspmote. This is a generic hardware that can be customized to fit any need. Communication : GPRS / Wifi / ZigBee / USB Location : GPS Power usage : Low consuption, battery or solar as power input Storage : SD Card (2GB), no other storage memory Sensors : Everything you might need (really impressive set of sensors) I looked at the API and it’s in C (pretty low level, you have to free everything) but everything seems to be handled at a high level. It’s sometimes better to have a smart C API rather than a dumb Java API. Look at the examples, they are really easy to read, you don’t need to be a skilled C developer to understand everything. ...

November 25, 2009 · Florent Clairambault

Push (Comet) or pull ?

What is it ? Most of the modern web applications display recently updated data, and to do that they need to get he latest data very frequently. Some of them even include some real-time chat (Gmail Chat, Facebook chat). How ? That’s the interesting part. Pull is pretty dumb. You do a request very frequently and you see if anything new appeared. This consumes some bandwidth, some resources (because server has to check if data has actually changed). Push is going back to the source : Once you’ve made the request on the server, it doesn’t reply instantly. It will wait for something before sending anything. So push over HTTP is in fact a pull with a sleeping response. Using push over HTTP is called Comet. So pushing data isn’t very complex, it just requires a special server to transmit some data (text, html, xml, or image) over an already opened HTTP connection. ...

November 23, 2009 · Florent Clairambault

SVN : Go further

I’m not a huge fan of SVN. It’s crappy for file transfers and it easily locks. But still, it works pretty well for my relatively small needs and it’s super easy to setup. I’d like to talk a little bit about the things you might not know about SVN… Hooks on the SVN Server You might not know this but you can add a lot of personalized actions on your repository. You just have to add script files to the “hooks” directory of your repository. For a complete list of hooks file name, look here. ...

November 21, 2009 · Florent Clairambault

Displeased with 1And1

I’m really displeased with my 1And1 virtual server. I took it because I didn’t want to spend time on some potential disk failures. And since the Oct, 19 2009 2:00 AM, i’ve seen my load average totally exploding. I guess the disk was totally busy with an other virtual server. I called them and they did a really awesome test : the PING test and even the web page test. I tried to explain them that this wasn’t the best way to test if the server was working, but well they told me that maybe I just messed up my configuration. ...

November 20, 2009 · Florent Clairambault

NDepend

Title: A Review of NDepend Patrick Smacchia kindly provided me with a professional license for v2.12 so I could explore and share my thoughts. As it was a gift, I made sure to spend some time diving into its features. After exploring it thoroughly, I must say I like it. NDepend isn’t the ultimate tool you must use, but, like others such as Resharper or Reflector, it gives you a valuable perspective on your codebase. ...

November 8, 2009 · Florent Clairambault

PIC18 development

That’s something I wanted to do for quite a long time now: Creating some programs for PIC chips. I bought the ICD3 programmer/debugger with the PICDEM Z development kit (for ZigBee communication). I can’t say it was cheap (it cost me 500 €), but I’ve made good use of it. The thing is, it brings me back to my first C programs. It’s quite hard to come back to some unmanaged, memory limited, namespace less language. I thought the lack of objects would be the hardest part, but in fact it’s not (you can easily emulate it). The hardest part is the lack of namespace and the massive use of #define, I really would be happier with a some sort of limited version of C++. The MPLAB development environment is awful (compared to Visual Studio): no reindenting, no refactoring, no smart-anything. This is WILD for me. It’s like being a citizen in the jungle. ...

October 30, 2009 · Florent Clairambault