Dallas shooting


the statistical fact that a black person is 4-6 times as likely to kill someone (blacks, at 13% of population, are responsible for about an equal number of black deaths as whites, at 78% of population, are of white deaths) has nothing to do with why blacks are killed 2.75 times as often, obviously

if you do the math, that means that if a cop assesses the same risk of being shot by a black and a white person, he will actually be more likely to shoot the white person than he is to shoot the black person(by about 45%)

you know what’s ACTUALLY racist?

that the ~575 annual white victims of police violence are all but ignored, yet the ~300 annual black ones get days upon days of media coverage and that they (and to some extent this article) attempts to justify the actions of BLM

and labelling this as extremism is equally BS, as evidenced by this 2014 BLM protest in NY: https://www.youtube.com/watch?v=Z_qkvXLuGsc
where they’re chanting “shoot back” and “what do we want – dead cops – when do we want them – now”

a rally that was ALSO followed by the multiple homicide of police officers, “fortunately” this time it was “merely” two of them

furthermore, here’s is what’s showing up on twitter in response to the dallas shooting:

https://twitter.com/sjw_nonsense/status/751264716069101569 (full thread)


also some… interesting… media coverage on BLM:

BLACK LIVES MATTER ORGANIZERS Hacked Messages Show Plans For “Shutting Down GOP Convention”… “Disrupting Trump” And “Martial Law”


now i do agree it is important to not jump to conclusions, which is why i’ve spoken out here about the response on social media and not necessarily the motivations/identities of those involved in the shooting in dallas


C# coding challenge #1: MicroSort


Starting now i’m going to be (hopefully) posting some tricky coding challenges on here for people to solve

The first challenge will be: Create the smallest, fastest, most versatile sorting algorithm you can using the following class template:

using System;
using System.Collections.Generic;
public class mySort <T> where T : IComparable<T>
int ax;
int bx;
int cx;
T dx;
Stack<int> stack= new Stack<int>();

public void Swap(T[] array)

public void Sort(T[] array)


Rules (Easy):

  • **ONLY** the areas marked by //TODO may be altered (that means no additional function definitions or changes to function signatures etc)
  • No local variables
  • Stack will start empty
  • Stack must end empty
  • Array must be sorted when the function returns
  • Static functions can not be used

Rules (Medium)

  • Everything from easy
  • Only recursion can be used for control flow. (thank you, Tarik Kaya, for suggesting this)

Rules (Hard)

  • Everything from medium
  • Replace the stack with a fixed-length array

Good Luck


Initial stats for the reference implementation:
reference file length:
100 lines of normally formatted code (braces on separate lines + one statement per line, except for if conditions)

via WordPress for Phone app.

TWNKLS internship update #3


The past 2-3 weeks have been super hectic, which is part of the reason i haven’t written an update post here in this time, so I’ll do my best to sum up what’s been going on to the best of my abilities

Firstly I’ve been attempting to arrange a meeting to discuss the PID in more detail between the support group from both my education as well as the company. This has proven to be quite a difficult task since both parties have very full agendas, and aren’t always around, so even communicating plans back and forth has turned out to be somewhat of a headache. in addition the meetings that WERE arranged have all failed in some way or another up to this point, for similar reasons to why arranging the meetings has been troublesome.

next to that I’ve recently received news that my student transport permit has expired, this message showed up in my inbox less than a week before the expiration, so I’ve spent pretty much that entire week looking for a way to make this work in a way that wouldn’t put me in a very difficult spot financially, fortunately TWNKLS has been kind enough to return at least part of these expenses for me.

Since the last update the company has also moved to a new location, namely the “groothandelsgebouw” in Rotterdam, in terms of travelling, this is even a little bit closer to Rotterdam Central station than the old location was.

there has also been some progress with regards to the actual project, I’ve spent a good 1.5 weeks analyzing the code related to the Yumble project, and there has been a meeting reviewing many of the experiences the roughly 1000 end-users testing the demo at EAS 2014 in Amsterdam. We do still need to have a meeting soon (probably tomorrow) about the technical changes between the “stock” platform, and the version that ended up in the EAS demo, what kind of things dev-users might like to see changed for the final version, and how the platform can change to accommodate for the observed experiences observed in end-users during EAS. This is, once again, taking a bit longer than i would have liked because everyone is super busy with various projects.

I’ve also been introduced to how Jira is used within TWNKLS for time/project management, and I’ve spent a good full day backtracking in this application to log all work done up to this point.

*end of internship-specific update*

I’ve also been working on writing some minor code sections for another running project, this is not necessarily relevant to the main project, but does help explain the lack of time to spend on administrative business such as this blog.

in my off-time i’m currently working on a dynamic content generation platform(as a plan for the future), and the rest of running a household has been getting somewhat more hectic as well (if only because i basically have less than 2 hours of free time per day at home)

Semi-weekly TWNKLS internship update


Well, this “daily” thing quickly turned into 11 days since the last update…

