DasGenie: !Scrap
« Januar 2005 | Main | März 2005 »

Freitag, 18. Februar 2005

Brüller auf HaraldSchmidt.tv

Freude. Endlich gibt es eine Homepage zur neuen Schmidt Sendung.

Serven tuts ein Apache/2.0.46 (Red Hat) Server at www.haraldschmidt.tv Port 80

Leider immer noch PHP, und videos nur als WMV. Interessant ist das top-level verzeichnis /html/ parallel liegt /images/ interessanterweise gibts auch /archiv/. Also ein hübscher deutsch-englisch mix. Höhepunkt ist das deutsche javascript. Ich sage nur function sehen() {}. Wie sie sehen, sehen sie nix :-).

    <script language="JavaScript" type="text/javascript">
    <!--
    //bilder vorausladen
    var img1=new Image();
    img1.src="../../../images/bg_linie.gif";
    var img2=new Image();
    img2.src="../../../images/bg_linie_unten.gif";
    
    hmpunkte=new Array();   
    untermenues=new Array();
    /************************
    klasse fuer hauptmenuepunkt
    ************************/
    function hmpunkt(objekt) {
        this.aktiv=0;
        this.drueber=0;
        return this;
    }
    /************************
    klasse fuer untermenue-ebenen
    ************************/
    function unterebene(objekt) {
        this.offen=0;
        this.drueber=0;
        return this;
    }
    
    /*************************
    hauptmenuepunkte initiieren
    *************************/
    function init() {           
        hmpunkte["high"]=new hmpunkt("high");       
        hmpunkte["specials"]=new hmpunkt("specials");
        hmpunkte["service"]=new hmpunkt("service");
        hmpunkte["archiv"]=new hmpunkt("archiv");
        hmpunkte["home"]=new hmpunkt("home");
        hmpunkte["high2"]=new hmpunkt("high2");     
        hmpunkte["specials2"]=new hmpunkt("specials2");
        hmpunkte["service2"]=new hmpunkt("service2");
        hmpunkte["archiv2"]=new hmpunkt("archiv2");
        hmpunkte["home2"]=new hmpunkt("home2");
        
        untermenues["um_service"]= new unterebene("um_service");
        untermenues["um_archiv"]= new unterebene("um_archiv");
        untermenues["um_high"]= new unterebene("um_high");
    }
        
    function rollover(art,objekt,submenu) {         
        if (art==1) {
            hmpunkte[objekt].drueber=1;
            if (submenu==1) {
                hmpunkte[objekt].aktiv=1;
            }
            if (document.all) {             
                document.all[objekt+"_oben"].style.backgroundImage="url(../../../images/bg_linie.gif)";
                document.all[objekt+"_unten"].style.backgroundImage="url(../../../images/bg_linie_unten.gif)";
                document.all[objekt].style.backgroundColor="#a2b3e9";
            }
            else if (document.getElementById) {
                document.getElementById(objekt+"_oben").style.backgroundImage="url(../../../images/bg_linie.gif)";
                document.getElementById(objekt+"_unten").style.backgroundImage="url(../../../images/bg_linie_unten.gif)";
                document.getElementById(objekt).style.backgroundColor="#a2b3e9";
            }
        }
        else {
            hmpunkte[objekt].drueber=0;
            if (objekt!="home" && objekt!="home2") {
                if (hmpunkte[objekt].aktiv==0) {
                    if (document.all) {
                        //alert(objekt);
                        document.all[objekt+"_oben"].style.backgroundImage="url(../../../images/spacer.gif)";
                        document.all[objekt+"_unten"].style.backgroundImage="url(../../../images/spacer.gif)";
                        document.all[objekt].style.backgroundColor="#697592";
                    }
                    else if (document.getElementById) {
                        document.getElementById(objekt+"_oben").style.backgroundImage="url(../../../images/spacer.gif)";
                        document.getElementById(objekt+"_unten").style.backgroundImage="url(../../../images/spacer.gif)";
                        document.getElementById(objekt).style.backgroundColor="#697592";
                    }
                }
            }
        }
    }
    function untermenue(art,objekt) {
        if (art==1) {
            untermenues[objekt].drueber=1;
            if (document.all) {
                document.all[objekt].style.visibility="visible";
            }
            else if (document.getElementById) {
                document.getElementById(objekt).style.visibility="visible";
            }
            untermenues[objekt].offen=1;
        }
        else {  
            untermenues[objekt].drueber=0;      
            window.setTimeout("schliessen()",400);
        }
    }
    function schliessen () {
        for (var temp in untermenues) {
            if (untermenues[temp].drueber==0) {
                if (untermenues[temp].offen==1) {
                    if (document.all) {
                        document.all[temp].style.visibility="hidden";
                    }
                    else if (document.getElementById) {
                        document.getElementById(temp).style.visibility="hidden";
                    }
                    hm_zurueck();
                    untermenues[temp].offen=0;
                }
            }
        }
    }
    function hm_zurueck() {
        for (var temp in hmpunkte) {
            if (temp!="home" && temp!="home2") {
                if (hmpunkte[temp].drueber==0) {
                    if (document.all) {
                        document.all[temp+"_oben"].style.backgroundImage="url(../../../images/spacer.gif)";
                        document.all[temp+"_unten"].style.backgroundImage="url(../../../images/spacer.gif)";
                        document.all[temp].style.backgroundColor="#697592";
                    }
                    else if (document.getElementById) {
                        //alert(temp);
                        document.getElementById(temp+"_oben").style.backgroundImage="url(../../../images/spacer.gif)";
                        document.getElementById(temp+"_unten").style.backgroundImage="url(../../../images/spacer.gif)";
                        document.getElementById(temp).style.backgroundColor="#697592";
                    }
                    hmpunkte[temp].aktiv=0;
                }
            }
        }
    }
    init();
    //-->
    </script>
    <script language="JavaScript" type="text/javascript">
    <!--
    function sehen() {
        }
    
    //-->

    </script>


