pozorvlak: (Hal)
Wednesday, August 18th, 2010 11:56 am
We try to buy dry goods (rice, porridge, lentils, couscous...) in bulk, which is great for reducing cost and trips to the shops, but more of a hassle once you get the stuff home - the packaging is usually hard or impossible to re-seal, vulnerable to rodents, and a pain to pour from. For a while now, we've been using a system taught to us by [livejournal.com profile] dynix (and taught to her by her mum): keep a few empty 4pt plastic milk bottles around, and decant your freshly-bought bag of lentils into bottles when you open it.

This system works brilliantly. The bottles are ergonomic, the right weight, easy to pour from, airtight, translucent (so you can see at a glance how full they are) and fairly tough. We maintain a working set of all our most common ingredients within easy reach, and stack our reserves along the top of the kitchen cupboards for when the working set needs replenishment. Our flat is no longer plagued by lentils bouncing everywhere and getting stuck in the most unlikely crevices. There was still one problem, though: the decanting stage. Milk bottle necks are a lovely width to pour from, but not such a good width to pour into. We tried a few funnels, but (being narrower than the bottle-neck) they tended to get blocked, leading to overspill and lentils getting everywhere (and I do mean everywhere).

Until [livejournal.com profile] wormwood_pearl came up with the most brilliant MacGuyver hack I've ever seen.



[Yes, our blender is held together with duct tape and Araldite. It still works.]

Make your own screw-on funnel from a milk bottle )

Edit 11/02/2013: If you have access to a 3D printer, you can now print a one-piece connector, which should be more solid than the duct-tape ones. Download the STL file from Thingiverse, or get the SCAD code from GitHub.
pozorvlak: (gasmask)
Friday, May 15th, 2009 11:24 pm
My trousers, as is their wont, have all decided to fall apart at the same time again, so I've been doing a bit of sewing this week. I'm not much good at sewing, but I offer up what little I know about the subject in the hope that others may find it useful. Most of this was taught me by [livejournal.com profile] stronglight, [livejournal.com profile] mi_guida, [livejournal.com profile] half_of_monty and [livejournal.com profile] susannahf, some of it I remember from school, some was taught me by my mother, and some of it I worked out for myself. It's enough for basic repairs - mending holes and burst seams, that kind of thing. To make clothes from scratch or to carry out more advanced adjustments, you'll need to find a more knowledgeable instructor.

Read more... )

Sewing's time-consuming, but it's also very satisfying, like most repair work.
pozorvlak: (polar bear)
Wednesday, December 17th, 2008 11:02 pm
On Sunday I climbed my 100th Munro: Glas Tulaichean near Glen Shee. I was with Michael and a guy called Silas who I'd met through No2ID; Michael stayed over at our flat in Edinburgh the night before, so we could set off appropriately early.

I hadn't realised how comparatively easy it is to access the Highlands from Glasgow by public transport until I moved to Edinburgh: while the situation there isn't ideal (no trains on a Sunday, for instance), it's far better than over here. Consequently, we hired a car for the day. Except I couldn't find any car hire places in town that were open on a Saturday night, and had to schlep out to the airport. And then negotiate the maze of twisty roadworks that central Edinburgh has become as a result of the construction of the tram system. I don't drive often, and one of the major reasons for that is that I really don't enjoy it. Oh well...

The day itself was pretty good. After some initial faff collecting Silas, we left the city at first light, and parked at the Dalmunzie Hotel shortly after ten. The guidebook and the signs said that we needed to secure permission to park there, but the hotel was closed for the Christmas period; after a bit of looking around, we found something that was presumably the owners' quarters, and got the nod from the teenage girl of the house. Then off into the snow. Yes, snow in the UK - the car park was at just over 300m, and we were in snow the whole day. We headed off down the path, and had just crossed over a river when we met a posh (but extremely friendly) guy in a pickup truck, who turned out to be the estate owner. We met him again several times over the next couple of hours: he was going back and forth clearing the path of snow so that he could get his clients up it for eagle hunting the next day. Hunting hares with eagles, that is¹ - though apparently domesticated eagles aren't up to much as hunting animals. They don't have the fitness of wild eagles, and can't fly uphill, so if they miss the hare first time (as usually happens), they just land and wait to be carried back up to the top of the hill.

We hit low cloud at about 600m, and from then on everything was white: white cloud above, white snow below. Visibility was between 30 and 50 metres. Fortunately, we'd chosen a route without any steep cliffs on either side. At nearly 2pm, Silas called out that he could see the trig point on the summit, and we all hurried towards the vague shape in the mist.

