Re: Tausche dein Deutsch für mein Ruby :-)
"Josef 'Jupp' Schugt" <[email protected]> Thu, 8 May 2003 13:01:56 +0000
| Newsgroups | gmane.comp.lang.ruby.german |
|---|---|
| Organization | none |
| Message-ID | <20030508130156.GA1082@jupp%gmx.de> |
Saluton! * Michael Neumann <[email protected]>; 2003-05-08, 12:22 UTC: > Du könntest deine Artikel auch im Internet veröffentlichen. Ich > denke der Bedarf an deutschem Lernmaterial (über Ruby) ist noch > sehr gross, auch wenn es schon einige Bücher gibt. Apropos Bücher auf Deutsch: Eine korrigierte Auflage von 'Programmieren mit Ruby' (David Thomas, Andrew Hunt) wäre auch angebracht. Da sind teilweise haarsträubende Dinge zu finden. Wenn beispielsweise im Beispielcode zu 'net/smtp' das 'Subject: ' einer Mail, das an sendmail übergeben wird, in einen 'Betreff: ' mutiert, ist das eine ausgemachte Katastrophe. Das Böse an diesem Fehler ist, dass er auf der Seite des Mailservers keinen darstellt und alles zu funktionieren scheint - bis der MUA die Betreffzeile nicht anzeigt. Manuell eingegebenes Beispiel: -="=-="=-="=-="=-="=-="=-="=-="=-="=-="=-="=-="=-="=-="=-="=-="=-="=- Script started on Thu May 8 12:50:14 2003 12:50:14 [1] /home/jupp> telnet localhost smtp Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 ESMTP helo localhost 250 jupp.8m.com Hello localhost [127.0.0.1], pleased to meet you mail from: [email protected] 250 [email protected]... Sender ok rcpt to: jupp@localhost 250 jupp@localhost... Recipient ok (will queue) data 354 Enter mail, end with "." on a line by itself Betreff: Es geht wirklich ... ... auch wenn man es nicht glauben mag . 250 MAA01147 Message accepted for delivery quit 221 jupp.8m.com closing connection Connection closed by foreign host. 12:51:18 [2] /home/jupp> sendmail -q 12:51:25 [3] /home/jupp> ^D Script done on Thu May 8 12:51:26 2003 -="=-="=-="=-="=-="=-="=-="=-="=-="=-="=-="=-="=-="=-="=-="=-="=-="=- In nail sieht das Ergebnis dann so aus: | mailx version nail 10.4 1/19/03. Type ? for help. | "/var/spool/mail/jupp": 2 messages | >O 1 [email protected] Thu May 8 12:51 14/410 | O 2 [email protected] Thu May 8 12:20 75/3249 A.Word.A.Day-- | ? 1 | Message 1: | From [email protected] Thu May 8 12:51:24 2003 | Received: from localhost (localhost [127.0.0.1]) | by jupp.8m.com (8.8.5/8.8.5) with SMTP id MAA01147 | for jupp@localhost; Thu, 8 May 2003 12:50:30 GMT | Date: Thu, 8 May 2003 12:50:30 GMT | From: [email protected] | Message-Id: <[email protected]> | Betreff: Es geht wirklich ... | Status: RO | Content-Length: 37 | Lines: 1 | | ... auch wenn man es nicht glauben mag | | ? q Das 'A.Word.A.Day--' ist übrigens nur der Anfang der Betreffzeile, komplett lautet sie: 'A.Word.A.Day--teknonym' Gis, Josef 'Jupp' Schugt -- e-mails that do not contain plain text, are larger than 50 KiB, are unsolicited, or contain binarys are ignored unless payment from your side or technical reasons give rise to a non-standard treatment. <html><form><input type crash></form></html>