<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>Validcode ~ Blog - Home</title>
  <id>tag:validcode.net,2008:mephisto/</id>
  <generator version="0.8.0" uri="http://mephistoblog.com">Mephisto Drax</generator>
  <link href="http://validcode.net/feed/atom.xml" rel="self" type="application/atom+xml"/>
  <link href="http://validcode.net/" rel="alternate" type="text/html"/>
  <updated>2007-11-02T15:55:10Z</updated>
  <entry xml:base="http://validcode.net/">
    <author>
      <name>sebastian</name>
    </author>
    <id>tag:validcode.net,2007-11-02:120</id>
    <published>2007-11-02T15:42:00Z</published>
    <updated>2007-11-02T15:55:10Z</updated>
    <category term="getbundle"/>
    <category term="growl"/>
    <category term="textmate"/>
    <link href="http://validcode.net/2007/11/2/getbundle-has-now-growl" rel="alternate" type="text/html"/>
    <title>GetBundle has now Growl</title>
<content type="html">
            &lt;p&gt;The last few days i added real Growl-notifications, if it is installed.
If you don&#8217;t have &lt;a href=&quot;http://growl.info&quot;&gt;Growl&lt;/a&gt; installed get it, don&#8217;t worry, there are still notifications based on CocoaDialog.&lt;/p&gt;


	&lt;p&gt;It should update automatically if you have installed the auto-updater, if not you can run &#8220;Update Installed Bundles&#8221;.
or you can download it at &lt;a href=&quot;http://projects.validcode.net/getbundle&quot;&gt;projects.validcode.net/getbundle&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;Feedback is welcome!&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://validcode.net/">
    <author>
      <name>sebastian</name>
    </author>
    <id>tag:validcode.net,2007-10-28:119</id>
    <published>2007-10-28T17:37:00Z</published>
    <updated>2007-10-28T22:39:03Z</updated>
    <category term="10.5"/>
    <category term="features"/>
    <category term="leopard"/>
    <category term="mac"/>
    <category term="osx"/>
    <category term="spaces"/>
    <category term="stacks"/>
    <category term="webclip"/>
    <link href="http://validcode.net/2007/10/28/upgraded-to-leopard" rel="alternate" type="text/html"/>
    <title>Upgraded to Leopard</title>
<content type="html">
            &lt;p&gt;Yesterday i upgraded to Leopard the fifth Version of Mac &lt;span class=&quot;caps&quot;&gt;OS X&lt;/span&gt;, and its awesome.&lt;/p&gt;


	&lt;p&gt;The Feature that really disappoints me are Stacks. I expected more. Also it is not possible to just have Link to a Folder, everything will be Stack. The Icons are so big, when i open the Application Stack half of the screen is covered with icons and the stack doesn&#8217;t even display all Applications!
I think it would be a very nice feature to offer more options than just &#8220;Grid&#8221; and &#8220;Fan&#8221;. For example adjusting the icon size, maybe offer a third view that, has the grid view style but displays the content as a list, this would be nice for the apps stack.
But i have to say i some situations a stack is better, like the &#8220;Downloads&#8221; stack, because i click on it and and another click opens the last downloaded file.&lt;/p&gt;


	&lt;p&gt;Spaces is a really nice &#8220;new&#8221; Feature its simple and does what it should do. I also like the Feature of Safari and the Terminal, that lets you merge windows on different Spaces into one window in one Space. One thing that really makes it a bit annoying&#8230; If an app has to tell you something it automatically hops to the space of that app.&lt;/p&gt;


	&lt;p&gt;Another nice feature is Webclip, which lets you select a part of a website and display it as a widget. I love it. But this also has it&#8217;s limitations i also want to be able to re-adjust the hight and the width in the widget itself and be able to set an auto-refresh, because currently it only refreshes when you activate Dashboard.&lt;/p&gt;


	&lt;p&gt;But all in all it is worth upgrading.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://validcode.net/">
    <author>
      <name>sebastian</name>
    </author>
    <id>tag:validcode.net,2007-09-27:116</id>
    <published>2007-09-27T15:52:00Z</published>
    <updated>2007-09-27T17:02:55Z</updated>
    <category term="application"/>
    <category term="coreimage"/>
    <category term="graphics"/>
    <category term="mac"/>
    <category term="osx"/>
    <category term="pixelmator"/>
    <link href="http://validcode.net/2007/9/27/i-love-pixelmator" rel="alternate" type="text/html"/>
    <title>I love Pixelmator</title>