"That's not a trig point."
"What is it?"
"It's a fencepost."
"No it isn't. What is it really?"
"I'm telling you, it's a fencepost. I can tell by the pixels, and from having seen many ice-covered fenceposts in my time."

It was at this point that we spotted the real trig point at the edge of visibility, and hastened over. Michael had brought tea, and Silas had brought whisky to celebrate. Both were extremely welcome. Photos were taken. Then we headed back down - we'd initially planned to carry on to Carn an Righ, but with only a little over two hours of daylight remaining, the decision to go down was obvious. Our route had wandered a bit on the way up, so (over my objections) we headed off on a bearing rather than retracing our steps, but we obviously need to work on our compass technique because we soon found ourselves on a slope that was far too steep and realised that we'd left the ridge. We took out our crampons; Michael's sandwiches took this opportunity to make a break for freedom and skidded off down the valley and out of sight. I hope livestock don't eat them: the swine fever epidemic a couple of years ago was probably caused by a pig eating a hiker's discarded sandwich.

We were back down to the valley floor shortly after four: it was definitely getting dark by this time, and we walked back along the valley in the gathering twilight. The cloud had started to lift a bit, though, and we got some idea of the views we might have seen. Next time. Not being idiots, we had torches, but weren't especially planning on using them. Fortunately, we didn't have to: we reached the car just before five, while there was still a tiny bit of light to see by. Overall, we'd walked about 14km and gained 700m of height, in six and a half hours: not exactly great speed, but in light of the conditions, I think we did OK.

A change of socks, an indifferent meal at the Spittal of Glenshee pub (with Attack of the Clones on in the background), and then the long drive back to Edinburgh along winding dark country roads, pausing to drop Michael off in the roadwork-nexus surrounding Haymarket station. And then the struggle to negotiate the roadworks again and return the car. But I'll spare you that part.

You can see our route at http://www.gmap-pedometer.com/?r=2443149 .

¹ Hunting eagles would be seriously illegal, and would probably carry jail time.
pozorvlak: (gasmask)
Monday, June 9th, 2008 03:29 pm
Yak-shaving at its finest:
  • This weekend, I wanted to work on my thesis.
  • But my laptop refused to boot up (inevitable, really, after this post). I had backups of the thesis, but they were a few days old.
    • Edit: First, I tried booting from CD.
    • But that didn't work.
      • So I tried some other CDs.
      • But they didn't work either.
        • So I tried the boot CDs in a different machine.
        • They worked, so I concluded that the problem was with the machine and not the CDs.
    • So I tried to remove the hard drive and mount it in a USB drive cradle.
    • But the screw heads on the drive mount sheared off when I tried to unscrew them.
      • So I tried all the screwdrivers in my toolbox until I found one that fitted better.
      • I found one, but the first two screw heads were now too damaged to use.
        • So I tried removing the screws with pliers.
        • But the pliers skittered off before they managed to turn the screws.
          • So I tried to file down the sides of the screw heads into rounded squares, so the pliers would get better grip.
          • But the protruberances on the sides of the drive enclosure got in the way of the file.
            • So I had to file them down first.
That, I think, was the high-point of the call stack: I've elided various extra steps and dead ends. In the end, I was able to (a) recover all the data (including over a year of un-backed-up mountain photographs), and (b) mount the hard drive in another laptop which had a broken hard drive, thus cobbling together one working computer out of two broken ones. But overall, a less than productive weekend.
pozorvlak: (Default)
Saturday, February 16th, 2008 08:27 pm
A while ago, I was playing about with my flatmate's shiny new eeePC. Impressive, I thought, but the keyboard's a bit of a fiddle - the keys are just a bit too small for my fingers (which are neither fat nor stumpy). Plus, the machine seems practically custom-designed to be balanced on one hand and operated with the other, and typing on a proper keyboard with only one hand is nothing short of an offence against all that is Good and Righteous. Surely there's a better method for one-handed text input onto such a small device?

Well, yes there is, as it happens. I'm talking about chording keyboards. In a normal keyboard, each key stands for one character, and your fingers move about from key to key; in a chording keyboard, your fingers stay fixed, and you indicate different characters by pressing combinations of keys. It's a generalised version of what the shift key does. Chording keyboards apparently take some getting used to, but allow for very high-speed and natural text input. Here's Stephen Fry talking about the chording keyboard on an early PDA:


