Einträge mit dem Tag ‘Kram’

Wirklich witzige Google-Anfragen kann ich aus letzter Zeit leider nicht vermelden. Festzustellen bleibt lediglich, daß sich immer wieder Leute hierhin verirren, die auf ihre Fragen fast eine Antwort bekommen — dann aber keinen Kommentar hinterlassen, sondern wortlos wieder abziehen. Wer nach povray mandelbulb sucht, will doch sicher den Code für das Fraktal in einer Form haben, die von PoV-Ray gelesen werden kann? Naja, vielleicht hilft es ja doch noch jemandem, wenn auch der ursprüngliche Besucher längst weg ist (siehe unten).

Außerdem: mein Hauptblog läßt sich wunderbar über Google finden; das Nibelungen-Projekt aber nur über die Blog-Suche. Das finde ich ein bißchen frustrierend, weil es für die Besucherzahlen alles andere als förderlich ist. Naja, vielleicht sollte ich trotzdem noch ein paar Seiten ablichten und vor allem auch transkribieren, damit die Suchmaschinen ein bißchen mehr Text zum Zerkauen haben.

So, das war’s auch schon für heute. Ach ja, der Code:

#declare iteratex = function (x, y, z, a) {
a + pow(f_sphere(x,y,z,0),4)*sin(f_ph(y,z,x)*8)
*cos(f_th(y,z,x)*8)}
#declare iteratey = function(x, y, z, b) {
b + pow(f_sphere(x,y,z,0),4)*sin(f_ph(y,z,x)*8)
*sin(f_th(y,z,x)*8)}
#declare iteratez = function(x, y, z, c) {
c + pow(f_sphere(x,y,z,0),4)*cos(f_ph(y,z,x)*8)
}
isosurface {
function {
f_sphere(iteratex(iteratex(iteratex(x,y,z,x), iteratey(x,y,z,y), iteratez(x,y,z,z), x),
iteratey(iteratex(x,y,z,x), iteratey(x,y,z,y), iteratez(x,y,z,z), y),
iteratez(iteratex(x,y,z,x), iteratey(x,y,z,y), iteratez(x,y,z,z), z), x),
iteratey(iteratex(iteratex(x,y,z,x), iteratey(x,y,z,y), iteratez(x,y,z,z), x),
iteratey(iteratex(x,y,z,x), iteratey(x,y,z,y), iteratez(x,y,z,z), y),
iteratez(iteratex(x,y,z,x), iteratey(x,y,z,y), iteratez(x,y,z,z), z), y),
iteratez(iteratex(iteratex(x,y,z,x), iteratey(x,y,z,y), iteratez(x,y,z,z), x),
iteratey(iteratex(x,y,z,x), iteratey(x,y,z,y), iteratez(x,y,z,z), y),
iteratez(iteratex(x,y,z,x), iteratey(x,y,z,y), iteratez(x,y,z,z), z), z), 2)
}
}

[Edit: Typo in den Metadaten]

Kein Kommentar

Dumb Thoughts

Whenever I enter our company’s precincts these days, I am reminded of ice cream: a packed layer of snow, sprinkled with dark grit, looks just like chocolate chip ice cream; a thin layer of slightly dirty snow on top has more or less the colour of nut ice cream.

On Music

Never mind. I meant to tell you something totally different. It is about iTunes, the program I use to listen to music, and to keep my music library in order (and for a podcast or two). I have not yet bought anything from the iTMS, and nowadays, my iPod is used but rarely. So, I could just as well use a different program. On the other hand, iTunes works very well, it is integrated into the OS (on the Mac, that is), and I do not know of any real alternative.[1]

Out of tune

Nevertheless, there are some things I do not like. Mostly, these are minor points. For example, you can change the toolbar[2] to suit you likings in almost every little utility; this is functionality provided by the operating system, so application programmers do not have to work too hard to include this in their program. Not so in iTunes. Or take Smart Playlists[3]: You can combine several criteria by either and or or, but not by both[4]. It is possible to work around this problem[5] by combining several Smart Playlists.

Rated

Two points are, however, a bit bigger: the way iTunes works with albums, and with ratings.
iTunes’ ratings are quite simple — and that is the reason it looks a bit slapped-on to me: You can rate each track with one to five stars. These will be shown in your track lists, and you can use them in Smart Playlists[6]. That is about it. Wait, there is something else: when rating a complete album, the stars are copied to all the album’s (unrated) tracks. They will be shown as outlines to remind you that the track as such has not been rated. Likewise, an album will be rated from the combined ratings of its tracks.[7].

So far, so good. Such a simplistic rating seems to me to belong to the 90s[8]. My average rating is slightly better than four — a prime example of grade creep. This is where I would like to see something completely new. I do not know exactly how it should work; however, the fundamental idea is to take away the need to give absolute ratings. Instead, one could for instance perform relative ratings between two tracks; the application would then calculate absolute ratings for all titles. Or maybe the rating is calculated incrementally, and you rate it up and down each time you listen to a track.[9]. Or maybe there is a totally different idea. Some engineer is bound to have a great idea.[10]