<content type="html">
            &lt;p&gt;&lt;img src=&quot;http://www.validcode.net/assets/2007/9/27/Pixelmator_logo.jpeg&quot; /&gt; On the 25th September the Pixelmator Team released PixelMator Firestarter, the initial release of Pixelmator, after watching the &lt;a href=&quot;http://www.screencastsonline.com/sco/files/SCO0117-pixelmator.html&quot;&gt;screencast&lt;/a&gt; and playing around with it, i totaly fell in love with it. It uses Core Image for it&#8217;s filters which means the stuff gets processed in the &lt;span class=&quot;caps&quot;&gt;GPU&lt;/span&gt;, not the &lt;span class=&quot;caps&quot;&gt;CPU&lt;/span&gt;. Which also means it&#8217;s insanely with fast. But there are a few things i&#8217;m missing. 
Shapes are important, i need them, i need them to work like in Fireworks, i hate the way Photoshop offers Shapes.
Also it would be nice if it handles &lt;span class=&quot;caps&quot;&gt;PSD&lt;/span&gt;-Files better, yes it can open them, but working on them is a bit risky.&lt;/p&gt;


	&lt;p&gt;I already bought a license and hope the guys at Pixelmator, will make it even better.
$59 is a very fair price for such a great application.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://validcode.net/">
    <author>
      <name>sebastian</name>
    </author>
    <id>tag:validcode.net,2007-09-23:115</id>
    <published>2007-09-23T15:26:00Z</published>
    <updated>2007-09-24T20:15:22Z</updated>
    <category term="icomedias"/>
    <category term="processing"/>
    <category term="valid"/>
    <category term="xalan"/>
    <category term="xslt"/>
    <category term="xsltproc"/>
    <link href="http://validcode.net/2007/9/23/how-to-do-things-right-ins-xslt" rel="alternate" type="text/html"/>
    <title>How to do things right in XSLT</title>
<content type="html">
            &lt;p&gt;The last few weeks we transfered our hosted sites to a new Server, that meant we also had to switch to the new XSLTProc, some (or a lot) of the &#8220;old&#8221; &lt;span class=&quot;caps&quot;&gt;XSLT&lt;/span&gt;-Files made problems, because they were build upon Bugs of the old XSLTProc.&lt;/p&gt;


	&lt;p&gt;I wrote a little script which gets the &lt;span class=&quot;caps&quot;&gt;XSLT&lt;/span&gt; and &lt;span class=&quot;caps&quot;&gt;XML&lt;/span&gt; from the old Server and processes it with my new local installed &lt;span class=&quot;caps&quot;&gt;XSLT&lt;/span&gt; processors.
I manly use Xalan to validate the &lt;span class=&quot;caps&quot;&gt;XSLT&lt;/span&gt;-files, because &lt;span class=&quot;caps&quot;&gt;XSLT&lt;/span&gt; is more tolerant then XSLTProc.&lt;/p&gt;


	&lt;p&gt;I wrote down the most common problems to inspect them and to prevent that i make the same crap. :)&lt;/p&gt;


	&lt;h3&gt;Defining the Doctype&lt;/h3&gt;


All the old &lt;span class=&quot;caps&quot;&gt;XSLT&lt;/span&gt;-Files defined the Doctype with &lt;code&gt;&amp;lt;xsl:text/&amp;gt;&lt;/code&gt; in the following way:
&lt;pre&gt;
&lt;code&gt;
&amp;lt;xsl:text disable-output-escaping=&quot;yes&quot;&amp;gt;
&amp;amp;lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; 
&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&amp;amp;gt;
&amp;lt;/xsl:text&amp;gt;
&lt;/code&gt;
&lt;/pre&gt;

	&lt;p&gt;The right way to define the Doctype in an &lt;span class=&quot;caps&quot;&gt;XSLT&lt;/span&gt;-File is to define it in the &lt;code&gt;&amp;lt;xsl:output/&amp;gt;&lt;/code&gt; and to define the &lt;span class=&quot;caps&quot;&gt;XML&lt;/span&gt;-Namespace in &lt;code&gt;&amp;lt;xsl:stylesheet&amp;gt;&lt;/code&gt;:&lt;/p&gt;


