Go to advanced search

by scruss
Tue Aug 06, 2019 12:47 pm
Forum: Raspbian
Topic: Unlock LUKS with key material on USB
Replies: 6
Views: 184

Re: Unlock LUKS with key material on USB

Given the millions of Raspberry Pi users and yet no public answer to your problem, you may be the first to attempt this. Personally, I'd avoid all the faffing about with LUKS and use ssh keys generated to reach your server hashed wireless passwords using wpa_passphrase No passwords in plain on your ...
by scruss
Mon Aug 05, 2019 2:26 pm
Forum: General discussion
Topic: Wrong date every booting
Replies: 10
Views: 588

Re: Wrong date every booting

hwclock: Cannot access the Hardware Clock via any known method.
though that's not an ideal message to see. Sounds like your I²C might not be set up correctly.
by scruss
Mon Aug 05, 2019 2:20 pm
Forum: General discussion
Topic: Request for a new folder: Low Power & Solar
Replies: 35
Views: 1148

Re: Request for a new folder: Low Power & Solar

The difficulty with all off-grid power is that it's inherently local. Sure, solar has come down a lot in price since I started working with it in the early 1990s and has displaced a whole lot of other technologies, but it's not perfect everywhere. You're not going to do small hydro in the Mojave Des...
by scruss
Sun Aug 04, 2019 3:04 pm
Forum: General discussion
Topic: 4gb - 4B Demand must be high.
Replies: 134
Views: 6138

Re: 4gb - 4B Demand must be high.

I managed to score a 4GB in person at Micro Center in Mayfield Heights, OH yesterday. Sure, it was the kit (board, case, psu, cables, card, keyboard and mouse - US$120). They had two left. They had quite a number of 2GB and 1GB ones. The Raspberry Pi 4 isn't on display, you have to ask for it. They ...
by scruss
Sat Aug 03, 2019 11:26 am
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 544
Views: 24755

Re: Introduction to BBC BASIC

thank you so much, Richard! It was extremely helpful.
by scruss
Sat Aug 03, 2019 1:19 am
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 544
Views: 24755

Re: Introduction to BBC BASIC

…When Acorn developed BBC BASIC in 1981 they didn't want the complication of supporting OPTION BASE, but they (and the BBC) wanted to maximise compatibility with other BASICs. So they came up with a scheme which I consider to be a stroke of genius in its simplicity and effectiveness: DIM a(4) : REM...
by scruss
Fri Aug 02, 2019 8:28 pm
Forum: Troubleshooting
Topic: USB stick mounting issue
Replies: 3
Views: 118

Re: USB stick mounting issue

What's the USB stick's volume name? Does it have anything other that a-zA-Z0-9 in the name?
How is it formatted?
by scruss
Fri Aug 02, 2019 2:16 pm
Forum: General discussion
Topic: 4gb - 4B Demand must be high.
Replies: 134
Views: 6138

Re: 4gb - 4B Demand must be high.

At great expense. I am certain that the cost of the research would outweigh any benefit, … Market research also requires experience from other companies. Since the Raspberry Pi Foundation/Raspberry Pi Trading Ltd are the market makers¹, any consultants would be asking you what you already know. ---...
by scruss
Thu Aug 01, 2019 11:56 am
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1095
Views: 41504

Re: Project Digital Apocalypse Not Now

jalih wrote:
Thu Aug 01, 2019 4:31 am

Code: Select all

 /^[a-z]{2,}$/
You're not matching the full input set, though. Sure, I know that single letters aren't going to be anagrams of one another, but that regex is fractionally slower to match than the one I used in Perl.
by scruss
Wed Jul 31, 2019 11:53 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 544
Views: 24755

Re: Introduction to BBC BASIC

