Go to advanced search

by scruss
Thu Jul 25, 2019 9:19 am
Forum: Troubleshooting
Topic: Grading app?
Replies: 13
Views: 367

Re: Grading app?

Hello, how do i create an app/program that will put a Roman numeral after a number like this 100= ll 99=llll 98=l Is there any way to do this with libreoffice excel? LibreOffice Calc has a ROMAN(Number; Mode) function. I don't understand your grading schema, but this works: N ROMAN(N,4) 100 C 99 IC...
by scruss
Wed Jul 24, 2019 8:48 pm
Forum: Beginners
Topic: Adafruit Project - Networked Thermal Printer CUPS with Raspberry Pi - Jessie or latestest Rasbian?
Replies: 9
Views: 255

Re: Adafruit Project - Networked Thermal Printer CUPS with Raspberry Pi - Jessie or latestest Rasbian?

maybe start with a clean Raspbian install (it should work!)
The password it asks for is your pi user and password. It's a pain, because I never remember mine
by scruss
Wed Jul 24, 2019 7:56 pm
Forum: Beginners
Topic: Adafruit Project - Networked Thermal Printer CUPS with Raspberry Pi - Jessie or latestest Rasbian?
Replies: 9
Views: 255

Re: Adafruit Project - Networked Thermal Printer CUPS with Raspberry Pi - Jessie or latestest Rasbian?

Not quite. Skip these steps: mkdir build && cd build && cmake /path/to/source cmake --build . sudo make install then git clone https://github.com/klirichek/zj-58.git cd zj-58 sudo apt install cups-ppdc then follow these bits: https://github.com/klirichek/zj-58#building-and-installing substituting .....
by scruss
Wed Jul 24, 2019 7:44 pm
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1081
Views: 40551

Re: Project Digital Apocalypse Not Now

BTW, the British Insane Dictionary includes words containing one or more of the following characters "èóüäçéáåöñëíâôûøêîïàùú". Why should we exclude them from the anagrams (with the exception of Brexit fans)? No brexitry here, I assure you. They're excluded because the English version of Bananagram...
by scruss
Wed Jul 24, 2019 5:22 pm
Forum: Graphics, sound and multimedia
Topic: Historical high resolution graphics on the Raspberry Pi
Replies: 35
Views: 3391

Re: Historical high resolution graphics on the Raspberry Pi

Nice! Saw this on the blog this morning. It's way prettier than the Tek emulation built into xterm.
by scruss
Wed Jul 24, 2019 5:20 pm
Forum: Beginners
Topic: Adafruit Project - Networked Thermal Printer CUPS with Raspberry Pi - Jessie or latestest Rasbian?
Replies: 9
Views: 255

Re: Adafruit Project - Networked Thermal Printer CUPS with Raspberry Pi - Jessie or latestest Rasbian?

Adafruit's fork of the thermal printer driver may not have kept up. This one's more promising: https://github.com/klirichek/zj-58

Latest Raspbian should work, though some of the package versions might be off. They're not that great at keeping them up to date.
by scruss
Tue Jul 23, 2019 11:00 pm
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1081
Views: 40551

Re: Project Digital Apocalypse Not Now

Ah, it's all good now.
For some reason the Zero only had ~32 MB free memory and the GPU memory set very high. I fixed that. It works now. Sorry about that.
by scruss
Tue Jul 23, 2019 5:20 pm
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1081
Views: 40551

Re: Project Digital Apocalypse Not Now

What was running on what exactly to cause that FATAL ERROR? Your code, on a Raspberry Pi Zero, running whatever the stock version of node is (dunno, but old) on Stretch. I can't reach that particular machine right now to check. I just ran it on a 3A+ running Stretch (node 8.11.1) and it completed i...
by scruss
Tue Jul 23, 2019 4:39 pm
Forum: Beginners
Topic: libreoffice calc read-only files
Replies: 2
Views: 93

Re: libreoffice calc read-only files

Supposedly, yes: "Open file read-only" by default

But there's a chance that LibreOffice always checks if a file source can be written to. This might be what's causing the "locked" message, and there may be nothing you can do about that.
by scruss
Mon Jul 22, 2019 5:52 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 544
Views: 24133

Re: Introduction to BBC BASIC

If I can use that as an excuse to drag this thread, kicking and screaming, back on topic, something that I've not (yet) attempted to support is bi-directional text in the SDLIDE code editor. but huge props for a seriously valiant attempt. Bidi is one of the maddening things that many programmers ju...
by scruss
Mon Jul 22, 2019 3:52 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 544
Views: 24133

Re: Introduction to BBC BASIC

StrongHelp itself is a bit of an orphan as the original author left the RISC OS scene a very long time ago. It is kept running, but there is no development. That is testament to its importance and robustness. The markup system is contemporary with HTML2, but it serves a different purpose. It might ...
by scruss
Mon Jul 22, 2019 3:09 pm
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1081
Views: 40551

Re: Project Digital Apocalypse Not Now

… After everything matches report the best total time, the md5sum of the output and what model of Pi. I believe that the young 'uns do call this “refactoring” Time: 43.077s (original Perl was 54.713s, so 21% faster) md5sum: bec74aa3b31577edbb291aeb7269a4d5 (same) Raspberry Pi Zero, Perl 5 again: #!...
by scruss
Sun Jul 21, 2019 7:32 pm
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1081
Views: 40551

Re: Project Digital Apocalypse Not Now

while I'm touched that this has been taken up as a challenge, installing wbritish-insane is considered harmful. It's chock full of typos, so if you use it as your system spelling dictionary, expect troulbe
by scruss
Sun Jul 21, 2019 4:35 pm
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1081
Views: 40551