&lt;pre&gt;
&lt;code&gt;
&amp;lt;xsl:stylesheet version=&quot;1.0&quot; 
                xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; 
        xmlns:html=&quot;http://www.w3.org/1999/xhtml&quot; 
        xmlns=&quot;http://www.w3.org/1999/xhtml&quot; 
                exclude-result-prefixes=&quot;html&quot; 
&amp;gt;
....
&amp;lt;xsl:output method=&quot;xml&quot; 
        doctype-system=&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot; 
    doctype-public=&quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; 
    encoding=&quot;utf-8&quot; indent=&quot;yes&quot; 
    omit-xml-declaration=&quot;yes&quot; /&amp;gt;
&lt;/code&gt;
&lt;/pre&gt;

	&lt;p&gt;It was not possible to switch to the right way, in most cases.&lt;/p&gt;


	&lt;p&gt;XSLTProc acts different when the output method is set to &#8220;xml&#8221; and no Doctype is given in the xsl:output, it is not giving you valid &lt;span class=&quot;caps&quot;&gt;XHTML&lt;/span&gt;, it gives you valid &lt;span class=&quot;caps&quot;&gt;XML&lt;/span&gt;, which can lead to problems in the Browser and the &lt;span class=&quot;caps&quot;&gt;HTML&lt;/span&gt;-Validator.&lt;/p&gt;


	&lt;p&gt;I recommend to define the Doctype in the xsl:output!&lt;/p&gt;


	&lt;h3&gt;Definition of template parameters and variables&lt;/h3&gt;


	&lt;p&gt;Like in programming languages you can define variables, like in programming languages they are available in a specified area. 
If you define the variable as a child of xsl:stylesheet you can call them in the whole xsl:stylesheet, if you define it in a xsl:template you can just call it in that xsl:template.&lt;/p&gt;


	&lt;p&gt;Unlike programming languages you are not able to overwrite them.
In the old &lt;span class=&quot;caps&quot;&gt;XSLT&lt;/span&gt;-Files variables were defined twice or more times in one xsl:template, this is not valid.
Also parameters are kind of a variable, and can not be overwritten.&lt;/p&gt;


	&lt;p&gt;This was #1 on the list &#8220;Which Problems make me insane&#8221;, followed by:&lt;/p&gt;


	&lt;h3&gt;Unused xsl:templates&lt;/h3&gt;


	&lt;p&gt;Most of the variable overwrite tries were in those unused xsl:templates, and there were a lot of them.&lt;br /&gt;
Really try to avoid them. if you really don&#8217;t need them, remove them!&lt;/p&gt;


	&lt;p&gt;(I hope i find time to publish the script which helped me a lot by just grep for call-templates af a template, currently it is just useful for me)&lt;/p&gt;


	&lt;h3&gt;Wrong use of &lt;span class=&quot;caps&quot;&gt;CDATA&lt;/span&gt;&lt;/h3&gt;


	&lt;p&gt;Also a very common problem was that JavaScript code in a &lt;code&gt;&amp;lt;script&amp;gt;&lt;/code&gt;-Element were wrong escaped, the old XSLTProc didn&#8217;t touch the code in a &lt;span class=&quot;caps&quot;&gt;CDATA&lt;/span&gt; section, the new one does, and this is the valid way, because a &lt;span class=&quot;caps&quot;&gt;CDATA&lt;/span&gt; in &lt;span class=&quot;caps&quot;&gt;XSLT&lt;/span&gt; means don&#8217;t treat the following piece of code as &lt;span class=&quot;caps&quot;&gt;XSL&lt;/span&gt;, not don&#8217;t touch this.
So in the new XSLTProc &lt;code&gt;&amp;lt;&lt;/code&gt; were escaped to &lt;code&gt;&amp;amp;lt;&lt;/code&gt;&lt;/p&gt;


