Go to advanced search

by PeterO
Mon Jul 15, 2019 7:19 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: 6621

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

Fractions may well be easy to understand, but you can be sure that if you are working adding hundreds of fractions with thousands of digits in their dividends and divisors, in your head, you will make mistakes. Most people cannot divide 99 by 2 in their heads. Give the answer as 45.5 Neither can yo...
by PeterO
Mon Jul 15, 2019 12:27 pm
Forum: OpenGLES
Topic: Full screen OpenGL ES on Pi 4
Replies: 21
Views: 1444

Re: Full screen OpenGL ES on Pi 4

cbratschi wrote:
Mon Jul 15, 2019 12:19 pm
And getting the same error:

* failed to add service - already in use?

Any ideas what could cause this?
You're trying to run old code that uses the nolonger available drivers.
PeterO
by PeterO
Mon Jul 15, 2019 7:25 am
Forum: C/C++
Topic: Threading undefined reference to symbol '[email protected]@GLIBC_2.4
Replies: 5
Views: 223

Re: Threading undefined reference to symbol '[email protected]@GLIBC_2.4

Sorry I have no experience with that.
PeterO
by PeterO
Sun Jul 14, 2019 7:58 am
Forum: Off topic discussion
Topic: OS Features, responce.
Replies: 42
Views: 1605

Re: OS Features, responce.

The fundamental problem with this whole thing is the belief that more speed is the only thing that leads to increased usability or usefulness.
PeterO
by PeterO
Fri Jul 12, 2019 8:48 pm
Forum: General discussion
Topic: Pi4 GPIO header disaster
Replies: 26
Views: 1380

Re: Pi4 GPIO header disaster

alphanumeric wrote:
Fri Jul 12, 2019 8:24 pm
To me it looks like somebody took a heat gun to it? Maybe trying to remove the GPIO header to swap gender or something/
The pin that fell out looks like it's never been properly soldered so did it come out of the factory like that ?
PeterO
by PeterO
Fri Jul 12, 2019 8:29 pm
Forum: General programming discussion
Topic: GUI Editor Code Challenge
Replies: 174
Views: 3566

Re: GUI Editor Code Challenge

GUI coding is not a lost art !
https://twitter.com/PeterOnion/status/1 ... 5305300994
PeterO
by PeterO
Fri Jul 12, 2019 6:14 pm
Forum: RISCOS
Topic: Proposal to show speed of RISC OS compared to Linux.
Replies: 59
Views: 1803

Re: Proposal to show speed of RISC OS compared to Linux.

If Stallman was "miffed" it was/is not about Hurd. He did initiate GCC. He did start the Free Software Foundation He did create the license used by Linux and many others. He did inspire the entire user land... ...that the fetal Linux needed to make progress at the crucial moment. He did quit his jo...
by PeterO
Fri Jul 12, 2019 5:41 pm
Forum: RISCOS
Topic: Proposal to show speed of RISC OS compared to Linux.
Replies: 59
Views: 1803

Re: Proposal to show speed of RISC OS compared to Linux.

It only came about when Richard Stallman got miffed that no one was using his kernel (Hurd), which now looks to be "dead in the water" as its web page has not updated for 2 years.
PeterO
by PeterO
Fri Jul 12, 2019 3:41 pm
Forum: Off topic discussion
Topic: OS Features, responce.
Replies: 42
Views: 1605

Re: OS Features, responce.

Firstly Linux provides almost no features at all, instead relying on third part libraries to provide most of the features. Really ? https://en.wikipedia.org/wiki/Category:Linux_kernel_features PeterO Yes really: ALSA, not part of GNU/Linux though a third party add on. RISC OS has SharedSound includ...
by PeterO
Fri Jul 12, 2019 3:06 pm
Forum: Off topic discussion
Topic: OS Features, responce.
Replies: 42
Views: 1605

Re: OS Features, responce.

DavidS wrote:
Fri Jul 12, 2019 2:49 pm
Firstly Linux provides almost no features at all, instead relying on third part libraries to provide most of the features.
Really ?
https://en.wikipedia.org/wiki/Category: ... l_features
PeterO
by PeterO
Fri Jul 12, 2019 1:59 pm
Forum: General discussion
Topic: Pi4 GPIO header disaster
Replies: 26
Views: 1380

Re: Pi4 GPIO header disaster

