Feed on
Posts
Comments

J’aime bien le sujet. Ca veut dire que je vais pouvoir parler de tout et de n’importe quoi. Voila mon premier article du genre.

Hier on a fait une mise en prod foireuse de notre portail. Et la, paf, je tombe coup sur coup sur deux articles qui correspondent exactement au problème. J’aurais même pu les écrire si j’avais été brillant… enfin, bref.
Les deux blogs sont en plus tres interessant….

Voila donc quelques perles du blog de Robert Vollman.

En parlant d’être pour ou contre les bases de donnée relationnelle :

To leverage the power of RDBMS you obviously need developers with good, solid understandings of RDBMS

I’ll concede that many people strongly object to leveraging the RDBMS based on ignorance. They program poorly, resulting in poor solutions, so they blame the technology that is so darn hard to understand.

En parlant de mise en prod :

There are deployments and there are deprayments. What’s the difference?

A deployment is when you deploy a change and verify that it was successfully deployed and functioning properly.

A deprayment is when you “deploy and pray.” It’s kind of like Dr. Evil in the Austin Powers movie: you don’t actually witness that the deployment succeeded, you just walk away and assume everything went according to plan.

Puis il y a le blog decodeeleven :

You can fight ignorance all you want, but I guess you can’t fix stupid.

Of course, the saddest part is that the solution is not to fix their database, its to instead install a caching plug in to hide the fact that their database and supporting code SUCKS.

The bottom line is don’t tell me RDMBS can’t scale if you can’t write a decent query or design a normalized database schema.

Bref, la conclusion ? Il faut vraiment faire une conclusion a ce genre d’article ?
Et oui, il faut. Sinon, c’est trop facile. Paf, deux ou trois citations et c’est torché. Et bien NON !

Pour temperer ces citations, je dirais juste que la plupart des problemes dans l’informatique (l’internet ?), outre le manque de competance notoire de personnes qui s’estiment expert en ayant lu la doc, c’est qu’on manque de temps. On manque de temps pour connaitre les bases de données, on manque de temps pour penser, pour developper, pour tester, pour mettre en prod. Le pire, c’est qu’a cause de ce manque de temps on perd encore plus de temps…

New iTerm release (EDIT)

iTerm is the most powerfull terminal emulator I know on Mac osX. I first thought the dev of this projec was over when Apple released Leopard. Today a co-worker just get an update warning. Checking it shows there indeed was a new update, version 0820 (20th of August ? :)).

The changeLog on the website reference few features and small bug enhancement PLUS a “Fixed nasty crashing bug“. I really hope this is the one I had once and a while (especialy when doing copy/past).

My friend did the update. When starting iTerm he has lost all his (51) bookmarks. Personaly I don’t use bookmarks. But he was really pissed off. After few minutes searching WHY no iTerm.plist was created when changing the config of iTerm, I finaly found that the config file name was changed.

The solution is to rename iTerm.plist to net.sourceforge.iTerm.plist in the Library/Preferences folder of your user (Bibliotheque/Preferences for French users). You can also do it from the Terminal this way (and keep your original file) :

cp ~/Library/Preferences/iTerm.plist ~/Library/Preferences/net.sourceforge.iTerm.plist

-EDIT-
It wasn’t long for iTerm to correct this “bug” :

Version 0.9.5.0821 includes the following changes:
* Fixed a bug in 0.9.5.0821 that causes loss of preferences when upgrade.

Go download the new version at http://iterm.sourceforge.net/download.shtml

Push it up !

pushup
Le site http://hundredpushups.com vous propose un programme, adapté a votre rythme, pour vous permettre de réaliser 100 pompes en 6 semaines. Même si je pense pouvoir le faire en moins, c’est une bonne base pour commencer.
J’attaque lundi. Et vous ?

I was asked for my Icecast monitoring template for Cacti today. I just realized I made a post in Cacti forums back in 2005 but never released the files.

My plugin is based on a Data Query. You add it to your device then you can discover every stream of your icecast server. Then you can choose the one you want, or chose the “all listeners”.

I also have an aggregation template, not specialy made for icecast but really usefull. You can then aggregate you streams as you like.

This is what I get for some of my streams :

Continue Reading »

DSS 6.0.3 is out ! Check this out at http://dss.macosforge.org/

I’m not sure what this new version brings, few things seems to have changed. I hope for the best..
They claim to be 64 bits compatible on OsX, with some speed up changes. Don’t know what this will bring on Solaris or Linux.

Whatever, this version will not compile out of the tar.

Sverker Abrahamsson have made a patch for Linux here.
He also provide a pre-patched source code there.

