Go to advanced search

by bensimmo
Fri Apr 19, 2019 2:56 pm
Forum: Off topic discussion
Topic: Microsoft buys Express Logic
Replies: 3
Views: 146

Re: Microsoft buys Express Logic

Could be a good move, with MS's push to open thing up and use and contribute to open source now.

Who knows, it'll certainly be to get used with 'cloud' which is where their money is.
by bensimmo
Fri Apr 19, 2019 2:54 pm
Forum: HATs and other add-ons
Topic: Usb dvb
Replies: 8
Views: 182

Re: Usb dvb

The new testing Linux kernel may have support in it.

Best (or easiest for me) was to use LibreElec and TVHeadend and see if it picked it up.
It also has two other methods of getting a driver.
by bensimmo
Fri Apr 19, 2019 2:52 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: RPDesktop on Buster ?
Replies: 9
Views: 134

Re: RPDesktop on Buster ?

Yes, we follow the appropriate mailing lists. Despite being in freeze, our packages still get bumped by newer versions and there are still plenty of packages left to port across. Is the plan to release a dual 32/64 bit desktop or stick to the 32 bit desktop (ignoring the kernel as that seems to be ...
by bensimmo
Fri Apr 19, 2019 2:49 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: RPDesktop on Buster ?
Replies: 9
Views: 134

Re: RPDesktop on Buster ?

The short version would be that we are still working on Buster. Rebuilding for x86 at this point wouldn't be worth it because things will still change a lot before the release. That's fair and what I expected, I'll look at alternatives to use or may just go back as the new release will have all the...
by bensimmo
Thu Apr 18, 2019 5:24 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: RPDesktop on Buster ?
Replies: 9
Views: 134

Re: RPDesktop on Buster ?

x86 :-) (For any reference, HP G70 Core2DuoT5800/nvidiaGPU) Hence the forum section, but I know it's worth the check. I even refrained very hard from saying RaspbianX86 I have right click menu at the moment so nothing is urgent (unless others start updating to buster, like my curious self). It's not...
by bensimmo
Thu Apr 18, 2019 4:35 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: RPDesktop on Buster ?
Replies: 9
Views: 134

RPDesktop on Buster ?

Has anyone got RaspberryPi Desktop on Buster running. It seems to rely on something it can no longer have in buster so refuses to do it. (For the record I updated a RPD Stretch to Buster via apt via good old change any reference to stretch to buster). Python is working much faster as is my laptop no...
by bensimmo
Thu Apr 18, 2019 11:22 am
Forum: Beginners
Topic: Using GPIOZERO instead of Rpi.GPIO
Replies: 1
Views: 46

Re: Using GPIOZERO instead of Rpi.GPIO

Gpiozero is a bit like a nice wrapper around the gpio interfaces, making life easy.

Reading this may give some idea,
https://gpiozero.readthedocs.io/en/stab ... igpio.html
by bensimmo
Wed Apr 17, 2019 6:54 pm
Forum: Python
Topic: Updating Scipy 0.18 version to 1.2.1
Replies: 2
Views: 45

Re: Updating Scipy 0.18 version to 1.2.1

sudo pip install --upgrade scipy (for Python2.7)
sudo pip3 install --upgrade scipy ( for Python3)



Not sure if you'll need to purge it from apt first.
sudo apt purge python-scipy python3-scipy
by bensimmo
Wed Apr 17, 2019 6:44 pm
Forum: Python
Topic: How to save GPS Data to a text file?
Replies: 11
Views: 167

Re: How to save GPS Data to a text file?

That's all covered in the SenseHAT data logger. I would recommend using pynmea2 to parse the serial stream (Also use /dev/serial0 then it'll always point to the UART pins even if you change to a none WiFi Pi or disable Bluetooth etc). You then just loop, parse, save to CSV, on the serial read That's...
by bensimmo
Wed Apr 17, 2019 10:01 am
Forum: Python
Topic: How to save GPS Data to a text file?
Replies: 11
Views: 167

Re: How to save GPS Data to a text file?

Learn a bit of Python3 and a good way to do this and work out what you need to do is work your way through this project tutorial. https://projects.raspberrypi.org/en/projects/sense-hat-data-logger It's a datalogger (which is what you are doing ) but for the SenseHAT. Best part is you don't need a Se...
by bensimmo
Tue Apr 16, 2019 4:38 pm
Forum: General discussion
Topic: anemometer - how to 'average' readings
Replies: 17
Views: 426

Re: anemometer - how to 'average' readings

As a bit more help,
You may well want to work your way through this as needed.
https://projects.raspberrypi.org/en/pro ... er-station

It'll give you neater code and Wind Speed and Gust are in there.
You might be able to jump directly to that part.
by bensimmo
Mon Apr 15, 2019 10:32 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1858
Views: 71738

Re: Why Avoid BASIC on RPi?

Special? The Pi in RaspberryPi is for Python. Mainly as the choice of language that school children would be using. It is/(was and even more so) the go to beginners text only language. TBH not strictly true. I suppose Pi could in a small way relate to Python, but there are other reasons. True. As E...
by bensimmo
Sat Apr 13, 2019 5:20 pm
Forum: Raspbian
Topic: getting gps to work on raspberry pi 3
Replies: 23
Views: 650

