Go to advanced search

by jahboater
Fri Jan 17, 2020 6:25 pm
Forum: Beginners
Topic: Unable to connect from Mac to Raspberry Pi4 using SSH
Replies: 7
Views: 295

Re: Unable to connect from Mac to Raspberry Pi4 using SSH

drgeoff wrote:
Fri Jan 17, 2020 6:13 pm
Is this another case of not being aware that Linux does not echo the password characters? Not even asterisks. Just press the keys on the keyboard and finish with the Enter/Retun key.
and make sure CapsLock is not set - its case sensitive!
by jahboater
Fri Jan 17, 2020 4:41 pm
Forum: Networking and servers
Topic: Updating Pis
Replies: 9
Views: 527

Re: Updating Pis

:geek: Hi guys, I have been using raspberry pis for a while but new to the forum. I was wondering if such a thing exists, I currently have 50+ rpis deployed at different sites, all they run is a chrome page in kiosk mode mainly. I would like to keep them all up to date etc without having to manuall...
by jahboater
Fri Jan 17, 2020 3:15 pm
Forum: Troubleshooting
Topic: Getting Permission to Edit Config.txt
Replies: 10
Views: 370

Re: Getting Permission to Edit Config.txt

GlowInTheDark wrote:
Fri Jan 17, 2020 1:24 pm
Or he just caught one of the mods on a bad day.
The forum rules are simple:
https://www.raspberrypi.org/forums/view ... 63&t=15137
A simple, unintentional, mistake by a new user is not reason for a ban.
Must be something else.
Back to topic, or I'll get banned :)
by jahboater
Fri Jan 17, 2020 2:41 pm
Forum: General discussion
Topic: How bad/good is cooling on the Raspberry pi 4?
Replies: 47
Views: 2349

Re: How bad/gpod is cooling on the Raspberry pi 4?

So trying to get the pi4 down to 40c is a cooling pipe dream? Seriously, some of the stuff I have the poor beasty do runs for hours and fairly heavy loads, so I like 50c better. If you can lower the temps by under-volting or similar then that's a good thing and will save electricity and global warm...
by jahboater
Fri Jan 17, 2020 10:50 am
Forum: Networking and servers
Topic: Change the text of a file remotely
Replies: 12
Views: 482

Re: Change the text of a file remotely

Can you please explain a little more . i think the ssh way can only work if you're and the raspebrry pi connected to the same network. I'm not an expert but I would expect ssh (and scp) to work to any host that you can address (can ping) that has ssh enabled. There must not be a firewall blocking p...
by jahboater
Fri Jan 17, 2020 1:45 am
Forum: Raspbian
Topic: Move Directory?
Replies: 28
Views: 1186

Re: Move Directory?

Its actually nothing to do with Linux.
Any system that supports a command line, including Windows and MacOS, will be exactly the same.
by jahboater
Fri Jan 17, 2020 1:11 am
Forum: Troubleshooting
Topic: Getting Permission to Edit Config.txt
Replies: 10
Views: 370

Re: Getting Permission to Edit Config.txt

I've typed just Sudo into the command box and then tried opening the config file editing it and then saving but it still won't let me. I've also tried typing sudo boot/config.txt but it says command not found. It does the same thing when just typing just boot/config.txt. You need to use a text edit...
by jahboater
Thu Jan 16, 2020 6:02 pm
Forum: Networking and servers
Topic: Change the text of a file remotely
Replies: 12
Views: 482

Re: Change the text of a file remotely

You can execute remote commands with ssh. ssh pi@host 'command list' The commands may be anything, including in your case "sed", or a home written program to change the text. As usual separate multiple commands with ';'. ssh will ask for Pi's password, however that can be avoided simply enough (ssh-...
by jahboater
Thu Jan 16, 2020 5:53 pm
Forum: Raspbian
Topic: Move Directory?
Replies: 28
Views: 1186

Re: Move Directory?

After searching around the web for the error I found out there needs to be a space before the /var/www I inserted the space and it moved the directory and contents to /var/www The thing is, how does it know that "Downloads/foo/var/www" is in fact two directories??? Looks just like one long path to ...
by jahboater
Thu Jan 16, 2020 4:39 pm
Forum: General discussion
Topic: How bad/good is cooling on the Raspberry pi 4?
Replies: 47
Views: 2349

Re: How bad/good is cooling on the Raspberry pi 4?

those sticky "thermal tapes" IMO are no good, thus I usually call those as stick "insulator tapes", and, depending on the orientation of the RPi, those have tendency to "move" by themselves..... moving with it the heatsink placed on top of it I agree its not ideal, but "proper" 3M blue thermal tape...
by jahboater
Thu Jan 16, 2020 12:13 pm
Forum: General discussion
Topic: How bad/good is cooling on the Raspberry pi 4?
Replies: 47
Views: 2349

Re: How bad/good is cooling on the Raspberry pi 4?

the best size for this type of heat sink on the RPi4B is 35 x 35 x 10, any wider than that you'll need a copper riser block in between the SoC and the big-bulky-heatsink Yes, interesting, thanks. I currently use a 30x30x10 with 3M sticky thermal tape. I guess its all moot with the latest DVFS firmw...
by jahboater
Thu Jan 16, 2020 12:05 pm
Forum: Beginners
Topic: Newbie, nothing on screen (with no OS on card)
Replies: 5
Views: 237

Re: Newbie

Download Raspbian from here:
https://www.raspberrypi.org/downloads/raspbian/
and follow the instructions.
by jahboater
Thu Jan 16, 2020 10:32 am
Forum: General discussion
Topic: Future of raspberry pi - software related
Replies: 382
Views: 23411

Re: Future of raspberry pi - software related

