Raspberry Pi For the Rest of Us
mikejuk writes "The Raspberry Pi might be a cheap and reasonably powerful but it has a tough learning curve due to the Linux OS it uses. Adafruit, better known for their hardware, are working on a WebIDE which you can use to program the Pi without having to set things up. You write the code in a browser and run it on the Pi using a web server hosted by the Pi. It sounds crazy but if it can make the Pi more approachable then perhaps it could turn out to be an educational powerhouse."
I'm not pissed off, of course.
Perhaps when they get round to delivering it, I'll be able to try some of this stuff.
Sigs. We don't need no steenking sigs.
Oh no, a steep learning curve on a device which is intended to encourage learning. Seriously.
CLI paste? paste.pr0.tips!
Just try to see if web2py works well, it's similar.
Isn't the point of the Pi that you can just dump an image onto an SD card and have a fully working environment? Just how bad are the Pi distros?
Give me Classic Slashdot or give me death!
It's just a slightly different graphical environment. I think the latest versions of OSes for it have dropped having to manually do a 'startx', so there is nothing there a child can't learn by doing.
-- Lattyware (www.lattyware.co.uk)
If you're not prepared to learn Linux then your should be prepared to - give up pursuit of programming embedded/small devices.
This seems like it's based on bad axioms. "a tough learning curve due to the Linux OS"? What OS is easier? Bear in mind that the the Pi distros to be used for education will boot to a GUI.
The focus at the moment seems to be on Scratch - great for kids as young as five.
"The rest of us" shouldn't be coding. At least according to the article directly before this one. http://developers.slashdot.org/story/12/09/20/2015204/why-non-coders-shouldnt-write-code
...
I smell me a slashvertisement...
Rather thinly veiled one, at that.
An enigma, wrapped in a riddle, shrouded in bacon and cheese
If you need a more expensive host to run the web browser to develop code for the cheap RP, doesn't that defy the entire point of being a cheap educational tool for underprivileged youth?
This sounds significantly less useful than self-hosted development. It sounds like it's inspired by Linux-phobes who are phobic for no particular reason.
...a decency of not programming an embedded Linux device from a Windows desktop? Seriously, what is wrong with those people?
Contrary to the popular belief, there indeed is no God.
Slashdot: news for non-nerds that don't want to have to deal with linux.
Well.. maybe. Or Maybe not. But Definitely not sort of.
The article states "Currently [Adafruit] are working on how to make the Raspberry Pi, the $25 one board computer, easier to use. The problem is that currently it all works with Linux which not every potential user knows or wants to learn just to be able to program the device.".
That one statement takes away from a good article about the Raspberry PI Web IDE. If you're going to learn to "program the device" which I"m assuming means embedded systems then why wouldn't you learn Linux. If you aren't using the gpio outputs to work with hardware then you might as well use the cheaper alternative of your own computer and a bootable usb stick with a distro of your choice. The Raspberry PI is relatively new so stay away if you don't want to get your hands dirty. If you want to stick to software then learn to program with a mobile OS.
tl;dr - startx
good
Web IDE
lol wut
Contrary to the popular belief, there indeed is no God.
The Raspberry Pi isn't an Arduino either. It's not "embedded".
The whole point of the Pi is that it's a fully-fledged standalone system (once you add keyboard/monitor/mouse) - but cheap and robust.
The idea is that a schoolkid -- even one from a family that's not wealthy - can have a Raspberry Pi of their own do mess with as they please. Depending on the distro, it boots to a GUI, you can go straight into an IDE, and if you screw anything up it's easy to start again from scratch.
Sounds exactly like IPython Notebook, which is awesome in power and ease of use.
I've only been waiting TWELVE weeks for the delivery of my Pi.
That's about right: take 1kg raspberries, 0.5kg sugar, 0.5l 95% alcohol, put into a jar. Four months later, filter out the fruit (give it to your mom/wife/grandma for a cake, or whatever). Let the liquid sit for eight more weeks. Filter again, pour into bottles. Ready to drink.
This one is so much simpler than my family's usual tincture recipe that takes multiple steppings and eight months, and for raspberrries, gives good results.
The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.
The premise of the article appears to be that
A) A Linux distro that boots into a graphical interface is hard to learn
B) Kids who can learn Python can't figure out how to use LXDE.
Both of these ideas are, well, silly. The solution to these "problems" are actually more complicated than just using a plain Raspbery Pi.
This is not new nor crazy.
BeagleBone folks already do this with Cloud9 IDE and node.js
The Raspberry Pi isn't an Arduino either. It's not "embedded".
The whole point of the Pi is that it's a fully-fledged standalone system (once you add keyboard/monitor/mouse) - but cheap and robust.
The idea is that a schoolkid -- even one from a family that's not wealthy - can have a Raspberry Pi of their own do mess with as they please. Depending on the distro, it boots to a GUI, you can go straight into an IDE, and if you screw anything up it's easy to start again from scratch.
You are correct that the PI itself isn't a true embedded system like the Arduino but the site references Adafruit. Adafruit's whole business model is based around the maker community and they have step by step tutorials for embedded programming w/ the PI.
I was excited up to the point where I read "Oh, and all of your code is stored in the cloud."
Not likely, sorry.
I've always found that the phrase "Linux OS" was sufficiently highly correlated with people who don't know what the fuck they are talking about that it can be used as a indicator. Anyone who says it has had their heads filled with corporate junk and white papers.
yet I'm still amazed that many CS students don't know the basic steps in compiling a program or even realize that their source code is indeed just a simple plain text file. Many think that all these projects and things they need for their IDE are required without realizing that it's just added stuff for their over-complex text editor...
it makes me sad to see that people only know how to click buttons nowadays without understanding what happens in the background
I received a my Rasp Pi in the mail a few months ago. It is a bit underpowered for IDE programming, and no way a beginner will use the command line. Scratch comes preinstalled and seems to be what most kids use. Python with an IDE is preinstalled too and is fine, but it's hard to do anything except console apps. I think kids like to see graphics, colors, and maybe write a game, right? Running apache, and likely php for this WebIDE is a bit much for the Pi. Things will be sluggish.
To my surprise, the Pi comes with a very capable HTML5 browser called Midori, which seems to run OK. To support the Pi and re-live my fun days of learning to program on TRS-80s (see "slim" above) I started an open source browser-based programming environment (https://github.com/tbensky/pi80) that uses Javascript in the browser as "the language," but js is kind of ugly and awkward for the beginner. So, the project has a preprocessor that tames javascript down a bit, to make it more like BASIC--gets rid of the { and } and other unnecessary punctuation. You can jump right in and write a single line that draws a circle or prints text to the screen, all in the browser. Trying to make it better--anyone want to help out? Try it here: http://www.codebymath.com/pi80/.
it has semi easy i2c and spi. that almost counts for embedded these days. and somewhat easy onboard serial, as well.
--
"It is now safe to switch off your computer."
The whole point (from the Raspberry Pi Foundation point of view) is to teach kids programming?
You get a RPi, with a SDcard already with the OS on it, plug it into the monitor, keyboard and mouse and go.... Covering all that up with a web interface which just adds another layer of stuff doesn't make sense. Personally, I prefer to use it command line, no GUI and get right into code.
As for delivery... if you are still waiting for one, you bought it from the wrong place. You can order them now and get them in a week or less. I got one in 3 days.
BTW I don't speak for the Foundation...
I ordered my Pi from Element14 on Aug 14th and it shipped on Aug 28th. I don't know what you are doing wrong such that you haven't received yours yet.
Once my Pi arrived, I downloaded an SD card image, wrote it to a card using dd, added power to the Pi and everything worked straight away. The parts that took the most effort were retrieving my spare cell phone charger and finding an HDMI cable to connect it to my TV.
Where is all the hate coming from?
Was that you just turned it on, and with no complex setups - you could code anything you want and save your work straight away. I still have a SX-64 for that very purpose. Sure, I could download and IDE with all kinds of complex setups, libraries, variables from hell and beyond, and pre-window code and +++++++ libraries I have to know by heart before I can even get that far, but it KILLS the instant idea and the moment that "not everyday coders" would have. Here's an example. I was faced with a question yesterday, Im an old 64 Assembly coder, and I saw a string I had a theoretical solution to Decrypt in my head. But I ended up downloading all kinds of programming languages, just to find out that I either needed some extra dev-kit of some sort, or a 100 other co-dependencies just to make it work, by the time I got that up and running - my personal gusto and "buzz" was totally gone. If I had my 64 by my side here and now, problem would be solved - right there and then. (Yes, I know about the 64 emulators, I have them on my cellphone of course) :)
But the point still stands. A device like the Raspberry PI - should have an EMBEDDED, possibly made in assembly, entirely library free - instant programming language, ready to use then powered up. Straight away.
If it was that simple, we could have the home-brew revolution of the C64 all over again, and no...I dont think "PCs built with embedded 64 would do it, like the Amiga One etc..)
Raspberry Pi
"Tupperware" cases have already been done. Its amazing what you can put Pi in!
I've not linked directly to the forum article in question, I'll leave that as a learning experience, after all, you don't want to be spoon-fed knowledge, do you?
One reason people seem not to "get it" is that we have a tendency to underestimate the ability of kids to learn things like Linux. Many primary school children are not at all phased by a Linux shell, and they're already expert in googling things and working stuff out for themselves. Perhaps because older geeks didn't grow up with the tinterweb, we can't imagine how easy it is for kids to learn geek knowledge at a young age.
All hail the coming Pi generation. I, for one, welcome our young Linux-hacking overlords.
RS
Kids can learn anything they want to at lightning speeds.
That is...if theyre interested, and thats the crux.
Most kids are social, and if you tell them that they should learn Linux, there has to be a reward waiting for them for doing so, if not, youll soon discover that kids are very intelligent, and ask straight away: Why? And then most adult will do adult reasoning, and explain why THEY would use Linux.
Try telling kids you do that for moral reasons, for geek reasons, and the kids will go - meh...
some of them who actually try it out, will do pretty well at it, possibly better than you ever did the first time you tried it, but then one of their buddies comes over with a USB stick or a cd with a new game, and it doesnt run. The kid gets ridiculed by his buddies for not making it work - and voila - back to basic (Windows re-installed), plays games...reward!
It's socially acceptable to be connected to Facebook and install even advanced apps on their smartphone, why? Because they can instantly get gratification by impressing their friends with something cool THEY ALSO CAN DO as well - social, everyone can install their app!
However, when do you see the kid fiddle with his Raspberry pi - and present it at school, something cool on the projector perhaps...but how many have a projector handy? How many actually wants to do what he just did in class...when it require a series of complex actions such as:
- Purchasing the unit
- Waiting forever for it
- Convincing the others that this is easy (most kids like quick rewards, making something simple that sounds complex and wows others)
If you present them with a very long technical installation procedure, this in itself may not be the reward.
I remember how I got into technology in the first place, it was actually video games.
Someone told me I could make those Arcade games I played at the corner-bar - myself - in my very own home, that triggered me. And the tool back then was a Commodore 64.
The good thing with a simple embedded system like the C-64 is that you:
1) Turn it on
2) Program
3) Run!
FUN!
How do we do that with the PI?
Lame.
I means seriously, the Pi is designed to get kids (and adults) to LEARN how a computer works and how to program the device. It's TRIVIAL to download a system image, transfer it to an SD card and boot your Pi. Hell, RS even offered to sell me a pre-formatted SD with the OS pre-installed! How hard is it to click "add one to cart", if you don't want to set up the SD yourself?!?
Seriously, the Pi is not for the iDevice consumer... it's for people who are interested to learn how things work and how to build and code stuff. Making the device idiot-proof is not the way forward.
Only lousy documentation.
Blech. When are developers going to learn that UI complexity and the web don't mix.
The appeal of the R-Pi is that you can connect it to a display device.
Personally, I'm waiting for Android to come out for the R-Pi. They have it running but there are some problems (in networking, IIRC) and rather than get help from the community they refuse to release what they have got. The design of R-Pi may be open, but nothing else is, including the process.
"You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
I learned to use Linux when I was 15. There was hardly any books on the subject. It was a 486dx mobo. I even called it (line-x) because i didn't know shit. After about 7 failed attempts to even get the shit installed then trying to hook it to my modem and figure out how to get internet access.. shit was difficult back then.. Now days is so freaking easy. You hardly even have to know a command everything is all windowsy. You can install it with your eyes closed w/out having to put any real thought into it. Bottom line is people are lazy. They want to learn to program on a linux device w/out actually learning linux. They have to use ANOTHER COMPUTER to program on the linux device.. How does this make sense? Just write python on your stupid windows machine you dummy. I've noticed this a lot with the RPI.. everyone jerking off on how cool it is and bashing linux at the same time.. It's getting annoying.
The Roku is a very similar device and might be more accessible to people who want to develop content-bearing channels.
Kriston
Everything I want for the Pi, is beyond my own abilities as a programmer:
1) A Common Lisp implementation made entirely and optimized for the ARM architecture. Something blazing fast like SBCL, but optimizations by ARM experts instead of x86 experts. ... Well that's about it
2) Working 3D hardware accelerated graphics
3)
Is any person or group working on either of these two items?
Since this is the "waiting for Pi" gripe thread I'll throw in. I ordered 2 from Allied Electronics on 8/14. Booooo, so many projects on hold.
/. finds me to be 20% Troll, 80% Funny
There is not(sic) such thing as a steep learning curve.
Only lousy documentation.
Lousy documentation (99.99% of what is out there) at best doesn't mitigate the original steep learning curve, at worst it makes the curve much, much steeper. Good documentation can alleviate some of a bad learning curve, but can't improve a product's design/usability.
If things were more accessible/logical to begin with then the documentation wouldn't come up as a factor at all: it would be superfluous or marketing material.
8-PP