Patch submission on kernel.org

January 26th, 2012 1 comment

Today, I had the “pleasure” to submit a patch to kernel.org (not the kernel list, but one of the InfiniBand lists there). Sadly, I found out, that they are really restrictive about the style of the mail, patch, etc, see the FAQ of the kernel list. But there is a nice tutorial to avoid most of the pitfalls.

If someone of you has the same task, then this how-to is a good starting point.

Categories: linux Tags:

SOPA & TPB

January 19th, 2012 1 comment

Disclaimer: The following text expresses the opinion of one major player in the copyright vs. copyleft/piracy discussion. We want to state clearly, that the citation of this text is no indication of the opinion of nrtm.de neither of one of nrtm.de’s authors.

INTERNETS, 18th of January 2012.

PRESS RELEASE, FOR IMMEDIATE RELEASE.

Over a century ago Thomas Edison got the patent for a device which would “do for the eye what the phonograph does for

the ear”. He called it the Kinetoscope. He was not only amongst the first to record video, he was also the first person

to own the copyright to a motion picture.

Because of Edisons patents for the motion pictures it was close to financially impossible to create motion pictures

in the North american east coast. The movie studios therefor relocated to California, and founded what we today call

Hollywood. The reason was mostly because there was no patent.

There was also no copyright to speak of, so the studios could copy old stories and make movies out of them – like

Fantasia, one of Disneys biggest hits ever.

So, the whole basis of this industry, that today is screaming about losing control over immaterial rights, is that they

circumvented immaterial rights. They copied (or put in their terminology: “stole”) other peoples creative works,

without paying for it. They did it in order to make a huge profit. Today, they’re all successful and most of the

studios are on the Fortune 500 list of the richest companies in the world. Congratulations – it’s all based on being

able to re-use other peoples creative works. And today they hold the rights to what other people create.

If you want to get something released, you have to abide to their rules. The ones they created after circumventing

other peoples rules.

The reason they are always complainting about “pirates” today is simple. We’ve done what they did. We circumvented the

rules they created and created our own. We crushed their monopoly by giving people something more efficient. We allow

people to have direct communication between eachother, circumventing the profitable middle man, that in some cases take

over 107% of the profits (yes, you pay to work for them).

It’s all based on the fact that we’re competition.

We’ve proven that their existance in their current form is no longer needed. We’re just better than they are.

And the funny part is that our rules are very similar to the founding ideas of the USA. We fight for freedom of speech.

We see all people as equal. We believe that the public, not the elite, should rule the nation. We believe that laws

should be created to serve the public, not the rich corporations.

The Pirate Bay is truly an international community. The team is spread all over the globe – but we’ve stayed out of the

USA. We have Swedish roots and a swedish friend said this:

The word SOPA means “trash” in Swedish. The word PIPA means “a pipe” in Swedish. This is of course not a coincidence.

They want to make the internet inte a one way pipe, with them at the top, shoving trash through the pipe down to the

rest of us obedient consumers.

The public opinion on this matter is clear. Ask anyone on the street and you’ll learn that noone wants to be fed with

trash. Why the US government want the american people to be fed with trash is beyond our imagination but we hope that

you will stop them, before we all drown.

SOPA can’t do anything to stop TPB. Worst case we’ll change top level domain from our current .org to one of the

hundreds of other names that we already also use. In countries where TPB is blocked, China and Saudi Arabia springs to

mind, they block hundreds of our domain names. And did it work? Not really.

To fix the “problem of piracy” one should go to the source of the problem. The entertainment industry say they’re

creating “culture” but what they really do is stuff like selling overpriced plushy dolls and making 11 year old girls

become anorexic. Either from working in the factories that creates the dolls for basically no salary or by watching

movies and tv shows that make them think that they’re fat.

In the great Sid Meiers computer game Civilization you can build Wonders of the world. One of the most powerful ones

is Hollywood. With that you control all culture and media in the world. Rupert Murdoch was happy with MySpace and had

no problems with their own piracy until it failed. Now he’s complainting that Google is the biggest source of piracy

in the world – because he’s jealous. He wants to retain his mind control over people and clearly you’d get a more

honest view of things on Wikipedia and Google than on Fox News.

Some facts (years, dates) are probably wrong in this press release. The reason is that we can’t access this information

when Wikipedia is blacked out. Because of pressure from our failing competitors. We’re sorry for that.

THE PIRATE BAY, (K)2012

Categories: cultural, political Tags: , ,

keeping track of changes in /etc

January 17th, 2012 No comments

using git was kind of painful as you had to configure “apt” to keep track of the changes with a “Post-Invoke” command. Determining the caller of apt was something ugly like “caller=$(ps axww | grep “^ *$$” -B3 | grep ” apt-get ” | head -n1 | sed ‘s/^.*\(apt-get .*\)/\1/’ )”. Forgetting to “chmod og-rwx /etc/.git” made your password shadows world readable. No fun at all . . .

The simple solution to all of that is called: etckeeper

It uses git per default but can use mercurial(hg), bazaar, or darcs as well. Supported packet managers are apt(dpkg), yum(rpm), pacman-g2 and probably more. Etckeeper does a commit every day per default, but as its a normal git (or hg …) one can manually commit any time (by using git directly or through “etckeeper commit message”). Everything (else) can be configured at /etc/etckeeper – funny coincidence – changes there will be tracked by etckeeper as well. Sounds like a self fulfilling prophecy – doesn’t it ;)

BTW: Normally, etckeeper is run inside /etc but with the command “etckeeper init [-d directory] one can keep a clone of /etc elsewhere (read: backup).

Categories: linux, management, software Tags: ,

How to drive High Power LEDs

January 7th, 2012 1 comment
Categories: arduino, nerdcore Tags: , , ,

