Dakons blog

Erstellt: 5. 1. 2013, 21:10

What have I done lately?

Tags:

The last time I wrote about KGpg is nearly a year back, so I thought I give it some attention again. What has happened meanwhile? Nothing too important, actually. I have fixed some bugs, introduced some new, fixed them also. I did some internal improvements, but nothing earthshaking. Last week I fixed signing keys, this was probably broken the whole SC 4.9 cycle but noone noticed. Finally I ported KGpg away from synchronuous calls to KPasswordDialog, which I started at least 3 times before but never finished. Since starting gpg-agent is currently not happening automatically on login anymore in my openSUSE installations I was forced to fix it once I saw it fail.

While I was distracted from KGpg work I meanwhile did some stuff that likely most of you are already using, probably without noticing. I started pushing a bunch of patches to CMake which finally led to me getting write access to the repository, which in turn led to me doing even more cleanups there. Now most Find*.cmake modules have version selection support, the automatic handling of distinct debug and release versions for one module has been improved (wanted especially by the (KDE-)Windows people), and the usual amount of bug fixes, breakages, and fixes for these breakages have happened.

In the last few weeks I was going even one level deeper, heavily patching KWSys. This is likely something you have not heard of, but you are still using it. This is a collection of tool classes from Kitware (the guys behind CMake and other stuff) that handles platform abstraction. My point of interest was the SystemInformation class, which gives you things like logical and physical processor count (that is Hyperthreading processor vs. core), memory size and stuff like that. It started with getting some more beautiful information about my HP PA-RISC boxes (I own a Apollo 705, a C3600, and a C8000), then fixing some ARM processor flag stuff, finally adding CPU feature gathering to Win64, Irix, the BSDs, HP-UX, and AIX where they were almost entirely lacking before. And then doing the same for memory size for some of this system. Currently under review are some final cleanups to make the code more readable.

That's it from my side for the moment, let's see what happens next ;)

Erstellt: 5. 1. 2013, 18:20

Die angekündigte Katastrophe muss leider ausfallen

Tags:

Wie jeder inzwischen mitbekommen haben dürfte haben sich die angekündigten Katastrophenszenarien nicht erfüllt. Und dabei meine ich nicht nur den "Jahrtausendwechsel" im Maya-Kalender. Der dabei befürchteten Weltuntergang ist zwar auch ausgefallen, aber die Ursache ist noch nicht ganz geklärt. Zur Wahl stehen neben Planungsfehlern auch noch Mängel beim Brandschutz, Lieferprobleme bei Siemens, eine plötzliche Verteuerung um 1,5 Milliarden Euro mit unklarer Kostenübernahme und ähnliches.

Im Schatten dieses Großereignisses ist eine andere angekündigte Katastrophe ausnahmsweise ausgefallen: der plötzliche, unerwartete, aber genau vorhersagbare Anstieg der Benzinpreise kurz vor den Feiertagen. Alle reden ständig von freier Marktwirtschaft, aber wenn Preisregulierung über Angebot und Nachfrage plötzlich mal funktionieren dann gibt es Proteste. (Wobei ich nicht abstreite das das geschickte Geldmacherei ist.) Die interessante Frage ist jetzt: war das Absicht oder Versehen? Wahrscheinlich wird man uns beim Anstieg zu Ostern dann erzählen das es ja alles nur Zufall ist, weil es Weihnachten 2012 keinen solchen Anstieg gegeben hat.

Erstellt: 17. 11. 2012, 16:01
Geändert: 17. 11. 2012, 16:02

Politikerkompetenz, die Fünfte

Tags:

Der heutige Bonus für überraschende Anwandlungen von Logik bei politischen Entscheidungen geht an: die Republikaner. Die US-Amerikanischen. Das ist fast so überraschend wie es bei den hiesigen gewesen wäre. Sie haben gemerkt das das Copyright-System kaputt ist.

Erstellt: 8. 9. 2012, 17:47
Geändert: 8. 9. 2012, 18:00

