This is a transcript of a talk I gave at the Go London User Group on 2018-11-21. You can watch it on YouTube (26 minutes) or see the slides and read the words here. It's about rclone and how rclone uses the Go programming language. Introduction Good evening. I’m Nick Craig-Wood and I’m here to talk about rclone. Rclone is an Open Source command line program to transfer files to and from cloud storage started by me as a hobby in 2012.| Nick Craig-Wood's articles on Nick Craig-Wood's home page
My family know I like puzzles so they gave me this one recently: Fork me on Github The code for this along with a Jupyter notebook for it is on github. When you take it out the box it looks like this: And very soon after it looked like this (which explains why I've christened the puzzle "the snake puzzle"): The way it works is that there is a piece of elastic running through each block.| Nick Craig-Wood's articles on Nick Craig-Wood's home page
This was my entry for the 20th International Obfuscated C Code Contest, a contest whose aims are To write the most Obscure/Obfuscated C program under the rules. To show the importance of programming style, in an ironic way. To stress C compilers with unusual code. To illustrate some of the subtleties of the C language. To provide a safe forum for poor C code. :-) I've been meaning to enter the contest for quite a few years so was very pleased to see it re-opened for 2012.| Nick Craig-Wood's articles on Nick Craig-Wood's home page
This is an unsanitised account of how I solved the GCHQ challenge at http://www.canyoucrackit.co.uk/. According to the BBC the competition began in secret on the 3rd of November 2011 and will continue until the 12th of December. I was going to hold back this publication until the contest ended but a solution has just made it to the front page of slashdot so I think the jig is up! This writeup includes the wrong turnings I took and the bad assumptions I made along the way so any reader can see...| Nick Craig-Wood's articles on Nick Craig-Wood's home page
In Part 3 we managed to calculate 1,000,000 decimal places of π with Machin's arctan formula. Our stated aim was 100,000,000 places which we are going to achieve now! Fun with Maths and Python This is a having fun with maths and python article. See the introduction for important information! We have still got a long way to go though, and we'll have to improve both our algorithm (formula) for π and our implementation.| Nick Craig-Wood's articles on Nick Craig-Wood's home page
In Part 2 we managed to calculate 100 decimal places of π with Archimedes' recurrence relation for π which was a fine result, but we can do bigger and faster. Fun with Maths and Python This is a having fun with maths and python article. See the introduction for important information! To go faster we'll have to use a two pronged approach - a better algorithm for π, and a better implementation.| Nick Craig-Wood's articles on Nick Craig-Wood's home page
It is clear from Part 1 that in order to calculate π we are going to need a better method than evaluating Gregory's Series. Fun with Maths and Python This is a having fun with maths and python article. See the introduction for important information! Here is one which was originally discovered by Archimedes in 200BC. Most of the proofs for series for calculating π require calculus or other advanced math, but since Archimedes didn't know any of those you can prove it without!| Nick Craig-Wood's articles on Nick Craig-Wood's home page
Lets calculate π (or Pi if you prefer)! π is an irrational number (amongst other things) which means that it isn't one whole number divided by another whole number. In fact the digits of π are extremely random - if you didn't know they were the digits of π they would be perfectly random. Fun with Maths and Python This is a having fun with maths and python article. See the introduction for important information!| Nick Craig-Wood's articles on Nick Craig-Wood's home page
This is going to be a series of articles which are all about having fun with maths and Python. I'm going to show you a bit of maths and then how to apply it with a python program, then work out how to improve it. I decided to write these after looking in my doodles folder on my computer and finding 100s of programs to calculate this bit of maths, or explore that bit of maths, and I thought it would be interesting for me to share them.| Nick Craig-Wood's articles on Nick Craig-Wood's home page
Deadlocks: the dark side of concurrency| www.craig-wood.com