Albus, -a, -um

Now, I have to admit I am pretty old-fashioned. Since mp3 and similar formats have been accepted, the music business seems to have shifted toward single tracks.[11] Albums are more or less dead.

Well, not for me. I still like to listen to whole records: the tracks belong together, forming a whole that is more than its parts, and sometimes, they even tell a story.[12].

Fortunately, albums are not totally gone: iTunes will group tracks by album, putting the cover art next to the list of tracks. You can also instruct shuffle mode to play whole records at a time rather than single tracks. Finally, there is the indirect rating system I mentioned above.

However, I think there is still much room for improvement. For instance, I like to use Smart Playlists, to look for highly rated tracks, of for ones I have not listened to for a while. Sometimes, only isolated tracks from various albums will be collected in this way: I might have stopped listening in the middle of an album last week, so its first tracks are two weeks more recent than the last ones; or maybe, I have rated several tracks differently even though they belong to the same record, and now only a few can be found on my five-star list.

I would really like Smart Playlists to work better with albums: wouldn’t it be great to have a list of albums collecting dust rather than just isolated tracks?

[Edit: English]

  1. Again: on the Mac. The situation may be different for other operating systems.
  2. That is, the upper part of a window, where you will find icons serving as shortcuts to important commands.
  3. Automatically compiled, rule-based collections of music.
  4. Say, I cannot select all titles I like especially well and that are either from the 70s or belong to the folk genre.
  5. Apple Mail does it, too.
  6. For example, you could create a list of all tracks with four or more stars.
  7. Unless you have explicitly rated the album already.
  8. I am tempted to say: to last century.
  9. I may have been less than clear: a new track is given an average rating, say, 3. Once I have listened to it, I think it is better than that, and iTunes increases its rating to 3.5 or so. After listening for the second time, I still think it is underrated, so it increases to 3.8 — and so weiter in smaller and smaller steps.
  10. I have added something to the wish list:

    What I would like to see in a future iTunes version is a truly innovative rating system. Instead of assigning a fixed number of stars per title, something that evolves as I build up my library and listen to music would be great.

    For example, once I have assigned preliminary stars to a new title, iTunes might allow me to compare it to other titles with a similar rating (say, while listening to the track). iTunes could then adjust its rating accordingly. Globally adjusting ratings in order to use the full spectrum of one to five stars might also be useful. Currently, the average rating in my library is slightly above four stars, however it is hard to correct this manually.

  11. Except for concerts, that is.
  12. And I like vinyl. But the drive does not fit into my Mac. Sob.
Kein Kommentardeutsch

Das Wort des Tages: Unbill. Außerhalb alter Texte (oder der Fantasy-Literatur) hört man es äußerst selten. Heute aber bat unser IT-Dienstleister, diese zu entschuldigen: ein zentraler Dienst ist vor Weihnachten ausgefallen, der Hersteller arbeitet immer noch an der Behebung des Problems.

Außerdem: Ich habe mich in einem Irrgarten aus Wenn-Dann-Abfragen verlaufen und ein Softwarepaket an zwei Stellen repariert, aber gleichzeitig an drei anderen kaputtgemacht. Bis die Reparatur dann getestet war, ging es schon stark auf acht zu. Naja, wer früh nach Hause will, sollte im Fenster mit den Build-Resultaten vielleicht ganz bis nach rechts scrollen. Dann sähe man nämlich die roten Balken.

Und: Während ich auf den Buildservice warte, bereite ich diesen Blogeintrag in einem TextEdit-Fenster vor. Das Programm mag aber den Satzanfang Naja nicht und ersetzt ihn automatisch durch Anja. Zum Glück kann man das abschalten.

Und zu guter Letzt: Der neue Mandelbulb-Film ist fertig. Es hat ein paar Wochen gedauert, ihn zu berechnen; aber für glatte Kanten und eine höhere Framerate hat ich der Aufwand gelohnt.


Kein Kommentar

  • Kalauer des Tages: Unfall auf der Datenautobahn. Zwei Schwervernetzte. [via dasgenie/peterglaser]
  • Und ewig lockt die Sprache — im Economist gibt es einen schönen Artikel darüber, daß Englisch nicht schwierig ist, und was an Fremdsprachen so fasziniert. [via Finja]
  • Ich bin immer noch auf der Suche nach einem Kinderbuch, das ich vor langer Zeit aus der Stadtbibliothek ausgeliehen und begeistert gelesen habe. Leider weiß ich weder Auto noch Titel, und auch von der Handlung ist mir nur im Kopf geblieben, daß ein paar Kinder Zaubertränke brauen, die sie Gebubbel nennen. Sachdienliche Hinweise nimmt keine Polizeidienststelle entgegen, dürfen aber gerne in die Kommentare geschrieben werden.
  • Die Silvesterplanung steht. Ich freu mich schon drauf :-)
