Fip has moved

As you may know, I love making little internet radios from Raspberry Pi computers – mostly so I can listen to the wonderful French radio station Fip. Fip plays a mixture of jazz, left-field rock and pop, classical music – it’s hard to describe, but it is my favourite radio station in the world.

My little internet radio in the kitchen stopped working, and it turns out Fip’s streaming URL has changed – you can now find it at http://audio.scdn.arkena.com/11016/fip-midfi128.mp3

Update Feb 2020: now at http://icecast.radiofrance.fr/fip-midfi.mp3

When BBC radio changed its streaming methods recently, it took a huge amount of detective work for me to find out how to play BBC radio – which I’ve paid for as part of the licence fee – on my internet radios. More recently, Apple launched its own radio services, and I found it was impossible to listen to its Beats1 station at launch on a brand new MacBook. Even last night, I updated iTunes to the latest version and found that while I could get Beats1 to play, none of the links to genre-specific ‘featured stations’ did anything at all. Not one. Were they ALL off air at 10pm UK time?

Fip, on the other hand, actually want you to listen. They have this lovely page outlining a myriad of listening options: on FM in different French cities, on their web site, via Android and iOS apps, via satellite and finally, via a direct streaming URL. That’s the way to do it.

Posted in BBC, media, radio, Raspberry Pi | Tagged , , , , | 1 Comment

Accept no substitutes

It’s the end of term in most schools today, and I’d like you to take a moment to think about the supply teachers.

(Vested interest declaration: reader, I am one.)

Nobody loves a supply teacher. The class teachers (usually) have to plan for them. The parents are dismayed at more instability for their kids. And the children… well, I would say they hate supplies, but I think a lot relish the opportunity to re-invent the rules. Yes sir, we always sit where we want. And Peter, he ALWAYS sits in the corner with his back to the board playing with a tennis ball. And Miss always lets us play cards in guided reading.

It’s a tough gig rocking up in a different school every day, not knowing what might be awaiting you. Usually it’s fine. Some times you get beautiful plans and notes about the class and the children to watch out for. I’ve been supply teaching since January and I’ve only had 1 day when I pitched up and there were no plans at all; amazing how planning a day’s teaching used to take me – ooh, about a day, and yet I managed to conjure something out of thin air in 20 minutes – a maths, literacy and computer-less ICT lesson. Some times I’ve been given plans in a face-to-face handover, and then had the most awful day… wondering why you didn’t tell me Stephen is an elective mute. I mean I know you can’t give me a profile of every child in 5 minutes, but that might have been handy to know when questioning the class in maths. Or that Child Z has just been taken into care. Cos then, you know, I might cut Child Z just a tiny bit more slack.

Supply teaching is a fantastic way of seeing how different every school is. Let’s take marking policies. In School A it must all be in purple ink. In Academy X in green. In Primary Q they have a simple 5 colour system: green for good, yellow for outstanding, orange for moving on comments, blue for sadness, black for sarcasm…

It’s also confirmed my view of how you can take any random 30 children and, en masse, they will have a personality. Luckily I’ve only met one truly evil class in 6 months, but they are out there, and I would rather lose a day’s pay than teach them. Most have their ‘characters’, but if you’re lucky enough to get some regular gigs and get to know the children, even ‘difficult’ classes whose reputations precede them (“Oh my god, you’ve got BINDWEED class, I’m so sorry”) can be really rewarding, and contrary to the normal view of supply teachers, the children can be genuinely pleased to see you. And even some of the parents… if you managed to make a connection. But it only happens if you get to know the kids. I don’t think you can build meaningful relationships with 30 children in one day. And without relationships, teaching is impossible, it is nothing.

I don’t resent class teachers their cards and gifts at the end of term – heaven knows they have more than earned them. But spare a second for the supply teachers. Some of us are nice. Some of us try our best in sometimes hostile environments, where we are about as welcome as new material at an 80s band’s gig.

It’s our choice, I know, we take the hit of no holiday pay and no security for not planning, not assessing, not emptying the dishwasher. But we do feel a bit adrift and bereft as we find ourselves unemployed even before the term ends (nobody goes sick on the last day of term)…

Posted in education | Tagged , | Leave a comment

How to get Word to paste unformatted text by default

This is something that drives me mad. Why (oh why) do word processors (Word, Open Office) paste formatted text by default? Almost always what you want to do is to paste unformatted text, so that it matches the font of the document you are pasting into, not the one you copied it from. Anyone who spends a lot of time filling in job application Word documents will feel the need for this.

After ages messing around with the infuriatingly complex OS X key re-mapping tool Karabiner, I found a way of doing it in Word itself. (These instructions relate to Word 2016 for Mac.)

First make a new macro in Word. Go to Tools > Macro > Macros… and make a new macro called PasteUnformatted.

Paste this code into the Visual Basic editor:

Sub PasteUnformatted()
Selection.PasteSpecial DataType:=wdPasteText
End Sub

