news
today's howtos
-
Advanced GNU/Linux Network Commands for GNU/Linux Beginners
This tutorial is a continuation of Basic GNU/Linux Network Commands, despite the fact that it starts with easy commands for DNS lookup, all the network commands expressed here are essential in diagnosing problems that might be encountered in the GNU/Linux experience.
-
ID Root ☛ How To Install CodeIgniter on Fedora 45
CodeIgniter remains one of the most practical PHP frameworks for teams that want a fast, lightweight application stack without the overhead of a large monolithic framework.
-
Sergio Cipriano: Using socat to create a TCP Proxy
I wanted to set up a small TCP proxy so I could run a few tests, and I wasn't in the mood to run nginx or Envoy just for this. I stumbled upon socat (SOcket CAT) and found it pretty useful. Every time I discover a tool like this one that has been around for decades, I'm happy.
-
Miguel Grinberg ☛ Protect Your Web Forms Against Spam Bots
The comments form that appears at the bottom of every article in this blog is under constant abuse by spam bots. I added a CAPTCHA to it a few years ago and at the time it seemed to help some, but spammers have now figured out how to bypass them. As a result, my comments inbox has been getting out of control lately.
In this article I'm going to share a solution that I built to help me reduce spam on this blog from 30-40 messages per day to just about 2-3 per month. It is based on the "proof of work" concept, and unlike CAPTCHAs, it does not rely on third-party services. It is also better for users, because it does not require them to solve silly puzzles or even know that they are being verified. I have implemented the solution in Python and Flask, because that is what this blog runs on, but once you understand how it works you should have no trouble porting it to other languages or frameworks.