Go to advanced search

by ejolson
Fri Jul 19, 2019 5:16 pm
Forum: General programming discussion
Topic: Raspberry Pi Benchmarks
Replies: 140
Views: 85477

Re: Raspberry Pi Benchmarks

High Performance Linpack (HPL) In 1993, it was found that a precompiled version of High Performance Linpack (HPL) could produce the wrong and inconsistent numeric calculations, also system crashes. For more information see this PDF file at ResearchGate: https://www.researchgate.net/publication/3319...
by ejolson
Fri Jul 19, 2019 4:35 pm
Forum: C/C++
Topic: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?
Replies: 303
Views: 6588

Re: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?

People miss BASIC like we miss the majesty of steam engines and I miss sitting by the heat and glow of a coal hearth. But it's just not acceptable at scale. Basic was never meant to be majestic but rather as simple as possible while at the same time being all purpose. Note that in addition to being...
by ejolson
Fri Jul 19, 2019 3:58 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 502
Views: 19139

Re: Introduction to BBC BASIC

Pardon my ignorance, but did Acorn's Basics default to single or double precision floating point? I believe that all of them, with the exception of BASIC VI on RISC OS (softloaded on Archimedes and RiscPC machines) they're all single precision 40-bit. BASIC VI offered 64-bit floating point (instead...
by ejolson
Fri Jul 19, 2019 2:55 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 502
Views: 19139

Re: Introduction to BBC BASIC

I've been having more thoughts about this. And, while it deviates from RISC OS (and BBC Micro) BBC BASIC, I've added a run-time switch to Matrix Brandy to enable this behaviour of allowing INT() to process a number that can't be stored in a standard 32-bit integer variable. Thanks. Naturally I thin...
by ejolson
Fri Jul 19, 2019 2:44 pm
Forum: General programming discussion
Topic: Comparing Interpreted Language Speed.
Replies: 55
Views: 1546

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 ejolson
Fri Jul 19, 2019 2:51 am
Forum: Windows 10 for IoT
Topic: Clock cpu always 600mhz
Replies: 3
Views: 479

Re: Clock cpu always 600mhz

Welcome to the Raspberry Pi forums. Dear Concern I have install windows 10 IOT on Raspberry pi 3 B+. I am getting Cpu clock speed 600Mhz. Please anybody help me. Since you are running a Microsoft Operating System on your RPi you might get more knowledgeable advice from a forum specialising in that ...
by ejolson
Thu Jul 18, 2019 10:36 pm
Forum: General discussion
Topic: Performance Buster on Pi 2 Edit: Toshiba 256GB SD are bad
Replies: 14
Views: 536

Re: Performance Buster on Pi 2

bullen wrote:
Thu Jul 18, 2019 10:20 pm
Has anyone noticed how laggy it feels in the ssh session. Many commands block for several seconds.
Procede with caution: It may be possible that your SD card is about to die.

I'll be trying the buster image in a few days on a Pi 2B and will report back of anything seems out of the ordinary.
by ejolson
Thu Jul 18, 2019 10:15 pm
Forum: Beginners
Topic: i have a tight buget. is the pi 3 worth buying or should i just buy the 4
Replies: 29
Views: 952

Re: i have a tight buget. is the pi 3 worth buying or should i just buy the 4

:D :) ;) Welcome to the forum! The official price of the Pi 4B with 1GB RAM is the same as the 3B+. Unless you are getting a 50 percent discount for a closeout or used 3B+, there is little reason to prefer it from a cost point of view. For many, even the additional $20 for the models with larger me...
by ejolson
Thu Jul 18, 2019 9:18 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1331
Views: 43062

Re: ScriptBasic

Let me know when you get ScriptBasic going on your RPi. I will push the Brandy extension module source to the sandbox. David, Before we kick this off I want to be up front and say this is your baby going forward. I will setup a project in the sandbox and make you the maintainer. If you're good with...
by ejolson
Thu Jul 18, 2019 6:38 pm
Forum: C/C++
Topic: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?
Replies: 303
Views: 6588

