Go to advanced search

by ShiftPlusOne
Sun Dec 30, 2012 4:15 am
Forum: C/C++
Topic: Game programming
Replies: 8
Views: 1612

Re: Game programming

I think SDL is an excellent start. Make a game of pong or snake or something of the sort to get a feel for SDL and go from there.

There is a good series of tutorials here:
http://www.sdltutorials.com/sdl-tutorial-basics
by ShiftPlusOne
Sun Dec 30, 2012 2:17 am
Forum: Beginners
Topic: Is it possible to switch to a different OS?
Replies: 4
Views: 530

Re: Is it possible to switch to a different OS?

Yup, as many times as you want (within the lifespan of the sd card). Also, I assume you're not talking about flashing the image directly from the pi onto the card it's currently running off (you can't do that).
by ShiftPlusOne
Sat Dec 29, 2012 5:23 am
Forum: General discussion
Topic: Newbie to RPi
Replies: 4
Views: 599

Re: Newbie to RPi

Locking the topic
Continue the discussion here http://www.raspberrypi.org/phpBB3/viewt ... 69#p242669
by ShiftPlusOne
Sat Dec 29, 2012 4:48 am
Forum: Other projects
Topic: Software copy protection methods
Replies: 18
Views: 17566

Re: Software copy protection methods

Andrei, as you probably know, anytime you have an 'if' in your program, there is a comparison being made. Finding that 'if' in disassembled code can be trivial. So if you have some complicated algorithm to generate a key, send it to a server, get an answer, compare and then an 'if', it's easy to fin...
by ShiftPlusOne
Fri Dec 28, 2012 12:59 pm
Forum: Other projects
Topic: Software copy protection methods
Replies: 18
Views: 17566

Re: Software copy protection methods

There is no point going beyond a simple serial/key. You can also read the pi's serial number an generate a key based on that, but be prepared for paying customers complain when they buy a new pi and the software their paid for doesn't work. Unless you want to invest silly amounts of money and inconv...
by ShiftPlusOne
Fri Dec 28, 2012 6:24 am
Forum: Beginners
Topic: "Beginners" put off...
Replies: 297
Views: 30414

Re: "Beginners" put off...

I am a bit confused by the notion that there needs to be a special raspberry pi language. The last thing we need is yet another language. You have a choice of all of the popular mainstream languages, you have many flavours of BASIC and then you have things like scratch. Pascal is another great optio...
by ShiftPlusOne
Wed Dec 26, 2012 5:10 pm
Forum: Python
Topic: Addressing an open program
Replies: 1
Views: 505

Re: Addressing an open program

I didn't have an answer for the question, but I found something that might be handy.

There's a program called xdotool which can activate windows as well as send key and mouse events. It can come in handy for when you need to automatically interact with the GUI.
by ShiftPlusOne
Wed Dec 26, 2012 6:23 am
Forum: General discussion
Topic: how do i turn off "sudo" ?
Replies: 7
Views: 3397

Re: how do i turn off "sudo" ?

Another answer might be that if it were safe for you to do so, you wouldn't need to ask how it's done. Because 1) you'd know how, and 2) you wouldn't want to I know ahead of time that I'm encouraging flame attacks for saying this, but I think the "danger" of logging in as "root" are highly exagerat...
by ShiftPlusOne
Wed Dec 26, 2012 4:44 am
Forum: General discussion
Topic: New to Hardware - What Tools do I Need/Want?
Replies: 15
Views: 3159

Re: New to Hardware - What Tools do I Need/Want?

I think for hardware, an arduino is the better choice for beginners. That's not to say you can't start with the raspberry pi. Get a breadboard, decide what you want to do and start reading tutorials and datasheets. Browse websites like hackaday.com for ideas and inspiration. Learn basic theory like ...
by ShiftPlusOne
Wed Dec 26, 2012 4:27 am
Forum: General discussion
Topic: how do i turn off "sudo" ?
Replies: 7
Views: 3397

Re: how do i turn off "sudo" ?

Another answer might be that if it were safe for you to do so, you wouldn't need to ask how it's done. Because 1) you'd know how, and 2) you wouldn't want to
by ShiftPlusOne
Wed Dec 26, 2012 4:11 am
Forum: General discussion
Topic: how do i turn off "sudo" ?
Replies: 7
Views: 3397

Re: how do i turn off "sudo" ?

type sudo passwd root, follow the prompts to set a root password. Next time you're at the login screen, log in as user 'root' with the password you just set.

Keep in mind that being logged in as root when you don't have to be is a very bad idea.
by ShiftPlusOne
Wed Dec 26, 2012 3:58 am
Forum: Media centres
Topic: How installing openelec on HD
Replies: 2
Views: 913

Re: How installing openelec on HD

Hello, For a distro like openelec, you won't see any speed up by running from a hard drive. However, you can still plug your hard drive in (assuming it doesn't use up too much power), and use it as storage. If you insist, you can download the openelec source and modify the init script to load the im...
by ShiftPlusOne
Wed Dec 26, 2012 3:49 am
Forum: Beginners
Topic: return to setup/config screen
Replies: 1
Views: 1806

Re: return to setup/config screen

