Religulous, Bill Maher’s new movie

I thought I liked Bill Maher. I mean ideologically, I agree with him on just about everything and he’s funny and half Jewish. (I seem to have a disproportionate amount of Jewish friends for a recovering Catholic). But this movie really swayed my opinion of him. I knew he had a big mouth but I appreciated how he would get people riled up and talking. I really wish Politically Incorrect was still on the air.

But I think he just went to far with this movie. I don’t know why people like him and Micheal Moore feel the need to produce movies that are so inflammatory. It’s one thing to talk about guns and the health care system, but you don’t poke fun at people’s belief systems, it is just going to create more hate. He would have done himself justice if he moderated himself, pulled back on the humor and anecdotes and just asked questions and not recut their answers to make them look like fools.

There were a few shinning moments: The interview with the Catholic astronomer, the interview with the priest in front of the Vatican, the senator to name a few. But then it quickly devolves into a series of short montages engineered for the short attention span.

Most of us have faith in something. But all faiths when looked at through the lense of science are of course going to crumble. It’s good to have doubt, and point out contradictions and wrong doings, but it’s wrong to disrespect and belittle belief systems.

Posted in life, movies, personal | Tagged , | Leave a comment

Happy Day

How Barack Obama defied history

Today is a good day.

Posted in government, life, world | Leave a comment

The death of physical media

It was odd today. I ran into a friend who just purchased a collection of CDs from a record store and I was kind of taken back. I mean, not that she bought CDs, but that you still could. I haven’t stepped foot into a store or purchased a CD in years and I honestly think I forgot that you could.

Now that Netflix has on demand, and with services like Hulu.com, and Amazon is pushing it’s Kindle. We’re truly seeing a time were you can receive all media in a non physical form.

Granted, paper, CDs, DVDs and Books especially are going to be around for years to come if not forever it’s interesting that now I could in theory never buy a physical representation of an idea, art or music again.

Posted in culture, personal, tech | Leave a comment

XSL for Line breaking long words

I spent a few hours searching for, but had no luck in finding this. So I’m posting what I wrote!

This XSL will put a zero length space character into any word longer then 20 characters in any text node of the current XML document.

There is of course always better ways to do things, but this is what I came up with, if anyone has suggestions or feedback, I would love to hear it.

Thanks
Enjoy!

<xsl:template match="text()">
<!– We do some character transformations first–>
<xsl:choose>
<!– No need to progress further in the entire element is less then 20 characters
Change these two lines if you want to alter the max length of the word
–>
<xsl:when test="string-length($str) &gt; 20">
<xsl:call-template name="linebreaklongwords">
<xsl:with-param name="str" select="$str" />
<xsl:with-param name="len" select="20" />
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$str"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>

<!– Break words longer then len characters –>
<xsl:template name="linebreaklongwords">
<xsl:param name="str"/>
<xsl:param name="len"/>
<xsl:for-each select="tokenize($str,’\s’)">
<xsl:choose>
<xsl:when test="string-length(.) &gt; $len">
<xsl:call-template name="linebreaklongwordsub">
<xsl:with-param name="str" select="." />
<xsl:with-param name="len" select="$len" />
<!– zero length space –>
<xsl:with-param name="char"><xsl:text>&#8203;</xsl:text></xsl:with-param>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:choose>
<xsl:when test="position()=last()">
<xsl:copy-of select="."/>
</xsl:when>
<xsl:otherwise>
<xsl:copy-of select="."/><xsl:text> </xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</xsl:template>

<xsl:template name="linebreaklongwordsub">
<xsl:param name="str"/>
<xsl:param name="len"/>
<xsl:param name="char"/>
<xsl:choose>
<xsl:when test="string-length($str) &gt; $len">
<xsl:value-of select="substring($str,1,$len)"/>
<xsl:value-of select="$char"/>
<xsl:call-template name="linebreaklongwordsub">
<xsl:with-param name="str" select="substring($str,$len + 1)" />
<xsl:with-param name="len" select="$len" />
<xsl:with-param name="char" select="$char" />
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$str"/><xsl:text> </xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:template>

Posted in internet, programming, tech | Leave a comment

On being back in a ‘real’ office

It was strange experience being back in a ‘real’ office after spending the better part of the last few years in startups, coffee shops, home or coworking facilities. My first two days have brought back so many memories of corporate life as I’ve sat in on technical conference calls, farewell cards, water cooler conversations, free tshirts and the office party.

Random thoughts:

  • I like my desk, I’m right next to the window (that actually opens) with an amazing view of the bay
  • Actually having cute non-engineer women in the office to talk to is nice
  • I can already see office political and personality conflicts
  • I forgot how true some stereotypes can be (aka the Office TV show), I both revel and despise this
  • It’s weird to see a mass entrance at 9, and exodus at 5.
  • The coffee is great
  • The engineering team seems awesome
Posted in internet, life, personal | 1 Comment

The debate on the debate and the Politics of Fear

Mr. McCain’s decision was made more for political reasons than out of concern for the fate of the bailout deal.

Focusing on this one issue is reminiscent of Bush focusing on the Iraq war during his last campaign. People make rash decisions when their scared. By creating this doomsday scenario surrounding the economy he is probably setting himself up to be it’s savior in some way. We’ll see what their next step is. If the bailout bill passes and the ‘crises’ is averted, McCain is going to come out looking like a golden child.

This is a win win for McCain and kudo’s to him for the strategy. If he shows up at the debate it makes Obama look bad for forcing the issue and not caring about the Crisis. If he is a no-show, it shows he cares to much to worry about something so trifle as a debate. We’ll see how the parties spin it.

I’m scared… not for the economy, but the continued concentration of power and money around Washington.

Posted in government, world | Leave a comment