Go to advanced search

by RichardUK
Mon Jul 29, 2019 4:35 pm
Forum: Other projects
Topic: Putting my money where the foundations mouth is :)
Replies: 1
Views: 182

Putting my money where the foundations mouth is :)

Here is a picture of my Raspberry Pi 4 desktop. I will be starting my Masters in October so will be giving it a go as my study PC. :) Specs are: Rpi 4 - 4 GIG Two new AOC G2590VXQ 24.5 1080p monitors 7 port USB 3.0 powered port 32 GIG SD card for OS 128 gig USB 3.0 usb drive which has the home folde...
by RichardUK
Thu Jun 27, 2019 9:24 am
Forum: General discussion
Topic: Why do I not see 2x speed up in sysbench?
Replies: 5
Views: 634

Re: Why do I not see 2x speed up in sysbench?

Ta will give that ago. :)
by RichardUK
Wed Jun 26, 2019 10:44 pm
Forum: General discussion
Topic: Why do I not see 2x speed up in sysbench?
Replies: 5
Views: 634

Why do I not see 2x speed up in sysbench?

On the blog post it says "yielding performance increases over Raspberry Pi 3B+ of between two and four times, depending on the benchmark." when talking about moving to the newer CPU arch. And yet testing the CPU alone with sysbench shows only 15% speed up. confused.com :? Is sysbench that bad??? I h...
by RichardUK
Wed Jun 26, 2019 9:39 pm
Forum: Troubleshooting
Topic: Got the latest Raspbian light image, pip is not installed
Replies: 2
Views: 516

Got the latest Raspbian light image, pip is not installed

I've googled and seems I have to download a script from https://pip.pypa.io/en/stable/installing/
Is this script safe? Is pip in the disk image and I am missing something???

Ta :)
by RichardUK
Wed Jun 26, 2019 8:43 pm
Forum: General discussion
Topic: Here is a printable case I designed for the Rpi 4 :)
Replies: 2
Views: 592

Here is a printable case I designed for the Rpi 4 :)

In Tinkercad

On Thingiverse

It's a two part print, the base and the top. There are three options for the top part.

Image
by RichardUK
Wed Jun 26, 2019 12:55 pm
Forum: General discussion
Topic: Reasoning behind dual Micro HDMI, and potential future alternatives?
Replies: 76
Views: 6215

Re: Reasoning behind dual Micro HDMI, and potential future alternatives?

Is that a Matrix quote at the end? :D I think you're brave doing this dual display / micro hdmi, I think if I was involved I would have argued for retaining one normal size HDMI. Let the compute daughter board developers create a 'work station desktop computer' solution. But I am sure a lot would sa...
by RichardUK
Mon Jun 24, 2019 9:14 pm
Forum: General discussion
Topic: Raspberry Pi 4 Thread - general discussion
Replies: 861
Views: 86776

Re: Raspberry Pi 4 Thread - general discussion

Great news indeed! I ordered two boards - a 1GB, and a 2GB board, however I cannot find a 4GB board in stock in Canada, US, or UK. Please post here if you know any place eith 4GB in stock. Btw the additional i2c and uarts are great for my purposes. Last I check, the 4GB models won't be available ti...
by RichardUK
Mon Jun 24, 2019 9:06 pm
Forum: General discussion
Topic: Raspberry Pi 4 Thread - general discussion
Replies: 861
Views: 86776

Re: Raspberry Pi 4 Thread - general discussion

Waiting to see how much over clocking head room is. :) I'm just interested don't need to it. Any guesses??? :D https://www.tomshardware.com/reviews/raspberry-pi-4-b-overclocking,6188.html Thanks for the link, a good read. Seems a modest overclock can give noticeable results, just a question if the ...
by RichardUK
Mon Jun 24, 2019 5:47 pm
Forum: General discussion
Topic: Raspberry Pi 4 Thread - general discussion
Replies: 861
Views: 86776

Re: Raspberry Pi 4 Thread - general discussion

Waiting to see how much over clocking head room is. :) I'm just interested don't need to it. Any guesses??? :D
by RichardUK
Mon Jun 24, 2019 5:43 pm
Forum: General discussion
Topic: Raspberry Pi 4 Thread - general discussion
Replies: 861
Views: 86776

Re: Raspberry Pi 4 Thread - general discussion

Do you know if the I2C bug has been corrected in the BCM2711 ? (bug about the I2C clock stretching, has been there since a decade) This question also interests me. Does anyone know the answer to it? Another great product from the Raspberry Pi team. Can't wait to get my hands on one (when the 4GB on...
by RichardUK
Mon Jun 24, 2019 5:40 pm
Forum: General discussion
Topic: I don't understand the point of still using USB 2.0
Replies: 12
Views: 778

Re: I don't understand the point of still using USB 2.0

Yes I was wondering why it had only 2 USB 3.0. I think your suggestions are spot on.
by RichardUK
Wed Oct 18, 2017 10:15 am
Forum: C/C++
Topic: My alternative to using Make
Replies: 17
Views: 2575

Re: My alternative to using Make

How do you cope with all the scheduling when running multiple compilations in parallel? The Pi3 has four cores - might as well use them! That does seem hard in shell script. I'm using C++11 and some of the additions to the standard library has made it easier. It does use all the CPU cores you have,...
by RichardUK
Tue Oct 17, 2017 10:38 am
Forum: C/C++
Topic: Anyone using distcc ?
Replies: 2
Views: 764