My obsession with SmartPhones began many, many years ago. Certainly well before such devices existed in the real world. From the first Sharp contact-and-calendar “electronic organisers” , through the early Psions, the sadly missed AgendA (see above: no QWERTY there, more a kind of weird courtroom stenographer’s chord-based input pad: never have I been able to write faster than with that splendid object - I had another device using the same input system called, I think, Qinky, which connected to the Centronix port of a BBC Micro), to the opening salvo of Palm Pilots, Apple’s Newton and the arrival of Handspring. If they existed I had to have them. Had to.
[The rest of the article's well worth reading. And I see Stephen Fry now has an eee, too...]

Now, hardware chording keyboards still exist, and some of them speak USB: there's a problem, however, in that all the ones I can find are ridiculously expensive. Like, several hundred pounds. There are instructions for making your own online, but my soldering iron's in Oxford and I'd clearly never get round to it anyway. But then it struck me - we've got a perfectly good set of buttons sitting there on the machine already, we don't need any extra hardware! Have the keys H, J, K, L and Space work as a chording keyboard - that's (2^5 - 1) = 31, combinations, which is enough for the English alphabet plus, say, ",", ".", space, "?", and "'". We could deal with capital letters in the way that text-messaging software does, by making the combination ". " put the next character into upper-case, and possibly by making Shift sticky. We can just have the remaining keys self-insert as normal, so we don't have to do anything very cunning about characters that aren't in the subset represented by chords - I probably type the { key a lot more than most people, but I don't think I'd mind switching to one-fingered typing for that. I wasn't really thinking of this as an input method for heavy coding, anyway. The obvious encoding system to use would be Baudot, or something based on it, but I'm open to suggestions.

All fine in theory; but how would I go about writing such a thing? Or does one exist already? I had a brief look, but given all the different meanings of "chord", I didn't see anything very promising. I'd thought about writing an Emacs minor mode to handle the chording, but (a) I don't know my way round the Emacs codebase, (b) I don't actually use Emacs (and does it even run on the eee?), and (c) it seems like the Right Thing would be to use XIM (X Input Methods). Unfortunately, XIM documentation appears to be... well, have a look for yourself. And the thought of writing low-level X code in C fills me with fear and loathing - OK, OK, I'm a wuss who's been spoiled by high-level languages.

Does anyone have any advice? And does anyone fancy doing it for me joining in?
pozorvlak: (Default)
Friday, December 28th, 2007 11:45 am
I got the job application in, finally: here's the revised (or rather, totally re-written) research proposal, and here's the summary for laymen. You will notice the point where I thought "Speculative? Ha! I'll show you speculative!" I'd really appreciate feedback, especially on the one-page summary: the two or three formulae in there should be helpful to some, but can safely be ignored if they make your eyes glaze over. The proposal got mailed off at about 5am on Wednesday morning: I then went to bed for a couple of hours before getting up to catch the bus down to Sheffield at 9.15. We missed the bus, but we were only round the block from the railway station, so we caught the train as far as Edinburgh and joined our bus there. The train journey gave me time to write most of the one-page summary: just as well, really, as I found it impossible to type on the bus.

Panto! )

Monads! )

Then [livejournal.com profile] wormwood_pearl and I got on our respective trains, she back to Glasgow and I on to Oxford, to see our respective families for Christmas. Christmas chez Vlak has been pretty good, though marred by the need to put up endless amounts of flat-pack furniture: my Dad is building a new workshop, and needs cupboards and drawers and so on to put his stuff in. Now, I'm no great craftsman, but I'm not a complete incompetent: but these units have been a total nightmare. The instructions are unclear and barely-legible, everything's bizarrely sized so measurement is that little bit harder (the door handles are 12.8 cm from centre-hole to centre-hole - or 5 and a sixteenth inches, if you prefer), I'm 99% certain they've replaced a small but crucial bit with a new design that invalidates the bundled instructions, and no matter how paranoid I am, no matter how careful I am to measure everything three times and clamp everything as tightly as I can and drill everything as straight as I can, nothing ever fits right the first time. A single drawer unit took us nearly three hours to assemble the other day.

Other than that, Christmas has been pretty good. It's always nice to see my family, and I managed to meet up with [livejournal.com profile] mrkgnao and [livejournal.com profile] necaris the other day. My last-minute Christmas presents to the parents* seem to have been appreciated (as were theirs to me - yay for books, head-torches and Hustle on DVD!). And now [livejournal.com profile] wormwood_pearl has arrived down South, so we can spend New Year together :-)

