Go to advanced search

by tpylkko
Fri Sep 16, 2016 7:40 am
Forum: General discussion
Topic: Docker Swarms on Pi
Replies: 5
Views: 1114

Re: Docker Swarms on Pi

However, it was just recently posted on the blog that Docker has "officially included Raspbian Jessie installation support". https://www.raspberrypi.org/blog/page/2/?fish#docker-comes-to-raspberry-pi Apparently, and according to the blog, this means curl -sSL https://get.docker.com | sh It's worth l...
by tpylkko
Mon Aug 08, 2016 2:33 pm
Forum: General discussion
Topic: STICKY: USB boot now working on Pi3
Replies: 545
Views: 332281

Re: USB boot now working on Pi3

so... what are the benefits of a full USB boot? I was thinking speed, but not looking that way... Steve in addition to other the possible benefits already mentioned (reliabilty, costs etc.), one could add that the sd-card slot would then be free for other uses. not everyone is going to have use for...
by tpylkko
Thu Aug 04, 2016 6:33 am
Forum: Raspberry Pi OS
Topic: Musicbox on raspbian
Replies: 4
Views: 3815

Re: Musicbox on raspbian

That script never really worked fully automatically, but was more intended as a guide for people that wanted to construct PMB manually on older versions of Raspbian. There is a ready-to-go image that you can just write to a card on the home page of PMB. However, it is antiquated, the image is built ...
by tpylkko
Fri Jul 29, 2016 9:19 am
Forum: Troubleshooting
Topic: Cron not working for Python Script
Replies: 4
Views: 1422

Re: Cron not working for Python Script

You could also use a timer (systemd) since cron might be deprecated on the next Raspbian (stretch).
by tpylkko
Sun Jul 24, 2016 4:20 pm
Forum: Troubleshooting
Topic: Shell corrupted - virus or SD failure?
Replies: 14
Views: 2296

Re: Shell corrupted - virus or SD failure?

The cards could be coerupted over and over again by faulty ram or by bad writes due to bad power or overclocking and such. If the sd drive is the problem, you could try moving everything possible off the card to a usb drive
by tpylkko
Sun Jul 24, 2016 11:58 am
Forum: Troubleshooting
Topic: Shell corrupted - virus or SD failure?
Replies: 14
Views: 2296

Re: Shell corrupted - virus or SD failure?

I don't know if you realize, but corrupted data does not need to mean that the hardware is bad. It certainly can be because the sd-card is broken, but can also be that there is nothing wrong with the card and that re-imaging it or fixing the corrupted data could suffice.
by tpylkko
Tue Jul 05, 2016 6:55 pm
Forum: Automation, sensing and robotics
Topic: Running a python program at powerup
Replies: 20
Views: 4387

Re: Running a python program at powerup

Your script may be trying to do something that cannot be done in early boot, in which case rc.local is not good. With systemd service files you could have more control over when and with what permissions the script runs. But maybe you are on an OS that does not have systemd? http://www.raspberrypi-s...
by tpylkko
Wed Jun 22, 2016 11:06 am
Forum: Beginners
Topic: Arduino GPIO equivalent on RPi
Replies: 14
Views: 3426

Re: Arduino GPIO equivalent on RPi

Which pi model is this? Also, you could just get an arduino and connect it to the pi and then the sensors to the arduino.
by tpylkko
Mon Jun 20, 2016 7:56 pm
Forum: Español
Topic: [Solucionado] Problema "extraño" Multiboot Pi3.
Replies: 11
Views: 7226

Re: Problema "extraño" Multiboot Pi3.

Es importante entender que el problema no es el amperaje, sino que el voltage. Existe cargadores de alta amperaje que not pueden mantener un voltage constante.
by tpylkko
Sat Jun 18, 2016 6:19 pm
Forum: Español
Topic: [Solucionado] Problema "extraño" Multiboot Pi3.
Replies: 11
Views: 7226

Re: Problema "extraño" Multiboot Pi3.

En primer lugar, perdona mi español, no soy un nativo. El "cuadrado de colores" significa que el voltaje es demasiado baja. Probablemente, esto se debe a que está utilizando un cargador. Los cargadores están diseñados ( desgined ? construyidos con la intención de) para cargar las baterías y por lo t...
by tpylkko
Tue Jun 07, 2016 7:24 am
Forum: For sale
Topic: Is pre-kickcstarter direct solicit appropriate here?
Replies: 46
Views: 9764

Re: Is pre-kickcstarter direct solicit appropriate here?

I want to just quickly say something here. I realize that wireless audio systems sold by companies like Sony are expensive. Clearly making something like you suggest would be possible and work. The only problem I see... is that already right now anyone can make such a system, and many have. There ar...
by tpylkko
Mon Jun 06, 2016 9:01 pm
Forum: General discussion
Topic: miniDLNA on Jessie
Replies: 4
Views: 2192

