Go to advanced search

by helpme
Fri Jul 10, 2020 1:03 am
Forum: Other programming languages
Topic: Anyone using Rust on a PI ?
Replies: 72
Views: 19238

Re: Anyone using Rust on a PI ?

Which cross-compilers do you folks here use to conveniently compile code developed on PC to Rpi?
by helpme
Tue Jun 30, 2020 11:13 am
Forum: Ubuntu
Topic: For server applications, is Ubuntu server better than Raspbian on rpi 4?
Replies: 13
Views: 771

Re: For server applications, is Ubuntu server better than Raspbian on rpi 4?

I was wondering whether Ubuntu server 20.04 would be a better choice than raspbian if one were running server applications on Raspberry pi 4. Anyone tried Ubuntu server on raspberry pi 4? How was the experience? What problems did you encounter? Slow speed? Is raspbian better? I installed Focal Foss...
by helpme
Sat Jun 27, 2020 12:58 am
Forum: Ubuntu
Topic: For server applications, is Ubuntu server better than Raspbian on rpi 4?
Replies: 13
Views: 771

Re: For server applications, is Ubuntu server better than Raspbian on rpi 4?

any rpi os, can do the job, it's just a matter of preference. for ubuntu you need ethernet/lan & gui stuff kinda sucks, so best if you intend headless/ no gui. for mine i've gone with dietpi os. Can Rpi Wifi work in Ubuntu? This is a concern. I believe most rpi applications are headless since Rpi i...
by helpme
Sat Jun 27, 2020 12:26 am
Forum: Ubuntu
Topic: For server applications, is Ubuntu server better than Raspbian on rpi 4?
Replies: 13
Views: 771

For server applications, is Ubuntu server better than Raspbian on rpi 4?

I was wondering whether Ubuntu server 20.04 would be a better choice than raspbian if one were running server applications on Raspberry pi 4.

Anyone tried Ubuntu server on raspberry pi 4? How was the experience? What problems did you encounter? Slow speed? Is raspbian better?
by helpme
Sun Sep 08, 2019 1:49 pm
Forum: General discussion
Topic: Good reasons to buy the latest Rpi 4 with 4G RAM?
Replies: 34
Views: 4397

Good reasons to buy the latest Rpi 4 with 4G RAM?

Thinking of whether to buy the latest Rpi 4 with 4G RAM. What are some good reasons to buy the latest Rpi 4? What are some applications that can only be handled by the latest Rpi4 and cannot be handled by older versions?
by helpme
Sun Aug 27, 2017 7:02 am
Forum: Raspberry Pi Desktop for PC and Mac
Topic: What is the purpose of Desktop Debian x86 image?
Replies: 13
Views: 6801

What is the purpose of Desktop Debian x86 image?

I just saw this new Rasbian x86 image that can be installed onto PC. I don't quite catch the purpose of this image given that it cannot talk to outside world through hardware interfaces. I am trying to understand its applications. Can anyone advise?
by helpme
Fri Aug 25, 2017 6:22 am
Forum: Raspberry Pi OS
Topic: Is python 3 the default python version in Raspbian Stretch?
Replies: 3
Views: 13585

Re: Is python 3 the default python version in Raspbian Stretch?

klricks wrote:
Fri Aug 25, 2017 6:12 am
helpme wrote:
Fri Aug 25, 2017 5:59 am
I have been longing for this to happen. is python 3 now the default version in Stretch?
What do you mean by default?
Python 2.7.13 and and 3.5.3 are both installed.
Default means when I type "python" at command line, v3 is used and not v2.
by helpme
Fri Aug 25, 2017 5:59 am
Forum: Raspberry Pi OS
Topic: Is python 3 the default python version in Raspbian Stretch?
Replies: 3
Views: 13585

Is python 3 the default python version in Raspbian Stretch?

I have been longing for this to happen. is python 3 now the default version in Stretch?
by helpme
Fri Aug 25, 2017 5:46 am
Forum: Raspberry Pi OS
Topic: What are some reasons to upgrade from jessie to stretch?
Replies: 9
Views: 3775

What are some reasons to upgrade from jessie to stretch?

What are some new features in stretch that makes it compelling to upgrade from jessie to stretch?
by helpme
Wed Aug 23, 2017 11:54 pm
Forum: Bare metal, Assembly language
Topic: What are situations to use bare metal when python is so much easier?
Replies: 74
Views: 16573

Re: What are situations to use bare metal when python is so much easier?

That has to be the weirdest comparison ever, it's actually hard to find common ground to even compare anything :-) Anywhere you can run python you certainly won't be baremetal programming. You can run python on Raspberry Pi, yet this is a forum for discussing baremetal programming on Raspberry Pi. ...
by helpme
Wed Aug 23, 2017 12:51 pm
Forum: Bare metal, Assembly language
Topic: What are situations to use bare metal when python is so much easier?
Replies: 74
Views: 16573

Re: What are situations to use bare metal when python is so much easier?

That has to be the weirdest comparison ever, it's actually hard to find common ground to even compare anything :-) Anywhere you can run python you certainly won't be baremetal programming. You can run python on Raspberry Pi, yet this is a forum for discussing baremetal programming on Raspberry Pi.
by helpme
Wed Aug 23, 2017 6:13 am
Forum: Bare metal, Assembly language
Topic: What are situations to use bare metal when python is so much easier?
Replies: 74
Views: 16573

Re: What are situations to use bare metal when python is so much easier?

