Archive for the 'web' Category

Stack Overflow: Ways out of the negativity

April 26th, 2014 by Alexander Kirk | Comments Comments Off

This is in response to the Stack Overflow Meta question: Why is Stack Overflow so negative of late? In my opinion the problem that Stack Overflow is currently facing is caused by a lot of new users that are characterized by user Mysticial as "help vampires". They care nothing for the site and just want […]

Fix qTranslate with WordPress 3.9

April 17th, 2014 by Alexander Kirk | Comments 12 Comments »

When updating a blog of mine to WordPress 3.9 the page wouldn't load anymore because of qTranslate not able to cope with the update. In the error log it says: PHP Catchable fatal error: Object of class WP_Post could not be converted to string in ../wp-content/plugins/qtranslate/qtranslate_core.php on line 455 The error is caused by this […]

Thinkery API launched

April 5th, 2013 by Alexander Kirk | Comments Comments Off

Just a quick note, we made the Thinkery API public. If you don't know thinkery.me, it is a simple yet powerful tool for storing both notes and bookmarks. The contents of the saved page is stored in your Thinkery which you can keep even if the webpage goes down. With #hashtags you can easily categorize […]

Genial Daneben Analyse

December 23rd, 2012 by Alexander Kirk | Comments Comments Off

Zur Abwechslung mal ein Post auf deutsch. Ich bin Fan der (inzwischen abgesetzten) Fernsehsendung Genial daneben. Es gibt da eine Genial Daneben Datenbank mit (nahezu) allen Fragen, die in den Sendungen vorkamen. Ohne konkreten Nutzen habe ich diese Daten aus der Text-Form in eine echte Datenbank konviertiert (Script hier) und bin zu folgender Tabelle gekommen. […]

Android WebView: Web page not available

October 11th, 2012 by Alexander Kirk | Comments Comments Off

Just a quick note in order to save someone else searching for a solution to this problem. When you want to display HTML content in an Android WebView do it like this: String html = "my >b<HTML content>/b<. 100% cool."; WebView webView = (WebView) findViewById(R.id.myWebView); webView.loadData(">?xml version=\"1.0\" encoding=\"UTF-8\" ?<" + html.replace("%","%25"), "text/html", "UTF-8"); If you […]

Git tip: Changing your mind: Push pending changes to a (not-yet existing) new branch

February 15th, 2012 by Alexander Kirk | Comments 1 Comment »

It happens quite often to me that I start committing things and only afterwards decide I should have created a new branch. So git status says something like: Your branch is ahead of 'origin/master' by 4 commits. but I don't want to push to origin/master but rather create a new branch. (Of course this works […]

hckr news

January 26th, 2012 by Alexander Kirk | Comments 1 Comment »

Just wanted to point you all to Wayne Larsen's alternate interface to Hackernews, called hckr news. I really like the clean and fast interface, compared to the everlasting old interface on the original page (even though you can of course use User CSS to pep it up a little). Wayne also created browser extensions that […]

Use an authenticated feed in Google Reader

January 3rd, 2012 by Alexander Kirk | Comments Comments Off

You currently can't subscribe to an authenticated feed (for example in Basecamp) in Google Reader. If you want to do it nonetheless you can use this script of mine which will talk to the server that needs authentication, passing through all the headers (so that also cookies and "not modified" requests will come through): download […]

New Feature for HN Collapsible Threads: Collapse Whole Thread

December 6th, 2011 by Alexander Kirk | Comments Comments Off

I have added a feature to the HN Collapsible Threads bookmarklet that enables you to close a whole thread from any point within the thread: This is useful when you are reading a thread and decided that you are having enough of it and want to move on to the next thread. Before you had […]

Safari Extension: Clean URLs

March 30th, 2011 by Alexander Kirk | Comments Comments Off

I have been picking up and developing a fork of Grant Heaslip's Safari extension URL clenser which removes all sorts of un-necessary junk for the URL so that you can easily pass on a clean URL to someone else. Things being removed include: Google Analytics parameters (utm_source=, utm_medium, etc.) Youtube related parameters (feature=) Partner tracking […]

Title Junk: Solve it with Javascript

December 21st, 2010 by Alexander Kirk | Comments Comments Off

There is some back and forth by John Gruber and others, about HTML <title> tags, with Gruber complaining (and rightly so) that for SEO reasons the titles are filled up with junk having little to do with the real page content. The writers of cam.ly suggest to use the SEO title in the HTML and […]

Reddit-like Collapsible Threads for Hacker News

February 16th, 2010 by Alexander Kirk | Comments 6 Comments »

I enjoy consuming and participating at Hacker News by Y Combinator resp. Paul Graham. One thing that needs improvement is the reading comments there. At times it happens that the first comment develops into a huge thread, and then the second top-level comment (which might also be well worth reading) disappears somewhere down into the […]