There are some really poor looking solder joints in those pictures. :( Is there a QA problem ?
PeterO
by PeterO
Fri Jul 12, 2019 1:43 pm
Forum: RISCOS
Topic: Proposal to show speed of RISC OS compared to Linux.
Replies: 59
Views: 1803

Re: Proposal to show speed of RISC OS compared to Linux.

Surely this should be based on the common set of features/facilities provided by both ? Since Linux doesn't provide GUI/UI then those features in RISCOS should be out of scope. Otherwise you are trying to load the scales in RISCOS favour by including the things that Linux doesn't provide because mod...
by PeterO
Fri Jul 12, 2019 12:50 pm
Forum: C/C++
Topic: Threading undefined reference to symbol '[email protected]@GLIBC_2.4
Replies: 5
Views: 223

Re: Threading undefined reference to symbol '[email protected]@GLIBC_2.4

norc89 wrote:
Fri Jul 12, 2019 12:44 pm
Hi,
Does anyone know the fix for my problem. When i add threading to my c++ raspberryApp i get error see the picture.
Thanks.
Google suggests adding -pthread to the compiler command.
PeterO :roll:
by PeterO
Fri Jul 12, 2019 8:42 am
Forum: Off topic discussion
Topic: Old fashioned fault finding....
Replies: 20
Views: 860

Re: Old fashioned fault finding....

Imperf3kt wrote:
Fri Jul 12, 2019 8:31 am
Wait, it's a museum piece?
:roll:
What sort of programs do you make for that.
All sorts... Lately I've been using it to create and draw mazes
https://www.youtube.com/watch?time_cont ... XaSCHJYJDw
PeterO
by PeterO
Fri Jul 12, 2019 5:27 am
Forum: Off topic discussion
Topic: Old fashioned fault finding....
Replies: 20
Views: 860

Re: Old fashioned fault finding....

Imperf3kt wrote:
Fri Jul 12, 2019 1:47 am
Ultimately what I'm getting at is; why is such a system still in use when a Raspberry Pi is more than capable of emulating it?
TNMOC.png
TNMOC.png (13.17 KiB) Viewed 640 times
by PeterO
Thu Jul 11, 2019 9:14 pm
Forum: Troubleshooting
Topic: Pi 4 not booting
Replies: 14
Views: 1172

Re: Pi 4 not booting

PeterO wrote:
Tue Jul 02, 2019 7:20 pm
I have same issue, but I find just turning everything (Pi + monitors) on at the same time produced a reliable boot.
RPT are aware of this issue.
PeterO
Latest updates have fixed this now.

PeterO
by PeterO
Thu Jul 11, 2019 8:58 pm
Forum: Off topic discussion
Topic: Old fashioned fault finding....
Replies: 20
Views: 860

Re: Old fashioned fault finding....

We have to be a bit careful which machines we run together as we have caused fuses in the building substation to blow in the past ! I suspect they may have been a bit old but still....
PeterO
by PeterO
Thu Jul 11, 2019 8:44 pm
Forum: Off topic discussion
Topic: Old fashioned fault finding....
Replies: 20
Views: 860

Re: Old fashioned fault finding....

That wouldn't cause any problem. Compared to the 26 volts from the transformer any difference in diode voltage drop would have insignificant impact on the relative currents through the diodes. Transformer secondary voltage is nearer 60V peak at full load. The smoothing and regulation is not convent...
by PeterO
Thu Jul 11, 2019 8:32 pm
Forum: Off topic discussion
Topic: Old fashioned fault finding....
Replies: 20
Views: 860

Re: Old fashioned fault finding....

Correct me if I'm wrong (likely), but 23Ah at 26v is 598watt hours of juice. Used in "a few seconds" I know old computers used a lot of power, but that's a LOT Read the article (especially note Fig. 14). The battery is only "on load" during a mains failure. In normal use the battery charger is prov...
by PeterO
Thu Jul 11, 2019 8:28 pm
Forum: Off topic discussion
Topic: Old fashioned fault finding....
Replies: 20
Views: 860

Re: Old fashioned fault finding....

Yeah, but they may have had uneven volt drops when conducting. PeterO That wouldn't cause any problem. Compared to the 26 volts from the transformer any difference in diode voltage drop would have insignificant impact on the relative currents through the diodes. Transformer secondary voltage is nea...
by PeterO
Thu Jul 11, 2019 8:00 pm
Forum: Off topic discussion
Topic: Old fashioned fault finding....
Replies: 20
Views: 860

Re: Old fashioned fault finding....

Yeah, but they may have had uneven volt drops when conducting.
PeterO
by PeterO
Thu Jul 11, 2019 7:39 pm
Forum: Off topic discussion
Topic: Old fashioned fault finding....
Replies: 20
Views: 860

Re: Old fashioned fault finding....

Very wise to replace both diodes. Until the mains fuse blew, the working diode would have been very stressed on alternate half cycles. Twice normal voltage and only the resistance of the transformer winding to limit the current. Yes, which I why I was surprised they didn't both go. I don't know whi...
by PeterO
Thu Jul 11, 2019 6:47 pm
Forum: Off topic discussion
Topic: Old fashioned fault finding....
Replies: 20
Views: 860

Old fashioned fault finding....

Some may find this interesting :
https://www.tnmoc.org/notes-from-the-mu ... -the-diode
This is the machine that I emulate on my Pis so that I can develop software when I'm at home.
PeterO
by PeterO
Wed Jul 10, 2019 6:20 pm
Forum: General programming discussion
Topic: GUI Editor Code Challenge
Replies: 174
Views: 3566

Re: GUI Editor Code Challenge

ScriptBasic wrote:
Wed Jul 10, 2019 6:16 pm
🧟‍♂️

I lost Peter to the Java monster which vacuumed his brain of any C knowledge he once had.
My current C project has over 60,000 lines of code, so your talking utter nonsense as usual :roll:
PeterO

Go to advanced search