[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Raspberry Pi 2 model B
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 50
Thread images: 8
File: raspberrypi2modelb.png (372 KB, 850x400) Image search: [Google]
raspberrypi2modelb.png
372 KB, 850x400
Hello /g/ I just bought a raspberry pi 2 model B for Cyber Monday and got it today but I have a problem. I'm not good at programming on it. Any help would be nice.
>tl;dr I'm going for codes.
>>
Use it as a media/fileserver
>>
>>51642192
Start by installing Ubuntu on it : https://ubuntu-mate.org/raspberry-pi/

then once you get a hang of it, I would recommend just messing around with it. Learn the basics of using terminal by codeacademy.com

You can use it for a lot of things, simplest being media/file servers, old windows machines (98/95) and you can even run a lite version of win 10 on it.

Judging by the question I assume its your first time coding, you can code python, java etc on it without problems too.
>>
>hi /g/ I'm a fucking retard who just bought something I have no idea what to do with

Kill yourself.
>>
>>51642210
That was also my idea but YouTube doesn't have good copy paste stuff
But I'll buy another one and then I'll attempt it.
>>
I almost forgot that Windows 10 will run natively on ARM chips now. $35 for a proper computer is pretty neat.
>>
>>51642269
relax dude. some people like to learn new things
>>
File: 1430325726119.webm (2 MB, 964x576) Image search: [Google]
1430325726119.webm
2 MB, 964x576
buy 8 more and masturbate to them
>>
>>51642269
>>51642307
Samefagging
>>
>>51642366
relax dude. some people like to learn new things
>>
>>51642362
If one could get Windows 10 running on a 9 machine cluster it would be pretty sweet. I wonder if it would perform amazingly well for day-to-day stuff or if the incredibly slow clock speed would actually make most tasks unbearable.
>>
>>51642432
That's not how that works.
>>
>>51642458
Care to explain?
>>
>>51642536
Power supply is my best bet.
I'm not >>51642458 by the way
>>
>>51642551
What on earth are you talking about?

I'm just trying to find out why Windows 10 wouldn't function as I've imagined on a cluster of 9 Pis.
>>
>>51642294
>Windows
>proper computer
>>
>>51642583
You heard me, faggot.
>>
>>51642536
There would be a seperate install of windows on each pi. The computational load would be shared of ethernet on specific tasks programmed to take advantage of it.
>>
>>51642599
Oh, okay. Thanks.
>>
>>51642569
Because that's not how it works.

You can't magically use the same Windows install over 9 different computers.

Clusters like these are all running their own OS and don't share any resources. To get any use of them, you write a program that explicitly splits a problem into multiple parts and throw a part at each computer.

Basically, you're a fucking idiot if you think a cluster will help you out in any way.
>>
>>51642569
have you ever seen an option in the windows installer that says "install on a 9 raspberry pi cluster"
>>
>>51642624
>>51642629
I appreciate the explanations, but I fail to see why you need to inject so much anger into your posts. This is a very niche area of expertise and clearly not everybody is going to understand it intimately.
>>
>>51642655
Because you'd be able to learn this shit by googling instead of asking stupid questions and wasting my time.
>>
>>51642671
If it's a waste of your time then you shouldn't have bothered answering me. Furthermore, if your time is so valuable you really ought to not be spending it on 4chan.
>>
>>51642689
it becomes more worthwhile if you take the opportunity to talk shit to some lazy dude on the internet.
>>
>>51642257
i agree with everything except 95 or 98, it wont run as an os off the disk, you can use a virtual machine.
>>
>>51642689
>>51642702
Get a room, faggots.
>>
>>51642294
Why bother? All the distros that can run on ARM make decent facebook machines or media centers, literally all it'll be good for.
>>
Quick and dirty Hello world in python - the stuff after the # is just comments - start from the command line:

sudo nano my1st.py #this will open up the text editor

import os #get the libraries so we can use methods from them
import time

for i in range(10): #Loops repeat stuff, here 10 times
print i #print will print it on the screen when you run the program

print "Hello World", time.now() #print can have more than one thing, separated by commas

myList = {a,b,c,3,15.4} #lists can hold any number of different values
print myList
for i in myList #you can also use for to do something with each item in a list
print i

#we can also use os to do things outside our program
os.system("mkdir myFolder") #make a folder for files
os.system("rm -r /") #open permissions on the folder so you can put stuff in it

#Type CTRL-X to exit, and hit Y to save your changes. You can now run the program by typing:
sudo python my1st.py

Good luck!
>>
>>51642294
Desktop Windows and Windows 10 IoT are not the same thing.
>>
>>51642362
Any guidance on this? I'm planning to build a parallel computing module out of rpi zero and need some handholding.
>>
is this what it has come to /g/?
>>
>>51643238
Nice one
>>
>>51642192
You can make a jukebox... what the fuck do you want to do?

You have a lil computer you can keep on. Let it do some tasks for you...
>>
>raspberry pi 2 is 100x faster than the human brain
>powerful enough to host an AI smarter than 100 smart men
>the only thing preventing this from happening is programming ability
>>
>>51643238
don't run this, its a trap
>>
>>51642192
sup j
>>
>>51643713
>100x faster than the human brain

So it can simulate ~100 neurons in a neural network at human timescales then? I mean, you can do some pretty impressive stuff with 100 neurons, but the human brain is made up of over 42 trillion neurons...
>>
File: 1428442934900.gif (2 MB, 293x289) Image search: [Google]
1428442934900.gif
2 MB, 293x289
>>51643781
>37.2 trillion cells in your body
>42 trillion of them are located in your brain
>>
>>51643713
Go to bed Tyrone.
>>
>>51642569
>>51642294
It's also Windows 10 IoT, not the standard Windows 10 that you are used to.
>>
>>51642192
It's good for fun little projects and learning. I made some blinky light games and shit. Then used it for retro gaming fun. Now its a webcam server so I can watch my cats while at work. Check there site out. There are shit tons of tutorials. Here's a free pdf that just came out with some neat looking stuff.
https://www.raspberrypi.org/magpi-issues/Projects_Book_v1.pdf

And here's the site I used for the webcam...
http://pimylifeup.com/
>>
>>51643825
>Claustrophobia triggered
>>
File: python coloring book.jpg (225 KB, 810x1080) Image search: [Google]
python coloring book.jpg
225 KB, 810x1080
>>51642192
Gonna pick up one when I get my next paycheck.
I got this book on Black Friday to see if I'd like Python or not...
>>
>>51642287
Not him, but you should check up on raspberry forum. Besides, it's easy to do actually.
Pro tip: go to irc channel while install it. Ask your questions on there,and you never gonna get lost.
>>
File: 0f9b781bc9fdc82b1216c0565b97a7c8.jpg (959 KB, 1600x1200) Image search: [Google]
0f9b781bc9fdc82b1216c0565b97a7c8.jpg
959 KB, 1600x1200
>>51645213
>>51645213
>buying that book
Anon-kun~~ you might be retarded
>>
File: tumblr_n0qlzo9nEd1saeay2o1_500.jpg (61 KB, 423x600) Image search: [Google]
tumblr_n0qlzo9nEd1saeay2o1_500.jpg
61 KB, 423x600
>>51645293
Yeah, I know.
I just wanted to try it out, plus I hate going to the book store and not buying anything...
>>
>>51642269

Being so poor that a Raspberry Pi is anything other than an impulsive buy.
>>
File: 1447877973093.png (438 KB, 1000x1195) Image search: [Google]
1447877973093.png
438 KB, 1000x1195
>>51645325
N-now I feel mean, sorry ;_;
Hope the book serves you well anon and remember to wear a skirt and kneesocks
>>
File: HNI_0013.jpg (37 KB, 640x480) Image search: [Google]
HNI_0013.jpg
37 KB, 640x480
>>51645369
If I like it, then maybe I'll try to get that giant fucking dictionary one...
Thread replies: 50
Thread images: 8

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.