Finally, I solved an issue that had been pestering me for months. Regularly, when casually browsing, my computer would slow down dramatically for 1-2 min before continuing as if nothing happened. That was particularly irritating and I couldn’t fix this until I found a good way to reproduce it. This half broken bugs are the harder to fix because the incentive to sit down and fix it is much weaker than when everything is broken.
Tag Archives: Linux
Increasing disk performances
With all the recent multicore CPU, the bottleneck of processing is increasingly the IO from the disk. When compiling a bit project (especially linking), when processing gigabyte of data (now that loading up 4 GB in RAM is not a problem)…
Hacking stories (part 1)
Web server are not easy beast to handle: you want to make the stuff work but at the same time for security, you want to have as little stuff as possible to be opened.
Pdf diff ?
Situation
Your exchanging pdf files with an editor for a journal publication. Each time you send a list of modifications to be applied and the modified pdf file comes back to you, usually with some additional modifications that you didn’t ask for. How to spot these change easily and to make sure they are relevant? Continue reading
GPS: from hardware to data
Provided you have the right receiver, GPS (Global Positioning System) enables you to know your current location. Most devices go a little bit further than that and can also record your track.
20000 fichiers dans un repertoire
Avez-vous déjà eu le message suivant:
ls -l * bash: /bin/ls: Argument list too long
Accès distant par SSH (sécurisé)
Le problème principal de la solution précédente est que NFS n’est pas sécurisé. Une solution simple existe si la machine distante possède un serveur SSH. SSH permet normalement de se logger sur une machine distance de manière sécurisée, mais il est aussi possible de copier des fichiers via scp et même de monter un système de fichier distant en utilisant fuse.
Debian sur Thinkpad T40
Installation et configuration d’une Debian sur un IBM Thinkpad T40. Une grande partie des manipulations décrites ici devrait aussi fonctionner pour Ubuntu ou d’autres distributions Linux.
IDL/ENVI et Linux
Installation sous linux
Si le message suivant apparait tout au début de l’installation:
/media/cdrom/xinstall.sh: line 307: /media/cdrom/install \ /xinstall/xinstall.linux.x86: Permission denied /media/cdrom/xinstall.sh: line 307: /media/cdrom/install \ /xinstall/xinstall.linux.x86: Success
Partage NFS
Samba permet de partager des fichiers entre station linux et windows. Quelques problèmes au niveau des droits des fichiers et de la facilité d’utilisation m’ont conduit à utiliser plutôt NFS (Network File System) pour partager des fichiers entre deux stations linux.