Go to advanced search

by plugwash
Sat Apr 20, 2019 1:00 am
Forum: Beginners
Topic: Defective ports?
Replies: 5
Views: 62

Re: Defective ports?

This is normal, connectors have some allowance for mounting in a case, so when using a bare board they stick out a bit.
by plugwash
Tue Apr 16, 2019 12:42 pm
Forum: Camera board
Topic: Why no 4-lane CSI on the Zero?
Replies: 2
Views: 85

Re: Why no 4-lane CSI on the Zero?

While I don't know for sure I strongly suspect it was PCB routing difficulties. The CM has extra layers (8 rather than 6 iirc) to allow them to bring out every pin on the chip.
by plugwash
Tue Apr 16, 2019 11:43 am
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 76
Views: 1122

Re: Introduction to BBC BASIC

Note that while arm decided to make long double 128 bits in their arm64 ABI, no current arm core has support for 128 bit floating point in hardware. So "long double" calculations on arm64 will be done with a software implementation.
by plugwash
Sun Apr 07, 2019 4:02 pm
Forum: Python
Topic: keep only newest 50 directories and delete older ones
Replies: 3
Views: 421

Re: keep only newest 50 directories and delete older ones

In python slicing negative indexes count from the end of the object being sliced (indeed you make use of this feature elsewhere in your code). So when your subtraction returns a value of -23, python interprets that as "give me everything except the last 23 items", which leaves four items to delete. ...
by plugwash
Fri Apr 05, 2019 11:12 pm
Forum: General discussion
Topic: Is this a real raspberry pi?
Replies: 7
Views: 407

Re: Is this a real raspberry pi?