The way you should JS in &lt;span class=&quot;caps&quot;&gt;XSLT&lt;/span&gt; (if you really need to) is:
&lt;pre&gt;
&lt;code&gt;
&amp;lt;script language=&quot;JavaScript&quot; type=&quot;text/javascript&quot;&amp;gt;
&amp;lt;xsl:text disable-output-escaping=&quot;yes&quot;&amp;gt;
/* &amp;amp;lt;![CDATA[ */
&amp;lt;![CDATA[
function Bla(){
 alert('Hello World')
}
]]&amp;gt;
/* ]]&amp;amp;gt; */
&amp;lt;/xsl:text&amp;gt;
&amp;lt;/script&amp;gt;
&lt;/code&gt;
&lt;/pre&gt;
          </content>  </entry>
  <entry xml:base="http://validcode.net/">
    <author>
      <name>sebastian</name>
    </author>
    <id>tag:validcode.net,2007-08-26:111</id>
    <published>2007-08-26T22:05:00Z</published>
    <updated>2007-08-29T21:22:39Z</updated>
    <category term="gprs"/>
    <category term="mobile"/>
    <category term="phone"/>
    <category term="tracking"/>
    <link href="http://validcode.net/2007/8/26/they-know-where-you-are" rel="alternate" type="text/html"/>
    <title>They know where you are...</title>
<content type="html">
            &lt;p&gt;...and they know where you have been.&lt;/p&gt;


	&lt;p&gt;People using a mobile phone (should) know this. Mobile Service Providers know everything about your moves, when you have your mobile phone with you.&lt;/p&gt;


	&lt;p&gt;At the last festival i have been there was a trailer of a shop where they sold t-shirts and other stuff every time i walked by this trailer i got a file sent via bluetooth. Also the festival it self had a mobile guide which showed you your exact position and what&#8217;s around you. They were able to track everyone.
