Articles

Tutorials, notes-to-self and other rants

Desarrollo Web

Using Basic Authentication with the WordPress HTTP API

Basic Authentication it’s often used as a simple security measure or as a temporary authentication method while developing with certain APIs. While the WordPress HTTP API doesn’t have explicit support for basic authentication, it’s still possible to use it as a header: Remember that if you’re sending an unencrypted request, all the headers will be…

Read post :Using Basic Authentication with the WordPress HTTP API

General

The Cultural Defeat of Microsoft

Many people (by which I mean “many Windows users”) don’t realize the huge difference between “the Windows way of doing things” and, basically, everyone elses’ way, i.e: the POSIX world which comprises all of the Unices, Linux, BSD and even OS X. Hugo Landau writes: From the perspective of POSIX, Windows is “alien technology” […]…

Read post :The Cultural Defeat of Microsoft

Web Development

The greatest countries and administrative subdivisions database ever

The United Nations Code for Trade and Transport Locations it’s probably the greatest countries, states, regions, cities and localities database you can ever find; or at least the most complete you might hope for. It includes over 100,000 locations in 249 countries with detailed administrative subdivisions info and even geographic coordinates (rough, but still).

Read post :The greatest countries and administrative subdivisions database ever

Cultura

David Bowie

There are many artists with career spanning several decades and many of them trying to fit into the current trends as well. But David Bowie was the only one who could actually be called a chameleon. He didn’t have to try to fit into new musical styles; he anticipated them, shaped them, and influenced their…

Read post :David Bowie

Web Development

Getting response headers data from an AJAX request with javascript

Response headers can contain valuable information and may help to keep your API responses simpler by separating the actual response data from accessory metadata. For instance, when querying the WordPress JSON API for a list of posts, the response body includes just the posts data but the pagination info it’s sent as headers: Whether you’re…

Read post :Getting response headers data from an AJAX request with javascript