Go to advanced search

by skypi
Tue May 21, 2019 9:14 pm
Forum: Python
Topic: RPi CPU temp with Python
Replies: 15
Views: 14774

Re: RPi CPU temp with Python

yeah, but this device wants the compact nature and price of the zero really! rsync is probably the problem LOL, that really drives the pi! (copying 1gb+) time=now, ambient at pi = 22.5c, pi zero was running about 35c do an rsync and temperature up to 54c and 10mins after rsync finished, cpu temp sti...
by skypi
Thu May 16, 2019 9:38 pm
Forum: Python
Topic: RPi CPU temp with Python
Replies: 15
Views: 14774

Re: RPi CPU temp with Python

What do you think it will tell you? Running any program will make the CPU run hotter. What do you think you can do if it runs hot? well, if you have control of the program (i.e. you wrote it or can amend it) that is driving the pi hard, then checking the cpu temperature you can slow that program do...
by skypi
Fri Mar 08, 2019 9:28 pm
Forum: General discussion
Topic: The Frog Leap target constant
Replies: 23
Views: 933

Re: The Frog Leap target constant

actually it just dawned on me that the recursive solution to 64 disk towers of hanoi is probably doomed to fail!... stack overflow! but what I mean is for an object to observe things of a different scale or be capable of movement in a different scale it needs to be of a different scale.... the exerc...
by skypi
Thu Mar 07, 2019 6:41 pm
Forum: General discussion
Topic: The Frog Leap target constant
Replies: 23
Views: 933

Re: The Frog Leap target constant

yeah, but 1 second is a very long unit of time in computer terms... the 64 disk stack could be solved by fastest computer a lot quicker than 1 nanosecond per move. And for educational purposes it is a nice recursive solution. Mind you no solution that you can make parrallel LOL! As for the frog (or ...
by skypi
Fri Mar 01, 2019 12:30 am
Forum: General discussion
Topic: The Frog Leap target constant
Replies: 23
Views: 933

Re: The Frog Leap target constant

kind of related to the mythology surrounding the "towers of hanoi" game, in that supposedly when the monks had completed the problem (which involved puzzling out the solution and then doing the actual moves) the world would end... but they could only move one perforated-cylinder per quite long time ...
by skypi
Tue Feb 26, 2019 8:31 pm
Forum: General discussion
Topic: The Frog Leap target constant
Replies: 23
Views: 933

Re: The Frog Leap target constant

All this is generally known as Zeno's paradox. Don't they teach this stuff in school anymore? There are two possibilities then for the algorithm given on any finite machine: 1) It will loop forever and never arrive at the correct result. 2) It will bail out early with the wrong result. Either not q...
by skypi
Tue Feb 26, 2019 10:32 am
Forum: General discussion
Topic: The Frog Leap target constant
Replies: 23
Views: 933

Re: The Frog Leap target constant

The false positives I was getting were also a result of precision errors, it is a theory that holds true whatever the target distance, given that a frog could even hop that accurately LOL reworking with decimal type #skypi.org import time from decimal import * getcontext().prec = 500 target=Decimal(...
by skypi
Mon Feb 25, 2019 8:40 pm
Forum: General discussion
Topic: The Frog Leap target constant
Replies: 23
Views: 933

Re: The Frog Leap target constant

yeah That's a good learning/educational example as well eh!

of course it depends on the part tolerance!!!

and I am not sure there is not this frog leap constant where target < dconst where contact can be made anyway?
by skypi
Mon Feb 25, 2019 8:13 pm
Forum: General discussion
Topic: The Frog Leap target constant
Replies: 23
Views: 933

The Frog Leap target constant

The Frog Leap target constant assuming a frog can only leap half its last leap to a target and its first leap is halfway to its target what is the target distance that a frog will never get to? (LOL/NO-LOL) target distance 2.2 units frog gets there in 53 hops target distance 2.3 units, python float ...
by skypi
Sun Feb 10, 2019 6:43 pm
Forum: General discussion
Topic: octoprint and old atmega based 3d printers?
Replies: 2
Views: 137

Re: octoprint and old atmega based 3d printers?

seems this practitioner has id'd the problem so, cutting out the marlin SD/LCD support improves the usb print, unfortunately seems velleman have woven their sd support into the code so it is not easily commented out.... i.e. not just a #define in configuration.h http://lokspace.eu/bad-print-quality-...
by skypi
Fri Feb 08, 2019 6:11 pm
Forum: General discussion
Topic: octoprint and old atmega based 3d printers?
Replies: 2
Views: 137

octoprint and old atmega based 3d printers?

OK I did a rant a while back, and I reckon after rebuild after rebuild I think I was right all along it is octoprint that is adding to the problem. In a certain set of conditions, ATMEGA is 250k baud rate max, whereas later boards with real USB are megabit data transfer and have faster CPU's so mayb...
by skypi
Tue Dec 18, 2018 12:46 am
Forum: General discussion
Topic: gadget mode ethernet - the mac address
Replies: 1
Views: 164

gadget mode ethernet - the mac address

