0x9900


Fred's Blog about Ham Radio, Python, Unix and more...

This Engine Pulls!

All the motorcycle magazines are praising about the KTM Adventure 1190, for all it's new features and look compared to the previous models.

Python descriptors

Python descriptors have been around for a long time, but probably because of the lack of good documentation they are still not widely used nor understood.

Two Factor Authentication with SSH & S/Key on OpenBSD

For some time now system administrators have known that password authentication has its shortcomings. Password based authentication depends on password quality and how passwords are handled by users. Considering how easy it is to crack a password system administrators have to rely on Public Key based authentication. Public-key-authentication mitigates the …

Managing records in python

A simple way to access data from a file or from a database is to read each line or row, then assign each value to a list or a tuple. The data that has been read can then be accessed by its position in the list.

Optimizing your code with __slots__

Python like many other dynamic programming languages can be extended. Objects and definitions can be modified at runtime. This gives the developer great power but this power comes at a price. During the execution two instances of the same object can have different properties. This is why python accesses these …

Using free public DNS servers

The DNS is an essential part of the internet, it translates hostnames such as 0x9900.com into IP addresses 149.20.56.139. DNS also plays an important role for routing emails.

Embedding OpenBSD

For some of my projects such as DNS/DHCP servers, routers, firewalls, NTP Servers, or for some Arduino projects, I embed OpenBSD on small footprint and low power consumption machines.