-
Interim Move to Jekyll and GitHub
16. February 2018
Roundabout two years ago I decided to get rid of Wordpress and the full stack of PHP and MySQL. About my reasons for this decision I’ve blogged here. As a result I decided to write my own simple blog solution: Uberblog. This was a weekend project which served me well, until I decided to reinstall my root server from scratch. Then the hassle with Ruby, Gems and dependency versions started. It was so much fiddling to get these quite simple Ruby scripts running again with their dependencies.…
-
Passenger On Board
7. April 2012
In my first approach I was running the Sinatra app for the REST API of my blog (for ratings etc.) from command line. This has the drawback that the HTTP daemon integrated in Sinatra listens on a different port than the rest of the blog. This leads to same origin problems when ajaxing the REST API. To circumvent this I’ve used a small proxy script as a workaround. But now I’ve found Passenger (aka.…
-
Chrome Dev Tools Reloaded
1. April 2012
Are you using Firebug or Venkman? Did you ever tried the Chrome developer tools? If your answers were yes and no you should watch this video from Google IO 2011 about the Chrome developer tools: If your answers were no and no you should consider watching the video, too. And you should think about better ways than sprinkling alert() all over you’re code and forget them there for the joy of the user.…
-
Uberblog 1.0
1. April 2012
Two weeks ago I announced that I’ll no longer use Wordpress but a more simple self programmed solution. Now I’m at the point that I can say: I’ve a version with all features I need. The version 1.0. Why did I choose this way? As described in my former post I’ve used Wordpress quite a long time. And I don’t want to rant too much about Wordpress, PHP and the whole universe.…
-
Debian and the Outdated Ruby Gems
23. March 2012
Debian is in my personal opinion the best Linux server distribution ever! I’ve never used something else. But one big drawback is that a lot of stuff is really outdated: With PHP you have to use backports. Java and Maven brings some hassle, too. And now I realized the same problem with Ruby Gems. But there is a solution as described here (german blog post). By default Debian disables the gem update --system to prevent circumventing the Debian packet management system.…
-
Post to Twitter with Ruby
23. March 2012
Just few hours ago I added the feature that new blog posts are posted to my Twitter account. With the twitter gem only a few lines of code necessary: require 'twitter' twitter = Twitter.new({ :consumer_key => 'YOUR_CONSUMER_KEY', :consumer_secret => 'YOUR_CONSUMER_SECRET', :oauth_token => 'YOUR_OAUTH_TOKEN', :oauth_token_secret => 'YOUR_OAUTH_TOKEN_SECRET' }) twitter.update('Hello world!') Shorten URIs with bitly gem is as simple as posting to twitter, too: require 'bitly' Bitly.use_api_version_3 bitly = Bitly.new('YOUR_USERNAME', 'YOUR_API_KEY') short_url = bitly.…
-
Hudson vs. Jenkins
21. March 2012
Do you remember Hudson CI? If you did some CI two years ago then you know Hudson and you also know that after the acquisition of Sun by Oracle there was hassle in the community. End of story was that the lead developer Khosuke and some of his fellows spun of the Jenkins project. That’s the short version. For the longer one ask the search engine of your choice. But one import issue for newbies to CI is the question: Which project should we use?…
-
Nice Resources For Learning Ruby
19. March 2012
If you ever wanted to start learning Ruby the big question to answer is: Where to star? I recommend Learning Ruby from the Pragmatic Programmers. Documentation for the Core and the Standard Library is available, too. Always a good place to find answers is Stack Overflow.
-
Fuck Of Wordpress
18. March 2012
Wordpress was my first blog software. I used it since roundabout six years now. Writing an own plugin for my blog was one of my first steps learning PHP. After my experiences with Java 1.4 and MS Visual C++ 6.0 from 2002 until 2005 I came over to the web scripting area and got in touch with PHP. The new OOP features and the short round trip time I liked.…
-
All Web Developers Should Stop Doing This Immediately, Too
16. February 2012
Christopher Mims complains about the fact that a website is treating him with his iPad as a second class citizen. He’s right that web developers shouldn’t do that. But he’s arguing that he don’t want to download the offered iPad-App because in his option this is antisocial doing that on a low bandwidth public wifi. Is it better to watch a video over that low bandwidth public wifi? And more important: I wanted to give him this feedback on his blog.…