In entirely unrelated, but sad news, Oscar Peterson, arguably the greatest jazz pianist of all time - screw that, arguably the greatest pianist of any kind of all time - died a few days ago, at the age of 82. If you don't know his work, you really owe it to yourself to check it out. Start with his recording of Porgy and Bess, which completely transformed my understanding of the piece, but frankly it's all good.

* Literally last-minute: they were about to close Blackwell's on Christmas Eve as I bought them. Fortunately, they were also marking everything down to half-price rather than £2 or £3 off :-)
pozorvlak: (babylon)
Thursday, November 15th, 2007 08:41 am
  • Do not try to wget -m the whole of the Electronic Text Corpus of Sumerian Literature. There's rather a lot more there than you'd expect. Why they couldn't just provide a zipfile and/or tarball of the XML they store in the backend database is anyone's guess. I can't be the only geek who's read Snow Crash and wants to contribute.
  • Other than that, I'm really rather impressed with the ETCSL. Check out the mouseover text. Of course, all that stuff needs stripping away for my purposes :-( The background articles on Sumerian language, literature and cuneiform (literally, "wedge-shaped") writing look pretty useful too. Annoyingly, their funding ran out in late 2006, so the site hasn't been updated for a while, and they seem to have made it unnecessarily hard for anyone to take over.
  • The correlation coefficient of a constant signal with anything else, even itself, is always zero, so if I take [livejournal.com profile] elvum's suggestion to use autocorrelation then the "short short short short" problem becomes a non-issue. However, I then end up with another signal, whereas what I really need is a single number with higher values representing higher levels of poeticity. Possibly I can limit the number of possibilities I need to check by counting syllables-per-line; or maybe I could just take the maximum value of the autocorrelation? It's been nearly ten years since I did any statistics, so this is all a bit painful. I've tried asking friends in the stats department, and been met with the slightly worried look of an expert challenged on something that's just outside their narrow specialism. I know it well, because it's a look I often use myself.
  • I'm not the first person to apply statistical ideas to analyse the corpus. There's even a book out: Analysing literary Sumerian: corpus-based approaches (or you can buy it from Amazon!) Nothing especially relevant-looking in the chapter headings, but I wonder if I could persuade the library to buy a copy... they don't have it in stock right now, but they do have the intriguing-looking Sumerian or Cryptology? Further investigation reveals that it used to be thought that Sumerian wasn't an actual language, but rather a priestly cryptosystem used for enciphering Semitic texts. More details here.
pozorvlak: (Default)
Monday, September 10th, 2007 12:39 pm
Current status on some of my long-term projects:

Thesis: Up to 36 pages )

Birdshot!: I had some good ideas for this )

Moving in with [livejournal.com profile] wormwood_pearl: Nominally moved in at the beginning of August. )

Learning Haskell: I'm going to officially give up on this one for now. )

Diet: This is going really well. )

Munro-bagging: up to 61 out of 284 )

Becoming a l33t martial artist: I've been doing some capoeira. )

Learning to juggle 5 balls: I'm getting 8 catches pretty consistently. )

Reading Ulysses: Haven't looked at it since I reached page 500. ) I seem to have so many other things competing for my attention :-)
pozorvlak: (kittin)
Monday, September 3rd, 2007 12:41 am
I have a question for the CS types out there: what exactly is the point of tail-call elimination?

Before you go into great detail about stack overflows, rest assured that I understand that bit. But why is tail-recursive code considered such a good thing? I mean, you write your code in a non-obvious way so that the optimiser can turn it into the loop that you meant to write in the first place. Why not just write the loop yourself? It has the same effect, expresses your intent more clearly, and doesn't require the mental gymnastics to make your code tail-recursive, or to decode it when reading.

I can see why you need it if you're determined to make your language stateless (though actually, that's a related question: how is recursive code with accumulators any safer than iterative code with local state?), but why is it needed in languages like Lisp, which already have perfectly good looping constructs?

Don't get me wrong: recursion is clearly a Good Thing. But all the really interesting uses of recursion, it seems to me, are things like recursion on trees or other data structures, which are not in general tail-recursive.