Mobile Service Providers (in Austria) are allowed to process this data, under a few conditions (see &lt;a href=&quot;http://www.internet4jurists.at/gesetze/bg_tkg01.htm&quot;&gt;&lt;span class=&quot;caps&quot;&gt;TKG 2003&lt;/span&gt;&lt;/a&gt; ).&lt;/p&gt;


	&lt;p&gt;I guess even if they don&#8217;t know your mobile phone number, they are able to track you mobile phone and can track every step you do.&lt;/p&gt;


	&lt;p&gt;In some cases it can also be helpful for you, imagine you have an accident in the mountains and you are alone and can&#8217;t exactly tell them where you are they just enter you phone number and within seconds they have you position. 
&lt;a href=&quot;http://technorati.com/claim/eec42vhse&quot;&gt;Technorati Profile&lt;/a&gt;&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://validcode.net/">
    <author>
      <name>sebastian</name>
    </author>
    <id>tag:validcode.net,2007-08-10:109</id>
    <published>2007-08-10T20:55:00Z</published>
    <updated>2007-08-29T21:11:53Z</updated>
    <category term="apple"/>
    <category term="fusion"/>
    <category term="mac"/>
    <category term="macports"/>
    <category term="osx"/>
    <category term="parallels"/>
    <category term="quicksilver"/>
    <category term="textmate"/>
    <category term="vmware"/>
    <category term="windows"/>
    <link href="http://validcode.net/2007/8/10/mac-the-best-web-development-platform" rel="alternate" type="text/html"/>
    <title>Mac, the best web development platform</title>
<content type="html">
            &lt;p&gt;&lt;img src=&quot;http://farm2.static.flickr.com/1278/1241510455_09547591a7.jpg?v=0&quot; alt=&quot;[Screenshot] Windows Xp and Vista&quot; /&gt;In my day job i work on a PC with Windows XP and it&#8217;s frustrating, not because it is Windows. 
It is the fact that there is no way to make your self comfortable on a Windows machine, because there is no good software for Windows to get a useful workspace.&lt;/p&gt;


	&lt;p&gt;The mac gives you useful stuff right after you installed it, because Mac &lt;span class=&quot;caps&quot;&gt;OS X&lt;/span&gt; is a &lt;span class=&quot;caps&quot;&gt;UNIX&lt;/span&gt; you get a whole bunch of useful command-line applications. By installing &lt;a href=&quot;http://macports.org&quot;&gt;MacPorts&lt;/a&gt; you are able to get nearly every application or library related to web-development.&lt;/p&gt;


	&lt;p&gt;To do the development of every kind i use &lt;a href=&quot;http://macromates.com&quot;&gt;TextMate&lt;/a&gt;, it is one of the best editors on this earth, it is simple, easy to extend and personalize. There is no feature you don&#8217;t need. There is a nice community around this editor, which contributes a lot to make this editor better and better.&lt;/p&gt;


	&lt;p&gt;To test your website or your web-application on browsers like Internet Explorer 6 or 7 there are to very good virtualization programs, &lt;a href=&quot;http://vmware.com/products/fusion/&quot;&gt;VMWare Fusion&lt;/a&gt; and &lt;a href=&quot;http://www.parallels.com/&quot;&gt;Parallels&lt;/a&gt;. Both are the best and both offer you the Unity Mode (or Parallels &#8220;Coherence Mode&#8221;), which allows you to display Windows-Windows integrated into you workspace. The windows are also display in Exposé and the window-switcher. For server-side develppment you can simulate the whole deployment process and test your application with the same configuration you have on you server. I have Debian on my server, and i also have virtual machine with the same configuration localy.&lt;/p&gt;


	&lt;p&gt;Beyond development there a lot of cool utilities, one of my favorites is &lt;a href=&quot;quicksilver.blacktree.com/&quot;&gt;Quicksilver&lt;/a&gt; it not only offers a quick way to launch applications, it also lets you quickly access your addressbook entries or skip the current track in itunes.&lt;/p&gt;


	&lt;p&gt;I don&#8217;t hate Windows, it&#8217;s just that i love mac.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://validcode.net/">
    <author>
      <name>sebastian</name>
    </author>
    <id>tag:validcode.net,2007-07-31:97</id>
    <published>2007-07-31T16:39:00Z</published>
    <updated>2007-08-29T21:20:31Z</updated>
    <category term="festival"/>
    <category term="nuke"/>
    <category term="salzburg"/>
    <category term="urbanartforms"/>
    <category term="wiesen"/>
    <link href="http://validcode.net/2007/7/31/festivals" rel="alternate" type="text/html"/>
    <title>Festivals</title>
<content type="html">
            &lt;p&gt;It&#8217;s summer this means in whole Europe there is nearly every day a festival somewhere.&lt;/p&gt;


	&lt;p&gt;This summer i already attended one the Nuke Festival in St. Pölten. The first band i saw after i arrived was &#8220;The Prodigy&#8221;, and they are great. The next day i saw more than one Band. 
Lambchop, played on the stage inside where no sunlight goes, &#8220;The Roots&#8221; played after Lambchop outside on the Main Stage where i stayed till the last Band the &#8220;Beastie Boys&#8221; went off the stage.&lt;/p&gt;


	&lt;p&gt;There are still two festivals i am going to attend, one of them is this weekend, the &#8220;Urban Art Forms&#8221; it is a pure electronic music and arts festival. It takes place in Wiesen with four stage. It is the third time i am going there.
Then two weeks later there is the &#8220;Frequency&#8221; Festival in Salzburg, where &#8220;Tool&#8221;, &lt;span class=&quot;caps&quot;&gt;NIN&lt;/span&gt;, and many other good Bands will play, there will also be an electronic stage the main act is Digitalism, a great french DJ-Combo.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://validcode.net/">
    <author>
      <name>sebastian</name>
    </author>
    <id>tag:validcode.net,2007-06-12:24</id>
    <published>2007-06-12T13:09:00Z</published>
    <updated>2007-08-29T21:11:09Z</updated>
    <category term="apple"/>
    <category term="bugs"/>
    <category term="crash"/>
    <category term="safari"/>
    <category term="webkit"/>
    <category term="windows"/>
    <category term="wwdc"/>
    <link href="http://validcode.net/2007/6/12/safari-on-windows-at-your-own-risk" rel="alternate" type="text/html"/>
    <title>Safari on Windows at your own risk</title>
<content type="html">
            &lt;p&gt;Yesterday Apple released a Beta of Safari for Windows, some user, including me, think it is more Alpha. 
&lt;a href=&quot;http://larholm.com/2007/06/12/safari-for-windows-0day-exploit-in-2-hours/&quot;&gt;Thor Larholm&lt;/a&gt; found a security lack after two hours. I found two bugs related to the rendering engine WebKit. Several other people experienced problems with Font rendering in the whole Application.&lt;/p&gt;


Excerpt from the License of Safari 3:
&lt;blockquote&gt;
&lt;span class=&quot;caps&quot;&gt;IMPORTANT NOTE&lt;/span&gt;: THIS IS “BETA”, &lt;span class=&quot;caps&quot;&gt;PRE&lt;/span&gt;-RELEASE, &lt;span class=&quot;caps&quot;&gt;TIME&lt;/span&gt;-LIMITED &lt;span class=&quot;caps&quot;&gt;SOFTWARE MEANT FOR EVALUATION AND DEVELOPMENT PURPOSES ONLY&lt;/span&gt;. THIS &lt;span class=&quot;caps&quot;&gt;SOFTWARE SHOULD NOT BE USED IN A COMMERCIAL OPERATING ENVIRONMENT OR WITH IMPORTANT DATA&lt;/span&gt;. BEFORE &lt;span class=&quot;caps&quot;&gt;INSTALLING THIS APPLE SOFTWARE&lt;/span&gt;, YOU &lt;span class=&quot;caps&quot;&gt;SHOULD BACK UP ALL OF YOUR DATA AND REGULARLY BACK UP DATA WHILE USING THIS APPLE SOFTWARE&lt;/span&gt;.
&lt;/blockquote&gt;

	&lt;p&gt;You should help Apple and the WebKit Team to fix as many Bugs as possible till the official release in October.&lt;/p&gt;


	&lt;p&gt;&lt;a href=&quot;http://apple.com/safari&quot;&gt;Download&lt;/a&gt; it, use it (but carefully), report Bugs to the &lt;a href=&quot;http://webkit.org/quality/reporting.html&quot;&gt;WebKit Team&lt;/a&gt;&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://validcode.net/">
    <author>
      <name>sebastian</name>
    </author>
    <id>tag:validcode.net,2007-06-11:22</id>
    <published>2007-06-11T21:33:00Z</published>
    <updated>2007-06-12T13:30:19Z</updated>
    <category term="37signals"/>
    <category term="apollo"/>
    <category term="apple"/>
    <category term="iphone"/>
    <category term="standards"/>
    <category term="web"/>
    <category term="wwdc"/>
    <link href="http://validcode.net/2007/6/11/developing-iphone-apps-use-web-standards" rel="alternate" type="text/html"/>
    <title>Developing iPhone apps? Use Web Standards!</title>
<content type="html">
            &lt;p&gt;Today Apple presented some amazing stuff of leopard, a Windows version of Safari and suggested to develop Apps for the iPhone with Web Standards.&lt;/p&gt;


	&lt;p&gt;Many people thought there will be a whole &lt;span class=&quot;caps&quot;&gt;SDK&lt;/span&gt; for the iPhone and an enviroment to run Apps natively, but there will never be something like this, instead Apple wants you to use Safari as an environment to develop your Apps for the iPhone.
I also think they will have some kind of gateway to access iPhone stuff like phone numbers.&lt;/p&gt;


	&lt;p&gt;Using Web Standards as a Environment for applications is the right direction to go! Adobe is doing it with Apollo. Microsoft is doing or will do it with Silverlight.&lt;/p&gt;


	&lt;p&gt;Nearly every platform understands Web Standards and can handle them.&lt;/p&gt;


	&lt;p&gt;Using them to build applications is also a huge benefit for developers.&lt;/p&gt;


	&lt;p&gt;For Example if 37signals wanted to build a simple To-Do list application for the iPhone they just have to take their &lt;span class=&quot;caps&quot;&gt;HTML&lt;/span&gt; Views add a Javascript to store the data localy on the iPhone (maybe using Google Gears) and thats it.
If someone of them wants the same app on one of his computers, using the Apollo Runtime, it will be no big deal.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://validcode.net/">
    <author>
      <name>sebastian</name>
    </author>
    <id>tag:validcode.net,2007-06-07:21</id>
    <published>2007-06-07T09:24:00Z</published>
    <updated>2007-06-12T13:30:48Z</updated>
    <category term="airport"/>
    <category term="apple"/>
    <category term="express"/>
    <category term="extreme"/>
    <category term="network"/>
    <category term="wds"/>
    <category term="wireless"/>
    <link href="http://validcode.net/2007/6/7/about-my-new-airport-express" rel="alternate" type="text/html"/>
    <title>About my new Airport Express</title>
<content type="html">
            &lt;p&gt;Yesterday i bought a shiny new Airport Express to connect my mac mini, witch has no Airport, to my Airport Extreme Base Station, because till yesterday there was a long cable, which went through the whole kitchen to the living room where the mini is.&lt;/p&gt;


	&lt;p&gt;It took me long to get it work and understand how the ethernet port from the Express acts. I read through the Apple Docs and found &lt;a href=&quot;http://docs.info.apple.com/article.html?artnum=108038#4&quot;&gt;this&lt;/a&gt;. This made me think it is possible to connect wired clients to the Airport Express other people said this is not working, but the &lt;a href=&quot;http://docs.info.apple.com/article.html?artnum=108038#2&quot;&gt;docs&lt;/a&gt; say it is.&lt;/p&gt;


	&lt;p&gt;The only thing i had to do is to build up a &lt;a href=&quot;http://en.wikipedia.org/wiki/Wireless_Distribution_System&quot;&gt;&lt;span class=&quot;caps&quot;&gt;WDS&lt;/span&gt;&lt;/a&gt;. First i didn&#8217;t really understand how it works. I thought the Base station is building a wireless network and the Express connects to it, but i didn&#8217;t think that the Base Station need another wireless device to build a network.&lt;/p&gt;


	&lt;p&gt;After hours of failures, i tried again the assistent and watched what happen and it worked, it was to easy.&lt;/p&gt;


	&lt;p&gt;Both Stations are set to &#8220;Participate in a &lt;span class=&quot;caps&quot;&gt;WDS&lt;/span&gt; Network&#8221;. The Airport extreme is set to be the &#8220;WDS main&#8221; and has the Express added as a &#8220;WDS Remote&#8221;. The Airport Express is set to be a &lt;span class=&quot;caps&quot;&gt;WDS&lt;/span&gt; Remote and bridges all wired connections to the Extreme Base station.&lt;/p&gt;


	&lt;p&gt;Now if i connect a hub to the Express i&#8217;m even able to connect a whole bunch of wired clients to the Airport Express.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://validcode.net/">
    <author>
      <name>sebastian</name>
    </author>
    <id>tag:validcode.net,2007-05-14:7</id>
    <published>2007-05-14T20:12:00Z</published>
    <updated>2007-06-12T13:31:30Z</updated>
    <category term="adobe"/>
    <category term="encoding"/>
    <category term="labs"/>
    <category term="umlaute"/>
    <category term="umlauts"/>
    <category term="utf-8"/>
    <link href="http://validcode.net/2007/5/14/hello-my-name-is-sebastian-grl" rel="alternate" type="text/html"/>
    <title>Hello my name is Sebastian Gr&#228;&#223;l</title>
<content type="html">
            &lt;p&gt;&lt;img src=&quot;/assets/2007/5/14/Picture_2.png&quot; alt=&quot;Adobe Labs [Screenshot]&quot; /&gt;Not Graessl, not GrÅÅl, not Gr伍陸l, just Gräßl.
Yes, my name includes Umlauts. Many Web Services and Applications can&#8217;t handle them right.
They replace it by characters you don&#8217;t even know they exist or force you to write your name wrong (without Umlauts).
This is a serious problem, because there are more people that have Umlauts and other unusual characters for your region in theire name.
I also experienced problems with Flash-based Applications. 
I saw sites playing nice with these characters on one page and destroying my name on the other, 
bacause they tell the browser the wrong encoding.
Some webservices don&#8217;t even let you signup, because they count it as an validation error.&lt;/p&gt;


	&lt;p&gt;There is &lt;span class=&quot;caps&quot;&gt;UTF&lt;/span&gt;-8 that can handle these characters very well, please use it!&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://validcode.net/">
    <author>
      <name>sebastian</name>
    </author>
    <id>tag:validcode.net,2007-05-10:6</id>
    <published>2007-05-10T20:18:00Z</published>
    <updated>2007-06-12T13:31:51Z</updated>
    <category term="delay"/>
    <category term="javascript"/>
    <category term="prototype"/>
    <category term="setTimeout"/>
    <link href="http://validcode.net/2007/5/10/timeout-for-settimeout" rel="alternate" type="text/html"/>
    <title>Timeout for setTimeout</title>
<content type="html">
            &lt;p&gt;&lt;a href=&quot;http://prototypejs.org&quot;&gt;Prototype&lt;/a&gt; provides a many alias functions like $() for document.getElementsById(), in the latest trunk you get an nice new way to execute functions delayed.&lt;/p&gt;


	&lt;p&gt;The old way was to use window.setTimeout(), now you can use yourFunction.delay().&lt;/p&gt;


	&lt;p&gt;Lets try something very simple. We want to simply tell the user after five seconds that he is five seconds on the site. Ok, this is actually a stupid example.&lt;/p&gt;


	&lt;p&gt;First we define a function that executes alert(). You think thats stupid to, but you&#8217;ll see why i define a new function later.&lt;/p&gt;


&lt;pre&gt;
&lt;code&gt;
function tellFiveSeonds() {

 alert('Your now five seconds on this page! Go away!');

}
&lt;/code&gt;
&lt;/pre&gt;

	&lt;p&gt;Then we execute this function with a delay of  five seconds with the following code:&lt;/p&gt;


&lt;pre&gt;
&lt;code&gt;

tellFiveSeconds.delay(5);

&lt;/code&gt;
&lt;/pre&gt;

	&lt;p&gt;But lets say we want to personalize this function and want to alert something like &#8220;Hey Bast! You are now five seconds on my page, please leave!&#8221;, then we will have to give the function an argument.&lt;/p&gt;


&lt;pre&gt;
&lt;code&gt;
function tellFiveSeonds(username) {

 alert('Hey ' + username + '! You are now five seconds on my page, please leave!');

}
&lt;/code&gt;
&lt;/pre&gt;

	&lt;p&gt;But how do we still execute it with a delay of five seconds?&lt;/p&gt;


	&lt;p&gt;Like that:&lt;/p&gt;


&lt;pre&gt;
&lt;code&gt;

tellFiveSeconds.delay(5, 'Bast');

&lt;/code&gt;
&lt;/pre&gt;

	&lt;p&gt;delay takes the first argument for its own and passes the others to the function you want to execute, like you would do with any other function.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://validcode.net/">
    <author>
      <name>sebastian</name>
    </author>
    <id>tag:validcode.net,2007-05-06:5</id>
    <published>2007-05-06T15:46:00Z</published>
    <updated>2007-06-12T13:50:28Z</updated>
    <category term="2007"/>
    <category term="blogging"/>
    <category term="e-texteditor"/>
    <category term="fowd"/>
    <category term="getbundle"/>
    <category term="london"/>
    <category term="textmate"/>
    <link href="http://validcode.net/2007/5/6/back-in-the-blogsphere" rel="alternate" type="text/html"/>
    <title>Back in the Blogsphere</title>
<content type="html">
            &lt;p&gt;It&#8217;s been a long time since i posted my last post, there is one reason for this, i had no time at all to blog, but i want to start forcing me to post at least one article a week.&lt;/p&gt;


	&lt;p&gt;Since September 2006 i work for a company called &lt;a href=&quot;http://icomedias.com&quot;&gt;icomedias&lt;/a&gt; in this time i learned a lot. The company is located in Graz, so i had to move to there into a flat with seven other really nice &lt;a href=&quot;http://www.flickr.com/photos/bastilian/sets/72157594505183559/&quot;&gt;friends&lt;/a&gt;.&lt;/p&gt;


	&lt;p&gt;At my work i have to work on windows. I searched very long to find the right editor and i found it. My favorite TextEditor on Windows is &lt;a href=&quot;http://e-texteditor.com&quot;&gt;e&lt;/a&gt; to show how much i like it i ported (or started porting) my &lt;a href=&quot;http://projects.validcode.net/getbundle&quot;&gt;GetBundle&lt;/a&gt; to e. Allan made some improvements to the TM-Version of the GetBundle and i&#8217;ll go on improving the e-version of it.&lt;/p&gt;


	&lt;p&gt;A few weeks ago i went on a trip to &lt;a href=&quot;http://www.flickr.com/photos/bastilian/sets/72157600100088476/&quot;&gt;London&lt;/a&gt;, to attend the &lt;a href=&quot;http://futureofwebdesign.com&quot;&gt;Future of Web Design&lt;/a&gt; conference. I love London. It is a great city and i hope i&#8217;ll get there again soon.&lt;/p&gt;


	&lt;p&gt;As you might have noticed i also had some time to do more photographs and i hope my motivation will hold on.&lt;/p&gt;
          </content>  </entry>
</feed>