Wouldn't it make more sense to use a cheaper 32-bit MCU like STM32 for real-time guarantees? Possibly, but how many 32-bit MCU's have 1080p HDMI output and 512MB of RAM for under £10 including tax and postage? (Pi Zero) Driving the video output via framebuffer in bare metal is pretty simple. Ahh......
by helpme
Wed Aug 23, 2017 6:03 am
Forum: Bare metal, Assembly language
Topic: What are situations to use bare metal when python is so much easier?
Replies: 74
Views: 16573

Re: What are situations to use bare metal when python is so much easier?

People who write bare-metal often want to meet precise timing requirements. Raspbian is a pre-emptive multitasking desktop system and CPython employs automatic garbage-collection so you don't get any realtime guarantees with both. ghans Wouldn't it make more sense to use a cheaper 32-bit MCU like S...
by helpme
Wed Aug 23, 2017 5:55 am
Forum: Bare metal, Assembly language
Topic: What are situations to use bare metal when python is so much easier?
Replies: 74
Views: 16573

Re: What are situations to use bare metal when python is so much easier?

Reasons: Speed. Python is an script language and relatively slow (but better than some). Raw code works at full speed. Boot time. No OS to load means boot times are a few seconds. Minimal code means less to cause issues - it is only your code that is running, so you know what it is (should be) doin...
by helpme
Wed Aug 23, 2017 12:30 am
Forum: Off topic discussion
Topic: What are some useful home applications with Raspberry Pi to interest kids?
Replies: 4
Views: 1965

What are some useful home applications with Raspberry Pi to interest kids?

What are some problems you encounter at home which can be solved with the Raspberry Pi? I am searching for problems so that I can create solutions to interest my kids in engineering :)
by helpme
Wed Aug 23, 2017 12:28 am
Forum: Bare metal, Assembly language
Topic: What are situations to use bare metal when python is so much easier?
Replies: 74
Views: 16573

What are situations to use bare metal when python is so much easier?

Python code is readable and there are lots of ready libraries to use without reinventing the wheel. What are applications or situations to use bare metal code when python is so much easier?
by helpme
Sat Aug 19, 2017 12:23 am
Forum: Off topic discussion
Topic: What are some interesting RPi projects on Youtube?
Replies: 0
Views: 788

What are some interesting RPi projects on Youtube?

I would like to start a thread that collects interesting RPi projects on Youtube. Please share when you encounter any interesting projects. Even better if the interesting project is a money-making one :)

Thank you.
by helpme
Fri Aug 18, 2017 10:47 am
Forum: General discussion
Topic: What are some RPi development kits to interest kids in robotics and engineering?
Replies: 1
Views: 408

What are some RPi development kits to interest kids in robotics and engineering?

I want to interest my kids to robotics and engineering. What are some development kits to buy for this purpose?

I just found this.
https://www.dexterindustries.com/gopigo3/

Can forummers recommend any others? Price is not an important issue for the moment.
by helpme
Wed Aug 16, 2017 10:58 am
Forum: Python
Topic: How to combine these 3 lists into a single list of dictionary?
Replies: 7
Views: 1174

Re: How to combine these 3 lists into a single list of dictionary?

elParaguayo wrote:
Wed Aug 16, 2017 10:56 am
EDIT: Gah - by the time I'd managed to type a nice dictionary comprehension you'd found the answer!
Your solution is most welcome. Your solution may be better than mine. Thanks for the help!
by helpme
Wed Aug 16, 2017 10:57 am
Forum: Python
Topic: How to combine these 3 lists into a single list of dictionary?
Replies: 7
Views: 1174

Re: How to combine these 3 lists into a single list of dictionary?

EDIT: We've both done the same thing except you've used a dictionary comprehension which is a bit shorter but often harder to understand. How does this work for you? feature1_list = ['name1', 'name2', 'name3'] feature2_list = [1,2,3] feature3_list = [4,5,6] dictionary_list = [] for f1,f2,f3 in zip(...
by helpme
Wed Aug 16, 2017 10:49 am
Forum: Python
Topic: How to combine these 3 lists into a single list of dictionary?
Replies: 7
Views: 1174

Re: How to combine these 3 lists into a single list of dictionary?

I found the solution with the help of a guru.

Code: Select all

dict_list = [{'feature1': f1, 'feature2': f2, 'feature3': f3} for f1, f2, f3 in zip(feature1_list, feature2_list, feature3_list)]
by helpme
Wed Aug 16, 2017 10:26 am
Forum: Python
Topic: How to combine these 3 lists into a single list of dictionary?
Replies: 7
Views: 1174

How to combine these 3 lists into a single list of dictionary?

I have been grappling with this problem for some time. I have 3 python lists. feature1_list = [name1, name2, name3] feature2_list = [1,2,3] feature3_list = [4,5,6] I would like to combine these 3 lists into a list of dictionary that looks like this; dictionary_list = [{'feature1': 'name1', 'feature2...
by helpme
Sun Aug 30, 2015 1:06 am
Forum: General discussion
Topic: Why was Broadcom BCM2836 chosen as the CPU for RPi?
Replies: 9
Views: 9320

Re: Why was Broadcom BCM2836 chosen as the CPU for RPi?

Intel processors are (a) expensive compared to ARM chips, and (b) power hogs compared to ARM chips. One factor behind the choice of Broadcom is that Eben Upton and some of the others who did the initial work on the Pi work or worked for...Broadcom. Broadcom was generous enough to allow the RPF to b...
by helpme
Sun Aug 30, 2015 12:25 am
Forum: General discussion
Topic: How does Rpi keep its price so low as USD35?
Replies: 4
Views: 934

How does Rpi keep its price so low as USD35?

Rpi is really cheap at USD35. Thank you very much. Suppose a competitor wants to launch a similar board. What makes Rpi able to keep it cheaper than its competitor? How does Rpi keep its price so low as USD35?

Go to advanced search