Re: Anyone using distcc ?

That looks interesting, thanks for the link. :)
by RichardUK
Tue Oct 17, 2017 10:27 am
Forum: C/C++
Topic: My alternative to using Make
Replies: 17
Views: 2575

Re: My alternative to using Make

CI refuse to use make files because I lose more time playing with them than writing code. Currently I am just using large bash scripts if I have to compile large repos on linux. Trouble is on the Raspberry Pi, it has slow disks and slow CPU's. So some sort of "make" tool is needed to 1) only compil...
by RichardUK
Tue Oct 17, 2017 10:18 am
Forum: C/C++
Topic: My alternative to using Make
Replies: 17
Views: 2575

Re: My alternative to using Make

Can I add a suggested feature shamelessly stolen from Visual Studio, Allow the option to select a directory and automatically add all the files in a directory to the solution. I am in the same boat as you, I refuse to use make files because I lose more time playing with them than writing code. Curr...
by RichardUK
Sun Oct 15, 2017 9:38 pm
Forum: C/C++
Topic: My alternative to using Make
Replies: 17
Views: 2575

Re: My alternative to using Make

As I understand it, make will be spawned many times and so there is some duplication of work. I think there is only one instance of the "make" process. Not from what I see with htop. Also when you use make with recursion, it spawns it self again and reloads the file. I used it to compile source fil...
by RichardUK
Sun Oct 15, 2017 1:08 pm
Forum: C/C++
Topic: My alternative to using Make
Replies: 17
Views: 2575

Re: My alternative to using Make

Make syntax is horrible for anything other than the basics. This is my experience, just a short coming of mine. Seen some very clear use of make but for me just got in the way. for software distributed as source, the "./configure && make && sudo make install" mantra should work on a bare system IMH...
by RichardUK
Sun Oct 15, 2017 1:03 pm
Forum: C/C++
Topic: My alternative to using Make
Replies: 17
Views: 2575

Re: My alternative to using Make

karrika wrote:
Sun Oct 15, 2017 12:10 pm
Many of my friends who got frustrated by the ancient Makefile syntax have moved to SCons. It can do lots of the things easily that Makefiles struggle with. Have a look at http://scons.org/

I am actually using both techniques today.
Thanks, I'll check it out. :)
by RichardUK
Sun Oct 15, 2017 1:01 pm
Forum: C/C++
Topic: My alternative to using Make
Replies: 17
Views: 2575

Re: My alternative to using Make

* Multithread compiling. * Single process used during entire build process that allows for increased speed of dependency checking between source files. What do you mean by multithread compiling in a single process? Its hard to understand how you can run multiple instances of GCC in separate threads...
by RichardUK
Sun Oct 15, 2017 11:19 am
Forum: C/C++
Topic: My alternative to using Make
Replies: 17
Views: 2575

My alternative to using Make

I've had to use make files for many many years yet I still find myself either failing to implement things like dependency checking or coming back to make files I wrote six months ago and having to reread the documentation. I have used CMake in the past but I don't like the swath of temp files it mak...
by RichardUK
Sun Oct 15, 2017 10:55 am
Forum: C/C++
Topic: Problem with longjmp on Pi Zero W
Replies: 16
Views: 3269

Re: Problem with longjmp on Pi Zero W

Anyway I think I may have taken the thread a little off piste, which is why I've reached out to the OP to see if I could find a solution or the issue. I hope you PM'd the right person as you PM'd me on this point and I couldn't let you know via PM as you have PM receipt disabled. Thanks, yes the wr...
by RichardUK
Sat Oct 14, 2017 7:57 am
Forum: C/C++
Topic: Problem with longjmp on Pi Zero W
Replies: 16
Views: 3269

Re: Problem with longjmp on Pi Zero W

Just do a divide by zero, that is even simpler, it's not right either. but it'll let you bail at any point. Will quit the interpreter too. (P.S don't ever do that :) ) Not right either ? longjmp isn't the best thing in the world but it's not wrong whereas doing a divide by zero to force a jump to a...
by RichardUK
Fri Oct 13, 2017 8:22 pm
Forum: C/C++
Topic: Problem with longjmp on Pi Zero W
Replies: 16
Views: 3269

Re: Problem with longjmp on Pi Zero W

never used longjump and don't think I've ever seen a need, How do you implement coroutines? :) When dealing with an interactive interpreter (like Python or Basic say), longjmp is a simple way of handling interrupts. Just do a divide by zero, that is even simpler, it's not right either. but it'll le...
by RichardUK
Fri Oct 13, 2017 8:12 pm
Forum: C/C++
Topic: Problem with longjmp on Pi Zero W
Replies: 16
Views: 3269

Re: Problem with longjmp on Pi Zero W

Its called 660 times in the code, so it may not be so easy to change each call to laboriously go back down the stack constantly checking error returns and so on. Yes I can see trying to alter and maintain code that is using this pattern can be a pain. Why doesn't everything just call error()? Have ...
by RichardUK
Fri Oct 13, 2017 1:40 pm
Forum: C/C++
Topic: Problem with longjmp on Pi Zero W
Replies: 16
Views: 3269

Re: Problem with longjmp on Pi Zero W

Are you using any C++ classes? This could be causing issues if a destructor itself is calling the error function or doing something else funky. As a side note, and I would expect may not interesting in coding style suggestions but.... I would recommend unwinding the stack and returning correctly wit...

Go to advanced search