Then remap the cmd+V shortcut by going to Tools > Customize Keyboard… then pick ‘Macros’ from the Categories list. Find PasteUnformatted and assign cmd-V to it, click on the ‘assign’ button, and now every time you press cmd-V it should paste unformatted text that matches the formatting of the new document you are working on.

If you want to keep the option of pasting formatted text, assign a different, unused keyboard shortcut, but I am so convinced that unformatted is the thing you need 99.9% of the time, I’ve just replaced it.

Posted in computers, MacOS X | Tagged , , , | 19 Comments

Adobe Audition 3 on a modern Mac

I wrote previously about getting CoolPlay to run on a Mac. CoolPlay is WindowsXP software used for playing audio clips, developed for BBC Radio, but it has other uses too, and I don’t know of any Mac software that does the same thing: to allow you to organise a playlist of audio tracks that play one at a time, stopping at the end of each track and waiting for a button to be pressed before playing the next track.

My favourite audio editing / mixing tool is probably Adobe Audition 3 – an old version from 2007, and it was never ported to Mac OS X. More recent versions of Audition are available for Mac, but Audition 3 strikes the right balance for me of simplicity and functionality. It also gained some popularity because it was part of Creative Suite 2, which was released in early 2013 with official serial numbers when Adobe shut down the CS2 activation servers. I still can’t figure out if that means you could nab CS2 and Audition 3 for free, or not.

Could I run Audition 3 on a new MacBook Air running Yosemite? I tried WINE, but without any luck. The Audition installer bombs out very early on. I then thought about using BootCamp to dual-boot the MacBook Air into WindowsXP – but no luck there either. Yosemite and the 2015 MacBook Airs do not support any version of Windows older than 8, and I don’t think Audition 3 plays nicely with Windows 8. It may be possible to install WindowsXP on a new MacBook without using BootCamp, but I have no idea how you’d get the relevant drivers to make XP work properly on Apple hardware.

So I thought I’d have a go at using a ‘virtual machine’ – I installed the free Oracle VirtualBox, and – purely as a proof of concept – installed WindowsXP from an OEM disc. (This Windows install will stop working in 30 days, when it demands to be activated.) I had problems getting VirtualBox to install off a Windows CD-ROM, so I made an ISO disk image of it using OS X Disk Utility (pick the ‘CD master’ option, and rename the resulting .CDR file .ISO), and it worked fine installing from that.

I was very doubtful it would work, but my golly the Audition installer ran perfectly, and it seems to be fast enough to play, edit and mix audio. I even put by MacBook Air to sleep, opened it this morning, Audition was still there and resumed playing instantly when I pressed the space bar. I even managed to record audio straight into Audition running in the virtual WindowsXP machine, using the MacBook Air’s internal microphone, with no tweaking or fiddling with settings. Which is just incredible really.

Mounting USB devices in the virtual XP machine is a bit counter-intuitive; if you plug a memory stick into your Mac, you then have to eject it in OS X, but leave it plugged in so you can then mount it in XP. But it works just fine. I can even see how my web pages look in Internet Explorer 8!

And CoolPlay works too, much more reliably than it does in WINE.

Now if only Microsoft would make WindowsXP free, or open source it…

Posted in computers, MacOS X, Windows | Tagged , , , , , , | 2 Comments

Headless Raspberry Pi broadband wifi switch problem sorted

This is probably blindingly obvious, but I was quite pleased with this solution…

We just switched broadband providers and I got home to find the provider changed, new wifi router installed and the old one unplugged. Problem was I have THREE headless Raspberry Pi computers in the house – that’s to say Pis with no keyboard or screen. One is our wifi print server attached to an old laser printer, another is the internet radio in the kitchen, and a third is an experimental audio player running Volumio. Of course none of them would connect to the network now, as they had the wrong wifi network name and password inside them, and I couldn’t SSH into them to update them… because they couldn’t join the new network. Catch 22.

One solution might have been to connect them by ethernet to the new router, but I didn’t want to move them or then have the hassle of working out their new IP addresses. So I plugged the old broadband router back in, but did not connect it to the phone line. I then waited for the 3 RaspberryPis to connect to it, then I connected a laptop to the old wifi network. This had no internet access now, but it did allow me to SSH into the 3 RaspberryPis using their old IP addresses to edit the wifi details with the

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

command. I typed VERY carefully, as I only had 1 chance to get this right. Luckily, all 3 worked and then I unplugged the old router and switched the laptop back to the new wifi network. Simples!

PS: @ryanteck points out that an even simpler solution is to rename the new wireless network SSID and password to match the old one. I’d have done this but for the fact that a family members had already attached their phones, laptops and tablets to the new network and I couldn’t face telling them they’d have to change them back again. But it’s clearly a more sensible solution.

Ryan’s tweet has given me an idea though – keep an old router handy for use as a portable not-so-hotspot so if you take your headless Pi elsewhere (holiday, Raspberry Jam etc) you could use it to SSH into the Pi to update the wifi details. Again, there’s probably a much simpler way of doing this…

Posted in Raspberry Pi | Tagged , , | Leave a comment