Im Freificken-Glossar dann noch unausgeführtes PHP, leider nix kritisches:
<?php
$to_root="../../../../"
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
    <link rel="STYLESHEET" type="text/css" href="../../../../styles/styles.css">
    <link rel="STYLESHEET" type="text/css" href="../../../../styles/styles_navi.css">
    <?php
    include($to_root."html/includes/javascript.php");
    ?>
In diesem sinne eine fröhliche und gute nacht.
Freitag, 18. Februar 2005, 02:06 | Permalink | Comments (2)

Mittwoch, 9. Februar 2005

iWork 05: Pages - dog slow

Today I finally got to see a retail copy of Pages. I did some tests, and it's a great disappointment. A even bigger disappointment is the quality of the Reviews out there on the net. No full scale review mentions the catastrophic speed of Pages. I tested it here on my Powerbook G4 800Mhz 1GB RAM as well as on the dual 2.5 GHz G5 2GB RAM, so both ends have been seen.
While the general workflow and concept is nice, the speed is unacceptable. The simplest way of seeing this is opening a new Pages document with the "Club Newsletter" template. Try to drag the round flag at the bottom around, then enter text in the middle section. You can literally see the letters form shape, one after one, on both the Powerbook and the top notch Dual G5. WTF? And this is a one page document...

Next test: importing a standard word document, a 30 page work of a friend of mine with TOC and footnotes. While cleaning up the styles, I wanted to change the TOC. After the tick for every style I got a nice 5-10 second beach ball... G5 was quicker, but not beach ball free. On a side-note: I didn't get the TOC to contain the correct automatic bullets which the headings had. And for developers: this little document accumulated 120 MB additional RPRVT memory... and even after closing all documents, Pages only came down to 100 MB total RPRVT which suggest some leaks as the initial RPRVT size is 8 MB...

If you thought Keynote is slower as it ought to be, Pages exceeds this to the maximum. So a great disappointment. But what really concerns me are the reviewers. I like Apple, I really do. But when a product has crappy qualities, you have to report it. Why didn't they at least mention that the speed wasn't optimal. At least an euphemism like this. But nothing. Does Apple love make reviewers blind? (MacTeens, pcmag, MacWorld). At least some user sites report Pages speed issues...

P.S.: Keynote 2 for 79$ is still much bang for your buck... so just ignore Pages ;-)

P.S.: comments work again now, sorry for the inconvenience
Mittwoch, 9. Februar 2005, 15:02 | Permalink | Comments (4)

Freitag, 4. Februar 2005

Über das File Sharing in Mac OS X...

Über das File Sharing in Mac OS X...:

"... mit Jaguar führte Apple eine neue Technologie namens Rendezvous ein, mit der sich auf simple und einfache Weise Dienste im lokalen Netzwerk ausfindig machen können. Warum hat Apple diese Möglichkeit nicht genutzt und auf Basis von Rendezvous ein neues File Sharing-Protokoll implementiert, welches einfach und verlässlich ist? Auch in Tiger sind keine Anzeichen vorhanden, dass Apple an diesem Missstand was ändern wird. Rendezvous konnte schon in vielen Programmen von Apple und von Drittherstellern zeigen, dass es sehr gut funktioniert. ..."

Als Dritthersteller möchte ich mich hier mal zu Wort melden. Rendezvous hat nichts aber auch gar nichts mit dem darunterliegenden Protokoll zu tun. Rendezvous macht es nur einheitlich und einfach möglich im lokalen netz Dienste zu entdecken. Das eigentlich Netzwerkprotkoll hängt dann mit der entsprechenden Anwendung zusammen. Rendezvous ist weder eine eierlegende Wollmilchsau noch der Heilige Gral jedwelcher Netzwerkprogrammierung. Es ist die entscheidende Technologie um Programme wie SubEthaEdit ohne jegliche Netzwerkkonfiguration zu ermöglichen.

(Via MacTechNews.de.)

Freitag, 4. Februar 2005, 18:17 | Permalink | Comments (0)