Ungleichbehandlung sehr anschaulich

In der Rechtsprechung des Bundesgerichtshofs und der Oberlandesgerichte gebe es „soweit ersichtlich keinen einzigen Fall“, in dem eine fristlose Kündigung eines Geschäftsführers oder Vorstandsmitglieds wegen eines geringfügigen Eigentums- oder Vermögensdelikts Bestand hatte.

So seien in der Vergangenheit selbst unberechtigte Spesenabrechnungen in dreistelliger Höhe als zu gering angesehen worden, um eine außerordentliche Kündigung zu rechtfertigen. Wenn dagegen bei einer Arbeitnehmerin die Einlösung zweier Bons in Höhe von 1,30 Euro als Kündigungsgrund ausreichen würde, verstoße dies gegen das „Gebot der Gleichbehandlung“ nach Artikel 3 des Grundgesetzes.

Quelle: Spiegel Online

Wifi tethering using Ubuntu

If you are having trouble with wifi tethering on Ubuntu, your problem may well be caused by Ubuntu’s inconvenient treatment of ad-hoc wireless networking.

Just put your wifi card into ad-hoc mode manually and you are ready to go.

ifconfig wlan0 down
iwconfig wlan0 mode Ad-Hoc

You only have to do this once. Afterwards Ubuntu will readily allow ad-hoc wireless networking.

Patterns everywhere

Haruki Zaemon’s thoughts on functional programming and OO remind me of the shift in sociology from Parson’s structural functionalism to Luhmann’s functional structuralism.

Inua Ellams: The Scapegallow

There’s a certain breed of Monday where morning comes with fangs, ones so straightouttahell, I image the horned one himself, hunched over workbench sanding down the best till its grain reads your name, each flint sharp, Dickensian in darkness, a certain type of 9 a.m. where coffee tars the tongue, high fives hail Hitler and the postman’s whistlesong will strangle you from inside. The Welcome mat will cuff you, the door resist your shoulder, outside the easy limp of wind will whip you like a bitch. If blades of grass that break concrete, their tips stiff as fists, lend none of their rebel strength, drive or sapling hymns and journeying pollen pause just to poison, all this and the front gate is grating at your gait, do as I do: crawl for your sofa, flick for a channel, find a thick book, paint, do nothing till Tuesday. Just wait.

Using multiple monitors with Ubuntu, part 2: auto-disper

In part one of this post series, I explained how to use disper to simplify switching between display configurations on Ubuntu. In this post I will explore the next level of convenience: reusing display configurations.

Chances are, you have a couple of settings that together make up most of the situations in which you use your notebook. For instance, I use mine at home, at work and of course, on the go. These three scenarios cover more than 90% of my notebook use.

Now, I am lazy and I do not want to rethink time and time again which arguments to pass on to disper after turning on my notebook. So I use auto-disper, a little script by Stefan Tomanek, to save the respective display configurations. Let me show you.

Install auto-disper

cd
git clone git://github.com/wertarbyte/auto-disper.git

Now we need to put the script someplace that is on your path. I find ~/bin a convenient location. Ubuntu adds it to your $PATH by default.

If ~/bin does not exist yet, create it, then log out and log back in.

mkdir ~/bin

Let’s put auto-disper there.

cp ~/auto-disper/auto-disper ~/bin

Save configurations

Now use disper to configure the displays the way you want them. For instance, at home, I want to use only my external monitor:

disper -S

Then I tell auto-disper to save this as the home configuration:

auto-disper --save home

auto-disper uses the names of the attached monitors to identify configurations. For instance, my ~/.auto-disper/home/setup reads as follows.

display DFP-0: CMO
display DFP-1: LG L227W

Obviously, I have a 22” LG at home.

Reuse configurations

From now on, whenever you want to reuse a saved display configuration, just type

auto-disper --change

and auto-disper will detect and apply the appropriate configuration.

Again, you can go one step further and assign this command to a global hotkey, so you only have to hit, say, Super+F4 in most situations in order to configure the monitors the way you want them. Now that’s something I did not know how to do on Windows.

Using multiple monitors with Ubuntu, part 1: disper

Dealing with multiple monitors on Ubuntu used to be a pain for me. No more. In a three-part series, I will explain how I have made it very comfortable.

In this installation of the series, I will explain how to use disper, a nifty little tool by Willem van Engen, to simplify changing your monitor setup.

Install disper

I assume you are on Karmic. If you are not, dealing with PPAs differs slightly.

sudo add-apt-repository ppa:wvengen/ppa
sudo apt-get update && sudo apt-get install disper

Use disper

The following basic commands will be enough for most cases. If not, use disper -h to find out more.

disper -s

This will switch to your primary display. If you have a notebook like me, it’s the internal TFT panel. The external monitor or projector, if connected, will remain dark. I use this on the go, of course.

disper -S

This will switch to your secondary display. This could be an external monitor or a projector. Your primary display, in the case of a notebook the internal TFT panel, will remain dark. I commonly use this at home, as I am not too fond of dual-monitor setups.

disper -c

This will show the same contents on both, the internal and the external display. If their resolutions differ, disper will use the lower of the two. I commonly use this for live coding, for instance during a TDD Camp.

disper -e -t top

This will extend your desktop to the other display to the top. You can specify other directions, too: left, right and bottom. I commonly use this for presentations with the OpenOffice.org presenter console.

That’s it. No more manually manipulating nVidia X Server Settings. A quick command, that’s it.

Use key bindings to quickly switch between setups

If you only have a couple of setups you need to quickly switch between, assign hotkeys to them. If you use Compiz, which I believe is the default in Karmic, you can do so via the Commands plugin in the CompizConfig Settings Manager.

In part two, I will explain how to use auto-disper to save and use monitor configurations.

Die Grenzen von Metaphern

Der Bund will Computer-Benutzer mit von Viren infizierten Rechnern bestrafen. Konkretes zu Sanktionen gibt es noch nicht, aber schon die Idee ist bemerkenswert. Zur Argumentation bemüht Sven Karge die TÜV-Metapher:

Wer im Netz ohne Virenschutz unterwegs ist, gefährdet andere Nutzer in etwa so, wie ein Autofahrer, der mit kaputten Bremsen unterwegs ist und so andere fahrlässig gefährdet. – via Spiegel Online

Habe lange nicht mehr so einen Unsinn gehört! Mit einem Computer habe ich die Möglichkeit, mich selbst zu schützen. Damit können andere mich nicht gefährden. – Ganz andere Situation mit einem nicht kontrollierbar gewordenen Auto.