In other hacking news, I spent much of my evening making a set of spice racks out of chopsticks, duct tape and strawberry boxes. My kitchen is now a fraction tidier.
pozorvlak: (Default)
Sunday, January 7th, 2007 05:42 pm
Among the many good features of [livejournal.com profile] terpsichore1980's New Year party was the first full read-through of (the current draft of) the Forties play, which I think I'm going to call Birdshot! for now. Some interesting things were discovered, and some good ideas were suggested.
  • At least some of the jokes are actually funny - this was something of a relief to me.
  • Someone (Andy?) suggested having a big blueprint visible during the deathtrap scene, so PV can trace out the progress of his trap. I like this idea.
  • The text takes a lot longer to perform than I'd realised. I'd thought (based on the number of words in Paradox) that 1hr =~ 15,000 words, and so I'd written about 20 minutes of script. It took us nearer 35 minutes to get through it all. There was some faffing, and some bits got read more slowly than they would in production, but we didn't have any fight scenes, so it averages out. And it's usually a bad idea to rely too much on the pace being faster in performance.
  • The deathtrap/evil scheme scene is pretty long. This could be a Bad Thing, especially since the majority of the characters are tied to chairs for most of it. Shortening the deathtrap description would defeat the main point of the joke, but might be necessary. It would probably be funnier if delivered at great speed, anyway.
  • Dancing contemporararararily while tied to a chair can be very funny.
  • [livejournal.com profile] totherme suggested that all untying, de-gagging, etc, be accomplished by W snapping his fingers and the bonds falling to the floor. This would eliminate a lot of faffing.
  • The S scene currently isn't working at all.
  • The Cryptonomicon references probably aren't funny enough to compensate for their obscurity.
On a slightly related note, I got the complete DangerMouse on DVD for Christmas, and [livejournal.com profile] wormwood_pearl and I have been watching it (it's research for the play, honest). It's so good. Obviously I loved it deeply when it was first shown, but I think I'm loving it even more now - some of the jokes I simply couldn't have understood back then. The sheer crazy, anarchic fun of the show is just brilliant. Where else would you get a villain who'd try to take over the world by turning elephants into sugar cubes, then hiding them in the tea-services of the powerful? Or by stopping the Earth's rotation, causing a sessation in the gravitational force? (Gotta love the total disrespect for the laws of physics). Not even Pinky and the Brain were that daft.
pozorvlak: (gasmask)
Thursday, December 28th, 2006 02:27 pm
There haven't been any updates on the Forties play for far too long. I have been working on it, but various computer problems have prevented me uploading any more recent drafts. Anyway, here's what I've got so far. It's about twice as long as the last posted draft, has more characters, and incorporates some of your excellent suggestions.

Script here, or perhaps you'd prefer the version with the DVD special bonus features turned on?

Sooooo.... thoughts? Comments? Suggestions? Criticisms? Whole new scenes? Offers of co-authorship? I am, even as we speak, submitting it for consideration by the Two Shades committee.

Life down here in the Vlak family's underground lair is exceedingly pleasant: I've spent most of the time watching films (one of my favourite films ever, Quick Change, was on last night) and reading pulp detective novels. This is, of course, research :-) I've also been trying to do some mathematical research: the geometry group stuff appears to work, but I'm having a frustrating time finding an actual definition.
pozorvlak: (gasmask)
Tuesday, July 25th, 2006 07:24 pm
I find myself doing increasing amounts of sewing these days. This is partly because all of my clothes are starting to fall apart and I hate clothes-shopping: I can only do it if I kid myself that I'm buying a souvenir (which explains all of the T-shirts) or hiking gear or something. Actually, I've noticed a lot of people wearing patched, tattered combat trousers recently, only I'm pretty certain that they were bought pre-patched. This suggests that the "style" I'd adopted anyway for reasons of my own is in some way fashionable, which is an uncomfortable thought.

Anyway, I learned to sew in Primary 4, which was rather a while ago now, and I haven't done very much in the meantime. Consequently, my stitching is rather wonky, it takes ages, and I'm not very clear on which stitches are available to me and how I'm meant to choose. Can any of you (*looks at [livejournal.com profile] stronglight in particular*) recommend me some good learning-to-sew type references? Books, for preference.

Also, I seem to spend an inordinate time tying stopper knots. Any suggestions for a good, quick one that won't just pull through?

Update: Oh dear. I appear to have bought a sewing machine on eBay. Ah well, it wasn't much money... and the sewing reference would still be very useful.
pozorvlak: (Default)
Friday, July 21st, 2006 04:49 pm
My paper has finally been uploaded to the arXiv. Gaze in awe upon its higher-dimensional beauty at http://arxiv.org/abs/math/0607423. And if you should chance to meet the authors of the diagram package XY-pic, please give them a good kicking from me. Does anyone know of a less painful way of typesetting pasting diagrams in TeX? XY-pic has the most insane and line-noisy syntax I've ever had the misfortune to encounter, and I speak as someone who used to write Perl for a living and still does so occasionally for fun.

