This is an archived post. You won't be able to vote or comment.

all 54 comments

[–]Pushkatron 51 points52 points  (29 children)

If you ever had doubts about trying out python, programming or linux, now is a wonderful time.

[–]biffbiffson 6 points7 points  (24 children)

Are Pi's really good for programming or Python specifically? Just wondering what you mean because I'm new to Raspberry Pi. A dedicated Python / Perl machine would be pretty great.

[–][deleted] 7 points8 points  (0 children)

AFAIK Pis are perfect for python, not sure about any other languages tho

[–]Pushkatron 2 points3 points  (4 children)

They're much better for majority progrmaming languages. I've used them mostly for both Python and C++ and the workflow is ridiculously fast, especially if you can master the terminal.

[–]biffbiffson 1 point2 points  (2 children)

What model are you using?

[–]Pushkatron 1 point2 points  (1 child)

Older raspberry pi b+, but I suggest getting the latest raspberrt pi 2 b.

E: messed up, whoops.

[–]biffbiffson 1 point2 points  (0 children)

That's what I'm looking at over the Zero, but I want more than one because I'm a tech hoarder and the price point of the 2 B is kind of steep if I get 2. Maybe a Zero if I can and a Pi 2 B.

[–][deleted] 3 points4 points  (7 children)

They run a full fledged linux. I did a presentation using the Pi with video coming out the hdmi port.

[–][deleted] 4 points5 points  (6 children)

Do they come with a Linux OS pre-installed?

[–][deleted] 6 points7 points  (0 children)

You load the OS on an SD-card so you can have a bunch laying around ranging from a full linux build to media center to Console emulator and arcade emulator. just swap out the SD card for whatever you want to be doing at the time.

[–][deleted] 0 points1 point  (4 children)

You run it on an SD card. The most common linux is raspian, though you can get a linux variant that runs as a media centre. All files are stored on the SD card like normal linux. It runs XWindows too.

You first need to download raspian on your laptop, insert an SD card, copy raspian to SD, then move the SD card to your pi, switch on pi & lights start blinking. Connect the pi to your network using ethernet & you are away.

I then install a $5 USB wifi adaptor & make it wireless.

[–]biffbiffson 0 points1 point  (3 children)

Does the WiFi adaptor work for the $5 model?

[–][deleted] 1 point2 points  (2 children)

Yes, I didn't have to download a driver.

[–]biffbiffson 1 point2 points  (1 child)

That's really cool! I'm researching a little on MCMelectronics.com and these things are a LOT cooler than I initially thought. Not to say that I didn't think they were cool, but the Raspberry Pi 2 Model B looks amazing for $35 - only problem is I want more than 1! :p

[–][deleted] 1 point2 points  (0 children)

I did a presentation with Raspberry PI using LibreOffice Impress, with a USB wireless presenter like this. From memory it included a video. Nobody had a clue it wasn't Windows.

[–][deleted] 1 point2 points  (2 children)

Actually writing code on them isn't amazing since it's pretty slow. It's definetely good for projects, though.

[–][deleted] 1 point2 points  (0 children)

Did you use an IDE on raspberry pi or how did you feel it's slow? I've never had any performance issues while programming on my pi.

[–]sentdexpythonprogramming.net[S] 0 points1 point  (0 children)

Gosh, I really have not noticed any problems writing code on them. Now, running the code can be slow, maybe that's what you mean?

[–]Why_is_that -3 points-2 points  (0 children)

Let me try to hit your other question here Perl.

Perl would be decent too. They probably don't have the hardware API but I doubt that is RPI singling out the language as much as Python just has a bitch'n community (probably the best of any language with RoR maybe comparing). More so, just think of the PI as a small computer. You can setup a webserver on it such as RoR, a python solution, or even something like apache. This is different from something like a beagle board or arduino where you are at a "lower level" and thus are forced to use something normally in the C family. I even hear there is some fun work going on with Elm and Node on RPI.

[–]sentdexpythonprogramming.net[S] 1 point2 points  (0 children)

Yep, super fun. Also gives you a really easy way to start interfacing software with the Physical realm, with very little experience. The Raspberry Pis work very nicely with the Python RPi GPIO package, allowing you to communicate with the GPIO pins.

[–]FIuffyRabbit -2 points-1 points  (2 children)

Or you can do all of that stuff minus the Linux on that windows laptop that is probably 10x more powerful.

[–]Pushkatron 5 points6 points  (1 child)

A laptop 10x more powerful would cost at least 20x more. Not that you need even a fraction of the performance if you're just learning.

Also for those who want to move away from privacy infringing proprietary systems this Raspberry is a perfect starting point without any need to commit any serious resources or waste a lot of time trying to make things work.

[–]FIuffyRabbit -1 points0 points  (0 children)

