Go to advanced search

by ian_g
Thu Jun 01, 2017 9:43 pm
Forum: Python
Topic: Best Face Recognition to use?
Replies: 2
Views: 818

Re: Best Face Recognition to use?

Both libraries are under active development. Any opinion on this will be temporary. Toss a coin and pick one.You'll probably lose. I got opencv on coin toss
by ian_g
Wed May 31, 2017 8:26 pm
Forum: General discussion
Topic: Setting up a Pi 3 for the long haul?
Replies: 44
Views: 7643

Re: Setting up a Pi 3 for the long haul?

Wooden spoon is here to mix the pot :mrgreen: Ok @Originalposter Understand Murphy's Law Pick a timeframe for failure.then plan for it. Now instead of all the hardware stuff you've just heard now think software. 1) Notification (I've failed do something) 2) I need to update (think unattended updates...
by ian_g
Wed May 31, 2017 5:56 pm
Forum: Python
Topic: Dual cameras and raspistill
Replies: 2
Views: 1752

Re: Dual cameras and raspistill

Not done it myself but you could maybe try the -a parameter for raspistill and show some custom text or some other attribute that could identify the camera? https://www.raspberrypi.org/documentation/raspbian/applications/camera.md or you could use the camera directly from python rather than forking ...
by ian_g
Wed May 31, 2017 5:22 am
Forum: Python
Topic: Help me with my game!
Replies: 9
Views: 1392

Re: Help me with my game!

note how long that takes you

laziness is an integral part of a programmer It's also why we comment our code.
by ian_g
Wed May 31, 2017 5:19 am
Forum: Python
Topic: Help me with my game!
Replies: 9
Views: 1392

Re: Help me with my game!

use code quote thingies and i'll see
by ian_g
Wed May 31, 2017 5:12 am
Forum: Python
Topic: Help me with my game!
Replies: 9
Views: 1392

Re: Help me with my game!

Why should I?

Quick check of the code and you don't know a loop or an if statement so why bother?
by ian_g
Wed May 31, 2017 4:47 am
Forum: Python
Topic: Upload images to Webserver with a TimeStamp
Replies: 2
Views: 482

Re: Upload images to Webserver with a TimeStamp

You do really need to post more detail. However I am guessing that you are falling into the newbie trap of not posting in UTC. Date/time is a major problem in coding (There's the infamous example of crossing one US state and having to deal with 7 time zones). Can I suggest that you always post to an...
by ian_g
Wed May 31, 2017 4:11 am
Forum: Python
Topic: Help me with my game!
Replies: 9
Views: 1392

Re: Help me with my game!

ever heard of a loop?

should I be regretful? I generally post code within an hour for a users' problem if I am sarky but with this I just think ...

Too young ? Too stupid? Too lazy?
by ian_g
Wed May 31, 2017 3:07 am
Forum: General discussion
Topic: convert wmv to mp4
Replies: 3
Views: 1184

Re: convert wmv to mp4

This is a real pain. Only a few wmv left on my usb hard drives but conversion is a chore and you always lose quality
by ian_g
Wed May 31, 2017 2:07 am
Forum: Python
Topic: Web Scrapping help please
Replies: 2
Views: 642

Re: Web Scrapping help please

Remove # before desc extraction and see what happens
by ian_g
Wed May 31, 2017 1:52 am
Forum: Python
Topic: Writing image data into a file
Replies: 2
Views: 592

Re: Writing image data into a file

putData is not part of the pillow library. The case doesn't make sense for a start. Typo is my guess
by ian_g
Wed May 31, 2017 1:39 am
Forum: Python
Topic: Python Communication Between Many Pi's
Replies: 6
Views: 2893

Re: Python Communication Between Many Pi's

mattrix wrote:And send the messages in JSON format (as that's pretty much universal as well)
anothrer vote for mqtt with json. Also encrypt using tls
by ian_g
Wed May 31, 2017 1:33 am
Forum: Python
Topic: Web Scrapping help please
Replies: 2
Views: 642

Re: Web Scrapping help please

my issue is i cant extract the description for some reason an i missing something?
The description :P
by ian_g
Wed May 31, 2017 1:27 am
Forum: Python
Topic: My Pi / Python script stops at 5 am
Replies: 1
Views: 360

Re: My Pi / Python script stops at 5 am

Sorry your post is almost unreadable so I must assume some stuff. To paraphrase something is happening at 5am and in answer to that question. To troubleshoot, log in to a terminal on your pi dmesg -T cat /var/log/syslog and look for anything around 5am especially errors The other option is to use py...
by ian_g
Sun May 28, 2017 7:41 pm
Forum: General discussion
Topic: Setting up a Pi 3 for the long haul?
Replies: 44
Views: 7643

Re: Setting up a Pi 3 for the long haul?

:D :D love the suggestions. I don't know if I am trolling I probably am.You are basically saying that you should buy a really really good sd card that costs more than the pi rather than say that the sd card is the implicit weakness of a pi.
by ian_g
Sun May 28, 2017 7:15 pm
Forum: Python
Topic: Help me make text disapear
Replies: 7
Views: 986

Re: Help me make text disapear

you dissing my fully tested code :roll: as if i would test my own code
by ian_g
Sat May 27, 2017 12:28 pm
Forum: General discussion
Topic: Setting up a Pi 3 for the long haul?
Replies: 44
Views: 7643

Re: Setting up a Pi 3 for the long haul?

I love being part of an unbiased forum supported by non anecdotal evidence :lol: . USB drive boot still in beta. Just because it hasn't happened to you doesn't mean it won't happen.

First rule of setting up for the long haul is expect failure. Buy two(maybe three or four) of everything
by ian_g
Sat May 27, 2017 4:17 am
Forum: General discussion
Topic: Setting up a Pi 3 for the long haul?
Replies: 44
Views: 7643

Re: Setting up a Pi 3 for the long haul?

Whilst the rp is a fun bit of hardware you forget the basics. It's os runs on an sd card designed to take a few thousand pictures. There is no long run.
by ian_g
Sat May 27, 2017 4:12 am
Forum: General discussion
Topic: Setting up a Pi 3 for the long haul?
Replies: 44
Views: 7643

Re: Setting up a Pi 3 for the long haul?

@Jednorozec LOL god you're good
by ian_g
Sat May 27, 2017 3:40 am
Forum: AIY Projects
Topic: Pi3 reboots when testing mic in setup.
Replies: 4
Views: 500

Re: Pi3 reboots when testing mic in setup.

in terminal run

Code: Select all

dmesg -T
and post stuff close to when it happened
by ian_g
Sat May 27, 2017 3:34 am
Forum: Networking and servers
Topic: Standalone server
Replies: 5
Views: 1273

Re: Standalone server

I see where you are going as an app dev guy I would love a demo without networks. Unfortunately you cant without extra hardware. You will need a router. The raspi can be setup as a router but you'll need an antenna. Probably best to use a router/access point and fixed ip addresses.
by ian_g
Sat May 27, 2017 3:14 am
Forum: Beginners
Topic: Raspberry Pi Zero W WiFi config
Replies: 8
Views: 16344

Re: Raspberry Pi Zero W WiFi config

Code: Select all

auto wlan0
is missing above wlan config.

but if you're up and running who cares. do an immediate

Code: Select all

sudo apt-get update -y && sudo apt-get dist-upgrade -y && sudo apt-get autoremove -y
by ian_g
Sat May 27, 2017 2:59 am
Forum: General discussion
Topic: SAMBA vulnerablity
Replies: 17
Views: 2829

Re: SAMBA vulnerablity

forgot to answer the question:

Code: Select all

sudo apt-get update -y && sudo apt-get dist-upgrade -y && sudo apt-get autoremove -y
unplug hard drive from router and plug into pi. set pi up as your samba share
by ian_g
Sat May 27, 2017 2:51 am
Forum: General discussion
Topic: SAMBA vulnerablity
Replies: 17
Views: 2829

Re: SAMBA vulnerablity

The thing about this is that it is the same with the wannacry crap. If you were running updates on software you are fine if not you are :twisted:
chances are that your samba harddriive isn't running updates so you are :twisted:
by ian_g
Sat May 27, 2017 2:23 am
Forum: Python
Topic: Help me make text disapear
Replies: 7
Views: 986

Re: Help me make text disapear

import curses import curses.textpad import curses from curses import wrapper def get_param(screen, prompt_string): screen.clear() screen.border(0) screen.addstr(2, 2, prompt_string) screen.refresh() input = screen.getstr(10, 10, 60) return input def main(stdscr): # Clear screen stdscr.clear() # spl...

Go to advanced search