This will not compile on Solaris 10
So here are 2 patches for Solaris 10. I compiled using the coolthread Sun GCC, but it should be OK with whatever GCC you use.
Note that I had to so something dirty with the Timezone detection, and I still don’t know what the impact can be on a production server. I’ll come back here if I see any trouble one on production.

I also have few errors (warnings, in fact), that should be OK when running but detected by the pre-processor :

RTCPUtilitiesLib/RTCPAPPNADUPacket.h: In destructor `NaduList::~NaduList()':
RTCPUtilitiesLib/RTCPAPPNADUPacket.h:205: warning: comparison between signed and unsigned integer expressions

FYI, I’m not using DSS on production right now, and DSS 6 will have to be heavily tested before it is validated.

So…

[EDIT]
Thanks to Stefan Parvu, I added in the patch the Solaris x86 things. So DSS now also compile on it (tested on Sun Fire X4100 Server with AMD Opteron(tm) Processor - gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath))
[/EDIT]

  • dss-603-orig-to-solaris-v2.patch
    Use this patch if you just download the plain source. untar it, patch it, then use “./buildtarball 6.0.3” to compile it.
    Your install package will be in something like DarwinStreamingSrvr6.0.3-SunOS.tar.gz
  • dss-603-linux-to-solaris-v2.patch
    Use this if you start from the modified source code for Linux, provided by Sverker. Compile it the same way as above.

Then, Copy the tar file on your production server, untar it, and use the “./Install” script for install in /usr/local.

I’m working on a modified installer script where you can change the root installation dir. Soon to come…

DHL, F**K YOU !


Want to buy something and get delivered by DHL ?

DON’T !!

or do so, but be prepared to have to stay at home the whole day, expecting your order. It seems DHL, at least in France, only deliver “between 8 and 17″. Can’t be more precise.

Welcome to 2008 !

Fuppes is a “free” Upnp and DLNA server. It can work on almost any system, from Linux to Os X :)

While you will find some usefull help to install it on Leopard (check here), it may not be so easy.

First of all, install Macports.
Then, change your PATH environement variable so you have /opt/local/bin and /opt/local/sbin at the begining.
Then, port install some packages :

  • autoconf
  • automake
  • ffmpeg (see my other post for compilation)
  • ImageMagick
  • simage
  • taglib
  • pcre
  • pkgconfig
  • SQLite3
  • libxml2
  • ossp-uuid
  • lame
  • flac
  • vorbis

Other may be needed.

Then, download the latest CVS trunk and install it :

$ sudo svn co http://fuppes-svn.ulrich-voelkel.de/trunk fuppes
Password:
$ cd fuppes/
$ autoreconf -vfi
$ CFLAGS="-I/opt/local/include/libavformat -I/opt/local/include/libavcodec -I/opt/local/include -I/opt/local/include/libavutil -I/opt/local/include/libswscale" \
CPPFLAGS="-I/opt/local/include/libavformat -I/opt/local/include/libavcodec -I/opt/local/include -I/opt/local/include/libavutil -I/opt/local/include/libswscale" \
LDFLAGS="-L/opt/local/lib -R/opt/local/lib" \
./configure --prefix=/opt/fuppes --enable-video-transcoding
$ make
$ sudo make install

Then, start fuppes and go on the web interface :
/opt/fuppes/bin/fuppes
Or start it as a standalone daemon :
/opt/fuppes/bin/fuppesd

Then browse to your IP on port 50865.

Of course, if you have no time but got money, you can just buy the Eyeconnect software from Elgato…

Cheers :)

GTA IV, now !

GTA IV, the new opus is out, right now !
Time for me to buy a PS3.

For those of you who don’t have it yet, you can listen to GTA radios online :

Or check the others here at http://www.rockstargames.com/IV/#?page=music&content=stations

Know what a Set-Top-Box is ? By this time everybody should know. This little box you plug to your TV so you can see video channels or VoD (Video On Demand) streamed from another computer or from your ISP.

We had a project at work about replacing TV in almost every office, connected to coaxial cable, by a network based system. This have two advantages, and only one drawbacks :

  • It is netwok based and you are not limited with the number of channel
  • You can also watch TV on your desktop or laptop computer, no need to have a TV
  • It is nework based, so you need a real good network

Continue Reading »

As I was trying to install a ISC DHCP server with failover I just find out… nothing !

Of course many people are talking about how to set up a DHCP server… like :

apt-get dhcpd
server dhcpd start

And that’s it.

I do need more, first because I work on Solaris (10) and because, heh, I’m not doing basic stuffs.
Continue Reading »

« Newer Posts - Older Posts »