<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
	<channel>
		<title>gdp's Comments</title>
		<language>en-us</language>
		<link>https://www.intensedebate.com/users/127</link>
		<description>Comments by david koblas</description>
<item>
<title>Skis / Toys / Fun : Does it all devolve?</title>
<link>http://www.skitoy.com/p/does-it-all-devolve/330#IDComment105434075</link>
<description>Not sure how it helps, still allows for people to construct monolithic code.  Most of the add on services for AWS are things people tack on anyway [Database, Email, Static File Serving].  Not the idea of components, plugins and small lightweight pieces. </description>
<pubDate>Fri, 22 Oct 2010 14:32:49 +0000</pubDate>
<guid>http://www.skitoy.com/p/does-it-all-devolve/330#IDComment105434075</guid>
</item><item>
<title>Skis / Toys / Fun : Zend Framework vs. Django Performance</title>
<link>http://www.skitoy.com/p/zend-framework-vs-django-performance/230#IDComment105378792</link>
<description>Trivia - moved from lighttpd to tornado for an app and dropped the latency by 40ms. </description>
<pubDate>Fri, 22 Oct 2010 06:08:08 +0000</pubDate>
<guid>http://www.skitoy.com/p/zend-framework-vs-django-performance/230#IDComment105378792</guid>
</item><item>
<title>Skis / Toys / Fun : Python wierdness</title>
<link>http://www.skitoy.com/p/python-wierdness/301#IDComment96095274</link>
<description>Oh!  That&amp;#039;s a perspective I hadn&amp;#039;t thought of ... class initializer values.  Rather than class scoped variables. </description>
<pubDate>Tue, 31 Aug 2010 03:55:46 +0000</pubDate>
<guid>http://www.skitoy.com/p/python-wierdness/301#IDComment96095274</guid>
</item><item>
<title>Skis / Toys / Fun : Web 2.0 development - C++ vs. Java vs. PHP vs. Python</title>
<link>http://www.skitoy.com/p/web-20-development-c-vs-java-vs-php-vs-python/141#IDComment32903334</link>
<description>If you&amp;#039;re new to programming the pain in learning two languages is huge, not only that but the level of detail that&amp;#039;s needed for C++ will be quite frustrating.   You should have no problem building just about anything in PHP for the web. </description>
<pubDate>Wed, 2 Sep 2009 15:28:06 +0000</pubDate>
<guid>http://www.skitoy.com/p/web-20-development-c-vs-java-vs-php-vs-python/141#IDComment32903334</guid>
</item><item>
<title>Skis / Toys / Fun : Facebook vs. Google</title>
<link>http://www.skitoy.com/p/facebook-vs-google/253#IDComment23688370</link>
<description>Wave feels more like Threaded Groups meets IM.  Since based on the demos once you start a discussion you can only refine the discussion or forward it to others -- create new sub conversations.  It has some cool/wow factor, but at the end of the day it&amp;#039;s just another tool.  FB by having distinct &amp;quot;entities&amp;quot; for friendable entities vs. fanable entities makes the service feel a little bit more disjoint.   I&amp;#039;m a fan of &amp;quot;Ashton Kutcher&amp;quot; (not) but I might also be one of his friends, why do I need to treat the two entities as distinct.    You do make a good point about having different circles of friends on different services, FB has minimal ways to manage your groups of friends.  If it was more first class it would probably make things more interesting.  That way you can assign a Friend Group to a 3rd party service and that&amp;#039;s the circle of friends that would be seen/visiable/accessible on that service.   </description>
<pubDate>Tue, 9 Jun 2009 03:02:42 +0000</pubDate>
<guid>http://www.skitoy.com/p/facebook-vs-google/253#IDComment23688370</guid>
</item><item>
<title>Skis / Toys / Fun : Content agregation vs. Human Editors</title>
<link>http://www.skitoy.com/p/content-agregation-vs-human-editors/251#IDComment23163937</link>
<description>That&amp;#039;s part of the idea, but I think part of it is making is a &amp;quot;first tier&amp;quot; experience.  Netvibes has a similar feature.  But, fundamentally I think there should an &amp;quot;editors&amp;quot; blog portal similar to bloglines.com or wordpress.com where you can build a cross blog content aggregation. </description>
<pubDate>Wed, 3 Jun 2009 03:17:33 +0000</pubDate>
<guid>http://www.skitoy.com/p/content-agregation-vs-human-editors/251#IDComment23163937</guid>
</item><item>
<title>Skis / Toys / Fun : Array Intersection Bake-off</title>
<link>http://www.skitoy.com/p/array-intersection-bake-off/236#IDComment21822449</link>
<description>Preallocation is a good trick...  Brought the runtime down to 2.092 seconds! </description>
<pubDate>Tue, 19 May 2009 15:49:19 +0000</pubDate>
<guid>http://www.skitoy.com/p/array-intersection-bake-off/236#IDComment21822449</guid>
</item><item>
<title>Skis / Toys / Fun : Array Intersection Bake-off</title>
<link>http://www.skitoy.com/p/array-intersection-bake-off/236#IDComment21764725</link>
<description>Cool, thanks.  Performance comparison:  Perl #1 - 3.227 Perl #2 - 3.702 Perl #3 - 3.091  So, it appears that somebody might want to optimize Array::Util a bit more...  In playing with this, since it didn&amp;#039;t make sense why Array::Util should be slower found the following &amp;quot;faster&amp;quot; version.  Which shows that the &amp;quot;map&amp;quot; call is slow compared to array iteration -- that&amp;#039;s not good.  sub isect(@@) {     my %h;      for my $i (@{$_[0]}) {         $h{$i} = 1;     }      return grep { $h{$_} } @{$_[1]}; }    </description>
<pubDate>Mon, 18 May 2009 15:45:35 +0000</pubDate>
<guid>http://www.skitoy.com/p/array-intersection-bake-off/236#IDComment21764725</guid>
</item><item>
<title>Skis / Toys / Fun : Array Intersection Bake-off</title>
<link>http://www.skitoy.com/p/array-intersection-bake-off/236#IDComment21560028</link>
<description>Java Version #3 -- turns out like PHP #3 doesn&amp;#039;t perform very well and sets a new record... 3992.045 seconds (or 66 minutes, 15 seconds).  From the apache commons project...  Here&amp;#039;s the implementation of intersection, which is great, since you don&amp;#039;t have debug your own version... But, probably not going to bring a performance benefit.  Collection intersection(final Collection a, final Collection b) {     ArrayList list = new ArrayList();     Map mapa = getCardinalityMap(a);     Map mapb = getCardinalityMap(b);     Set elts = new HashSet(a);     elts.addAll(b);     Iterator it = elts.iterator();     while(it.hasNext()) {         Object obj = it.next();         for(int i=0,m=Math.min(getFreq(obj,mapa),getFreq(obj,mapb));i&amp;lt;m;i++) {             list.add(obj);         }     }     return list; }   </description>
<pubDate>Fri, 15 May 2009 21:23:27 +0000</pubDate>
<guid>http://www.skitoy.com/p/array-intersection-bake-off/236#IDComment21560028</guid>
</item><item>
<title>Skis / Toys / Fun : Array Intersection Bake-off</title>
<link>http://www.skitoy.com/p/array-intersection-bake-off/236#IDComment21534040</link>
<description>Here&amp;#039;s a full version of the PHP module...  &amp;lt;?php  $x = array(); $y = array();  foreach (file(&amp;quot;data.txt&amp;quot;) as $line) {     list($a, $b) = preg_split(&amp;quot;/\\s+/&amp;quot;, $line);     if ($b !== null) {         array_push($x, $a);         array_push($y, $b);     } }  $t0 = microtime(true); $xy = isect($x, $y); $t1 = microtime(true);  printf(&amp;quot;Set   | n = %d : %d intersects found in %f seconds\\n&amp;quot;, count($x), count($xy), $t1 - $t0);  function isect($a, $b) {     return array_intersect($a, $b); }  Here&amp;#039;s the trivial program that creates data.txt  #!/usr/bin/python  import random  LINES = 1000000 MAX   = LINES * 5  print LINES  for i in range(0, LINES) :     print &amp;quot;%s %s&amp;quot; % (random.randint(0, MAX), random.randint(0, MAX)) </description>
<pubDate>Fri, 15 May 2009 18:28:04 +0000</pubDate>
<guid>http://www.skitoy.com/p/array-intersection-bake-off/236#IDComment21534040</guid>
</item><item>
<title>Skis / Toys / Fun : Array Intersection Bake-off</title>
<link>http://www.skitoy.com/p/array-intersection-bake-off/236#IDComment21528572</link>
<description>You made me think about another case in python --  def isect(a, b) :   h = set(a)   return [i for i in b if i in h]  Which runs in 1.040 seconds -- 30% off the java times.  Though of course we&amp;#039;re now in the land of python mimicking perl in terms of obfuscation. </description>
<pubDate>Fri, 15 May 2009 17:50:53 +0000</pubDate>
<guid>http://www.skitoy.com/p/array-intersection-bake-off/236#IDComment21528572</guid>
</item><item>
<title>Skis / Toys / Fun : Array Intersection Bake-off</title>
<link>http://www.skitoy.com/p/array-intersection-bake-off/236#IDComment21528086</link>
<description>Wow,   Here&amp;#039;s your PHP rundown, with the addition of #2, #3  V1 = 3.850 V2 = 2.000 V3 = 10.064  Which is interesting to note that array_intersect() is clearly doing something less than good... </description>
<pubDate>Fri, 15 May 2009 17:43:48 +0000</pubDate>
<guid>http://www.skitoy.com/p/array-intersection-bake-off/236#IDComment21528086</guid>
</item><item>
<title>Skis / Toys / Fun : iPhone Objective-C bug?</title>
<link>http://www.skitoy.com/p/iphone-objective-c-bug/225#IDComment19037727</link>
<description>I didn&amp;#039;t think I was, isn&amp;#039;t &amp;quot;Quiz*&amp;quot; the same as self?  @interface Quiz : NSObject { }  -(Quiz*)initFromDict: (NSDictionary *)dict;  @end  </description>
<pubDate>Thu, 16 Apr 2009 22:32:09 +0000</pubDate>
<guid>http://www.skitoy.com/p/iphone-objective-c-bug/225#IDComment19037727</guid>
</item><item>
<title>Skis / Toys / Fun : Problem with Tomcat + WAR + ClassPath (help please)?</title>
<link>http://www.skitoy.com/p/problem-with-tomcat-war-classpath-help-please/214#IDComment13760270</link>
<description>I could put it there, but was really hoping to leave it in the &amp;quot;public&amp;quot; installed location.  I&amp;#039;ve also got a version that copies it to the XXX.war/WEB-INF/lib directory.  But, again I&amp;#039;ve got two copies... </description>
<pubDate>Fri, 9 Jan 2009 21:54:04 +0000</pubDate>
<guid>http://www.skitoy.com/p/problem-with-tomcat-war-classpath-help-please/214#IDComment13760270</guid>
</item><item>
<title>Skis / Toys / Fun : Web 2.0 development - C++ vs. Java vs. PHP vs. Python</title>
<link>http://www.skitoy.com/p/web-20-development-c-vs-java-vs-php-vs-python/141#IDComment8734963</link>
<description>I think I was hinting that XML processing in PHP is easy... the SimpleXML additions to PHP 5 are a breeze to use (similar to the lxml library for Python).  Those languages at least deal with a lot of the memory management issues, etc. </description>
<pubDate>Thu, 16 Oct 2008 20:18:05 +0000</pubDate>
<guid>http://www.skitoy.com/p/web-20-development-c-vs-java-vs-php-vs-python/141#IDComment8734963</guid>
</item><item>
<title>Skis / Toys / Fun : Alternative to OpenID </title>
<link>http://www.skitoy.com/p/alternative-to-openid/189#IDComment8659693</link>
<description>Simple proposal:   * Input Email address   * lookup hostname in DNS for &amp;quot;v=eaut1 url=&lt;a href=&quot;http://auth.example.com/?u={user}&amp;amp;d={domain}&amp;quot; &quot; target=&quot;_blank&quot;&gt;http://auth.example.com/?u={user}&amp;amp;d={domain}&amp;...&lt;/a&gt;[making up some formatting string] -- similar to SPF &lt;a href=&quot;http://www.openspf.org/SPF_Record_Syntax &quot; target=&quot;_blank&quot;&gt;http://www.openspf.org/SPF_Record_Syntax &lt;/a&gt;  * Use that URL to to then do an OpenID transaction to   * Now you have a fully authenticated user, using DNS &amp;amp; Email </description>
<pubDate>Wed, 15 Oct 2008 16:57:39 +0000</pubDate>
<guid>http://www.skitoy.com/p/alternative-to-openid/189#IDComment8659693</guid>
</item><item>
<title>Skis / Toys / Fun : Alternative to OpenID </title>
<link>http://www.skitoy.com/p/alternative-to-openid/189#IDComment8652403</link>
<description>That does look interesting and nice to see I&amp;#039;m not the only one thinking this way.  Though fundamentally, it should be built into the resolution layer (aka DNS).  Not through a 3rd party service like EAUT. </description>
<pubDate>Wed, 15 Oct 2008 13:44:01 +0000</pubDate>
<guid>http://www.skitoy.com/p/alternative-to-openid/189#IDComment8652403</guid>
</item><item>
<title>Skis / Toys / Fun : Python Documentation -- Fail!</title>
<link>http://www.skitoy.com/p/python-documentation-fail/185#IDComment5724123</link>
<description>Nice to see it&amp;#039;s documented...    But, which is the source of truth?  You&amp;#039;ve now illustrated that they&amp;#039;re different... There are advantages to javadoc systems.  Where the documentation (online/offline/codeline) are all integrated... </description>
<pubDate>Fri, 5 Sep 2008 16:29:49 +0000</pubDate>
<guid>http://www.skitoy.com/p/python-documentation-fail/185#IDComment5724123</guid>
</item><item>
<title>Skis / Toys / Fun : Python vs. Ruby Performance</title>
<link>http://www.skitoy.com/p/python-vs-ruby-performance/172#IDComment3525483</link>
<description>Not that I track it...  But, as I understand Python 2.6 is the end of the road for 2.X and the launching point for Python 3K migrations.  Since the performance is consumed by the random package, it illustrates the problem in benchmarks more than languages. </description>
<pubDate>Tue, 29 Jul 2008 21:42:29 +0000</pubDate>
<guid>http://www.skitoy.com/p/python-vs-ruby-performance/172#IDComment3525483</guid>
</item><item>
<title>Skis / Toys / Fun : Performance of Python, PHP and Perl</title>
<link>http://www.skitoy.com/p/performance-of-python-php-and-perl/160#IDComment1890061</link>
<description>I am aware of the &amp;quot;intention&amp;quot; of the language, but there are times that succinctness is useful.  The biggest issue is that if the code ended up being something akin to this bit of perl.. (assuming that you need to extract the match group in each case) &lt;br /&gt; &lt;br /&gt;   if (/regex_one/) { &lt;br /&gt;   } elsif (/regex_two/) {  &lt;br /&gt;   } elsif (/regex_three/) {  &lt;br /&gt;   } elsif (/regex_four/) {  &lt;br /&gt;   } elsif (/regex_five/) {  &lt;br /&gt;   } elsif (/regex_six/) {  &lt;br /&gt;   } else { &lt;br /&gt;   } &lt;br /&gt; &lt;br /&gt;That the Python code would have indented half way across the screen, while the PHP or Perl code would have kept things a bit neater. </description>
<pubDate>Wed, 11 Jun 2008 14:58:33 +0000</pubDate>
<guid>http://www.skitoy.com/p/performance-of-python-php-and-perl/160#IDComment1890061</guid>
</item>	</channel>
</rss>