<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Observations from Uppsala &#187; funny</title>
	<atom:link href="http://jakob.engbloms.se/archives/tag/funny/feed" rel="self" type="application/rss+xml" />
	<link>http://jakob.engbloms.se</link>
	<description>Computer Technology: Simulation, Virtualization, Virtual Platforms, Embedded, Multicore and Multiprocessing (by Jakob Engblom)</description>
	<lastBuildDate>Sun, 05 Sep 2010 06:08:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<image>
    <title>Observations from Uppsala</title>
    <url>http://jakob.engbloms.se/favicon.png</url>
    <link>http://jakob.engbloms.se</link>
    <width>32</width>
    <height>32</height>
    <description>Observations from Uppsala - http://jakob.engbloms.se</description>
    </image>		<item>
		<title>The Tyranny of Syntax on Stackoverflow</title>
		<link>http://jakob.engbloms.se/archives/681?&amp;owa_from=feed&amp;owa_sid=</link>
		<comments>http://jakob.engbloms.se/archives/681#comments</comments>
		<pubDate>Mon, 09 Mar 2009 20:51:51 +0000</pubDate>
		<dc:creator>Jakob</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[CS]]></category>
		<category><![CDATA[Domain-specific languages]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[funny]]></category>
		<category><![CDATA[stackoverflow.com]]></category>
		<category><![CDATA[VBA]]></category>

		<guid isPermaLink="false">http://jakob.engbloms.se/?p=681</guid>
		<description><![CDATA[The 44th episode of the Stackoverflow podcast contains an interesting discussion on what I have liked to call &#8220;the tyranny of syntax&#8221;.They note that for some reason people are scared of anything that does not look like C, but still lament some of the less good design patterns in C, such as the fact that [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-300" style="margin: 5px;" title="stackoverflowlogo250hq2" src="http://jakob.engbloms.se/wp-content/uploads/2008/10/stackoverflowlogo250hq2.png" alt="stackoverflowlogo250hq2" width="47" height="61" />The <a href="http://itc.conversationsnetwork.org/shows/detail4028.html">44th episode of the Stackoverflow podcast </a>contains an interesting discussion on what I have liked to call &#8220;the tyranny of syntax&#8221;.They note that for some reason people are scared of anything that does not look like C, but still lament some of the less good design patterns in C, such as the fact that closing braces have no annotations as to what is being closed. They also talk about the use of &#8220;little languages&#8221;, and an old favorite song of mine.</p>
<p><span id="more-681"></span></p>
<p>The best bit is the discussion around named parameters and how that was introduced into Visual Basic for Application in Excel &#8212; and at the same time they reduced the argument counts to most functions by replacing them with manipulating properties of objects. I think that approach does make some sense, if you have something that lends itself to that kind of expression. Their comparison of having a single function call with 83 arguments to change the style of text in Word by silently effecting a dialog box, or actually setting each of 83 properties of a dialog box object makes eminent sense&#8230; Sense that applies to simulators as well: in Simics, we do have a system like that, with attributes on all objects in the simulation that can be set to change their behavior and connections. Trying to configure that in the SystemC-style with function calls and constructors from scratch would be a pain, definitely.</p>
<p>Another topic that struck a chord with me was the notion that we are moving towards a world of &#8220;little languages&#8221; built for particular purposes. I definitely think this is the right way to go, as domain-specific languages do make getting particular things done easier. The more general a language is, the worse it is at any particular task. Better then to use a smaller language built to do one thing. As Jeff put it, for databases uses SQL, for text processing using Perl, etc&#8230; Using a multitude of languages is the hallmark of good software design and a natural instinct for a computer scientist.</p>
<p>They also found a <a href="http://www.youtube.com/watch?v=XHosLhPEN3k">YouTube video </a>of the old computer science (CS) song &#8220;<a href="http://www.mmilan.com/write-in-c/">Write in C</a>&#8220;. They do not seem to get that this is a really old song, I remember singing it way back when I was a fresh <a href="http://www.datavetenskap.nu/">undergrad CS student </a>here in Uppsala&#8230; and it was part of the first edition of our nice leather-bound songbook called &#8220;Manualen&#8221;. The lyrics are starting to feel a bit dated, but it is still a very elegant piece of writing that I think took place in the mid-1980s, judging from the other languages referenced.</p>
<p>Anyway, an unusually listen-worthy edition of Stackoverflow.</p>
]]></content:encoded>
			<wfw:commentRss>http://jakob.engbloms.se/archives/681/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Off-Topic: Hilarious: MS Songsmith</title>
		<link>http://jakob.engbloms.se/archives/623?&amp;owa_from=feed&amp;owa_sid=</link>
		<comments>http://jakob.engbloms.se/archives/623#comments</comments>
		<pubDate>Sun, 01 Feb 2009 17:15:53 +0000</pubDate>
		<dc:creator>Jakob</dc:creator>
				<category><![CDATA[desktop software]]></category>
		<category><![CDATA[funny]]></category>
		<category><![CDATA[Billy Idol]]></category>
		<category><![CDATA[Enter Sandman]]></category>
		<category><![CDATA[Metallica]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Microsoft songsmith]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[White Wedding]]></category>

		<guid isPermaLink="false">http://jakob.engbloms.se/?p=623</guid>
		<description><![CDATA[Since I am slow to follow Internet fads, I am probably the last blogger on the planet to write about this&#8230; but it is too good not to mention. Microsoft research has created a brilliant or nutty piece of work called Microsoft (Research) Songsmith. The idea is pretty cool in theory, just sing into a [...]]]></description>
			<content:encoded><![CDATA[<p>Since I am slow to follow Internet fads, I am probably the last blogger on the planet to write about this&#8230; but it is too good not to mention. Microsoft research has created a brilliant or nutty piece of work called <a href="http://research.microsoft.com/en-us/um/redmond/projects/songsmith/">Microsoft (Research) Songsmith</a>. The idea is pretty cool in theory, just sing into a microphone and the program creates background music matching&#8230; except that it does some pretty hilarious things when put to the test.</p>
<p><span id="more-623"></span>On YouTube, the following clips of old songs that I like absolutely tore me up, leaving my 4-year old wondering what got into the head of his daddy&#8230; for him, it was just some music.</p>
<ul>
<li><a href="http://www.youtube.com/watch?v=UlCWo1qdTdE ">White Wedding</a>, which apparently was a country tune.</li>
<li><a href="http://www.youtube.com/watch?v=WmC28cXWqLc">Enter Sandman</a>, in classic synth style.</li>
<li><a href="http://www.youtube.com/watch?v=W3d-CCmTSUk">Blue Monday</a>, with</li>
<li><a href="http://www.youtube.com/watch?v=22AWPW5s4EA">We will Rock You</a>, as a light salsa.</li>
<li>There is a blog with a <a href="http://entertainmentweakly.com/blog/">series of classic hits fed through Songsmith</a>&#8230;</li>
<li>And just follow the related links, I know I will do all night.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://jakob.engbloms.se/archives/623/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