The reason being that it’s been busy as hell. Since last Thursday i’ve been making 13+ hour days (if you include travelling) with Thursday itself being a peak at about 19 hours (which, granted, was for a significant part caused by travelling itself, where i tried travelling back through Tilburg, but figured out later that it was so late that the bus from Reusel to my house didn’t travel so late at night (it was midnight by the time i arrived there) so i had to walk home from there.

The reason it’s been so busy was the “small side project” i mentioned in my last post. I’ve since then realized it’s not small, nor is it a side project, because as it turns out, the software that was used to set up this project is the main focus of my internship, and it’s currently on display in the Amsterdam RAI.

My goal for this internship is, in very simple terms:

  1. check out what kind of issues exist in the current platform
  2. figure out what the final product should look/act like
  3. create a plan for how to change the current platform to work as expected
  4. actually execute the aforementioned plan
  5. evaluate whether my changes made the platform better, and which issues still exist

Starting internship @ Twnkls in Rotterdam


This week is the start of my internship at TWNKLS,

We’re starting up this week with a small side project which, mixed in with working on the PID, should run for less than 2 weeks – it’s actually pretty close to being finished already. But as it’s not related to the internship’s context, i won’t divulge on the details of this project.
Since certain agreements still need to be made in terms of the progression of the “big project” the internship revolves around, the PID is not progressing terribly fast just yet. however progress is happening, I’ve reviewed the majority of the related documents and grabbed

Posts on here will be frequent, although perhaps not daily. and they will remain in English, since it is my preference to keep this blog internationally relevant and readable. Actual documentation for the internship will be written in dutch, however.

I will be writing the documentation using LaTeX to ensure correct typesetting, and I’ve already copied the original template as supplied by FHICT to ensure the content is still complete and correct

Starting on my new sideproject


Screenshot 2014-02-01 22.08.14

here’s a little screenshot of my current project, those of you who can already see what it’s going to be, good for you

and here’s a random little artwork teaser(it’s pretty bad ATM)

pathing preview

just because i can, i added a little poll, so let me know what you want most 😉

possible control schemes might give a few more hints about the premise of the game:

Xbox 360:
left stick moves the background
right stick moves the reticule

pressing on left stick resets the background
pressing on the right stick resets the reticule
pressing on both control sticks resets everything (IE sets everything to the initial state, apart from controls)

D-pad selects different controls
A places the control
Y removes the control
X selects the blue channel
B selects the red channel

LB decreases speed
RB increases speed

Both other control schemes:
Mouse to click on controls and click-drag to place them,
right-click to remove controls
speed controls added to control “blocks”
button to swap colors
drag on playfield to move around
no reticule
button to reset

mouse + keyboard scheme
adds keyboard shortcuts to everything but dragging the playfield

GAI: Episode 2 – lesson assignments / homework



week 1 – lesson assignment: Considering the fact that no value multipliers/factors, or in fact information was given on this, creating a flowchart for this navmap is nearly impossible, there is also a slight case of bad navmapping going on to the right of the text “low wall”

week 1 – homework: for this i chose to use the dark souls boss “quelaag”, which, for obvious reasons doesn’t have a good paper-prototype representation since i chose to use a game that’s more recent than 1990, and is capable of more complex interaction than “move” and “shoot”, i chose this because dark souls is one of the few games where AI is the main part of what makes the game interesting for me,

so, as an example, quelaag has roughly 8 “zones” in which the player can be, namely

  1. on her left side, attacking her sides
  2. on her right side, attacking her sides
  3. in front of her, attacking her (nearby)
  4. in front of her, at medium distance and close to the center
  5. in front of her, at medium distance, anywhere
  6. in front of her, far away
  7. behind her, nearby
  8. anywhere, really

apart from this there are a number of other factors that weigh in to which actions are chosen

most of the zones mentioned get disabled for a set amount of time after it has been used, there is also a random amount of time between actions where she sort of just stands there waiting, maybe turning to face the player, and sometimes hopping, strafing, or walking around

these zones also correlate to 1 or more specific actions(1 and 2 are a sideways stomp/fire blast attack, 3 is a lava barf nearby, as well as a flaming sword attack, 4 is a lava projectile and a flaming sword “poke” that has a similar range, 5 is a lava spray, 6 is a leap towards the player, 7 is a backward stomp and 8 is turning to face the player, walking closer to the player, or dodging)

and then there is one move that is triggered by being attacked a bunch, which is a highly damaging fire blast with a large AOE, this is triggered separate from the areas, in that it will never be used if quelaag is not being attacked

this, in conjunction with a set of animations for each attack that convey rather clearly which move is about to be used, if you know where to look


week 2 – assignment 1:

main issue with finite state machines is you can very easily make states too detailed or not detailed enough, and the main difficulty is finding this balance, this is really too detailed, but i couldn’t think of anything else to make the tank do, and i forgot to represent the fact that “lost the player” should go back to “chase” instead of to patrol, and chase should have a “not-seen” timer that goes off when the FSM should return to patrol

week 2 – assignment 2: the miner and his wife (the idea for this was basically copied from the book i read almost a year ago)