<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
 
 <title>bjartek blog</title>
 <link href="http://bjartek.github.com/atom.xml" rel="self"/>
 <link href="http://bjartek.github.com/"/>
 <updated>2020-12-15T19:26:51+00:00</updated>
 <id>http://bjartek.github.com</id>
 <author>
   <name>Bjarte Stien Karlsen</name>
   <email>bjarte@bjartek.org</email>
 </author>

 
 <entry>
   <title>Brainstorming dekstop twitter client features</title>
   <link href="http://bjartek.github.com/2009/03/01/twitter-desktop-features.textile"/>
   <updated>2009-03-01T00:00:00+00:00</updated>
   <id>http://bjartek.github.com/2009/03/01/twitter-desktop-features</id>
   <content type="html">p(meta). 01 March 2009 - Kristiansand, Norway

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.

This post is a brainstorming in features for a desktop twitter client. 

* 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?
* filter incomming tweets. Based upon regex in the tweet, author of the tweet
* block noisy buddies
* 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
* retweeting support. and reply support with custom templates to do so.
* add urls to delicious support. automatically tag with #hashtags in tweet
* reply-to history. 
* set refresh rate
* lots of keyboard shortcuts. post new tweet, reply to active element, retweet active element, move to next/prev element, if reply see originating message. 
* ability to customize keyboard shortcuts in some way. ( I like vim, others like emacs..)
* show remaining requests allowed to twitter
* decouple GUI and engine so that is is possible to build several GUI's on top of the engine
* inspector view for currently selected tweet. To see profile, image etc. 
* process FriendsTimeline and predefined searches. 

&quot;David Briccetti&quot;:http://briccetti.blogspot.com/ has experimented with a twitter client in scala and swing. Several of these features are in his client. 

If anybody know of a twitter library that has some or more of these features then please let me know. 
</content>
 </entry>
 
 <entry>
   <title>New blog design, problem with active menu element in jekyll</title>
   <link href="http://bjartek.github.com/2009/02/19/new-blog-design.textile"/>
   <updated>2009-02-19T00:00:00+00:00</updated>
   <id>http://bjartek.github.com/2009/02/19/new-blog-design</id>
   <content type="html">p(meta). 19 Feb 2009 - Kristiansand, Norway

Decided that I wanted to freshen up my blog a little bit. I like the design of &quot;jboner&quot;:http://jonasboner.com and that of &quot;mojombo&quot;:http://tom.preston-werner.com/ so I set out to create a page inspired by them.

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. 

I guess this could be solved if I specified the menu as YAML 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.  

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. 

</content>
 </entry>
 
 <entry>
   <title>Dynamic menu highlighting in github pages</title>
   <link href="http://bjartek.github.com/2009/02/19/dynamic-menu-highlighting-in-github-pages.textile"/>
   <updated>2009-02-19T00:00:00+00:00</updated>
   <id>http://bjartek.github.com/2009/02/19/dynamic-menu-highlighting-in-github-pages</id>
   <content type="html">p(meta). 19 Feb 2009 - Kristiansand, Norway

Earlier today &quot;I blogged&quot;:http://bjartek.github.com/2009/02/19/new-blog-design.html  that I had problems with getting a dynamic menu configured in github pages. 

After some research and peeking at the jekyll source I found a sollution. In the
default style place the following yaml frontmatter:

&lt;pre name=&quot;code&quot; class=&quot;xml&quot;&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;

Then in all pages place a yaml frontmatter like:

&lt;pre name=&quot;code&quot; class=&quot;xml&quot;&gt;
---
layout: default
id: home
title: The title of the page/post
&lt;/pre&gt;

This id tells the system that the following page should highlight the home tab. 

The actual code to present the menu can be seen below. I had to replace {} with
() to get liquid to not parse the actual code.

&lt;pre name=&quot;code&quot; class=&quot;xml&quot;&gt;
&lt;div id=&quot;navcontainer&quot;&gt;
  &lt;ul id=&quot;navlist&quot;&gt;
    (% for element in page.menu %)
      (% if page.id == element.id %)
        &lt;li id=&quot;active&quot;&gt;
          &lt;a href=&quot;(( element.url ))&quot; id=&quot;current&quot;&gt;(( element.id ))&lt;/a&gt;
         &lt;/li&gt;
      (% else %)
        &lt;li&gt;&lt;a href=&quot;(( element.url ))&quot;&gt;(( element.id ))&lt;/a&gt;&lt;/li&gt;
      (% endif %)
    (% endfor %)
  &lt;/ul&gt;
&lt;/div&gt;
&lt;/pre&gt;

Feel free to reuse this code example in your blog if you want a dynamic menu.
</content>
 </entry>
 
 <entry>
   <title>Scala book in the house</title>
   <link href="http://bjartek.github.com/2008/12/20/scala-book-in-the-house.textile"/>
   <updated>2008-12-20T00:00:00+00:00</updated>
   <id>http://bjartek.github.com/2008/12/20/scala-book-in-the-house</id>
   <content type="html">p(meta). 19 Dec 2008 - Kristiansand, Norway

Today I received the deadtree version of my &quot;Programming in Scala/Stairway book&quot;:http://www.artima.com/shop/programming_in_scala. I can'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. 

Good timing as well, just when my christmas break starts. 

Congrats to Bill, Martin, Lex, Artima and the Scala community. 
</content>
 </entry>
 
 <entry>
   <title>Staring up github blog</title>
   <link href="http://bjartek.github.com/2008/12/19/starting-up-github-blog.textile"/>
   <updated>2008-12-19T00:00:00+00:00</updated>
   <id>http://bjartek.github.com/2008/12/19/starting-up-github-blog</id>
   <content type="html">p(meta). 19 Dec 2008 - Kristiansand, Norway

Yesterday I read about &quot;GitHub Pages&quot;:http://github.com/blog/272-github-pages 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. 

In order to create this page I took my old blueprint based design and borrowed
some setup tips for Jekyll from &quot;mojombo&quot;:http://github.com/mojombo/mojombo.github.com/tree/master.

Keep up the good work github!
</content>
 </entry>
 
 
</feed>