Re: miniDLNA on Jessie

this is probably a "daemon" or a background service that is started by systemd. you can either have the service depend on another late starting service or use a timer and have it start at some seconds after boot, for example. more in "man systemd.timer" -> OnBootSec= / OnStartupSec= see this thread ...
by tpylkko
Mon Jun 06, 2016 9:40 am
Forum: Off topic discussion
Topic: When did it become the social norm to give out you wifi pwd
Replies: 12
Views: 3784

Re: When did it become the social norm to give out you wifi

I have never heard of anyone having this problem, and maybe it is because over here it is common for everyone to have a limitless mobile plan (4G) of their own. To me it seems that young people don't even know what wifi is anymore...
by tpylkko
Thu Apr 28, 2016 3:03 pm
Forum: General discussion
Topic: determine if house occupied by pinging a smartphone?
Replies: 11
Views: 3184

Re: determine if house occupied by pinging a smartphone?

Many routers have a web page interface that can list all currently connected devices, but possibly also a connections log of previous connections. Therefore, you could possibly have a raspberry on that lan that runs a script that scrapes that page and then emails that data to you. If the router runs...
by tpylkko
Wed Apr 27, 2016 8:56 pm
Forum: Python
Topic: Python GPIO and Tkinter
Replies: 3
Views: 3721

Re: Python GPIO and Tkinter

Use the simpler GPIO zero library and look at this example: from gpiozero import LED, Button from signal import pause led = LED(17) button = Button(3) button.when_pressed = led.on button.when_released = led.off pause() Only make button.when_pressed display the home page? So, do you want the hompeage...
by tpylkko
Wed Apr 27, 2016 7:45 pm
Forum: Python
Topic: LED blinking
Replies: 13
Views: 2202

Re: LED blinking

You might want to use the gpio zero library instead.

https://gpiozero.readthedocs.org/en/v1.2.0/

An example of blinking leds:

https://www.raspberrypi.org/learning/ph ... worksheet/
by tpylkko
Tue Apr 26, 2016 7:38 pm
Forum: General discussion
Topic: Ways to reduce power usage?
Replies: 20
Views: 5866

Re: Ways to reduce power usage?

you could also use avr microcontrollers that can be ran on batteries like CR2032. http://www.robotroom.com/Weather-Station.html then only send the data at rare intervals to the pi and have it serve the data and run the server, as mentioned earlier. These are really cheap, often costing less than a d...
by tpylkko
Mon Apr 25, 2016 8:01 pm
Forum: General discussion
Topic: cheap mouse that actually works off the bat
Replies: 5
Views: 1436

Re: cheap mouse that actually works off the bat

I have microsoft basic optical mouse v2, which is really simple but it has worked on RPi models A+. B+ 2 and 3.
by tpylkko
Mon Apr 25, 2016 7:53 pm
Forum: General discussion
Topic: List of all apps for Raspbian?
Replies: 4
Views: 6758

Re: List of all apps for Raspbian?

You can do this with package managers. Raspbian comes with apt installed. Type: man man To learn about software manuals and to learn about apt try its own manual: man apt Some examples from the above manual: Search for package by key word (in this example "dvd"): sudo apt-cache search dvd Look at wh...
by tpylkko
Mon Apr 25, 2016 2:34 pm
Forum: Beginners
Topic: crontab not running?
Replies: 7
Views: 1014

Re: crontab not running?

by tpylkko
Thu Apr 21, 2016 11:28 am
Forum: Off topic discussion
Topic: How long do you practice programming in a day?
Replies: 48
Views: 5076

Re: How long do you practice programming in a day?

Yeah, but to be fair, such books are always written on outliers because they are more fascinating. For those two people it worked, but how many thousand people in similar situations exist for whom something similar didn't work? No books written on them... I get what you are saying though that learni...
by tpylkko
Thu Apr 21, 2016 10:53 am
Forum: Off topic discussion
Topic: How long do you practice programming in a day?
Replies: 48
Views: 5076

Re: How long do you practice programming in a day?

How do you 'practice' writing software? You either write it, or you don't. I've simply learnt stuff as I have needed to use stuff. I suppose you could read up on stuff, and try to implement stuff you read about, but why? What I've tended to do is read about stuff, then use it when I need to. C++ te...
by tpylkko
Thu Apr 21, 2016 9:53 am
Forum: Off topic discussion
Topic: How long do you practice programming in a day?
Replies: 48
Views: 5076

Re: How long do you practice programming in a day?

You don't practice programming. You program and learn more in the process and the time you take all depends on what you're doing. this probably works if you are hobbyist, but if you want to learn programming skills in a broad sense and to a high level (i.e professional) then you are going to need t...

Go to advanced search