• Reverse Engineering the Godot File Format - ๐Ÿ“…

    Iโ€™ve been messing around with the Godot game engine recently. After writing some examples that load the assets and map data from files, I exported it and noticed that Godot bundled all the resources into a single .pck file. It was packing all the game resources and providing them during runtime as some sort of virtual file system.

    ...

  • Free Hotel Wifi with Python and Selenium - ๐Ÿ“…

    Recently I took my annual leave and decided to visit my friend during the holidays. I stayed at a hotel for a few days but to my surprise, the hotel charged money to use their wifi. In $DEITYโ€™s year 2000 + 18, can you imagine?

    ...

  • Mastodon Bot in Common Lisp - ๐Ÿ“…

    If you post a programming article to Hacker News, Reddit or Lobsters; you will notice that soon after it gets to the front page, it gets posted to Twitter automatically.

    ...

  • Fetching ActivityPub Feeds - ๐Ÿ“…

    Mastodon is a federated social network that uses the ActivityPub protocol to connect separate communities into one large network. Both Mastodon and the ActivityPub protocol are increasing in usage every day. Compared to formats like RSS, which are pull-based, ActivityPub is push-based. This means rather than your followers downloading your feed regularly to check if you have shared anything, you send each follower (or each server as an optimization) the content you shared.

    ...

  • Generating Vanity Infohashes for Torrents - ๐Ÿ“…

    In the world of Bittorrent, each torrent is identified by an infohash. It is basically the SHA1 hash of the torrent metadata that tells you about the files. And people, when confronted with something thatโ€™s supposed to be random, like to control it to some degree. You can see this behaviour in lots of different places online. People try to generate special Bitcoin wallets, Tor services with their nick or 4chan tripcodes that look cool. These are all done by repeatedly generating the hash until you find a result that you like. We can do the exact same thing with torrents as well.

    ...

  • Writing a Simple IPFS Crawler - ๐Ÿ“…

    IPFS is a peer-to-peer protocol that allows you to access and publish content in a decentralized fashion. It uses hashes to refer to files. Short of someone posting hashes on a website, discoverability of content is pretty low. In this article, weโ€™re going to write a very simple crawler for IPFS.

    ...

  • Writing a Simple D-Bus Service in Python - ๐Ÿ“…

    D-Bus is a message bus that Linux systems use in order to make programs communicate with each other or with the system itself. It allows applications to integrate amongst themselves using well-defined interfaces. This allows each application to provide services that can be used by others, sort of like adding APIโ€™s to your programs.

    ...

  • Evolving Line Art - ๐Ÿ“…

    In this article, I want to talk about a really simple technique for evolving line-art from pictures. On top of being an simple example for genetic algorithms, it is also a fun programming project that can be done in short time.

    ...

  • Welcome 2018! - ๐Ÿ“…

    Hello dear readers, welcome to another episode of โ€œNew Year, New Meโ€. First of all, I want to wish everyone a happy new year. Hopefully, 2018 will be full of happiness, health and success for you. For a variety of reasons some of you might have had a bad year. But worry not; because 2018 is here and whatever your goals were, you can keep trying.

    ...

  • Putting My Blog on IPFS - ๐Ÿ“…

    Iโ€™ve always been fascinated by the idea of peer-to-peer network protocols, and putting my website on a distributed network was something Iโ€™ve been meaning to do for a while. The recent increase in blog posts about IPFS finally pushed me over the tipping point. Hopefully, you can read this article on IPFS here.

    ...

< Newer Posts
Older Posts >