<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">
 
 <title>bjartek blog</title>
 
 <link href="http://bjartek.github.com/" />
 <updated>2011-02-08T05:44:31-08:00</updated>
 <id>http://bjartek.github.com</id>
 <author>
   <name>Bjarte Stien Karlsen</name>
   <email>bjarte@bjartek.org</email>
 </author>

 
 <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/bjartek-all" /><feedburner:info uri="bjartek-all" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry>
   <title>Brainstorming dekstop twitter client features</title>
   <link href="http://feedproxy.google.com/~r/bjartek-all/~3/aGlBAY7ta2Y/twitter-desktop-features.html" />
   <updated>2009-03-01T00:00:00-08:00</updated>
   <id>http://bjartek.github.com/2009/03/01/twitter-desktop-features</id>
   <content type="html">&lt;p class="meta"&gt;01 March 2009 &amp;#8211; Kristiansand, Norway&lt;/p&gt;
&lt;p&gt;There are several twitter clients out there, but I feel that noen of them really fills the needs I have with twitter. I currently just use the webpage mostly. Sometimes I use twitterfic and get new tweets through growl.&lt;/p&gt;
&lt;p&gt;This post is a brainstorming in features for a desktop twitter client.&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;when fetching new tweets only process items that are not processed before. Does twitter support modified-since stuff so that it is possible to only fetch tweets after a given time?&lt;/li&gt;
	&lt;li&gt;filter incomming tweets. Based upon regex in the tweet, author of the tweet&lt;/li&gt;
	&lt;li&gt;block noisy buddies&lt;/li&gt;
	&lt;li&gt;create presets for filters/blocks so that it is possible to tune the client for given contexts. Sometimes you do not want to see all types of  tweets&lt;/li&gt;
	&lt;li&gt;retweeting support. and reply support with custom templates to do so.&lt;/li&gt;
	&lt;li&gt;add urls to delicious support. automatically tag with #hashtags in tweet&lt;/li&gt;
	&lt;li&gt;reply-to history.&lt;/li&gt;
	&lt;li&gt;set refresh rate&lt;/li&gt;
	&lt;li&gt;lots of keyboard shortcuts. post new tweet, reply to active element, retweet active element, move to next/prev element, if reply see originating message.&lt;/li&gt;
	&lt;li&gt;ability to customize keyboard shortcuts in some way. ( I like vim, others like emacs..)&lt;/li&gt;
	&lt;li&gt;show remaining requests allowed to twitter&lt;/li&gt;
	&lt;li&gt;decouple &lt;span class="caps"&gt;GUI&lt;/span&gt; and engine so that is is possible to build several GUI&amp;#8217;s on top of the engine&lt;/li&gt;
	&lt;li&gt;inspector view for currently selected tweet. To see profile, image etc.&lt;/li&gt;
	&lt;li&gt;process FriendsTimeline and predefined searches.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://briccetti.blogspot.com/"&gt;David Briccetti&lt;/a&gt; has experimented with a twitter client in scala and swing. Several of these features are in his client.&lt;/p&gt;
&lt;p&gt;If anybody know of a twitter library that has some or more of these features then please let me know.&lt;/p&gt;</content>
 <feedburner:origLink>http://bjartek.github.com/2009/03/01/twitter-desktop-features.html</feedburner:origLink></entry>
 
 <entry>
   <title>New blog design, problem with active menu element in jekyll</title>
   <link href="http://feedproxy.google.com/~r/bjartek-all/~3/KIDfZblPA0o/new-blog-design.html" />
   <updated>2009-02-19T00:00:00-08:00</updated>
   <id>http://bjartek.github.com/2009/02/19/new-blog-design</id>
   <content type="html">&lt;p class="meta"&gt;19 Feb 2009 &amp;#8211; Kristiansand, Norway&lt;/p&gt;
&lt;p&gt;Decided that I wanted to freshen up my blog a little bit. I like the design of &lt;a href="http://jonasboner.com"&gt;jboner&lt;/a&gt; and that of &lt;a href="http://tom.preston-werner.com/"&gt;mojombo&lt;/a&gt; so I set out to create a page inspired by them.&lt;/p&gt;
&lt;p&gt;I like the new design but I have one issue with jekyll that I am not sure how to solve. For my menu to work I need to set some css properties on the li of the active element.&lt;/p&gt;
&lt;p&gt;I guess this could be solved if I specified the menu as &lt;span class="caps"&gt;YAML&lt;/span&gt; in my default template and then checked on the page.title element to set the propper id/class elements. I am not sure how to do this in jekyll currently. If you can help me with this please send me a ping on twitter or in #jekyll on freenode.&lt;/p&gt;
&lt;p&gt;In order to solve my active menu element problem I have currently put the menu div in each of the pages instead of in the default template.&lt;/p&gt;</content>
 <feedburner:origLink>http://bjartek.github.com/2009/02/19/new-blog-design.html</feedburner:origLink></entry>
 
 <entry>
   <title>Dynamic menu highlighting in github pages</title>
   <link href="http://feedproxy.google.com/~r/bjartek-all/~3/yp_4qfggrBk/dynamic-menu-highlighting-in-github-pages.html" />
   <updated>2009-02-19T00:00:00-08:00</updated>
   <id>http://bjartek.github.com/2009/02/19/dynamic-menu-highlighting-in-github-pages</id>
   <content type="html">&lt;p class="meta"&gt;19 Feb 2009 &amp;#8211; Kristiansand, Norway&lt;/p&gt;
