Go to advanced search

by scruss
Sat Feb 29, 2020 4:38 am
Forum: Troubleshooting
Topic: Is there a fix yet, for the screen tearing, on the PI 4b
Replies: 2
Views: 40

Re: Is there a fix yet, for the screen tearing, on the PI 4b

a NUC for $99? Good luck with that. The only one I've seen close to that price is an ancient dual core NUC7CJYH barebones with zero storage and zero memory. The Atomic Pi doesn't count: it's surplus, and is as near to sold out forever as makes no difference.
by scruss
Fri Feb 28, 2020 6:48 am
Forum: Graphics, sound and multimedia
Topic: GIANT UPDATE: Build FFmpeg and mpv – Automatically in 54 Minutes!
Replies: 253
Views: 131873

Re: GIANT UPDATE: Build FFmpeg and mpv – Automatically in 54 Minutes!

ffmpeg and mpv are available as packages in the repo. Maybe not the most recent versions, but that's what you get with Debian. The packaged ones might work fine for you. The script is difficult to maintain and lacks basic error checking. As is, the Foundation's unlikely to touch it. The OP was spect...
by scruss
Wed Feb 26, 2020 8:49 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 636
Views: 60487

Re: Introduction to BBC BASIC

xxd is the standard binary file viewer. I just ran this on BBC BASIC for Windows, and then in WSL I can do:

Code: Select all

$ xxd bbc.txt
00000000: 0001 0203                                ....
and it's outputting exactly what you are asking it to do.
by scruss
Sun Feb 23, 2020 10:31 pm
Forum: General discussion
Topic: Google search forcing "lite mode" on Firefox on RPi
Replies: 7
Views: 260

Re: Google search forcing "lite mode" on Firefox on RPi

Yeah, I'm a big Firefox fan. There was some discussion here - Firefox displaying mobile version of sites - but since you're uncovered the user agent, that seems the most likely reason.

Now why it's doing that, I dunno
by scruss
Sun Feb 23, 2020 4:28 am
Forum: Beginners
Topic: Firefox displaying mobile version of sites
Replies: 3
Views: 165

Re: Firefox displaying mobile version of sites

I've been getting mobile sites served by Google unless I change default search to something else, like Duckduckgo
by scruss
Fri Feb 21, 2020 5:43 pm
Forum: Raspbian
Topic: FreeCAD on PI4 and Raspbian Buster.
Replies: 75
Views: 11530

Re: FreeCAD on PI4 and Raspbian Buster.

