HN user

benn_88

2,886 karma

Software engineer at BBC. Ex Raspberry Pi. Into Python and Linux.

Posts111
Comments37
View on HN
bennuttall.com 26d ago

Greatgramps: A static site generator for GRAMPS family trees

benn_88
1pts0
bennuttall.com 1mo ago

Getting Claude to extract data from a 1997 football manager game

benn_88
22pts0
blog.piwheels.org 3y ago

One hundred million customers served

benn_88
1pts0
www.bbc.co.uk 4y ago

Advice on accessing BBC News (using Tor)

benn_88
4pts0
martinpeck.com 4y ago

Let's Rewrite Everything

benn_88
49pts60
structa.readthedocs.io 4y ago

Structa: A utility for analyzing repeating structures in large data sources

benn_88
5pts1
bennuttall.com 4y ago

The surreal experience of my first developer job

benn_88
743pts261
blog.piwheels.org 4y ago

The rinds of the Cheese Shop menu

benn_88
2pts0
oliverroick.net 4y ago

In Defence of the Pull Request

benn_88
2pts0
www.bbc.co.uk 5y ago

US officer plays Taylor Swift song to try to block video

benn_88
2pts0
bennuttall.com 5y ago

The surreal experience of my first developer job

benn_88
3pts0
www.bbc.co.uk 5y ago

How to write useful error messages

benn_88
20pts0
www.window-swap.com 5y ago

WindowSwap

benn_88
1pts0
anvil.works 6y ago

How I Built Calendly in 3 Hours

benn_88
3pts0
anvil.works 6y ago

Open-Sourcing the Anvil App Server

benn_88
33pts6
blog.piwheels.org 6y ago

Piwheels Stats for 2019

benn_88
1pts0
time.com 6y ago

Gadgets of the 2010s

benn_88
2pts0
designyoutrust.com 6y ago

Animal pictures composed using number of pixels according to species population

benn_88
2pts0
www.raspberrypi.org 7y ago

Buy a Raspberry Pi 4 Model B

benn_88
95pts46
www.kickstarter.com 7y ago

Raspberry Pi for Computer Vision [ eBook ]

benn_88
3pts1
www.raspberrypi.org 7y ago

GPIO Zero v1.5 is here

benn_88
2pts0
www.dailypost.co.uk 7y ago

Schoolboy's invention set to dramatically cut need for Snowdon rescues

benn_88
3pts1
blog.piwheels.org 7y ago

Piwheels stats for 2018

benn_88
1pts0
www.flickr.com 7y ago

Earth Photos Taken by Raspberry Pis on ISS

benn_88
1pts0
opensource.com 7y ago

New Raspberry Pi 3 Model A+ unveiled

benn_88
8pts1
www.raspberrypi.org 7y ago

A world-class computing education

benn_88
2pts0
www.raspberrypi.org 8y ago

Mu, a new Python IDE for beginners

benn_88
2pts0
fosdem.org 8y ago

Introducing FOSDEMx

benn_88
3pts0
www.pyimagesearch.com 8y ago

Keras and deep learning on the Raspberry Pi

benn_88
106pts3
www.raspberrypi.org 8y ago

Piwheels: making “pip install” fast

benn_88
2pts0

Raspbian [1] is the name of the original community project to port Debian to armhf (armv6 hard float) which ran on the Raspberry Pi 1.

Raspberry Pi put our their own images based on this, and called it Raspbian until about 2020 [2] when they started calling it "Raspberry Pi OS" after they started producing aarch64 images.

[1] https://www.raspbian.org/

[2] https://www.raspberrypi.com/news/8gb-raspberry-pi-4-on-sale-...

Further reading:

[4] https://www.tomshardware.com/news/raspberry-pi-os-no-longer-...

[5] https://unix.stackexchange.com/a/602658/253655

This reminds me of a part I didn't mention in the article - they initially actually set up a second company called "Shady Apps" with a separate Developer account from which they upload the "people will buy anything for 99p" apps, on the basis that they would keep the "App Start" one clean for just the better quality ones.

One day Alex showed me a bunch of such apps they'd made - the "orgasm button" was one I can recall...

In many ways it was a really good first job for me - the people and dodgy business ongoings aside - what I needed at the time was to build stuff in my own way on my own terms, but with purpose. The next job was a bit of a shock, but it was another new experience.

Arduino is a for-profit company with open source hardware; Raspberry Pi is a charity with closed-source hardware.

Nothing wrong with either approach. But your comment makes out they're a for-profit company with closed-source hardware acting like the good guys.

Not sure it's fair to label them as just another company when they're not-for-profit and pump all their money into a) product development and b) education programmes.

