Archive

Archive for the ‘software’ Category

First Experiences with Gnome 3

December 16th, 2011 1 comment

Yesterday, I decided to kick my Ubuntu LTS from my Thinkpad T500 and give Debian with Gnome 3 a chance. I tried Ubuntu with Unity in spring and was shocked. Besides all the little Bugs which are excusable I don’t like the way it feels. With the next LTS, I probably will give it a second chance because I like Ubuntu.

But what’s about Gnome 3? Really deep changes were made. GTK, that is used, was raised to the next major version and fundamental changes took place in the control concept. These are just two reasons why development is still in a kind of beta status. I think Debian is a better platform for Gnome 3 at the moment than Ubuntu, because Ubuntu comes with several pre-configurations and pre-installations which might mess up working with software not adapted to it. Usually the Debian guys don’t take it too seriously with their release cycles and prefer stability to actuality.

Core:
Debian testing “wheezy” ( dist-upgrade from stable )
Gnome 3.0+6

Installation and configuration went way less direly than expected. All looks new, nice, and fancy and performs very good at first sight. Most of the new features make sense to me and the period of settling in was just a few hours. I don’t understand why they have “loan” so much look and feel from Apples’ MacOS, which they “loan” from others, but if it makes someone happy I’m too.

Things I like:

  • All hardware works out of the box – THX Debian ;)
  • It seams all functionality approached a few clicks
  • The new management of multiple Desktops
  • Arrangement of (sub)menus and icons
  • Window fit-in by dragging it to the edges of the screen
  • The new calendar
  • General behaviour and usage of modifier keys
  • Stability (no crashes to that point)
  • Performance
