I started to get interested in web development in 1999 (15 years old), when I built my first HTML page. I started in programming with BASIC…
Thou shalt not commit logical fallacies is a website where we can learn from several logical fallacies that we commonly make in…
Opening a set of html files locally in the browser is not a good reflection of what happens in a real web server. It’s ok for a javascript library demo but for other purposes it’s easy enough to have a basic HTTP server so why not?
When I’m developing code that uses a web service, and since I always have a terminal window open, I like to check or test responses with curl.
The problem is it’s difficult to read JSON responses without indentation and line breaks, but that’s easily…
Sometimes you want to let some program running in SSH even after you logout. Putting it in background with & won’t work. Some people use GNU Screen, others nohup, but I prefer tmux.
You have a site that sends emails once in a while, but you’re not using SMTP. You need to implement some authentication checks to avoid falling into SPAM. Besides SPF, it’s important to create a PTR (pointer) record, if at all possible by your ISP.
A Google search for what’s my ip gives us our public IP, but sometimes it’s useful to have that information in the command line to be used in scripts for automation.
Last week I created a script to automatically add my IP to a server’s firewall that I manage…
For a while now I’ve adopted HTML5 and CSS3, but I’ve noticed that my colleagues are still a bit apprehensive with browser support.
Can I use these new standards today or is it still too soon?
I’ve been experimenting with concurrent programming in C. I’ve forked processes and spawn threads with mutexes in the Mac (Darwin), but the counting semaphores were giving unexpected results. Apparently sem_wait() wasn’t working.
sem_wait()
This post is for any non-english programmer.
It wasn’t always like this but for a long time now, I write my variables, functions, classes and even comments in english.