Since then (Tuesday afternoon), I've been taking it easy, watching a lot of Spaced and Black Books and going shopping (to the Tiso sale for hillwalking trousers on Wednesday, and to Ikea for odds and sods on Thursday). This was my first trip to Ikea, and it was pretty interesting to see what the fuss was all about: I managed to avoid the "Ikea syndrome" of buying masses of stuff you don't need because it's so cheap, but it was a close-run thing at times. I noticed that most things are merely averagely cheap, but every so often you come across something that's totally, insanely cheap, which has to be a loss-leader: the batteries, or the £2 four-way plug extensions, or the £5 toolkits, for instance. I already had most of the stuff in the toolkit, but seriously thought about buying one because it would be cheaper than buying a hammer and an adjustable screwdriver elsewhere.

And the meatballs were very nice, though the restaurant reminded me of school cafeterias :-)

Then we found a midi stereo system abandoned on the street: one speaker was broken, but I've got a spare set of speakers anyway, so [livejournal.com profile] wormwood_pearl can have that :-) It's insane what people throw away, though thanks to the wonders of bulk uplift day, throwing things like that away in Glasgow is almost a form of recycling. In the same pile, we found a piece of shelving that I was able to use to fix the seat on the swing in [livejournal.com profile] wormwood_pearl's back garden. Hurrah for handymanning! Though I don't think my woodwork teacher would be very impressed with my sawing (always my weak point). He'd probably also have been unimpressed with my using duct tape to bind the wood to the existing plastic seat rather than making a new seat from scratch. The tape stretches quite a bit, so the seat still bends a centimetre or so when you put enough force on it (say, by swinging on it).
pozorvlak: (kittin)
Thursday, June 22nd, 2006 05:22 pm
I'm going away (first to London, then to Nova Scotia) tomorrow, so I'll have to stop work on the fridge poetry for a while. So, here's what I've done so far (100K tarball), in case any of you want to have a crack while I'm away. There are lots of dead-ends and abandoned files there, but you should be able to work it out from the README and the Makefile.

Also, I've now fixed enough errors in my P-categories paper that it's met my rapidly plummeting idea of acceptable quality. Get it while it's hot, it's lovely. If this is the amount of effort required to write a twelve-page paper, I'll be totally screwed in a year when I have to write my thesis.

Actually, this has provoked an interesting philosophical musing: there are statistical techniques available for estimating the number of undiscovered errors in a piece of software, which could be adapted for estimating the number of undiscovered errors in a mathematical paper. So I could keep looking until the chance of an undiscovered error is less than (say) 1%, or the number of estimated errors is lower than some critical threshold, and then release, possibly with a statement like "Error-free with 99% probability". But if I'm only 99% certain that a proof is error-free, does that count as a proof, whose defining characteristic should be 100% confidence? OTOH, that kind of estimation is clearly better than the ad-hoc approach currently favoured...
pozorvlak: (Default)
Monday, June 19th, 2006 02:26 pm
OK, I've looked at some "official" fridge poetry, and it's printed in 20pt Times New Roman on segments that are a fraction less than 1cm high. The baseline is not a fixed distance from the bottom: rather, the word is centred in the tile.

Next question: am I making a rod for my own back by doing this in TeX? I'm basically throwing away the layout engine, and putting "cut here" outlines around the symbols is going to be a bit of a hassle. What are the alternatives?

Last question (for the arty types): it would be nice to put some sort of glaze on the tiles to stop them getting grubby with use (the magnetic paper is normal paper with magnetic backing). Any suggestions?

Update: 20pt text in TeX is no problem. Times in LaTeX is no problem. Both together is a bit trickier (I had to load the font at a smaller size and scale it in the end, and then it screws up the accents, so I've gone back to 20pt Computer Modern). [livejournal.com profile] michiexile's code and some messing about with struts, \spaceskip and \lineskip got the words-in-boxes effect. I've currently got three problems:

1) I can't seem to turn off the huge margin at the top, which is wasting lots of potentially useful space.
2) Math mode has its own font size setup, which I have yet to grok. Consequently, mathematical symbols are all in 10pt.
3) TeX doesn't seem to like display math mode in \fboxes. Dunno what's going on there.

