Ket's Site

Welcome to my little corner of the internet. It is essentially just a microblog.

If you wish to follow my ramblings you can sub via Atom, RSS or Mastodon.

Articles in the Meta category

  1. Filesystem Blog: Hello Web

    A few weeks back the laptop that I had set up for programming died. I still had my laptop, however that has none of the tools I use for development on it, no ssh keys and so on. Deciding it would be more effort than its worth to set up my environment only to have my new (second hand) laptop arrive in the post once everything is configured to my liking, I chose to wait. Well, computer games get boring quickly and I wanted to do something else, so I opened up notepad and I designed this little website, attempting to make something that looks like a pad of paper. I was rather pleased with how the simple look turned out so decided to publish it here. [img]/images/2019-11-19_21-43.png[/img]

    Once my new laptop arrived I initially made a small site using PHP and SQL, however I have done this exercise many times before and it was a little boring. To make a change I decided to build a site that uses standard files and directories to store posts, comments and other information, rather than the normal database. At this point it may have just been wise to create a static site without the need for any PHP at all, but I wanted it to be a little more interactive with comments and maybe some other things in the future, so here we are; besides where is the fun in using something that just works when you can have the fun of putting it together? In the process of creating this site I learnt a couple of things as well, and also had to ask myself a few questions, such as:

    Is this secure? Whereas with an SQL database where I am used to using a product that has already had a lot of thought put into security, plus a community of people constantly reviewing, and fixing security holes. For instance fixing bugs giving users the ability of accessing data they shouldnposts..post.commentbirtht a huge issue or something to get hung up on, I have simply resorted to storing these dates in the file names instead.

    The outcome of this little project can be found on GitHub, and anybody is free to modify, use and share it under the GPLv3 licence.