<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dw="https://www.dreamwidth.org">
  <id>tag:dreamwidth.org,2009-04-21:107589</id>
  <title>Tang's DW</title>
  <subtitle>tangaroa</subtitle>
  <author>
    <name>tangaroa</name>
  </author>
  <link rel="alternate" type="text/html" href="https://tangaroa.dreamwidth.org/"/>
  <link rel="self" type="text/xml" href="https://tangaroa.dreamwidth.org/data/atom"/>
  <updated>2014-03-22T05:44:06Z</updated>
  <dw:journal username="tangaroa" type="personal"/>
  <entry>
    <id>tag:dreamwidth.org,2009-04-21:107589:68866</id>
    <link rel="alternate" type="text/html" href="https://tangaroa.dreamwidth.org/68866.html"/>
    <link rel="self" type="text/xml" href="https://tangaroa.dreamwidth.org/data/atom/?itemid=68866"/>
    <title>Hack</title>
    <published>2014-03-22T05:44:06Z</published>
    <updated>2014-03-22T05:44:06Z</updated>
    <category term="hack"/>
    <category term="facebook"/>
    <category term="php"/>
    <category term="programming"/>
    <category term="computers"/>
    <category term="hhvm"/>
    <dw:security>public</dw:security>
    <dw:reply-count>0</dw:reply-count>
    <content type="html">&lt;a href="http://docs.hhvm.com/manual/en/hacklangref.php"&gt;The Hack language adds several missing features to PHP&lt;/a&gt;, most notably static typing. It was developed by Facebook for their HipHop VM. Via &lt;a href="http://soylentnews.org/article.pl?sid=14/03/21/1847254"&gt;soy&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=tangaroa&amp;ditemid=68866" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
  <entry>
    <id>tag:dreamwidth.org,2009-04-21:107589:28898</id>
    <link rel="alternate" type="text/html" href="https://tangaroa.dreamwidth.org/28898.html"/>
    <link rel="self" type="text/xml" href="https://tangaroa.dreamwidth.org/data/atom/?itemid=28898"/>
    <title>XHP: Making mixed PHP+HTML cleaner</title>
    <published>2013-03-15T17:21:55Z</published>
    <updated>2013-03-15T17:21:55Z</updated>
    <category term="programming"/>
    <category term="computers"/>
    <category term="xhp"/>
    <category term="webdev"/>
    <category term="php"/>
    <dw:security>public</dw:security>
    <dw:reply-count>0</dw:reply-count>
    <content type="html">&lt;a href="https://www.facebook.com/notes/facebook-engineering/xhp-a-new-way-to-write-php/294003943919"&gt;This has been out for three years and I hadn't heard of it before?&lt;/a&gt; It looks really useful. An interesting point is the reversal of flow control: Instead of a PHP page being an HTML template that breaks into and out of PHP, XHP promotes the design style of a PHP file that breaks into and out of HTML. 

&lt;hr /&gt;

Another unrelated awesome project from three years ago: &lt;a href="http://lbw.sourceforge.net/"&gt;The &lt;abbr title="Linux Binaries for Windows"&gt;LBW&lt;/abbr&gt; project&lt;/a&gt; is Wine for Windows, allowing ELFs to be run under Windows XP. Immediately impressive is that "it's adequate for ... downloading and installing packages with apt and dpkg" since I could never get apt and dpkg to compile under mingw or cygwin.&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=tangaroa&amp;ditemid=28898" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
  <entry>
    <id>tag:dreamwidth.org,2009-04-21:107589:20033</id>
    <link rel="alternate" type="text/html" href="https://tangaroa.dreamwidth.org/20033.html"/>
    <link rel="self" type="text/xml" href="https://tangaroa.dreamwidth.org/data/atom/?itemid=20033"/>
    <title>References to static methods in PHP</title>
    <published>2012-09-14T13:28:06Z</published>
    <updated>2012-09-14T17:20:17Z</updated>
    <category term="php"/>
    <category term="programming"/>
    <category term="computers"/>
    <dw:security>public</dw:security>
    <dw:reply-count>0</dw:reply-count>
    <content type="html">&lt;p&gt;Another reason PHP sucks: references to static methods are not supported. There is a hacky  way to use them, however.

&lt;span class="cut-wrapper"&gt;&lt;span style="display: none;" id="span-cuttag___1" class="cuttag"&gt;&lt;/span&gt;&lt;b class="cut-open"&gt;(&amp;nbsp;&lt;/b&gt;&lt;b class="cut-text"&gt;&lt;a href="https://tangaroa.dreamwidth.org/20033.html#cutid1"&gt;Read more...&lt;/a&gt;&lt;/b&gt;&lt;b class="cut-close"&gt;&amp;nbsp;)&lt;/b&gt;&lt;/span&gt;&lt;div style="display: none;" id="div-cuttag___1" aria-live="assertive"&gt;&lt;/div&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=tangaroa&amp;ditemid=20033" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
</feed>