Learning PostScript is starting to look increasingly attractive :-)
Tags:
pozorvlak: (Default)
Saturday, June 10th, 2006 07:32 pm
I keep getting assaulted by daft ideas for things to make - you may remember the achiral fan1, the board games, the telescopic juggling clubs, the reimplementation of TeX in Caml... Sometimes, I get as far as starting to make them before abandoning them uncompleted, but I'd love to finish one one of these days. I blame [livejournal.com profile] dynix2.

Anyway, the last couple I've come up with are as follows:

Mathematical fridge poetry. Why write nonsensical bad poetry when you can write nonsensical mathematics? The idea is to get a load of mathematician's names, common terms, prefixes and suffixes, and then to mix them up and produce sentences like "Theorem: for all semi-connected Grothendieck-Riemann lexicography spaces x that are cohomotopically étale, there is a non-gauge-equivalent Erdos matroid Ξx such that ∂Ξx ≈ ∫√O(x). Proof: exercise." For bonus points, combine it with a tabloid-headline fridge poetry set :-) I reckon there could actually be a market for such a thing: Thinkgeek could probably sell a few (speaking of which, this game looks dead interesting). Of course, the magnetic poetry folks probably have a patent on the whole idea of putting words on bits of magnetic paper, but that doesn't stop me making a set for myself. I've bought a sheet of printable magnetic paper: now I just need to choose the words for it.

My first cut at the wordlist for such a thing is as follows: maths/science types (I'm particularly looking at you here, [livejournal.com profile] michiexile, [livejournal.com profile] weaselspoon, [livejournal.com profile] benparker and [livejournal.com profile] elvum), what do you think?

Maths words )

Travel Go board You know those magnetic travel games that lose their magnetism slowly and don't stop the pieces sliding into the wrong position? There is a better way, which used to be standard. Instead of using magnets, you keep the pieces on the board using pegs and holes in the board. My parents have travel chess and Scrabble sets that work on this principle. Also, I have a Go board that rolls up, which makes it much more transportable, but the stones are still a bit too bulky. I'd like to combine the two ideas, by having a (small) cloth board with the male half of a snap fastener at each intersection. The female halves (complete with white or black plastic covers) would be the pieces. I'm not sure what I'd put the pieces in when not in play, but hopefully they'd be small enough to fit in a mint/boiled sweet tin (thus getting my own back on everyone who's told me that Go stones "look like Mint Imperials").

The downside is that there are 361 intersections on a full-sized Go board, which is (a) potentially more money than I'd like to spend, (b) a lot of sewing. It turns out that you can get snap-fasteners with bendy metal teeth that can be pressed into place without sewing: I can also find eBay folks selling snap-fasteners in lots of 180 for about £3. Unfortunately, they're the sew-on kind :-(

1 Speaking of which: [livejournal.com profile] azrelle, could you please be a bit more specific about where you get your fan guards from? I've tried in a couple of art shops and had no joy.
2 I wonder what would happen if [livejournal.com profile] dynix (who among my South London friends can be and is blamed for anything) were to meet James Needham (who fulfils a similar role among my Light Entertainment friends). Possibly a gigantic scapegoat made of electricity would materialise and suck all the atoms in the Universe into itself, ushering in a new order of things. But come to think of it, why haven't they ever met? What are the odds of two people being blamable for any conceivable thing and yet never appearing in the same room at the same time????? I shall watch them closely: maybe one day [livejournal.com profile] dynix will say "What-ho", or James will let on that he's not so ignorant about computers, and then I will know their secret...
pozorvlak: (Default)
Tuesday, May 23rd, 2006 05:00 pm
Elizabeth came up from Oxford on Sunday to give the Geometry seminar on Monday afternoon. She was speaking about her DPhil work, which is fairly hard-core algebraic geometry (specifically, she's using geometric invariant theory to construct coarse moduli spaces for stable maps). None of us were very familiar with the background material, and so she'd put in some explanation of the ideas used: it was all clearly presented, but there was quite a lot of it, so the pace was a bit fast. I got quite a lot out of it, though. After the seminar, we went to dinner at Balbir (seriously posh Indian restaurant on Church Street) with [livejournal.com profile] susoeffl and the seminar convenor, then Elizabeth, [livejournal.com profile] susoeffl and I returned to my flat to drink gin and bizarre Welsh slivovice/whisky and to eat cheesecake that the lovely [livejournal.com profile] wormwood_pearl had prepared. Then we played a couple of rounds of Carcassonne until it was time for Elizabeth to get her train back to Oxford. It was excellent to see her again, and to hear her explaining her thesis topic at length and while I was sober for a change :-)

I'm increasingly impressed with Carcassonne. The game mechanics are wonderfully simple and elegant. It seems like it would benefit from more depth, but maybe there's depth there that I'm not seeing yet. And there doesn't seem to be much incentive to cooperate: maybe playing doubles (a la croquet) would help.

Anyway, I've been thinking a lot about games of that sort recently, and this morning I came up with an idea for one.

Tobacco Lords of Glasgow (working title) )