Forking wouldn't help here. Raspberry Pi hardware doesn't (or didn't) support the heavyweight 3D libraries that desktop software relies upon. It would have needed a complete rewrite just for our hardware. That doesn't explain why it used to (kind of) work - I suspect software emulation, which would ...
by scruss
Fri Feb 21, 2020 5:38 pm
Forum: General discussion
Topic: USB image writer
Replies: 91
Views: 3105

Re: USB image writer

Nicely done overall, thanks. { "ga", "Fíoraigh", "Scríobh amach", … Glad you included that. I'm not a Scots Gaelic speaker myself, though my first language is sco . Attempts to produce localizations have not always been fairly received: “ Thanks, but we don't like to clutter the project index with j...
by scruss
Fri Feb 21, 2020 3:35 am
Forum: Raspbian
Topic: FreeCAD on PI4 and Raspbian Buster.
Replies: 75
Views: 11530

Re: FreeCAD on PI4 and Raspbian Buster.

openscad's basically been non-functional on Raspberry Pi for three or more years. I think it worked on Jessie for a while. The problem, as I understand it, is that one of the QT 3d libraries expects OpenGL when the Raspberry Pi has OpenGL ES (or vice versa). It's a huge upstream change to fix someth...
by scruss
Thu Feb 20, 2020 2:59 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 636
Views: 60487

Re: Introduction to BBC BASIC

The faster Z80s, with clock rates up to 6 MHz or more, didn't work well in this application … It would do very badly with my latest acquisition, then: a 36.8 MHz Z180 (it multiplies! it has an MMU!) in a tiny box with micro-sd storage. I have it hanging off a Raspberry Pi as a highly unnecessary CP...
by scruss
Thu Feb 20, 2020 2:32 pm
Forum: Raspbian
Topic: FreeCAD on PI4 and Raspbian Buster.
Replies: 75
Views: 11530

Re: FreeCAD on PI4 and Raspbian Buster.

Yes, hence this whole thread. The repo version falls over as soon as you try to create or open a project. Solvespace in the repos works, but is quite old. openscad similarly dead in the repos (same QT/3d interaction, I believe) but there's a working Appimage of the current version here: https://gith...
by scruss
Wed Feb 19, 2020 11:18 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 636
Views: 60487

Re: Introduction to BBC BASIC

I think Acorn might have been driving the sound hardware quite close to the metal. The SN76489 chip they used could only accept an 8-bit control input, and the input you gave it was the divisor of the chip clock frequency (4 MHz) to get the output tone (give or take an order of magnitude). There's m...
by scruss
Wed Feb 19, 2020 7:47 pm
Forum: Python
Topic: What is the difference between...
Replies: 18
Views: 506

Re: What is the difference between...

Hardly “There should be one—and preferably only one—obvious way to do it”, though.
by scruss
Wed Feb 19, 2020 2:54 pm
Forum: Raspbian
Topic: OpenSCAD
Replies: 32
Views: 4951

Re: OpenSCAD

btw, I just found an AppImage for OpenSCAD 2019.05 for Raspberry Pi here: https://github.com/koendv/openscad-raspberrypi I've tested it to the "seems to work" level on a Raspberry Pi 4. 2019.05 gives you SVG import, which is a lot less hassle than faffing about with flattened-to-line-segments DXF fi...
by scruss
Wed Feb 19, 2020 2:16 pm
Forum: General discussion
Topic: Dash vs Bash question
Replies: 3
Views: 218

Re: Dash vs Bash question

Yes, but no-one's going to have that as an interactive shell by default.
by scruss
Wed Feb 19, 2020 2:09 pm
Forum: Beginners
Topic: Where to buy genuine Raspberry Pi 4B?
Replies: 17
Views: 432

Re: Where to buy genuine Raspberry Pi 4B?

I find it somewhat surprising raspberry pies are not sold at Fry's Electronics. After all, they started as a grocery. Their main business appears to be going out of business, if the one I went to in Indiana is any indication. Empty shelves, leaking roof, no staff and a colossal pile of mattresses (...
by scruss
Wed Feb 19, 2020 3:00 am
Forum: General discussion
Topic: Dash vs Bash question
Replies: 3
Views: 218

Re: Dash vs Bash question

Huh? Raspbian uses Bash as its interactive shell. As the regular user, type echo $SHELL , and it will be Bash. Debian uses Dash as the default non-interactive shell. As they note “It is not intended to be used interactively by a user, for example, in a terminal emulator, but rather focuses on speed ...
by scruss
Wed Feb 19, 2020 2:04 am
Forum: General discussion
Topic: USB image writer
Replies: 91
Views: 3105

Re: USB image writer

They use something like SGID or gksu to elevate permissions temporarily.
by scruss
Tue Feb 18, 2020 10:19 pm
Forum: General discussion
Topic: USB image writer
Replies: 91
Views: 3105

Re: USB image writer

Adding a user to the disks group is effectively the same as running everything as root. Auch. I'm a security expert for more than a decade now, so I'm going to pretend you never wrote this. You don't have to imagine I wrote it: I paraphrased it from the Debian docs : · disk : Raw access to disks. M...
by scruss
Tue Feb 18, 2020 9:39 pm
Forum: Scratch
Topic: Scratch resources for adults?
Replies: 18
Views: 632

Re: Scratch resources for adults?

There's also all of the Blocks / Microsoft MakeCode tools that run on physical computing boards like the micro:bit , BrainPad and Meowbit . Blocks has the huge advantage of producing JavaScript, so you can see and extend your Blocks code in a more flexible language. There's also the lovely BlocksCAD...
by scruss
Tue Feb 18, 2020 9:30 pm
Forum: Troubleshooting
Topic: Error: when_changed() takes exactly 1 argument (3 given)
Replies: 20
Views: 368

Re: Error: when_changed() takes exactly 1 argument (3 given)

I think the code's supposed to run under python3, but I see that you're running it under Python 2.7. Maybe try the python3 executable?
by scruss
Mon Feb 17, 2020 6:56 pm
Forum: General discussion
Topic: Would external hard drive help retro gaming?
Replies: 2
Views: 80

Re: Would external hard drive help retro gaming?

How retro are your games? What platforms do you like? If you're an eldster like me, you can fit the entire known catalogue of games for an 8-bit machine in a couple of gigabytes. So everything will fit on an SD card, and the problem becomes finding the games you like. Later 16-bit machines and secon...
by scruss
Mon Feb 17, 2020 6:05 pm
Forum: Troubleshooting
Topic: Pi crashes every 24-48 hours. Logs?
Replies: 14
Views: 342

Re: Pi crashes every 24-48 hours. Logs?

Not sure, well not sure at all how to test that. I read my so called ´smartmeter´ it outputs the energy I use and it then sends it to pvoutput.org. So if your script's reading from a serial port, other instances of the script will halt/pause while the first instance is reading from the port. You mi...
by scruss
Mon Feb 17, 2020 5:33 pm
Forum: Python
Topic: Remote controlling a power supply via USB
Replies: 5
Views: 1129

Re: Remote controlling a power supply via USB

best to start another thread, or search for recent threads that mention SCPI. This was about a different protocol, VISA.
by scruss
Mon Feb 17, 2020 5:29 pm
Forum: General discussion
Topic: USB image writer
Replies: 91
Views: 3105

Re: USB image writer

@scruss: asking for password to elevate permissons won't work. The GTK library does not allow it. I've added description to the README.md that you should add your user to the "disk" group (or "operator" group under MacOSX), and use "Run As Administrator" under Windows if you experience permission d...
by scruss
Mon Feb 17, 2020 3:38 pm
Forum: Raspbian
Topic: Followed update guide, update didn't happen
Replies: 3
Views: 127

Re: Followed update guide, update didn't happen

Are you running Raspbian Buster? Best way to check is cat /etc/os-release in the terminal: PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" … If the version's less than 10, you won't see the new updates to Thonny. On my system, apt-cache policy thonny is showing...

Go to advanced search