Go to advanced search

by hippy
Wed Feb 21, 2018 6:50 pm
Forum: General discussion
Topic: TERMINAL: The Two Most Useful Customizations
Replies: 12
Views: 413

Re: TERMINAL: The Two Most Useful Customizations

What would make sense to me is to have an option to enable Ctrl-C as a Copy shortcut when text to copy has been selected, have it function as normal when there isn't. The best of both worlds. The windows Telnet client I use drives me up the wall because it allows text to be selected for copying, the...
by hippy
Tue Feb 20, 2018 5:53 pm
Forum: Off topic discussion
Topic: RPi4
Replies: 20
Views: 563

Re: RPi4

After the Pi 4; what's the Pi 5 going to have ?

:mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen:
by hippy
Sat Feb 17, 2018 12:28 pm
Forum: Off topic discussion
Topic: How good is current AI ?
Replies: 14
Views: 418

Re: How good is current AI ?

One needs to define what one means by Artificial Intelligence before one can determine if we have that, have got anywhere near it or in part. Computers are doing some pretty amazing things these days. Some of those are called Artificial Intelligence but many of those things can also be described as ...
by hippy
Sat Feb 17, 2018 12:34 am
Forum: Python
Topic: micropython
Replies: 8
Views: 289

Re: micropython

How can I make ./micropython available system wide as in command python and python3? This will make micropython available everywhere - sudo ln -s ~/micropython/ports/unix/micropython /usr/bin/micropython Not sure if it's the ideal solution, or if /usr/bin is the right place. If someone could confir...
by hippy
Fri Feb 16, 2018 8:30 pm
Forum: Python
Topic: micropython
Replies: 8
Views: 289

Re: micropython

That what I thought, so I installed MicroPython, I still get the no module named utime error. Seems to work for me when I use it in interactive REPL mode ... pi@Pi3B:~/micropython/ports/unix$ ./micropython MicroPython v1.9.3-217-g5de064fb on 2017-12-26; linux version Use Ctrl-D to exit, Ctrl-E for ...
by hippy
Fri Feb 16, 2018 6:22 pm
Forum: Python
Topic: micropython
Replies: 8
Views: 289

Re: micropython

From the github it looks like you need to install MicroPython and it uses its own libraries so they may need to be installed separately. The utime package might however be included. Take a look here - https://www.raspberrypi.org/forums/viewtopic.php?t=191744 The Adafruit tutorial however seems to be...
by hippy
Fri Feb 16, 2018 6:16 pm
Forum: General discussion
Topic: No Wifi connection to Pi Zero W after Raspbian update
Replies: 73
Views: 2499

Re: No Wifi connection to Pi Zero W after Raspbian update

Please let me know your observations compared to the log files provided with https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=204882&start=25#p1272918 ... I took a look but things are so different in the sequencing that it's impossible for me to arrive at any sensible conclusion. I guess it'...
by hippy
Thu Feb 15, 2018 2:27 pm
Forum: Python
Topic: Timer Interrupt with Python 3
Replies: 4
Views: 172

Re: Timer Interrupt with Python 3

After your "def hello():" add another line "global a".

At the moment your "a=1" is creating and setting a local variable known only within the hello routine, not the global variable which others will have access to.
by hippy
Wed Feb 14, 2018 4:56 pm
Forum: Off topic discussion
Topic: It *has* to happen!
Replies: 28
Views: 1166

Re: It *has* to happen!

jojopi wrote:
Wed Feb 14, 2018 4:22 pm
With each additional selection there is one fewer choice left that will not collide any previous one.
Bingo. Many thanks. I now make it 4823 +/-1 also.

1881 is 10% chance of having two the same
2737 is 20%
3108 is 25%
4823 is 50%
6821 is 75%
8790 is 90%
12430 is 99%
15223 is 99.9%
17578 is 99.99%
by hippy
Wed Feb 14, 2018 2:42 pm
Forum: Off topic discussion
Topic: It *has* to happen!
Replies: 28
Views: 1166

Re: It *has* to happen!

If you have a 6 sided dice the chance of any two rolls (no matter how many other rolls between them) being the same is 1 in 6. Same probability theory applies to your 2"24 sided dice in the RPi factory. Good point. A 1 in 6 chance of being the same as previous for dice, a 1 in 16777216 of the Pi's ...
by hippy
Tue Feb 13, 2018 7:00 pm
Forum: General discussion
Topic: No Wifi connection to Pi Zero W after Raspbian update
Replies: 73
Views: 2499

Re: No Wifi connection to Pi Zero W after Raspbian update

Not sure if this helps any. Perhaps the most obvious thing is that there's no starting or started udev kernel Device Manager in Feb, that comes well afterwards. What was done in the Nov syslog before dhcpcd starts which wasn't done before dhcpcd starts in the Feb syslog Nov systemd[]: Starting udev ...
by hippy
Tue Feb 13, 2018 6:13 pm
Forum: General discussion
Topic: No Wifi connection to Pi Zero W after Raspbian update
Replies: 73
Views: 2499

Re: No Wifi connection to Pi Zero W after Raspbian update

The two syslog files differ in their order and content too much for me to figure out anything meaningful so far. There are things like RF Kill Switch which come before dhcpcd in Nov which works, after in Feb which doesn't, a whole lot more fsck checking in Feb. I don't know enough about Linux or wha...
by hippy
Tue Feb 13, 2018 5:29 pm
Forum: General discussion
Topic: No Wifi connection to Pi Zero W after Raspbian update
Replies: 73
Views: 2499

Re: No Wifi connection to Pi Zero W after Raspbian update

