Unrelated rambling Long time no blog, 2020 is the year that keeps on giving. While some people consider this to be a pretty chaotic and horrible year, I’ve been making the best of it. Learning to bake bread and other such things Learning frontend (React) Dipping my toes into GraphQL Quiting my corporate job The usual. Prologue In my past year working in the corproate world, I had to…
This post will not be much of a read, just my “logbook” from solving the SQL Murder Mystery today. Edit: Had to remove SQL results tables due to poor formatting of the theme. To see original “log” check out the gist. SPOILER WARNING. This game was fun! I recommend it to any SQL amateur or pro. Give it a go at https://mystery.knightlab.com/. There’s been a Murder in…
For the first time since I’ve been in the UK, I decided to go hiking back in August during the bank holiday extended weekend. It was a nice sunny day, hopped on the early 7:45 train to Hope, Peak District. Little did I know that was the start of my new hobby and passion, hiking; as I recently went to Peak District again, done Hope to Edale and the Edale Kinder Scout trails.
I wouldn’t call Țăcălie a Romanian traditional dish, or a dish at all. Not many Romanians know about it. It’s more of a regional thing. The people who would cook and eat Țăcălie used to be shepherds. It’s also possible that other cultures have a similar dish but I haven’t yet met someone from outside my family that can describe anything similar to Țăcălie. Țăcălie is rich in calories and fat and…
I received one of these HC-08 Bluetooth modules for Arduino and other micro controllers. I thought it will be a nice, fun and simple experience. After all everything has or used to have Bluetooth, we are in the age of “IoT”. HC-08 While it’s not the best Bluetooth module out there, it’s also not the worst. Connecting it to a micro controller is straightforward. Connect GND to GND, VCC to a 5V…
If you know what hangman is, skip to the second section. What is hangman? We all know (or I expect people to know) what is and how to play hangman. It’s a two player (don’t know how you’d play this with more people, but I am sure somebody found a way) game in which one player thinks of a word then draws on a board or piece of paper a series of lines for each letter.
This is not a CVE writeup or Privilege escalation for Windows, its just a badly configure exam environment and my experience by poking it. Context At The University of Manchester some exams you take may be online. This means that the exam will take place in one of the PC clusters, you’ll be assigned a seat, log in with your username and password in what seems to be a web-login screensaver.
Introduction Go or Golang is an OpenSource programming language developed by Google. What makes Go special? Fast compiler with many system performance tools Easy concurrency for multicore or network programming Fast garbage collector and runtime reflection Statically typed and machine compiled Modules (to help rid ourselves of the $GOPATH) With all of its good parts it also has some flaws, just…
Introduction While browsing the golang documentation and packages I stumbled upon something entirely new, a “codewalk” for a markov chain algorithm that generates text based on a “trained” markov chain from user input [1]. This reminded me of the time I studied Markov Chains for a University course but never got to see a software implementation of what it might look. To my surprise it was pretty…
Introduction A Raspberry Pi is a pretty nice and average priced SoC. The best thing about the Raspberry Pi is the community and software support behind it. The version I’ll be using today is a Raspberry Pi 3B (2015, v1.2) and as a little extra on top of it a FEZ Hat (Rev 1.1). If you never owned one and you’re planning on purchasing one, check out this page for a detailed comparison between all…
Target audience This guide is targeted towards people who have already used git and have some basic knowledge of how it works and which commands exists and what they do. The main purpose is to provide an overview into the good practices behind the OpenSource community. Introduction First things first. This guide assumes some general/basic knowledge regarding git. It was created by Linus Torvalds…
Notes before reading This post is intended to document my experience with FAT32, LBA, MBR within the context of Classic Kernel and the microSD EEMCA controller. Notation regarding addresses and values are in Little Endian (as it is in all references). 13 Mar, Updated based on more hands down experience. MBR Introduction MBR (Master Boot Record) is a special sector on a partitioned disk which holds…
NRU Very crude approximation of LRU This algorithm takes advantage of the R (referenced/read/written) bit and M (modified) bit. On every update cycle (could be every clock interrupt) all pages get their R bit set to 0, to help detect unreferenced pages. On a page fault, pages are inspected and separated in 4 classes: Class R M 0 0 0 1 0 1 2 1 0 3 1 1 The page swap algorithm will remove one random…
Kalah Kalah, also known by many as Mancala is one of the oldest games that is still played to the day. The game is very simple in design and mechanics, it involves two players taking turns moving beans/seeds/pebbles on a board or game surface. Gameplay The board may vary in the number of holes it has and the number of pebbles each hole starts with. Some games include a “pie rule” which…
When you spend half your day in front of a computer, inside an IDE or terminal, I start to make everything feel cozy. Just like when a person moves in a new house, they start decorating. I do the same for each and every machine I own. I set my aliases, paths, scripts, etc. But one thing I must really have in order to feel “at home” on a machine is my favourite font, Source Code Pro.
“Welcome. Delicious friend!” I don’t believe there is a “right way” or a “single definitions” to what Fallen London is. It is a browser game, but it’s not your average browser game. It’s a role-playing game, but nothing you’ve seen before. For me, Fallen London is the best browser, role-playing game with multiplayer interactions and a story that will have you hooked. The game has no visual effects…
Passwords Password Tips Do not store your password in plain text or on paper Do not share your credentials with other people This includes your parents, significant other, pets, colleagues, boss/superior Do not use the same password everywhere Or the same password with small changes For example pass1 pass2 pass3 alexGmail alexReddit Do not use personal details in your password This makes it…
Introduction First thing you should do when pursing a career in low-level systems (kernel development, embedded systems, drivers, firmware, boot loaders, etc.) is to realise that all knowledge you have from high-level languages and systems will amount to almost nothing. In other words you should prepare to change your views, mentality and approach when it comes to developing and designing…
Memory Before even starting to design the memory allocator itself, I had to decide where the heap (memory zone managed by the allocator) will reside in memory. As you can see the kernel has its own heap and memory allocator. The user space uses a separate but similar allocator (for security purposes) and the heap is loaded at the end of the initial virtual memory allocated to a task. When…
Passionate Software Developer and hobbyists System Engineer. I’ve spent most of my first year at university attending hackathons and doing crazy projects. Critical on the state of “web” and new fad emerging technologies. Wishing more developers would understand that less is more. My main programming languages are: C, Go, ARM ASM and I am a wizard of Git, Regex, and System design. I am…