Another wish-list software item might be a set of cross compilers for the Pi included as a standard package on the x86 version of Raspberry Pi desktop for personal computers. In line with this suggestion, if a standard GPIO library were supported, it would be nice to have a virtual GPIO emulation l...
by jahboater
Thu Jan 16, 2020 9:49 am
Forum: General discussion
Topic: How bad/good is cooling on the Raspberry pi 4?
Replies: 47
Views: 2349

Re: How bad/gpod is cooling on the Raspberry pi 4?

X-Gen wrote:
Thu Jan 16, 2020 1:36 am
Another thing you could do, is just use a regular passive heatsink, preferably a machined type, like the one in picture below, with multiple fingers
Image
Could you post a link to a supplier for these?
by jahboater
Thu Jan 16, 2020 9:44 am
Forum: General discussion
Topic: Pi stock availability??
Replies: 4
Views: 327

Re: Pi stock availability??

Where are you?
The Pi Hut (fast and reliable in my experience) have stock of the Pi4 2GB and 4GB.
https://thepihut.com/products/raspberry-pi-4-model-b
by jahboater
Wed Jan 15, 2020 8:16 pm
Forum: General discussion
Topic: Future of raspberry pi - software related
Replies: 382
Views: 23411

Re: Future of raspberry pi - software related

Loads of nice thready stuff in section "7.26.5 Thread functions" How complete is it do you think, compared to pthreads? There is also 7.26 Threads <threads.h> 7.26.1 Introduction 7.26.2 Initialization functions 7.26.3 Condition variable functions 7.26.4 Mutex functions 7.26.5 Thread functions 7.26....
by jahboater
Wed Jan 15, 2020 5:49 pm
Forum: General discussion
Topic: Future of raspberry pi - software related
Replies: 382
Views: 23411

Re: Future of raspberry pi - software related

ejolson, Though I'm not sure it makes the best teaching language for introducing parallel processing into the beginning curriculum for students at early levels, do you have a link to the C18 standard? Search for ISO/IEC 9899:2018(E) I purchased it as a large PDF file from here I think: https://www.i...
by jahboater
Wed Jan 15, 2020 5:12 pm
Forum: General discussion
Topic: Future of raspberry pi - software related
Replies: 382
Views: 23411

Re: Future of raspberry pi - software related

Heater wrote:
Wed Jan 15, 2020 1:20 pm
Meanwhile the languages in common use don't support parallel processing very well. C does not. Not until you mix in pthreads or OpenMP.
C does have threads natively.
See the C18 ISO standard.
by jahboater
Wed Jan 15, 2020 8:46 am
Forum: General discussion
Topic: Future of raspberry pi - software related
Replies: 382
Views: 23411

Re: Future of raspberry pi - software related

ejolson wrote:
Wed Jan 15, 2020 3:06 am
It looks like you've discovered another great software request: Develop a new programming language for beginners to learn how to write parallel code.
Occam ?
by jahboater
Fri Jan 10, 2020 10:10 pm
Forum: Troubleshooting
Topic: Entropy of headless setup
Replies: 6
Views: 239

Re: Entropy of headless setup

epoch1970 wrote:
Fri Jan 10, 2020 9:08 pm
If by "OK" you mean "works" then yes it does work. Raspbian Lite (others?) comes preinstalled with rngd or haveged, I don't remember having seen processes fail or block waiting for entropy.
Isn't some entropy saved to disk so that its available immediately on boot up?
by jahboater
Fri Jan 10, 2020 9:06 pm
Forum: C/C++
Topic: Programming Language of the Year 2019 - according to TIOBE
Replies: 50
Views: 2403

Re: Programming Language of the Year 2019 - according to TIOBE

One forgets, sometimes, when using a high-level language the crucial role optimised assembler plays behind the scenes in standard runtime and subroutine libraries. That may decline. Recently some functions in the C math library (that were written in assembler) have been re-written in C. This was do...
by jahboater
Fri Jan 10, 2020 7:20 pm
Forum: Troubleshooting
Topic: SD cards
Replies: 17
Views: 401

Re: SD cards

If you are formatting the card to install NOOB's on it, then the simple answer is not to bother.

Use the Raspbian image from

https://www.raspberrypi.org/downloads/raspbian/

and copy it onto the SD card with Balena Etcher.

No need to format the disk first.
by jahboater
Fri Jan 10, 2020 7:15 pm
Forum: Beginners
Topic: I want to create a Desktop shortcut, that runs qlcplus --web --operate in LX-Terminal
Replies: 4
Views: 257

Re: File

Hoize wrote:
Fri Jan 10, 2020 4:37 pm
I want to create a file, that i can run and in the background a command gets executed. the command is qlcplus
This will run your command in the background ...

qlcplus &
by jahboater
Thu Jan 09, 2020 3:38 pm
Forum: C/C++
Topic: Programming Language of the Year 2019 - according to TIOBE
Replies: 50
Views: 2403

Re: Programming Language of the Year 2019 - according to TIOBE

C is no longer self hosting. So what does one now need to compile a latest spec C compiler ? A C and C++ compiler (GCC). I use the one that comes with the OS (GCC 8.3 for Raspbian) to build the latest version. The last stage of the build is to re-compile it all with the freshly built compiler. That...
by jahboater
Thu Jan 09, 2020 11:09 am
Forum: C/C++
Topic: Programming Language of the Year 2019 - according to TIOBE
Replies: 50
Views: 2403

Re: Programming Language of the Year 2019 - according to TIOBE

Heater wrote:
Thu Jan 09, 2020 10:45 am
In fact there is Go compiler that uses LLVM https://blog.gopheracademy.com/advent-2 ... ir-and-go/
It looks like GCC supports Go as well:

Code: Select all

   file.go
       Go source code.

   file.d
       D source code.

Go to advanced search