Quantcast
Channel: Uncategorized – Overdue Ideas
Browsing latest articles
Browse All 64 View Live

Advent of Code with OpenRefine

In case you’ve not come across it… Advent of code is: … an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you...

View Article



Advent of Code with OpenRefine Day 2

The day 2 challenge led me to some manipulation of the cross function in GREL, and a horrible hack to add up all the numbers in a column (really not recommended in real life! If only I’d got around to...

View Article

Advent of Code with OpenRefine Day 3

The way I solved this puzzle has a nice use of value.split(//) to get an array of letters from a string, as well as: splitByLengths() length() filter() unicode() with() and() That’s quite a list of...

View Article

Advent of Code with OpenRefine Day 4

So this puzzle was definitely more straightforward from an OpenRefine perspective. Once I’d got the logic worked out, it all just needed to be applied to each row in turn, and using one of my...

View Article

Advent of Code with OpenRefine Day 5

This was a fun one to do and it took me a while to work out how to approach it, but once I’d realised I could generate an OpenRefine operation history in JSON from the provided instructions and apply...

View Article


Advent of Code with OpenRefine Day 6

I think this might have been the quickest so far, although I’m not sure it’s a particular efficient solve and the GREL was a bit ugly, but it worked immediately.

View Article

Advent of Code with OpenRefine day 7

This was a really tricky one – it took me ages to work out how to approach it and even then, and with a dry run to get the answer, I made several mistakes as you can see if you take a look at the...

View Article

Image may be NSFW.
Clik here to view.

Advent of Code with OpenRefine Day 8

This should have been relatively straightforward, and really was much simpler than day 7 but my brain got stuck on some of the logic for the second part and then I made some stupid mistakes in...

View Article


Image may be NSFW.
Clik here to view.

Advent of Code with OpenRefine Day 9

My first (for now at least) failure I’ve found this to be intractable. The problem setup is that given one end (the head) of a rope moves around, track the path taken by the other end (the tail) of...

View Article


Advent of Code with OpenRefine Day 10

This was pretty straightforward – which was a relief after the difficulties and ultimate failure with Day 9. I also got to use a cool new trick with the GREL cross function that I literally just...

View Article
Browsing latest articles
Browse All 64 View Live




Latest Images