Things I don’t like (Bugs):

  • Even more settings are hidden from the user than in Gnome 2 – common guys do you really think we’re all stupid morons ?!? - Session saving and properties only reachable through console(WTF?); Window themes/styles not changaeble (or didn’t find it by now) to have minimize and maximize buttons back…
  • Fast command execution via Alt+F2 doesn’t find any applications – use gnome-do
  • All my applets are gone ;( – heard the will reappear later
  • No automount of USB-Devices because the system thinks the are CDs…should be an Debian issue…
  • I wanted to make a fancy screenshot for you but “Execution of ‘gnome-screenshot’ failed: Command not found” appeared when in “overview mode”
My opinion is, if Gnome 3 matured a bit more and the next stable Debian will have it included, It could be most peoples desktop environment of choice.

Categories: linux Tags: ,

Code::Blocks my new favoured IDE?

November 27th, 2011 3 comments

Not so long ago we argued about programming languages and IDEs. As expected several worlds collide. So maybe there is no answer to the question what’s best, but I want to draw your attention to a nice IDE.

I needed a platform-independent and comfortable tool for programming. One would say “Use Eclipse” but my past with Java and Eclipse was bad. Or one would say “Use Emacs or Vim, stupid”, true but Linux tools on Windows mostly are pain in the ass. What I finally found was Code::Blocks, available for Linux, Windows and MAC. It’s a nice, fast and in my opinion mighty IDE for C and C++ (other languages via plugins). It needs a bit time to get familiar with it but there are very powerful features making this worthwhile. I don’t want to waste your time anny longer so try by your own.

Little hint: the version receivable from the last Ubuntu LTS is ooooold so download debs from the website.

screen shot of codeblocks

URL: www.codeblocks.org

Categories: c/c++, linux, software Tags: ,

NAT for IPv6

November 25th, 2011 1 comment
Categories: linux, technic Tags: ,

Interesting, if true?

November 23rd, 2011 No comments

Hab da grad ein Whitepaper in die Finger bekommen (von Cisco). Die behaupten darin dass ihr, mit 10GigE bestückter Cluster, so schnell ist wie ein gleichwertiger Cluster mit InfiniBand QDR (40Gigabit wie sie selbst zugeben). Ich ja immer übervorsichtig bei Whitepapers von Firmen die einem Sachen verkaufen wollen und dann sich auch noch mit der Konkurrenz vergleichen.

Naja wie dem auch sei, die nehmen unteranderem einen Benchmark der von der Autoindustrie zur Crashsimulation benutzt wird. Ich hab dann mal hinterher gegoogelt und siehe da die Ergebnisse sind öffentlich und scheinen auch zu stimmen. Nur ist mir ein Detail aufgefallen, laut topcrunch.org hatte der IB Cluster (Ergebnisse von 2010) genau “RAM per CPU: 2″, was jetzt viel Interpretation zuläßt. 2GB pro Core, pro CPU, oder 2 RAM-Rigel unbekannter Größe pro CPU. Dem gegenüber steht zumindest ein Cisco Rack mit 96GB pro Node, was 8GB pro Core entspricht.

Ich mutmaße mal dass die hohe/vergleichbare 10GigE Performance durch ein paar Tricks zustande gekommen sein kann, aber kann es natürlich nicht beweisen:

  • Es wurde mehr RAM benutzt damit die Anwendung schnell läuft (ein Indiz dafür ist u.a. die höhere Performance auf einem einzigen Node, s. Figure 2)
  • Die Kommunikationslast der Benchmarks ist sehr gering, bzw die Benchmarks wurden speziell nach dem Kriterium ausgesucht
  • Die Benchmarks arbeiten nur mit sehr kleinen Nachrichten, wodurch die 4x höhere Peakperformance von IB nicht sichbar wird.

Aber lest selbst und bildet euch eine Meinung. Vielleicht siehts von euch ja jemand anders und kann mir glaubhaft erklären warum bei 2 angeblich identische Clustern, die Anwendungen auf dem “von Spezifikationen her langsameren” Interconnect schneller laufen sollen.

Categories: linux, nerdcore, news Tags: , ,

TRIM Speedup on OS X Lion using Full Disk Encryption

November 20th, 2011 No comments

I was quite surprised to see the speed up achieved by enabling TRIM support on Lion using TRIM Enabler. After I enabled it, I created a big file, deleted it (thus freeing/trimming the no longer used blocks) and rewriting another file of the same size:

jupp@x / > dd if=/dev/zero of=zero bs=1m count=$((6*1024))
6144+0 records in
6144+0 records out
6442450944 bytes transferred in 71.336086 secs (90311248 bytes/sec)
jupp@x / > rm zero                                                                                                                                                                                                                                                                                                                      jupp@x / > dd if=/dev/zero of=zero bs=1m count=$((6*1024))
6144+0 records in
6144+0 records out
6442450944 bytes transferred in 55.568795 secs (120149352 bytes/sec)

That’s a 1.33 speedup for sequential writing. This should not effect reading, of course. As you can imagine, the benefits for random IO on small blocks will be much higher than that.

This shows that the on-chip garbage collector in the SSD drive is (as expected) unable to do anything if full disk encryption is used, requiring the use of TRIM in order to keep write performance high. However, be warned: the use of TRIM could potentially compromise the invisibility of your main partition if using a fake partition for plausible deniability.

I’m using a MacbookPro6,2 and an Intel SSDSA2CW120G3.

Disclaimer: I’m aware that using dd in this fashion in order to achieve quantitive benchmarking results is not recommended. It was just a quick hack to demonstrate that it’s freakin faster with TRIM.

Programming Language Rant

November 15th, 2011 4 comments

From http://www.esm.psu.edu/~ajm138/fortranexamples.html:

C programmers love to gloat that recursion can not be done in Fortran. When they say Fortran, they mean FORTRAN 77, since they absolutely refuse to acknowledge the existence of modern Fortran 90. (Fortran 90 came out over ten years ago. You would think they might know something about it by now!) But this example shows that even in FORTRAN 77 one can quickly and easily write routines that are recursive. So stick that in your complex variables, C programmers, and — oh wait, I forgot there are no complex variables in C. You have to manually define a complex data type. Not to mention having to write math functions like sin( ) and cos( ) to handle such data types.

Hahaaa … love it!

Categories: c/c++, nerdcore Tags: , ,

Password Strength

November 10th, 2011 3 comments

I personally use 1password to generate, manage and backup my passwords. This lead to a controversial discussion today, because some people felt uncomfortable with the idea to upload all your passwords (albeit encrypted) to the cloud. Some interesting articles:

Good Bye Passwords (in German):
http://blog.koehntopp.de/archives/3085-Sag-zum-Passwort-leise-Tschuess….html

Awesome article about password strenght and password management:
http://www.troyhunt.com/2011/03/only-secure-password-is-one-you-cant.html

Password entropy calculator:
http://rumkin.com/tools/password/passchk.php

Most of my passwords are 50 characters long and thus not easily guessable (> 256bit entropy using the calculator above). How do you handle your passwords?

screen scroll back

November 10th, 2011 1 comment

Ich wusste bis gerade eben nicht dass man in “screen” sogar scrollen kann – hier ein kurzer Abriss wie es geht.
Zuerst in den copy modus wechseln:

ctrl-a [

Dann sollte in der Status Zeile kurz sowas wie “Copy Mode” erscheinen. Danach kann man mit den “vi” Kommandos scrollen. Am sinnvollsten sind ctrl-f (forward) und ctrl-b (backward) um Seitenweise zu scrollen, Pfeiltasten sollten auch gehen.

Einziges Problem – per default werden nur 100 Zeilen gespeichert. Das kann man mit einem Eintrag in die $HOME/.screenrc ändern:

defscrollback 10000

Suchen geht auch:

/ (forward search)
? (backward search)

Man kann sogar kopieren – deswegen copymode:

ctrl-a [
#navigigieren zur gewünschten zeile
leertaste
#markieren der zu kopierenden zeilen
leertaste
ctrl-a ] #fügt den Inhalt der puffers dann auf der kommandozeile ein . . .

Categories: linux, software Tags:

Beautiful Tables

November 8th, 2011 No comments

After a long discussion today, I stumbled upon this guide, which describes how to do table layout in a professional manner. It’s just stunning how often people choose arbitrary table layouts without paying much attention on best practices. The picture included in this post explains most of it, also note the booktabs latex package for implementing this more easily.

Revolution oder alte Kamellen?

November 2nd, 2011 2 comments

Grad einen Artikel über eine “bahnbrechende” Software gelesen. Sie soll die Fähigkeit besitzen sequenziellen, modularen Code ohne großen Aufwand automatisch zu parallelisieren. Das ist eigentlich der Traum jedes 08/15-Programmierers, aber würde meinen Job obsolet machen.

Im ersten Moment dachte ich: “automatisch” -> Blödsinn -> geht nicht. Im zweiten dann: gabs schon (siehe z.B. HPF oder UPC) -> nix neues -> warum also ein Patent? Und dann ist mir das “modulare” aufgefallen. Es scheint also, dass sie eine Software entwickelt haben, die in der Lage ist sequenziellen Code, der aus unabhängigen Abschnitten besteht, “embarrassingly parallel” auszuführen. Und das wäre nun nicht grad einem Patent der Kategorie “no prior art” würdig.

Momentan hab ich aber nicht grad viel dazu gefunden, außer den Artikel und ein Video auf der Webseite der Software. Die/der Entwickler wollen das ganze auf der SC11 vorstellen. Vielleicht hat ja einer von euch (die zur SC reisen) mal Zeit sich den Spaß anzuschaun. Würde mich echt interessieren, aber ich geh momentan eher von einer Luftnummer aus.

Categories: hpc, nerdcore, software Tags: , ,