Go to advanced search

by buja
Thu Jan 23, 2020 10:31 am
Forum: Nederlands
Topic: inloggen via putty
Replies: 14
Views: 230

Re: inloggen via putty

Wat je gedaan hebt werkt gewoon precies zoals het hoort, je komt in de command line omgeving terecht, dus werken met het toetsenbord en pure tekst. Wil je de grafische omgeving gebruiken, dan is niet Putty maar Real VNC de tool die je moet hebben. Real VNC bestaat uit twee delen: de server op de Pi ...
by buja
Thu Jan 16, 2020 6:13 am
Forum: Off topic discussion
Topic: For those wanting a portable Pi...
Replies: 4
Views: 528

Re: For those wanting a portable Pi...

I have one (as already mentioned here: https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=236386). I use it with a Raspberry Pi and this works very well (2B, 3B). Compared to a VNC connection the image is much better (no scaling issues). You could say the Nexdock is the modern terminal: no CPU,...
by buja
Mon Jan 13, 2020 6:52 pm
Forum: Raspbian
Topic: System time not synchonizing with time servers
Replies: 3
Views: 192

Re: System time not synchonizing with time servers (solved)

Update: after the check this morning I powered the Pi down and went to work. When I came back home in the afternoon I started the Pi up again, time was set at this morning. I left home again and when I returned later the time was updated correctly about 15 minutes after boot. I can also see the Pi t...
by buja
Mon Jan 13, 2020 8:27 am
Forum: Advanced users
Topic: How to Differentiate RPI4 - 1 vs. 2 vs. 4 GB ?
Replies: 49
Views: 2032

Re: How to Differentiate RPI4 - 1 vs. 2 vs. 4 GB ?

The solution could be much simpler: a clear indication on the memory chip, preferably in big white characters instead of some obscure code in a hard to read colour. Not something the Pi manufacturer should have to do, but the manufacturer of the memory chip, encouraged to do so by the buyer of the ...
by buja
Mon Jan 13, 2020 5:51 am
Forum: Raspbian
Topic: System time not synchonizing with time servers
Replies: 3
Views: 192

Re: System time not synchonizing with time servers

Thanks! I kept the system running overnight and did sudo systemctl status systemd-timesyncd this morning with the following result: ● systemd-timesyncd.service - Network Time Synchronization Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled) Drop-In: /lib...
by buja
Sun Jan 12, 2020 10:05 pm
Forum: Advanced users
Topic: How to Differentiate RPI4 - 1 vs. 2 vs. 4 GB ?
Replies: 49
Views: 2032

Re: How to Differentiate RPI4 - 1 vs. 2 vs. 4 GB ?

The solution could be much simpler: a clear indication on the memory chip, preferably in big white characters instead of some obscure code in a hard to read colour. Not something the Pi manufacturer should have to do, but the manufacturer of the memory chip, encouraged to do so by the buyer of the m...
by buja
Sun Jan 12, 2020 9:25 pm
Forum: Raspbian
Topic: System time not synchonizing with time servers
Replies: 3
Views: 192

System time not synchonizing with time servers

I just started up a Pi 2B to an apt update , but it failed because the system time was wrong: 25 December. That was strange because it should have updated the system date during boot. A similar thing happened a couple of weeks ago on a PC and the solution was to restart the systemd time synchronizat...
by buja
Sun Jan 12, 2020 3:47 pm
Forum: Off topic discussion
Topic: is there *realy* an xkcd for everything?
Replies: 2
Views: 590

Re: is there *realy* an xkcd for everything?

bls wrote:
Sun Jan 12, 2020 3:11 pm
This one is applicable to this forum fairly often: https://xkcd.com/627/ :lol:
:lol:
by buja
Sun Jan 12, 2020 12:46 pm
Forum: Troubleshooting
Topic: Rescue files from a dying Pi
Replies: 6
Views: 448

Re: Rescue files from a dying Pi

Good news!

Just one more word: backup :!:
by buja
Sun Jan 12, 2020 11:24 am
Forum: Troubleshooting
Topic: Can't update/upgrade old raspi. :(
Replies: 10
Views: 262

Re: Can't update/upgrade old raspi. :(

Yes, Raspbian Buster runs very well on a 2B, no problem at all.
by buja
Sun Jan 12, 2020 10:47 am
Forum: Troubleshooting
Topic: Can't update/upgrade old raspi. :(
Replies: 10
Views: 262

Re: Can't update/upgrade old raspi. :(

Nothing wrong with a 2B, but Raspbian Wheezy is too old and I guess the links are not active anymore. Time for a fresh installation of Raspbian Buster. Backup your important files to a USB stick or something and put a fresh install of Raspbian Buster on the SD card. It might be a good time for a fre...
by buja
Sun Jan 12, 2020 8:00 am
Forum: Advanced users
Topic: How to Differentiate RPI4 - 1 vs. 2 vs. 4 GB ?
Replies: 49
Views: 2032

Re: How to Differentiate RPI4 - 1 vs. 2 vs. 4 GB ?

A bit stupid really that RAM size is not printed on the board, it's useful information and there is plenty of space for it.
The markings on the memory chip are hard to read and just a code, no indication of the size (unless you look up the type of course).
by buja
Sat Jan 11, 2020 4:42 pm
Forum: Troubleshooting
Topic: Rescue files from a dying Pi
Replies: 6
Views: 448

