My own little StreamRipper

This is a stream ripping program I did in order to read and rip streams (like Frequence 3) sending frequent advertising messages that usually prevent users from ripping them. It’s somehow like a protection bypass ripper. What it does : Saves shoutcast streams in MP3 files Saves shoutcast streams in one MP3 file with its cue sheet file Doesn’t consider text information that have seen recently (this is why I did it) Adds MP3 ID3 tags (ID3v1 and ID3v2) using [TagLib#][1] Reads M3U playlist streams Here are the command line options : ...

October 10, 2009 · Florent Clairambault

LinQ to Entities on ADO.Net vs LinQ to SQL

Overview To make it short : LinQ to SQL only works with SQL Server but it’s working great. It’s simple, supports all LinQ operations and optimizes the generated SQL queries. LinQ to Entities on ADO.Net works with lots of database but it doesn’t behave like LinQ to SQL and doesn’t support some key LinQ features. Now the long story : For the last project I’ve been working on, we wanted to use LinQ and still be able to switch to one database to an other (MSSQL to MySQL for instance). So we decided we would use LinQ to entity. The generated object are roughly the same, the code to Create/Read/Update/Delete data is roughly the same. So we were quite happy. ...

October 4, 2009 · Florent Clairambault

TC65 Module Exchange Suite (MES) problems

WARNING: All the Cinterion related content from this blog will be removed to go to the javacint wiki soon. Please get used to going there. Update (2011-06-28): You should look at the jOBEXFtp program if you don’t want to spend hours fixing a problem with a crappy software. When you want to locally deploy software on your TC65 chip, you need the Module Exchange Suite (MES). If it doesn’t work, it won’t tell you why, finding out why can be quite tricky. ...

October 3, 2009 · Florent Clairambault

PHP 5.2 on CentOS

PHP 5.2 brings lots of little useful features and CentOS 5.3 comes with PHP 5.1. So most of my PHP apps failed. The easiest way to solve this is to : Edit /etc/yum.repos.d/CentOS-Testing.repo and put this: [c5-testing] name=CentOS-5 Testing baseurl=http://dev.centos.org/centos/5/testing/$basearch/ enabled=1 gpgcheck=1 gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing Launch: yum update php Source : Fresh Blurbs

August 31, 2009 · Florent Clairambault

get start-stop-daemon on any Linux distribution

I switched from Debian to CentOS because I had the choice between an old 32 bits Debian 4.0 or a brand new 64 bits CentOS 5.3. And I have some scripts that use the great start-stop-daemon tool, which isn’t available on CentOS. The easiest way to solve this problem is to get dpkg from Debian and then try to compile it. It’s likely that it will fail because libselinux (and it’s subsidiary library libsepol) won’t be registered in the pkgconfig dir. But we don’t really care as we only need start-stop-daemon, not dpkg. ...

August 31, 2009 · Florent Clairambault

Server moved

I’ve switched from my two three years old dedicated servers to one brand new virtual server. Reasons are : These servers costed me too much and they were becoming old (risk of failure increases). It wasn’t worth it. I spent last night doing that because I didn’t want to interrupt anybody using these servers. My two servers were running some Debian and I’m now switching to a CentOS virtual server. I was a little bit worried at first that CentOS would have a crappy package management system, but its yum is in fact working the same way as Debian’s apt-get and OpenSuse’s zypper. The oool thing is that these three package management systems roughly work the same way : <apt-get/yum/zypper> install , you don’t have to learn a new “ultimate” way to upgrade your software (like on FreeBSD). By the way, the faster package management system is yum, and the slowest one is zypper. ...

August 30, 2009 · Florent Clairambault

Microchip Zena Analyser – Zena .zna file format

I recently thought that it could be interesting to automatically get everything I needed about a MiWi network using a program reading the .zna capture files. I wanted to check every data sent on the 802.15.4 layer at a higher layer than Zena. But the project has been cancelled, so I won’t make this program. But still, I decided to give the format of the file for those who would have the same needs. ...

August 27, 2009 · Florent Clairambault

Microsoft Office 2010 (Tech Preview)

I’m in holiday right now. I received invitation from Microsoft to test their Office 2010. I’ve downloaded it (with my HSPDA card which is very slow (5 to 40 KB/s) here). It looks like they took the time to improve everything in order to reach the level of Word/Excel/Powerpoint 2007. These 3 products haven’t changed much, they just have some new colors, a new special menu and some new little features. ...

August 6, 2009 · Florent Clairambault

Inside Sharepoint

I recently took the time to take a look inside the Microsoft.Sharepoint.dll using reflector. I’m not sure I have the right to do that. And I’m pretty sure I don’t have the right to publish any code extracted from it, so I won’t show any. Using SPSite(s) and SPWeb(s) If you do some timing on the SPWeb creation call (SPSite.OpenWeb), you will find out that it’s freaking fast (less then 1 ms on my server). The reason is that the most heavy object, the SPRequest class, is shared among SPWebs of a SPSite. The Dispose call only “Invalidate” the SPWeb, and if this SPWeb is the owner of the SPRequest (which is SPContext.Current.Web object in most of the cases), it releases it. ...

August 4, 2009 · Florent Clairambault

SMSOTAP v1.2.1

WARNING: All the Cinterion related content from this blog will be removed to go to the javacint wiki soon. Please get used to going there. I have just made a little update to the SMSOTAP program so that the little message generation wizzard can add the NETUSER and NETPWD parameters in the OTAP SM sent to the TC65. Thank you John for this little feature request. This pretty useful, without it you could end up adding a new SM and editing each message. ...

July 31, 2009 · Florent Clairambault