Farnell offer a customisation service for raspberry pi, where those buying large numbers of Pis can have tem customised. it appears that kano have used it to produce a custom cost-reduced Pi 3 model with the DSI and CSI connectors unpopulated and with a basic 4-port USB hub instead of the (relativel...
by plugwash
Fri Apr 05, 2019 2:17 am
Forum: HATs and other add-ons
Topic: My PoE hat has undergone electrical damage somehow
Replies: 3
Views: 157

Re: My PoE hat has undergone electrical damage somehow

The original PoE hat had insufficient output filtering and was interacting badly with the USB power protection on some Pi boards (apparently there were two different chips used for power protection and one was more sensitive to the issue than the other). To fix this the boards were re-worked to add ...
by plugwash
Thu Apr 04, 2019 7:43 pm
Forum: Raspbian
Topic: legacy materials moving from archive.raspbian.org to legacy.raspbian.org
Replies: 1
Views: 339

legacy materials moving from archive.raspbian.org to legacy.raspbian.org

As you may be aware Debian wheezy has now been fully end of lifed (including lts) by Debian. As a result I am moving a number of legacy and mostly wheezy-related materials from archive.raspbian.org to legacy.raspbian.org. This includes the complete contents of the following directories. images insta...
by plugwash
Thu Apr 04, 2019 7:39 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1802
Views: 70452

Re: Why Avoid BASIC on RPi?

I think the biggest problem BASIC has is people assume it's another BBC retro language with no practicl use in today's world. No, the biggest problem basic has is it's not one language, it's a heap of incompatible languages. Some require line numbers, some have optional line numbers, some don't sup...
by plugwash
Tue Apr 02, 2019 8:06 pm
Forum: Raspbian
Topic: RaspBian 9 stretch testing distribution breaks udev and journald
Replies: 8
Views: 604

Re: RaspBian 9 stretch testing distribution breaks udev and journald

raspi-copies-and-fills 0.6 turned out to be incompatible with buster's udev. As a result of this I added a "breaks" on "raspi-copies-and-fills (<< 0.7)" to raspbian buster's udev, so the incompatible raspi-copies-and-fills would be removed during upgrades. A newer version of raspi-copies-and-fills f...
by plugwash
Sun Mar 31, 2019 12:35 am
Forum: Python
Topic: IndexError: list index out of range
Replies: 6
Views: 176

Re: IndexError: list index out of range

Your error means it didn't find anything that matched /sys/bus/w1/devices/28*
by plugwash
Thu Mar 28, 2019 6:06 pm
Forum: Raspbian
Topic: Install python - C compiler cannot create executables
Replies: 3
Views: 170

Re: Install python - C compiler cannot create executables

try

apt-get install --reinstall gcc-6
by plugwash
Tue Mar 26, 2019 3:50 pm
Forum: Off topic discussion
Topic: Is ARM doomed?
Replies: 298
Views: 11457

Re: Is ARM doomed?

Meanwhile, customers rejected all the new shiny alternatives and said "No, we want more of that crappy architecture". Which is odd because all the customers have known it was garbage all along. Intel obliged, reluctantly I believe. Customers want computers that will run their existing programs fast...
by plugwash
Mon Mar 25, 2019 11:40 pm
Forum: Advanced users
Topic: openssl 1.0.1t deprecated by letsencrypt
Replies: 3
Views: 227

Re: openssl 1.0.1t deprecated by letsencrypt

Do you have a specific reason to stay on jessie? if not it is probablly time to think about moving forward to stretch.
by plugwash
Sun Mar 24, 2019 1:32 am
Forum: Python
Topic: Solved: How to avoid that math problem?
Replies: 11
Views: 292

Re: Solved: How to avoid that math problem?

But if I modify dB = (ret[0] + ((ret[1] & 3) * 256)) * 0.1 + 30 to dB =decimal( (ret[0] + ((ret[1] & 3) * 256)) * 0.1 + 30) I get an error: Traceback (most recent call last): File "devdB.py", line 35, in <module> update() File "devdB.py", line 26, in update dB = decimal((ret[0] + ((ret[1] & 3) * 25...
by plugwash
Sat Mar 23, 2019 5:13 pm
Forum: Python
Topic: Solved: How to avoid that math problem?
Replies: 11
Views: 292

Re: How to avoid that math problem?

I have got a strange behaviour. Sometimes the math of Python3 returns a weird value, that displays badly in tkinter. Welcome to the world of floating point maths. Most decimal fractions cannot be expressed exactly as binary floating point numbers, so rounding is inevitable when converting from text...
by plugwash
Sat Mar 23, 2019 3:24 pm
Forum: Linux Kernel
Topic: Problems with OTG Ethernet between two Pi zeros.
Replies: 0
Views: 161

Problems with OTG Ethernet between two Pi zeros.

Someone I work with was planning to use USB OTG to interconnect a number of Pi zeros but he was running into low performance and sometimes crashes with various configurations. I decided to try testing using the ethernet gadget with iperf, running the iperf server on the host pi 0 and the iperf clien...
by plugwash
Tue Mar 19, 2019 6:39 pm
Forum: Raspbian
Topic: Unable to install nginx
Replies: 6
Views: 223

Re: Unable to install nginx

php 5 has been replaced by newer versions.

Try

sudo apt-get install nginx php-cli php-fpm php-gd php-ncrypt php-curl
by plugwash
Sat Mar 16, 2019 8:43 pm
Forum: Beginners
Topic: Disable automount
Replies: 4
Views: 11995

Re: Disable automount

Looks like the path has changed, the config file now seems to be.

/home/pi/.config/pcmanfm/LXDE-pi/pcmanfm.conf
by plugwash
Sat Mar 16, 2019 7:06 pm
Forum: Python
Topic: When Python 3.7 will officially arrive to Raspbian?
Replies: 6
Views: 468

Re: When Python 3.7 will officially arrive to Raspbian?

python 3.7 is already in the raspbian buster repositories. It will not be in the raspbian stretch repositories. When the raspberry pi foundation switch their images from stretch to buster is up to them, but I would expect it to be some time around the time buster goes stable which I expect to be som...
by plugwash
Sat Mar 16, 2019 11:46 am
Forum: Python
Topic: Dependencies problem installing mrcnn
Replies: 3
Views: 250

Re: Dependencies problem installing mrcnn

Can you tell me how you installed stuff? apt? pip? some mixture of the two?
by plugwash
Tue Mar 05, 2019 9:18 pm
Forum: Raspbian
Topic: introducing raspbmirror, the new way to mirror the raspbian archive.
Replies: 0
Views: 162

introducing raspbmirror, the new way to mirror the raspbian archive.

I have just put together a new tool for mirroring the raspbian archive. This tool has several advantages over using rsync. 1. It will always update to a clean and consistent state, no worries about mirroring in the middle of an update. 2. It can use the mirror redirection system as a source for pack...
by plugwash
Tue Mar 05, 2019 3:07 am
Forum: Camera board
Topic: PI 3 Camera on PI Zero
Replies: 5
Views: 341

Re: PI 3 Camera on PI Zero

The electrical interface is the same, but the connector is different. So you need a different cable to hook the camera up to the zero.

(note: very early zeros do not have a camera connector at all)
by plugwash
Mon Mar 04, 2019 2:56 pm
Forum: HATs and other add-ons
Topic: POE HAT connector broken
Replies: 13
Views: 2247

Re: POE HAT connector broken

If you want to fix this here is what I would try. Scrape away the soldermask from the remaining tracks/vias leading to the now missing pads. Glue the connector to the board and re-solder the two intact pads. Carefully solder some bits of thin (30AWG or so) wire between the remaining vias and the pin...
by plugwash
Sun Mar 03, 2019 1:22 pm
Forum: Troubleshooting
Topic: [Solved] E: Failed to fetch.. Hash Sum mismatch.. E: Unable to fetch some archives
Replies: 5
Views: 135

Re: E: Failed to fetch.. Hash Sum mismatch.. E: Unable to fetch some archives

I just disabled that mirrors entry in the mirror redirection system and sent an email to the operator.

user238424: please try again and report back if things work for you now.
by plugwash
Fri Feb 22, 2019 1:57 pm
Forum: General discussion
Topic: Ban OPENCAS mirrors [solved]
Replies: 22
Views: 1017

Re: Ban OPENCAS mirrors

Good morning, Local time 1300, UK time 0500 Fresh SD card installation. Please let me know if I can do anything else. pi@raspberrypi:~ $ wget http://mirrordirector.raspbian.org/raspbian/pool/main/libu/libusb-1.0/libusb-1.0-0_1.0.21-1_armhf.deb--2019-02-22 05:00:53-- http://mirrordirector.raspbian.o...

Go to advanced search