Skip to content

Instantly share code, notes, and snippets.

View aldavigdis's full-sized avatar

Alda Vigdis Skarphedinsdottir aldavigdis

View GitHub Profile
@aldavigdis
aldavigdis / falsehoods.md
Last active March 3, 2023 09:00
Falsehoods programmers belive about location data

Being inspired by Falsehoods Programmers Believe About Names, I wrote down this list of falsehoods programmers belive about locations and addresses.

Using an external API

  • Information from the Google Maps API is always correct and up to date.
  • At least there is a single, correct location database that I can use.

Basic validation and formatting

  • Every location has an English name.
server {
listen 8080 default_server;
root /var/www/html;
index index.html index.php index.nginx-debian.html;
server_name _;
location / {
try_files $uri $uri/ =404;
}