Go to advanced search

by bensimmo
Sat May 18, 2019 9:44 am
Forum: Other programming languages
Topic: General language discussion.
Replies: 176
Views: 6144

Re: General language discussion.

I don't mind the challenge of either the pointless small or nice and large fibo. It's just the constant match between the two of you in every thread that has any inclination to programming or numbers. Start a topic and keep the challenge going, you don't even need to wrap it up, especially if anothe...
by bensimmo
Sat May 18, 2019 9:38 am
Forum: Camera board
Topic: Blue filter camera module
Replies: 5
Views: 283

Re: Blue filter camera module

Remembering back, there have been a few blog or MagPi articles on plant analysis. See if you can find them and see how they mounted them. Also try a search with Public Lab may also have something. A search on NDVI Pi Camera Noir May bring others here the NCBI article I remember https://www.ncbi.nlm....
by bensimmo
Sat May 18, 2019 9:23 am
Forum: Other programming languages
Topic: General language discussion.
Replies: 176
Views: 6144

Re: General language discussion.

It would be nice if the fibo(big number) and fibo(pointlessly small number) challenge and talk was contained in their own topics, so nobody else has to wade through it all It's now scattered in to yet another, could have been interesting thread). I might start actually reporting threads ((other than...
by bensimmo
Fri May 17, 2019 7:58 pm
Forum: General discussion
Topic: A Pi Pie Chart
Replies: 100
Views: 7316

Re: A Pi Pie Chart

