Powered by
Movable Type 5.2.9

 Netzwelt Archives

2006, October 04 (Wed)

Netzwelt SSL for multiple domains on a single IP vhosting apache

Thought it was impossible?

Use these lines in your /usr/share/apache2/ssleay.cnf:

for requests:

[ req ]
req_extensions          = v3_req

[ v3_req ]
subjectAltName          = critical,DNS:site1.com,DNS:site2.net

for self signed:

[ req ]
x509_extensions         = v3_ca

[ v3_ca ]
subjectAltName          = critical,DNS:site1.com,DNS:site2.net

Then you can use apache2-ssl-certificate or openssl on that.

If you want to know more, google for subjectAltName ;)


2006, October 28 (Sat)

Netzwelt BitchX attach failing

Now I had /DETACHed my favourite IRC client BitchX http://www.bitchx.org/ like usual, and wanted to reattach.

So I sat there at my ^A:screen scr-bx and I could watch a window popping up and vanishing again.

Upon closer examination, it looked like this:

ailin@eleanor [3]% scr-bx                                                     ~
attempting to wakeup pts-7
error reconnecting to pts-7
zsh: exit 1     scr-bx
ailin@eleanor [4]% _                                                          ~

What followed was a rm -r .BitchX/screen* as well as a mv .BitchX .FukcX, and then an sudo aptitude purge bitchx; with some kill BitchX<Tab> inbetween -- everything without too much influence on above message of rejection.

Continue reading “BitchX attach failing” »

Netzwelt Opera and missing/broken backgrounds Or preliminary ending div

Just a short note on Opera http://www.opera.com/

It has occured to me several times now that this website was missing the whole background colour in Opera (the background was all gray).

Effectively, the <div> that serves as the main container already ended at the header!

The cause of this has of course always been an error on the human side: me forgetting to escape < properly with &lt;.

So if you ever notice your background missing or a div ending earlier than it is supposed to, check your website for stray <!

I must say, Internet Explorer and Firefox cope much better with this.


2006, December 02 (Sat)

Netzwelt Sparangebote bei Amazon suchen

Letztens stiess ich zufällig auf ein DVD Angebot von Amazon, welches um 50% reduziert war. Nun ist dies zugegebenermaßen nichts besonders spannendes, aber ich wollte wissen ob es vielleicht noch ein paar andere gute Angebote gibt.

Zunächst dachte ich daran, den Amazon E-Commerce Web Service zu verwenden, aber zu meiner Enttäuschung bietet dieser keinerlei Möglichkeit zur Abfrage von Preisen, und muss daher zur Schnäppchenjagd eine Nischenrolle zugewiesen bekommen.

Das Ergebnis sind also ein paar Skripte, die die Amazon Produkt Webseiten runterladen und parsen. Ziemlich hässlich das alles, aber was solls.

Obwohl das alles reichlich unschön ist und auch bei der nächsten kleinen Änderung von Seiten Amazons an ihren Webseiten nichtmehr tun wird, wollte ich es euch nicht vorenthalten.

Continue reading “Sparangebote bei Amazon suchen” »


2007, January 02 (Tue)

Netzwelt und Flash saugt doch

FreeFM zieht um. Die Playliste ihres automatischen Plattenlegers scheint daher begrenzt und spielt nur fünf Lieder. Nunja, egal, eines der Lieder ist toll. Ich schaffe es nach dem zwanzigsten Mal auch mir einen fetzen Text aufzuschreiben.

Nur kennt keine Suchmaschine den Text. Komisch, das funktioniert oft sogar bei falsch verstandenem Text. Man ladet dann in Foren wo jemand mit dem falschen Text die richtige Antwort bekommt. Ist mir bei Stones Texten öfters schon passiert.

Im Forum von FreeFM wird man dann auch geholfen. Es stellt sich herraus das es sich um ein verdammtes Flashverbrechen handelt. Wird natürlich von keiner Suchmaschine indexiert.

Das Lied heißt übrigens Nur einen Tag von Wie spät. Ein Snippet (Flashkotzspuck) gibts auf wiespaet.com. Der Textfetzen wäre "wie einen Tag zu leben, ohne sich dabei zu fragen was er bringen mag". Für geplagte Sintflutsurfer nach mir.

Nachtrag:
Das Video dazu findet sich unter http://www.nightline.cc/files/videovoting/nureinentag_flp8.flv. mplayer spielts wunderbar. Happy.


2007, January 03 (Wed)

Netzwelt About IRC clients

My thoughts in regard to the flaws of IRC clients.