Re: getting gps to work on raspberry pi 3

Sorry, basically it needs about 30mins outside, near a window to get its first fix, it should be quicker after that. You would need Ublox8 style for a lock indoors (or better chance of one) compared.to the ublox6 you have. cgps stops if it doesn't have a lock, gpsmon will normally keep on going. It ...
by bensimmo
Sat Apr 13, 2019 10:13 am
Forum: Raspbian
Topic: getting gps to work on raspberry pi 3
Replies: 23
Views: 650

Re: getting gps to work on raspberry pi 3

It's a Ublox GPS and gpsmon does everything itself, if it sees a native setup it will selected it native driver, he it seen the Ublox so you are getting Ublox data from it (not the nmea). Nothing to worry about Gpsd is correct, there is no -s, there is a -S port-number But GPAs sits in the backgroun...
by bensimmo
Sat Apr 13, 2019 9:32 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1858
Views: 71738

Re: Why Avoid BASIC on RPi?

Special?
The Pi in RaspberryPi is for Python.

Mainly as the choice of language that school children would be using.
It is/(was and even more so) the go to beginners text only language.
by bensimmo
Sat Apr 13, 2019 5:49 am
Forum: Off topic discussion
Topic: I know this sounds like something from a Spy novel or makes me sound a like a crazy person but...
Replies: 26
Views: 609

Re: I know this sounds like something from a Spy novel or makes me sound a like a crazy person but...

Gone off topic but The Pi is, but the 2006 "not a Pi Pi" based on the Atmel was "about the speed of a BBC Micro", one of its downsides, but it looked nice on strip/veroboard. It was also the inspiration of what Eben wanted to make and made Eben. (no basic mentioned by me) www.techrepublic.com/google...
by bensimmo
Fri Apr 12, 2019 9:01 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1858
Views: 71738

Re: Why Avoid BASIC on RPi?

Which if i remember correctly, was also shortly after Eben had not avoided basic, by doing a blog and talks on writing for BBC basic. https://www.raspberrypi.org/blog/learn-to-write-games-for-the-bbc-micro-with-eben/ Why not move to a more complicated programming setup that would aid teaching and s...
by bensimmo
Fri Apr 12, 2019 8:45 pm
Forum: Off topic discussion
Topic: I know this sounds like something from a Spy novel or makes me sound a like a crazy person but...
Replies: 26
Views: 609

Re: I know this sounds like something from a Spy novel or makes me sound a like a crazy person but...

Heater wrote:
Fri Apr 12, 2019 8:36 pm
Yes that is the story I got.

First Pi ideas/experiments used ATMEL. Not thought to be very attractive due to the lack of graphics.

Then Eben got a job at Broadcom and the idea of bolting an ARM core to the Video Core cam about.
Speed of a BBC Micro too.
by bensimmo
Fri Apr 12, 2019 8:02 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1858
Views: 71738

Re: Why Avoid BASIC on RPi?

Which if i remember correctly, was also shortly after Eben had not avoided basic, by doing a blog and talks on writing for BBC basic. https://www.raspberrypi.org/blog/learn-to-write-games-for-the-bbc-micro-with-eben/ Why not move to a more complicated programming setup that would aid teaching and sc...
by bensimmo
Fri Apr 12, 2019 7:33 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1858
Views: 71738

Re: Why Avoid BASIC on RPi?

jahboater, It's true that when selecting a language fro a task there is actually a lot more than just the actual language syntax and semantics to weigh up. Is it any kind of standard? Does it have a large use base? Is there good documentation, tutorial, books etc available for it? Are there multipl...
by bensimmo
Fri Apr 12, 2019 7:24 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1858
Views: 71738

Re: Why Avoid BASIC on RPi?

No master programmer or mathematician needed. Then who wrote the library? One of the ideas behind universal computer literacy is that many who know how to read and write programs are needed to educate the few who will actually do the work. Like other kinds of science, as work is completed it become...
by bensimmo
Fri Apr 12, 2019 7:21 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1858
Views: 71738

Re: Why Avoid BASIC on RPi?

No master programmer or mathematician needed. Then who wrote the library? To write that bit of code to do what was asked. Like using any bit of Python or BASIC requires somebody else to have done the hard work for you. Even with C it's the same, someone else has done the hard work to make it actual...
by bensimmo
Fri Apr 12, 2019 7:13 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1858
Views: 71738

Re: Why Avoid BASIC on RPi?

bensimmo, You are right of course. Any sane programmer would make use of whatever libraries and modules are available in his language. Better to use something well tested and performant than waste time reinventing the wheel badly. Often times such functions may well not be written in the language t...
by bensimmo
Fri Apr 12, 2019 6:51 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 156
Views: 2755

Re: ScriptBasic

Python 3.7 has a lot of speed improvements, making it faster than 2.7 for a lot of things, though load is still slower iirc. But I guess it's a wait to Buster to do some proper benchmarks. And for number crunching PyPy may be better So you're only as fast as the version you use as well. “Which is th...

Go to advanced search