Anatomy of a bicycle chain

image

I changed the chain on my bicycle awhile ago and decided to keep the old one and recycle it.  I haven’t decided what or if I’m going to us it for yet but was curious about the wear on its components.  So I used a chain too to remove 3 of the links so I could completely disassemble one of the links.
Once I disassembled it I could see that the main component that show wear is the connecting pins.  They have quit obvious grooves which is probably the main thing the cause train stretch.  Surprisingly I couldn’t see any obvious wear on the two bearings.  I also saw some wear on the silver coloured connecting links.
It was also quite interesting how the rear sprocket had worn.  It looks like some of the teeth have actually bent out of shape.

image

Day off to visit the NPL (Plus picture of me!).

image.php
Wearing stompy goth boots and leggings for my visit to the NPL!

So I had a day off yesterday to visit the National Physics Laboratory for there open house event.  Me and S saw lots of interesting exhibits including seeing a house fly under an electron microscope which was amazing.  You could see the compound eye in amazing detail.  I also got the chance to use a ultrasound machine to plastic stick men in gel which was a lot harder then it looks and lot of fun.

Unfortunately my stompy Goth boots got the better of me and my feet were aching after several hours so me and S retreated to a nearby pub for food and then got the train home.

 

Space engineers

Factory ship
My factory ship where ores are smelted down and components are made.

I recently bought Space Engineers on steam when it was discounted. It’s pretty much minecraft in space the object is to build ships and spacestations. Like Minecraft it has a survival mode and creative mode. In survival mode you have to mine asteroids for minerals which you can smelt down and assemble into components needed to build things and run nuclear reactors to generate power.
It’s currently early Alpha but still fun. I like the fact you build your space ships and platforms out of blocks then fly them around. You can also enable space ships which fly through the game area which you can either salvage for parts or just take control of yourself.

Skirting the issue.

Every so often I decide that I actually want to be a bit feminine for a change and you know wear make up and stuff. Funnily enough this has usually been around the time of BiCon which is the annual convention for bisexual people and allies to get together and hang out.
This year however I have a party coming up and I’m thinking it would be nice to dress up for it for a change rather than just wearing my usual jeans and stuff. I think part of if is hanging around K and remembering when I used to dress up really gothy myself.
I’m currently spending some time trying to find myself the right knee length skirt (yes I’m very fussy about what I wear being exactly right) and thinking about wearing it with some funky tights (I used to have a thing for funky tights). I think I may also be taking S to Camden market to buy a new pair of New Rocks. I used to have the ones I really like but sadly the zip went on them so they didn’t end up moving with me to London.
I’ve also been practising a bit with eye make-up as I used to be good at it but am so hideously out of practice I’m having to relearn how to do it.

GRE tunneling for fun and profit.

I recently subscribed to Netflix and being in the UK I found that they have loads more available in the US to watch.  To get around this in a way that would also allow me to stream programmes to my chromecast is actually quite complicated.  As I have small Linux box on my network to provide IPv6 via a tunnel I thought I would allow this to also allow access via a GRE tunnel to a VPS running in the US.

The first thing you need to do is setup the machine in the US so it can do NAT just like your home router can do with the following:
#!/bin/sh
echo 1 > /proc/sys/net/ipv4/ip_forward

iptables -F FORWARD

iptables -A FORWARD -m state –state RELATED,ESTABLISHED -j ACCEPT
iptables -A FORWARD -s 192.168.0.0/16 -j ACCEPT
iptables -A FORWARD -j REJECT
iptables -t nat -A POSTROUTING -s 192.168.0.0/16 -o eth0 -j MASQUERADE
iptables -A INPUT -i tun+ -j ACCEPT
iptables -A FORWARD -i tun+ -j ACCEPT
iptables -A INPUT -i tap+ -j ACCEPT
iptables -A FORWARD -i tap+ -j ACCEPT

iptables -A INPUT -i us-gre -j ACCEPT
iptables -A FORWARD -i us-gre -j ACCEPT
iptables -A INPUT -i us-gre -j ACCEPT
iptables -A FORWARD -i us-gre -j ACCEPT

Your then need to setup a GRE tunnel between your VM running in another country and your home network.  One thing to be aware of is that GRE tunnels use a specific IP protocol number rather than TCP or UDP.  This means that your need to either activate an option which enables this or setup the machine doing the routing on your home network as the DMZ host.

I used the following to setup a GRE tunnel on the VPS which will forward all data to my home network over the tunnel (my home network has addresses in the 192.168.x.x range).


ip tunnel del us-gre
ip tunnel add us-gre mode gre remote local ttl 255

ip link set us-gre up
ip addr add 192.168.X.1/24 dev us-gre

echo add routes

ip route add 192.168.0.0/16 via 192.168.X.10 dev us-gre
#ip route add 192.168.0.0/16 dev us-gre

Once you have everything setup on the VPS VM then your need to do the same on your home network with the following:


# VPN hosts.
ip rule add from 192.168.0.x table vpn

# Add default routes for vpn table.
ip route add default via 10.9.0.1 dev tun0 table vpn

ip route flush cache

ip tunnel del us-gre
ip tunnel add us-gre mode gre remote local ttl 255

ip link set us-gre up
ip addr add 192.168.8.10/24 dev us-gre

echo add default route

ip route add 0.0.0.0/1 via 192.168.8.1 dev us-gre table vpn

You will also need to run the following to add a table so you can have different routing destinations for different hosts which route via this machine.

echo 200 vpn >> /etc/iproute2/rt_tables

In order to make a machine use the tunnel your need to adjust your DHCP settings so the machine you want uses the machine with the tunnel as it’s default route. Once this is done your use:

ip rule add from ip route flush cache

table vpn on the machine with the tunnel on it. This creates a rule which makes the requested machine use a different routing table to all other traffic.

Minediary: Pyramid Scheme

2014-02-27_22.51.45
So Me and S have been busy for the last few days creating a minecart railway network. We decided to create a minecart line going all the way down to the village on the south of the map with a spur line going to my pyramid in the swamps.
It’s going well so far. S’s line is quite close to the village now after a day of creating bridge, tunnels and clearing obstacles. My next job will be to create a automated junction with buttons to select the appropriate destination. Then I will start laying track to the pyramid. I think it will take awhile as I don’t play as much and I also want to build a farm and a new house on an island I built a branch line to.

Minediary: Starting to get a safe outpost.

2014-02-27_21.51.23

Well this is the first of my mine diary’s which is a sort of diary of my explorations off my world which has monsters. I have a small cobblestone hut with a mine underneath to provide shelter, resources and defence at night. I also now have a walled garden with some cattle, a sheep and a wheat field so food is no longer a problem.

Now I have the basics sorted out I’m working on a new building using stone slabs so it looks nicer and lots more space to live in. I’ve also built a new defensive wall which should hopefully be spider proof.

Meanwhile on the safelands (the main map which runs on peaceful mode) I’ve been helping S out by adding some points on the MTA (minecraft transit authority 🙂 ) line so there is now a junction to connect her line to the rest of the rail network.

In addition to this I’ve been making a trans pride flag out of wool which is going along well despite nearly catching fire from a near by chunk of burning neverack!