Go to advanced search

by scruss
Fri Apr 19, 2019 4:39 pm
Forum: General discussion
Topic: How to implement Precision Time Protocol (PTP) on Rpi3 p2p network?
Replies: 5
Views: 5088

Re: How to implement Precision Time Protocol (PTP) on Rpi3 p2p network?

I think you're asking about a different thing. PTP is a high-precision network implementation that won't work with existing Raspberry Pi hardware. You're looking for an NTP server synchronized to a GPS PPS pulse.
by scruss
Fri Apr 19, 2019 3:42 pm
Forum: Device Tree
Topic: USB to serial adapter: ttyUSBx identification?
Replies: 2
Views: 39

Re: USB to serial adapter: ttyUSBx identification?

pl2303s don't have serial numbers, as PhilE said. As long as you're not unplugging the cables and moving them around, /dev/serial/by-id/ or /dev/serial/by-path/ should stay the same over system restarts. If you are unplugging the cables and moving them around on the Raspberry Pi, you really need to ...
by scruss
Thu Apr 18, 2019 3:30 pm
Forum: Troubleshooting
Topic: Xerox Phaser 6000B drivers
Replies: 8
Views: 225

Re: Xerox Phaser 6000B drivers

There are lots of HP printers that don't work with Linux, too. Take a look at all the HP Paperweight s at the bottom of this list. This 6000B seems to be a special HBPL version. They're almost unusable on any kind of Linux. Other printers in the Phaser 6000 range can use Postscript-Xerox , but I don...
by scruss
Tue Apr 16, 2019 7:32 pm
Forum: Camera board
Topic: Case for a pinhole camera on the side
Replies: 21
Views: 428

Re: Case for a pinhole camera on the side

Scruss - you forgot chocolate :lol: Since I'm allergic to chocolate, I wouldn't have mentioned it under “generally considered safe”. Also the last chocolate printer I saw (a failed local startup) used laser sintering and ended up making inedible (even by your standards) burnt things. I did see a co...
by scruss
Tue Apr 16, 2019 1:56 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 154
Views: 2508

Re: ScriptBasic

My default debugger once the script passes syntax validation is ... PRINT "Got Here\n" Oh dear — shotgun debugging is pretty much a last resort. While I'm not really a fan of Python's fulsome error verbiage, it never leaves you in any doubt what went wrong and (roughly) where. The ScriptBasic User ...
by scruss
Tue Apr 16, 2019 1:35 pm
Forum: Troubleshooting
Topic: Arduino to Pi connection
Replies: 2
Views: 65

Re: Arduino to Pi connection

You forgot the timeout when reading the serial port in Python. Without it, your program will happily sit at the s_in=ser.readline() and wait forever until the Arduino sends something.
by scruss
Tue Apr 16, 2019 1:28 pm
Forum: Camera board
Topic: Case for a pinhole camera on the side
Replies: 21
Views: 428

Re: Case for a pinhole camera on the side

About the 3D printers: I have no experience in that area. And I do not know if there could be health issues. Pretty much every filament comes with an MSDS data sheet. While there are some with concerns that FDM printers produce ultra-fine particulates, the strongest proponents of this theory also s...
by scruss
Mon Apr 15, 2019 2:53 am
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 76
Views: 1044

Re: Introduction to BBC BASIC

ScriptBasic wrote:
Sun Apr 14, 2019 5:31 pm
I'm using Brandy's SDL BBC BASIC graphic library module with ScriptBasic which seems to work okay.
But your BASIC isn't BBC BASIC
by scruss
Sun Apr 14, 2019 1:14 pm
Forum: Advanced users
Topic: How to get QGIS3.x?
Replies: 10
Views: 400

Re: How to get QGIS3.x?

There aren't many alternatives to QGIS: it's become pretty much everything that is not-Arc. ISTR QGIS being painfully slow on a Raspberry Pi, but I hope it has improved.
by scruss
Sun Apr 14, 2019 1:12 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 76
Views: 1044

Re: Introduction to BBC BASIC

… we've had quite a few posts on basic recently, we don't need this as well. In a “People keep asking for it, but there's no demand” kind of a way? I really like what Richard has done with BBC BASIC, from being on the committee that defined it to producing the definitive open-source version. Matrix...
by scruss
Sat Apr 13, 2019 3:35 am
Forum: Other programming languages
Topic: ScriptBasic
Replies: 154
Views: 2508

Re: ScriptBasic

hippy wrote:
Sat Apr 13, 2019 1:44 am
I'm still after the holy grail of a 'boot to Python' Pi clone of the micro:bit, …
here y'go, Arthur: boochow/micropython-raspberrypi: bare metal Raspberry Pi Zero / Zero W port of MicroPython
by scruss
Sat Apr 13, 2019 12:08 am
Forum: Raspbian
Topic: Raspian and running Arduino IDE
Replies: 7
Views: 190

Re: Raspian and running Arduino IDE

Below is the output of "Board Info" BN: Unknown Board VID: 1A86 PID:7523 SN: Upload any sketch to obtain it. Does his look OK to you? Yup. Most Arduinos come flashed with Blink out the box, so it's probably blinking from the start, then there's a mess of other LEDs blinking while the programs uploa...
by scruss
Fri Apr 12, 2019 6:29 pm
Forum: Camera board
Topic: Case for a pinhole camera on the side
Replies: 21
Views: 428

