Jack had this great idea to find the locations of solar panels and add them to OpenStreetMap. (Why's that useful? He can explain: Solar PV is the single biggest source of uncertainty in the National Grid's forecasts.)
I think we can do this :) The OpenStreetMap community have done lots of similar things, such as the humanitarian mapping work we do, collaboratively adding buildings and roads for unmapped developing countries. Also, some people in France seem to have done a great job of mapping their power network (info here in French). But how easy or fast would it be for us to manually search the globe for solar panels?
(You might be thinking "automate it!" Yes, sure - I work with machine learning in my day job - but it's a difficult task even for machine learning to get to the high accuracy needed. 99% accurate is not accurate enough, because that equates to a massive number of errors at global scale, and no-one's even claiming 99% accuracy yet for tasks like this. For the time being we definitely need manual mapping or at least manual verification.)
(Oh, or you might be thinking "surely someone officially has this data already?" Well you'd be surprised - some of it is held privately in one database or other, but not with substantial coverage, and certainly almost none of it has good geolocation coordinates, which you need if you're going to predict which hours the sun shines on each panel. Even official planning application data can be out by kilometres, sometimes.)
Jerry (also known as "SK53" on OSM) has had a look into it in Nottingham - he mapped a few hundred (!) solar panels already. He's written a great blog article about it.
This weekend here in London a couple of us thought we'd have a little dabble at it ourselves. We assumed that the aerial imagery must be at least as good as in Nottingham (because that's what London people think about everything ;) so we had a quick skim to look. Now, the main imagery used in OSM is provided by Bing, and unfortunately our area doesn't look anywhere near as crisp as in Nottingham.
We also went out and about (not systematically) and noticed some solar panels here and there, so we've a bit of ground truth to put alongside the aerial imagery. Here I'm going to show a handful of examples, using the standard aerial imagery. The main purpose is to get an idea of the trickiness of the task, especially with the idea of mapping purely from aerial imagery.
It took quite a lot of searching in aerial imagery to find any hits. Within about 30 minutes we'd managed to find three. Often we were unsure, because the distinction between solar panels, rooftop windows or other rooftop infrastructure is hard to spot unless you've got crystal-clear imagery. We swapped back and forth with various imagery sources, but none of the ones we had available by default gave us much boost.
While walking around town we saw a couple more. In the following image (of this location), the building "A" had some stood-up solar panels we saw from the ground; it also looks like "B" had some roof-mounted panels too, but we didn't spot them from the ground, because they don't stick up much.
Finally this picture quite neatly puts 3 different examples right next to each other in one location. At first we saw a few solar panels mounted flush on someone's sloping roof ("A"), and you can see those on the aerial - though my certainty comes from having seen them in real life! Then next to it we saw some stood-up solar panels on a newbuild block at "B", though you can't actually see it in the imagery because the newbuild is too new for all the aerials we had access to. Then next to that at "C" there definitely looks to be some solar there in the aerials, though we couldn't see that from the ground.
Our tentative learnings so far:
- We will need to use a combination of aerial mapping and on-the-ground "solar spotting" from people.
- Whether on-the-ground or aerial, it's often hard to get a clear idea of the size of the installation. In lieu of that, maybe it's fine to map them as points rather than areas. People can come along later and tell us the actual power ratings, efficiencies etc.
- We will need to make the most of heuristics about where to find solar panels. For example Jerry notes that social housing is relatively likely to install solar, and I've noticed it on plenty of schools too; there may also be vendor/official lists (e.g. planning applications) out there - we'll need multiple sources to get a well-rounded coverage.
See Jerry's blog for more learnings.
There are plenty of virtuous feedback loops in here: the more we do as a community, the better we'll get (both humans and machines) at finding the solar panels and spotting the gaps in our data.
Based on a conversation we had in the Machine Listening Lab last week, here are some blogs and other things you can read when you're - say - a new PhD student who wants to get started with applying/understanding deep learning. We can recommend plenty of textbooks too, but here it's mainly blogs and other informal introductions. Our recommended reading:
- Andrew Ng's coursera course on "Deep Learning" - it's not free to be a student on the course, BUT it is free to "audit" the course, either by signing in, or simply by watching the videos on Youtube
- A brief overview of Deep Learning - a v good intro. (Also: DO read the comments. Some big names give their thoughts.)
- This overview Nature paper is good too
- This blog post series covers the LINEAR ALGEBRA underlying deep learning and numerical optimisation
- Introductions that show all the different types of NN architectures: this one and also this one
- Deep learning book (free online) by Ian Goodfellow and Yoshua Bengio and Aaron Courville
- Deep learning book (free online) by Michael Nielsen
- My Neural Network isn't working! What should I do? ...you'll need this!
I was setting a new laptop up recently. If you're not familiar with Linux you probably don't know how amazing is the ecosystem of software you can have for free, almost instantly. Yes sure the software is free but what's actually impressive is how well it all stitches together through "package managers". I use Ubuntu (based on Debian) and Debian provides this amazing jiu-jitsu wherein you can just type
sudo apt install sonic-visualiser
and hey presto, you get Sonic Visualiser nicely installed and ready to go.
So what that means for me is that when I'm setting up a new computer, I don't need to go running around clicking on a million websites, clicking through download links and licence agreements. I can just copy over the list of all my favourite software packages, and
apt will install them for me in just a few steps.
For whatever reason - for my own recollection, at least - here's a list of lots of great packages I tend to install on my desktop/laptop. General useful stuff, plus things that an audio hacker, Python machine-learning developer, and computer science academic might use. I'll add some comments to highlight notable things:
# file sharing, synchronisation syncthing # for fabulous dropbox-without-dropbox file synchronising syncthing-gtk git transmission-gtk # graphics/photo editing cheese darktable gimp # great for bitmap (e.g. photo) editing imagemagick inkscape # great for vector graphics openshot # great for video editing # for a nice desktop environment: pcmanfm gnome-tweak-tool caffeine-indicator # helps to pause screensaver etc when you need to watch a film, give a talk, etc xcalib # I use this to invert colours sometimes # academic jabref r-base texlive texlive-latex-extra texlive-bibtex-extra texlive-fonts-extra texlive-fonts-recommended texlive-publishers texlive-science texlive-extra-utils # for texcount (latex word counting) graphviz gnuplot latexdiff # Super-useful for comparing original text against the re-submission text... poppler-utils # PDF manipulation psutils bibtex2html pandoc # for python programming fun jupyter-notebook virtualenv python-matplotlib python-nose python-numpy python-pip python-scipy python-six python-skimage python3-numpy cython ipython ipython3 # for music playback mopidy mopidy-local-sqlite ncmpcpp pavucontrol paprefs brasero banshee qjackctl jack-tools jackd2 mixxx mplayer vlc # music/audio file manipulation audacity youtube-dl ffmpeg rubberband-cli sndfile-tools sonic-visualiser sox id3v2 vorbis-tools lame mencoder mp3splt # audio programming libraries libsndfile1 libsndfile1-dev libfftw3-dev librubberband-dev libvorbis-dev # for blogging / websiting: pelican lftp # office simple-scan ttf-ubuntu-font-family thunderbird-locale-en-gb orage xul-ext-lightning # alt calendar software # misc programming stuff ansible ant build-essential ccache cmake cmake-curses-gui debhelper debianutils default-jdk default-jre devscripts git-buildpackage vim-gtk # system utilities apparmor apport anacron nmap hfsprogs printer-driver-hpijs dconf-editor chkrootkit dmidecode zip zsh # zsh is so much better than bash gparted htop baobab wireshark-qt bzip2 curl dnsutils dos2unix dvd+rw-tools less openssh-server openvpn screen unrar unzip wget
For a cook, Veganuary was a really interesting challenge. A whole month of being vegan! Here are some things I learnt:
- How to make a chia egg - it's a replacement for egg white made of... crushed seeds. Probably the main party-trick I learnt, since I already knew some of the other vegan voodoo secrets (e.g. aquafaba).
- How to veganise a cake
- Coconut becomes a bit of a fallback for creamy or fatty things: coconut cream, coconut oil, coconut milk... not too healthy to have too much of that!
- THERE@S MILK EXTRACT IN EVERYTHINGGG. This evening I picked up a pack of gnocchi - presumably just made of potato - and looked at the back... milk protein - gah!
- Vegan cheese: avoid Violife. Vegans will tell you "Oh this one tastes OK, this other one is good if you..." - don't listen to them! Violife will put you off vegans AND cheese!
- On the other hand, oat milk (Oatly) is ace alternative milk, and can be used for a surprising number of baking recipes with no problem at all. I've cooked Yorkshire puddings, quiches, all kinds of things with it.
You know, I didn't miss real cheese much, but that's probably because a month is not too long really. Didn't even get round to trying all the recipes I wanted to try. Had some lovely vegan junk food (shout out to Vivera shawarma, not to mention McSween's veggie haggis).
And for the record, as well as to show you all how interesting Veganuary can be if you like cooking, here are some of the delicious things we cooked+ate!
- Koshari (egyptian carbs and tomatoes)
- Beet wellington
- Olive tapenade
- Mango and chia seed pudding
- Nasi goreng (from Vegan Street Food)
- Black bean chorizo carbonara
- African peanut stew
- Fake fish and chips
- Pasta with homemade pesto
- Pasta arabbiata
- Tofu bourgignon
- Chilli sin carne with pulled jackfruit
- Gado gado (sans egg)
- Thai Green curry with tofu
- Thai red curry
- Pad thai
- Jackfruit rendang (from Vegan Street Food)
OK, "vegan chorizo carbonara" - I think neither the Italians nor the Mexicans will forgive me for this one! But it's a veganuary experiment and I like it.
Thanks to veganuary I'm learning about chia egg, and here it really does work to provide the gloopy egg-like saucing. The chia also gives a little bit of flavour and crunch.
To get the flavour balanced, you add more lemon than you would to a "normal" carbonara - it isn't authentic but it adds some freshness and lightness.
Serves one, takes 15 minutes.
- 1 tbsp chia seeds (white or black, doesn't matter)
- 75g spaghetti
- A small handful (75g) of black bean chorizo, or other vegan chorizo
- Half a lemon, juice and rind
- 50ml oat cream
- A small handful of fresh parsley
- A sprinkle of nutritional yeast
First, prepare the chia egg: grind up the chia seed in a pestle and mortar (or similar), not for too long - it doesn't need to be very fine - then add 3 tbsp of cold water. You can leave this to stand and thicken up as you do the other stuff.
Start the spaghetti cooking: put it in a large pan of boiling salted water. Cook it for maybe 12 mins until it is al dente.
Divide the chorizo into small bites. In a small frying pan, fry the chorizo in olive oil, hot at first but then turn it down to medium.
Chop the parsley roughly.
Mix the lemon juice and rind into the chia egg. You may need to stir the chia egg and poke it to beat out any clumps.
When the pasta has reached the "al dente" stage, drain it in a colander and then return it to the pan you cooked it in. (No need for any more heat at this point.) Add the chia egg and lemon, as well as the oat cream, and mix it through thoroughly. Then add the chorizo and the parsley, and mix them all up.
Serve this up, with nutritional yeast sprinkled on top.
I've been using "black bean chorizo" in my cooking for years. It's based on Hugh Fearnley-Whittingstall's "tupperware chorizo" recipe - it makes a densely-flavoured black bean paste, not as firm as real chorizo but with the same kind of flavour depth.
It keeps in the fridge for a long time (let's say... a month?) and is really handy for a bit of complex strong flavour which, in vegetarian cooking, can otherwise be hard to get!
- 375g black beans (from a tin), drained
- 1 garlic clove, minced or finely chopped
- 1-2 tbsp smoked paprika
- 1/2 tsp salt
- 1 tsp fennel seeds
- 1/4 tsp cayenne pepper
- 25ml red wine
Put the black beans in a bowl and lightly mush/crush them, e.g. with a fork or a masher. They don't need to be fully minced but, at least... not bean-shaped any more!
Add all the other ingredients. Mix it all up thoroughly. It may well seem "too wet" with the red wine but don't worry, it all absorbs and matures.
Put the mix in a tupperware box that you can shut airtight. Shut it, put it in the fridge, and leave it for at least a day before using, ideally 1 to 3 weeks.
Going to try veganuary? We're going for it this year.
Here are some great recipes I made/found recently, all vegan. Maybe they'll help you to enjoy January extra-special:
- Pad thai - do it Vegan Black Metal Chef style! (We used peanut butter instead of peanuts which makes it easier to …
I've been struggling with the tension between academia and flying for a long time. The vast majority of my holidays I've done by train and the occasional boat - for example the train from London to southern Germany is a lovely ride, as is London to Edinburgh or Glasgow. But in …
I started collecting examples of "good news" items a couple of years ago - as a personal antidote to some of the bad things going on out there. This year I've ended up collecting almost too many to keep a handle on. Although the year isn't finished, I'm blogging it here …
Why, if you're in a pub in Britain, and you don't want to get drunk, are you supposed to drink litres of sugar? Fizzy drinks are like that, but also so are the fruit-juice based things like J2O - waaaay sweeter than beer or wine. What should pubs serve? There are …