Bede Kelly
  • home
Bede Kelly

Bede Kelly

' or 2=2; drop table *; --

England •
70 posts •
Building Hacking Team's Code: Part 2
hacking-team

Building Hacking Team's Code: Part 2

So in the last post, there was a whole lot of build output that suggested everything had gone well. But right at the end, make exited with an error; not anything to do

  • Bede Kelly
    Bede Kelly
2 min read
Building Hacking Team's Code
hacking-team

Building Hacking Team's Code

I left off the last post with saying I'd have a bit of a poke around. I didn't, however, imagine how difficult it would be. I decided that the best thing to do

  • Bede Kelly
    Bede Kelly
3 min read
Taking a look at Hacking Team's Code
hacking-team

Taking a look at Hacking Team's Code

Disclaimer: I'm super unqualified to comment on this code - I'm not a professional programmer, and a lot of the languages in the codebase are ones I'm unfamiliar with. Also please don't sue

  • Bede Kelly
    Bede Kelly
2 min read
python

Chatroom: Github Issues

I've been avoiding Github's issue-tracker for quite a while now - mainly because I wasn't sure how it worked - but I decided to take the plunge with this project since it's become

  • Bede Kelly
    Bede Kelly
2 min read
python

Chatroom: Server Improvements

So I made some improvements to the chatroom server I wrote based on the code from the text game I'm developing. Here's some of the changes I've made: Created users persist between server

  • Bede Kelly
    Bede Kelly
1 min read
python

Chatroom: Server Design

Just a slight detour from the text-game work: I noticed that a lot of the functionality we were building into the server would be useful for an IRC-style chatroom. There's a very barebones

  • Bede Kelly
    Bede Kelly
1 min read
python

Server-Client Demo

I worked on this for a bit longer than I thought I was going to, but I've also got a sturdier product than I was expecting to have at this stage. I've pushed

  • Bede Kelly
    Bede Kelly
3 min read
python

Starting Work on the Server

To begin with, I want to describe in a bit more detail how I'm imagining the system to work. There will be one main executable file, server.py. It will output only debug

  • Bede Kelly
    Bede Kelly
1 min read
python

A New Hope

I'm making a new start on the text-based game I've been writing. The code at this point is spaghetti, and I can't develop anything at the speed I want to without relying on

  • Bede Kelly
    Bede Kelly
1 min read
python

Python: Back in the Day

So the other day I thought it'd be a great idea to take a look at the earliest version of Python that I could find. After a few broken links and a lot

  • Bede Kelly
    Bede Kelly
4 min read
notes

Hashing with Chaining

Notes taken from "8. Hashing with Chaining"; MIT OpenCourseware 6.006: Introduction to Algorithms. Dictionary: Abstract Data Type Maintain a set of items, each with a key. The interface looks like

  • Bede Kelly
    Bede Kelly
6 min read
notes

Lower Bounds on Sorting

Lower Bounds can also be important within Computer Science. We can use different comparison models to show that with certain algorithms, we can get linear time sometimes with a sort. Comparison Model: All

  • Bede Kelly
    Bede Kelly
3 min read
notes

AVL Insert - Maintaining the AVL Invariant

The algorithm for the insert operation on an AVL tree: Perform a standard BST insert: a. Traverse the tree looking for where to insert an item, then insert it there. Fix the AVL

  • Bede Kelly
    Bede Kelly
1 min read
python

Parsing: Error Messages Part 2

Parsimonious, the library I'm using, provides a super useful class for visiting nodes in a parse tree called a NodeVisitor (appropriately enough). In order to use our generated parse trees for commands or

  • Bede Kelly
    Bede Kelly
1 min read
python

Parsing: Error Messages and Accessibility

At the moment, generate_parse_tree is returning a parse tree if it matches a valid command, or None if not. One way of getting more informative error messages (a la Zork) could

  • Bede Kelly
    Bede Kelly
1 min read
notes

The Pumping Lemma (for Regular Languages)

So apparently, this is the bit of formal logic at which all computer science undergrads quake in their boots. Guess I've got that to look forward to at uni. In the meantime, let's

  • Bede Kelly
    Bede Kelly
3 min read
notes

Reverse Polish Notation

Using brackets in computing is sometimes an unnecessary complication. Using post-fix expressions ensures that only one order of operation is needed. Postfix is another name for 'reverse Polish' notation. Infix: 38 + y Postfix:

  • Bede Kelly
    Bede Kelly
1 min read
notes

Regular and Formal Languages

Any language has an 'alphabet': the valid characters making up 'words' in this language. A notion expressing the rules governing the construction of a valid word in a language is known as a

  • Bede Kelly
    Bede Kelly
1 min read
python

Text Game Update

I really think I've got it! I've solved the problems that I faced earlier, neatly outlined by this webpage. Here's the first problem I faced: "Another fun case: some checks apply to

  • Bede Kelly
    Bede Kelly
1 min read
python

Interactive Fiction Programming

Or, some thoughts on how to implement Interactive Fiction in modern languages. The first thing to note is: it's difficult. Really difficult. But the worst part is, it starts out being easy... Getting

  • Bede Kelly
    Bede Kelly
4 min read
Bede Kelly © 2026
Latest Posts Ghost