I mentioned this to [livejournal.com profile] wormwood_pearl, who immediately suggested a better idea:

Escape from Cessnock! )

If either of these get off the ground at all, I'll post some more here...

1: Buckfast tonic wine, the preferred drink of Scotland's disadvantaged young folk.
2: The aforementioned disadvantaged young folk. The Scottish equivalent of chavs. (spits, disinfects mouth after using foul classist word)
3: The upmarket, overpriced halls favoured by students with more money than sense.
4: As any student will tell you, the parks are full of gangs that will gang-rape you if you venture in after dark. [livejournal.com profile] the_barlow informs me that this is bollocks, though some of them are used as cruising spots by gay men.
pozorvlak: (Default)
Wednesday, May 3rd, 2006 12:59 pm
It's a little-appreciated fact that fans are chiral (ie, they come in left-handed and right-handed versions). Don't believe me? Lend your favourite fan to a friend, and watch them try to open it the wrong way, messing up the spokes. This has two downsides: first, the fact that your friends will infallibly open your fans the wrong way and damage them, and second, it makes fans uncomfortable to use with one hand or the other. My favourite fan, for instance, is right-handed, which means I can't fan myself with my left hand and write with my right hand. This sucks. Fortunately, I have an idea for an achiral fan, but I need some help with choice of materials and a few details of construction.

[Just so we're all on the same page: I'm talking about Japanese folding fans, IMNSFHO the best kind. Following the Wikipedia article I've just linked to, I'm going to call the paper bit that moves the air the "leaves", the things that hold this in place the "spokes", the thing around which the spokes rotate the "axle", and the heavy bits at the end of the leaves the "guards".]

The basic idea is to use thinnish wire for the spokes instead of slats of bamboo. Then the leaves can rotate freely around the spokes, allowing them to open in either direction. I've come up with a solution to the problem of attaching the leaves to the guards, but this still leaves the following problems:

  1. Attaching the spokes to the axle. You could maybe beat the ends of the wire flat, then punch a hole through, but if the metal's soft enough to be beaten like that it's probably too soft for use as a spoke. You could maybe attach the spoke to some sort of rotating block, but how? Remember that any such block would have to be less than a millimetre thick.
  2. Making the guards. Bamboo's ideal for this, but where do you get it from? And how do you work it? Are there any other good materials you could use?
  3. Decorating the fan. I'm thinking Chinese characters, because they look cool. Specifically, I'm thinking of using the kanji for "kanji". Self-reference in the finest tradition of Douglas Hofstadter :-)
So, any suggestions?

pozorvlak: (Default)
Tuesday, February 28th, 2006 04:09 pm
As part of my ceaseless quest to become one of those crazy internet dudes that builds cool stuff, I hereby announce my intention to build the following things:
  • A theremin. [livejournal.com profile] dynix had a mate who built one of these, and it doesn't sound too hard apart from the signal generators. Or I could just nick one of the many circuit diagrams available on the magic interweb. Of course, it's been years since I used a soldering iron, but what the hell. Once I've built the thing, I intend to juggle in front of it and record the results.
  • A set of telescopic juggling clubs. I've made some already, but the handles tend to wobble and come loose, so you can't juggle them for long. They're nicely balanced, though.




  • A scanner camera. Get a box brownie, gaffer-tape it to a flatbed scanner, et voila! A 115 megapixel digital camera! Oh, and it BENDS TIME. Almost forgot to mention that bit.
  • Longer term, but I want to make a transparent rucksack. One that won't tear apart too easily. I'm thinking the same construction methods as for the duct tape wallet, but using clear duct tape. No more furkling about for stuff when you're out on the hills and your hands are already cold!

With all this, you might think I've got enough on my plate already (particularly if you remember the ongoing projects to learn the Five Ball Cascade, and read Ulysses, and... hang on, I know there's something else... oh yeah, that doctorate thing). But then [livejournal.com profile] wormwood_pearl brought this home:



Dammit. Now I'm going to have to turn it into a USB keyboard...