To be honest, if the Pi was open source hardware, everyone would buy the clones (like they do with the Arduino ones) and the charity side would have much less funding.

I host a static website on a Raspberry Pi 3 and it's been running very well for about 3 years. It's static HTML and it also serves files. It's hosted by a provider with a "Pi Cloud". https://www.mythic-beasts.com/order/rpi

The website is https://www.piwheels.org - it's a Python package repository for Raspberry Pi users

It's served over 20M downloads, which is 70TB. Currently serving 1.2M downloads a month (4.4TB).

A cheap VPS would be easier, better and about the same price. But piwheels is a bit of a dogfooding project. But it works!

Raspberry Pi 4 7 years ago

In the past, we’ve indicated 2020 as a likely introduction date for Raspberry Pi 4. We budgeted time for four silicon revisions of BCM2711 (A0, B0, C0, and C1); in comparison, we ship BCM2835C2 (the fifth revision of that design) on Raspberry Pi 1 and Zero.

Fortunately, 2711B0 has turned out to be production-ready, which has taken roughly 9–12 months out of the schedule.

Awesome project, but why Python 2? :(

Pre-compiled Python wheels are available for Python 3 on Raspberry Pi at piwheels.org (default for pip in Raspbian)

For the eagle-eyed who noticed the tensorflow Arm wheel is not found on PyPI, it's actually on piwheels.org - a project I run which automates building all the Python packages on PyPI. In this case, the wheels were submitted to us from the TF team at Google. Raspbian is configured to use piwheels.org as an additional index so Raspberry Pi users get pre-built platform wheels just by typing "pip install".

- Is your child spending all of their time online?

- Are they interested in coding? Do they have independent learning material on computing?

- Do they have irregular sleeping patterns?

- Do they get an income from their online activities, do you know why and how?

- Are they resistant when asked what they do online?

- Do they use the full data allowance on the home broadband?

- Have they become more socially isolated?

No - not even mine! It was a satirical comment, really. PHP's a bit of a mess, but it's the first choice for many developers doing many projects - and mine for web.

Also Python isn't the only language we encourage. We ship Raspbian with Ruby, Java, Mathematica and more and have resources in many, including PHP.

I'm the sole developer and maintainer of raspberrypi.org - we're a small team at the Foundation and I do this alongside outreach, educational resources, teacher training, software development and other projects. We pay Mythic Beasts for a basic hosting service and they kindly provide us with a full support service in running the server and keeping the site and other services on the machine alive. That one machine runs various Raspberry Pi sub-sites, the Raspbian and NOOBS downloads server, the Raspbian apt mirror, MPEG licence key generation and more.

1. Why PHP?

We all know PHP sucks (we advocate Python in education), but WordPress is ideal for authors and contributors and that's what we had to begin with.

2. Why WordPress?

When I joined the Foundation in 2013 they had a WordPress site Eben set up in 2011 and I wanted to keep the great user experience WordPress provides to authors and contributors so I built a bespoke theme expanding the content beyond the simple blog, keeping all former URLs working despite changes to the URL structure. Some of the newer content, like documentation and learning resources, is outside of WordPress and is pulled in from github and rendered into templates.

3. But why not build your own bespoke framework?

Firstly, if I did that, you'd tell me perfectly good web frameworks already exist. Secondly, WordPress is very mature and it's easy to add functionality quickly. I'm not talking about BS plugins - I hardly use any. I mean it's easy to add stuff into the templates, stuff you're likely to want to do. Finally, I'd rather spend my time and the Foundation's money doing educational projects.

4. WordPress caching plugins exist. Why don't you just use them?

We use WP Super Cache. It does most of what we want, but has some pretty fatal flaws: it doesn't go to cache for "logged in users" (including anyone who's ever made a comment), it recreates the cache after every comment, it does some work to figure out of it can give the user a cached page or not (this slows it down a lot), it doesn't cache the 404 page (more important than you'd think) and it doesn't cache requests with any GET methods params. Mythic created their own static page generating script for the pages with the most hits which updates every minute, and that's what kept us alive this time.

5. Why not use NGINX?

See a full article on this here: http://blog.mythic-beasts.com/2014/11/14/hiphop-and-wordpres...

6. What about hiphop vm?

We tried it. Fast but unreliable. We saw a huge rise in performance but most of that came from the upgrade from Wheezy's PHP 5.3. Compared to Jessie's PHP 5.6 was less impressive.

No, it's just Broadcom and the Raspberry Pi engineering team that made the product happen. At the point we knew Pi 2 would be happening, the conversation with MS started and they started work porting Windows to it - with a little help from our engineers.

- Ben from Raspberry Pi