r/Python • • Jun 24 '18

My nephew got his first Raspberry Pi today :)

Post image
1.1k Upvotes

82 comments sorted by

211

u/callum__h28 Jun 24 '18

And so begins years of "expected an indent"

77

u/Mr_Tobes Jun 24 '18

Man when he got to the pages in the book about error messages, I made sure he read it THOROUGHLY 😁

2

u/omnipotencyx Jun 25 '18

Taking notes throughout is a good practice.

1

u/BaleZur Jun 25 '18 edited Jun 25 '18

Something that never ceases to amaze me is just how useful logging is. That and how few people use it. Put it where you think you need it, then add to it as you debug (include var values--why does nobody do this?), and leave it there (yay logging levels!)

59

u/lordmauve Jun 24 '18

You should try Mu if you're looking for something a bit more up to date than IDLE.

49

u/FatFingerHelperBot Jun 24 '18

It seems that your comment contains 1 or more links that are hard to tap for mobile users. I will extend those so they're easier for our sausage fingers to click!

Here is link number 1 - Previous text "Mu"


Please PM /u/eganwall with issues or feedback! | Delete

29

u/[deleted] Jun 24 '18

Good bot

9

u/[deleted] Jun 24 '18

Would be a great bot if it just posted the links.

-14

u/LNGPRMPT Jun 24 '18

Yeah for real. Weird that reddit just allows all the shitty bots like a lot bot.

1

u/major_bot Jun 26 '18

Das cold dawg.

2

u/UNWSDWF2121 Jun 25 '18

Awesome. One of the better more useful bots.

0

u/flubba86 Jun 25 '18

Good bot

1

u/Mr_Tobes Jun 25 '18

Thanks - I'll let him get settled with this, then we can look at options ā˜ŗļø

5

u/ChappyBirthday Jun 25 '18

Would that be better for someone who is not a novice at all? I mostly write code using Pycharm on my laptop, but occasionally make edits to scripts via the Pi that runs them.

0

u/[deleted] Jun 25 '18

[deleted]

2

u/pratik_mullick Jun 25 '18

Yep, used to see this at my last job as well. Most of the 'dev' guys would use something like Atom or VS Code for developing code; just one guy who wanted to look cool, so he had a terminal-only system, and wrote code on Emacs!

I personally prefer vim on a modern DE on Linux!

5

u/A_Philosophical_Cat Jun 25 '18

Between vim, a fuckton of plugins, and some miscellaneous tools, I have yet to find a benefit to using an IDE except for forcing me to use a mouse.

2

u/npglal Jun 25 '18

Could you recommend some of the plugins you find essential or even share the .vimrc? I've been using vim over ssh on a project I'm working on and I can use it without much trouble and even relatively fast after suffering in the beginning, but I always feel like I must be missing something when I see comments like this.

1

u/pratik_mullick Jun 25 '18

Exactly, once you get to the keyboard-only workflow of vim, the rest of the IDEs feel counter-intuitive!

2

u/flubba86 Jun 25 '18

Nano? Please. Vim over ssh or don't even bother.

14

u/Wilfred-kun Jun 24 '18

Raspbian comes with Minecraft Pi if I am not mistaken. Maybe that'd be fun if "plain" programming bores him ^^

7

u/Mr_Tobes Jun 24 '18

...oh don't think he hasn't noticed! :D He was actually pretty keen on using sonic pi for a bit of a break from things, or to mix things up a bit.

1

u/theroha Jun 25 '18

If he liked Sonic pi, he might enjoy pure data. The documentation is hit or miss, but it's fun if he's into sound manipulation.

10

u/[deleted] Jun 24 '18

I’m also a kid,I’m assuming your nephew is a kid, I love the raspberry Pi’s. I use mine for an emulator, but it is of the best things I’ve ever bought

2

u/[deleted] Jun 25 '18

Can you explain to me what a Raspberry Pi does/is? I never ever understand what I could do with one if I had it. It feels like something I'd like, but... for what?

4

u/Mr_Tobes Jun 25 '18

I'm not going to do it justice - it's a great value, accessible, phenomenally well supported computer designed to get children interested in computers. However it is SO much more...