Re: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?

Yes, I will... I have watched online videos of lectures of under graduate courses in introductory CS from MIT and Berkeley. The oldest, and best, by Prof. Brian Harvey from Berkeley over 10 years ago. These course covered introductory CS material including learning a programming language and moving...
by ejolson
Thu Jul 18, 2019 5:29 pm
Forum: C/C++
Topic: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?
Replies: 303
Views: 6588

Re: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?

Has anyone tested the approach described in this post of creating a vector of letter counts rather than sorting? I tried that approach with 8th to generate map keys instead of sorting word alphabets. It ran about the same speed as my original version. I got a little help from the 8th forums and ver...
by ejolson
Thu Jul 18, 2019 4:55 pm
Forum: Off topic discussion
Topic: Something I'd like to see. ( USB to SATA bridge )
Replies: 36
Views: 1349

Re: Something I'd like to see.

Another thing that an official RPT product does is improve reliability. As a huge variety of substandard USB power supplies are available from multiple sources, reliability is clearly the reason for the official power supplies. The official development kit for the current compute module will need so...
by ejolson
Thu Jul 18, 2019 4:29 pm
Forum: General discussion
Topic: Is it possible to survive only on raspberry pi 4b4?
Replies: 15
Views: 541

Re: Is it possible to survive only on raspberry pi 4b4?

(I really have trouble understanding people who only have *one* computer. What do they do if it needs to be repaired?) I repair it (says the guy with a Win10 Gaming laptop, a Chromebook and 4 Raspberry Pi computers on the desk in front of him...) ;) If the SD card gets corrupted, it's very handy to...
by ejolson
Thu Jul 18, 2019 2:54 pm
Forum: General discussion
Topic: Is it possible to survive only on raspberry pi 4b4?
Replies: 15
Views: 541

Re: Is it possible to survive only on raspberry pi 4b4?

epoch1970 wrote:
Thu Jul 18, 2019 2:49 pm
jahboater wrote:
Thu Jul 18, 2019 2:40 pm
My cat sleeps on top of my powerful Intel PC. She likes warmth.

Sadly the Raspberry Pi is too small.
Apparently the Pi is okay, still...
https://twitter.com/Raspberry_Pi/status ... 6558006272
If trading the PC for a Pi, better trade the cat for a hamster at the same time.
by ejolson
Thu Jul 18, 2019 2:24 pm
Forum: General discussion
Topic: Is it possible to survive only on raspberry pi 4b4?
Replies: 15
Views: 541

Re: Is it possible to survive only on raspberry pi 4b4?

I have been using a raspberry pi 4 B 4GB as a desktop for over a week now and have never fased any difficulties what so ever and everything is working flawlessly. This sbc is truly a desktop replacement for me. Now I am thinking to sell my old Ubuntu desktop. Also all of the programs I used on my o...
by ejolson
Thu Jul 18, 2019 2:14 pm
Forum: Networking and servers
Topic: SOLVED PiServer in a School not finding 25 * RP3B+
Replies: 4
Views: 176

Re: PiServer in a School not finding 25 * RP3B+

I have built a new computer room in a School with 26 RP3B+, a laptop running PiServer and here is the PROBLEM I think the SCHOOL LOCAL AREA NETWORK! Do you accidentally have multiple DHCP servers on the network? Alternatively, use a tiny SD card on each machine to load the kernel and an initial RAM...
by ejolson
Thu Jul 18, 2019 9:39 am
Forum: Networking and servers
Topic: Pondering a NAS project... with a bit of a twist
Replies: 6
Views: 224

Re: Pondering a NAS project... with a bit of a twist

epoch1970 wrote:
Thu Jul 18, 2019 8:03 am
a collection of NFS servers and a well-defined names domain.
What does this mean?
by ejolson
Thu Jul 18, 2019 9:35 am
Forum: Networking and servers
Topic: Pondering a NAS project... with a bit of a twist
Replies: 6
Views: 224

