<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description></description><title>Paulitex ][</title><generator>Tumblr (3.0; @paulitex)</generator><link>http://www.paulitex.com/</link><item><title>I’ve been referencing this video for a month and finally...</title><description>&lt;iframe width="400" height="299" src="http://www.youtube.com/embed/BI23U7U2aUY?wmode=transparent&amp;autohide=1&amp;egm=0&amp;hd=1&amp;iv_load_policy=3&amp;modestbranding=1&amp;rel=0&amp;showinfo=0&amp;showsearch=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;I’ve been referencing this video for a month and finally found it. &lt;/p&gt;
&lt;p&gt;There’s something incredibly uplifting in the idea that tenacity trumps all. See also Paul Graham’s &lt;a href="http://www.paulgraham.com/really.html" title="http://www.paulgraham.com/really.html"&gt;What Startups Are Really Like&lt;/a&gt; point 5, “Persistence Is the Key”&lt;/p&gt;</description><link>http://www.paulitex.com/post/19716033767</link><guid>http://www.paulitex.com/post/19716033767</guid><pubDate>Wed, 21 Mar 2012 20:09:00 -0700</pubDate></item><item><title>Photo</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_lz6zx5yMY21qbemqao1_500.png"/&gt;&lt;br/&gt; &lt;br/&gt;&lt;img src="http://25.media.tumblr.com/tumblr_lz6zx5yMY21qbemqao2_500.png"/&gt;&lt;br/&gt; &lt;br/&gt;</description><link>http://www.paulitex.com/post/18137924071</link><guid>http://www.paulitex.com/post/18137924071</guid><pubDate>Thu, 23 Feb 2012 10:24:00 -0800</pubDate></item><item><title>From http://www.vancouversun.com/business/Startups+pitch+their+vi...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_lwj0oaI1261qady0lo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;From http://www.vancouversun.com/business/Startups+pitch+their+visions+Demo/5889120/story.html&lt;/p&gt;</description><link>http://www.paulitex.com/post/14533275723</link><guid>http://www.paulitex.com/post/14533275723</guid><pubDate>Tue, 20 Dec 2011 15:45:46 -0800</pubDate></item><item><title>Interview on Lining Things Up</title><description>&lt;a href="http://liningthingsup.com/#05-Paul-Lambert"&gt;Interview on Lining Things Up&lt;/a&gt;: &lt;p&gt;Chad, who was a student in one of our courses, asked me to be on his show recently and talk about startups, GrowLab, and Vancouver. I thought I bombed it right away after, but it actually turned out pretty good. :)&lt;/p&gt;</description><link>http://www.paulitex.com/post/14088136680</link><guid>http://www.paulitex.com/post/14088136680</guid><pubDate>Sun, 11 Dec 2011 15:14:58 -0800</pubDate></item><item><title>This was so much fun, thanks so much to everyone who came and...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_lvif1zXTqf1qady0lo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;This was so much fun, thanks so much to everyone who came and listened. &lt;/p&gt;</description><link>http://www.paulitex.com/post/13579740633</link><guid>http://www.paulitex.com/post/13579740633</guid><pubDate>Wed, 30 Nov 2011 21:25:11 -0800</pubDate></item><item><title>Neat Scala null -&gt; option idiom</title><description>&lt;p&gt;Working with Java APIs in Scala? Things potentially being null when you wish they were None? &lt;/p&gt;
&lt;p&gt;I had this problem working with servlets&amp;#8230; request.getQueryString returns null if there is no query string in the url (as opposed to an empty string) and without explicating checking for nulls (a good 3-4 lines of clutter), the code throws an unhelpful null pointer exception. Turns out Option(value) does exactly the type of conversion I want: a Some[return type] or None if it&amp;#8217;s null. &lt;/p&gt;
&lt;p&gt;so checking for null conditional (4-5 lines) becomes a single line: &lt;/p&gt;
&lt;p&gt;val queryString = Option(request.getQueryString).getOrElse(throw new NotLoggedInException)&lt;/p&gt;
&lt;p&gt;nice. &lt;/p&gt;</description><link>http://www.paulitex.com/post/13376777520</link><guid>http://www.paulitex.com/post/13376777520</guid><pubDate>Sat, 26 Nov 2011 17:53:00 -0800</pubDate></item><item><title>Capitalizing on a General Education</title><description>&lt;a href="http://marginalrevolution.com/marginalrevolution/2011/11/college-has-been-oversold.html"&gt;Capitalizing on a General Education&lt;/a&gt;: &lt;p&gt;Great article on the divide between generalist / non-technical degrees being studied by most University students and the economic/job prospects of their graduates.&lt;/p&gt;
&lt;p&gt;But no fear, you army of BAs who wax eloquent (I am one of you). Keep your eye on Matygo. We are here to help. Get the concrete skills you need to get on the track to positions where you can actually exercise the abstract and holistic thing your big brains have been trained to do. &lt;/p&gt;</description><link>http://www.paulitex.com/post/12247141302</link><guid>http://www.paulitex.com/post/12247141302</guid><pubDate>Wed, 02 Nov 2011 11:08:02 -0700</pubDate></item><item><title>Jobs on organization core values and what marketing is really...</title><description>&lt;iframe width="400" height="300" src="http://www.youtube.com/embed/dR-ZT8mhfJ4?wmode=transparent&amp;autohide=1&amp;egm=0&amp;hd=1&amp;iv_load_policy=3&amp;modestbranding=1&amp;rel=0&amp;showinfo=0&amp;showsearch=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Jobs on organization core values and what marketing is really about. I actually saw this video a long time ago and have been wanting to find it many times since. It surfaced in the wake of the news so i’m logging it here. &lt;/p&gt;</description><link>http://www.paulitex.com/post/11094240577</link><guid>http://www.paulitex.com/post/11094240577</guid><pubDate>Thu, 06 Oct 2011 00:01:03 -0700</pubDate></item><item><title>“Here’s to the Crazy Ones” narrated by Steve...</title><description>&lt;iframe width="400" height="299" src="http://www.youtube.com/embed/8rwsuXHA7RA?wmode=transparent&amp;autohide=1&amp;egm=0&amp;hd=1&amp;iv_load_policy=3&amp;modestbranding=1&amp;rel=0&amp;showinfo=0&amp;showsearch=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;“Here’s to the Crazy Ones” narrated by Steve Jobs himself. Never aired. By far the most touching of all Steve tributes I’ve seen tonight - fair warning.&lt;/p&gt;</description><link>http://www.paulitex.com/post/11093760384</link><guid>http://www.paulitex.com/post/11093760384</guid><pubDate>Wed, 05 Oct 2011 23:30:54 -0700</pubDate></item><item><title>"No one wants to die. Even people who want to go to heaven don’t want to die to get there. And yet..."</title><description>“&lt;p&gt;No one wants to die. Even people who want to go to heaven don’t want to die to get there. And yet death is the destination we all share. No one has ever escaped it. And that is as it should be, because Death is very likely the single best invention of Life. It is Life’s change agent. It clears out the old to make way for the new. Right now the new is you, but someday not too long from now, you will gradually become the old and be cleared away. Sorry to be so dramatic, but it is quite true. &lt;/p&gt;

&lt;p&gt;Your time is limited, so don’t waste it living someone else’s life. Don’t be trapped by dogma — which is living with the results of other people’s thinking. Don’t let the noise of others’ opinions drown out your own inner voice. And most important, have the courage to follow your heart and intuition. They somehow already know what you truly want to become. Everything else is secondary.&lt;/p&gt;”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;&lt;p&gt;RIP Steve Jobs, 1955-2011&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.youtube.com/watch?v=D1R-jKKp3NA"&gt;http://www.youtube.com/watch?v=D1R-jKKp3NA&lt;/a&gt;&lt;/p&gt;&lt;/em&gt;</description><link>http://www.paulitex.com/post/11081561393</link><guid>http://www.paulitex.com/post/11081561393</guid><pubDate>Wed, 05 Oct 2011 17:45:02 -0700</pubDate></item><item><title>Photo</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_lqr2yvl5dm1ql631ro1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;</description><link>http://www.paulitex.com/post/9951463156</link><guid>http://www.paulitex.com/post/9951463156</guid><pubDate>Thu, 08 Sep 2011 00:56:13 -0700</pubDate><category>quotes</category><category>passion</category><category>life</category><category>advice</category><category>sayings</category></item><item><title>The Matygo Blog: Network Effects (or, how to make it big on the internet)</title><description>&lt;a href="http://blog.matygo.com/post/6489386566"&gt;The Matygo Blog: Network Effects (or, how to make it big on the internet)&lt;/a&gt;: &lt;p&gt;Wrote this for the matygo blog, though it’s really a personal position.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.matygo.com/post/6489386566"&gt;matygo&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;A network effect: when the value derived from a system increases with the number of people that use it.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I’ve been slightly obsessed with the idea of network effects lately, but for good reason: Every major internet success has been created by leveraging network effects: from email to Airbnb. A…&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://www.paulitex.com/post/6491557027</link><guid>http://www.paulitex.com/post/6491557027</guid><pubDate>Mon, 13 Jun 2011 10:02:00 -0700</pubDate></item><item><title>2 shell tricks</title><description>&lt;p&gt;1) Empty file of any size (useful for testing things, e.g. uploads of various sizes):&lt;/p&gt;
&lt;p&gt;Did some googling a came up with using &amp;#8216;dd&amp;#8217;&amp;#8230; it&amp;#8217;s long, hard to remember, and a bit hard to read. For example, if you want a junk ~50mb file:&lt;/p&gt;
&lt;p&gt;$ dd if=/dev/random of=./fifty.junk bs=1024 count=50000&lt;/p&gt;
&lt;p&gt;that says &amp;#8216;in blocks of 1024 bytes (1kb, the Block Size) read 50,000 blocks from /dev/random (the In File) and write them to ./fifty.junk&amp;#8217; (the Out File). It works, but a bit unruly. I just wanted to say &amp;#8216;make a 50mb file.&amp;#8217; So as I was about to write a script to wrap dd named &amp;#8216;mkfile&amp;#8217; and discovered this:&lt;/p&gt;
&lt;p&gt;$ mkfile 50m fifty.junk&lt;/p&gt;
&lt;p&gt;Perfect. Size suffixes make sense (b,k,m,g) and very easy to remember. It isn&amp;#8217;t installed by default on my Linux (Ubuntu) but it&amp;#8217;s on my Mac, so I&amp;#8217;d guess it&amp;#8217;s in BSD as well. &lt;/p&gt;
&lt;p&gt;2) Bash Math&lt;/p&gt;
&lt;p&gt;bc is a simple calculator (Bash Calculator I assume). You can pipe stuff into it. &lt;/p&gt;
&lt;p&gt;e.g. $ echo &amp;#8216;(20 * 45) / 7&amp;#8217; | bc&lt;/p&gt;
&lt;p&gt;will print 128&lt;/p&gt;
&lt;p&gt;you could do it with ruby too (or a myriad of other scripting languages), e.g.&lt;/p&gt;
&lt;p&gt;$ ruby -e &amp;#8216;puts (20 * 45) / 7&amp;#8217;&lt;/p&gt;
&lt;p&gt;will also print 128.&lt;/p&gt;
&lt;p&gt;That&amp;#8217;s all too much typing. So I wrapped bc in a script called &amp;#8216;calc&amp;#8217;. Now I can just go&lt;/p&gt;
&lt;p&gt;$ calc 20*45/7 &lt;/p&gt;
&lt;p&gt;and also have 128 printed. Handy. (If anyone knows of an existing just-as-simple solution like mkfile was, please share).&lt;/p&gt;
&lt;p&gt;Here it is, copy it to a file called &amp;#8216;calc&amp;#8217; (no file extension) somewhere in your path (like /usr/local/bin) and make it executable (chmod +x calc)&lt;/p&gt;
&lt;p&gt;&lt;code&gt; #!/bin/sh &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;join=""&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;for arg in $@; do join=&amp;#8221;$join $arg&amp;#8221;;done&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;echo `echo $join | bc` &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Enjoy!&lt;/p&gt;</description><link>http://www.paulitex.com/post/5903359530</link><guid>http://www.paulitex.com/post/5903359530</guid><pubDate>Fri, 27 May 2011 11:47:00 -0700</pubDate></item><item><title>Year 292M is the next Y2K</title><description>&lt;p&gt;In pursuit of what we can safely use as the infinite future on date comparisons:&lt;/p&gt;
&lt;p&gt;&lt;code&gt; &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt; &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt; &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt; &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt; &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt; &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;
&lt;p&gt;scala&amp;gt; val t3 = new Timestamp(Long.MaxValue)&lt;/p&gt;
&lt;p&gt;t3: java.sql.Timestamp = 292278994-08-16 23:12:55.807&lt;/p&gt;
&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Yup - that&amp;#8217;s year two hundred ninety two million and a lot.&lt;/p&gt;
&lt;p&gt;&lt;br/&gt;by comparison here&amp;#8217;s today. &lt;/p&gt;
&lt;p&gt;&lt;code&gt; &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt; &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt; &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt; &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt; &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt; &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;
&lt;p&gt;&lt;br/&gt;scala&amp;gt; val t1 = new Timestamp(System.currentTimeMillis)&lt;/p&gt;
&lt;p&gt;t1: java.sql.Timestamp = 2011-05-04 22:58:11.658&lt;/p&gt;
&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;br/&gt;So sometime during August 16th, year 292,278,994, longs will no longer fit the current date and everyone still stuck on JVM 1.6 will be facing yet another Y2K style crisis. Good to know?&lt;/p&gt;
&lt;p&gt;(I feel like there must be a joke in here somewhere&amp;#8230; I&amp;#8217;m open to suggestions :) )&lt;/p&gt;</description><link>http://www.paulitex.com/post/5213056513</link><guid>http://www.paulitex.com/post/5213056513</guid><pubDate>Wed, 04 May 2011 23:51:00 -0700</pubDate></item><item><title>OO fail - isn't that what param types are for?</title><description>&lt;p&gt;Potential runtime error of exactly the type the compiler is supposed to catch. &lt;/p&gt;
&lt;p&gt;(I know *why* in Java it has to take a Date and can&amp;#8217;t specify a Timestamp object, but that&amp;#8217;s a language (and potentially library) design error. I wonder how/if I could solve this in Scala&amp;#8230;.)&lt;/p&gt;
&lt;p&gt;from: &lt;a title="http://download.oracle.com/javase/6/docs/api/java/sql/Timestamp.html" target="_blank" href="http://download.oracle.com/javase/6/docs/api/java/sql/Timestamp.html"&gt;&lt;a href="http://download.oracle.com/javase/6/docs/api/java/sql/Timestamp.html"&gt;http://download.oracle.com/javase/6/docs/api/java/sql/Timestamp.html&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;
&lt;code&gt; int&lt;/code&gt;&lt;code&gt;&lt;strong&gt;&lt;a href="http://download.oracle.com/javase/6/docs/api/java/sql/Timestamp.html#compareTo(java.util.Date)"&gt;compareTo&lt;/a&gt;&lt;/strong&gt;(&lt;a title="class in java.util" href="http://download.oracle.com/javase/6/docs/api/java/util/Date.html"&gt;Date&lt;/a&gt; o)&lt;/code&gt; &lt;br/&gt;          Compares this &lt;code&gt;Timestamp&lt;/code&gt; object to the given &lt;code&gt;Date&lt;/code&gt;, which must be a &lt;code&gt;Timestamp&lt;/code&gt; object.</description><link>http://www.paulitex.com/post/5212288886</link><guid>http://www.paulitex.com/post/5212288886</guid><pubDate>Wed, 04 May 2011 22:54:54 -0700</pubDate></item><item><title>The Matygo Blog: Office v 2.0 (now with tracked lighting)</title><description>&lt;a href="http://blog.matygo.com/post/5143413735"&gt;The Matygo Blog: Office v 2.0 (now with tracked lighting)&lt;/a&gt;: &lt;p&gt;&lt;a href="http://farhanpatel.com/post/5144371195"&gt;farhanpatel&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://blog.matygo.com/post/5143413735"&gt;matygo&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_lklamnw3BZ1qazp9q.jpg"/&gt;&lt;/p&gt;
&lt;p&gt;Well it’s been exactly a year since we moved in to the &lt;a href="http://blog.matygo.com/post/531965331/matygo-office-1-0"&gt;dominion building&lt;/a&gt;. It was a wild ride, we built a lot of cool stuff in that office, played a bit of starcraft, all in all had a great time.&lt;/p&gt;
&lt;p&gt;You know what they say, all good things…&lt;/p&gt;
&lt;p&gt;To make room for our interns who will be joining us…&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I’ll be working here for the next 4 months. It should be a very interesting 4 months thats for sure. Working with Scala promises to be interesting. &lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Can’t wait to get started with our team this summer :)&lt;/p&gt;</description><link>http://www.paulitex.com/post/5149322013</link><guid>http://www.paulitex.com/post/5149322013</guid><pubDate>Mon, 02 May 2011 18:51:34 -0700</pubDate></item><item><title>Keeping it real in the dtes</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_lfe6yi8ZLi1qady0lo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Keeping it real in the dtes&lt;/p&gt;</description><link>http://www.paulitex.com/post/2861601807</link><guid>http://www.paulitex.com/post/2861601807</guid><pubDate>Fri, 21 Jan 2011 13:42:17 -0800</pubDate></item><item><title>history meme</title><description>&lt;p&gt;Haha great idea alex. This is like a programmer&amp;#8217;s version of those stupid &amp;#8216;what are your favourite &amp;lt;blahs&amp;gt;&amp;#8221; forwards. Here&amp;#8217;s mine, post yours!&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;
Pauls-IcinTosh:Darkhorse paulrl$ history | awk '{print $2}' | sort | uniq -c | sort -rnk1,1 | head -n 20
143 hg
141 cd
79 ls
26 rake
14 ack
13 touch
11 pwd
10 java
 7 ssh
 5 sudo
 5 sc-server
 4 which
 4 script/console
 4 mate
 4 bin/cassandra
 3 sc-build
 3 clear
 2 mv
 2 mkdir
 2 irb
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;a href="http://mrtoto.net/post/794358170/history-meme"&gt;mrtoto&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;things I use:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;quicksilver:~ $ history | awk '{print $2}' | sort | uniq -c | sort -rnk1,1 | head -n 20 
    244 hg
     48 cd
     35 nmap
     34 ls
     15 sudo
     14 vim
     13 pwd
      9 man
      9 clear
      8 rm
      7 find
      6 cp
      5 ssh
      5 ps
      4 python
      4 less
      4 history
      3 whois
      3 kill
      2 wget
&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;</description><link>http://www.paulitex.com/post/803377070</link><guid>http://www.paulitex.com/post/803377070</guid><pubDate>Mon, 12 Jul 2010 13:49:00 -0700</pubDate></item><item><title>Rent a White Guy (in Beijing)</title><description>&lt;a href="http://www.theatlantic.com/magazine/archive/2010/07/rent-a-white-guy/8119"&gt;Rent a White Guy (in Beijing)&lt;/a&gt;: &lt;p&gt;If all else fails…. &lt;/p&gt;
&lt;p&gt;This really brings me back. Never did this myself but knew a couple people who did. &lt;/p&gt;
&lt;p&gt;God I love China.&lt;/p&gt;</description><link>http://www.paulitex.com/post/698091385</link><guid>http://www.paulitex.com/post/698091385</guid><pubDate>Mon, 14 Jun 2010 10:56:41 -0700</pubDate></item><item><title>Just finished my last exam of my degree. (and I think I killed it). Just wanted to let it be known...</title><description>&lt;p&gt;Just finished my last exam of my degree. (and I think I killed it). Just wanted to let it be known :-D&lt;/p&gt;</description><link>http://www.paulitex.com/post/559264217</link><guid>http://www.paulitex.com/post/559264217</guid><pubDate>Thu, 29 Apr 2010 14:41:05 -0700</pubDate></item></channel></rss>