Re: Case for a pinhole camera on the side

Gavinmc42 wrote:
Fri Apr 12, 2019 6:34 am
Brass shim I have , 0.03mm drill not so much ;)
A needle and a scanner to measure it with will do just fine.
by scruss
Fri Apr 12, 2019 4:11 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1771
Views: 69562

Re: Why Avoid BASIC on RPi?

Heater wrote:
Thu Apr 11, 2019 5:28 pm
Are we talking about the same "Return To Basic"/RTB?

This one is not open: https://projects.drogon.net/rtb/
Yep. It used to be open, but then it wasn't. Despite this:

Code: Select all

$ ldd usr/bin/rtb | grep -i readline
	libreadline.so.7 => /lib/arm-linux-gnueabihf/libreadline.so.7 (0xb5e5e000)
by scruss
Fri Apr 12, 2019 3:54 am
Forum: Camera board
Topic: Case for a pinhole camera on the side
Replies: 21
Views: 428

Re: Case for a pinhole camera on the side

They're kind of a "don't ask" pricing item. I got mine from a pro travel photographer who was given it and couldn't handle the workflow. They're also only made intermittently, in short runs that sell out quickly
by scruss
Thu Apr 11, 2019 8:48 pm
Forum: Networking and servers
Topic: LAMP Webserver Image
Replies: 5
Views: 157

Re: LAMP Webserver Image

Good point. You can currently get the whole LAMP stack with:

Code: Select all

sudo apt install -y phpmyadmin mariadb-server
phpmyadmin pulls in apache2. It's missing procount's useful configuration bit, though.
by scruss
Thu Apr 11, 2019 7:38 pm
Forum: Camera board
Topic: Case for a pinhole camera on the side
Replies: 21
Views: 428

Re: Case for a pinhole camera on the side

raspenger, do you mean pinhole as in "no optics but a tiny hole", or pinhole as in the more recent "any small covert digital camera" meaning?

As a dedicated Zero Image owner who has a couple of clone camera modules on the way for modding with a copper foil pinhole, I kinda hope the former.
by scruss
Thu Apr 11, 2019 5:03 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1771
Views: 69562

Re: Why Avoid BASIC on RPi?

Heater wrote:
Thu Apr 11, 2019 5:10 am
Return To BASIC is great and all but it's a step backwards to the time of closed source BASICs.
It was GPL 3.0 at one point. Here's an old copy from 2013 that is: scruss/rtb.

If the current deb is linked to the GNU Readline library then RTB is still GPL licensed
by scruss
Thu Apr 11, 2019 4:48 pm
Forum: Raspbian
Topic: Raspian and running Arduino IDE
Replies: 7
Views: 190

Re: Raspian and running Arduino IDE

Are you running current Raspbian Stretch? The following may not work if you're not. Plug it in, open a terminal, and type lsusb , and if you see something like: … ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter then it's been recognized. If that doesn't work, there may be a problem with t...
by scruss
Wed Apr 10, 2019 2:10 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1771
Views: 69562

Re: Why Avoid BASIC on RPi?

I'm sure I remember stumbling across pyBASIC, a BASIC interpreter ran in Python, which of course should work fine on the Pi. There are a couple of projects that this could be: travisbhartwell/pybasic or [niucheng/PYBASIC](https://github.com/niucheng/PYBASIC). Neither look much to write home about. ...
by scruss
Tue Apr 09, 2019 8:05 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1771
Views: 69562

Re: Why Avoid BASIC on RPi?

Amazing. 1000 BASIC dialects listed here and the one True BASIC is not included: https://www.truebasic.com/ Yeah, but it hasn't had Unix support for ages. My materials engineering bias is showing, but any BASIC without the MAT matrix commands is not fully useful.Although Computer Concepts' Fast ST ...
by scruss
Tue Apr 09, 2019 12:04 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1771
Views: 69562

Re: Why Avoid BASIC on RPi?

Are there any other versions of Basic which run on the Raspberry Pi that should be on this list? Found a couple more. These are in the Raspbian repos: Yabasic sdlBasic — doesn't look like it's seen any updates since 2013 There's also bas55 , a full implementation to the ECMA-55 Minimal BASIC standa...
by scruss
Tue Apr 09, 2019 1:37 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1771
Views: 69562

Re: Why Avoid BASIC on RPi?

Are there any other versions of Basic which run on the Raspberry Pi that should be on this list? Matrix Brandy BASIC — Brandy, but maintained Decimal BASIC Open Source Project — ANSI/JIS Full BASIC. Uses decimal maths, as opposed to binary floating point. Builds using Lazarus. Documentation is most...
by scruss
Mon Apr 08, 2019 10:15 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1771
Views: 69562

Re: Why Avoid BASIC on RPi?

When you get it to build, maybe start a new thread about it? It really doesn't belong in this megathread
by scruss
Mon Apr 08, 2019 7:36 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1771
Views: 69562

Re: Why Avoid BASIC on RPi?

the same place as for every other Raspberry Pi: https://www.raspberrypi.org/downloads/raspbian/

Go to advanced search