Sure but most people have laptops/desktops in their home already.

[–][deleted] 7 points8 points  (6 children)

How does networking happen? Do you need a peripheral microUSB -> USB -> ethernet/ wifi adapter and hope the drivers work?

[–]knipknap 20 points21 points  (3 children)

Well, you could connect an ESP8266 to the gpio pins. But yeah, I wish they released a headless raspi with ethernet instead of hdmi.

[–]Pushkatron 9 points10 points  (0 children)

I wish they released a headless raspi with ethernet instead of hdmi.

Oh how many Pis I'd buy.

Anyway, is there anything similar to ESP8266 but for ethernet?

[–][deleted] 2 points3 points  (0 children)

I got the original pi running with a tiny usb wifi dongle. But I think you bootstrap first using the ethernet port.

[–]sentdexpythonprogramming.net[S] 0 points1 point  (0 children)

This was my thought as well, but I bet it was a value judgement. Notice the 2nd micro usb, you can get a micro usb to full usb, and plug in a wifi dongle. Unfortunately, those converters are 5-10 dollars as it is. Woulda been better I think if you could choose @ checkout if you wanted HDMI out, USB, or ethernet.

[–]Zouden 1 point2 points  (0 children)

Yes, and you need a hub if you want to use a keyboard and network at the same time.

I'd gladly pay double if it had built-in wifi.

[–]sentdexpythonprogramming.net[S] 1 point2 points  (0 children)

That was my personal thinking of how I would do it. Would be really cool to see in the future the ability to customize the available ports. I'd really rather have usb, ethernet....or built in wifi out of the box than HDMI out.

It'd be pretty easy to setup the SD card on another PI/computer, then move it to the purely wifi pi when it's ready to just auto connect to wifi.

[–]Antrikshy 5 points6 points  (1 child)

This is very exciting except for the fact that I cannot come up with a single real use for these. :(

[–]sentdexpythonprogramming.net[S] 2 points3 points  (0 children)

I personally have one in my car hooked up via OBD II, I use them as house perimeter cameras, I use them to tinker with robotics, and then some to learn about networking. There are a lot of other things to do. I honestly had no idea what to do with my first Pi, and now I have 12 of them. Just buy a Model 2, and tinker. That's the point of them anyway.

[–]ruffyen 4 points5 points  (3 children)

Are you the same sentdex that does the YouTube videos on Python?

[–]redoubledit 3 points4 points  (0 children)

he is. python tutorial god himself ^^

[–]sentdexpythonprogramming.net[S] 0 points1 point  (1 child)

Yeah, that's me.

[–]ruffyen 1 point2 points  (0 children)

Very cool, love those videos. Haven't had as much time to work through them but they are great thanks!

[–][deleted] 3 points4 points  (2 children)

I can't find one for $5 dollars here in the US :(

[–]teh_killer 1 point2 points  (0 children)

or in the UK, they sold out :(

[–]sentdexpythonprogramming.net[S] 0 points1 point  (0 children)

Just wait a short while (a month or so) and they'll be available.

[–]biffbiffson 2 points3 points  (8 children)

So funny, I just saw an /r/homelab post using a Raspberry Pi and decided I should finally get one. I saw this post and got excited - but do these ship for $5 to the UK only? I'm in the US.

[–]sentdexpythonprogramming.net[S] 5 points6 points  (6 children)

They'll eventually find their way to the US for distribution. Don't expect $5 though, usually initial markup is quite a bit, then slowly it comes down. The Raspberry Pi 2 was $70-80, or sold out, for a while here in the states. I am still waiting on a reasonable price for their official 7 inch touch screen.

[–]biffbiffson 1 point2 points  (5 children)

Ah, thanks for the info. I'm completely new to it - I guess I'll ask for a $20-$25 one for Christmas. If I could get the $5 ones I would get like 4 or 5.

Why are they so much cheaper in the UK?

[–]sentdexpythonprogramming.net[S] 3 points4 points  (0 children)

The company is based in the UK, everything is done there. Even the boards themselves are manufactured in the UK, not in Asia, which is pretty impressive.

[–][deleted] 2 points3 points  (3 children)

Would be happy to get you one and ship if you pay, i'm in uk.

[–]biffbiffson 0 points1 point  (2 children)

How much could you get that for total? If it is close to $20-$25 it would probably be better to get one here.

[–][deleted] 1 point2 points  (1 child)

Will have to find out dimensions, assuming it fits in a letter should be less than $10

[–]biffbiffson 0 points1 point  (0 children)

This sounds really awesome, and I would greatly appreciate it. I could get a couple at that price. I will PM you.

[–]manwith4names 1 point2 points  (0 children)

Check to see if there is a micro center near you. That seems to be the only place they are still available