Neat! But I was a bit surprised that DIM a(4) a() = 1, 2, 3, 4 PRINT a(1) prints '2'. The equivalent code in ANSI Basic DIM a(4) MAT READ a PRINT a(1) END DATA 1,2,3,4 prints '1'. It's extra nice that you can use calculated values: a() = 1, SIN(RAD(30)), 3, 4 does exactly what you'd expect. Can you ...
by scruss
Wed Jul 31, 2019 11:20 pm
Forum: General discussion
Topic: 4gb - 4B Demand must be high.
Replies: 134
Views: 6138

Re: 4gb - 4B Demand must be high.

W. H. Heydt wrote:
Wed Jul 31, 2019 10:59 pm
… The big problem for the US, as it has been explained, is that they can't be shipped into the US until the FCC paperwork is posted.
That, and this issue identified by a US-based official reseller: https://www.youtube.com/watch?v=7SxroOvDK8A
by scruss
Wed Jul 31, 2019 8:41 pm
Forum: Troubleshooting
Topic: USB floppy drive and Raspbian Stretch, auto-mounting and un-mounting
Replies: 7
Views: 710

Re: USB floppy drive and Raspbian Stretch, auto-mounting and un-mounting

The USB ones are pretty limited: some will only read 1.44 MB disks and balk at reading extra tracks. The controllers won't read GCR/CLV disks like Apple used to use. I'm surprised that the kernel race condition didn't come to light with Gotek USB floppy emulators. They can be surprisingly quick. And...
by scruss
Wed Jul 31, 2019 4:31 pm
Forum: General discussion
Topic: Script files disappear from Home Directory
Replies: 3
Views: 158

Re: Script files disappear from Home Directory

are you using Raspbian, or something else?

does anyone else have access to the machine?

is there anything unexpected in your crontab? ("crontab -l" to list it)

are you rebooting properly or just pulling the power?
by scruss
Wed Jul 31, 2019 2:51 pm
Forum: Off topic discussion
Topic: My ZX81 clone ZX81+35 and a PSG sound expansion board for it (now released on GitHub)
Replies: 81
Views: 18419

Re: My ZX81 clone now called "ZX81+34"

…As for CP/M compatibility, do remember that MSX systems can run MSX-DOS which is actually a CP/M clone with the command interface of MS-DOS, and it runs many CP/M programs fine. MIST supports MSX machines and MSX-DOS. Wait, what? I totally missed this when you said it. So MSX-DOS on an MSX2 is bas...
by scruss
Wed Jul 31, 2019 2:45 pm
Forum: General discussion
Topic: where can I find a character map of "Terminus" font
Replies: 2
Views: 129

Re: where can I find a character map of "Terminus" font

It depends on what encoding of Terminus you're using. The console uses bitmap fonts rather than vector (TrueType, Opentype, etc). Your current console font settings are in the file /etc/default/console-setup , sometimes with an unhelpful "guess" setting for the encoding. If you want to change/check ...
by scruss
Tue Jul 30, 2019 7:17 pm
Forum: Troubleshooting
Topic: [solved] Connecting Pi bluetooth to Arduino and HC-05
Replies: 10
Views: 190

Re: Connecting Bluetooth to Arduino and HC-05

Thanks for the writeup, Gordon: remembering all the stages is the difficult bit.

SoftwareSerial on the Arduino, though great, can really mess up timing accuracy. If you're using SoftwareSerial and millis(), prepare for unusual numbers …
by scruss
Tue Jul 30, 2019 5:09 pm
Forum: Networking and servers
Topic: GUI from Pi to ssh
Replies: 7
Views: 188

Re: GUI from Pi to ssh

And that X server for Mac OS is XQuartz. It used to ship with the OS, but now it's a separate thing.

The important (and annoying) thing about X on Mac OS is that the cut and paste keys are Ctrl-X,C,V, and not ⌘. Also running a X with a single button mouse is somewhat trying.
by scruss
Tue Jul 30, 2019 11:43 am
Forum: Graphics, sound and multimedia
Topic: Historical high resolution graphics on the Raspberry Pi
Replies: 35
Views: 3591

