<?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>Kilian Valkhof &#187; Web</title>
	<atom:link href="http://kilianvalkhof.com/category/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://kilianvalkhof.com</link>
	<description></description>
	<lastBuildDate>Thu, 23 Feb 2012 14:41:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Statlas beta release</title>
		<link>http://kilianvalkhof.com/2011/web/statlas-beta-release/</link>
		<comments>http://kilianvalkhof.com/2011/web/statlas-beta-release/#comments</comments>
		<pubDate>Mon, 18 Jul 2011 08:00:52 +0000</pubDate>
		<dc:creator>Kilian Valkhof</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://kilianvalkhof.com/?p=936</guid>
		<description><![CDATA[<blockquote><p> Making an editor for maps using 100% web technologies had never been done before so it was a really exciting project and I jumped at the chance</p></blockquote><p>This article is written by Kilian Valkhof, Front-end developer & User experience designer. Please visit <a href="http://kilianvalkhof.com">KilianValkhof.com</a> for more articles!<br/><br/><a href="http://kilianvalkhof.com/2011/web/statlas-beta-release/">Statlas beta release</a></p>
]]></description>
			<content:encoded><![CDATA[<p>For the past few months me and the rest of the guys at <a href="http://fluxility.com">Fluxility</a> have been working on <a href="http://statlas.nl">Statlas</a>, a website that makes it super easy for anyone to make cool maps based on data they have. We just released the beta, so you&#8217;re all invited to come and <a href="http://statlas.nl">play with it</a>. Or read on for some more background information&hellip;<span id="more-936"></span></p>
<p>At the end of 2010 I had a meeting with <a href="http://alper.nl">Alper</a>, who asked if I was available for a helping him with building a kick-ass mapping application that would make it super easy for lay people to create visualizations. Sort of a bigger, better version of an app he made previously, <a href="http://monsterswell.com/projects/dutchstats/">Dutchstats</a>. Making an editor for maps using 100% web technologies had never been done before (not counting flash, obviously) so it was a really exciting project and I jumped at the chance.</p>
<p>Statlas was built by a combined team of us at <a href="http://fluxility.com">Fluxility</a>, <a href="http://monsterswell.com">Monster Swell</a> and <a href="http://cargocollective.com/alexanderzeh">Alexander Zeh</a>. We took care of the development, Monsterswell took the lead and Alexander Zeh made the graphics.</p>
<p>We quickly settled on using <a href="http://polymaps.org">Polymaps</a> for the mapping and <a href="http://djangoproject.com">Django</a> for the back-end. Starting out, I explored what was possible with Polymaps. I wrote <a href="https://github.com/MonsterSwell/rd2wgs84">a little tool</a> to process geoJson files in the Dutch &#8220;Rijksdriehoekscoordinaten&#8221; format to a format that Polymaps supported, and within an afternoon I had a working copy of the aforementioned Dutchstats (but with six linked maps!)</p>
<p>Then came the hard work. Building the editor and viewer, linking up the values with the parts on the map and autogenerating the colour scheme. That turned out to be a bit longer process, and integrating it nicely with the Django backend took a fair couple of months.</p>
<p>This first version is something I&#8217;m really proud of. It&#8217;s the <strong>first mapping editor made fully in web technologies</strong> that&#8217;s easy enough for normal people to use, and the maps are then very easily distributable, via embedding, linking or printing.</p>
<h3>Municipalities I&#8217;ve been to &hellip; That I can remember!</h3>
<p><iframe src="http://statlas.nl/embed/municipalities-ive-been-to" scrolling="no" frameborder="0" style="width:100%;height:400px"></iframe></p>
<p>So, that&#8217;s <a href="http://statlas.nl">Statlas</a>. Check it out and let me know what you think!</p>
<p>This article is written by Kilian Valkhof, Front-end developer & User experience designer. Please visit <a href="http://kilianvalkhof.com">KilianValkhof.com</a> for more articles!<br/><br/><a href="http://kilianvalkhof.com/2011/web/statlas-beta-release/">Statlas beta release</a></p>
 <p><a href="http://kilianvalkhof.com/?flattrss_redirect&amp;id=936&amp;md5=8eeb5b491acfabca848e4439f4878df4" title="Flattr" target="_blank"><img src="http://kilianvalkhof.com/wp-content/plugins/flattrss/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://kilianvalkhof.com/2011/web/statlas-beta-release/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=28694&amp;popout=1&amp;url=http%3A%2F%2Fkilianvalkhof.com%2F2011%2Fweb%2Fstatlas-beta-release%2F&amp;language=en_GB&amp;category=text&amp;title=Statlas+beta+release&amp;description=For+the+past+few+months+me+and+the+rest+of+the+guys+at+Fluxility+have+been+working+on+Statlas%2C+a+website+that+makes+it+super+easy+for+anyone+to+make...&amp;tags=blog" type="text/html" />
	</item>
		<item>
		<title>Laserey.es: Draw lasers from your eyes.</title>
		<link>http://kilianvalkhof.com/2011/web/laserey-es-draw-lasers-from-your-eyes/</link>
		<comments>http://kilianvalkhof.com/2011/web/laserey-es-draw-lasers-from-your-eyes/#comments</comments>
		<pubDate>Mon, 14 Feb 2011 10:00:40 +0000</pubDate>
		<dc:creator>Kilian Valkhof</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://kilianvalkhof.com/?p=900</guid>
		<description><![CDATA[<blockquote><p>Simply drag and drop an image from your computer onto the photo area (or connect with Facebook), and watch the magic happen!</p></blockquote><p>This article is written by Kilian Valkhof, Front-end developer & User experience designer. Please visit <a href="http://kilianvalkhof.com">KilianValkhof.com</a> for more articles!<br/><br/><a href="http://kilianvalkhof.com/2011/web/laserey-es-draw-lasers-from-your-eyes/">Laserey.es: Draw lasers from your eyes.</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Lasers are awesome, and shooting lasers from your eyes is more awesome. Unfortunately, shooting lasers from your eyes in real life is currently impossible. Let&#8217;s help you make yourself a little bit more awesome: <a href="http://laserey.es">Laser Eyes!</a><span id="more-900"></span></p>
<p>A while ago, <a href="http://vasilis.nl">Vasilis</a> asked for a web app that allowed you to draw lasers. Just drawing lasers is a bit boring though, so I took it a step further, and decided to use all the new cool html API&#8217;s for rendering and eye detection to shoot lasers from eyes. I <del>press-ganged</del> <ins>recruited</ins> <a href="http://paulchaplin.com">Paul Chaplin</a> to help build the site.</p>
<p>The result is <a href="http://laserey.es">Laser Eyes!</a>. Simply drag and drop an image from your computer onto the photo area (or connect with Facebook), and watch the magic happen!</p>
<h2>Facebook</h2>
<p>When building a web app, nowadays, you can&#8217;t <em>not</em> have Facebook integration. For Laser Eyes!, what I&#8217;d really wanted is the ability to, with one click set a laserified (it&#8217;s a word, alright?) image as your profile picture. So, you can&#8217;t do that. Most people said you can&#8217;t even get a full sized profile picture via the API. <a href="http://kilianvalkhof.com/2011/javascript/full-size-profile-picture-via-the-facebook-javascript-sdk/">In fact, you can</a>. Once you connect Laser Eyes! with Facebook, you can load in your profile image and post any photo to Facebook into a special Laser Eyes! photo album.</p>
<p>&#8230;Then you can manually set your profile picture to the laserified version ;)</p>
<h2>Technical stuff</h2>
<p>Paul and I went all-out with new API&#8217;s and really used this as a project to try out new cool shit: Canvas, drag and drop, the file API, openCV, and <a href="http://ep.io">Ep.io</a>. Due to all these new things, support, for now, is limited to Google Chrome (but it&#8217;s really slow on mac) and Mozilla Firefox (fast everywhere). I&#8217;ll add in a more regular file uploader to support Opera and Safari soon.</p>
<p>Other stuff I want to improve is adding a bunch of photos to try it out and a color picker for people that like pink lasers. Or blue lasers. I&#8217;m open to other ideas, please send them to <a href="mailto:contact@laserey.es">contact@laserey.es</a>.</p>
<p>If you want to check out the javascript that powers all of Laser Eyes, the unminified, sparsely commented version is available <a href="http://laserey.es/media/javascripts/base.js">here</a>.</p>
<p><a href="http://laserey.es">Laser Eyes!</a> is hosted on <a href="http://ep.io">Ep.io</a>, a Python/Django cloud hosting system currently in private beta. The team at Ep.io has been super helpful with troubleshooting my app and openCV&#8217;s python bindings. Big thanks to them, and you should really consider them if you need an easy Python or Django hosting solution.</p>
<h3>In closing</h3>
<p>Working with new html5 api&#8217;s and python opencv bindings has been a lot of fun as well as somewhat of a nightmare. You can learn a ton, but some things are just so <em>weird</em>. I&#8217;m certain I did a whole bunch of stuff the worst way possible, and there are a bunch of weird bugs and errors that I hope people won&#8217;t notice when using the app. (Why are my strokes aliased in Chrome? Why do certain angles crash Firefox?? Why is it over 4 times as slow on Mac? And more of the sort). If you notice any of the bugs and know a solution, please let me know!</p>
<p>Now, go <a href="http://laserey.es">laserify yourself</a>.</p>
<p>This article is written by Kilian Valkhof, Front-end developer & User experience designer. Please visit <a href="http://kilianvalkhof.com">KilianValkhof.com</a> for more articles!<br/><br/><a href="http://kilianvalkhof.com/2011/web/laserey-es-draw-lasers-from-your-eyes/">Laserey.es: Draw lasers from your eyes.</a></p>
 <p><a href="http://kilianvalkhof.com/?flattrss_redirect&amp;id=900&amp;md5=0ecdf9f1471cc41bfd9466aa896abaad" title="Flattr" target="_blank"><img src="http://kilianvalkhof.com/wp-content/plugins/flattrss/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://kilianvalkhof.com/2011/web/laserey-es-draw-lasers-from-your-eyes/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=28694&amp;popout=1&amp;url=http%3A%2F%2Fkilianvalkhof.com%2F2011%2Fweb%2Flaserey-es-draw-lasers-from-your-eyes%2F&amp;language=en_GB&amp;category=text&amp;title=Laserey.es%3A+Draw+lasers+from+your+eyes.&amp;description=Lasers+are+awesome%2C+and+shooting+lasers+from+your+eyes+is+more+awesome.+Unfortunately%2C+shooting+lasers+from+your+eyes+in+real+life+is+currently+impossible.+Let%26%238217%3Bs+help+you+make+yourself+a...&amp;tags=blog" type="text/html" />
	</item>
		<item>
		<title>Guitar tabs as they should be: Guitaryst.com</title>
		<link>http://kilianvalkhof.com/2010/web/guitar-tabs-as-they-should-be-guitaryst-com/</link>
		<comments>http://kilianvalkhof.com/2010/web/guitar-tabs-as-they-should-be-guitaryst-com/#comments</comments>
		<pubDate>Mon, 29 Nov 2010 13:30:42 +0000</pubDate>
		<dc:creator>Kilian Valkhof</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://kilianvalkhof.com/?p=810</guid>
		<description><![CDATA[<blockquote><p>One of the annoying things when it comes to playing guitar from tabs on your screen, is having the guitar in your lap and having to <strong>reach over to type in the next song</strong></p></blockquote><p>This article is written by Kilian Valkhof, Front-end developer & User experience designer. Please visit <a href="http://kilianvalkhof.com">KilianValkhof.com</a> for more articles!<br/><br/><a href="http://kilianvalkhof.com/2010/web/guitar-tabs-as-they-should-be-guitaryst-com/">Guitar tabs as they should be: Guitaryst.com</a></p>
]]></description>
			<content:encoded><![CDATA[<p>After <a href="http://kilianvalkhof.com/2010/web/a-web-app-in-a-weekend-lystener-com/">Launching Lystener</a> I got a lot of requests for a &#8220;Lystener for guitar tablature&#8221;, including from my mother. After thinking about it for a while, I went to work and finished most of it in a weekend. I continued to tweak it for a bit, and I&#8217;m launching <a href="http://guitaryst.com">Guitaryst</a> today.<span id="more-810"></span></p>
<p><img src="http://guitaryst.djangy.com/media/images/logo3.png" alt="" style="float:right;padding-left:1.5em;"</p>
<h2>What is <a href="http://guitaryst.com">Guitaryst</a>?</h2>
<p>Just how <a href="http://lystener.com">Lystener</a> shows you the lyrics while you&#8217;re listening to the song, Guitaryst shows you the guitar tab. If you don&#8217;t know what guitar tabs are, <a href="http://en.wikipedia.org/wiki/ASCII_tab">Wikipedia has the answer</a>. Guitaryst works by search, or with <a href="http://last.fm">Last.fm</a>, <a href="http://like.fm">Like.fm</a> and <a href="http://libre.fm">Libre.fm</a>. I emailed the latter two and asked if they could add the API I needed for Lystener, and both did that ridiculously fast, so kudos to them. Definitely check them both out. </p>
<p>One of the annoying things when it comes to playing guitar from tabs on your screen, is having the guitar in your lap and having to <strong>reach over to type in the next song</strong>. But what&#8217;s also annoying is when you come to the bottom of the screen, the tab isn&#8217;t finished and you have to scroll to get to the next part.</p>
<p>I wanted Guitaryst to work <strong>without you <em>ever</em> having to touch your screen</strong>. So it should <em>Find the tab for you</em> and when it has it, <strong>Scroll it for you</strong>. Just scrolling at a set rate (like some other tab sites do) isn&#8217;t good enough though. I wanted tabs to scroll along with the song. With Guitaryst, you should never have to leave your guitar.</p>
<p>So I implemented another API, this time <a href="http://the.echonest.com">The Echonest</a> API. I can send the title and artist of a song to their api, and get the exact length of the song. This means that <strong>Guitaryst will scroll the tabs in sync with the song!</strong></p>
<p>Code-wise, Lystener and Guitaryst are almost the same, so &#8220;porting&#8221; it served as a nice incentive to clean up and improve on both. Lystener has changed a lot in the last couple of weeks, and this is mostly due to insight gained from building Guitaryst.</p>
<h3>iPad!</h3>
<p>I bought an iPad when it came out, and immediatelly thought of the awesome things you could do with it. So I used some webkit-fu to make Guitaryst work nicely on the iPad. You can install it to your home screen, it has a nice icon and looks pretty good. There are probably some improvements I can make yet (it only works in landscape mode, for example), so feel free to tell me where I dropped the ball.</p>
<h2>Djangy hosting</h2>
<p>Guitaryst is hosted at <a href="http://djangy.com">Djangy</a>, a &#8220;Heroku for Django&#8221;. I got a private beta invite, tried it out and apart from some obscure stuff with my nonstandard Git config, it&#8217;s worked flawless. No longer do I have to mess around with vhost files, wsgi settings and database stuff, Djangy does it all. They saw my app when I was still testing it and liked it so much they wanted to mention it at their <a href="http://blog.djangy.com/2010/11/17/djangy-spotlight-guitaryst/">blog</a>, so that was nice.</p>
<p><strong>I have private beta invites</strong> for 10 interested people. Comment in the replies with a valid e-mail address if you want one, and tell me what you want to do with them!</p>
<h2>Guitaryst and Lystener</h2>
<p>I&#8217;m sensing a trend, and I would love to expand this into more areas. Alas, other music data is hard to find. I&#8217;ll try getting a bass tab version going soon. I decided against adding Amazon referral links and Youtube videos as I really like the interface as it is now, but I will probably add one or both in the next couple of weeks, in a non-obtrusive way.</p>
<p>Guitaryst has it&#8217;s own twitter account: <a href="http://twitter.com/guitaryst">@guitaryst</a>, so follow that to continue getting updates. Please let me know what you think of guitaryst in the replies, <a href="http://twitter.com/kilianvalkhof">on twitter</a> or via <a href="mailto:kilian@guitaryst.com">kilian@guitaryst.com</a>.</p>
<p>This article is written by Kilian Valkhof, Front-end developer & User experience designer. Please visit <a href="http://kilianvalkhof.com">KilianValkhof.com</a> for more articles!<br/><br/><a href="http://kilianvalkhof.com/2010/web/guitar-tabs-as-they-should-be-guitaryst-com/">Guitar tabs as they should be: Guitaryst.com</a></p>
 <p><a href="http://kilianvalkhof.com/?flattrss_redirect&amp;id=810&amp;md5=00e45f73fb86cba485328dac2a405b48" title="Flattr" target="_blank"><img src="http://kilianvalkhof.com/wp-content/plugins/flattrss/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://kilianvalkhof.com/2010/web/guitar-tabs-as-they-should-be-guitaryst-com/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=28694&amp;popout=1&amp;url=http%3A%2F%2Fkilianvalkhof.com%2F2010%2Fweb%2Fguitar-tabs-as-they-should-be-guitaryst-com%2F&amp;language=en_GB&amp;category=text&amp;title=Guitar+tabs+as+they+should+be%3A+Guitaryst.com&amp;description=After+Launching+Lystener+I+got+a+lot+of+requests+for+a+%26%238220%3BLystener+for+guitar+tablature%26%238221%3B%2C+including+from+my+mother.+After+thinking+about+it+for+a+while%2C+I+went+to+work...&amp;tags=blog" type="text/html" />
	</item>
		<item>
		<title>Flickr, please fix your API!</title>
		<link>http://kilianvalkhof.com/2010/web/flickr-fix-your-api/</link>
		<comments>http://kilianvalkhof.com/2010/web/flickr-fix-your-api/#comments</comments>
		<pubDate>Mon, 15 Nov 2010 08:00:35 +0000</pubDate>
		<dc:creator>Kilian Valkhof</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://kilianvalkhof.com/?p=851</guid>
		<description><![CDATA[<blockquote><p>I have a sickeningly adorable Red panda on my error page that should see you through to the next page refresh.</p></blockquote><p>This article is written by Kilian Valkhof, Front-end developer & User experience designer. Please visit <a href="http://kilianvalkhof.com">KilianValkhof.com</a> for more articles!<br/><br/><a href="http://kilianvalkhof.com/2010/web/flickr-fix-your-api/">Flickr, please fix your API!</a></p>
]]></description>
			<content:encoded><![CDATA[<p>The past weekend, I built <a href="http://randomcuteanimal.com">randomcuteanimal.com</a>, which shows you a random CC-licensed Flickr photo of a cute animal. This being <em>cute</em> animals, I have to block out a lot of words such as &#8220;dead&#8221;, &#8220;scary&#8221;, &#8220;disgusting&#8221;, but also &#8220;playboy&#8221; (different bunnies here!), &#8220;tracks&#8221; (animal tracks aren&#8217;t cute), &#8220;stuffed&#8221;, &#8220;knitted&#8221; (only real animals!) and a boatload of other tags just to make sure you don&#8217;t suddenly stare at a disemboweled sea otter (That happened. <em>Not cute</em>). But the Flickr API has different ideas.<span id="more-851"></span></p>
<h2>No dead animals please</h2>
<p><a href="http://www.flickr.com/services/api/flickr.photos.search.html">Flickr&#8217;s photo search API</a> allows you to search by excluding certain tags. This is great, because it means I can filter out all sorts of stuff that you just don&#8217;t want to see while looking for cute animals, such as anything concerning dead, shooting, fighting but also knitting, graffiti, skulls, playboy (bunnies), fur and stuff I hadn&#8217;t even imagined would give problems, such as &#8220;kitchen&#8221;, &#8220;makeup&#8221;, &#8220;art&#8221;, and a whole slew of other tags.</p>
<p>But it seems that exclusion tags are merely a suggestion to Flickr. Flickr doesn&#8217;t really seem to care when I say I don&#8217;t want dead animals. Every now and then, it just slips one in to see if I notice. Unfortunately the difference is pretty clear. On the other side, seeing a knitted hedgehog isn&#8217;t quite as offensive, but it isn&#8217;t quite a real animal, either.</p>
<p>What it comes down to though, is this: if you want to look at just some cute animals, a dead rodent is a major buzzkill.</p>
<p>This really is my biggest problem, and I don&#8217;t have a solution for it yet other than obsessively blacklisting individual photos. Suggestions are <em>very welcome</em></p>
<h2>Not that photo again!</h2>
<p>When I select photo&#8217;s, I request a random search page between page 1 and 10000, with each search page containing one photo. You&#8217;d think the odds of the same photo popping up twice would be really minimal, right? As it turns out, the page attribute is also merely a suggestion to the API. There are a number of photos that just keep popping up for everyone, up to a point where they&#8217;re the only photo visible. Now, my random number generator <a href="http://xkcd.com/221/">isn&#8217;t broken</a>, so it&#8217;s definitely happening at Flickr&#8217;s end. </p>
<p><a href="http://www.flickr.com/photos/dannyman/4474193612/">This photo is really cute</a>, but it starts to lose it&#8217;s shine after <em>randomly</em> showing for the tenth time.</p>
<p>Luckily I can circumvent this by checking if I already showed you this photo, and then requesting another one. I&#8217;m kind of forcing randomness here, I guess.</p>
<h2>Sometimes, one means zero</h2>
<p>Lastly, I tell the API to only return one photo, because, well, I only need to display one, and requesting more is wasting both my and Flickr&#8217;s bandwidth. However sometimes in the API one means zero and no photo gets returned. It doesn&#8217;t give an error or anything, but it doesn&#8217;t give me a photo either. This problem goes away entirely when you request two photos. So that&#8217;s what I do now. If it does go wrong again, I have a sickeningly adorable <a href="http://randomcuteanimal.com/500">Red panda</a> on my error page that should see you through to the next page refresh.</p>
<p>Thus concludes a weekend of playing with the Flickr API. The above three problems are <em>very annoying</em> so I hope Flickr will improve their search to fix these problems. If only so I can show people even more <a href="http://randomcuteanimal">cute animals</a> ;)</p>
<p>This article is written by Kilian Valkhof, Front-end developer & User experience designer. Please visit <a href="http://kilianvalkhof.com">KilianValkhof.com</a> for more articles!<br/><br/><a href="http://kilianvalkhof.com/2010/web/flickr-fix-your-api/">Flickr, please fix your API!</a></p>
 <p><a href="http://kilianvalkhof.com/?flattrss_redirect&amp;id=851&amp;md5=2aa17ff11e3f9e02f20efbeddbf8a49b" title="Flattr" target="_blank"><img src="http://kilianvalkhof.com/wp-content/plugins/flattrss/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://kilianvalkhof.com/2010/web/flickr-fix-your-api/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=28694&amp;popout=1&amp;url=http%3A%2F%2Fkilianvalkhof.com%2F2010%2Fweb%2Fflickr-fix-your-api%2F&amp;language=en_GB&amp;category=text&amp;title=Flickr%2C+please+fix+your+API%21&amp;description=The+past+weekend%2C+I+built+randomcuteanimal.com%2C+which+shows+you+a+random+CC-licensed+Flickr+photo+of+a+cute+animal.+This+being+cute+animals%2C+I+have+to+block+out+a+lot+of...&amp;tags=blog" type="text/html" />
	</item>
		<item>
		<title>Which one of these is not a web browser?</title>
		<link>http://kilianvalkhof.com/2010/web/which-one-of-these-is-not-a-browser/</link>
		<comments>http://kilianvalkhof.com/2010/web/which-one-of-these-is-not-a-browser/#comments</comments>
		<pubDate>Mon, 25 Oct 2010 08:00:40 +0000</pubDate>
		<dc:creator>Kilian Valkhof</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://kilianvalkhof.com/?p=835</guid>
		<description><![CDATA[<blockquote><p>Who cares if people don't know the difference between a browser and a search engine.</p></blockquote><p>This article is written by Kilian Valkhof, Front-end developer & User experience designer. Please visit <a href="http://kilianvalkhof.com">KilianValkhof.com</a> for more articles!<br/><br/><a href="http://kilianvalkhof.com/2010/web/which-one-of-these-is-not-a-browser/">Which one of these is not a web browser?</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Getting people to understand what we webdevelopers do can be hard. Just look at the infamous Google video <a href="http://www.youtube.com/watch?v=o4MwTvtyrUQ">asking people what a web browser is</a>, with no one having a clue. <a href="http://www.omgubuntu.co.uk/2010/10/which-of-these-is-not-a-web-browser/">OMG!Ubuntu!</a> recently posted about something similar, where a question on the Indian &#8220;Who wants to be a millionaire&#8221; was <em>&#8220;Which one of these is not a web browser?&#8221;</em>. The choice was between Firefox, Opera, Facebook and Chrome. Did the contestant pick correctly?<span id="more-835"></span></p>
<p><img src="http://kilianvalkhof.com/uploads/wwtam.jpg" alt="screenshot of the television show" style="width:100%"></p>
<h3>She did!</h3>
<p>&hellip;But it took the entire audience.</p>
<p>What interested me though, is the conclusion OMG!Ubuntu! came with:</p>
<blockquote><p>But dig a little deeper and people are actually a lot smarter than given credit for. Had those people [...] been given a laptop and asked to log in to Facebook the majority would’ve managed it fine.</p>
</blockquote>
<p>And that&#8217;s just it. Who cares if people don&#8217;t know the difference between a browser and a search engine. They can use their computers to visit <em>your website</em>, that&#8217;s awesome. </p>
<h2>Apps</h2>
<p>On Ubuntu (and mac OSX, too) the lines between a web app and a desktop app are blurring. You can use <a href="http://www.appcelerant.com/titanium-preview-release-pr3.html">HTML + CSS + javascript to make desktop apps</a>, and websites can be <a href="http://mozillalabs.com/prism/">installed as if they were regular applications</a>. With desktop and web apps blurring together, the concept of a browser is getting increasingly vague.</p>
<p>Knowing what a browser is isn&#8217;t important, it&#8217;s knowing how to use one that is.</p>
<p>This article is written by Kilian Valkhof, Front-end developer & User experience designer. Please visit <a href="http://kilianvalkhof.com">KilianValkhof.com</a> for more articles!<br/><br/><a href="http://kilianvalkhof.com/2010/web/which-one-of-these-is-not-a-browser/">Which one of these is not a web browser?</a></p>
 <p><a href="http://kilianvalkhof.com/?flattrss_redirect&amp;id=835&amp;md5=69eb2af98b82e31bacd433a12860eb7d" title="Flattr" target="_blank"><img src="http://kilianvalkhof.com/wp-content/plugins/flattrss/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://kilianvalkhof.com/2010/web/which-one-of-these-is-not-a-browser/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=28694&amp;popout=1&amp;url=http%3A%2F%2Fkilianvalkhof.com%2F2010%2Fweb%2Fwhich-one-of-these-is-not-a-browser%2F&amp;language=en_GB&amp;category=text&amp;title=Which+one+of+these+is+not+a+web+browser%3F&amp;description=Getting+people+to+understand+what+we+webdevelopers+do+can+be+hard.+Just+look+at+the+infamous+Google+video+asking+people+what+a+web+browser+is%2C+with+no+one+having+a...&amp;tags=blog" type="text/html" />
	</item>
		<item>
		<title>Open source updates</title>
		<link>http://kilianvalkhof.com/2010/web/open-source-updates/</link>
		<comments>http://kilianvalkhof.com/2010/web/open-source-updates/#comments</comments>
		<pubDate>Mon, 27 Sep 2010 08:00:30 +0000</pubDate>
		<dc:creator>Kilian Valkhof</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SenCSs]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://kilianvalkhof.com/?p=796</guid>
		<description><![CDATA[<blockquote></p>Announced at the beginning of this year, Grafico has seen a bunch of cool improvements</p></blockquote><p>This article is written by Kilian Valkhof, Front-end developer & User experience designer. Please visit <a href="http://kilianvalkhof.com">KilianValkhof.com</a> for more articles!<br/><br/><a href="http://kilianvalkhof.com/2010/web/open-source-updates/">Open source updates</a></p>
]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while since I&#8217;ve written about a bunch of my open source projects, but that doesn&#8217;t mean they&#8217;re not still being maintained. Trimage, Grafico, F.lux and SenCSs are all still actively worked on. Read on to find out what&#8217;s been happening with them.<span id="more-796"></span></p>
<h2>SenCSs</h2>
<p>When last <a href="http://kilianvalkhof.com/2010/sencss/sencss-0-7-is-out/">written about</a>, SenCSs was at version 0.7. We&#8217;re currently at version 0.8.1, with a bunch of vertical rhythm fixes, mostly for form elements, and added support for HTML5 elements. You can now add it to the list of &#8220;HTML5 CSS frameworks&#8221;. ;) Though, &#8220;framework&#8221; it is not, so I decided to just rename it to what it is: a Baseline. </p>
<p>Get more info at <a href="http://sencss.kilianvalkhof.com">SenCSs.kilianvalkhof.com</a></p>
<h2>F.lux for Ubuntu</h2>
<p>After releasing <a href="http://kilianvalkhof.com/2010/linux/flux-for-ubuntu/">F.lux for Ubuntu</a> this summer, It went from 1.1.1 to 1.1.8 mostly improving stability and making different parts of the application (such as the preview button) work more like users expect. I&#8217;ve also been working on KDE/XFCE support, which was kind of finnicky due to the way I select the indicator applet icon. Version 1.1.9, which will be released soon, will hopefully bring this support. After that, it&#8217;s onward to 1.2, which will include the &#8216;turn off for an hour&#8217; functionality.</p>
<p>Get more info at <a href="http://stereopsis.com/flux/linux.html">stereopsis.com/flux/linux.html</a></p>
<h2>Trimage</h2>
<p>After announcing Trimage in <a href="http://kilianvalkhof.com/2010/web/trimage-image-compressor/">March of this year</a>, I&#8217;ve gone from 1.0.0-beta to 1.0.5, with a slew of added functionality in between. I&#8217;ve gotten a lot of help from people such as <a href="http://github.com/kalmi">Tarnay Kálmán</a> and <a href="http://github.com/bistory">Thomas Lété</a> in adding cool new functions. Here&#8217;s what has changed since 1.0.0:</p>
<ul>
<li>Correct unicode support for all filenames</li>
<li>Adding a notification area icon</li>
<li>Using a threadpool for processing (much faster)</li>
<li>Showing more statistics when compressing</li>
<li>Window geometry and last opened directory are now remembered</li>
<li>Ability to drag in entire folders</li>
<li>Prevent Trimage from overwriting already smaller images</li>
<li>Add PNGcrush to get even better compression</a>
<li>Miscelanious speed improvements</li>
</ul>
<p>A while ago I tried getting Trimage into Debian via <a href="http://mentors.debian.net/cgi-bin/welcome">debian-mentors</a>. This was unfortunately a very opaque process and in the end no-one wanted to sponsor Trimage despite numerous changes to the build system. I&#8217;d still like to get Trimage into the main repositories, so if anyone wants to help me out, that would be greatly appreciated.</p>
<p>For 1.1, <a href="http://paulchaplin.com">Paul</a> is going to update the command line options and generally use his python-fu to improve stuff.</p>
<p>Get more info at <a href="http://trimage.org">trimage.org</a></p>
<h2>Grafico</h2>
<p>Announced at the beginning of this year, Grafico has seen a bunch of cool improvements. Within a week, Jan Paul Posma implemented stream graph functionality (after I mentioned the math was much too hard for me, ahem&hellip;). Since then, <a href="http://github.com/suranyami">David Parry</a> added <a href="http://grafico.kilianvalkhof.com/documentation/index.html#stackbar">stacked bar charts</a>, <a href="http://github.com/rymai">Rémy Coutable</a> greatly improved my hover code while <a href="http://github.com/japetheape">Jaap van der Meer</a> improved the control of text in the hovers, <a href="http://github.com/menno">Menno van der Sman</a> implemented an <em>awesome</em> axis-value algorithm and a lot of options have become much more customizable. Most charts now support negative values as well as positive values, and I&#8217;ve done a whole slew of bug fixes and speed improvements.</p>
<p>Get more info at <a href="http://grafico.kilianvalkhof.com">Grafico.kilianvalkhof.com</a></p>
<p>All in all, a whole bunch of work by a whole bunch of awesome people!</p>
<p>This article is written by Kilian Valkhof, Front-end developer & User experience designer. Please visit <a href="http://kilianvalkhof.com">KilianValkhof.com</a> for more articles!<br/><br/><a href="http://kilianvalkhof.com/2010/web/open-source-updates/">Open source updates</a></p>
 <p><a href="http://kilianvalkhof.com/?flattrss_redirect&amp;id=796&amp;md5=5f7c88276be52ba4db9b12318d0362b2" title="Flattr" target="_blank"><img src="http://kilianvalkhof.com/wp-content/plugins/flattrss/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://kilianvalkhof.com/2010/web/open-source-updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=28694&amp;popout=1&amp;url=http%3A%2F%2Fkilianvalkhof.com%2F2010%2Fweb%2Fopen-source-updates%2F&amp;language=en_GB&amp;category=text&amp;title=Open+source+updates&amp;description=It%26%238217%3Bs+been+a+while+since+I%26%238217%3Bve+written+about+a+bunch+of+my+open+source+projects%2C+but+that+doesn%26%238217%3Bt+mean+they%26%238217%3Bre+not+still+being+maintained.+Trimage%2C+Grafico%2C+F.lux+and+SenCSs+are...&amp;tags=blog" type="text/html" />
	</item>
		<item>
		<title>A web app in a weekend: Lystener.com</title>
		<link>http://kilianvalkhof.com/2010/web/a-web-app-in-a-weekend-lystener-com/</link>
		<comments>http://kilianvalkhof.com/2010/web/a-web-app-in-a-weekend-lystener-com/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 06:00:14 +0000</pubDate>
		<dc:creator>Kilian Valkhof</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://kilianvalkhof.com/?p=711</guid>
		<description><![CDATA[<blockquote><p>Posting lyrics to Facebook and Twitter is something a lot of people do, and the process for that sucks</p></blockquote><p>This article is written by Kilian Valkhof, Front-end developer & User experience designer. Please visit <a href="http://kilianvalkhof.com">KilianValkhof.com</a> for more articles!<br/><br/><a href="http://kilianvalkhof.com/2010/web/a-web-app-in-a-weekend-lystener-com/">A web app in a weekend: Lystener.com</a></p>
]]></description>
			<content:encoded><![CDATA[<p>A week ago on Friday I woke up with a great idea for a web app. I wrote the entire idea down in a couple of minutes, <a href="http://twitter.com/kilianvalkhof/status/16453636010">tweeted</a> about it&#8230; and went to my grandma to fix her computer and talk about politics.<span id="more-711"></span> </p>
<h2>The idea</h2>
<p>Finding lyrics has been a longstanding pet-peeve of mine. A lot of music players don&#8217;t allow to you easily copy the title and artist so you have to manually type them into Google. Once you&#8217;re there, most sites are cluttered and spammy. Way too annoying.</p>
<p><a href="http://lystener.com">Lystener</a> asks you for your last.fm username, and then displays the lyrics to what you&#8217;re listening to. Simple but effective.</p>
<p>But that&#8217;s not the entire idea. Posting lyrics to Facebook and Twitter is something a lot of people do, and the process for that sucks, too: you had to find the lyrics via Google and the spammy sites I mentioned earlier, copy the part you like, paste it into the form on Twitter or Facebook, format it, add the title and artist and only then you&#8217;d be done. With Lystener, you just select the lyrics you like and Lystener takes care of the rest, leaving you to just click the &#8216;tweet&#8217; or &#8216;publish&#8217; button.</p>
<h2>Launch!</h2>
<div style="text-align:center">
<p><a style="border:0" href="http://lystener.com"><br />
<img src="http://lystener.com/media/stylesheets/../images/logo.png" alt="" /><br />Lystener.com</a></p>
</div>
<p>Go check it out! I&#8217;m pretty exited to see what everyone thinks, so please let me know. I have a whole bunch of ideas lined up to expand Lystener, but if you have ideas I&#8217;d love to hear them. To keep up with the updates, follow <a href="http://twitter.com/lystenerapp">@LystenerApp</a> on Twitter or like <a href="http://www.facebook.com/apps/application.php?id=138063006204033">Lystener on Facebook</a>.</p>
<p>Read on to know how I made it:</p>
<h2>The process</h2>
<p>After getting home I bought the domain name (I had thought up a name in that great moment when you&#8217;re not quite sleeping and not quite awake yet and everything is clear as glass.) and started sketching and coding. At the end of the day, the app was <a href="http://twitter.com/kilianvalkhof/status/16483662403">60% done</a> and after working on it for the entire Saturday, the <a href="http://twitter.com/kilianvalkhof/status/16558414720">minimum viable version</a> was done as well. I invited people for the &#8216;beta&#8217; and gave people access on Sunday, requesting feedback in the process.</p>
<p>That&#8217;s it, a web app in a weekend. What now?</p>
<p>The response under my beta testers was overwhelmingly positive, save for one thing: the lyrics themselves. I used an API that didn&#8217;t give full lyrics, and didn&#8217;t have a lot of songs, and was really error prone. It sucked. A website can work well technically, but if it doesn&#8217;t display what you want, or only partially displays it, it&#8217;s not useful.</p>
<p>So I decided to switch over to another API, the <a href="http://chartlyrics.com">chartlyrics</a> API. It had a lot more matches, it provided full lyrics and if lyrics were missing, they have options to easily add the lyrics. From Sunday to Thursday I tweaked my fetching script to find more lyrics and match better.</p>
<p>I&#8217;ll be iterating <a href="http://lystener.com">Lystener.com</a> from now on, and if you have ideas I&#8217;d love to hear them!</p>
<p>This article is written by Kilian Valkhof, Front-end developer & User experience designer. Please visit <a href="http://kilianvalkhof.com">KilianValkhof.com</a> for more articles!<br/><br/><a href="http://kilianvalkhof.com/2010/web/a-web-app-in-a-weekend-lystener-com/">A web app in a weekend: Lystener.com</a></p>
 <p><a href="http://kilianvalkhof.com/?flattrss_redirect&amp;id=711&amp;md5=13e5258425ee81331c8f205a3a795d0c" title="Flattr" target="_blank"><img src="http://kilianvalkhof.com/wp-content/plugins/flattrss/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://kilianvalkhof.com/2010/web/a-web-app-in-a-weekend-lystener-com/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=28694&amp;popout=1&amp;url=http%3A%2F%2Fkilianvalkhof.com%2F2010%2Fweb%2Fa-web-app-in-a-weekend-lystener-com%2F&amp;language=en_GB&amp;category=text&amp;title=A+web+app+in+a+weekend%3A+Lystener.com&amp;description=A+week+ago+on+Friday+I+woke+up+with+a+great+idea+for+a+web+app.+I+wrote+the+entire+idea+down+in+a+couple+of+minutes%2C+tweeted+about+it%26%238230%3B...&amp;tags=blog" type="text/html" />
	</item>
		<item>
		<title>Fronteers Conference 2010</title>
		<link>http://kilianvalkhof.com/2010/web/fronteers-conference-2010/</link>
		<comments>http://kilianvalkhof.com/2010/web/fronteers-conference-2010/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 10:12:11 +0000</pubDate>
		<dc:creator>Kilian Valkhof</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://kilianvalkhof.com/?p=701</guid>
		<description><![CDATA[<blockquote><p>In terms of topics, We're shooting for a more diverse range of topics than last year</p></blockquote><p>This article is written by Kilian Valkhof, Front-end developer & User experience designer. Please visit <a href="http://kilianvalkhof.com">KilianValkhof.com</a> for more articles!<br/><br/><a href="http://kilianvalkhof.com/2010/web/fronteers-conference-2010/">Fronteers Conference 2010</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Like last year and the year before that, Fronteers is organising the best Front-end conference in the world. I know, because I&#8217;m helping organize it ;) Fronteers 2010 is going to be our best conference yet, with two days of the absolute top when it comes to front-end speakers. You can get <a href="http://fronteers.nl/congres/2010/tickets">early bird tickets</a> until next Wednesday, so be quick!<span id="more-701"></span></p>
<p>Fronteers 2010 will be held the 7th and 8th of October in the beautiful Tuschinski Theatre in Amsterdam. While usually a movie theatre, we&#8217;ll be using the gorgeous room with awesome soft, red cinema seats, a huge stage and an absolutely gorgeous art-deco interior as the place where, for two days straight, the best of the best of front-end will come together.</p>
<h3>Speakers</h3>
<p><a href="http://fronteers.nl/congres/2010">Fronteers 2010</a> has an impressive <a href="http://fronteers.nl/congres/2010/speakers">list of speakers</a>:</p>
<ul>
<li>Cameron Adams</li>
<li>Jina Bolton</li>
<li>Jeff Croft</li>
<li>Brendan Eich</li>
<li>Jeremy Keith</li>
<li>Nicholas Zakas</li>
</ul>
<p>And those are just the first six of our <em>fourteen</em> presentations covered! Just yesterday we also announced Brad Neuberg and Steve Faulkner + Hans Hillen, and you can expect a whole bunch of really cool names to follow in the next couple of months.</p>
<p>The conference will be hosted by my buddy <a href="http://twitter.com/juice10">Justin</a>, who did an excellent job at being the master of ceremonies, last year.</p>
<p>In terms of topics, We&#8217;re shooting for a more diverse range of topics than last year, while still keeping the technical level high. Expect topics dealing with HTML5, CSS3, JavaScript, performance, SVG and accessibility.</p>
<h3>Workshops</h3>
<p>Apart from two days of awesome presentations, this year we also host two <a href="http://fronteers.nl/congres/2010/workshops">workshop days</a> in advance of the Conference. One workshop by Andy Clarke, and one by Dan Rubin. The former will be interesting to front-end developers looking to really hone their skills and be updates to all the latest CSS3 goodness, while the latter is set up specifically for designers interested in starting with CSS, or at least getting more of a grip on it.</p>
<h3>Tickets</h3>
<p>As of writing, there are just 50 early bird tickets left, at the insane price of just &euro; 275. After next week, the price for a ticket will go up with 100 euro. So, go get some tickets and I&#8217;ll see you there!</p>
<p>This article is written by Kilian Valkhof, Front-end developer & User experience designer. Please visit <a href="http://kilianvalkhof.com">KilianValkhof.com</a> for more articles!<br/><br/><a href="http://kilianvalkhof.com/2010/web/fronteers-conference-2010/">Fronteers Conference 2010</a></p>
 <p><a href="http://kilianvalkhof.com/?flattrss_redirect&amp;id=701&amp;md5=6dfe2bb7d5609a08b1a26c04e4cd96ab" title="Flattr" target="_blank"><img src="http://kilianvalkhof.com/wp-content/plugins/flattrss/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://kilianvalkhof.com/2010/web/fronteers-conference-2010/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=28694&amp;popout=1&amp;url=http%3A%2F%2Fkilianvalkhof.com%2F2010%2Fweb%2Ffronteers-conference-2010%2F&amp;language=en_GB&amp;category=text&amp;title=Fronteers+Conference+2010&amp;description=Like+last+year+and+the+year+before+that%2C+Fronteers+is+organising+the+best+Front-end+conference+in+the+world.+I+know%2C+because+I%26%238217%3Bm+helping+organize+it+%3B%29+Fronteers+2010+is+going...&amp;tags=blog" type="text/html" />
	</item>
		<item>
		<title>Trimage image compressor</title>
		<link>http://kilianvalkhof.com/2010/web/trimage-image-compressor/</link>
		<comments>http://kilianvalkhof.com/2010/web/trimage-image-compressor/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 10:26:06 +0000</pubDate>
		<dc:creator>Kilian Valkhof</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://kilianvalkhof.com/?p=605</guid>
		<description><![CDATA[<blockquote><p> I wanted an easier way to compress my files that didn't involve mucking about on the command line or uploading all my images to some server far away via a crappy flash application.</p></blockquote><p>This article is written by Kilian Valkhof, Front-end developer & User experience designer. Please visit <a href="http://kilianvalkhof.com">KilianValkhof.com</a> for more articles!<br/><br/><a href="http://kilianvalkhof.com/2010/web/trimage-image-compressor/">Trimage image compressor</a></p>
]]></description>
			<content:encoded><![CDATA[<p>As a front-end developer, minimizing your images is important. Compressed images load faster and take less time to download. However, most current tools that can do that are command line applications that only support one type of image, and oftentimes do not have the same API. To scratch my own itch I build a cross-platform GUI image compressor.<span id="more-605"></span></p>
<h2>Trimage</h2>
<p>Trimage is a GUI front-end to a couple of command line tools available on most linux based systems (though it should work on mac and windows, too), and can <em>losslessy</em> compress both PNG and JPG files. It looks native, (dare I say) pretty and is very easy to use.</p>
<p>That&#8217;s why Trimage has multiple ways of accepting files: You can drop them onto the app, you can open them via a file dialog, and you can feed it images or entire directories via the command line. So you can pick the method you find most comfortable, and use that.</p>
<p>More information can be found on the website: <strong><a href="http://trimage.org">Trimage.org</a></strong>.</p>
<p><img src="http://trimage.org/image.png" alt="screenshot of trimage"></p>
<h2>How to install</h2>
<p>For the moment, I only have installation guides for Ubuntu and other linux-based systems. If you can help me with Mac and Windows, please e-mail me at <a href="mailto:help@trimage.org">help@trimage.org</a>!</p>
<h3>Ubuntu</h3>
<p>Ubuntu is by far the easiest to install. If you&#8217;re on karmic or lucid, simply enter this into your console:</p>
<ol>
<li><code>sudo add-apt-repository ppa:kilian/trimage</code></li>
<li><code>sudo apt-get update</code></li>
<li><code>sudo apt-get install trimage</code></li>
</ol>
<p>If you are still on Jaunty, read <a href="https://launchpad.net/+help/soyuz/ppa-sources-list.html">this guide</a> on installing PPA&#8217;s.</p>
<h3>Other Linux:</h3>
<p>I&#8217;m still looking for help with making .debs, .rpms and the like, but you can install Trimage via python as well:</p>
<ol>
<li>Download the source via <a href="http://github.com/Kilian/Trimage">GitHub</a> or <a href="https://launchpad.net/trimage">Launchpad</a></li>
<li>Make sure you have all the requirements installed: python <em>2.6</em>, python-qt4 <em>4.4</em>, optipng <em>0.6.2.1</em>, advancecomp <em>1.15</em>, jpegoptim <em>1.2.2</em>, or higher versions</li>
<li>Enter <code>python setup.py install</code> into your console</li>
<li>Launch by executing <code>trimage</code></li>
</ol>
<h2>Why and how</h2>
<p>As I said in the intro, I wrote this mostly to scratch my own itch. I wanted an easier way to compress my files that didn&#8217;t involve mucking about on the command line or uploading all my images to some server far away via a crappy flash application.</p>
<p>Trimage was <a href="http://news.ycombinator.com/item?id=1032135">inspired by</a> <a href="http://imageoptim.pornel.net">ImageOptim</a>. It is made using python and the PyQt GUI framework. The choice for PyQt was made for a couple of reasons: the Qt4 designer is very easy to use, it&#8217;s available cross-platform and most importantly, it provides native widgets. As the latter is my number one annoyance, and I actively avoid using programs that do not look like they belong in my gnome desktop, this was a big issue for me. <a href="http://paulchaplin.com">Paul Chaplin</a> helped me with a lot of the python stuff.</p>
<p>However, PyQt has some downsides as well. For one. The <a href="http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/classes.html">documentation</a> is bad. It&#8217;s not complete, hard to read and sometimes isn&#8217;t even correct. That&#8217;s not to say it&#8217;s unusable, but it clearly needs some more love.</p>
<p>Where the documentation lacks however, the #pyqt IRC channel on freenode is <em>awesome</em>. There are a bunch of really smart and nice people there that go out of their way to help you. Every community should be like this.</p>
<p>If you want to build a GUI app for Ubuntu using python, the best start you can get is <a href="https://code.launchpad.net/~rowinggolfer/pyapptemplate/main">PyAppTemplate</a> by Neil Wallace, which takes care of all the Hoohaa and voodoo that goes into a setup.py and the debian build files. It took me a day to try and figure it all out by myself, and then an hour to get it working using PyAppTemplate.</p>
<h3>Future development</h3>
<p>As you can see on the <a href="http://trimage.org">website</a>, I have a bunch of features lined up for the coming versions. All development is done on <a href="http://github.com/Kilian/Trimage">GitHub</a>, so if you want to help out, add more options or scratch an item from the todo, I appreciate all help!</p>
<p>This article is written by Kilian Valkhof, Front-end developer & User experience designer. Please visit <a href="http://kilianvalkhof.com">KilianValkhof.com</a> for more articles!<br/><br/><a href="http://kilianvalkhof.com/2010/web/trimage-image-compressor/">Trimage image compressor</a></p>
 <p><a href="http://kilianvalkhof.com/?flattrss_redirect&amp;id=605&amp;md5=10b1ea3730bec5d4d8ad2d354830e19b" title="Flattr" target="_blank"><img src="http://kilianvalkhof.com/wp-content/plugins/flattrss/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://kilianvalkhof.com/2010/web/trimage-image-compressor/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=28694&amp;popout=1&amp;url=http%3A%2F%2Fkilianvalkhof.com%2F2010%2Fweb%2Ftrimage-image-compressor%2F&amp;language=en_GB&amp;category=text&amp;title=Trimage+image+compressor&amp;description=As+a+front-end+developer%2C+minimizing+your+images+is+important.+Compressed+images+load+faster+and+take+less+time+to+download.+However%2C+most+current+tools+that+can+do+that+are+command+line...&amp;tags=blog" type="text/html" />
	</item>
		<item>
		<title>Websites that don&#8217;t work without www</title>
		<link>http://kilianvalkhof.com/2009/web/websites-that-dont-work-without-www/</link>
		<comments>http://kilianvalkhof.com/2009/web/websites-that-dont-work-without-www/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 03:00:45 +0000</pubDate>
		<dc:creator>Kilian Valkhof</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://kilianvalkhof.com/?p=438</guid>
		<description><![CDATA[<blockquote><p>This was a fun little project I made in a couple of evenings.</p></blockquote><p>This article is written by Kilian Valkhof, Front-end developer & User experience designer. Please visit <a href="http://kilianvalkhof.com">KilianValkhof.com</a> for more articles!<br/><br/><a href="http://kilianvalkhof.com/2009/web/websites-that-dont-work-without-www/">Websites that don&#8217;t work without www</a></p>
]]></description>
			<content:encoded><![CDATA[<p>One of my biggest internet-petpeeves is websites that force you to put <em>www.</em> in front of them. It&#8217;s 2009, so we should be able to get by with just the domain name, right? Wrong. There are still quite some websites that simply don&#8217;t work without www.<span id="more-438"></span></p>
<p>So I decided some action needed to be taken. I got the domainname <a href="http://websitesthatdontworkwithoutwww.com">websitesthatdontworkwithoutwww.com</a>, installed <a href="http://chyrp.net/">Chyrp</a>, got a <a href="http://thumbalizr.com/">Thumbalizr</a> API key and started making a list. <em>Name &#8216;em and shame &#8216;em!</em>. If any of the websites fix their non-www version, the without thumbnail will automatically update and I&#8217;ll add a link to their site :)</p>
<h3>Input time</h3>
<p>The site is there, and it has a couple of websites on it, but now I need your input to start adding more and more! If you encounter sites that don&#8217;t work without www., please send them to <a href="mailto:submit@websitesthatdontworkwithoutwww.com">submit@websitesthatdontworkwithoutwww.com</a>. You can also @reply the twitter account: <a href="http://twitter.com/wtdwww">@wtdwww</a>. (and better yet, follow it!)</p>
<h3>The Firefox thing</h3>
<p>During development I got a couple of remarks that &#8220;well, site X just works you know&#8221;, to which I could wittily (*ahem*) reply &#8220;Nope, it doesn&#8217;t. I bet you use Firefox 3.5!&#8221;. That&#8217;s because Firefox 3.5 automatically adds www. in front of domain names if they don&#8217;t work without. While this is awesome for end users, it just hides the fact that a lot of hosting providers/webmasters are incompetent at doing their jobs. In that regard it&#8217;s a shame.</p>
<p>Since I don&#8217;t want to just point and laught, fun as that is, I&#8217;ve also added a <a href="http://websitesthatdontworkwithoutwww.com/help">help</a> page, where some explanation of how to fix the non-www website will be placed. I&#8217;m still working on that, if you want you can help (just shoot me an e-mail!)</p>
<p>This was a fun little project I made in a couple of evenings. I still have to soften up some of the edges and tweak parts of the &#8220;site&#8221;, but overall I&#8217;m pretty happy with how easy it was to set up.</p>
<p>This article is written by Kilian Valkhof, Front-end developer & User experience designer. Please visit <a href="http://kilianvalkhof.com">KilianValkhof.com</a> for more articles!<br/><br/><a href="http://kilianvalkhof.com/2009/web/websites-that-dont-work-without-www/">Websites that don&#8217;t work without www</a></p>
 <p><a href="http://kilianvalkhof.com/?flattrss_redirect&amp;id=438&amp;md5=23ff54d19ae9e512c42d984720205e0c" title="Flattr" target="_blank"><img src="http://kilianvalkhof.com/wp-content/plugins/flattrss/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://kilianvalkhof.com/2009/web/websites-that-dont-work-without-www/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=28694&amp;popout=1&amp;url=http%3A%2F%2Fkilianvalkhof.com%2F2009%2Fweb%2Fwebsites-that-dont-work-without-www%2F&amp;language=en_GB&amp;category=text&amp;title=Websites+that+don%26%238217%3Bt+work+without+www&amp;description=One+of+my+biggest+internet-petpeeves+is+websites+that+force+you+to+put+www.+in+front+of+them.+It%26%238217%3Bs+2009%2C+so+we+should+be+able+to+get+by+with+just+the...&amp;tags=blog" type="text/html" />
	</item>
	</channel>
</rss>