2012 – here we are

January 2nd, 2012 1 comment
Categories: games Tags:

01 Lightning Talk

December 23rd, 2011 3 comments

Hurra,

die ersten Zwei Lightning Talks wurden gehalten. Ich fand beide sehr interessant. Jupp und Ronny werden jetzt noch einmal zusammenfassen worum es ging.

Jupp: zsh

https://github.com/jupp0r/nrtm-lightning-talks/blob/master/1_zsh/demo.txt

Ronny: Ludum Dare

Ludum Dare heißt ins deutsche übersetzt “ein Spiel geben”. Und genau darum geht es. Sich einfach mal ein Wochenende hinsetzen und von vorn bis hinten ein Spiel fertig stellen und veröffentlichen.

Die Regeln sind einfach. Du hast 48 Stunden Zeit und sollst allein, alles an Inhalt (Text, Bilder, Ton) und Code in dieser Zeit erstellen. Es ist dabei erlaubt eigene Bibliotheken und Spiele-Engines zu benutzen solang diese öffentlich verfügbar sind.
Dein Spiel muss sich an ein Thema halten was meist mit einem Wort betitelt ist. Dieses mal war es “Alone”, vorher unter Anderem “Escape” und “It’s dangerous to go alone. Take this.”.

Nach den 48h haben alle Teilnehmer 3 Wochen Zeit die Spiele der Anderen in verschiedenen Kategorien zu bewerten. Danach gibt es ein Ranking und Fame für die Besten.

Ich selbst bin erst vor einem halben Jahr dieses Event gestoßen, und dieses mal habe ich mich kurzfristig dafür entschieden mitzumachen. Vorbereitungszeit war eine Stunde.
Es geht nicht darum etwas besonders tolles zu erschaffen, sondern um mit anderen Menschen zur gleichen Zeit eine Idee oder einen Aspekt herauszuarbeiten und ein kleines Spiel daraus entstehen zu lassen.
Einfach coden, malen, Musik und Sounds machen und alles in einen Topf werfen.

Die Absicht des Wettbewerbs ist folgendermaßen:
Viele Ideen scheitern oder werden niemals realisiert weil der Mensch vor dem Aufwand zurückschreckt oder sein Perfektionsstreben ihn dazu treibt ewig an etwas zu basteln ohne es je zu Veröffentlichen. Denn es ist ja noch nicht zeigenswert. Das kennst du oder? Ludum Dare will all jenen eine Ausrede bieten etwas fertig zubasteln.

Ich hatte riesigen Spaß dabei. Am Ende habe ich mein Spiel nicht eingereicht. Jetzt im Nachhinein denke ich haette es trotzdem machen sollen, denn Andere spiele waren wesentlich sinnloser als meines. (link)

Von den gegeben 48 Stunden habe ich etwa 18 vorm PC verbracht und aktiv gebaut. Andere verbringen noch wesentlich weniger Zeit damit. Es geht also auch nicht darum zwei Tage sich mit Koffein wach zuhalten. Selbst der Survival Guides rät zu genug Schlaf und ausgewogener Ernährung.

Wer eine Pause einlegt kann sich im IRC nach Tipps oder Infos umsehen oder den ein oder anderen Livestream schauen um zu sehen wie der Workflow anderer Entwickler aussieht. Der Minecraft-Erschaffer Notch streamt zum Beispiel immer.

Ludum Dare findet alle 4 Monate statt. Wer also Lust bekommen haben sollte muss nicht lange warten. Im April ist es schon wieder soweit. Ich werde auf jeden Fall wieder mitmachen!

Links:

Categories: Lightning Talks Tags: ,

Hier mal für alle zur Einstimmung auf Weihnachten

December 22nd, 2011 No comments
Categories: Uncategorized Tags:

RL Horror

December 19th, 2011 1 comment

Hallo,

manchmal versteh ich die Leute die pessimistisch in die Zukunft blicken, angesichts solcher Studien:

http://www.unicef.org/publications/files/FGM-C_final_10_October.pdf

Ich bin auf die PDF im Zusammenhang mit einem Video (gefunden bei fefe) gestoßen:

und hatte auf Wikipedia (http://de.wikipedia.org/wiki/Ägypten) erschreckende Zahlen zu Ägypten und Genitalverstümmelung bei Frauen gefunden

eine UNICEF-Statistik gibt, bezogen auf das Jahr 2003, eine Inzidenz von 97,0 % in der Altersgruppe der zwischen 15 und 49 Jahre alten Frauen an

Mein Gedanke ist bei so was dann immer – Scheisse geht’s uns gut. Wir diskutieren ob das Glas halb voll oder halb leer ist und vergessen darüber dass wir in der Lage sind, uns trinkbares Leitungswasser nach belieben zu zapfen, wann immer wir wollen . . . Ich meine dabei weniger den Fakt dass es Leitungswasser gibt sondern dass ich noch am Leben und im Stande bin den Wasserhahn selber zu bedienen. Mir geht’s da also bedeutend besser als den Demonstranten im Video . . .

Einen schönen 4′ten Advent,
Willi

Categories: Uncategorized Tags:

Wired Network “unmanaged” in Network Manager

December 16th, 2011 3 comments

System:

  • Debian testing – “wheezy”
  • Gnome 3.0+6
  • Network Manager 0.9.2.0-1

Issue:

  • WLAN works fine with NetworkManager
  • Wired Device (ethX) is marked as “unmanaged” and doesn’t work even if it gets DHCP-lease/IP-address
  • /etc/network/interfaces looks correct

Solution:

Change /etc/NetworkManager/NetworkManager.conf :

...
[ifupdown]
managed=true
...

Reload Settings:

/etc/init.d/network-manager force-reload

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: ,