Re: Pondering a NAS project... with a bit of a twist

I've got an aging NAS here that has served me well, but I'm also seriously contemplating future replacement/expansion. I'm also looking for more things to do with RPIs :D The idea I keep coming back to is a bramble NAS where each Pi is responsible for one (or perhaps two) discs. This way, when it's...
by ejolson
Wed Jul 17, 2019 8:22 pm
Forum: C/C++
Topic: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?
Replies: 303
Views: 6588

Re: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?

DavidS, I do sympathize. I also constantly marvel at the mind bending insanity of the ever increasingly complex and tortuous C++ syntax and semantics. Not to mention that swamp which is the STL. It's gotten so bad that even Bjarne Stroustrup himself has noticed. The last time I heard him talk in a,...
by ejolson
Wed Jul 17, 2019 6:35 pm
Forum: C/C++
Topic: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?
Replies: 303
Views: 6588

Re: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?

Would it be possible to replace the msortchar() function (which looks very slow) with qsort() ? Yes, that is entirely possible: $ cat strsort.c #include <stdio.h> #include <string.h> #include <stdlib.h> int charcmp(const void *a, const void *b) { return *(char *)a - *(char *)b; } int main(void) { c...
by ejolson
Wed Jul 17, 2019 4:34 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 502
Views: 19139

Re: Introduction to BBC BASIC

I forget what it is for Dartmouth BASIC (the basis of ANSI BASIC, and the original), though I have a feeling that it dissagrees with MS-BASIC. In Dartmouth Basic LOG refers to the natural logarithm. In most mathematics texts beyond Calculus log also refers to natural logarithm. Since log10(x)=log(x...
by ejolson
Wed Jul 17, 2019 3:16 pm
Forum: General discussion
Topic: Booting Pi4 from a Pi3B+ install
Replies: 2
Views: 159

Re: Booting Pi4 from a Pi3B+ install

My Pi3b+ is dead, so I was wondering if I buy a Pi4 and put the Pi3b+ SD card in will it boot and work with the already installed Raspbian stretch os or do I have to start fresh? I would suggest starting with a fresh install and a fresh SD card. Keep the older one and mount it as an external drive ...
by ejolson
Wed Jul 17, 2019 2:42 pm
Forum: Networking and servers
Topic: Pi NAS – 3 USB 3.0 HDDs and Raspberry Pi 4b 4GB RAM, Powered USB Hub Suggestion?
Replies: 4
Views: 403

Re: Pi NAS – 3 USB 3.0 HDDs and Raspberry Pi 4b 4GB RAM, Powered USB Hub Suggestion?

Other alternative is to use the Powered Hub just for the HDDs and power the Pi with OEM Power Supply. This is a better choice if the HDDs are not self-powered, just like the WD Elements Portable You need to get advise on known working self-powered USB3.0 hubs for the RPi, as not all self-powered US...
by ejolson
Wed Jul 17, 2019 6:32 am
Forum: General discussion
Topic: A Pi Pie Chart
Replies: 111
Views: 9882

Re: A Pi Pie Chart

Quick first test at the desktop with temps being displayed in the top corner. (This is a slow fan blowing down-ish over the naked Pi. It is also a quick overclock test. Worked first time and has been looping an webgl2 aquarium for over an hour, room temp probably 24ishC) 1.75GHz ARM / 600MHz GPU / ...
by ejolson
Wed Jul 17, 2019 6:22 am
Forum: General discussion
Topic: Usefull / good programs to have on your Pi
Replies: 22
Views: 1017

Re: Usefull / good programs to have on your Pi

apt-get install mc back to 1993(for me) Yep Midnight Commander is a must. File manager and editor that even works remotely over ssh ;) _________________________________________ / Another program I find useful and good \ | to install on Raspbian is the real | | xterm, because I use the Tektronix 401...

Go to advanced search