I wonder what the ratio of children to adult owners is worldwide?! 😁🤘

8

u/neuroneuroInf Jun 25 '18

It is a tiny, full linux computer that costs under 40 dollars. You can use it for absolutely anything!

-1

u/rspeed Jun 25 '18

absolutely anything

Well…

16

u/MEPSY84 Jun 25 '18

They are learning. Do not put walls on their journey. 'Anything' it shall be for now.

1

u/Smallzfry Jun 25 '18

Since a Raspberry Pi has a full OS stack, many people find them easier to use than something like an Arduino. In general they're used for either embedded applications (think homemade IoT) or for learning projects. For example, I have a (really crappy) cluster of a Pi 3 as the head node and 4 Pi Zeroes as the worker nodes.

0

u/flubba86 Jun 25 '18

You mean to say that in 6 years of wondering, you never googled "what is a raspberry pi" or "uses of a raspberry pi"?

8

u/Grorco Jun 24 '18

Which one did he get?

2

u/brownbear404 Jun 25 '18

How old is he?

1

u/Mr_Tobes Jun 25 '18

11

2

u/bhat Jun 25 '18

I nearly got a Rapsberry Pi for my nephew's 12th birthday two weeks ago. You've encouraged me that he should get one for Christmas. :)

1

u/Mr_Tobes Jun 26 '18

Good call :)

1

u/oulipo Jun 25 '18

Really cool! If you want him to play with Voice AI and speech, you can take a look at what we are building at https://snips.ai

2

u/Mr_Tobes Jun 25 '18

...nice! Will be great to show him when he's more comfortable with things, thanks for sharing :)

3

u/[deleted] Jun 25 '18

$ python3 hap.py

:)

2

u/JustSomeFox Jun 25 '18

Oh shit, just saw you post on /r/raspberry_pi

1

u/styx97 Jun 25 '18

You can show him how the risc assembly instructions (arm) are more easy to read than the cisc ones(x86)

1

u/carlosefdeavila Jun 24 '18

Great! Surely your nephew will love the possibilities!

-3

u/[deleted] Jun 25 '18

I recommend PyCharm, Community Version is free for everyone. It's slick and efficient with a beautiful user interface.

2

u/JuniorData Jun 25 '18

For pi?

1

u/Hiimfinest Jun 27 '18

For python

1

u/[deleted] Jul 05 '18

lol I don't get why it got down voted. It's for Python. Also JetBrain is where it's at

-131

u/uFuckingCrumpet Jun 24 '18

Ok. And you're telling us because?

58

u/[deleted] Jun 24 '18

Because this is a forum for discussing Python and Python-related things. This is Python related.

-94

u/uFuckingCrumpet Jun 24 '18

Oh yeah? And what is it we’re discussing? Because I’m not sure what we’re talking about that was motivated by a stranger telling us they or someone they know used Python this one time.

55

u/LNGPRMPT Jun 24 '18

uFuckingCrumpet.exit()

22

u/so_many_wangs Jun 24 '18

damn dude, what's wrong?

-36

u/uFuckingCrumpet Jun 24 '18

I’m fine. Are you ok?

3

u/so_many_wangs Jun 25 '18

Oh I'm fine. Living and loving life.

You on the other hand? I don't know what the fuck happened to you.

-3

u/uFuckingCrumpet Jun 25 '18

« I’m fineĀ Ā» says the guy freaking out over a reddit comment. XD

2

u/so_many_wangs Jun 25 '18

https://www.youtube.com/watch?v=FkMWsO_-X7Y

I'm not freaking out over a reddit comment my dude LOL. Just pointing out how you seem like a miserable, angry person. Take a look at your karma on this post and you'll realize that everyone else agrees. Take the L and deactivate bud, you're just embarrassing yourself at this point.

-1

u/uFuckingCrumpet Jun 25 '18

So unoriginal. Get a new schtick.

3

u/thereisnosub Jun 25 '18

So you're hearing this sentiment a lot?

7

u/pacific_plywood Jun 24 '18

Seems like other people are pulling it off just fine lol

0