gadget mode ethernet - the mac address so if designing a product and want only method of update to be plug in via usb on a zero-w based device otherwise operating in ap mode (don't want to mess with knowledge of client-to-host wifi password and implications) but to get gadget mode working always pro...
by skypi
Thu Dec 06, 2018 11:34 am
Forum: General discussion
Topic: Just about to buy Raspberry Pi for Media Centre and would appreciate help
Replies: 30
Views: 1607

Re: Just about to buy Raspberry Pi for Media Centre and would appreciate help

how much money do you want to spend, just get the pi b+ and an sd card and a case, then install the openelec distro (or run it from the noobs sd) edit: and get a wireless or bluetooth keyboard for couch control. when an external usb drive is plugged in it will automatically be recognised by openelec...
by skypi
Wed Dec 05, 2018 10:50 pm
Forum: General discussion
Topic: default certificate type of ssh daemon
Replies: 0
Views: 116

default certificate type of ssh daemon

What would be ideal would be to select your own 1st priority preference then fall back in order to least desired which would be ecdsa, based on what the ssh client can provide... a good article on subject seems https://www.instructables.com/id/Raspberry-Pi-SSH-Hardening/ but I noticed the pi's were ...
by skypi
Tue Nov 27, 2018 3:22 am
Forum: General discussion
Topic: is there some apt toggle to override any update interactive block to an upgrade?
Replies: 1
Views: 207

is there some apt toggle to override any update interactive block to an upgrade?

is there some apt toggle to override any update interactive block to an upgrade? yada yada gnutls28 (3.3.30-0+deb8u1) jessie-security; urgency=high . "Require strict DER " etc. only option is q to quit which upgrades any way... [Mod edit: removed bad language. Post now makes even less sense, but hop...
by skypi
Mon Nov 26, 2018 2:59 pm
Forum: Troubleshooting
Topic: dpkg-query: no packages found matching at-spi2-core
Replies: 10
Views: 883

Re: dpkg-query: no packages found matching at-spi2-core

yes, just tested another spi library https://github.com/joosteto/ws2812-spi and that one works OK so some problem (maybe my oversight) in this library with spi, using it on PWM is OK https://github.com/jgarff/rpi_ws281x UPDATE: Turns out to be a weird solution for the above library, on the github is...
by skypi
Mon Nov 26, 2018 2:27 pm
Forum: Troubleshooting
Topic: dpkg-query: no packages found matching at-spi2-core
Replies: 10
Views: 883

Re: dpkg-query: no packages found matching at-spi2-core

getting same error on a Pi Zero just updated, first time using the spi interface LOL and am wondering if this error is why the WS2812 library does not work on spi, first time I tried it, kind of works but leds get set to wrong color... does work OK on the pwm pin but then got the requires-root-acces...
by skypi
Wed Nov 14, 2018 11:31 pm
Forum: General discussion
Topic: GQ GMC series radiation logger
Replies: 1
Views: 168

Re: GQ GMC series radiation logger

I'd say from my observations it (gmc300e-plus) misses a very fast count in a second which echoes on its speaker but not in data but only statistically significant at low level reading perhaps... plus it is probably 1/6 as accurate as a pankake detector at low levels, apparenttly they balance out at ...
by skypi
Wed Nov 14, 2018 10:22 pm
Forum: General discussion
Topic: GQ GMC series radiation logger
Replies: 1
Views: 168

GQ GMC series radiation logger

Hi Folks Here's a little logger for a GMC-300EPlus radiation counter and the GQ GMC 300 series... #!/usr/bin/env python2 # log data from gq gmc 300e (works with all 300 series, might need to change baud rate to 115200, or set on device) # # Author: Paul W. Rogers (SkyPi) # (c) 2018 P.W. Rogers, Free...
by skypi
Sat Oct 20, 2018 10:18 pm
Forum: Raspbian
Topic: is hostapd compiled with the acs option from the raspbian stretch repo ?
Replies: 0
Views: 648

is hostapd compiled with the acs option from the raspbian stretch repo ?

is hostapd compiled with the acs option from the raspbian stretch repo ? setting channel to zero or channel=acs_survey does not work for me now with stretch at whatever versions of whatever... whereas setting channel=13 or whatever does work OK I saw someone claimed some years ago channel=acs_survey...
by skypi
Sat Sep 29, 2018 3:29 am
Forum: General discussion
Topic: can you boot raspbian with pins default output on?
Replies: 2
Views: 278

can you boot raspbian with pins default output on?

can you boot raspbian with pins default output on? seems to default pins are input, which with rgb leds hooked up to sink to pins does have a nice low level all leds on type effect, but want them to perhaps start like that but then instantaneous all off... or individually from low-light effect to ea...
by skypi
Sat Aug 25, 2018 6:51 pm
Forum: General discussion
Topic: For me using the octopi distro wasted time, not real-time enough?
Replies: 15
Views: 1382

Re: For me using the octopi distro wasted time, not real-time enough?

well, serial still needs to be real time enough to have data available to send when required, (i.e. not cpu blocking waiting for something else at that point in time) I guess it's mainly dependent on the gcode command types i.e. a 200mm line single command requires a lot less serial port throughput ...
by skypi
Wed Aug 15, 2018 8:55 pm
Forum: General discussion
Topic: For me using the octopi distro wasted time, not real-time enough?
Replies: 15
Views: 1382

Re: For me using the octopi distro wasted time, not real-time enough?

realtime accelerated graphics? thru a browser????? I disabled the gcode viewer as a potential real-time blockage (just in case) what I would say, from feel, is that the distro is slower in loading the web link than just installing octoprint on stretch lite, now it is possible that a slow browser int...
by skypi
Fri Aug 10, 2018 10:27 pm
Forum: General discussion
Topic: For me using the octopi distro wasted time, not real-time enough?
Replies: 15
Views: 1382

Re: For me using the octopi distro wasted time, not real-time enough?

OK, so I will concede maybe better to post on octoprint forum, but... just noticed running just octoprint on just stretch lite octoprint using a pc that is slow enough that you see the urls the app is loading over firefox in the status line, it is doing that stupid lookup of something online thing, ...

Go to advanced search