&lt;p&gt;Earlier today &lt;a href="http://bjartek.github.com/2009/02/19/new-blog-design.html"&gt;I blogged&lt;/a&gt;  that I had problems with getting a dynamic menu configured in github pages.&lt;/p&gt;
&lt;p&gt;After some research and peeking at the jekyll source I found a sollution. In the&lt;br /&gt;
default style place the following yaml frontmatter:&lt;/p&gt;
&lt;pre name="code" class="xml"&gt;
---
menu: 
- id: home
  url: /
- id: archive
  url: /content/archive.html
- id: talk
  url: /content/talk.html
- id: resume
  url: /content/resume.html
- id: about
  url: /content/about.html
&lt;/pre&gt;
&lt;p&gt;Then in all pages place a yaml frontmatter like:&lt;/p&gt;
&lt;pre name="code" class="xml"&gt;
---
layout: default
id: home
title: The title of the page/post
&lt;/pre&gt;
&lt;p&gt;This id tells the system that the following page should highlight the home tab.&lt;/p&gt;
&lt;p&gt;The actual code to present the menu can be seen below. I had to replace {} with&lt;br /&gt;
() to get liquid to not parse the actual code.&lt;/p&gt;
&lt;pre name="code" class="xml"&gt;
&amp;lt;div id="navcontainer"&amp;gt;
  &amp;lt;ul id="navlist"&amp;gt;
    (% for element in page.menu %)
      (% if page.id == element.id %)
        &amp;lt;li id="active"&amp;gt;
          &amp;lt;a href="(( element.url ))" id="current"&amp;gt;(( element.id ))&amp;lt;/a&amp;gt;
         &amp;lt;/li&amp;gt;
      (% else %)
        &amp;lt;li&amp;gt;&amp;lt;a href="(( element.url ))"&amp;gt;(( element.id ))&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
      (% endif %)
    (% endfor %)
  &amp;lt;/ul&amp;gt;
&amp;lt;/div&amp;gt;
&lt;/pre&gt;
&lt;p&gt;Feel free to reuse this code example in your blog if you want a dynamic menu.&lt;/p&gt;</content>
 <feedburner:origLink>http://bjartek.github.com/2009/02/19/dynamic-menu-highlighting-in-github-pages.html</feedburner:origLink></entry>
 
 <entry>
   <title>Scala book in the house</title>
   <link href="http://feedproxy.google.com/~r/bjartek-all/~3/RO9A20dMxqg/scala-book-in-the-house.html" />
   <updated>2008-12-20T00:00:00-08:00</updated>
   <id>http://bjartek.github.com/2008/12/20/scala-book-in-the-house</id>
   <content type="html">&lt;p class="meta"&gt;19 Dec 2008 &amp;#8211; Kristiansand, Norway&lt;/p&gt;
&lt;p&gt;Today I received the deadtree version of my &lt;a href="http://www.artima.com/shop/programming_in_scala"&gt;Programming in Scala/Stairway book&lt;/a&gt;. I can&amp;#8217;t wait to read the final paper version of the book. I have read most of the earlier betas but have not had the time to read the final version yet.&lt;/p&gt;
&lt;p&gt;Good timing as well, just when my christmas break starts.&lt;/p&gt;
&lt;p&gt;Congrats to Bill, Martin, Lex, Artima and the Scala community.&lt;/p&gt;</content>
 <feedburner:origLink>http://bjartek.github.com/2008/12/20/scala-book-in-the-house.html</feedburner:origLink></entry>
 
 <entry>
   <title>Staring up github blog</title>
   <link href="http://feedproxy.google.com/~r/bjartek-all/~3/-h4AIQ3Fsns/starting-up-github-blog.html" />
   <updated>2008-12-19T00:00:00-08:00</updated>
   <id>http://bjartek.github.com/2008/12/19/starting-up-github-blog</id>
   <content type="html">&lt;p class="meta"&gt;19 Dec 2008 &amp;#8211; Kristiansand, Norway&lt;/p&gt;
&lt;p&gt;Yesterday I read about &lt;a href="http://github.com/blog/272-github-pages"&gt;GitHub Pages&lt;/a&gt; and I just had to try it out. I think git it really cool and I love the work of the github staff. They constantly improve their offering and that is something I respect.&lt;/p&gt;
&lt;p&gt;In order to create this page I took my old blueprint based design and borrowed&lt;br /&gt;
some setup tips for Jekyll from &lt;a href="http://github.com/mojombo/mojombo.github.com/tree/master"&gt;mojombo&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Keep up the good work github!&lt;/p&gt;</content>
 <feedburner:origLink>http://bjartek.github.com/2008/12/19/starting-up-github-blog.html</feedburner:origLink></entry>
 
 
</feed>

