Go to advanced search

by stderr
Wed Nov 11, 2015 12:47 am
Forum: Python
Topic: Modular Coding Practice
Replies: 5
Views: 910

Re: Modular Coding Practice

elParaguayo wrote:I'm almost dreading posting this and then waiting for the inevitable "oh, there's a much easier way of doing that..."
Relax, I'm sure that won't happen.
by stderr
Tue Nov 10, 2015 10:17 pm
Forum: Raspberry Pi OS
Topic: Possible hacking?
Replies: 12
Views: 1889

Re: Possible hacking?

The user wanting to put their RPi on the public internet should completely remove (or at least completely knacker by removing privileges) the default pi userid. The security is in having a secret password (or preferably SSH keys), rather than a secret username. Security occurs properly in layers. I...
by stderr
Tue Nov 10, 2015 1:49 am
Forum: Beginners
Topic: Just getting started. B 2 model to use for music streaming
Replies: 18
Views: 2077

Re: Just getting started. B 2 model to use for music streami

[quote="kennyt777"][/quote] If you connect a passive converter from hdmi to the digital in of some monitors, it might not work. I know I couldn't get one of two monitors to work in that way when I tried it back when the original pi first came out. If you run a program on another box like fping or fi...
by stderr
Mon Nov 09, 2015 6:34 pm
Forum: Python
Topic: Remotely triggering .wav sounds from another networked Pi
Replies: 6
Views: 1728

Re: Remotely triggering .wav sounds from another networked P

What is the best way to trigger the playback of .wav sounds via gamepad button presses on a 2 seperate Pi's? omxplayer will run from a ssh and make sound on the machine you are ssh into. Other software will do this too but omxplayer is lightweight on the pi. So all you need to do is open up a ssh a...
by stderr
Mon Nov 09, 2015 6:20 pm
Forum: Beginners
Topic: Access raspberry files from lan without Samba
Replies: 5
Views: 1112

Re: Access raspberry files from lan without Samba

yes scp is the only option right now at university to get a file to the pi but not very convenient. I have to switch to terminal everytime I want to save my code.py file. Takes so much time and you refresh your code every few seconds in the development process. I want a solution were the "upload an...
by stderr
Mon Nov 09, 2015 5:41 am
Forum: Python
Topic: Transfer .txt between two RPi (no internet,no pc)
Replies: 25
Views: 4572

Re: Transfer .txt between two RPi (no internet,no pc)

