Go to advanced search

by plugwash
Tue Aug 25, 2020 6:56 pm
Forum: Troubleshooting
Topic: Mounting Questions for Pi 4 and usb NVMe SSD Storage
Replies: 2
Views: 186

Re: Mounting Questions for Pi 4 and usb NVMe SSD Storage

"UUID" and "Label" are properties of a filesystem on a partition. It seems no partitions are being detected on the drive. The most likely explanation for this being that there aren't any there to detect. You probablly need to partition and format the drive before putting it into use. Unlike USB stic...
by plugwash
Tue Aug 25, 2020 5:45 pm
Forum: Raspberry Pi OS
Topic: Security "Feature" in Rasbian / Pi OS - sudo do not need a password - since end of 2016
Replies: 18
Views: 2151

Re: Security "Feature" in Rasbian / Pi OS - sudo do not need a password - since end of 2016

The raspberry pi foundation raspbian images were configured for passwordless sudo for the pi user long before 2016, I guess that 2016 was just when they moved the configuration from the main file to a seperate one.
by plugwash
Tue Aug 25, 2020 5:05 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 738
Views: 90920

Re: Introduction to BBC BASIC

Not that I am aware of. Does it even have the input/output capability to make such a thing sensible (could PRINT "Hello world!" do anything useful?). It's possible to display scrolling text on the LED matrix and I have seen micropython use this as a method to report errors. It's pretty painful to r...
by plugwash
Tue Aug 25, 2020 1:24 am
Forum: HATs and other add-ons
Topic: Is it possible to change the reading time of HAT EEPROM?
Replies: 3
Views: 236

Re: Is it possible to change the reading time of HAT EEPROM?

You could also do bitbang I2C which would avoid the need to take over the I2C controller.
by plugwash
Sat Aug 22, 2020 11:46 pm
Forum: Other programming languages
Topic: Anyone using Rust on a PI ?
Replies: 199
Views: 29499

Re: Anyone using Rust on a PI ?

There is a project called mrustc that aims to implement a rust to C compiler in C++ with the caveat that it doesn't have a borrow-checker, it just assumes the code is safe. Said compiler claims to be able to bootstrap at least some versions of the full rustc. So once you have a oldschool C compiler,...
by plugwash
Sat Aug 22, 2020 9:57 pm
Forum: Python
Topic: STICKY: [announcement] python 2 end of life
Replies: 23
Views: 10276

Re: STICKY: [announcement] python 2 end of life

Update. As the bullseye freeze draws closer it is becoming more clear what the python 2 picture will look like in bullseye. It it likely that python 2.7 itself will remain, but the /usr/bin/python symlink is going away. Also the majority of third-party modules and tools are already gone from bullsey...
by plugwash
Sat Aug 22, 2020 9:48 pm
Forum: Python
Topic: STICKY: [announcement] python 2 end of life
Replies: 23
Views: 10276

Re: STICKY: [announcement] python 2 end of life