Re: Historical high resolution graphics on the Raspberry Pi

rpdom wrote:
Tue Jul 30, 2019 7:37 am
Vector displays are like a plotter that draws images by moving a pen around the paper in all directions.
Did someone say plotter?

https://www.youtube.com/watch?v=635_2U10kio

Six minutes of why you never let a vector device do flood fills.The pen change at 3:30 is quite neat, though.
by scruss
Tue Jul 30, 2019 12:22 am
Forum: General discussion
Topic: 4gb - 4B Demand must be high.
Replies: 134
Views: 6138

Re: 4gb - 4B Demand must be high.

I've just become much more interested in Chicago Electronic Distributors (actually located in Florida...go figure). There's a reason for that. Jim, who does the day to day shipping, moved from Chicago to Florida. Craig, the owner, founded it in Chicago but then moved to Canada, where he runs Elmwoo...
by scruss
Mon Jul 29, 2019 8:37 pm
Forum: General discussion
Topic: 4gb - 4B Demand must be high.
Replies: 134
Views: 6138

Re: 4gb - 4B Demand must be high.

The supply situation in North America's a bit of a mess. OKdo (Allied / RS) are one of the importers from which official resellers (the ones listed on the Products page here) must buy, but OKdo appear to be supplying large-volume un official suppliers such as Digikey before the designated resellers....
by scruss
Mon Jul 29, 2019 8:09 am
Forum: Graphics, sound and multimedia
Topic: Historical high resolution graphics on the Raspberry Pi
Replies: 35
Views: 3591

Re: Historical high resolution graphics on the Raspberry Pi

As far as I understand, Vector displays, crt or LCD shouldn't matter. Except that nobody makes a vector LCD display. If a 4Mhz CPU can display 5 moving vectors on a 320x240 (0.75Mpix) screen at 24Hz, in theory a 1,6 Ghz CPU being over 400.000x faster, should … No, you misunderstand: vector displays...
by scruss
Sun Jul 28, 2019 9:26 pm
Forum: Graphics, sound and multimedia
Topic: Historical high resolution graphics on the Raspberry Pi
Replies: 35
Views: 3591

Re: Historical high resolution graphics on the Raspberry Pi

And StarWars* was the best vector game.... You step outside and say that again! 3D Starstrike and Dark Star, both clones of Star Wars, were better than Star Wars … The Atari machines did get slow with more vectors, even with their "state of the art" AMD2901 bit slice coprocessors tacked onto the 65...
by scruss
Sun Jul 28, 2019 7:56 pm
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1095
Views: 41504

Re: Project Digital Apocalypse Not Now

You may not be perfect but I would never ask you to leave the room. Nobody's perfect, and so am I … Incidentally, I saw in you last ScriptBASIC example that it featured an entire sort of the array. The rest of the solutions have been relying on the list being already sorted and the anagrams appeari...
by scruss
Sun Jul 28, 2019 7:50 pm
Forum: Graphics, sound and multimedia
Topic: Historical high resolution graphics on the Raspberry Pi
Replies: 35
Views: 3591

Re: Historical high resolution graphics on the Raspberry Pi

The difficulty would be the display for those thousands of vectors: nobody makes vector displays any more. Colour vectors are especially hard, what with beam alignment and timing. Deflection coils are big inductors, so they can only be pushed so fast. Long-persistance colour CRTs were amazingly rare...
by scruss
Sun Jul 28, 2019 7:32 pm
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1095
Views: 41504

Re: Project Digital Apocalypse Not Now

It's not clear to me how one would squish letter frequencies into 96 bits. Since we're¹ not above developing custom hash functions here to fit the wbritish-insane list, consider the subset matching /^[a-z]+$/ ² : the word with the most repeated letters is floccinaucinihilipilification , with 9 lett...

Go to advanced search