The LHC is using KDE
Posted by Lennart | Filed under *NIX, Free Software, GNU/Linux
I just read that the CERN Large Hadron Collider (LHC) that started it first “live” runs today is using KDE for at least some parts of the projects software. This screenshot of a KDE at CERN/LHC looks like a monitoring program (with a knote ;)):
http://www.bbc.co.uk/radio4/bigbang/gallery.shtml?select=13
I think this is a great prove for stability and flexibility of free software. I mean… The “biggest experiment of all times” seems to use KDE to at least monitor the systems. It is highly presumable that other parts of the LHC systems are using KDE, too.
Do you have other screenshots of the LHC experiment? Comments are welcome!
Check out kde.org and the blog of Aaron Seigo (the KDE hacker I got the information from)
[Edit]
I found some more interesting images:
http://www.spiegel.de/fotostrecke/fotostrecke-35141-3.html
http://www.spiegel.de/fotostrecke/fotostrecke-35141-5.html
http://img388.imageshack.us/my.php?image=ohptoftimemeasured13sepjy2.png (from slashdot.org)
Tags: CERN, KDE, large hadron collider, LHC
How to permanently mount a samba share on GNU/Linux
Posted by Lennart | Filed under *NIX
It can be very useful to mount a samba share on a GNU/Linux system so that you can use it like a folder on a local hard disk.
It requires only 4 easy steps:
1. Check if smbfs is installed. Because smbfs is not an executable in e.g. /usr/bin you can check that by using “locate smbfs”. It is available in the repositories of many distributions. (try “aptitude install smbfs” on Debian)
2. Create (mkdir) a folder you want to mount the share in. I created /mnt/nas (because the share is on a NAS)
3. Try to mount the samba share (we will permanently mount it in the next step) by using this command:
mount -t smbfs -o username=youruser,password=yourpw //192.168.1.2/share /mnt/nas
4. If this works (ls /mnt/nas) you can permanently add the share to the fstab (so that it will be mounted on every boot):
vim /etc/fstab and add:
//192.168.1.2/share /mnt/nas smbfs username=youruser,password=yourpw
Have fun with your new permanent samba share!
How to get information about your own process
Posted by Lennart | Filed under *NIX, Hacking
If you want to get Information of your own process on a GNU/Linux system you should take a look at the /proc/self/ pseudo-directory. This directory contains information of the process that is reading it. You could also find out the PID of the process and read files in the /proc/[PID]/ directory. However, the /proc/self/ directory always keeps information of the process that is reading it.
Take a look at the proc manual pages to get an explanation of the files. (man proc) The most interesting may be /proc/self/status. It is a human readable version of the most values from /proc/self/stat and /proc/self/statm.
The /proc/ directory should be well known by every GNU/Linux system programmer as it contains a lot of useful information about your system and your processes.
JavaScript Shell. Great proof of wise JS usage.
Posted by Lennart | Filed under *NIX, Worth looking at
JavaScript can be annoying. I don’t want elements in my browser to fade and wiggle. It consumes system ressources and slows down your workflow.
On the other hand wise usage of JavaScript can be helpful. I am currently writing on an article about how to use JavaScript in web applications and found this great proof of ingenious JavaScript programming while researching:
http://cb.vu/ - A virtual FreeBSD shell
[www@cb.vu]~> uname
FreeBSD
[www@cb.vu]~> uname -a
FreeBSD cb.vu 6.3-STABLE FreeBSD 6.3-STABLE #2: Wed Jan 30 16:21:05 CET 2008 c@cb.vu:/usr/obj/usr/src/sys/CB i386
Try out the VI!
Did you find some program or command that is worth to be tried out? Please leave a comment.
Tags: javascript, website