Go to advanced search

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: 227

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: 157

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: 74
Views: 11396

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: 62
Views: 2181

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: 74
Views: 11396

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: 608
Views: 59875

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: 74
Views: 11396

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: 608
Views: 59875

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: 493

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: 4918

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: 214

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: 427

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: 214

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: 62
Views: 2181

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: 62
Views: 2181

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: 616

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: 10
Views: 210

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: 78

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: 335

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: 1120

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: 62
Views: 2181

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: 125

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...
by scruss
Sun Feb 16, 2020 8:47 pm
Forum: General discussion
Topic: USB image writer
Replies: 62
Views: 2181

Re: USB image writer

Thanks, but I'm not only attempting, it already works perfectly under Linux, … Not so much, I'm afraid: I got this running under Ubuntu 19.10 x86_64: Screenshot from 2020-02-16 15-38-27.png Update: it seems to need sudo under Ubuntu, though nothing about this in the docs. It should run as user then...
by scruss
Sun Feb 16, 2020 8:14 pm
Forum: Troubleshooting
Topic: Pi crashes every 24-48 hours. Logs?
Replies: 14
Views: 335

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

There is one other suspect: I use CURL to send data to a website (In a cronjob every 5 minutes). … Is there a chance that - if the network hangs up, say - that your cron jobs take longer than 5 minutes to run? If there's a way to check if the job's still running and exit, you'll avoid the system sl...
by scruss
Sun Feb 16, 2020 8:11 pm
Forum: Beginners
Topic: can I get signal in DB from microphone using usb sound card?
Replies: 9
Views: 275

Re: can I get signal in DB from microphone using usb sound card?

What will you be using it for? There might be ways around having to go into really complex and expensive calibration. There's one frequent contributor here who does things with sound level meters and might be able to provide guidance. Quality microphones have come down a lot in price since I used to...

Go to advanced search