It's command line only, so need to move it to the windows folders to view. Serial lets the processor run in turbo as it's not using all cores. Interestingly (maybe as I don't know the ins and out) in openmp the cpu trace for prime had them all max out, so stick at 4x 3.2GHz. the Merge seemed to drop...
by bensimmo
Fri May 17, 2019 7:40 pm
Forum: General discussion
Topic: A Pi Pie Chart
Replies: 100
Views: 7316

Re: A Pi Pie Chart

Just a quick run, first go. [email protected]:~/pichart-30$ make gcc -std=gnu99 -O3 -mtune=native -march=native -Wall -o pichart-serial pichart.c util.c sieve.c merge.c fourier.c lorenz.c -lm gcc -std=gnu99 -O3 -mtune=native -march=native -Wall -fopenmp -o pichart-openmp pichart.c util.c sieve.c merge.c fourie...
by bensimmo
Fri May 17, 2019 10:40 am
Forum: Off topic discussion
Topic: Where is Administration raspberrypi.org??
Replies: 9
Views: 1016

Re: Where is Administration raspberrypi.org??

Or use the Contact Us links and options.
It's on every page I think, down the bottom.
https://www.raspberrypi.org/contact/
by bensimmo
Fri May 17, 2019 8:49 am
Forum: Python
Topic: Running two functions simultaneously via Threading
Replies: 10
Views: 1422

Re: Running two functions simultaneously via Threading

My rudimentary understanding,.. Isn't that because the GIL is release after some very short time, hence why for I/O it's fine, because there is a long delay in getting information back. It's just synchronization that isn't good. You could use other Pythons where the GIL is not used (?) Try multiproc...
by bensimmo
Fri May 17, 2019 8:10 am
Forum: General discussion
Topic: A Pi Pie Chart
Replies: 100
Views: 7316

Re: A Pi Pie Chart

The T5800 (and I can do others) is mine, *may have throttled*.
I'll get soem others up at some point.
I'll see if the 1GHz PentiumIII-m works
by bensimmo
Thu May 16, 2019 12:58 pm
Forum: Other programming languages
Topic: General language discussion.
Replies: 176
Views: 6144

Re: General language discussion.

Isn't that the advantage of .net, you can use VB, C#, F# whichever of the language families and they are all doing mostly the same thing. Porting between them isn't so bad either.
At least that was the dream.
by bensimmo
Thu May 16, 2019 6:45 am
Forum: Other programming languages
Topic: General language discussion.
Replies: 176
Views: 6144

Re: General language discussion.

Let me start off. I dislike the ridged formatting requirements of Python. It's tough enough getting your own code to run to be dinged by an indentation mistake. Is that a pain point you just learn to live with? How do Python users know an extension is available for what they just wrote natively? We...
by bensimmo
Thu May 16, 2019 6:27 am
Forum: General discussion
Topic: A Pi Pie Chart
Replies: 100
Views: 7316

Re: A Pi Pie Chart

"Celeron" What I did forget wa the Pentium Dual-Core wasn't an infill for the Celeron for a bit, but a level above the Celeron. So you can ignore that. The C2D did start when you say, but these are not Celeron. https://ark.intel.com/content/www/us/en/ark/products/34440/intel-celeron-processor-e1200-...
by bensimmo
Wed May 15, 2019 5:29 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1199
Views: 33731

Re: ScriptBasic

Though I seem to have missed a few pages, lol
by bensimmo
Wed May 15, 2019 5:29 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1199
Views: 33731

Re: ScriptBasic

In your link to Dennis Ritchie's history of C in another thread he notes there are many "descendants" of C; Concurrent C, Objective C, C*, C++, and we can add C# and others like Go and Rust, and probably more. I don't see that as much different to there being multiple descendants of BASIC. The desc...
by bensimmo
Wed May 15, 2019 8:25 am
Forum: General discussion
Topic: A Pi Pie Chart
Replies: 100
Views: 7316

Re: A Pi Pie Chart

What are the figures for a Intel Celeron Core Duo? Was that the first multicore Intel? Thought the Celeron came out four or five years after the Pentium D that had two cores. Not sure about the RISC or micro controller ranges Intel had created before this though as some of them had multiple chip so...
by bensimmo
Tue May 14, 2019 5:41 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1199
Views: 33731

Re: ScriptBasic

You missed Small Basic, my son was very happy using that until he hit its limits.
Managed to do all sorts of fun things.

Pantone 18-1754 perhaps?
Visual Basic for Applications is probably my most used Basic.


And people think Python programmers have it hard with V2 and V3
by bensimmo
Tue May 14, 2019 3:08 pm
Forum: General discussion
Topic: Which version of Phython is the default?
Replies: 2
Views: 115

Re: Which version of Phython is the default?

Both.
If you use python you get python2.x
If you use python3 you get python3.x
As you have found out

Going forward you'll want to use python3.

Things may change in the next version(s) of Raspbian and Debian change more and more code over to python3.
by bensimmo
Mon May 13, 2019 1:40 pm
Forum: Off topic discussion
Topic: is the pi worth it?
Replies: 103
Views: 6666

Re: is the pi worth it?

The other problem RPi has, is somebody will always find fault in it. Be it $5 at release time or have everything people asked for $35
by bensimmo
Mon May 13, 2019 12:43 pm
Forum: Automation, sensing and robotics
Topic: My temp sensor ds18b20 doesn't seems accurate
Replies: 14
Views: 580

Re: My temp sensor ds18b20 doesn't seems accurate

Well no temperature sensor is 100% accurate unless its been calibrated against a known good / calibrated thermometer. The DS18B20 has an accuracy of ±0.5°C Accuracy from -10°C to +85°C, but its still possible yours might be outside the error range depending were you got them from there of lots of r...
by bensimmo
Mon May 13, 2019 12:32 pm
Forum: Automation, sensing and robotics
Topic: My temp sensor ds18b20 doesn't seems accurate
Replies: 14
Views: 580

Re: My temp sensor ds18b20 doesn't seems accurate

It's much easier to debug in C as the device measures in C. Are you reading 11.5 and 12.0C or do you get the values in between. Or lot read to half a degreeC by default ... So the difference between 53F and 55C is just 1C, these have a 0.5C accuracy iirc, so if the reading is between two, that may b...
by bensimmo
Mon May 13, 2019 9:58 am
Forum: General discussion
Topic: A Pi Pie Chart
Replies: 100
Views: 7316

Re: A Pi Pie Chart

jahboater wrote:
Mon May 13, 2019 8:55 am
Thanks, makes sense.
But don't quote me, how it does it and if it can use all 6 (or 8) I do not know.
That's purely what I have read and understood how it behaves.
by bensimmo
Mon May 13, 2019 8:16 am
Forum: General discussion
Topic: A Pi Pie Chart
Replies: 100
Views: 7316

Re: A Pi Pie Chart

Go for the fast core, it should switch everything over to run on that if speed is needed
As with 8 core beasts too they are really just 4 slow and efficient or then use the 4 fast and a bit more power hungry iirc.
by bensimmo
Sun May 12, 2019 5:53 pm
Forum: General programming discussion
Topic: A Final Fibonacci Challenge
Replies: 616
Views: 18882

Re: A Second Age of Personal Computing

Mine has no floppy connector, about 4 years old now.
It has a gazillion usb connectors or headers that could be used, for your usb floppy drive
by bensimmo
Sun May 12, 2019 11:15 am
Forum: The MagPi
Topic: Etcher instruction wrong Issue 81
Replies: 29
Views: 2004

Re: Etcher instruction wrong Issue 81

As I was writing that, I knew it was wrong, but it looked good! Also, riding with your eyes closed isn't recommended - it hurts the head, damages the car, and bends the front forks. After that last, steering should be impossible, because the contact point is no longer in line with the steering mech...
by bensimmo
Sun May 12, 2019 7:53 am
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 200
Views: 10957

Re: Introduction to BBC BASIC

...
by bensimmo
Sat May 11, 2019 6:16 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1199
Views: 33731

Re: ScriptBasic

dp.

Go to advanced search