tag:blogger.com,1999:blog-51927952024-03-13T19:40:48.060+01:00fisch im wasser .oO ( wrak wrak )
~(,..,)'<
Unknownnoreply@blogger.comBlogger219125tag:blogger.com,1999:blog-5192795.post-73549465353314670692014-01-13T21:34:00.000+01:002014-01-13T21:38:58.344+01:00Ich liebte eine Estin<p>Das Buch das ich in den letzten beiden Tagen verschlungen habe ist “<a href="http://www.ihleo-verlag.de/ihleoverlag_de/Seiten/autoren/hasselblatt.html">Ich liebte eine Estin</a>” von Cornelius Hasselblatt. Diese Autobiographie ist für mich persönlich sehr interessant denn Hasselblatt ist Finnougrist, Estophil und hat in Hamburg studiert. Drei sachen die uns einen, obwohl ich einräumen muß Finnougristik nur im Ergänzungsfach studiert zu haben. Hasselblatt erwähnt so ziemlich jeden Estnischen Autor und so findet sich dort auch ein Kommentare zu Kaur Kender:<br />
</p><br />
<blockquote>… während Kender und Sauter dahingekotztes Alltagsgewäsch boten, obendrein war es misogynes, maskulines Geblubber ohne tieferen Sinn. … die … aber in Zehn Jahren vergessen sein würden.<br />
</blockquote><br />
<p>Letztes Jahr hat dieser “Generation-X” Autor für kurze Zeit den Posten des Chefredakteurs von Sirp übernommen und prompt vier Redakteure gefeuert. Dem folgte ein großer Aufschrei in der Estnischen Kulturszene an dessen Ende Kender und Kulturminister Rein Lang ihr Amt aufgaben.<br />
</p><br />
<br />
<p>Zurück zum Buch, die ersten Kapitel sind besonders interessant wenn Hasselblatt von dem beständigen wachsen seiner Bibliothek durch Besuche in Estland erzählt wo ihm oft Bücher geschenkt wurden. Denn wie er im Epilog auch schreibt ist den jüngeren, inklusive mir, nicht wirklich bewusst das der Vorhang garnicht so eisern war das auch ein junger Student aus Deutschland oft via Helsinki-Tallinn Fähre die damalige ESSR in der Sowjetunion besuchen konnte. Besonders erfreut hat mich die erwähnung seines ehemaligen Doktoranden Rogier Blokland dessen Seminare mir sehr viel Spaß gebracht haben.<br />
</p><br />
<p>Für jemanden wie mich war es eine wahre Freude dieses Buch zu lesen.<br />
</p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5192795.post-29295564610830410332013-11-05T20:34:00.001+01:002013-11-05T20:34:14.094+01:00GNUBahnen<p>Anfang des Jahres habe ich eine kleines Emacs Lisp Programm geschrieben um Textbeschreibungen zu HVV-Routen zu generieren. Das Generieren einer Route funktioniert zwar einwandfrei, aber da der HVV keine API oder Daten zur verfügung stellt und das extrahieren der Daten aus der Website zu aufwending ist, läßt sich das System nicht nutzen. Das ist nicht so schlimm weil es eh nur ein Prototyp zum von Texten aus Routenbeschreibungen sein sollte.</p><br />
<p>Jetzt lese ich grad ein Paper von 1998 zum generieren von Wegbeschreibungen der U-Bahnen in Montreal und Paris. Beim überfliegen war mir schon aufgefallen das wahrscheinlich Lisp benutzt wurde, als die Autoren dann aber schreiben das sie ihr Programm in GNU Emacs Lisp geschrieben haben war ich doch etwas erstaunt und mußte feststellen das Ich doch nicht der einzige war der seinen Editor für solche Zwecke gebraucht.</p><br />
<p><a href="http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.47.6329">Fraczak, Lapalme & Zocke: Automatic Generation Of Subway Directions: Salience Gradation As A Factor For Determining Message And Form</a></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5192795.post-10442731144948814852013-11-04T21:40:00.000+01:002013-11-08T14:18:59.160+01:00Org-mode, biblatex & xelatex<p>Wie man die beiden überzeugt miteinander zu reden.</p><br />
<p>Ich arbeite Momentan ein einem kleinen Paper für meine Diplomarbeit. Zur Organisation des Textes, der Notizen und Quellen benutze ich <a href="http://orgmode.org/">Org mode</a>. Org hat eine LaTeX Export, so daß man sich das Strukturieren und Schreiben konzentrieren kann. Aber standardmäßig nutzt Org weder xelatex (UTF-8, direkter Output als PDF) noch biblatex (?) und ganz wichtig, es gibt keine direkte <code>\cite</code> Unterstüzung.</p><br />
<h3>Quellverweise</h3><p>Zum Markieren von Quellverweisen nutzen wir Links im Org, die dann beim export zu <code>\cite{ref}</code> umgewandelt werden. Dazu wird im Org-Dokument ein neuer Linktyp angelegt:</p><br />
<pre style="color: #b22222">#+LINK: cite rtcite:bibliography.bib::%s</pre><p><code>cite</code> und <code>bibliography.bib</code> können auch umbenannt werden, ersteres wird für Links ala <code>[[cite:Ref13]]</code> im org-Dokument gebraucht, letzteres ignoriert.</p><!-- TODO: bib Datei einlesen und in LaTeX header einfügen --><br />
<br />
<p>Damit die Quellverweise umgewandelt werden ist noch etwas elisp Code nötig:</p><br />
<pre>(<span class="keyword">defun</span> <span class="function-name">my-rtcite-export-handler</span> (path desc format)
"converts rtcite:<bib"
(<span class="keyword">let*</span> ((search (<span class="keyword">when</span> (string-match <span class="string">"::#?</span><span class="regexp-grouping-backslash">\\</span><span class="regexp-grouping-construct">(</span><span class="string">.+</span><span class="regexp-grouping-backslash">\\</span><span class="regexp-grouping-construct">)</span><span class="string">\\'"</span> path)
(match-string 1 path)))
(path (substring path 0 (match-beginning 0))))
(<span class="keyword">cond</span> ((eq format 'latex)
(<span class="keyword">if</span> (or (not desc)
(equal 0 (search <span class="string">"rtcite:"</span> desc)))
(format <span class="string">"\\cite{%s}"</span> search)
(format <span class="string">"\\cite[%s]{%s}"</span> desc search))))))
(org-add-link-type <span class="string">"rtcite"</span> nil 'my-rtcite-export-handler)
</pre><br />
<p>Ich habe meine bibtex Quellen direkt im Org-Dokument als Quellcode der vor dem PDF generieren getangled wird, die Überschrift aber mit <code>:noexport:</code> getaggt ist. Wenn man nur BibTex nutzt genügt es am Ende des Dokuments einfach folgendes einzufügen:</p><pre style="color: #b22222">#+BEGIN_LATEX
\bibliography{<dateiname ohne .bib>}
\bibliographystyle{alpha}
#+END_LATEX
</pre><br />
<p>Für biblatex sieht das etwas anders aus, das muß im LaTeX-Header eingebunden & konfiguriert werden:</p><br />
<pre style="color: #b22222">#+LANGUAGE: de-de
#+LATEX_HEADER: \usepackage[style=alphabetic,citestyle=alphabetic]{biblatex}
#+LATEX_HEADER: \addbibresource{<Dateiname.bib>}
</pre><br />
<p>Die <code>#+LANGUAGE:</code> Option sorgt dafür das das Babel Paket als <code>ngerman</code> konfiguriert wird, wonach sich biblatex richtet und statt <em>Ed.</em> nun <em>Hrsg.</em> ausgiebt.<br />
<br />
<p>Das Ausgeben des erfolgt wieder am Ende mit</p><pre style="color: #b22222">#+LATEX: \printbibliography
</pre><br />
<h3>xelatex mittels latexmk</h3><br />
<p>xelatex erfordert andere standard Pakete als pdflatex, bzw. solche wie inputenc stören/sind überflüssig.</p><br />
<pre>(setq org-export-latex-default-packages-alist
'((<span class="string">""</span> <span class="string">"fontspec"</span> t)
(<span class="string">""</span> <span class="string">"xunicode"</span> t)
(<span class="string">""</span> <span class="string">"url"</span> t)
(<span class="string">""</span> <span class="string">"rotating"</span> t)
(<span class="string">"AUTO"</span> <span class="string">"babel"</span> t)
(<span class="string">"babel"</span> <span class="string">"csquotes</span>" t)
(<span class="string">""</span> <span class="string">"soul"</span> t)
(<span class="string">"xetex"</span> <span class="string">"hyperref"</span> nil)
))
</pre><p>Entweder weder konfigueriert man Org so das mehrmals xelatex und zwischendurch biber aufgerufen werden, oder man installiert noch latexmk und ruft diese einmal auf:</p><pre>(setq org-latex-pdf-process '(<span class="string">"latexmk -xelatex -bibtex-cond -f %f"</span>))
</pre><br />
<p><strong>Update</strong> Wie ich gestern herausfand sind die Software recht "neu". latexmk unterstützt xelatex erst seit Juli 2013, biber ist nicht in TeX Live 2009 (Version die Ubuntu 12.04 liefert) und die hidelinks Option für hyperref wurde 2011 oder so eingeführt. Benutzer von TeX Live oder MiKTeX sollten nach einem update auf 2013 alles haben.</p><br />
<p>TeX Live ist recht einfach zu installieren aber will standardmäßig erstmal 3GB installieren (die basis ist nur ein Zehntel enhält aber nicht die hier benutzten Pakete so daß man nachinstallieren muß)</p><br />
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5192795.post-56304323520931827692013-10-29T20:37:00.000+01:002013-10-29T20:39:46.976+01:00#lisp mention<p><a href="http://www.linguistics.rub.de/CLBuch/">Computerlinguistik und Sprachtechnologie: Eine Einführung</a> hat ein Unterkapitel zu "Programmiersprachen in der Computerlinguistik" das etwas belustigend ist. Es wird chronologisch mit Lisp & Prolog angefangen. Der Text zu Prolog ist recht kurz, dafür gibt es ein kleines Lisp Programm zum Sätze generieren (mit einem kleinen Fehler, in Zeile 34 fehlt ein <code>'</code> vor den leeren Klammern). Der Autor verweist auf die verlorene Relevanz in der Computerlingustik mit <a href="http://xkcd.com/
224/">xkcd</a> hin, erwähnt den <a href="http://www.weitz.de/regex-coach/">Regex Coach</a> und empfiehlt <a href="http://www.gigamonkeys.com/book/">Practical Common Lisp</a>. Etwas befremdlich ist jedoch die kategorisierung von Lisp als funktionale Programmersprache, insbesondere da später Perl & Python als dynamische Sprachen betitelt werden.<br />
</p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5192795.post-23367070873721553142013-09-30T18:11:00.004+02:002013-09-30T18:11:58.165+02:00Es müffelt<p>Was tun bei muffig stinkenden Klamotten? Eine Frage die sich mir vor kurzem leider stellt.</p><br />
<h3>1. Vorbeugung</h3><p>Damit es garnicht erst zum Muff kommt ist das wichtigste die Klamotten nicht zu lange in der Waschmaschine oder im Korb liegen zu lassen. Sobald die Maschine fertig ist raus damit, in den Trockner oder aufhängen. Ich setze mir dazu auf dem Handy ein Termin damit ich nicht umsonst in den Keller laufe.</p><br />
<p>Außerdem kann sich der Muff auch in der Waschmaschine selbst festsetzen. Um dem vorzubeugen ist es wichtig nicht immer die Universaltemperatur von 40° zu wählen, sondern die Wäsche zu sortieren und auch regelmäßig bei 60° oder 90° zu waschen.</p><br />
<h3>2. Es stinkt</h3><p>Sofern der Gestank nicht zu stark fest sitzt, reicht einfachen <a href="http://de.wikipedia.org/wiki/Branntweinessig">Branntweinessig</a> als "Klarspüler" bei der Wäsche zu verwenden. Wenn das nicht hilft, die betroffenen Wäschestücke in einen Müllsack stecken, etwas Essig dazu, zu machen & mehrere Stunden einwirken lassen. Danach waschen, der Essiggeruch verschwindet beim Trocknen.</p><br />
<p>Generell hilft es die Wäsche an der frischer Luft und Sonne trocknen zu lassen.</p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5192795.post-48239071446266323642013-09-27T21:33:00.001+02:002013-10-15T18:23:00.708+02:00König Ödipus<p>Inspired by a BBC show about Greek drama & democracy I started reading the classic Greek dramas by Sophocles, Euripides, Aeschylus. They're all in the public and thus cheap to acquire, basically you can read them all <a href="http://www.gutenberg.org/ebooks/subject/14549">for free at Project Gutenberg</a> … in English. I started out with Reclam Heftchen in German and would like to stay in German. Anyways, this post is just a I can point at a König Ödipus PDF I created with TeX:</p><br />
<p>Update: Kleinere Korrekturen (Zeilenumbrüche) & auch als EPUB</p><ul><li><a href="http://blog-files.e1m2.de/oedipus.pdf">König Ödipus PDF</a></li>
<li><a href="http://blog-files.e1m2.de/oedipus.tex">TeX source</a></li>
<li><a href="http://blog-files.e1m2.de/oedipus.epub">König Ödipus EPUB</a></li>
</ul>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5192795.post-74280333075787014812013-04-21T23:25:00.000+02:002013-04-21T23:25:17.154+02:00Papers, Please<p>My favorite game at the moment is <a href="http://dukope.com/">Papers, Please</a>. It's and indy game set in a dystopian world in the 80s:</p><br />
<blockquote>The communist state of Arstotzka has ended a 6-year war with neighboring Kolechia and reclaimed its rightful half of the border town, Grestin.</blockquote><br />
<p>The atmosphere is just great as in well done. A split town after a war (East & West Greting), a another split town elsewhere (Glorian & True Glorian). Dark graphics, work to pay heat & food, denying people from other countries access, terrorism. And your job is to control, inspect, protect the regime. The rules change daily, to add pressure a timer is running and you get paid only for processed people. I love games set in such a gloomy environment, sadly it's still in beta but it looks very promising, would gladly pay for the full game.</p><br />
<iframe class="youtube-player" type="text/html" width="640" height="385" src="http://www.youtube.com/embed/_QP5X6fcukM" allowfullscreen frameborder="0"><br />
</iframe><br />
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5192795.post-58191790063301184652013-03-26T01:03:00.005+01:002013-03-26T01:03:59.596+01:00Growl for Emacs<p>There are several packages for Emacs which let you send notifications to Growl but afaik none which implements sending notifications over the wire, implementing GNTP (Growl Notification Protocol). Given that it's not very hard to implement I put together an <a href="http://github.com/tekai/gntp.el/">implementation</a>. It's not very complete, it has no encryption, lacks error handling, it just does what I need, register notifications with icons and sending them.</p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5192795.post-69350969252950740062013-03-18T10:30:00.002+01:002013-03-18T10:30:44.801+01:00uuurgh<p>That was too much LaTeX last night. I dreamt of writing a book on compilers or so and whenever I wrote GNU it had to be with spaces in between and a stylized ©. When I printed it out I found many places where I had to correct it, and the font for GNU was ugly.</p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5192795.post-71469937901406587442013-03-17T22:29:00.000+01:002013-03-18T10:26:23.318+01:00org-mode<p>I have just fallen in love with this emacs mode. I'm already using it to bring a little bit more structure into my live. I use it to manage information on some websites, my finances, <a href="http://orgmode.org/org.html#TODO-Items">TODO lists</a> at work. I even bought the printed org manual. At the moment I'm working on a small project for university, a mix of text and code. When writing papers etc. mixing code with text usually is problematic, it's too wide, formatting stinks, code is usually copied from file but and must be manually copied formatted etc. when you change it. With org-mode you simply <a href="http://orgmode.org/org.html#Working-With-Source-Code">include the source code</a> in your org file along with all the text and when you're done you simply <a href="http://orgmode.org/worg/org-tutorials/org-latex-export.html">export it as a LaTeX file</a>. All in one place and easy to navigate.</p><br />
<p><a href="http://www.orgmode.org/">org-mode</a> best mode</p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5192795.post-89005340809609404282013-03-13T12:04:00.000+01:002013-03-13T12:04:13.716+01:00Procrastination - With shaving tips<p><em>This is an old post which I never published. I still shave with a DE razor but switched to Merkur 37C, Tabac shaving soap and a 100 pack of Astra platinum. For more information I recommend visiting <a href="http://reddit.com/r/wicked_edge">/r/wicked_edge</a></em></p><p>I shave, as does probably everybody else and as I'm male I'm mostly concerned about my facial hair. I started out by using an oldish Braun Micron electric shaver from my father. It served me well until I had to join the army. Army, so I thought, means going outside, camping and an electric shaver without batteries would simply be of no use in the woods. Hence I switched to wet shaving and got a Wilkinsons Protector 3 from my mother as a gift. Back then it was top of the line and I like the design. I used it with various shaving foams and gels, but it was always difficult to clean, the hair stuck between the blades. Luckily every recruit gets a welcome package with a Gillette Mach 3, which was far easier to clean, the only downside was that the handle wasn't as nice.</p><p>Years passed and somehow I heard about straight razors, safety razors and using shaving soap and a badger brush instead of canned gel. I talked to my dad about it, about wanting to buy a straight edge razor but they're kinda expensive. He then decided to gift me a used Dovo 500 & a badger brush for my birthday. It didn't quite work out, as either the blade is too dull or I was just to afraid & untalented. But I made use of the brush. Being completely inexperienced I started out with Wilkinsons shaving soap in a black bowl. It being in a bowl made it the obvious choice, and compared to the other bowl options It was cheap & available in supermarkets. It was difficult for me to build up lather but it didn't matter much as I always shaved immediately after showering. I was happy to have gotten rid of expensive canned goo. I still keep the last can around for travelling or an "emergency". Then my shop stopped selling the soap and I had to try the next best option: The Palmolive shaving stick. I cut bits of it into the used Wilkinson bowl and build up "lather" in it. Later I found out I don't strictly need soap if I shave immediately after showering and don't dry my face, yay even more money saved.</p><p>More time passes and a thread, on a forum I frequent, talks about shaving. There's one guy who's into safety razors or double edged blades because they're so cheap. He said he pays about 0,20 USD per blade when buying em in bulk. As I was chronically short on money the "cheap blades" didn't leave my head. So I did some research, tried to find out a good & cheap beginners safety razor model, but it's always came down to a ~30€ investment. Finally in the week after Easter I decided to go ahead and used my Amazon gift certificate to buy a Merkur 23C. The retailer didn't have blades and as I wanted to pay just once for shipping I decided to buy them at a drugstore, a mistake. They only had Wilkinsons (seriously, last Saturday I've visited 3 of the biggest drugstore chains in Germany and only one shop had a 2nd brand) which sells at 3.95€ for 10 blades, making it ~0.40€ per blade. Anyways, my first shave with a safety razor. I expected to get many cuts & a bloody face, but somehow it worked out, not one cut. Some areas don't weren't as smooth as I wanted, esp. my chin line and the neck (which was never smooth unless I went against the grain which I hardly ever do), but hey it's cheaper and feels better (not the shave but using the razor).</p><p>This week I had an exam, so I was procrastinating more than usual and did more research on how to get a better shave, better equipment, where to get the cheap blades (buy them in bulk on eg. <a href="http://connaughtshaving.com/">http://connaughtshaving.com/</a>) and how to shave better. Watching videos I always wondered how they get the lather to be so thick, mine usually sucks in comparison and I never got a 2nd serve out of it, never. Wanting to improve it, I went shopping on Saturday, went to five different shops too look for a bowl/mug, derby blades, tabac shaving soap and a new aftershave. I settled on a müsli bowl, tabac shaving cream and Old Spice. No luck on finding a Turkish shop which sells Derby blades. After I had gotten home and eaten the kumpir, I immediately went to use my new equipment. Wow what a change a) the creme smells, palmolive doesn't b) palmolive hardly lathered - tabac did great c) going against the grain didn't work at all but at least I was able to get three servings out of the creme.</p><p>So my current setup is as follows:</p><br />
<ul><li>Tabac shaving creme (~4.50 €), Palmolive shaving stick (~0.80 €), Gillette shaving gel (backup)</li>
<li>Merkur 23C (~30 €), Gillette Mach 3 (backup)</li>
<li>Wilkinson Blades (10 for 3.95 €)</li>
<li>Balea Badger Brush (~8 €)</li>
<li>Generic ceramic müsli bowl (1.50 €)</li>
</ul><p>total: 30 + 4 + 8 + 0.8 = ~43 € for a starter kit. Seems expensive to me, but keep in mind that running costs are very low afterwards (unless you become a shaving fanatic, buying more razors and esp. more brushes, damn things can cost up to ~200 €). It's just soap + blades, compared to a system razor, where you would have to buy soap anyways, it's ~30 € for a 12 pack of system blades vs ~7 € for 100 blades which last about 10 months. What you save in blades can be invested into different soaps (scents) or a higher grade brush (30-50 €). The general recommendation is to buy a badger brush, they're more pricey than synthetic, but seem to be worth it.</p><p>Since Saturday I've worked on my lathering technique and improved to so much that I even got two servings out of the Palmolive stick yay</p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5192795.post-84256428326162483912013-03-06T15:03:00.003+01:002013-03-06T15:03:39.594+01:00rcirc + growl + convos on windows<p>How to growl with rcirc to get notified about convos:<br />
Being annoyed about missing a convo with rcirc, I decided to get emacs to play a sound when somebody says something in a convo. Playing a sound with emacs is easy <code>(play-sound '(sound "c:/path/file.wav"))</code>. Then I remembered that's to oldschool, I need to use <a href="http://growl.info">growl</a>. So here's my setup:<br />
</p><br />
<h3>Ingredients</h3><ol><li><a href="http://www.growlforwindows.com/gfw/">Growl for Windows</a></li>
<li><a href="http://www.heyes-jones.com/todochiku.el">todochiku</a></li>
<li>some elisp code</li>
</ol><br />
<p>First install growler. Then because it disables <code>M-x</code> while it runs, we'll edit the config file <code>c:/Documents and Settings/<USERNAME>/Local Settings/Application Data/Growl/2.0.0.0/user.config</code>. Look for <code>Alt+X</code> and replace it with a combo you won't need, like <code>Alt+Z</code>.</p><br />
<p>Then install todochiku and configure it, specifically change the <code>todochiku-command</code> to <code>c:/Programm Files/Growl for Windows/growlnotify.exe</code> or whereever you installed growl. If you want icons get it from <a href="http://www.emacswiki.org/emacs/ToDoChiKu">EmacsWiki: To Do Chi Ku</a> and customize the <code>todochiku-icons-directory</code> to wherever you unpacked the icons.<br>Congratulations, you can now growl from within Emacs with <code>(growl "Emacs here" "growling is a go")</code>.<br />
<br />
<p>The last step is to add some more code to get notified about hidden convos. The code below does that and redefines the hook that already comes with todochiku to include the text that mentions your nick.</p><br />
<pre>(<span class="keyword">defun</span> <span class="function-name">growl-convo-rcirc-print-hook</span> (process sender response target text)
(<span class="keyword">when</span> (and (string= sender target)
(not (string= (rcirc-nick process) sender))
(not (string= (rcirc-server-name process) sender))
(not (memq (rcirc-get-buffer process target t)
(rcirc-visible-buffers))))
(todochiku-message <span class="string">"IRC convo"</span> (format <span class="string">"<%s> %s"</span> sender text) 'social)))
(add-hook 'rcirc-print-hooks 'growl-convo-rcirc-print-hook)
(<span class="keyword">defun</span> <span class="function-name">growl-rcirc-print-hook</span> (process sender response target text)
(<span class="keyword">when</span> (and (rcirc-channel-p target)
(string-match (rcirc-nick process) text)
(not (string= (rcirc-nick process) sender))
(not (string= (rcirc-server-name process) sender)))
(todochiku-message (format <span class="string">"IRC mention"</span> target)
(format <span class="string">"%s <%s> %s"</span> target sender text)
'social)))
</pre><br />
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5192795.post-82381255807126652342013-03-05T20:24:00.001+01:002013-03-05T20:24:05.299+01:00Magic: The Gathering Sands of Time<p>Back in 1996 I somehow came upon Magic: The Gathering, and started to play with a limited budget due to being a 9th grader. To be honest, imho I sucked at it, I was a newbie but even when I stopped playing I still sucked. One reason I sucked was that in tourneys I got anxious, sweaty, heart racing & tunnel vision, that makes playing harder and loosing tougher. Playing M:TG wasn't good for my health nor my budget and two years later I decided that it's simply to expensive (you had to keep buying the latest sets to play in tourneys) and sold off all cards but one deck and three cards where I liked the artwork & and signed card.</p><br />
<p>Despite the stress, it was enjoyable and I still consider it to be a good game overall. I even play twice a year in a booster draft. What I love about the game is that it kinda is like <a href="http://en.wikipedia.org/wiki/Nomic">Nomic</a>, a game about rules. You start with a fixed set of rules and via the cards extend these. You can play and win in a plain way, simply deal enough damage with spells or creatures to kill your opponents. Or you extend the rules, twist & abuse them. That's what I liked (apart from rushing out as many creatures as fast as possible). One so called combo I came up with (and happens to be the reason for this post) is <a href="http://tappedout.net/mtg-decks/equisands/">Equisands</a> (not my deck, it has cards which didn't exist in 1997). The core of this deck is the card "Sands of Time", once in game it removes a phase from the game and replaces it with a similar rule. By it's own the card seems stupid but it changed the game in that block fundamentally. Because the removed "untap" phase was central to a another game mechanic of "phasing" (prior to your untap phase cards with "phasing" would leave the game until your next untap phase). The Sands removed that, cards could still phase out via other mechanics but they would never ever enter the game again and "Equipoise" phased out everything your opponent had more of then you. I am so proud of that combo because I came up with it on my own, nobody else I played with used that combo. I don't claim to be the first world wide, but in that circle of friends I was. Sadly I don't I ever won with it, I didn't have enough cards nor the money to buy them and I didn't understand yet that sacrificing cards/lifepoints can be good strategy too. But I was proud of my "invention" and it defined M:TG for me.</p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5192795.post-34777071662139374802013-03-04T23:18:00.002+01:002013-03-04T23:18:33.464+01:00Music & Literature<p>Today I received a LP in my mail, the limited edition 12" vinyl from <a href="http://meltyourselfdown.com/">Melt Yourself Down</a>. When I heard their song "Fix My Live" on BBC6 I knew I had to have that song, so I went to their site and ordered the LP and with it came free downloads for both their songs. Had I bothered to read their site, I could have found out that the mp3s where actually free and I wouldn't have this LP which I can't use because my record player is broken. Yet I'm happy to have this great piece of music and to have supported a independent band.</p><br />
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/0eoVLfPszeQ?feature=player_embedded' frameborder='0'></iframe>
<p>In literature news: I've managed to read five books last month which is a new record for me. That's probably more than I have read in the last two years and one of them was even a manual (for <a href="http://orgmode.org/">org-mode</a>)! One was about the history of Lockheed-Martin, their lobbying and "golden" toilet seats. The last three were about Expat live in Estonia: <a href="http://vellovikerkaar.blogspot.com/">Vello Vikervaars</a> "<a href="http://www.amazon.com/Inherit-Family-Marrying-Eastern-Vikerkaar/dp/1439256039">Marrying into Eastern Europe</a>" and <a href="http://palun.blogspot.com/">Justin Petrones</a> "<a href="http://petroneprint.ee/en/published_in_english.php">My Estonia</a>" 1 & 2. Then this Friday being out of books to read I followed the "recommendation" of Justin and bought <a href="http://en.wikipedia.org/wiki/Anton_Hansen_Tammsaare">A. H. Tammsaares</a> five part epic "Truth and Justice" (in German). That was a bit of an effort as they weren't available on Amazon. In the end I had to buy them from four different antiquity dealers and got the impression that I've bought the last ones.</p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5192795.post-83824715323933101772012-03-20T08:19:00.001+01:002012-03-20T08:19:34.144+01:00... auch nur MenschDer Nobelpreisträger ist im allgemeinen ...<br />
<blockquote>
Nobelpreisträgerin verteidigt schwulenfeindliche Gesetze</blockquote>
Diese Schlagzeile von <a href="http://www.spiegel.de/panorama/gesellschaft/0,1518,822343,00.html">Spiegel.de</a> flatterte mir auf <a href="http://www.reddit.com/r/de">r/de</a> entgegen. Erste und erwünschte Reaktion: Geht doch nicht, die ist doch Nobelpreisträgerin. Empörung. Aber imho unberechtigt, denn die Goldmedaille im 100m Sprint bekommt man nicht weil man gut aussieht und lächelt, sondern einzige allein weil man von allen Teilnehmern der schnellste ist. Genaus bekommet man den Friedensnobelpreis weil man:<br />
<blockquote>
am meisten oder am besten auf die Verbrüderung der Völker und die Abschaffung oder Verminderung stehender Heere sowie das Abhalten oder die Förderung von Friedenskongressen hingewirkt hat</blockquote>
(Quelle: <a href="http://de.wikipedia.org/wiki/Friedensnobelpreis#Grundlage">Wikipedia</a>)<br />
Man kann also ein Arschloch sein, seltsame Meinungen vertreten solange man sich für die zitierten Sachen eingesetzt hat. Diese Auszeichnung geht nicht an Heilige noch spricht sie Heilig, sondern zeichnet Leistungen aus (hmm, naja 2009 mal ausgenommen). Aber dies heißt noch lange nicht das man die Meinung von Ellen Johnson-Sirleaf tolerieren muß. Sie passt vielleicht zur Kultur ihres Landes, was eine Erklärung wäre aber keine Rechtfertigung, aber überhaupt nicht zu meiner. Und so kann man sich hinstellen und sagen, Frau Johnson-Sirleaf sie haben ihre Auszeichnung redlich verdient aber Ihre Meinung zur Homosexualität ist inakzeptabel.<br />
<br />
<br />
<br />
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5192795.post-88258893335234871942012-03-03T02:36:00.001+01:002012-03-03T02:36:41.787+01:00Prohibition Some time ago I watched the excellent documentary <a href="http://www.pbs.org/kenburns/prohibition/">Prohibition</a>. Some notes I took before I throw away the paper:<br />
<ul>
<li>scofflaws (One who habitually violates the law or fails to answer court summonses.)</li>
<li>15.000 agents (for the whole U.S.A.?) </li>
<li>Sheriffs can't kick down speakeasies because they wouldn't be re-elected</li>
<li>more money was spent on protecting game & fish</li>
<li>alcohol for religious purposes was still allowed, jewish congregations grew, sale of mass wine rose</li>
<li>"an affront to the whole history of mankind" - Winston Churchill</li>
<li>the KKK was dry</li>
</ul>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5192795.post-26583204863848676042012-02-24T21:41:00.001+01:002012-02-24T21:41:33.593+01:00PHP Class Browser II So I checked out <a href="http://cedet.sourceforge.net/">cedet</a> and while the package seems good it's PHP support sucks, as in out of the box you get almost none, to get some you have to use either etags instead of the standard tags that comes with emacs or you have to use something from the contrib directory which is unmaintained. Not wanting to deal with etags I'm opting for updating the parser in the contrib directory. Using that a parser could be really interesting, as it means Emacs could know a lot more about the code and with some uh effort one could even have a very much up to date parser by using the grammar from the PHP code (Zend/something.y). Problem: It's a lot of effort for me and not a lot of help/interest from the community <a href="http://www.reddit.com/r/emacs/comments/pwj43/emacs_php/">it seems</a>.<br />
But if I can pull it off, it would help creating refactoring, style, common error (using uninitialised variables) tools.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5192795.post-75840464185548317142012-02-19T16:45:00.001+01:002012-02-19T16:46:14.988+01:00PHP Class BrowserIdea for emacs:<br />
I want to be able to <code>M-x something</code> on a method call and get a new buffer showing all the implementations of that method and from there browse the methods of the class they belong to. And while we're at it a browseable class tree.<br />
I haven't used cedet yet, but as it comes with emacs24 and is supposed to handle C++ it might already have such a thing but probably needs a "PHP parser"Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5192795.post-16802644817287458252011-11-08T22:10:00.003+01:002011-11-08T22:10:41.292+01:00My first C programm I found the code to my first real C programm, a plugin for xchat to control XMMS and a command line tool doing the same:<br />
<a href="http://blog-files.e1m2.de/xmms-remote-0.21.tar.gz">xmms-remote-0.21.tar.gz</a><br />
<br />
<br />
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5192795.post-16284675960405391592011-10-22T18:31:00.001+02:002011-10-22T18:31:57.751+02:00addendum Bei aller Kritik an den Piraten ist natürlich nicht zu vergessen das einiges anderen Parteien genauso geht, siehe Merkel und ihr Kommentar zu dem Tod von Bin Laden aber das ihre Transparenz sie auch angreifbarer macht. Bei welcher anderen Partei kann man von jedem Ort der Welt mit Internetzugang jegliche Protokolle oder Liveübertragungen von Parteitagen oder Fraktionssitzungen anschauen und diskutieren. Diese schonungslose Offenheit gegenüber sich selbst gibt es im Politischen Milieu Deutschlands gerade nicht weil man Medien fürchtet, befürchtet das man für seine Aussagen zur Rechenschaft gezogen wird oder einem die Worte im Mund umgedreht werden.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5192795.post-34727192678102945232011-10-21T21:16:00.001+02:002011-10-21T21:16:54.045+02:00Piratische FettnäpfchenEs gibt Dinge da kann man sich nur mit der Hand ins Gesicht fassen.<br />
<blockquote cite="https://twitter.com/#!/Schmidtlepp/status/126987286649909248">
Yeah, anonymus hat #Uhl defaced.</blockquote>
Da hilft kein Erklären oder Nachrudern, das war so nicht in Ordnung. Defacement ist ein krimineller Vorgang dem hier jegliche Legimitation fehlt. Das schlimme ist aber das es von einem Politiker gut geheissen wird, hauptsächlich weil der Betroffene mit seiner Meinung und Parteizugehörigkeit im gegnerischen Lager zu finden ist, so mein Eindruck.<br />
<br />
Unrecht ist ok, solange es nur meine Gegner trifft oder wie? Solche platte Polemik hätte ich nicht von einem offiziellem Vertreter der Piratenpartei erwartet, auch wenn dieser Twitteraccount ein Privater ist, das eine Meinung Privater Natur oder in anderen Kreisen hinter verhaltener Hand kund getan würde macht sie nicht noch lange nicht akzeptabel.<br />
<br />
Ein einfaches Statement kontra #Uhl & kontra defacement von Anonymous wäre hier das richtige gewesen, oder vielleicht garnichts sagen. Jedenfalls wenn man ernst genommen werden will.<br />
<br />
Ein älterer Fall bei dem auch ein kürzeres Statement genügt hätte sind T-Shirts. Was für T-Shirts? Bei einer der letzten Fraktionssitzungen der Berliner Piraten stellte einer der Piraten einen Antrag das man im Wiki dokumentieren könnte welche T-Shirt Größen die Fraktionsmitglieder hätten, denn er hätte eine Email von einer Gruppe bekommen deren T-Shirt er getragen hat. Die freuten sich halt ihr T-Shirt in den Medien zu sehen. Da den Piraten jetzt sicher mehr Aufmerksamkeit in den Medien zuteil wird, ist es nicht unwahrscheinlich das andere Gruppen auch ihre Shirts im Fernsehen sehen möchten und sie deshalb welche der Fraktion oder Mitgliedern derer schenken. Da wäre so ein Liste mit Größtenangaben nicht schlecht. Die Diskussion dazu konnte man Live im im Internet verfolgen. Das Protokoll gibts <a href="http://fraktion.piratenpad.de/ep/pad/view/sitzung111011/latest?">hier</a>, recht weit am Ende.<br />
Mein Gedankengang war erst „Hey, cool freie T-Shirts.“ und dann „Äh ne warte mal, das geht nich.“. Den zweiten Gedanken hätte ich eigentlich vom Antragsteller erwartet, zum Glück kamen der 3. Redner schnell drauf.<br />
Das Thema enthält zwei Punkte die man kritisch angehen sollte:<br />
<br />
<b>1. Von wem darf/kann/sollte ich Spenden in welcher Höhe annehmen?</b><br />
Die Annahme von Spenden jeglicher Art ist in demokratischen Systemen zumeist stark beschränkt und reglementiert weil Spenden eine Einflußnahme sind, auch ohne Erwartung von Gegenleistung.<br />
<br />
<b>2. Welche Nachricht sende ich mit bei Auftritten in der Öffentlichkeit?</b><br />
Da es hier nicht um umbedruckte, generische T-Shirts geht, sondern welche einer Gruppe mit einem bestimmten Interesse, signalisiert das Tragen eines solchen T-Shirts zumindestens die Unterstützung dieser Gruppe. Damit sind diese T-Shirts nicht mehr frei. Diese Nachricht kann von der eigenen ablenken und hier steht auch wieder das Thema der Einflußnahme im Raum.<br />
<br />
Deshalb halte ich den Antrag für reichlich Naiv und das rumgehacke des Antragstellers an der Person die die gleichen Kritikpunkte äußert und darauf hinweist das damit Grundsatzfragen aufgeworfen werden auch für grob falsch. Man kann nicht die Diskussion von Grundsatzdiskussionen verbieten.<br />
Außerdem, T-Shirts ... fällt nicht wirklich in den Aufgabenbereich eines Parlamentariers.<br />
<br />
Bei solchen Patzern merkt man das die Partei noch sehr jung bzw unerfahren ist. Etwas Erfahrungsaustausch mit älteren Semestern, die nicht unbedingt selbst Politiker sind oder durch einen Kommunikations Experten, wäre sehr Hilfreich. Nicht um Lügen schöner verpacken zu können oder leere Phrasen zu dreschen, sondern um zu lernen wie man in der öffentlichkeit Kommuniziert ohne von einem Fettnäpfchen ins andere zu treten.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5192795.post-27132710119546326242011-05-17T12:40:00.004+02:002011-05-19T00:07:14.147+02:00TIL lexer != parser<p>TIL that a lexer doesn't do grammars and solves my white space in grammar problem. The problem was that I had to surround everything with a WS+ symbol in my grammars which stemmed from me integrating both a lexer & parser in one single grammar.</p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5192795.post-23819463948484778452010-08-29T21:07:00.002+02:002010-08-29T21:51:16.274+02:00web tools<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEin77ghR2D8G_cbgQh9xWjKkQEOwuzQ15oy5JGGOokGiYZzXR9byQxgeMBGXWYdgtkQ2AK_-W-L99S2V_7weLz3wNPY6kDetTfV2746vI1imznCf_sJn4jdeblV_N2RU0YWYNpD/s1600/y-pipes.jpg"><img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 266px; height: 213px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEin77ghR2D8G_cbgQh9xWjKkQEOwuzQ15oy5JGGOokGiYZzXR9byQxgeMBGXWYdgtkQ2AK_-W-L99S2V_7weLz3wNPY6kDetTfV2746vI1imznCf_sJn4jdeblV_N2RU0YWYNpD/s320/y-pipes.jpg" border="0" alt="Yahoo! Pipes" id="BLOGGER_PHOTO_ID_5510921671575735154" /></a>
<p>I have never really used webtools or even a toolchain, except for simple stuff like this blog or twitter. Usually I just develop stuff if I need something special. But yesterday I used two tools which are great especially the second one. <a href="http://www.rsspump.com/">RSS Pump</a> can aggregate several data source, not just RSS feeds, and shows them as a newsticker or a static list. So I'm using it to collect news and articles regarding EVE Online for my corp homepage.
The other tool I am amazed by is <a href="http://pipes.yahoo.com">Yahoo! Pipes</a>. It also collects data from various sources but that's where the similarities end. The end product is a RSS feed or JSON data but in between you can twist and format the data any way you like, which is great as I noticed as not every source has the same format. But what amazed me even more is the editor as it's not text based but instead done via visual programming, neatly visualizing the dataflow.</p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5192795.post-15166366608789287552010-04-26T00:24:00.003+02:002010-04-26T00:27:13.570+02:00followup to Mozilla ES3 extension<p>Does also affect try & catch, and it's a mozilla only thing: https://bugzilla.mozilla.org/show_bug.cgi?id=561670</p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5192795.post-58277090463849433182010-03-25T14:42:00.004+01:002010-03-25T14:44:15.153+01:00githubbed<p>I githubbed the code from the previous post. It's now at <a href="http://github.com/tekai/tools">http://github.com/tekai/tools</a>. Also <code>php-run-string</code> has been fixed.</p>Unknownnoreply@blogger.com0