u/[deleted] Jun 24 '18

[deleted]

-23

u/uFuckingCrumpet Jun 24 '18

The person literally just told me that this is a sub for discussing python and python related things. So take that up with them.

8

u/curiousGambler Jun 25 '18

Without agreeing with your tone, I do have to admit that posts like this make me regard this sub as a garbage pile compared to other language subs like /r/Java, /r/golang, etc

1

u/IonTichy Jun 25 '18

It's just a dumb little fluffpost. Those tend to appear in every subreddit from time to time, so nothing out of the ordinary on Reddit....

1

u/[deleted] Jun 25 '18

It's great that Python is so accessible, but as a result this sub is kinda a joke.

3

u/curiousGambler Jun 25 '18

No doubt. I wish the mods pushed some of the beginner fluff to /r/learnpython, could go a long way.

-10

u/uFuckingCrumpet Jun 25 '18

I didn't know tone was something you could agree upon. But that said, I feel like there was nothing wrong with my tone. I didn't insult anybody, or tell people that the content was useless. I asked what it is they want us to do with the information. If there's some valid reason that this content should be viewed as good and interesting then they can explain it. And if not, maybe they'll realize that it's not good or useful. But how else would you recommend getting that across without just explicitly telling people their content is pointless?

12

u/curiousGambler Jun 25 '18

I hesitate to continue this conversation but since you’ve decided to double down on your shitty tone, here goes:

The sarcasm isn’t nearly as interesting as you seem to think it is. And to sit here and act like you aren’t being sarcastic, and pretend like you don’t know why you’re being down voted to hell, jeez you sound like a child bugging their sibling with the old ā€œI’m not touching youā€ trick. ā€œI didn’t insult anybody,ā€ my ass.

I have hope you’re just a kid with lots to learn, which is fine, we were all smart asses once. If you’re an adult, oof.

-2

u/uFuckingCrumpet Jun 25 '18

I was being sarcastic, but that's irrelevant. The point is that if it was defensible, then it could be defended. But it isn't, which is why nobody can/chooses to explain why the content is good.

Whether or not I genuinely want someone to explain it to me or not is completely irrelevant. Because the issue is whether it can actually be explained why the content is good or not.

It's genuinely fascinating how people view the world. According to you (and people who think like you), whether or not something is true or not somehow is intricately tied to the way in which someone asks questions about it.

3

u/curiousGambler Jun 25 '18

Nope. I downvoted the post because I agree it wasn’t relevant to the subreddit. I just didn’t feel the need to be a sarcastic ass about that fact. You’re putting words into my mouth to defend yourself; if you were after truth like you claim, you’d admit to being a bit of an ass about this and move on, as I’m about to.

-3

u/uFuckingCrumpet Jun 25 '18

That's fine. Nobody asked you to be a sarcastic ass. I'm not even sure why you're bringing that up.

4

u/[deleted] Jun 25 '18

I'm gonna downvote all your shitty comments

-3

u/uFuckingCrumpet Jun 25 '18

Oh no! What will I do without my precious comment karma? XD

1

u/[deleted] Jun 25 '18

Cry in a corner like a biatchhhh

0

u/[deleted] Jun 25 '18

[deleted]

2

u/Mr_Tobes Jun 25 '18

All help gratefully received - I know exceptionally little, though I'm learning python too, to be able to bounce ideas around with him

2

u/rspeed Jun 25 '18

I swear Arm CPUs are going to take over the world in the near future. Windows has been running on it for ages, and Apple is even starting to put them in Macs (though not as the primary CPU).

3

u/flubba86 Jun 25 '18

Absolutely. Look at the capabilities and the power of the Snapdragon 850 and also the Snapdragon 1000 that had some info leaked yesterday.

0

u/[deleted] Jun 25 '18

[deleted]

1

u/Mr_Tobes Jun 25 '18

...ha! I've had a 2b for 3 years, though as a server not for fun :)

2

u/flubba86 Jun 25 '18

What is it serving? Is it attached to a big usb hard drive?

1

u/Mr_Tobes Jun 25 '18

I have a 1tb attached, with Sickrage and SAB