Bede Kelly
  • home
Bede Kelly

Bede Kelly

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

England •
70 posts •

Text Game Stream-of-Consciousness

Warning: this is an unfiltered stream of thoughts on a hypothetical text game, and isn't by any means good or interesting writing. Proceed with caution. The program, at its most basic level, does

  • Bede Kelly
    Bede Kelly
4 min read

HTML5 Canvas Animation

I've been wanting to try out some JS for a while now, as it's an incredibly popular language that I've barely touched except for data-binding stuff with Angular. I decided I'd give Canvas

  • Bede Kelly
    Bede Kelly
3 min read

Python String Formatting

Right now, str.format is probably the best way to accomplish most string formatting in Python. I'm not going to touch on the format spec mini-language, because I've never learned it and frankly

  • Bede Kelly
    Bede Kelly
3 min read

Build Python from source... with optional dependencies

In order to try out Python 3.6's new format strings -- no, really -- I wanted to build myself an alpha version of CPython. The canonical source is on a Mercurial repository;

  • Bede Kelly
    Bede Kelly
3 min read

Nested SQL Statements: Surprisingly not horrifying...?

In writing some test queries for my Twitter-ish SQLite database, I came across the idea of nested SQL statements. I noticed a limitation pretty early on, where I wanted to save the result

  • Bede Kelly
    Bede Kelly
1 min read

SQLite for webapps (the very basics!)

I've been scared of SQL (and relational databases in general) for a pretty long time. The syntax has always felt clunky to me, and I feel like I'm using technology from 25 years

  • Bede Kelly
    Bede Kelly
4 min read

Trampolines are fun! (and other stuff too)

I've been preparing for an intermediate Python talk I'm hoping to give in a few months' time, and along the way I've been discovering some new mini-design-patterns that look like they might come

  • Bede Kelly
    Bede Kelly
2 min read

Watercooling/Drowning the Snapdragon 810!

After seeing LinusTechTips' video on watercooling the iPhone 6s, I decided to do some experimentation of my own! I've got a Sony Xperia Z5, whose processor is the infamous Snapdragon 810. This processor

  • Bede Kelly
    Bede Kelly
2 min read

Fixing the Camera App

At the end of my last post I mentioned that although the root of my Xperia Z5 had gone pretty well, it (or possibly my unmentioned, failed attempt at installing the Xposed Framework)

  • Bede Kelly
    Bede Kelly
3 min read

How to Root Sony Xperia Z5

Make sure you don't have ANY data you want to keep on your phone before following these or any other instructions. Bear in mind that although the phone was rooted successfully, the default

  • Bede Kelly
    Bede Kelly
3 min read

TMUX Version Mismatch

Just a quick hack/workaround this time: I set up a new Amazon EC2 instance last night, and decided to upgrade it from the default Ubuntu 14.04 to the latest version 15.

  • Bede Kelly
    Bede Kelly
1 min read

IF: Skipping Event-Handlers

It seems like I'm overengineering the backend somewhat - surely I should just jump in and write usage code instead of worrying about exactly how events are going to be implemented? After the

  • Bede Kelly
    Bede Kelly
2 min read

Interrupt-Before and Conditional Events in IF

I quickly sketched out an idea of how the interrupt_before method should work, and made some minor modifications to make the should_fire computation a bit more concise and readable: I also

  • Bede Kelly
    Bede Kelly
1 min read

Object-Oriented Events in IF

Last post, I put forward the hand-wavey idea that contrary to typical object-oriented practice, Python would allow you to do something very like method inheritance. I wanted to see how easily my idea

  • Bede Kelly
    Bede Kelly
1 min read

IF and World Representation

I've tried a few times to make a framework for Interactive Fiction (more specifically, text-based natural-language-controlled games). I've had some success, but I feel like each time, I've jumped into coding too quickly

  • Bede Kelly
    Bede Kelly
2 min read

Hal Overview and Design Principles

Hal is an SMS-based information engine I designed and built at the AstonHack hackathon earlier this month. Since then, I've added a few extra features, done some major code-cleanup, and made the source

  • Bede Kelly
    Bede Kelly
3 min read

Updates and New Projects

As you might have noticed, I've taken all of my lecture notes off this blog. Don't worry - I've got them all saved (plus a lot more in markdown format I haven't put

  • Bede Kelly
    Bede Kelly
1 min read

Cellular Automata

The best-known automaton is probably Conway's Game of Life. It's a simple system which describes a game-board of cells: each cell can either be alive or dead. For each generation following the first,

  • Bede Kelly
    Bede Kelly
4 min read

My Working Environment

It's been pointed out to me that very few programmers are willing to share advice about their setups, so I thought it might be a good idea to run through my regular environment

  • Bede Kelly
    Bede Kelly
4 min read
Current Project: μblog

Current Project: μblog

It's a pretty dumb name, but I like the double meaning. Recently I've been working on my first ever web-app. It's not an area I ever thought I'd be interested in, but I

  • Bede Kelly
    Bede Kelly
2 min read
flask

Redirect after login with Flask

Hopefully this will be useful for anyone in the same situation I was in a few hours ago - Google definitely didn't help with this one. If you want to redirect to a

  • Bede Kelly
    Bede Kelly
1 min read
python

Python Gotcha: 'in'-Operator Precedence

Here's a Python 'gotcha' I spotted in this StackOverflow question the other day. It's not something that's ever bitten me, but I thought it was interesting enough to write a quick post about.

  • Bede Kelly
    Bede Kelly
2 min read
chatroom

TwistChat: Inline Messaging

The chatroom now has a few new features, most important among them being its new name: TwistChat. Because, let's face it, Chatroom is not the most thrilling of names. (Plus, all the variations

  • Bede Kelly
    Bede Kelly
1 min read
Hacking Team: Reading TFM
hacking-team

Hacking Team: Reading TFM

Thanks to Transparency Toolkit, I've been able to have a look through the whole file-tree without downloading the whole thing. Now, with any luck, I'll be able to find some proper documentation. Side

  • Bede Kelly
    Bede Kelly
2 min read
RCS phones home!
hacking-team

RCS phones home!

My last post ended with a bit of a scare when the build script (written in Ruby) attempted to connect to a server called rcs-castore on port 433. Luckily, I didn't have rcs-castore

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