3 Kommentare

Es gibt wohl kein Buch, das ich so häufig gelesen habe wie Tolkiens Herrn der Ringe. Und jedesmal, wenn ich im Vierten Buch angekommen bin, wird das Lesen zäh. Nach den lauschigen Wäldern, weiten Wiesen und irgendwie heimeligen Bergen von Rohan springt die Erzählerperspektive plötzlich zu den Sümpfen und Aschenbergen von Mordor, und die erschweren eben nicht nur unseren Hobbits das Fortkommen; der Leser kämpft genauso, und wenn man den Berichten von Christopher Tolkien glauben darf, dann hat es auch der Autor dort nicht leicht gehabt.

Deshalb habe ich kurzerhand beschlossen, aus der Not eine Tugend zu machen und eine kleine Pause einzulegen; die kommt mir nämlich sehr gelegen, um meine kräftig gewachsene Vokabelliste abzuarbeiten.

Ach ja, und vielleicht schaffe ich es bei der Gelegenheit auch, den Stapel der gerade gelesenen werdenden Bücher[1] etwas zu verkleinern. Von den ungelesenen, die gerade zu Weihnachten stark zuzunehmen pflegen, will ich lieber schweigen. So viele Bücher, so wenig Zeit.

[1]Der deutschen Sprache fehlt eindeutig ein Partizip Präsens Passiv. Man könnte dazu etwa die Merkmale des P. Präsens Aktiv und des P. Perfekt Passiv in geeigneter Weise kombinieren; z. B. so: gelesend — P. Pr. Pass. bzw. lesen — P. Perf. Akt. Also: der Stapel der gelesenden Bücher (im Ggs. zu den bereits gelesenen Büchern). Wenn ich ein Buch zur Seite gelegt habe, bin ich demnach auch nicht mehr ein lesender, sondern nur noch ein lesener Blogger.

1 Kommentar

Tags:
  • Es hat geschneit in der Nacht. Jetzt ist draußen alles weiß, und ich darf mir überlegen: Fahrrad oder zu Fuß? Na, solange es nicht antaut, ist das Fahrrad ganz praktisch.
  • Gestern festgestellt: Es gibt einen Künstler, der auf last.fm außer mir nur einen anderen Hörer hat. Das sorgt nicht nur für sehr abwegige similar artists, sondern fühlt sich auch seltsam an.
  • Dem vermutlich allseits bekannten Video LAN Client (VLC) gehen gerade die Mac-Entwickler aus. Nachdem einschlägige Stellen darüber berichtet haben, wurde das Forum des Projekts geslashdottet. Immerhin haben sich einige Leute gemeldet, die das Mac-Frontend weiter pflegen wollen.

So, jetzt gibt erstmal Kaffee mit der tollsten Eule der Welt :-)

1 Kommentar

Today, I probably won’t make many friends — but there is a physicist’s joke bouncing off the inside of my head, so I have to let it out to have peace. Of course, physicists’ jokes have the tendency to be incomprehensible by anyone but physicists (a somewhat rare species). Ordinary people usually take on a puzzled or even pitying look. Moreover, the joke bothering me right now is a terrible groaner — if you understand it. Oh well, there it is:

Q: What is the twelfth law of thermodynamics?

A: There is no perpetual motion machine of the twelfth kind.

What else has happened today? Not much. But Mr Karlsson says that there are two simple rules to form the partitive plural in Finnish: If the stem of a given word ends on a short vowel, the partitive suffix is -a/-ä. This is, of course, preceded by -i- or -j- to mark the plural. If, however, the stem ends on two vowels (or one long vowel),  -ta/-tä is used, again with plural -i- or -j-.

There are several additional points to consider, but these are the basic rules.

5 Kommentaredeutsch

In some languages, front (bright) and back (dark) vowels cannot be mixed within the same word. This is called vowel harmony.

Although this concept is only partly realised in Finnish, it may yield impressive results, as in today’s Word of the Day:

päämääränään

That is as their goal.

I found this one in the translation of The Lord of the Rings, shortly before Helm’s Deep.

5 Kommentaredeutschsuomi

Alaston nainen istuu huoneessani ja syö omenaa. Alaston nainen istuu huoneessani ja syö omenaa. Alaston nainen istuu huoneessani ja syö omena.

In Wirklichkeit war es ein Pfirsich…

2 Kommentaredeutschsuomi

Today, I would like to present a funny — if somewhat useless — mathematical toy.

Originally, I wanted to create some sleak pictures to illustrate a graphic method for multiplying decimal numbers — but someone has been faster than me, posting a video at Youtube.

Therefore, I leave my pencil alone. I shall merely add that this method works in exactly the same way as the usual pencil-and-paper way does.

Kein Kommentardeutsch