That's interesting because your most recent Nov 29 version has the /sbin/crda failure after the initial dhcp 'dev: loaded udev' and that works, no "No valid interfaces" error, and it works. The repeated udev and the dhcp 'dev: loaded udev' stuff later on in the Feb 13 version seems to be triggered b...
by hippy
Tue Feb 13, 2018 1:43 pm
Forum: General discussion
Topic: No Wifi connection to Pi Zero W after Raspbian update
Replies: 73
Views: 2499

Re: No Wifi connection to Pi Zero W after Raspbian update

What I then thought was irrelevant to mention, but now seems to maybe be of importance, is that just before I updated/upgraded Raspbian, I actually soldered GPIO pin headers to the board... I would suspect that was more coincidence than causal. Especially if you soldered the headers on, then connec...
by hippy
Mon Feb 12, 2018 10:41 pm
Forum: Off topic discussion
Topic: It *has* to happen!
Replies: 28
Views: 1166

Re: It *has* to happen!

if you have 2 RPis the chance of both having the same MAC is 1 in 16777216. I'm not sure that's correct because my understanding is that addresses are chosen at random, that not all 16777216 combinations will have been used before some of those are reused. Like a 16777216 sided dice rolled every ti...
by hippy
Mon Feb 12, 2018 4:29 pm
Forum: General discussion
Topic: No Wifi connection to Pi Zero W after Raspbian update
Replies: 73
Views: 2499

Re: No Wifi connection to Pi Zero W after Raspbian update

Would properly setting CRDA help? Possibly but it works even with that failure. I recall I get that failure as well yet all works for me. It seems to be whether the first time that failure occurs comes before dhcpcd starts or later. "No valid interfaces" is reported by dhcpcd when it comes later. W...
by hippy
Mon Feb 12, 2018 4:13 pm
Forum: Off topic discussion
Topic: It *has* to happen!
Replies: 28
Views: 1166

Re: It *has* to happen!

Does anyone know what the actual process of assigning addresses is and have the mathematical skills to work out the likelihood of encountering two which are the same ?

Some may already have a pair but will never realise that if they have never checked, never used them both at the same time.
by hippy
Sun Feb 11, 2018 6:46 pm
Forum: Beginners
Topic: Asking for tutorial "how to send data from raspberry pi to android app"
Replies: 2
Views: 98

Re: Asking for tutorial "how to send data from raspberry pi to android app"

I don't have a tutorial but I used MIT App Inventor 2 to create an Android app which provides a number of means to interact with a web server such as whenever a button is pushed. The receiver can run a webserver which interprets what that interaction means, what button was pushed etc. Example, not m...
by hippy
Sat Feb 10, 2018 8:49 pm
Forum: Beginners
Topic: Using the RasPi as a Parallel Terminal
Replies: 11
Views: 537

Re: Using the RasPi as a Parallel Terminal

The advantage of focussing on video-only is, that video doesn't need 2 way communication. If I can get the M100 to output anything towards a device that understands it, does it matter that the M100 knows it's there? I suppose it depends on whether you are trying to clone or emulate that DVI device ...
by hippy
Sat Feb 10, 2018 12:09 pm
Forum: Teaching and learning resources
Topic: Build My Own Embedded System
Replies: 13
Views: 572

Re: Build My Own Embedded System

I think the first question I need answered is: how do people generally learn how to work directly with SoCs to make their own embedded system? Is this generally learned in computer engineering programs in colleges, on-the-job at large companies (such as Broadcom, ARM, Sony, Apple, Nintendo, etc), o...
by hippy
Sat Feb 10, 2018 11:49 am
Forum: Recommended peripherals
Topic: Battery Pack Power For Raspberry Pi
Replies: 2
Views: 220

Re: Battery Pack Power For Raspberry Pi

What do you think? Will this be enough? Depends on exactly how long you want it to power things, exactly what you will be powering and how capable the supply is beyond its headline specification - and that's not always easy to tell until one comes to test or use it. It might be worth checking the f...
by hippy
Sat Feb 10, 2018 11:44 am
Forum: Beginners
Topic: Using the RasPi as a Parallel Terminal
Replies: 11
Views: 537

Re: Using the RasPi as a Parallel Terminal

The DVI appeared to be a (Z-80) computer on its own, receiving its commands via the parallel/system bus of the '100. Sadly, there is no mention of a protocol anywhere, but I have to assume it was something that was used before. This sounds like a typical 'memory mapped peripheral'; the TRS writing ...
by hippy
Sat Feb 10, 2018 11:19 am
Forum: Other projects
Topic: Choosing the pie for portability and performance
Replies: 8
Views: 494

Re: Choosing the pie for portability and performance

The bottom line is the Pi is great for what it does and it is a range of products which suits many needs but it was never designed with portability or battery operation in mind and isn't really suited to that. One can create battery powered and portable products with a Pi but they may not be as sati...
by hippy
Sat Feb 10, 2018 10:54 am
Forum: Teaching and learning resources
Topic: Build My Own Embedded System
Replies: 13
Views: 572

Re: Build My Own Embedded System

So, what I'm asking is: how do I go from a Raspberry Pi, to building my own RetroMini. An embedded system product like the ReroMini is simply something like the Raspberry Pi altered to do what is required for that product. A product is often a prototype built from something like a Raspberry Pi and ...
by hippy
Fri Feb 09, 2018 6:37 pm
Forum: General discussion
Topic: No Wifi connection to Pi Zero W after Raspbian update
Replies: 73
Views: 2499

Re: No Wifi connection to Pi Zero W after Raspbian update

I wonder if there's some race condition between udev and dhcpcd. Could be. There's a whole load of things going on with udev in the one which fails. Works ... Nov 29 02:56:34 raspberrypi systemd-udevd[143]: Process '/sbin/crda' failed with exit code 249. Nov 29 02:56:40 raspberrypi dhcpcd[327]: dev...

Go to advanced search