Cross-Domain POST With JavaScript

November 20th, 2008

Normally you can’t send cross-domain requests in JavaScript due to restrictions imposed by the same-origin security policy. There are many clever hacks that circumvent this by using remote script includes (even CSS includes) or proxy scripts, but so far I haven’t seen anything useful for client-side, cross-domain POST requests. […] Continue Reading…


Equally Unaware Of Stupidity

November 18th, 2008

via just.K

Ever heard of the Dunning-Kruger effect? Even if the name doesn’t ring any bells you’re probably familiar with the basic idea : stupid people tend to overestimate their competence and underestimate the competence of others. The effect was famously demonstrated in a series of […] Continue Reading…


Displaying Recent Posts On a Non-WordPress Page

November 15th, 2008

Listing recent posts on a WordPress page is easy – there are various widgets and theme functions available just for that purpose. But what about a non-WP page, or even a different site? That’s not that hard either – simply grab some posts from the blog’s RSS feed and […] Continue Reading…


WordPress 2.7 (Beta) Mini-Review

November 14th, 2008

I’ve been trying to write a review ever since the first beta, but all I could come up can be summarized as “Meh. It’s okay.” WP 2.7 includes a lot of long-awaited features, which is great, but their implementation sometimes inflicts the aforementioned “meh” feeling.

For example, there’s the dashboard […] Continue Reading…


Parse, Edit And Create Torrent Files With PHP

November 11th, 2008

A .torrent file contains assorted metadata that is stored in a “bencoded dictionary” format. Bencoding is a relatively simple cross-platform encoding used by BitTorrent and a dictionary is basically an associative array. You can find a high-level overview of the file structure here.

To open or edit a .torrent file […] Continue Reading…