Re: Project Digital Apocalypse Not Now

… Since no example code was given in Basic, I've been wondering whether the onset of the digital apocalypse might be related to bananagrams and the inability of Basic to help with them. If only the BASIC interpreters I use (and want to keep using) had hash tables, this would be right easy. But they...
by scruss
Sun Jul 21, 2019 4:30 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 544
Views: 24133

Re: Introduction to BBC BASIC

Using the web standards, google, I cannot find any specification for the StrongHelp format. The StrongHelp format is described somewhere here: http://www.riscos.info/downloads/stronghelp/manuals/ … but in true RISC OS fashion, the files themselves are stored in the proprietary StrongHelp format , s...
by scruss
Sun Jul 21, 2019 4:09 pm
Forum: General programming discussion
Topic: Comparing Interpreted Language Speed.
Replies: 57
Views: 2623

Re: Comparing Interpreted Language Speed.

Okay, so this happened: Big BBC BASIC Integer Fibonacci test scruss 2019-07-20 Fibonacci(101000) OS Interpreter Run Time / s Rank Relative Speed Note ================ =================== ============ ==== ============== ==== RISC OS BASIC V 6.3 1 100% RISC OS BASIC64 6.4 2 101% [1] Raspbian Matrix B...
by scruss
Fri Jul 19, 2019 4:29 pm
Forum: General programming discussion
Topic: Comparing Interpreted Language Speed.
Replies: 57
Views: 2623

Re: Comparing Interpreted Language Speed.

… If you are not going to use the extra range of double precision floating point, you would certainly be better off running the integer version of the line-numbered Basic code which is called integer.bas in the repository. … It also relies on the Microsoft Basic implicit type declaration DEFLNG A-Z...
by scruss
Fri Jul 19, 2019 3:41 pm
Forum: General discussion
Topic: Wrong date every booting
Replies: 10
Views: 584

Re: Wrong date every booting

what's the systemd target for your RTC? If it's called hwclock-sync.service , put this line in the Unit section of your logrotate service file: After=hwclock-sync.service If you were using network time sync, waiting for time-sync.target will cause problems as that returns after time sync has started...
by scruss
Fri Jul 19, 2019 12:23 pm
Forum: General programming discussion
Topic: Comparing Interpreted Language Speed.
Replies: 57
Views: 2623

Re: Comparing Interpreted Language Speed.

Interesting results. Have you tried any of the well known graphics benchmarks (well known on BBC BASIC for RISC OS). I am curious of the results. No, I don't know of those benchmarks, and I'm not sure if I can run them unchanged in Matrix Brandy. … there are some differences in a good setup versus ...
by scruss
Fri Jul 19, 2019 12:06 pm
Forum: General programming discussion
Topic: Comparing Interpreted Language Speed.
Replies: 57
Views: 2623

Re: Comparing Interpreted Language Speed.

What a charming turn of phrase. Sounds like something Rab C. Nesbitt might say: https://www.youtube.com/watch?v=y33a8pXIy20 Well, he and I are from the same town. Unlike Rab, my head wound healed up long ago. This is an fascinating result. As far as I can tell Brandy is written in C. As it has come...
by scruss
Fri Jul 19, 2019 12:58 am
Forum: General programming discussion
Topic: Comparing Interpreted Language Speed.
Replies: 57
Views: 2623

Re: Comparing Interpreted Language Speed.

What, no screen shot of this momentous occasion ? You can, frankly, away an' run up ma humph. Even if I did know how to take screenshots on RISC OS, I was just running in the full-screen console thing. There's no GUI to do anything to, and no other tasks around to grab a picture. You have to even c...
by scruss
Thu Jul 18, 2019 10:19 pm
Forum: Troubleshooting
Topic: Rpi4 Loads of settings gone or altered..help please...
Replies: 1
Views: 75

Re: Rpi4 Loads of settings gone or altered..help please...

Raspbian occasionally does a desktop refresh, where all the settings go back to default. They usually tell you that the old configuration files are backed up somewhere, but they don't tell you how to do it. It's the only Linux distro I know of that does this. I wish they wouldn't.
by scruss
Thu Jul 18, 2019 1:06 pm
Forum: General programming discussion
Topic: Comparing Interpreted Language Speed.
Replies: 57
Views: 2623

Re: Comparing Interpreted Language Speed.

Okay, so: this code — Classic2 — run under RISC OS on a Raspberry Pi 3 gave the following times: BASIC: 3778 s BASIC64: 3240 s The Raspberry Pi 3 had a fan playing on it all the time - it is unlikely to have throttled. I'm currently running this code — Classic2_brandy — on the same Raspberry Pi 3 un...
by scruss
Thu Jul 18, 2019 11:14 am
Forum: General programming discussion
Topic: Comparing Interpreted Language Speed.
Replies: 57
Views: 2623

Re: Comparing Interpreted Language Speed.

Is it so that after all this time and debate we still don't have an execution time for the Big Fibo code BBC BASIC on RISC OS? It's been running on a Raspberry Pi 3 for just over an hour. No result yet … (it's been an immense amount of work to get it going even on a Raspberry Pi 3 and I don't think...
by scruss
Thu Jul 18, 2019 12:00 am
Forum: General programming discussion
Topic: Comparing Interpreted Language Speed.
Replies: 57
Views: 2623

Re: Comparing Interpreted Language Speed.

Well just comment out that assignment and make sure that the next slot is large enough for the required DIM's. Um, both you and Soruk use the term next slot , and I have no idea what it could mean. Slots are where you put interface cards in my world. Can you please explain? I've used RISC OS for a ...

Go to advanced search