000 CTCP VERSION reply from Nei: BitchX-1.1-final+ by panasync - Linux 2.6.16-2-vserver-em64t-p4 : Keep it to yourself!

Goals

I have high demands on IRC, because I like to track many places.

So far it has been difficult to find efficient, elegant, easy, yet powerful clients to fulfill my every need.

Now, I don’t think it is possible to ever reach “100%”.

But all the time being dissatisfied, I’ve tried to order my thoughts about the reasons for this,
and the approaches that would be necessary.

I’ve also realised that it is a difficult thing; and it seems to require careful planning.

If your code gets messy early on, doing things would seem to become almost exponentially more difficult.

I’ve inspected Irssi for a ways to bend the notify features in reach of my needs
and it is frigging impossible without major alterations in the core.

I’ve found that while everyone probably has dreamt of writing her own irc client at least once,
it is surprisingly difficult to get it done right — despite the simplistic protocol.

The protocol is amazingly simple,
yet it gets bended beyond.
And many people writing IRC servers, only check with the most popular client in that process.

Deciding how to show incoming data is the problem.

Continue reading “About IRC clients” »


2007, January 16 (Tue)

Netzwelt, Web Dump, Windows Irssi 0.8.10 for Windows (Cygwin/Win32)

(Update the download has been removed but I preserve the post for itself. Please install irssi from Cygwin’s setup.exe)

This has been in my static folder at least since the official release of that version, but I hadn’t posted it on the website yet.

Back in the days, when I was looking for a Windows version of this rather popular *nix IRC client, they did not have a single working link on their website/ download page http://irssi.org/!

Of course you can always tell the users to “just build it yourself”, but seriously, which average user is capable of doing that?

So after researching the Internet and not finding any suitable Windows build of Irssi, I decided to fix that gap myself. So I created above build.

When I checked back at the time of writing this entry, they now link to a build of Irssi 0.8.9 on their download page; I would claim that this is no official build (but maybe they’ve gotten the creators permission to hot-link (deep-link) it).

I believe I had already found this build at the time when I was looking for one, and the website didn’t have any; but not only is it outdated (version-wise), it also does not support Perl, Irssi’s premier scripting binding. Since I like to enhance my client with several scripts, that was no good.

Also, there is a new feature called “recode” in Irssi 0.8.10, which (although it ultimately sucks) enables you to chat in places where ISO-8859 and UTF8 charsets are in mixed use.

Given these two reasons, the 0.8.9 version of Irssi was not an option to me.

For those interested in making their own Irssi/Cygwin builds on Windows, I’ve written down the necessary steps. Hit the jump to read them.

Continue reading “Irssi 0.8.10 for Windows (Cygwin/Win32)” »


2007, January 31 (Wed)

Netzwelt, Programmierung, Web Dump Irssi Scripts

Don’t get me wrong, please. I haven’t written these scripts — I was
merely using them.

Because I’ve got them lying ‘round in my so called “Web Dump”
for a long time now, I thought I’d write a slightly more comprehensive
introduction to what made my life easier just a little while ago.

I hope this can be of interest to some of you, and maybe I have a lucky
hand with keywords so that even more people can benefit from these nice
scripts when a search engine spider picks them up.

I have lsted these works in no particular order:


2007, February 04 (Sun)

Netzwelt MySQL to PostgreSQL

If you want to convert from MySQL to PostgreSQL, use the following command to have mysqldump spit out sane SQL:

% mysqldump $DATABASE_NAME -v -nt --compatible=ansi,postgresql --complete-insert=TRUE --extended-insert=FALSE --compact --default-character-set=UTF8 -u $DATABASE_USER -p -r $OUTPUT_FILE

You should then hoopefully be able to load this dump into your PostgreSQL database using

=> \i $OUTPUT_FILE

from within psql.

This piece of information is hidden deeply within the net! It is not clearly written in the mysqldump docs. There are lots of Google results for “MySQL to PostgreSQL” but most of them are needlessly silly and of doubting quality. Spread this info!

Converting the database schema cannot be handled by witty mysqldump switches and is left as an exercise to the reader.


2007, February 11 (Sun)

Linux, Netzwelt Shell.FM: A textmode last.fm-player

If you like last.fm, but (like me) you don't like all these shiny gui players, because you think that you don't need a gui to play music, you should try out Shell.FM.
Shell.FM is a very simple console player for last.fm, which seems to have all the features of gui players. The interface is not very intuitive, but it's well documented and quick to learn.
Anyway, you just need to enter your username and password and it will start playing your favourite songs.
It is written for Linux, but will probably run on any unix-based operating system.
For now it ran very stable on my ubuntu-based multimedia-system.

