| (no subject) |
[Posted on Thursday, the 24th of May 2012 at 9:16 pm] |
Well, there seems to be some drama happening nearby. A fire engine just turned up in the usual cacophony of sirens and lights and unleashed a group of firefighters who wandered off to the nearby park. They reappeared a few minutes later and drove off (after backing the fire engine all the way out, then turning it round and reversing in to the road for some reason), to be replaced by some police who have also disappeared into the park. |
|
|
| Eclipse is a maze of twisty build dependencies, all different |
[Posted on Wednesday, the 23rd of May 2012 at 7:06 pm] |
| [ | Tags | | | java, programming | ] |
| [ | What |
| | confused | ] |
| [ | Who |
| | Deku Palace ~ Nintendo/Legend of Zelda: Majora's Mask | ] |
Eclipse is a maze of twisty build dependencies, all different. As best as I can tell there's the following:
- Build path: this affects compiling and possibly running your project. Split into separate widgets for dependent projects and for libraries/jars.
- Order and export: the same widget handles both the build order and "exporting" stuff to dependent projects, which may or may not actually achieve anything. Certainly the export option doesn't affect what appears in your .WAR.
- Deployment assembly: this doesn't affect your build path, but instead controls what ends up in your .WAR should you generate one. This is also present in non-web projects and mostly works, except not all items are propagated to the web projects (e.g. if A is a web project and B and C are normal Java projects with a dependency A -> B -> C, the dependency from B to C isn't picked up by A. So A needs to explicitly require projects B and C even though it doesn't directly use C). Oh, and if you have a web project then I lied and any direct dependencies here are actually included in your build path.
- Project references: the Java toolchain completely ignores this and makes no attempt to keep it synchronised with the other dependencies. Which is a shame, as the Eclipse interface uses this to work out which projects depend on other projects.
It all seems massively overcomplicated when what's really needed is a way to list libraries/projects and mark them as either "build-time", "run-time", or both. Then when compiling it uses just the items listed as build-time, and when running or creating .WARs it uses everything listed as run-time and includes transitive run-time dependencies as well. |
|
|
| (no subject) |
[Posted on Tuesday, the 22nd of May 2012 at 10:30 pm] |
Today's annoyance was managing to crash my Kindle. I turned it on, paged forward, paged forward again, and then wondered why it was still showing the same page as before. Still, at least there is a reset function - holding the power button down for 20 seconds did the trick.
It's not the only bit of embedded kit to hang on me recently. The other day the Wii failed to power up from standby and also needed a reset. Any bets on what will crash next? |
|
|
| (no subject) |
[Posted on Saturday, the 19th of May 2012 at 4:49 pm] |
Today's random surprise while in Chichester (again) was several flypasts. First was a set of 22 planes that looked similar to Spitfires, flying in various rough groups of 3 or 4. They flew by somewhere south of Chichester, then presumably went and circled round somewhere because they then went past about 4 more times.
Then, a few moments later, a flight? squadron? of 9 jets flying in a very tight diamond formation came roaring over, much closer than the earlier piston-driven planes were.
So last week was the Polish military attaché, this week was a major military flypast. Perhaps I should go to Chichester again next weekend to see what random event is next! |
|
|
| (no subject) |
[Posted on Thursday, the 17th of May 2012 at 7:23 pm] |
| [ | What |
| | confused | ] |
| [ | Who |
| | Stand My Ground ~ Within Temptation/An Acoustic Night at the Theatre | ] | Today's confusing spam email is asking if I want to order evaluation samples of a LED-based replacement for a halogen light. From what looks to be a legitimate company as well.
It's either some very weird spam or a misguided marketing attempt. Still, it makes a change from the usual spam that evades the filters. |
|
|
| Game-breakers |
[Posted on Sunday, the 13th of May 2012 at 9:09 pm] |
They're like buses, you wait ages for a post and then three come at once.
elemnar and I were chatting about our approaches to games, and how it is that elemnar usually ends up utterly annihilating everything without appearing to even try (back in the days of Pokémon, the others at church stopped battling her after it became clear that no-one stood a chance). She mentioned how she had broken her current DS game by virtue of having characters that do massively more damage with normal weapons than the infinity plus one sword you're supposed to be using. She then pointed out how I usually end up breaking the games I play.
Wait, what?
It turns out I take a different approach. While elemnar goes more for a "ooh, shiny!" approach to levelling up and equipment, along with what appears to be a good instinct for how to set up her characters/team/whatever, I have a more methodical approach. Take Tales of Symphonia - in that, I generally paid attention to the different elemental types and set up my attacks accordingly. I also read the combat rules in the manual and so made use of them - attack with standard attack, combo that a couple of times, combo into level 1 skill, combo into level 2 skill, combo into level 3 skill, combo into unison attack for massive damage (rather than just mashing buttons until the enemy died). There was also a point in that game where it went from generally struggling through the battles to generally cruising through them - there's a particular plot point where you fight three battles in a row. You're expected to win the first, maybe the second, and very much lose the third. I lost the second one, and was rather peeved about it because of Plot and because it was rather close. So I went back to an earlier save, spent a bit of time going up a couple of levels, and went back to splat the enemy in the second battle. After that bit of levelling up the game was noticeably easier.
A different game where elemnar and I have very different styles is Final Fantasy Crystal Chronicles. In that game there's several classes: Clavats (balanced), Lilties (warrior), Yukes (mage), and Selkies (thief). elemnar, predictably, went for a Lilty and proceeded to whack everything with a weapon twice the size of her character. I on the other hand picked a Clavat, and after some searching came across a couple of pieces of equipment which massively reduced the casting time. The result is that I could cast maximum-power spells much faster than the mage class, and yet actually had a decent amount of armour and a reasonable attack stat. It all came to a head for the penultimate boss, where I managed to stand in a location where the boss couldn't get me, and cast Thundarga fast enough that its minions would be paralysed in the first hit before they could get close enough, and despatched with the second hit. While maybe not as satisfying as whacking it with a Lilty-sized lump of metal on a stick, it was quite amusing to be able to take it out without receiving a single hit.
I still stand no chance against elemnar in Pokémon - her selection-by-cuteness strategy is just too strong. |
|
|
| Induction hob |
[Posted on Sunday, the 13th of May 2012 at 8:37 pm] |
I have a new shiny toy!
I've finally gotten sufficiently fed up with the solid plate hob that the flat came with, and so have bought a single-ring induction hob. And it is so much nicer to use than the solid plate one - with the old hob, I had to try and predict what power I'd need some time in advance and if my pasta started boiling over it'd take quite a while for the hob to cool down enough. With the new one, I just turn down the power and it stops heating instantly. It responds just as quickly to applying more power, and may even be faster at boiling water than the kettle (I've not timed it, but it certainly seems fast enough). As a result elemnar has decided that I need an old-fashioned kettle with a steam whistle.
The only downside is since it's an induction hob, my nice little frying pan won't work on it (induction hobs don't work with non-ferrous pans). So it looks like I will need to get that frying pan ThatGNU mentioned several times over the weekend. |
|
|
| (no subject) |
[Posted on Sunday, the 13th of May 2012 at 4:38 pm] |
Today's random encounter was the Polish military attaché to the UK, at a parade in Chichester. |
|
|
| (no subject) |
[Posted on Saturday, the 12th of May 2012 at 4:01 pm] |
Somehow, I doubt my Kindle is actually made of paper...
 |
|
|
| (no subject) |
[Posted on Thursday, the 3rd of May 2012 at 6:34 pm] |
| [ | What |
| | silly | ] | I've voted, and not for you! |
|
|
| (no subject) |
[Posted on Tuesday, the 1st of May 2012 at 10:42 pm] |
You can tell it's not April anymore - this afternoon the clouds gave way to a glorious clear blue sky!
For non-Brits: April is usually full of rain (hence the phrase "April showers"), but the past month was exceptionally wet even by British standards. Which is rather amusing when you consider that most of England is officially in drought. |
|
|
| (no subject) |
[Posted on Sunday, the 29th of April 2012 at 12:11 pm] |
The list of devices in this flat that are simultaneously flat and not-flat now also includes smoke alarms.
One of them starts complaining about a flat battery, so after tracking down where the noise is coming from I trip the breaker for the smoke alarms. At which point it stops complaining, but continues to flash the "I'm working" red led every so often.
Flick the breaker back on, and the green power led lights up... and it doesn't start complaining about the battery.
Until about 10 minutes later.
Edit: and now after replacing that battery, at least one other one has also decided that its battery is flat. And of course it shut up as soon as I got up to try and track down which one it was. |
|
|
| Example Test Message - Not to be published |
[Posted on Saturday, the 28th of April 2012 at 10:48 pm] |
| [ | What |
| | amused | ] |
Some time ago while randomly bouncing around the internet I tripped across the Queen's Harbour Master website for the nearby port, and signed up to the navigation warning mailing list out of curosity. Most of the bulletins posted are mundane ones along the lines of "Mariners are advised that bouy wotsit has been reported as unlit", "Cancel previous nav warn, bouy wotsit is now correct". Occassionally a more interesting one turns up, such as one last year which warned about a "crash test boat controlled explosion".
Today the following landed in my inbox...
NAVIGATION WARNING
NAV WARN 99/99
Example Test Message - Not to be published .
- This is an example notice to show many of the formatting options available.
A single return signifies a new paragraph in the text however
- each new line created with a double return from the previous line creates a new numbered bullet point.
- Remember that important sections of the notice can be highlighted by placing around the text to make it bold.
- All notices are based on a numbered list which cannot be switched off, however it may sometimes be necessary to create a second smaller list, this can be done by placing a single return between each line and starting each line with a hash.
- Lettered List
- List Item 2
- Etc
- Cancel this Navigation Warning Thu 7th Apr 2011 (-387 days)
|
|
|
| Debian DHCP fail |
[Posted on Tuesday, the 24th of April 2012 at 8:58 pm] |
| [ | Tags | | | computing, linux, rant | ] |
| [ | What |
| | annoyed | ] |
| [ | Who |
| | Silence (Michael Woods remix) ~ Delerium feat. Sarah McLachlan/Chilled 1991-2008 - Disc 3 | ] |
Today's discovery is that Debian isn't smart enough to include its own hostname when sending a DHCP request. The only workaround is to edit dhclient.conf and manually hardcode the computer's hostname. Then restart "networking" and hope the DHCP client actually does come back up (it didn't when I had to do this earlier today, leaving me with a box that didn't want to speak to anything).
For added hilarity, look at Debian bug 151820 (and yes, that was first raised nearly 10 years ago).
Interestingly, on that mini-network the only devices which didn't require funky non-obvious configuration to make DHCP and hostnames work (the setup is such that the DHCP server updates DNS as devices come and go) were some of the SIP phones and a Windows 2000 server. |
|
|
| (no subject) |
[Posted on Tuesday, the 17th of April 2012 at 5:40 pm] |
Well, that was good timing. I got back to my flat just before it started hailing outside.
Isn't April weather wonderful? |
|
|
| (no subject) |
[Posted on Sunday, the 15th of April 2012 at 8:55 pm] |
| [ | Tags | | | facebook, rant | ] |
| [ | Who |
| | Morphing Thru Time ~ Enigma/Love Sensuality Devotion: The Greatest Hits | ] |
What pleaseremove hasn't said about his recent blog upgrade is just how he's pushing the posts to Facebook. He's not using the Facebook API - instead, he's horribly abusing their mobile interface. Having spent the day trying to write a desktop client for Facebook, I fully sympathise with him.
The authentication sequence and low-level communication is actually quite straightforward. Authenticating needs an embedded instance of Internet Explorer to handle the login (because it's all done via web pages), but that only takes a few lines of code to achieve. Retrieving data is also reasonably easy to achieve and the Microsoft Scripting API works quite nicely for decoding the JSON. So far so good.
The fun part is then making sense of everything. What I want to do is grab the news feed and display that (later on I intend to filter it, but for now I just want the lot). Unfortunately the news feed returned is missing a fair number of updates (like any status updates made through the website). Except when it contains updates that aren't on the actual Facebook webpage. And the objects are missing fields that are specified in the documentation (like, for example, the name field on photos). Except when the fields are actually present with different names. Except when the information needed isn't available at all, despite the Facebook website showing it.
Oh, and I lied about the authentication being straightforward. It involves a maze of twisty permissions, all unclear. |
|
|
| (no subject) |
[Posted on Sunday, the 15th of April 2012 at 12:06 pm] |
The screen on my aging Thinkpad is slowly failing (there's now a faint blue line down the right-hand side), so I thought I'd have a quick look to see what's current. And since I'm one of these strange people who use a laptop for more than just watching DVDs in a blacked-out room, any replacement has to have a matte screen and has to have a decent vertical resolution.
My R50e has an average-quality 1024x768 15" display that doesn't quite have enough pixels for software these days. My dad's R51, from the same vintage, has a very nice 1400x1050 15" screen.
The highest resolution you can get on a Thinkpad these days is 1600x900. You can get an HP laptop with a 1920x1080 display, but then you don't so much have a laptop as a desktop computer with a battery.
Supposedly this is progress. |
|
|
| (no subject) |
[Posted on Wednesday, the 11th of April 2012 at 9:35 pm] |
| [ | Tags | | | rant | ] |
| [ | What |
| | annoyed | ] |
Attempts needed to find a list of nearby places on the National Trust site: 5
- Enter postcode on the home page, press Enter, and the postcode disappears.
- Enter postcode on the home page, press Enter, and the postcode disappears.
- Enter postcode on the home page, try clicking on the search button instead of pressing Enter... and get taken to an advanced search page with no results. And with no postcode.
- Enter postcode on the advanced search page, press Enter... and get taken to a page that initially appears blank, but after several seconds updates to list all National Trust properties, not just the nearby ones. And the postcode disappears again.
- Enter postcode yet again, try clicking on the search button instead of pressing Enter... and after a couple of seconds of apparent inactivity the list updates to show what I actually wanted.
Attempts needed to find a list of nearby places on the English Heritage site: 4
- Enter postcode in on the home page, press Enter... and get taken to a regional page.
- Enter postcode in the "Near your town" section of that page, press Enter... and get taken to a combined places to visit/events page.
- Scroll down, click "Find more properties"... and get taken to an advanced search page that (surprise, surprise) initially shows no results, but after several seconds updates to list all English Heritage places. And the postcode disappears.
- Enter postcode, press Enter... and after a couple of seconds of apparent inactivity the list updates to show what I actually wanted.
Attempts needed to find a list of nearby geocaches on Geocaching.com: 1
- Enter postcode on home page, press Enter... and get taken to a list of nearby geocaches.
|
|
|
| (no subject) |
[Posted on Wednesday, the 4th of April 2012 at 8:11 pm] |
| [ | What |
| | curious | ] |
| [ | Who |
| | Learning to Fly ~ Stratovarius/Elements I | ] | Is it just me, or do the robots in Skyward Sword look rather like those in Laputa: Castle in the Sky?
Okay, okay, I know the Skyward Sword ones are cute little waist-high robots while in Castle in the Sky they're 10' tall with frickin' lasers on their heads, so there's perhaps a little difference in height there... |
|
|
| Three random updates in one! |
[Posted on Thursday, the 29th of March 2012 at 10:24 pm] |
Tuesday's discovery was that erasing part of the flash chip your code is executing from is a Bad Idea. Not because I'm erasing the code that's being executed (I'm actually erasing a completely different part of the chip), but because while the chip is carrying out a sector erase it doesn't respond to reads for different sectors.
For added fun, when the processor presumably threw a bus error exception, it failed to run the exception handler because that's also located in the same flash chip. So it just reset and left me staring at the startup output wondering how my upload function had morphed into a crash-on-demand function. Fortuantly it didn't also become a brick-on-demand function.
Wednesday's annoyances were mainly made up of finding piddly little bugs in my code, with each bug fixed unearthing a new one somewhere else (most of these are due to other chunks of code being incredibly picky about parameters). And due to how the hardware is structured each time I recompile the code it takes about 15 minutes to re-flash everything. This isn't helped by the system deciding to sulk every fourth upgrade or so.
On the plus side, I managed to deal with all the flash-related issues from Tuesday. This means that about half of the stuff I'm working on now all behaves itself. As long as you don't look at it funny.
And today's achivement was wandering down to production to see if I could prise a particular component out of them, and somehow managing to end up with two fully populated system boards to play with. Result! |
|
|
| (no subject) |
[Posted on Wednesday, the 21st of March 2012 at 9:46 pm] |
| [ | What |
| | curious | ] | *taps microphone*
Is this thing on? |
|
|
| Cornwall again, day 4 |
[Posted on Thursday, the 2nd of February 2012 at 8:47 pm] |
Since everyone was recommending it, today I went to St. Ives. Apparently this is the right time of year to do so, because it's the only time when it's not full of tourists. Seriously, it seemed like every other house was either an art gallery or a holiday cottage. Does anyone actually live in St Ives?
The place also has the most aggressive seagulls I've ever come across. There I was, happily eating my lunch, when one of them launched a sneak attack from somewhere behind me and tore a chunk out of my pasty. Cheeky blighters. I've never had a seagull actually go after my lunch before - the Brighton ones will eye you up but generally know better than to actually try anything, while the Fareham ones aren't big enough to be a problem. In any case, I much prefer the incredibly friendly robins that Cornwall seems to be full of this week. While at Trebah one even perched next to me and quietly sang, giving me my own private concert!
Anyway, St Ives. While the place is full of art galleries, the one that stands out is the Tate at St Ives. I'm not particularly into art (especially the pretentious stuff that normally ends up in any placed called "Tate"), but it's highly recommended so I thought I'd give it a try. It's... strange, to say the least. The current exhibition is by and about Simon Fujiwara, which is a name that meant absolutely nothing to me. It appears to be sort of an autobiographical series of rooms, and is more than a little disturbing to begin with. The later rooms are more light-hearted - gallery 2 has a series of very carefully placed intact and broken pots, with a video clip revealing that the pots were broken as part of some father/son bonding thing. Gallery 1 (they decided to have you go round the galleries from 5 to 1 - this is the Tate, so it'll make perfect sense in someone's world) was my favourite, and contained a series of letters that Simon had written while in Mexico. Or rather, had dictated in English to non-English-speakers. He does then go and spoil it at the end by revealing that he can speak Spanish, but it was amusing while it lasted.
The Tate also has a multimedia tour of the town - you can borrow an iPod, which will take you on a wander around the place from the perspective of the artist Ben Nicholson who spent several years living in St Ives. It's actually a rather good tour, and makes for a pleasant walk around. It only covers the town centre, so after the tour I then wandered up to the small chapel on top of the hill. From there, you do get an absolutely stunning view both back inland and out over the sea. I can quite see why St Ives would be attractive to anyone interested in coastal art/photography. |
|
|
| Cornwall again, day 3 |
[Posted on Wednesday, the 1st of February 2012 at 10:45 pm] |
Today was spent wandering around Falmouth and visiting the National Maritime Museum. It is a fascinating place, and well worth a visit - or indeed several. At the moment they had an exhibition on lighthouses, covering both the structures themselves and the people who lived and worked in them. There's an interesting collection of artefacts there as well - one that particularly stands out is a pair of solid bronze doors. Or rather, a pair of very dented and partially missing solid bronze doors, that lost in a fight against a storm.
They also had a section covering the use of lighthouses in various media. Apparently St Anthony lighthouse was used in the show Fraggle Rock. Slightly more recent (and one I remember well) was the Australian show Round the Twist, wherein the Twist family live in a lighthouse. They also have this absolute gem of an advert based around the urban myth of the US aircraft carrier discovering that no, a lighthouse will not divert course to avoid a collision. And finally, there's this absolutely hilarious smith and Jones sketch.
That exhibition is being changed soon - instead they'll have one on search and rescue. Somehow they're going to fit a Sea King SAR helicopter into the exhibition space! |
|
|
| Cornwall again, day 2 |
[Posted on Tuesday, the 31st of January 2012 at 9:13 pm] |
Unlike last time I didn't spend day two wandering around Falmouth, but instead went further afield. In fact, I somehow ended up walking the South-West Coast Path all the way to Trebah Gardens (though I did take a short-cut from Maenporth to Mawnan Smith thought what was the muddiest public footpath I've ever come across). It took me about 3 hours to get there, as I was gently ambling along for most of it and pausing now and then to take photos or unearth geocaches.
I did cheat and take the bus back to Falmouth, though even with that according to my phone's step counter I walked over 10 miles! I know I've said this before, but 10 miles really doesn't seem all that far anymore. Yesterday I walked from the holiday cottage into Falmouth, pottered around the high street, and wandered up to Wodehouse Terrace and back. I... can't come up with a solid mental feeling for what sort of distance that was, but none of it felt like being any real distance. It's all what I'd consider to be local.
According to my phone that was probably a mile and half to get to the centre, another 3 miles around town, and a mile and half to get back.
Anyway, Trebah gardens. Since I was last here (13 years ago!) they've built a new visitor centre with restaurant, neatened up a few things here and there, but not all that much seems to have changed. They've still got the koi pool, the giant rhubarb (unfortunately not sprouted yet this year), the plaques with the time trail, and the private beach with the funny narrow stone steps to it (turns out this goes over the coast path). It's still well worth a visit.
Interesting bit of trivial: the US 29th Infantry Division embarked from the beach at Trebah as part of the D-Day landings (to land on Omaha Beach, in this case). There's a memorial stone at the bottom of the gardens, and they hold a remembrance service there each year. |
|
|
| Cornwall again, day 1 |
[Posted on Monday, the 30th of January 2012 at 10:09 pm] |
So here I am, once again in a holiday cottage (the same one as last time) in Falmouth, Cornwall. This time it's only 3 years since I was last here.
The biggest thing that's struck me about being here is just how quiet it is. Growing up in Horsham there was always the distant sound of traffic on the A24. In Brighton there was more traffic, and in Fareham I live next to both a major road junction and a train line (though it's amazing how good the brain is at filtering it all out). Here, it's almost completely silent. There's just the whirr of the laptop hard disk, some gentle Jazz on the radio, and the odd ping from the heaters. If I turned that lot off then all that's left would be the faint noise of the wind (unlike last time it's not stormy, merely damp).
Let's go slightly off-topic for a moment here (it'll make sense). Some of you may know that I have a grand plan: to get a Master's and a PhD. The reason for doing so is largely "because", but I consider that a sufficiently good reason for a grand plan. Actually, there's a bit more to it than that - I did enjoy the time I spent at university and the people there, and would love to go back to it. The plan's also come on a bit since it originally came into being five years ago. I recently looked at doing a masters via the open university, and decided that it actually wasn't what I wanted. Almost all the modules I already know to some extent, and the ones I didn't I looked at and went "is that actually any use to me?". I think what I really want to do is a research degree rather than a taught one, something where I can come out at the end with having actually done something. I've got enough ideas for potentially cool things (some practical, some less so) that I'm sure there's something I could do a research project on.
Besides, actually working for a few years gives you a better work ethic and I'd probably do a lot better with the project this time (there's something to be said for doing a course with a sandwich year - while university gives you the knowledge and skills, it doesn't really prepare you for the world of work). Then again as my grandfather always says if you got a first or a third you spent too much or too little time studying, so I think I did quite well with my 2:1. Certainly it was good enough for the job I got straight out of university.
Anyway, back on topic: the reason I'm writing about my grand plan is I've decided I now have a second grand plan: to live in Falmouth (though I'll settle for seaside Cornwall in general). Of course it's completely impractical due to a total lack of software jobs in the area, but no-one ever said grand plans have to be practical. Merely that they should be possible. Then again in this day and age all you actually need for a software business is good connectivity. The people behind World of Goo, for example, describe their office as being whichever coffee shop with free Wi-Fi they're in today.
Neither of these plans is going to happen tomorrow - they're several years away at least. The first plan has been in a perpetual state of "in a couple of years" ever since leaving Sussex due to the money required for a Master's/PhD constantly increasing. The second plan has only just come into being as an actual plan rather than a vague answer to the "if you could live anywhere where would it be" question. But in five years time, who knows? |
|
|
| (no subject) |
[Posted on Monday, the 30th of January 2012 at 9:26 am] |
I've just glanced out the window of the train at Romsey, and guess what I saw?
Snow!
Okay, it's only just snowing and it's got no chance of sticking, but that's not the point. |
|
|
| (no subject) |
[Posted on Saturday, the 28th of January 2012 at 3:54 pm] |
| [ | What |
| | angry | ] | The opening hours listed online for my local bank are blatant lies. They claim that the branch is open 9am to 4pm on saturdays. It's actually only open until 3pm.
Guess who was there a short time ago, foolishly thinking that an online branch finder might actually show the correct opening hours? |
|
|
| The POÄNG chair problem |
[Posted on Tuesday, the 24th of January 2012 at 6:59 pm] |
I see iRobot still haven't solved the POÄNG chair problem. The new Roomba seems to have a slightly higher bumper and is more likely to just drive straight over the cross-piece at the back, but the downside to the higher clearance is it can (and has done three times just now) easily beach itself. |
|
|
| Its... power level... it's over 9000! |
[Posted on Monday, the 23rd of January 2012 at 8:59 pm] |
I have a new toy! Unfortuantly iRobot don't actually make models with a jet engine, though at least its power level is OVER NINE THOUSAND. Now all I need to do is charge it overnight, feed it a suitable offering in the form of a dust bunny, and then let it loose on my flat. I'm not sure what I'll do with the old Roomba - the battery puts out a pitiful amount of current, one of the rubber strips on the vacumn entrance is peeling away from the case, and iRobot don't stock replacement filters for it anymore (any of those on its own wouldn't be an issue, but given that it's end-of-life it makes sense to replace rather than try and scrounge replacement parts).
On a less silly note, it's interesting to see how they've changed the design. The new Roomba (third generation) has the battery buried inside rather than clipped in, much smaller gaps around the bumper, a rubber strip above the brush deck, and the cliff sensors are now on the main body rather than the bumper. It loks like they've made an effort to stop up all the gaps where dust would get in on the previous model, which can only be a good thing given the number of times I've had to open up the last one to clean the bumper touch sensors. They also appear to have tweaked the programming - at first glance it's a lot more competent at docking with the charging base than the old Roomba was.
Also, contrary to what iRobot tech support said, at least the infra-red remote from my previous Roomba is compatible with the new one. |
|
|
| Doing silly things with cross-compilers, part 1 (installing MinGW) |
[Posted on Saturday, the 14th of January 2012 at 5:56 pm] |
| [ | Tags | | | computing, nas adventures | ] |
| [ | What |
| | accomplished | ] |
| [ | Who |
| | Orinoco Flow ~ Celtic Woman/The Very Best of Pure Moods - Disc 1 | ] |
Since getting that NAS, I've been poking around and looking at adding some useful programs to the existing firmware. The initial one I want to run on it is smartmontools, so I can see just what start the hard disks are in and try and prod the second one into actually responding.
As with most embedded stuff, it runs Linux. So getting my own code to run is merely a case of building a cross-compiler that'll run on an actual system and produces output that works on the NAS' armv5l-linux architecture. Actually, since this is a NAS with actual disks I'm not limited to the pokey little flash chip that most embedded stuff has (this device has 16MB of flash - most routers have 8MB or even only 4MB!) and so I could run the compiler on the NAS itself. Unfortunately, it doesn't come with one, and to build a compiler you first need a compiler. Hence the need for a cross-compiler. Since the target is Linux that'd normally mean I'd also need to install a Linux development environment, which I'd rather not have to do - Linux and I don't get on well.
Now, something I tripped across recently is a page on the MinGW website, containing instructions for building a cross-compiler hosted under MinGW. The useful part of this for me is that MinGW along with MSYS is a port of a whole bunch of Linux tools to Windows. So in theory I should be able to use that to build and run my cross-compiler on Windows. This is completely against the normal way of doing things, but the wiki page is proof that it should be possible.
Unfortunately the instructions are rather out of date, so I'm having to make it up as I go along (using a vaguely recent set of instructions for a GNU/Linux ARM toolchain and an older Linux/ARM howto for more recent details). I intend to document this as I go along, partially as a set of notes to myself, partially in the hope that the next person to try this finds it useful, but mainly so you can all point and laugh when it inevitably fails in some spectacular fashion.
( Part 1: Installing MinGW ) |
|
|
| (no subject) |
[Posted on Sunday, the 8th of January 2012 at 9:12 pm] |
I sometimes see the odd fox while out walking, usually in the countryside. Occassionally I'll spy one on the edge of a built-up area (like near Moulsecoomb station in Brighton). I don't think I've seen one right in the middle of town before, though...
I've just been out on a random evening stroll, and was walking along the main street back into the centre of town when a fox appeared from a junction in front of me. It ran towards me along the middle of the road, paused for a moment while we stared at each other, and then ran past and disappeared up a side street behind me. |
|
|
| (no subject) |
[Posted on Saturday, the 7th of January 2012 at 9:59 pm] |
| [ | Tags | | | computing | ] |
| [ | What |
| | annoyed | ] |
| [ | Who |
| | Politik ~ Coldplay/A Rush of Blood to the Head | ] |
I apparently have a file that simultaneously exists and does not exist:
/cross/src/gcc-4.6.1/gcc/../libcpp/include/line-map.h: No such file or directory
make[2]: *** [s-gtype] Error 1
make[2]: *** Waiting for unfinished jobs....
/bin/sh /cross/src/gcc-4.6.1/gcc/../move-if-change tmp-constants.h insn-constants.h
echo timestamp > s-enums
echo timestamp > s-constants
rm gfortran.pod gcc.pod
make[2]: Leaving directory `/cross/build/gcc-4.6.1/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/cross/build/gcc-4.6.1'
make: *** [all] Error 2
Thomas@Khaos /cross/build/gcc-4.6.1
$ ls -l /cross/src/gcc-4.6.1/gcc/../libcpp/include/line-map.h
-rw-r--r-- 1 Thomas Administrators 7649 Jan 3 2011 /cross/src/gcc-4.6.1/gcc/../libcpp/include/line-map.h |
|
|
| (no subject) |
[Posted on Saturday, the 7th of January 2012 at 8:22 pm] |
Today's nifty trick: if you run /lib/libc.so.6, it prints out which version of libc it is and what it was compiled with. |
|
|
| (no subject) |
[Posted on Thursday, the 5th of January 2012 at 8:29 pm] |
| [ | What |
| | accomplished | ] | While rearranging stuff to make a hole for the NAS, I picked up an extension lead and it rattled. Um. So, unplug it (because rattling pieces of metal and 240v is a bad combination) and open it to try and find out what's loose inside.
Except Belkin in their infinite wisdom have declared it to have no user serviceable parts inside, and have enforced this by using tamper-proof one-way screws on it that are supposedly impossible to undo with an ordinary screwdriver, or indeed with any screwdriver.
Not that they were particularly effective at stopping me.
Of course, it turned out that the rattling piece was just a bit of plastic that had presumably snapped off something or other. Still, better that than a bit of metal waiting to let the magic smoke escape. |
|
|
Happy Birthday talismancer |
[Posted on Wednesday, the 4th of January 2012 at 10:27 pm] |
Oh yes, before I forget...
|
|
|
| This is not the hard drive you are looking for... |
[Posted on Wednesday, the 4th of January 2012 at 7:56 pm] |
| [ | Tags | | | computers | ] |
| [ | Who |
| | Sector Song 1 - Kinda Green ~ Chris Geehan & Dan Byrne McCul/Iji Soundtrack | ] |
So while I was at home over Christmas I picked up an old NAS that had been gathering dust (and spiders) since my dad replaced it with a newer one...
( Read more... ) |
|
|
| The future is now |
[Posted on Monday, the 2nd of January 2012 at 6:02 pm] |
In today's "the future is now" moment, the clubcard signup machine in the local Tesco's spits out actual plastic cards with a working magnetic stripe and with your name printed on it. I was just expecting a barcode on a scrap of paper (like the Ikea one does) with the real card turning up in the post a couple of weeks later.
On the down side, the machine claimed my postcode did not exist. Apparently it takes more than two years for Tesco to update their postcode database. |
|
|
| (no subject) |
[Posted on Sunday, the 25th of December 2011 at 8:59 am] |
|
Merry Christmas! |
|
|
| Snap, crackle, pop |
[Posted on Saturday, the 10th of December 2011 at 6:18 pm] |
| [ | Tags | | | real life | ] |
| [ | What |
| | aggravated | ] |
| [ | Who |
| | Columbus (Didn't Find America) ~ Show of Hands/The Best of Show of Hands - Disc 2 | ] |
Oven: snap, crackle, pop! Me: ah, time to clean the oven.
On the minus side, this oven does not have fancy self-cleaning panels so cleaning it requires large amounts of elbow grease. On the plus side, since it's just enamel I can attack it with wire wool. So, I got the worst of the gunk off, switched it back on, and waited for it to heat back up so I could put my home-made pizza in.
And waited.
Turns out it wasn't just a bit of grease going up, but was something more fundamental. The oven no longer heats up.
Most annoying. Now what do I do with my pizza? |
|
|
| (no subject) |
[Posted on Sunday, the 4th of December 2011 at 1:12 pm] |
|
It amuses me that the Occupy London movement is simultaneously a) calling for the City of London to publish their full accounts while b) apparently not publishing their own accounts. |
|
|
| (no subject) |
[Posted on Thursday, the 1st of December 2011 at 9:50 pm] |
| [ | Tags | | | real life | ] |
| [ | What |
| | ditzy | ] |
| [ | Who |
| | Candles (Live) ~ Within Temptation/Mother Earth | ] |
So, I just popped round to the shiny new Tesco's thinking that I may as well have a look, and besides I needed some milk for tomorrow morning.
I even made sure last night to put the card in my wallet so I wouldn't forget it today. After all, it's free substitute money.
So of course, I breezed through the self-service checkout on full autopilot and completely forgot about the giftcard. Until approximately three yards outside the entrance, when my brain caught up and went "waitaminute..." |
|
|
| Name That Song, round 7: the answers |
[Posted on Wednesday, the 30th of November 2011 at 11:08 pm] |
Bring on the wall answers!
( The answers )
So out of the 30 songs, a sum total of 8 were successfully guessed by 3 readers. Huh, I thought it would actually be easier this time. Anyway, the results are in, and the medals have been awarded:
The bronze goes to omgimsuchadork with 1 points. allegramente has managed the silver medal with 3.5 points (you only get half a point for #28, since you only guessed the artist). But the gold medal goes to ariskari with a grand total of 4 points! Congratulations!
And that, ladies and gentlemen, rounds out the month of daily updates for NaBloPoMo! Congratulations to omgimsuchadork for also managing to post every day, special congratulations to allegramente for achieving the required 30 posts in just over half the time, and a honourable mention for talismancer who's likely provided more actual content in his 23 days of posting than I've managed in the entire month. |
|
|
| The compensation has arrived (such as it is) |
[Posted on Tuesday, the 29th of November 2011 at 10:36 pm] |
Readers may remember that I've posted about the long-running roadworks and the rumours of compensation. Well, there's been an update on it. A few days ago I received this letter...
( The letter )
Included with the letter was (drumroll please)... wait for it... a blank £20 Tesco Giftcard for the supermarket in question!
Yes. Well. He could at least have hand-written an apology on the giftcard, or if nothing else signed the letter himself instead of printing a scanned signature. Y'know, some sort of personal touch that shows this is more than just a quick mail merge.
So, the question now is what do I do with it? Well, what I'll likely do is just spend the thing (since as tempting as it is to send it back with a suitably ranty letter, that requires effort and will probably result in me having no giftcard). But talismancer did gift me a paid account about a year ago, and if a paid account is good for anything here in LJ land it's for creating random polls. Plus it gives the peanut gallery something to do :)
Poll #1799259
What should I do with the giftcard?
Open to: All, detailed results viewable to: All, participants: 6
I should...
View Answers
| use it |
  4 (30.8%) |
| fire it into the sundestroy it |
  0 (0.0%) |
| post it back |
  0 (0.0%) |
| return it in person |
  0 (0.0%) |
| complain to Tesco's |
  2 (15.4%) |
| complain to Tesco's head office |
  2 (15.4%) |
| complain to my local counciller |
  3 (23.1%) |
| complain to my MP |
  2 (15.4%) |
| something else entirely |
  0 (0.0%) |
Edit: that was supposed to read "fire it into the sundestroy it". |
|
|
| (no subject) |
[Posted on Tuesday, the 29th of November 2011 at 9:16 pm] |
Oh dear, I see the RMT has once again decide that the best approach to take when someone has been sacked for gross misconduct and is in the middle of appealing this is to go on strike. Without even waiting for an interim ruling from the tribunal. Because somehow going on strike will magically swing a tribunal that's supposed to be impartial in your favour.
Last time they did this it was over a tube driver being sacked for a health and safety violation. The tribunal eventually ruled that the dismassal was unfair, but not without attaching some blame to the driver. Not that you'd have realised it if you'd read the report on the RMT's website which claimed that the tribunal's decision fully vindicated their position. |
|
|