Log in as the default user (pi), then run 'sudo raspi-config'.

Good luck
by ShiftPlusOne
Tue Dec 25, 2012 2:43 pm
Forum: General programming discussion
Topic: Help with linux software problem
Replies: 4
Views: 727

Re: Help with linux software problem

Nice!

Also, instead of trying to use audacity on the pi, it might make more sense to use sox to merge the files.
http://sox.sourceforge.net/sox.html

It's a pretty powerful command line tool which is perfect for the sort of thing you're doing.
by ShiftPlusOne
Tue Dec 25, 2012 2:15 pm
Forum: Beginners
Topic: "Beginners" put off...
Replies: 297
Views: 30414

Re: "Beginners" put off...

I see a lot of posts about "catering to beginners" and "working right out of the box" which is all well and good but where is the learning. If you are using this for pretty much anything other than productivity then why would you want to remove some of the most fundamental learning experience of ju...
by ShiftPlusOne
Tue Dec 25, 2012 1:52 pm
Forum: General programming discussion
Topic: Help with linux software problem
Replies: 4
Views: 727

Re: Help with linux software problem

I don't know much about radio, so take whatever I say with a pound of salt. There is no practical way to do things the way you want to, however I believe gnuradio can do whatever simjt can. However, from what I can tell gnuradio is a complicated peice of software which requires that you know a fair ...
by ShiftPlusOne
Tue Dec 25, 2012 1:25 pm
Forum: Beginners
Topic: Programming Problems
Replies: 2
Views: 418

Re: Programming Problems

Moved topic to the relevant section.

I'd second what aTao said as well.
by ShiftPlusOne
Tue Dec 25, 2012 2:09 am
Forum: Beginners
Topic: OpenELEC, XBMC - Cannot get wifi working.
Replies: 25
Views: 55599

Re: OpenELEC, XBMC - Cannot get wifi working.

I've changed the title so that hopefully it will catch the eye of someone who knows the answer. Vague titles are easy to skim over. Keep in mind that openelec is also linux, just packaged and presented differently. If you would like a distro that is based on Raspbian, but has xbmc available, you can...
by ShiftPlusOne
Mon Dec 24, 2012 4:25 pm
Forum: Beginners
Topic: StartX won't run under sudo
Replies: 7
Views: 5787

Re: StartX won't run under sudo

Moved from 'Forum glitches'.

Starting X as root is a Bad Idea™. If you must use a file manager as root, run X normally, open up a terminal window and run the file manager as root.
by ShiftPlusOne
Mon Dec 24, 2012 4:04 pm
Forum: Off topic discussion
Topic: Good windows SFTP backup
Replies: 6
Views: 2025

Re: Good windows SFTP backup

I like Areca Backup ( http://www.areca-backup.org/ ) since it has a very straightforward interface and can do incremental/delta backups and can be easily scheduled to run automatically.
by ShiftPlusOne
Mon Dec 24, 2012 2:46 pm
Forum: General discussion
Topic: will the RPI run windows 3.0(1990)?
Replies: 12
Views: 2704

Re: will the RPI run windows 3.0(1990)?

Joe Schmoe wrote:Every version of Windows is a "front end for DOS".
What do you mean? I am pretty sure that this hasn't been the case since windows 98.
by ShiftPlusOne
Sun Dec 23, 2012 1:22 pm
Forum: General discussion
Topic: [firmware] MJPEG decoding support
Replies: 4
Views: 2386

Re: [firmware] MJPEG decoding support

+1 http://www.raspberrypi.org/archives/592 Dom adds: As an aside, the GPU can hardware decode H264, MPEG1/2/4, VC1, AVS, MJPG at 1080p30. It can software (but still vector accelerated) decode VP6, VP7, VP8, RV, Theora, WMV9 at DVD resolutions. We are restricted due to licensing what we can support. ...
by ShiftPlusOne
Sun Dec 23, 2012 9:22 am
Forum: General discussion
Topic: Pi for my motorcycle
Replies: 6
Views: 8650

Re: Pi for my motorcycle

I would create a small initramfs image and run everything from ram, but I think another option is connecting directly to the battery (through your usb supply), so that the power doesn't cut off. Then maybe use gpio to detect when the power goes off and shutdown properly.
by ShiftPlusOne
Sun Dec 23, 2012 5:41 am
Forum: General discussion
Topic: Pi for my motorcycle
Replies: 6
Views: 8650

Re: Pi for my motorcycle

I am just saying that having a hub is a good way to make sure that you get enough current without having to modify existing hardware. I think you're referring to this page: http://elinux.org/RPi_VerifiedPeripherals If android does get released for raspberry pi, I am not sure that it will help you mu...
by ShiftPlusOne
Sun Dec 23, 2012 3:46 am
Forum: General discussion
Topic: Pi for my motorcycle
Replies: 6
Views: 8650

Re: Pi for my motorcycle

I hope to be able to create an onboard computer for my bike right down the center surface of my gas tank. I plan on purchasing add on boards designed to connect to Pi that include wifi, gps, etc. Are drivers going to be hard to find? I also plan on putting a reasonably priced touchscreen on it, and...

Go to advanced search