Index ¦ Archives ¦ Atom > Tag: python

One hundred prisoners and a light bulb simulation

This is a little off my usual topic of IT Security but it's something I've been thinking about a bit lately. I recently came across the "One hundred prisoners and a light bulb" riddle. It was posed as:

A group of 100 prisoners, all together in the prison dining area …


pip changing from pep8 to pycodestyle

I recently updated one of the packages in Atom that was called linter-pep8 to version 2.0 which was renamed to linter-pycodestyle. This is because PEP8 the package was renamed to pycodestyle to reduse confusion between the package and the PEP8 the specification.

However after I opened Atom I got …


Recovering data from a hard drive after wiping the partition table

A mate from work had a LUKS volume that he had setup and was using to store his personal documents, things like scanned copies of invoices and tax information. Unfortunately in a momentary lapse of concentration after mounting it he ran mkfs.ext4 over it.

I'm sure we have all …

Creative Commons License
Content on this site is licensed under a Creative Commons Attribution 4.0 International License.
Built using Pelican. Based on a theme by Giulio Fidente on github.