News for hackers. Stuff that matters.
Re:I teach Python on the Raspberry Pi 400 at the public library by ChrisRR on Tuesday June 15, 2021 @05:55AM (#27513098)
FWIW you can probably find a hell of a lot ex office PCs for free

I do admire the raspberry pi project for their work, but for just programming simple python projects, any 15 year old core 2 duo will work and people can't get rid of them fast enough

Re:I teach Python on the Raspberry Pi 400 at the public library by rtpg on Tuesday June 15, 2021 @06:07AM (#27513180)
Yeah but then you're in the "manage a bunch of really old hardware" business.

RasPi have that consistency factor and the "game boy" factor of kinda being able to throw one against a wall and for it to work.

It's not the best programming experience but at least it'll be consistent. (Part of this is a Python problem tho tbh. Every Django Girls thing is half "go through the code" and half "try to figure out what weird situation your computer is in", even for Macs)

Re:I teach Python on the Raspberry Pi 400 at the public library by swiley on Tuesday June 15, 2021 @08:07AM (#27514081)
>even for Macs

In many ways Apple is making this kind of thing harder and not easier.

Re:I teach Python on the Raspberry Pi 400 at the public library by TheOtherHobbes on Tuesday June 15, 2021 @07:42AM (#27513856)
But that's a fair representation of both computer ownership and real programming.
Re:I teach Python on the Raspberry Pi 400 at the public library by rtpg on Tuesday June 15, 2021 @08:51AM (#27514562)
The fact that real programming is a mess isn't like... important! It's entirely incidental and almost entirely due to this kind of attitude of "well I got it working on my machine" that slows down making real progress

Not to mention that all this futzing around is usually indicative of leaky abstractions up the wazoo.

There are hard things in programming, sometimes. It's hard to write iterative quick sort without introducing off-by-one bugs. But most shit is easy, and a lot of hardness is around just busted tooling.

Re:I teach Python on the Raspberry Pi 400 at the public library by paulcole on Tuesday June 15, 2021 @08:11AM (#27514126)
The ones who get bit by the programming bug have their whole lives to be annoyed by the hassles of computer ownership, upgrades, etc.

But most won’t keep programming, so I think it’s smart to at least keep this class focused on its purpose, which isn’t to see who can get most frustrated by their decade old Dell tower.

Re:I teach Python on the Raspberry Pi 400 at the public library by ChrisRR on Tuesday June 15, 2021 @08:25AM (#27514248)
A decade isn't exactly a long time. That's still a windows 7 machine with an i5

Or just wipe it and throw ubuntu on it

Re:I teach Python on the Raspberry Pi 400 at the public library by paulcole on Tuesday June 15, 2021 @08:46AM (#27514488)
Let’s say there are a dozen kids in the class. The library provided the monitors. How does the volunteer teacher get a dozen towers to and from the library? What do they do with a dozen towers in between classes? Would this be easier or harder with a dozen Pi 400s?
Re:I teach Python on the Raspberry Pi 400 at the public library by drewzero1 on Tuesday June 15, 2021 @02:58PM (#27519922)
This is the real strength of the Pi 400 for this application: sure you could do it all cheaper with used office hardware, but it turns this "just works" intro class into a full advanced IT course (or a full-time IT job for the volunteer teacher).
Re:I teach Python on the Raspberry Pi 400 at the public library by turpialito on Tuesday June 15, 2021 @08:49AM (#27514539)
If you want the RPi look and feel &/| if you happen to have said PCs lying around &/| buying brand-new Pi's is not an option, you can get Raspberry Pi OS for x86.
Re:I teach Python on the Raspberry Pi 400 at the public library by zachrose on Tuesday June 15, 2021 @11:03AM (#27516515)
Get them to yearn for the sea and they’ll Google around trying to figure out why Nokogiri won’t compile on their own
Re:I teach Python on the Raspberry Pi 400 at the public library by skrtskrt on Tuesday June 15, 2021 @12:22PM (#27517664)
> Part of this is a Python problem

Yeah it is kind of annoying that the language that's going to be best for instructing kids/beginners has such a terrible ecosystem that will put kids in such frustrating PITA positions getting the environment right.

Re:I teach Python on the Raspberry Pi 400 at the public library by userbinator on Tuesday June 15, 2021 @09:41AM (#27515380)
Don't forget the fact that standard PCs are very well-documented too. Instead of teaching on proprietary barely-documented systems, choose one that has decades of documentation and a huge software/hardware ecosystem.
Re:I teach Python on the Raspberry Pi 400 at the public library by schwartzworld on Tuesday June 15, 2021 @08:09PM (#27523238)
Raspberry Pi OS is built on top of Debian, so I'm not sure that argument really holds.
Re:I teach Python on the Raspberry Pi 400 at the public library by userbinator on Tuesday June 15, 2021 @09:19PM (#27523821)
Open source != documentation.

Most notably, the Linux kernel runs on every Android smartphone/tablet SoC, but only a tiny fraction of them have public documentation.

Re:I teach Python on the Raspberry Pi 400 at the public library by schwartzworld on Wednesday June 16, 2021 @06:18AM (#27526837)
This is a full OS. It has man pages, and a lot of built in docs too. Have you used raspberry pi?

And btw, community is a bit factor with Linux. Anything you can't figure out is only typically a search away.

Re:I teach Python on the Raspberry Pi 400 at the public library by userbinator on Wednesday June 16, 2021 @07:30PM (#27534671)
I'm not talking about man pages.

Has Broadcom released any more than a tiny subset of the documentation they have on the SoC?