Warum eigentlich

Tags:

Gekifft haben muss wohl Frau Wulff, geb. Körner. Sie verklagt Google und andere wegen ihrer angeblichen Rotlichtvergangenheit. Ich empfehle ihr da zunächst mal die Lektüre passender Wikipedia-Artikel. Und ganz unabhängig von der Unfähigkeit ihrer PR-Berater sollte sie sich mal eines fragen: ist eine Rotlichtvergangenheit eine schwerwiegende Rufschädigung? Zumal das Gegenteil ja vermutlich zu beweise wäre. Ich jedenfalls würde mich viel mehr schämen wenn ich mir vorwerfen lassen müsste Christian Wulff geheiratet zu haben. Oder auch nur in mein Bett gelassen. (Die Autovervollständigung schlug mir da gerade Bettina vor, wie passend). Außer vielleicht man wäre jung und brauchte das Geld. Womit wir wieder am Anfang wären.

Erstellt: 31. 7. 2012, 21:58
Geändert: 3. 8. 2012, 22:11

Choose your browser ... bugs

Tags:

Test page rendering in different browsers I was playing around with some content tags in CSS. Looks like I have been wrong recently when I said that Firefox still doesn't support it at all. In fact it looks like it is the only browser that does it all right.

So I created a test page and loaded it in 4 browsers. You see on the picture on top left Konqueror from KDE SC 4.8.4, Chromium 21.0.1145.0 (svn138062) to the right, bottom left Opera 11.64 (build 1403), and finally Firefox 12.0. Just in case anybody complains: I upgraded to Chromium 22.0.1190.0 (144885), Opera 12.00 (build 1467), and Firefox 14.0.1, but the rendering is still exactly the same. Benjamin Dietrich send me a screenshot showing that Safari 6.0 (8536.25) behaves exactly like Chromium. Patrick Spendrin sent in screenshots showing that Internet Explorer 8 and 9 behave the same as Firefox.

So, what's up there? If you download the file and comment out the display:none for h1 you will see explanations what happens in the different versions of the test. I will just talk about the bugs here.

