¯\_(ツ)_/¯
Autor: Enes
Gute Musik
Wenn kluge Menschen entscheiden, ein Werk an erster Position einer Playlist zu stellen, die sie dann mit einer Raumsonde an die Aliens senden, um sich und die ganze Menschheitsgeschichte zu repräsentieren.
https://de.wikipedia.org/wiki/Musikst%C3%BCcke_auf_der_Voyager_Golden_Record
Fehlermeldung
Bei der Installation einer meiner Anwendungen bin ich auf die folgende Fehlermeldung gestoßen:
PDOStatement: Specified key was too long; max key length is 767 bytes
Lag schlussendlich daran, dass meine Standartkodierung der Datenbank utf8mb4 war, und ich bei dieser Kodierung andere Limits habe, als unter utf8. Das ist im Nachhinein auch logisch.
Die Erklärung fand ich in diesem Stackoverflow-Thread.
When you hit the limit. Set the following.
- INNODB
utf8
VARCHAR(255)
- INNODB
utf8mb4
VARCHAR(191)
Anschließend habe ich mich ein wenig mit utf8 beschäftigt, um den genauen unterschied zwischen utf8_general_ci utf8_binary und utf8_unicode_ci herauszufinden.
Die Antwort dafür ist hier:
In general, utf8_general_ci is faster than utf8_unicode_ci, but less correct.
Here is the difference:
For any Unicode character set, operations performed using the _general_ci collation are faster than those for the _unicode_ci collation. For example, comparisons for the utf8_general_ci collation are faster, but slightly less correct, than comparisons for utf8_unicode_ci. The reason for this is that utf8_unicode_ci supports mappings such as expansions; that is, when one character compares as equal to combinations of other characters. For example, in German and some other languages “ß” is equal to “ss”. utf8_unicode_ci also supports contractions and ignorable characters. utf8_general_ci is a legacy collation that does not support expansions, contractions, or ignorable characters. It can make only one-to-one comparisons between characters.
Quoted from: http://dev.mysql.com/doc/refman/5.0/en/charset-unicode-sets.html
For more detailed explanation, please read the following post from MySQL forums: http://forums.mysql.com/read.php?103,187048,188748
As for utf8_bin: Both utf8_general_ci and utf8_unicode_ci perform case-insensitive comparison. In constrast, utf8_bin is case-sensitive (among other differences), because it compares the binary values of the characters.
Entwicklung eines eigenen „CMS“
In diesem Post werde ich ein wenig über mein eigenes „CMS“ schreiben. Ja, trotz zahlreicher Meinungen, die gegen eigene CMS-Lösungen sprechen, habe ich beschlossen, ein eigenes System aufzustellen.
Warum?
Ich nutze selber ziemlich gerne WordPress und Joomla, habe für beide auch (einfache) Componenten/Plugins entwickelt. Genau genommen, basiert Proxer bekanntlich auf Joomla und alles außer das Forum sind selbstentwickelte Komponenten. Dennoch habe ich im Laufe der Zeit festgestellt, dass ich von Systemen wie WordPress und Joomla nur sehr weniges brauche und dass die Kosten für die „unbenutzten“ Elemente dieser Systeme zu hoch sind. Ich bin ein minimalistischer Mensch: Ich möchte nicht mehr haben, als ich brauche.
Was ich für mein CMS alles brauche:
- Datenbankverwaltung
- Benutzerverwaltung
- Sessionverwaltung
- Unterschiedliche Schnittstellen für Seite, Administration und API
- Templates für Seite und Administration
- Model/View/Controller-Ähnliche Architektur für alle Schnittstellen
Da diese Sachen ziemlich einfache Sachen sind, hatte ich auch in einem Tag mein „CMS“ zur Hand. Verwendet habe ich ein Framework namens „Fatfree“, welches meine Anforderungen perfekt erfüllt hat. Ich kann benötigte Funktionen (z.B. ein Blogsystem) jederzeit Entwickeln und dranschalten. Besonders erfreulich ist für mich die API-Schnittstelle: Hiermit möchte ich zukünftig viele tolle neue Anwendungen basteln 🙂
Korijee, Co-Admin von Proxer.Me
Why were the Greeks so fucking great? What is it about them that allowed them to become so amazing? So fucking amazing that mankind is still (granted it’s a relatively small minority) jerking off to them in ecstatic orgasm after thousands of years? Sometimes I’m filled with incredible amount of life force from reading them or about them, and other times it’s crushing depressive episodes where I realize I’ll never witness them by my own eyes, witness everything from the simplest of social interactions to the greatest wonders of the ancient world, never be one of them. Can you imagine the festivals? The orators? The feasts? What is it that’s stopping Europe today from pulling itself up to similar heights? Is it because everything has become too big, we’re too many? Too complacent? Are we just doomed to painful mediocrity and the seemingly eternal meme of „science“? What’s the point in „““sciencing“““ your way to other fucking planets when there’s nothing there, everything will have to be built anew by the people sent there. What will be built? The disgusting glass buildings we all know and love from today, those pathetic excuses for architecture? Is that really the best? Or what about some sterile bleak bubble wrap looking beehive contraption? And who will populate these colonies? The same kind of bags of flesh who love the current mess of a society we live in? How long would it take for the colony to shit itself? What if we meet ayyliens? Will we show them our big go boom-boom rockets or will we show them the greatest works of mankind? Where is it all headed? What’s that discussion called about how the current times are viewed as „non-historic“ times or something akin to that? As if everything has stopped and now „““everyone“““ is „““smart“““ and „““moral“““ and „““good“““ and life is just about „“““living life““““ and „““traveling“““ and „“fucking““ and „““eating good food like pizza“““? I never signed up for this, I didn’t ask for this, didn’t ask for this life. What is there to do? I don’t give a flying fuck about contributing to the eternal meme machine known as the „““““““economy“““““““. Why? Just to be able to symbolically ejaculate on other people’s faces when I tell them I am „““someone“““ because of my position at work? What society is there to care for? A plane could crash on my street and I wouldn’t even bother look out the window. I’d check the news to find that 146 people have lost their lives and that we should all stand together and mourn them and that we should do everything to make sure that something like this never happens again but more importantly I’d be annoyed with all the increased traffic and people.
I wish one of you could slap me in real life. Or choke me to death, whichever would seem more appropriate in the situation.
Anon, 4chan/lit/
Gemütliches Zuhause
- mit grenzenlosem Internet
- mit eigener Mini-Bibliothek
- Ruhe beim Lesen
- deine Snes, Wii und Bücher jederzeit Griffbereit
- einschlafen, so früh man möchte
- unbegrenzte Teeauswahl, Teebesteck jederzeit zur Hand
- ganz viele Süßigkeiten
Idee: Internet-Fasten
Man legt ein Tag fest, und innerhalb dieses Tages muss das eigene Smartphone aus bleiben. Es dürfen keine Internetfähigen Geräte genutzt werden.
Man schaut anschließend, ob es einen positiven Einfluss auf den Geist hat.
Aus einer Bach Kantate
Schlummert ein, ihr matten Augen,
Fallet sanft und selig zu!
Welt, ich bleibe nicht mehr hier,
Hab ich doch kein Teil an dir,
Das der Seele könnte taugen.
Hier muss ich das Elend bauen,
Aber dort, dort werd ich schauen
Süßen Friede, stille Ruh.
J. S. Bach
Verkommene Symbole
Die Strecke zwischen Kayseri (das ist die zentrale Metropole) und Hacilar (eine Stadt 10 km vom Zentrum entfernt) hat einen besonderen Charakter:
Ein bis zwei Kilometer fährt man am Hauptfriedhof entlang. So viele Grabmäler, so viele tote Menschen…
Die Ironie an dem Ganzen: Entlang des Friedhofes sind zwei Radargeräte für Autos, die zu schnell sind. Und anscheinend werden ziemlich viele Menschen mit erhöhter Geschwindigkeit erwischt.
Vielleicht ist ein Merkmal der moderne, dass alte Symbole vergessen werden. Tote können schließlich keine Tweets schreiben.