Re: Rescue files from a dying Pi

If you have another computer (Pi or PC) running Linux and a SD reader you can try to read the SD card and copy the important files.
(a Windows computer won't be able to read the file system)
by buja
Thu Jan 09, 2020 2:43 pm
Forum: C/C++
Topic: Programming Language of the Year 2019 - according to TIOBE
Replies: 50
Views: 2046

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

ejolson, C is no longer self hosting. If you want a C compiler written in C I'm sure there are many. Tiny C for example: https://bellard.org/tcc/ Quote from the Tiny C website: "I am no longer working on TCC." This seems to be the situation for many C (only) compilers. Pelles C for the Windows plat...
by buja
Wed Jan 08, 2020 12:07 pm
Forum: C/C++
Topic: Programming Language of the Year 2019 - according to TIOBE
Replies: 50
Views: 2046

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

Pi & Python is another combination?
Never heard of WASM before, but after looking it up I think it could be interesting (in combination with C).
by buja
Sat Jan 04, 2020 11:48 am
Forum: General discussion
Topic: Nexdock 2 - another shot
Replies: 10
Views: 1632

Re: Nexdock 2 - another shot

My new Pi year started with the delivery of the new Nexdock 2. I backed the Kickstarter campaign for it in March 2019, and on Thursday I collected the Nexdock at the pick-up point. :D Most important thing: it works! In fact, I am using it right now to write this post on a Pi 3B. It worked right out ...
by buja
Sun Dec 22, 2019 6:30 pm
Forum: C/C++
Topic: C++ FTP library or tools or... ? Need to automate getting and unzipping....
Replies: 2
Views: 239

Re: C++ FTP library or tools or... ? Need to automate getting and unzipping....

A combination of cron for the timing, wget for the downloading and an unzip program (not sure which one) would do the trick quite nicely. No need to use C, C++ or whatever programming language, just simple Linux tools.
by buja
Sat Nov 30, 2019 7:01 am
Forum: C/C++
Topic: gpio_fsel() won't set to output
Replies: 1
Views: 196

Re: gpio_fsel() won't set to output

Yes, I am afraid something is wrong with your BCM pin 18. This slightly modified version of your program works on my Pi. #include <stdio.h> #include <bcm2835.h> #define LED 18 int main(int argc, char **argv) { printf("hello, just starting the main loop\n"); if(!bcm2835_init()) return 1; bcm2835_gpio...
by buja
Sun Nov 17, 2019 5:40 pm
Forum: Beginners
Topic: Cant start Sonic Pi
Replies: 8
Views: 288

Re: Cant start Sonic Pi

Yes, I could hear the music playing through a set of PC speakers, connected to the Pi with a jack plug.
by buja
Sun Nov 17, 2019 1:06 pm
Forum: Beginners
Topic: Cant start Sonic Pi
Replies: 8
Views: 288

Re: Cant start Sonic Pi

The screenshot shows Sonic Pi version 2.10, it looks like you are trying to run some old stuff.

Raspbian Buster has version 3.1.0 in the repository and installed by default.
And it runs, as I am typing this Monday Blues is playing (it's one of the examples).
by buja
Tue Nov 05, 2019 6:35 pm
Forum: General programming discussion
Topic: git and merging branches
Replies: 7
Views: 874

Re: git and merging branches

I am not a git guru, but it seems to me that after merging your bugfix branch (I will call this bugfix1) with the master branch, the master branch is your new baseline. So any new bugfixes should be made on a new branch, say bugfix2, tested, and merged with the master branch again. There is no need ...
by buja
Fri Nov 01, 2019 10:52 am
Forum: HATs and other add-ons
Topic: LTE Hats which comply with CE
Replies: 1
Views: 361

Re: LTE Hats which comply with CE

The Waveshare one comes in different versions, one of which has CE.
Just below the prices you can choose the version you want.
by buja
Fri Nov 01, 2019 6:51 am
Forum: C/C++
Topic: How do I program a Sensor with C and no TP libraries
Replies: 17
Views: 1353

Re: How do I program a Sensor with C and no TP libraries

This question can be divided in two questions: 1. How to program with the GPIO's (reading and writing them)? 2. How to program a sensor? For question 1 the link mentioned above by Heater gives 5 possibilities, but if you don't want to use a third party library you can use only 2 of them. For questio...
by buja
Mon Oct 28, 2019 10:40 am
Forum: Beginners
Topic: BricsCAD on RPi4B 4GB
Replies: 4
Views: 462

Re: BricsCAD on RPi4B 4GB

I am afraid fruitoftheloom is right that BricsCAD is not going to run on a Pi, and even the next Ubuntu version will not solve that problem. LibreCAD could be a solution, however LibreCAD does not work with the DWG format but with the DXF format, so this would involve conversion. Replacing your old ...
by buja
Sat Oct 26, 2019 5:40 pm
Forum: Python
Topic: How to transform ADS1115 values to percent
Replies: 3
Views: 564

Re: How to transform ADS1115 values to percent

wet% = -0.00779 * reading + 176.74 (a simple matter of 2 linear equations with 2 unknowns, totally solvable)

That is, if the linear relationship applies and wet% in air is really 0%.

Go to advanced search