• Category Archives Site News
  • Easter Term 2011 – Part 2 – The End (of The Beginning)

    OK, so this post is a little late arriving – let that speak only of just how busy the last several months have been!

    Rough timeline from the end of the previous post (May 29th) to the present day (July 15th), in terms of week start-dates and the main activity:

    May 30th: My final week of planned revision.

    June 6th: Exam week plus Download Festival (exams on Tuesday 7th, Wednesday 8th and Thursday 9th) followed by Download Festival on Friday 10th, Saturday 11th and Sunday 12th – a huge change of circumstances in the space of a few days, from being very tightly wound to relatively carefree.

    June 13th: The first part was spent doing pretty much nothing (it’s important to do that sometimes) – I was a bit ill after Download, though Download probably wasn’t the cause – more likely it was the culmination of having worked so hard, for so long, with so little rest. Very quickly I had to stop doing nothing, as I realised that with exams out of the way I could no longer defer finding somewhere to live (in the build up to exams, *everything* went on hold aside from revision and cycling). So the second half of the week saw me view a few potential houseshares, the official end of Easter Term, a birthday formal, and the Third Annual Cambridge University Cardboard Boat Race…

    June 20th: May Week! At last! The main event for me was Downing May Ball on Tuesday 21st, though I also viewed another houseshare the day after. There was also the final Fitz Comp Sci Wine and Cheese social on the Monday, a missed punting trip on the Thursday, and a birthday meal on the Thursday. And on the Friday, a NatSci dinner, preceded first of all by results! They appeared on CamSis at around 2pm as I recall: I got a 2.i, which needless to say I am very pleased with.

    June 27th: Grad week. At this point I was fed up of being messed around by potential housemates, and had intended to start the week by arranging viewings of apartments/flats. The daily Spareroom email flagged up a new houseshare that was to be available on Friday 1st (which was the date I’d need to move in if I was to avoid moving home for a few days first – which I was intent on doing). So instead I viewed that in the afternoon, liked what I saw, and went back to meet the other housemates in the evening. All was going well; we arranged to go to the letting agents the next day and do all the paperwork. Then I got a text later that evening saying they were going to let a few more people view it first, and could we do Wednesday. After previous experiences, this was enough to make me change my mind. Thursday saw me view two flats, one a studio and the other with one bedroom. I liked the former, and would have submitted an application on the Thursday had it not been for the fact I had one more viewing lined up for the Friday morning. But at 6:30pm that evening the agents for that viewing called to cancel, as it had been let. At this point my mind was made, and I would submit an application for the studio flat as soon as possible; complicated by the fact that the graduation dinner started at 7pm that evening. I elected to remain a bit more sober than I might otherwise have done, and went to sleep at a relatively early 2:30am; I later learnt that the partying continued until 4:30am. I was up at 7am or so, and at the letting agent for just after 9am, where I learned that somebody else had already submitted an online application overnight – which, had it not been for the graduation dinner, is what I would have done. I submitted mine anyway, as they would both be given to the landlord. About midday I got a call to let me know the landlord had picked mine – great, I now had somewhere to live! The rest of the day saw me arrange the move in date; July 8th, and then was spent with family, who had come down for the graduation weekend. Saturday was the actual grad day itself. It was a pretty awesome day. I probably don’t need to write much more – I can’t see myself forgetting it easily. Dare I say it, it was also pretty emotional – this was compounded by the fact that Fitz kicked grads out by 7pm, so half of the afternoon was spent loading the car up – which was no easy task, given the bulk of my computer, speakers & stands, and bikes. We stayed in a hotel overnight and traveled back on the Sunday morning.

    July 4th: I finally bought Portal 2 on the Monday, having deferred doing so until after exams and then just being too busy to do so, and between playing that and lounging around doing nothing, had finished it by the end of Tuesday. Wednesday was a day of nothing, as also was Thursday. Friday saw me pack everything up and load it into a car once more, but this time for good; I drove down to Cambridge, picked up my keys, and moved into my own place. Friday and Saturday were mostly spent stocking the kitchen and unpacking. On Sunday I went swimming in Jesus Green pool.

    11th July – present day: More flat-related admin; sorting out utilities, including internet, inventories and parking permits. Also various other things like getting my degree certificate framed, and finally customising my phone to my satisfaction; something I just had not had time for until now.

    Tomorrow I drive back home, to go to Carcassonne with family for two weeks. This’ll be my first real holiday in two years, and I really need it!

    [large gap due to more busy-ness - I didn't publish this post when I got to end of that last sentence]

    [the date is now August 25th]

    The second two weeks of July were, as I said they would be, spent in Carcassonne enjoying a very nice and much needed holiday.

    August 1st – present day and beyond: Working as a software developer, which is pretty cool, given that it’s what I’ve wanted to do for the last six years or so. Up until last weekend my flat didn’t have an office chair nor a good desk, and so although on the evenings that I’d sit down at the computer with every intention of doing productive things (like finishing blog posts), I’d just end up playing games, watching films, or reading books. I now have a decent desk and chair (bought from Ikea last weekend) and hence am now able to slowly but surely bring order to my life once again – and once that is done, I might start doing cooler creative stuff.

    A large fraction of this post would be better as photographs, not prose, but in recent years I’ve stopped taking so many good photos as I prefer to focus on enjoying whatever the activity is that I would otherwise be photographing. Despite that, if I posted one I’d have to post an entire album, because there are so many that – although not good photographically –  do capture good memories.

    Following on from the previous Easter Term 2011 – Part 1 post, here is the second half of Easter Term cycling.

    RouteDateCommentsCateyeMyTracksCL Weather
    North Cambridgeshire 1201/06/11Time: 1:27:28
    Dst: 26.80m
    Av: 18.4mph
    Mx: 28.6mph
    Av 30.31km/h~18°C
    North Cambridgeshire 1303/06/11Time: 1:26:01
    Dst: 26.80m
    Av: 18.6mph
    Mx: 32.8mph
    Av 30.58km/h~23°C
    North Cambridgeshire 1420/06/11There's a 17 day gap between this and the last because in between I've had:
    1) Three consecutive days of exams (finals!)
    followed immediately by:
    2) Three consecutive days on a not ideal diet at Download 2011
    followed immediately by:
    3) A week of cold-symptoms - presumably bought about by Download - and catching up on various bits of deferred admin.

    The result is a clear and significant reduction in average and maximum speed.
    Time: 1:31:37
    Dst: 26.88m
    Av: 17.6mph
    Mx: 24.9mph
    Av 28.69km/h~20°C
    North Cambridgeshire 1525/06/11Time: 1:28:23
    Dst: 26.73m
    Av: 18.1mph
    Mx: 27.0mph
    Av 29.65km/h~22°C
    North Cambridgeshire 1626/06/11Phenomenal weather; the hottest day of the year by far. Took 1.6L of water and had run out by Cottenham. Average as far as Swavesy/Willingham was hovering around 20mph; it came down a lot after that due to wind from the south (and possibly insufficient prior eating).Time: 1:31:32
    Dst: 26.88m
    Av: 17.6mph
    Mx: 27.1mph
    Av 28.74km/h~28°C

    Here is the Google Doc with all the stats:
    http://spreadsheets.google.com/ccc?
    key=0At0EKwdiLZmYdFg4Mk9fdHltdWlGeWpQTHMzM3RjU3c&hl=en_GB


  • Wetley Rocks-Flash-Wetley Rocks, Wetley Rocks-Calton Moor-Wetley Rocks

    Posted on by Dave Comment

    (Monday, March 28th)

    I’m back home for a few weeks now. Having made reasonable progress with my dissertation this morning I decided to get out on the bike and head into the Peak District that’s located so conveniently nearby. The hills are a pleasant change from the flatness and windiness of Cambridgeshire.

    Wetley Rocks-Flash-Wetley Rocks is a 40.46 mile route that on the way out goes through Cheddleton, Leek, Blackshaw Moor, Upper Hulme, and on the way back goes through Dove Head, Longnor, Warslow, Onecote, Bottomhouse, Ipstones, Froghall, Kingsley and Kingsley Moor.

    The route includes over 3000 feet of climbing (the My Tracks recording stopped 48.82km in and reported 996m, while the Route Tracer import completed and reports 910m; assuming the My Tracks version was more accurate it is reasonable to extrapolate – there are still plenty of climbs towards the end – and assume the elevation gain was actually at least 1100m; over 3000 feeet). The A53, used between Leek and Flash is actually quite reasonable for cycling on, at least at the time that I was using it.

    Maximum speed according to Cateye was 43.4 mph; this is the fastest I’ve gone on a bike yet. On the majority of descents I didn’t dare stop braking, and there were a few valleys that I went into slower than I climbed out of because the amount of surface gravel meant that if I’d needed to stop while descending at anything more than a crawl I’d have been in big trouble.

    Average moving speed according to Cateye was 14.6mph, and according to the My Tracks Route Trace import, 22.31km/h. This is no doubt mostly due to the the amount of climbing, but possibly in part to the amount of back pain I had for the last 10 miles or so.

    Route:


    View Wetley Rocks-Flash-Wetley Rocks in a larger map

    A couple of photos from Flash:

    img_20110328_165759 img_20110328_165707

    British Summer Time is great (photos taken at ~5pm)!

    (Wednesday, April 6th)

    Wetley Rocks-Calton Moor-Wetley Rocks is a 27.61 mile (according to Cateye) route that on the way out goes through Cheddleton, Leek, Bradnop, Bottomhouse and Waterhouses and on the way back goes through Cauldon Low, Whiston, Froghall, Kingsley and Kingsley Moor. An extra bottle cage and bottle that I’d ordered turned up yesterday and it’s a good thing they did; I got through both, but then, today has apparently been the hottest April 6th on record. Average moving speed (again according to Cateye) was 15.9 mph.

    Although My Tracks has had this habit of failing to completely record tracks before, I’ve worked around it in the past by importing GPX files (exported from Route Tracer) to My Tracks. I can’t do that today because I’ve stopped recording Route Traces, as the project is now winding down (I intend to have a first draft dissertation ready on Friday).

    Route:


    View Wetley Rocks-Calton Moor-Wetley Rocks in a larger map

    I’ve noticed that a lot of A roads in Staffordshire are comparable in size, surface quality and traffic levels to B roads and lanes in Cambridgeshire, while many B roads and lanes in Staffordshire seem more like dirt tracks. This is the reason this route is entirely on A roads; the openness (in terms of visibility) and better surface quality make them feel safer than smaller roads to me.

    Here is the Google Doc with all the stats:
    http://spreadsheets.google.com/ccc?
    key=0At0EKwdiLZmYdFg4Mk9fdHltdWlGeWpQTHMzM3RjU3c&hl=en_GB


  • How to make PulseAudio work with Nvidia HDMI audio outputs under Fedora and Ubuntu

    Posted on by Dave Comment

    Normally the sound setup for my machine consists of a pair of Wharfedale speakers and a Temple Audio Bantam XC2 amplifier. Due to the fact I’ll be returning home later this morning for my final Easter vacation, pretty much everything I have is packed up in boxes right now; the machine and screen remain on the desk, however. Driven by the desire to listen to music while I finished packing, I decided to get output over HDMI working (having had problems with it in Fedora [14] and Ubuntu [10.10] in the past). I have an iiyama monitor which has speakers built in and is connected to a GTX 470 graphics card by HDMI.

    The problem was that although the PulseAudio Volume Control applet (pavucontrol) showed the output (as “G100 High Definition Audio Controller (HDMI)”), when I redirected output streams to the device I simply heard no sound. As I didn’t have this problem under Windows I knew it was a software issue.

    After some more experimentation using aplay I figured out that the problem was due to PulseAudio outputting to the wrong HDMI subdevice. This I did by running aplay -l:

    [dhpiggott@panther ~]$ aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: Intel [HDA Intel], device 0: ALC889 Analog [ALC889 Analog]
    Subdevices: 0/1
    Subdevice #0: subdevice #0
    card 0: Intel [HDA Intel], device 1: ALC889 Digital [ALC889 Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 7: NVIDIA HDMI [NVIDIA HDMI]
    Subdevices: 0/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 8: NVIDIA HDMI [NVIDIA HDMI]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 9: NVIDIA HDMI [NVIDIA HDMI]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    

    I then tested out each subdevice to determine which actually produced sound:

    aplay -D hw:1,3 testsound.wav
    aplay -D hw:1,7 testsound.wav
    aplay -D hw:1,8 testsound.wav
    aplay -D hw:1,9 testsound.wav
    

    I found that 7, 8 and 9 would produce sound while 3 did not. Assuming the problem was that PulseAudio was using 3, I set about changing that:

    1. Open /etc/pulse/default.pa
    2. Find the line “load-module module-udev-detect” and comment it out with a #
    3. Paste in at the end of the file entries that will manually load the necessary modules for your hardware. In my case:
    load-module module-alsa-sink device=hw:1,7
    load-module module-alsa-sink device=hw:0,0 (necessary so I can also use the Wharfedale speakers, since it will no longer be autoloaded).

    Having done this a simple killall pulseaudio was enough to make things work; I could resume Spotify playback and then redirect it successfully to the iiyama speakers using pavucontrol. One problem that came about was that the volume hotkeys on my keyboard stopped having any effect on actual audio volume as they weren’t being mapped to the right sink. Before I got a chance to look into it more I’d had to reboot the machine to move some cables, and this turned out to be enough. Perhaps even just logging out and back in again would have been sufficient.

    Hopefully this guide will help a few people; I came across plenty of posts by people having the same problem when I Googled it but no solutions.

    Notes:
    1. The system I did this on is running Fedora 14. As such I haven’t actually tested the solution on Ubuntu 10.10, but I know that the same problem exists from when this machine ran Ubuntu.
    2. It may be necessary to unmute the HDMI output channels using alsamixer (press F6 when in alsamixer to change device, press m to toggle mute/unmute status).


  • Return to Cambridge and yet more cycling

    I completed familiarisation with the new configuration with a quick trip on the same route as previously, but going clipless on December 31st:


    View North East Staffordshire 9 in a larger map

    On January 3rd I intended to do something different and cycle up to Rudyard Reservoir and back. However the temperatures were subzero and despite wearing gloves and the fact I’ve never had problems in subzero temperatures before, I had to turn back halfway as the risk of frostbite became a genuine concern. I later realised why I had problems having not done before: i) with the new bike I’m going faster and so wind chill is more of an issue and ii) my clipless shoes seem to have far more ventilation than the trainers I used this time last year. On returning there was another problem: for a reason I’ve yet to find time to identify, My Tracks hadn’t recorded a single GPS point. However, as a training and test data contribution towards my ongoing Part II project, I was also recording the route using my Route Tracer application running on a G1 borrowed from the CL. Route Tracer had no such GPS problems, and so just because I can, I converted the Route Tracer GPS location trace file into a GPX file using project code and then imported it into My Tracks. The Android Market version at the time of writing exposes no GPX import feature, but I grabbed the latest source version from the Google Code repository and found that despite this it does have all the code for GPX import already written (though it seems to be picky about date timezone formatting) – I believe the code exists for use in the My Tracks test suite. I added about ten lines of code to put a GPX import button in the main activity options menu and imported my Route Tracer derived GPX trace. Presumably the reason such a button does not exist already is because either the import code is not considered mature enough, or because there is insufficient demand; hence I didn’t think it worth submitting my code (it was so basic that if it was considered worth having it would already be implemented). Once I’d dealt with the timezone problem the trace imported and I could then upload to Google Docs and Maps:

    Route:


    View North East Staffordshire (variant) 10 in a larger map

    It wasn’t until January 10th that I was able to get out again and give the Rudyard route another go; there was more snow on the 6th and 7th, and the relative lack of daylight means that each day’s window of opportunity is relatively small. The temperatures on the 10th however were reasonable and the snow had melted fairly quickly this time around, so armed with two pairs of gloves and two pairs of socks I set out. Average moving speed was 18.76km/h – marginally higher than the previous attempt and moreover, I actually made it to Rudyard. Total distance was 30.94km/h, maximum speed 50.4km/h (31.3mph). The elevation gain was 588m – greater than even the full Cambridge orbital.

    Route:


    View North East Staffordshire (variant) 11 in a larger map

    Finally for this post is Cambridge Semi Orbital 30 – I returned to Cambridge today for my final “normal” term. The last time I did this route was September 8th and it shows – average moving speed was 25.09km/h. That said, the wind was incredibly strong from the south, so much so that I suspect the average moving speed going up to Cottenham was more like 30km/h and then got brought down to 25km/h over the second half. In any case, work is needed!

    Route:


    View Cambridge Semi Orbital 30 in a larger map

    Here is the Google Doc with all the stats:
    http://spreadsheets.google.com/ccc?
    key=0At0EKwdiLZmYdFg4Mk9fdHltdWlGeWpQTHMzM3RjU3c&hl=en_GB


  • Newcastle to Wetley Rocks – Cycling 1, Bus/Car 0

    Posted on by Dave Comment

    More than anything else this was an experiment in how suitable cycling for utility is over greater distances than is typical in Cambridge. I’m home for the weekend, having got the train to Stoke (On-Trent) on Friday afternoon (I’m only typing this now as I’ve been pretty busy). In need of some new trainers (the old pair had split, presumably from too much pressure on the front from cycling), I cycled straight from the station to Newcastle (Under-Lyme) and bought a new pair (which will hopefully last longer than six months). That bit in itself was surprisingly quick, though given how short it was I didn’t bother recording the route/any stats. The bit of interest here is that I then cycled from Newcastle to home in Wetley Rocks, a journey which (when I was at school in Newcastle) took 40-50 minutes by bus and 30 minutes by car – so I was very keen to see how quickly it can be done by bike.

    Surprisingly, I did it in a total time of 39m37s (moving for 35m24s), despite the hill climb that is Ash Bank; just look at the elevation gain of 233m – greater than that of the Cambridge Semi Oribal route, which is about three times the distance – to see that it’s reasonably hilly. This is a good result for cycling and really makes me wonder why it isn’t more popular just for utility – I’ll certainly be cycling to the railway station this afternoon.

    Route:


    View Newcastle to Wetley Rocks in a larger map

    Here is the Google Doc with all the stats:
    http://spreadsheets.google.com/ccc?
    key=0At0EKwdiLZmYdFg4Mk9fdHltdWlGeWpQTHMzM3RjU3c&hl=en_GB



  • dinamic_sidebar 4 none

©2012 piggott.me.uk Entries (RSS) and Comments (RSS)  Raindrops Theme