I always thought Ubuntu was a Debian derivative the same as Raspbian. Maybe Canonical is big enough to add more tweaks. Both Ubuntu and Raspbian are derivatives of Debian, but the similarity basically ends there. Raspbian is basically a 1-person (two initially, but mike doesn't really participate a...
by plugwash
Sat Aug 22, 2020 1:01 am
Forum: Python
Topic: is it possible to compile a Python program into an executable ?
Replies: 30
Views: 1492

Re: is it possible to compile a Python program into an executable ?

Whether or not that particular site is out of date, I think all python compilers will have caveats, either being only a subset of the language or requiring a substantial run-time support. It's just the nature of python as a very dynamic language.
by plugwash
Thu Aug 20, 2020 4:57 am
Forum: Raspberry Pi OS
Topic: Entire source code for Raspberry Pi OS
Replies: 3
Views: 393

Re: Entire source code for Raspberry Pi OS

"raspberry pi OS" is a collection of software taken from the raspbian project and elsewhere. The raspbian project in turn pulls from Debian which packages software from a wide range of sources. Most of the software is opensource and has proper debian-style source packages. Some of the software is op...
by plugwash
Mon Aug 17, 2020 3:44 pm
Forum: Python
Topic: is it possible to compile a Python program into an executable ?
Replies: 30
Views: 1492

Re: is it possible to compile a Python program into an executable ?

"Compile a Python program into an executable" seems pretty clear-cut to me. The thing is while the cython invocation mentioned earlirer will "compile a python program into an executable" said executable will. 1. Be only marginally faster than the original script. 2. Require a specific version of li...
by plugwash
Mon Aug 17, 2020 3:48 am
Forum: Beginners
Topic: sort command on Raspbian: Where is it? What package?
Replies: 4
Views: 262

Re: sort command on Raspbian: Where is it? What package?

sort is in coreutils which Debian considers to be an essential package, so if you really don't have it on your system something is seriously broken.
by plugwash
Sat Aug 15, 2020 12:12 am
Forum: General discussion
Topic: Raspberry Pi SoC Broadcom removable???
Replies: 13
Views: 980

Re: Raspberry Pi SoC Broadcom removable???

I honestly don't know what the schedule is for CM4 and if I did I wouldn't be allowed to tell you but I would imagine it's not too far off.
by plugwash
Fri Aug 14, 2020 10:59 pm
Forum: General discussion
Topic: Raspberry Pi SoC Broadcom removable???
Replies: 13
Views: 980

Re: Raspberry Pi SoC Broadcom removable???

Some SoCs are available through "catalogue" distributors, others aren't. It depends on the srategy the manufacturer has decided to take on that particular product line. The issue is though that designing and making a board for a modern SoC is non-trivial. You have a fine BGA package and you have hig...
by plugwash
Mon Aug 10, 2020 12:36 pm
Forum: Beginners
Topic: install python packages via apt or pip?
Replies: 10
Views: 470

Re: install python packages via apt or pip?

The main risk with using pip in a system wide or user context is that upgrading one package to a newer version than that shipped by Debian/Raspbian can break other packages. How great this risk is depends heavilly on the particular package, some are good at keeping backwards compatibility others are...
by plugwash
Mon Aug 10, 2020 12:32 pm
Forum: Beginners
Topic: install python packages via apt or pip?
Replies: 10
Views: 470

Re: install python packages via apt or pip?

DougieLawson wrote:
Mon Aug 10, 2020 11:42 am
If you install with apt then update with pip3 there's a risk that a package could get regressed on a future apt update/apt dist-upgrade command.
IIRC debian python packages install to "dist-packages" while pip installs to "site-packages", so they won't directly overwrite each other.
by plugwash
Fri Aug 07, 2020 3:52 pm
Forum: General discussion
Topic: Curiousity - who maintains the packages for sources?
Replies: 8
Views: 498

Re: Curiousity - who maintains the packages for sources?

You seem to have misread the dates, bullseye's transition freeze is not scheduled until the start of next year.
by plugwash
Fri Aug 07, 2020 3:13 pm
Forum: Off topic discussion
Topic: Possible sale of ARM
Replies: 64
Views: 4274

Re: Possible sale of ARM

I'm sure there are lots of SoC vendors who would love to have it, and equally lots of SoC vendors who would hate their competitors to have it.

Softbank were at least seen as relatively neutral, not really competing with any of arm's direct customers.
by plugwash
Fri Aug 07, 2020 2:36 pm
Forum: Off topic discussion
Topic: Three Mobile UK 4G blocking this forum
Replies: 14
Views: 1275

Re: Three Mobile UK 4G blocking this forum

Reading the linked page it looks to me like the system is incorrectly applying an email "policy block list" to a web forum.

hmm, looking again maybe it's the "authbl" they are using, a list of addresses known to host bots.
by plugwash
Fri Aug 07, 2020 11:00 am
Forum: Camera board
Topic: Green laser
Replies: 22
Views: 1763

Re: Green laser

It goes without saying that green lasers are very dangerous AIUI The problem isn't green lasers per-se it's badly made and/or overpowered green lasers. It's very difficult to make a green laser diode, so most green lasers are optically pumped by a powerful infrared laser. Such lasers should include...
by plugwash
Wed Aug 05, 2020 10:35 am
Forum: General discussion
Topic: So is http://raspbian.raspberrypi.org/ down?
Replies: 3
Views: 307

Re: So is http://raspbian.raspberrypi.org/ down?

Looking at that maintinance announcement it doesn't seem hugely relavent 1. It was only announced as "at risk", not an actual outage window. 2. The server that hosts raspbian.raspberrypi.org is in London not Cambridge. I guess it's possible that the work in Cambridge triggered a routing glitch somew...
by plugwash
Wed Aug 05, 2020 10:20 am
Forum: Camera board
Topic: HQ Camera external sync signals support added
Replies: 74
Views: 4653

Re: HQ Camera external sync signals support added

Rather than triggering one HQ camera from another, is it possible to trigger a HQ camera from some other source? if so what are the electrical characteristics and are there any caveats to be aware of?
by plugwash
Mon Aug 03, 2020 5:20 pm
Forum: Troubleshooting
Topic: Accidentally Closed the Terminal During sudo apt-get upgrade
Replies: 3
Views: 231

Re: Accidentally Closed the Terminal During sudo apt-get upgrade

Are there any signs of storage, network or CPU activity? If so I would wait, the upgrade process may still be progressing invisibly. If there no longer seems to be any activity (beyond the normal background of an idle desktop) then you may need to kill the dpkg and/or apt processes so you can start ...
by plugwash
Mon Aug 03, 2020 4:59 pm
Forum: General discussion
Topic: Does charger problem is solved?
Replies: 2
Views: 240

Re: Does charger problem is solved?

Note that the problem is only known to affect electronically marked USB C to C cables. It's possible it could also affect some devices with captive USB C cabled.

It will *not* affect passive C to C cables, it will *not* affect USB A to C cables.
by plugwash
Mon Aug 03, 2020 11:55 am
Forum: Camera board
Topic: Normal cable?
Replies: 17
Views: 819

Re: Normal cable?

Fancy custom cables in low-volume are expensive. It's much easier to re-purpose an off the shelf cable than to get something custom made. The pi camera interface has three LVDS pairs, (clock and two data lanes) plus power, ground I2C and two dedicated control lines. So what cable do we re-purpose? S...
by plugwash
Sat Aug 01, 2020 12:56 pm
Forum: Off topic discussion
Topic: Other fruit Pi
Replies: 9
Views: 1091

Re: Other fruit Pi

LemonPi. Manufactured on Friday afternoons. There was a crowdsource campaign for a "Lemon Pi". They never managed to make them, but delivered, anyway. What they actually delivered was someone else's project called a "Roseapple Pi". It has reasonably nice specs, but the the Pi2B came out shortly aft...

Go to advanced search