Ya the command still asking for password when i do it through python script :( is there a way that i enter the password through the script when it asks for? You can use the ssh-copy-id program at the command line to allow passwordless access to an account that you would give the minimum of power to...
by stderr
Mon Nov 09, 2015 4:58 am
Forum: Other projects
Topic: Uploading Pictures to Google Photos
Replies: 17
Views: 15887

Re: Uploading Pictures to Google Photos

They throw an error 401 or 403 with the message of "Authentication required" or something. I think it has something to do with OAuth2 or something related that is giving me this grief. I haven't used this library but obviously you need to authenticate to upload and if this part of google is like th...
by stderr
Mon Nov 09, 2015 4:53 am
Forum: Beginners
Topic: Access raspberry files from lan without Samba
Replies: 5
Views: 1112

Re: Access raspberry files from lan without Samba

. vnc works but I really need something where I can modify python files with Sublime Text Editor live Thanks Why do you have to do that? Your text editor is onthe Mac, it can save the file on the Mac and then you can automatically copy it o the pi with sftp or scp or email, whatever. On the pi, you...
by stderr
Mon Nov 09, 2015 4:48 am
Forum: Gaming
Topic: Rasberry Pi Portable
Replies: 2
Views: 867

Re: Rasberry Pi Portable

Hello i am making a raspberry pi portable emulation counsel and i had a few problems. the screen im going to use requires 12 volts so with the raspberry pi needing 5 volts do i need a 17v battery or just a 12v. Back in the days of tubes, they would often run the heaters in series so that the voltag...
by stderr
Mon Nov 09, 2015 4:43 am
Forum: Beginners
Topic: please help explain this command
Replies: 4
Views: 875

Re: please help explain this command

fandiaye wrote:sudo rm -rf ~/.cache/pip

what does this command do? I'm in the process of installing OpenCV and nothing happens when i type this in.
Just because nothing is echoed back does not mean that nothing is happening.
by stderr
Sun Nov 08, 2015 7:32 pm
Forum: Other programming languages
Topic: New release of 8th: a secure, cross-platform prog language
Replies: 1
Views: 565

Re: New release of 8th: a secure, cross-platform prog langua

If you've not yet hear of 8th: it's a secure, cross-platform programming language which is a derivative of Forth. Did they have Fifth through Seventh and then get it right on 8th? I think I've heard of Fifth, actually. A bit like WD40, Formula 401 and VO5. Reminds me of the joke about systemd that ...
by stderr
Sun Nov 08, 2015 7:24 pm
Forum: Windows 10 for IoT
Topic: Run OS from USB drive
Replies: 14
Views: 2375

Re: Run OS from USB drive

Where would I see that when I'm looking at New Messages? I see the section by going to the bottom of the thread and it says jump to.... I now see a Return to and the name of the forum. But that doesn't tell me what it is in the new messages list and it requires me to go to the bottom of the thread ...
by stderr
Sun Nov 08, 2015 4:55 pm
Forum: Windows 10 for IoT
Topic: Run OS from USB drive
Replies: 14
Views: 2375

Re: Run OS from USB drive

I don't have Windows 10, why a similar mechanism as can be used under Linux couldn't also be used in this case. Can the pi Win code boot off a network? You seem to be under a mis-aprehension, IT IS NOT Windows 10 Desktop and is not aimed at 'everyday' users.......... I'm not sure what you think I'm...
by stderr
Sun Nov 08, 2015 4:25 pm
Forum: General discussion
Topic: apt-get install sqlite3 problem
Replies: 11
Views: 11036

Re: apt-get install sqlite3 problem

If you say that you should explain how your system is different to the OP's system so he/she can make the changes needed to fix his. Just saying "I've got one here that works." is useless. I don't have access to his system. He said, "Could you try it?" I tried it and it installed as far as I could ...
by stderr
Sun Nov 08, 2015 3:57 pm
Forum: Windows 10 for IoT
Topic: Run OS from USB drive
Replies: 14
Views: 2375

Re: Run OS from USB drive

I don't have Windows 10 IoT so I don't know if you can hack some way to run bits of it from different drives. Surely there must be a way though. It is all rather non trivial in fact. Remarkably, though, under Linux, changing where the files are can just mean mounting directories that happen to exis...
by stderr
Sun Nov 08, 2015 6:05 am
Forum: Windows 10 for IoT
Topic: Run OS from USB drive
Replies: 14
Views: 2375

Re: Run OS from USB drive

I would like to be able to boot from the SD card, but have the operating system on the D: drive. It should be simple, I think. I'm not sure what a D: drive is, but you can mount various directories remotely even through sshfs. Notice the Win10 IoT section of the forum. Where would I see that when I...
by stderr
Sat Nov 07, 2015 11:47 pm
Forum: C/C++
Topic: how to AND a variable by bit coded values (e.g. B00001100) ?
Replies: 19
Views: 4187

Re: how to AND a variable by bit coded values (e.g. B0000110

didn't ask for that - about theoretical compatibilities or portabilities which do not affect me. I just wanted to make my Arduino code work by B00001100 or sth quite similar. So you don't care about "compatibilities" or "portabilities" but you just want your code on one system, the Arduino, to work...
by stderr
Sat Nov 07, 2015 10:33 pm
Forum: Windows 10 for IoT
Topic: Run OS from USB drive
Replies: 14
Views: 2375

Re: Run OS from USB drive

festrada007 wrote:I would like to be able to boot from the SD card, but have the operating system on the D: drive. It should be simple, I think.
I'm not sure what a D: drive is, but you can mount various directories remotely even through sshfs.
by stderr
Sat Nov 07, 2015 10:06 pm
Forum: General discussion
Topic: apt-get install sqlite3 problem
Replies: 11
Views: 11036

Re: apt-get install sqlite3 problem

piktostest wrote:Please tell me, have you got the same problem as me , during installation SQLite ? Could You try it ?
Installed without complaint on Wheezy original RPi for me.
by stderr
Sat Nov 07, 2015 10:02 pm
Forum: Beginners
Topic: Static IP Address on Raspbian Jessie [SOLVED]
Replies: 47
Views: 214850

Re: Static IP Address on Raspbian Jessie

disorientedp wrote:Okay, I got it to work. Thanks for the help; I'm a bit slow at times. Now I won't have to bother with memorizing an IP address that changes every few days...
Usually you'd put that in your hosts file so that the name could then be used in most situations.
by stderr
Sat Nov 07, 2015 9:56 pm
Forum: Beginners
Topic: reading file from rpi1 with rpi2
Replies: 21
Views: 3283

Re: reading file from rpi1 with rpi2

As I understand it; both the official screen and HDMI are available and accessible at the same time but you will need to code your software to access both, one of those presumable through a frame buffer. Advantage can be gained, I think by simply creating your output on the one device, perhaps in a...
by stderr
Sat Nov 07, 2015 9:51 pm
Forum: Beginners
Topic: reading file from rpi1 with rpi2
Replies: 21
Views: 3283

Re: reading file from rpi1 with rpi2

I've attached some of the code I used to test my theory *it seems you can't attach .py code... so its below*. I think you are supposed to enclose code in a code block to avoid everything being left justified. I did, however, copy the Python code to a file and work through what I thought the formatt...
by stderr
Sat Nov 07, 2015 5:42 am
Forum: Troubleshooting
Topic: Clozure 1.10
Replies: 16
Views: 2492

Re: Clozure 1.10

Were you able to set it to "hard float" per this: "It's also possible to specify which ABI you want to use by editing the float_abi.mk file in the lisp-kernel/linuxarm directory and then re-running the commands above."? I went in there and the default seems to be blank and chosen elsewhere. I chose...
by stderr
Sat Nov 07, 2015 1:55 am
Forum: Beginners
Topic: can't find module cv2
Replies: 1
Views: 691

Re: can't find module cv2

cv2 so I'm confused and stuck. Also, I have seen online that cv2.so is supposed to be in my site packages but it's in my dist. packages, and I get a permission denied when I try to copy cv2.so in site packages. Don't you have to install opencv itself, the C++ libraries and whatnots, before you can ...
by stderr
Fri Nov 06, 2015 10:27 pm
Forum: For sale
Topic: The Joey is funded!
Replies: 4
Views: 1523

Re: The Joey is funded!

Hi teacher, yes, I built this clock. What do you mean it doesn't look like a clock? Yes, it's a clock. The FBI is on their way? Will Obama later invite me to the White House to try to smooth things over? ? I thought that the Ahmed Mohamed Story, where he build a clock and took it to school and the ...

Go to advanced search