Konqueror
The width calculation is slightly wrong when the content is set to "", which is done right when it is set to none (the first 2 boxes). This leads to a spurious linebreak. (Bug K1 (#304357))
When there is no content at all there is also the spurious linebreak. (Bug K2, example #4).
When there is no content at all the first elemtent shows a content that I have no idea where it comes from, possibly from invalid memory read? (Bug K3, example #4)
When there are 2 consecutive elements of the same classes that differ in their text Konqueror will completely ignore the text content of the second one and use the one of the previous (Bug K4, example #5 and last element of example #6)
CSS 2.1 spec says content applies to :before and :after pseudo elements. Konqueror nevertheless applies it to the main element also if it is specified there. Which is fine as it is allowed in CSS3 (K5 (#304355), example #1 and #2).
Chromium
if the elements have no contents element 2 is drawn on top of element 1, while the width of the ul that I use to hold the elements is big enough to hold both (bug C1, example #4).
Only supports CSS2.1 (examples #1 and #2)
Opera
shares bug K4. I assume this is also the reason why example #4 is rendered wrong here, the "T" text that should be there is just dropped because the previous example didn't have it, but the rest is rendered correctly. (Reported by Martin Riethmayer as Opera bug DSK-371115)
shares bug K5Also supports CSS3.
Firefox
Pass.
Only supports CSS2.1 (examples #1 and #2)

What's missing? I have not seen what Internet Explorer and Safari do. I assume Safari will be more or less the same as Chromium. And I have not reported all of these bugs yet. I'll do myself for the Konqueror bugs eventually, but will not do for any of the other browsers. If you would like to report any of these bugs anywhere please drop me a note so I can add links to the bug reports.

Edit: K5 was actually E1: Opera and Konqueror support CSS3 generated content where this is allowed.

Edit2: Added findings by other people and reference to Opera bug report.

Erstellt: 22. 7. 2012, 00:05

Sometimes there is progress ...

Tags:

Previous look of bugs.kde.org in KHTML ... but nobody notices. I've been subscribed to kde-core-devel for a while but KHTML development seemed pretty dead. Or have you heard of cool new things in Konqueror for a while? Also the KDE changelogs did not show anything of interest, besides some small corner case and crash fixes every now and then. I'm one of those people that still have Konqueror/KHTML as their default browser. I guess most people meanwhile have switched to something else, either the engine to Webkit or to a different default browser. One day our KDE bugzilla got an upgrade, a new style, and it looked even worse than before (see the footer in the image). I can understand if people have problems with Konqueror, there are way to many things that don't work, e.g. pages heavily using JavaScript (Twitter anyone?). I for my part don't like the Webkit part because it lacks some things like edit autocomplete because of missing interfaces in Webkit. Firefox drives me insane because of the missing clear buttons in edits. And it still does not support "content" in CSS as I found out yesterday. Unbelievable.

Some month back something unexpected happen: I saw a flow of patches for KJS flow in. And from what I see Bernd Buschinski does an awesome job implementing some stuff that has been missing for a while. He is not the only one working on KHTML/KJS these days, but the one who is mostly visible on kde-core-devel through his review requests and the one who made me look at this stuff. In fact I made an offline JS compliance test through CMake possible as the online test wasn't easily configurable to run only specific tests (or omit some that were not working at all). And I even fixed one or small absolutely minor compliance issues.

So even if you did not hear much about Konqueror for a while, there has been some progress. Here are some things I remember from the not too distant past that made my daily web experience better (or will do so as some of the patches are not yet in a released version). Too bad they have not been in the official changelogs, but better those guys keep fixing stuff and forget to write it down than stop fixing it ;)

Erstellt: 5. 4. 2012, 17:36

Ich war's nicht

Tags:

Ich war's nicht.

Erstellt: 30. 3. 2012, 23:21

Ich wars

Tags:

Ich geb's ja zu. Leugnen ist ohnehin zwecklos.

Erstellt: 6. 2. 2012, 21:52

I Assure You We're Rocking

Tags:

Do you remember Konqueror kicking ass again? Well, toda^Wyester^Wlast wee^W^Wnearly two weeks ago I got a mail by Julian Reschke, the guy behind all this HTTP conformance checks. He mailed me a link to one of his post at Google+. This time we are rocking right from the start. Still some space for improvement, and I have already seen some additional bugs in that header parsing. Looks like I need to find some time to hack on this again.

If anyone wants to gather some good karma then showing up and writing some unit tests for those low level protocol stuff in any kioslave is surely appreciated. Bonus points if you know which film the title refers to.

Erstellt: 29. 1. 2012, 23:54
Geändert: 30. 1. 2012, 11:43

Other M sucks

Tags:

Ich behaupte jetzt einfach mal das etwa 20 Jahre Erfahrung mit Nintendo-Videospielen und bisher 5 erfolgreich durchgespielte Metroid-Spiele mir eine gewisse Autorität bei der Beurteilung verleihen. Ich habe u.a. Prime im Hypermodus durch, bei Echoes fehlt mir an der Stelle nur noch der Imperator. Das ich jetzt bei Other M beim allerersten Endgegner gleich 2 Mal draufgehe weil ich mit der Steuerung nicht klarkomme ist irgenwie ein einziges WTF!? Was um alles in der Welt ist das denn für ein Mist? Das Spiel hat sich ohnehin etwas seltsam angefühlt als ich es gespielt habe, aber im Moment bin ich einfach nur entsetzt. Wenn Link nicht spurt rege ich mich total auf und würde ihm am liebsten persönlich noch die Wiimote in der Hals stopfen, aber dieses Erlebnis gerade hat mich einfach nur kopfschüttelnd und fassungslos vor dem Fernseher zurückgelassen.

Anbieterkennzeichnung