You can find everything you need at http://nex.scrapping.cc/shell-fm/

If you like this program you should also consider joining the group shell-fm on last.fm, where you can find some more stuff, like a perl module to control Shell.FM over a socket, an LCD module to output the status through lcdproc or a port to ARM which will make it run on some handhelds.


2007, February 14 (Wed)

Netzwelt Irssi, PuTTY, Screen & Unicode UTF-8

For some reason it seems to be non-trivial to get Unicode to work in console apps, so I decided to make an illustrated guide about Irssi, PuTTY and GNU screen. Hope it helps.

Note: you needn’t be using GNU screen to follow this guide.

Since this is screenshot-heavy, the images are hidden after the jump.

Continue reading “Irssi, PuTTY, Screen & Unicode UTF-8” »


2007, April 30 (Mon)

Linux, Netzwelt Evolution & SyncML

For a long time, I've been trying to synchronize contacts and calendar entries between my mobile phone and evolution.
The right way to do this is obviously SyncML, as most modern mobile phones support it, and there are a lot of webservices who will provide you a SyncML-server for free.
However I always had issues getting SyncML to work with evolution (thunderbird/sunbird would be nice, too but I guess that's impossible at the moment).
Neither multisync, nor opensync worked for me in any way.

Now I finally found a solution that really works. There is a project called SyncEvolution. You will find the sources at http://www.estamos.de/projects/SyncML/index.html
Debian packages do not seem to be available right now.
Compiling and installing worked for me without problems. However you need some libraries and headers to compile it. On debian etch, you need to install these packages:

libecal1.2-dev
libecal1.2-6
evolution-dev
evolution-data-server-dev
libedata-book1.2-dev
libedataserver1.2-dev
libdb3-dev
libcurl3
libcurl3-dev

Then you can compile and install it with the usual `./configure; make; make install`

The configuration is a bit weird:

basically you will have to create these files in your home directory:
.sync4j/evolution/<server>/spds/syncml/config.txt
.sync4j/evolution/<server>/spds/sources/addressbook/config.txt
.sync4j/evolution/<server>/spds/sources/calendar/config.txt
.sync4j/evolution/<server>/spds/sources/memo/config.txt
.sync4j/evolution/<server>/spds/sources/todo/config.txt

The last 4 files are optional, depending on which items you want to synchronize.

<server> is the identifier, just in case you have more than one SyncML-server.

syncml/config.txt contains the server configuration.

You can use etc/syncml-config.txt in the source directory as a template.
There are also templates for funambol and scheduleworld in the same directory.
I'm using www.scheduleworld.com.
mobical.net didn't work for unknown reasons.
See http://www.estamos.de/projects/SyncML/Compatibility.html for a list of compatible servers.

The configuration templates are well-commented, so I didn't need any further documentation.

I sometimes have problems, when syncing calendar entries that last a few days and are marked as 'all day'-events. Just enter a start and end time and it will work fine.


2007, July 10 (Tue)

Netzwelt titanic-magazin.de liferea/snownews scraping

A small Ruby snippet to have a full-content feed for titanic-magazin.de:


#!/usr/bin/ruby
require 'net/http'
require 'rexml/document'
require 'iconv'

def get_item url
        item = Net::HTTP.get_response(URI.parse(url)).body
        item.scan(/<td class="tt_news-bodytext">(.*?)<\/td>/m)[0][0]
end

feed = REXML::Document.new($stdin.readlines.join)

feed.elements.each('rss/channel/item') do |element|
        element.elements['description'].text = Iconv.new('UTF-8', 'ISO-8859-1').iconv(get_item(element.elements['link'].text))
end

feed.write($stdout, 0)

A little bit slow as all items are fetched and there is no caching (yet).


2007, December 13 (Thu)

Datenschutz, Netzwelt Neue AGB im StudiVZ

Das StudiVZ kündigt per E-Mail an, dass ab dem 9. Januar 2008 neue AGB gelten. Es gibt eine FAQ, die die uninteressanten Fragen dazu beantwortet.

Auf wichtigere Fragen wird nur schwammig geantwortet. Ein Beispiel:


Muss ich als Nutzer befürchten, künftig mit Werbung überflutet zu werden?
Nein. Mit den neuen AGB schaffen wir lediglich die Voraussetzung für aktuelle Werbeformen, die auf anderen Websites und Plattformen bereits zum Standard gehören. Nur so können wir studiVZ auch zukünftig kostenfrei anbieten.
Welche "aktuellen Werbeformen" neue AGB erfordern wird nicht klar.

Welche Änderungen entscheidender sind, wird erst beim durchlesen der inzwischen immerhin 750 Zeilen langen AGB klar (auf der Webseite sind die AGB noch nicht zu finden).

Datenschutz
Zum Beispiel ist der bisherige Absatz 5 "Datennutzung und Datenschutz", in dem unter Anderem versprochen wurde, keine Daten an dritte weiterzugeben gestrichen.

An stattdessen gibt es zwar den Absatz 9 "Datenschutz", jedoch wird jetzt nur noch versprochen, sich an Gesetze bezüglich des Datenschutzes zu halten. Das hätte ich auch ohne die AGB erwartet.

In der FAQ wird dies mit keinem Wort erwähnt.

Löschung des Accountes
In den alten AGB steht über das Abmelden von der Seite:

Mit der Abmeldung wird der gesamte unter dem Profil des Nutzers gespeicherte Datensatz vollständig gelöscht. Das Nutzungsverhöltnis endet damit.
Das erwartet man schließlich auch, wenn man auf "Meinen Account löschen" klickt.

In Zukunft wird daraus lediglich:

Mit der erfolgreichen Exmatrikulation eines Nutzers ist der Account des Nutzers nicht mehr zugänglich und sind die vom Nutzer in seinem Profil ("Meine Seite") gemachten Angaben über das studiVZ-Netzwerk nicht mehr einsehbar.
Anders ausgedrückt: StudiVZ behält sich das Recht vor, meine Daten für immer zu speichern, weiterzuverarbeiten, weiterzugeben, etc. Das heißt also, sämtliche Daten die man einmal dort eingegeben hat, werden dort für immer bleiben. Eine Möglichkeit diese wieder zu löschen besteht nicht. Damit das keiner merkt, heißt die Funktion weiterhin "Meinen Account löschen".

Auch davon steht bisher nichts in der FAQ.

Ablehnen?
Wenigstens etwas positives haben die AGB: sie werden einem nicht aufgezwungen, sondern man muss ihnen bis zum 9. Januar zustimmen. Wenn nicht, wird der Account "deaktiviert".

Nachtrag: Anscheinend wurden auch bisher Accounts beim Abmelden nicht gelöscht, obwohl es in den AGB behauptet wird. Mehrere Benutzer haben berichtet, dass sie die Info-Mail auch bekommen haben, obwohl sie sich schon seit langem "exmatrikuliert" haben. Außerdem kann man scheinbar mit der Passwort-Vergessen-Funktion einen gelöschten Account reaktivieren.


2008, August 19 (Tue)

Netzwelt ICQ passwords - Open AIM

Lately I was looking into the Google Mail Messenger being able to sign you in to AIM (and thus ICQ) accounts.

The strange thing is that it said my credentials to be wrong.

As you probably know, ICQ can only use the first 8 characters of the password. For some reason I had stored a 9 character password, which gets trimmed to 8 characters by every popular software (including the original clients).

However, not so for Google Mail which tries to sign you in with all you typed and thus fails. So, if you want to sign into ICQ using Google Mail and it complains, remember to only type the first 8 characters of your password.


2008, November 17 (Mon)

Netzwelt ZDF zensiert Mediathek

Im Heise-Forum wies einer heute darauf hin: das ZDF hat eine Folge von Neues aus der Anstalt "gekürzt".
Es fehlt ein Einspieler Walter Ulbrichts "Niemand hat die Absicht eine Mauer zu errichten".

War mir schon RSS-Feed aufgefallen:
Picture%202.png
In der zweiten Version, die laut Feed auf den 07.11.08 datiert, fehlen im Gegensatz zur ersten Version vom 29.10.08 27 Sekunden.

Original:

Bearbeitet Version:

Für die Qualität darf man Avidemux danke sagen.


2008, November 26 (Wed)

Netzwelt DLF Podcasts online transkribiertdingsda

So stellt man sich das doch vor: die Sendungen des DLF gibt es als Podcast - und sie sind transkribiert: http://www.dradio.de/dlf/sendungen/


2009, April 17 (Fri)

Netzwelt Heise trackt Mausbewegungen

Heise trackt Mausbewegungen per JavaScript/Flash:


<script src="/support/lib/mousetrap/mp-embed.js" type="text/javascript">

zeigt über Umwege auf die Dienste von m-pathy.

Heise-Forum.

Mag mal jemand Wireshark anschmeissen und schaun was da ueber die Leitung geht?

Hier hat es einen Screencast über das Ding: http://m-pathy.com/seto/screencast, das ist über zwei Jahre alt.


2009, April 23 (Thu)

Netzwelt von und zu Guttenberg ist ein Ort!

Das Onlineredaktion der Sueddeutsche verschlagwortet ihre Artikel anscheinend automatisch:
Screenshot der Sueddeutschen mit Einordnung von Guttenberg als Ort
Artikel: Zickenkrieg im Bundeskabinett.

Die gleiche Einordnung ist auch bei allen anderen Artikeln, in deren Text Guttenberg vorkommt, zu finden.


2010, October 18 (Mon)

Netzwelt, Web Dump nonoh command line dialer

If you are using nonoh to manage international IP calls with acceptable rates, I can recommend taking a look at this command line dialer script.

It is much more convenient to use than the website (no need for the ugly select box country code), and you can easily set up aliases or another front end for it. Besides, it doesn’t need a big web browser so you it is also good to use over SSH. Furthermore, you can easily see the rates (which are setup charge; tariff; and billing interval for caller and callee, in €-¢t/10000) before even accepting the call.

To use it, you need a working Perl installation. Then just type cpan followed by install WebService::Nonoh. Obviously, the script might break when the website changes.

An older script was based on the script found on voip-info.org with added fee and error code output.

A small usage summary:

# check balance:
nonoh SERVICE USER PASS
 
# connect call
nonoh SERVICE USER PASS FROM TO
 
# send SMS
nonoh SERVICE USER PASS FROM TO MESSAGE


2012, July 30 (Mon)

Netzwelt unicode normalization

Do you know the difference between 郎 (láng) and 郎 (láng)? One is the Chinese character for fiancé and the other one is a so-called compatibility form, which is used in Korea. There is a slight difference in the appearance of the characters, but depending on your font they might look exactly the same.

Why would one care? Not usually, but if you want to copy (Chinese) text from a web page and turn it into a PDF file using pdflatex with the CJK package, and get an error about missing glyphs in the font and metafont errors — and finally track this down to these characters, which GTK “helpfully” both turns into the same 郎 when pasting…… (luckily XEmacs did not, use C-u C-x = to see information about character)

How to fix? Either get a font with all those compatibility glyphs, but as I can’t tell the difference anyway or even might not properly recognize the character, just normalize them back to their “typical” characters. For the latter, Perl can do the job quick and nice: just run s/\p{Han}*/NFKD($&)/ge to replace all the Han characters with their “compatibility decomposition”. See man Unicode::Normalize for details.


2012, November 05 (Mon)

Netzwelt Google Lock-in

Android is open source, at least the core android is.

However, the whole ecosystem is still closed by Google. The hardware isn’t open either, and if you just want to use “stock” Android devices that you can buy, then a lot of the built-in Apps require a Google account.

Not everything has to be free or open source, so if you want to buy or sell Android apps, your only real choice is Google Play. If you want to buy Google devices like the Nexus, you also have to use Google Play. And your only payment method? Google Wallet. (Which only supports credit cards as payment)

So what happens if Google closes down your account and warns you in bold letters to not try and open a new one? You’re on your own. Submit all the identity documents they request, like passport and utility bill? No response. Write an email to any of their support addresses? No response. Fill out dozens of web contact forms in their help? No response. Call them after you have found a US phone number only visible when the help language is set to US? “We apologize for any inconvenience…”

Want to give your hard-earned money to google for one of their devices but they don’t want it? Running after them trying to get your account unlocked? How silly is this.

Maybe it is comforting then that you are not alone


2012, December 17 (Mon)

Netzwelt Markers Magic -- Multi touch Android paint for kids

Looking for an Android drawing app for our little one, there is a lot of crap on the Play Market. It either sucks, is ad-ware, costs money, and finally it doesn’t even do multi touch. The only fine drawing app is Markers which is just a tiny little bit too complicated for her.

Luckily, it is open source so I could remove all the features and make the colours rotate in an automated fashion (rather) easily. So if you need it, please enjoy:

MarkersMagic

MarkersMagic

Continue reading “Markers Magic -- Multi touch Android paint for kids” »


2013, September 26 (Thu)

Netzwelt easy collaboration or less collaboration

Lately I see a lot of repositories where the description reads “Unofficial fork of … Disclaimer: I am NOT the author…”

Do services such as GitHub also have a negative impact on the workings-together of software authors or is it just the new way of doing things?

The forkers try to cast off responsibility by adding such disclaimers, but:

  • Why don’t people even bother to contact the original author?
  • Or is it the author’s fault for not being reachable?
  • Or should we just fork and forget?

/grumpy old man