Search found 20 matches
- Wed Nov 04, 2020 8:22 am
- Forum: Other programming languages
- Topic: C# Parallelism on Raspberry Pi doesn't work!
- Replies: 12
- Views: 1517
Re: C# Parallelism on Raspberry Pi doesn't work!
If you have a process that offsets some job to peripherals creating 800 threads makes perfect sense. An internet browser for example does it a lot. Another very common example an http server, which processes hundreds of simultaneous requests with access to a database ( maybe 99% of all servers in e...
- Tue Nov 03, 2020 5:03 pm
- Forum: Windows 10 for IoT
- Topic: Raspberry Pi 4 install win10 IOT solution?
- Replies: 16
- Views: 2920
Re: Raspberry Pi 4 install win10 IOT solution?
Taken a look at that stuff, and a little unsure of what MS's plan is from the supplied information. Also watched a few videos and still none the wiser. Would be interested to get a decent overview. For example, the videos I watched made a LED blink using C# and a bunch of IoT libraries, from the co...
- Thu Oct 29, 2020 2:07 pm
- Forum: Windows 10 for IoT
- Topic: Raspberry Pi 4 install win10 IOT solution?
- Replies: 16
- Views: 2920
Re: Raspberry Pi 4 install win10 IOT solution?
That's off-topic for this subforum (which is all about the dead and buried Win10 IoT operating system for the RPi 2/RPi3 - which died in Feb 2018). True enough, though many recent discussions (once the poster discovers W10 IoT is dead) lead to .NET Core, and I figured there's no harm done short-cir...
- Thu Oct 29, 2020 11:04 am
- Forum: Windows 10 for IoT
- Topic: Raspberry Pi 4 install win10 IOT solution?
- Replies: 16
- Views: 2920
Re: Raspberry Pi 4 install win10 IOT solution?
This work-in-progress is Microsoft's plan for IoT:
https://github.com/dotnet/iot
@mahjonng or @jamesh (does that work here?), maybe this warrants an update to the "please read" sticky?
https://github.com/dotnet/iot
@mahjonng or @jamesh (does that work here?), maybe this warrants an update to the "please read" sticky?
- Wed Oct 21, 2020 9:20 pm
- Forum: Other programming languages
- Topic: C# Parallelism on Raspberry Pi doesn't work!
- Replies: 12
- Views: 1517
Re: C# Parallelism on Raspberry Pi doesn't work!
Incidentally, as a "hold my beer, watch this" contribution to the library, I used the same approach to parallelize image convolution effects. A 3x3 matrix originally took about 3 seconds to process (it originally used the same 4-section Task.Run approach, and I think I was testing with v1 ...
- Wed Oct 21, 2020 9:10 pm
- Forum: Other programming languages
- Topic: C# Parallelism on Raspberry Pi doesn't work!
- Replies: 12
- Views: 1517
Re: C# Parallelism on Raspberry Pi doesn't work!
...which ended up being about 800 cells per frame... I thought I understood but now I don't again. How can spitting the job into 800 threads get any benefit on a 4 core machine? Unless your algorithms are such that splitting the work into little boxes like that is actually faster for some scalabili...
- Wed Oct 21, 2020 7:04 pm
- Forum: Other programming languages
- Topic: C# Parallelism on Raspberry Pi doesn't work!
- Replies: 12
- Views: 1517
Re: C# Parallelism on Raspberry Pi doesn't work!
Gotit. A stress test. Millions of threads started and stopped and doing there thing in an hour. Well ... not really like that, either. I have one of these setups running 24/7 doing motion detection on a 24FPS camera stream. When I first found the library, it split each frame into 4 sections and pro...
- Wed Oct 21, 2020 8:11 am
- Forum: Other programming languages
- Topic: C# Parallelism on Raspberry Pi doesn't work!
- Replies: 12
- Views: 1517
Re: C# Parallelism on Raspberry Pi doesn't work!
88.5 million threads over the course of an hour -- the point being, there were no lockups.
- Sat Oct 17, 2020 10:59 am
- Forum: Windows 10 for IoT
- Topic: Raspberry Pi 4 install win10 IOT solution?
- Replies: 16
- Views: 2920
Re: Raspberry Pi 4 install win10 IOT solution?
I agree, .NET on Pi OS is the way to go. It isn't that MS lost interest in IoT, it's that a completely separate OS was just unnecessary thanks to xplat .NET. Months ago, I found these getting-started instructions helpful -- he goes beyond just getting .NET Core working and a bit into pushing builds ...
- Sat Oct 17, 2020 10:49 am
- Forum: Other programming languages
- Topic: C# Parallelism on Raspberry Pi doesn't work!
- Replies: 12
- Views: 1517
Re: C# Parallelism on Raspberry Pi doesn't work!
Task.Run often gets stuck on the PI (I know this is a bit old, I don't visit here often.) I'm curious about why you say this. We make very heavy use of Task.Run and Parallel.ForEach multithreading (at the same time in some cases) in the MMALSharp camera library -- in the latter case running tens of...
- Sun Jul 12, 2020 4:10 pm
- Forum: Beginners
- Topic: Unsecure SMTP to secure GMail
- Replies: 4
- Views: 210
Re: Unsecure SMTP to secure GMail
Emailrelay did indeed work. The INSTALL file they provide is pretty good, but it took this n00b a couple days to get everything working. I had to sudo apt-get install libmbedtls-dev for TLS support, and run configure with --disable-gui and --without-pam before make was happy, but from there it was p...
- Sat Jul 11, 2020 1:40 pm
- Forum: General discussion
- Topic: Pi 4 with 10' power cable
- Replies: 5
- Views: 448
Re: Pi 4 with 10' power cable
I'm thinking something like this might do the trick, combined with a 2.1mm to USB-C adapter and a 2.1mm-connector extension cord.
https://www.adafruit.com/product/1466

https://www.adafruit.com/product/1466

- Sat Jul 11, 2020 1:10 pm
- Forum: General discussion
- Topic: Pi 4 with 10' power cable
- Replies: 5
- Views: 448
Pi 4 with 10' power cable
I have a need to mount some Pi 4 cameras in the transom windows above some doors. Getting to the outlets requires 8 to 10 foot power cables, depending on location. I keep reading that the Pi 4 is very sensitive to clean power input. So far I've only used the "official" power supplies, but ...
- Fri Jul 10, 2020 4:43 pm
- Forum: Beginners
- Topic: Determining Firmware Version on Pi4
- Replies: 3
- Views: 8893
Re: Determining Firmware Version on Pi4
This is a bit old but it's pretty high on Google. I thought the updater handled this: sudo rpi-eeprom-update Results: BCM2711 detected Dedicated VL805 EEPROM detected BOOTLOADER: up-to-date CURRENT: Thu 16 Apr 2020 05:11:26 PM UTC (1587057086) LATEST: Thu 16 Apr 2020 05:11:26 PM UTC (1587057086) FW ...
- Wed Jul 08, 2020 9:40 am
- Forum: Beginners
- Topic: Unsecure SMTP to secure GMail
- Replies: 4
- Views: 210
Re: Unsecure SMTP to secure GMail
This looks promising:
http://emailrelay.sourceforge.net/index.html
(People still use sourceforge in the age of github????)
http://emailrelay.sourceforge.net/index.html
(People still use sourceforge in the age of github????)
- Wed Jul 08, 2020 8:51 am
- Forum: Beginners
- Topic: Unsecure SMTP to secure GMail
- Replies: 4
- Views: 210
Re: Unsecure SMTP to secure GMail
Right, but I was thinking of something else to receive unsecured SMTP and forward that to either GMail directly or perhaps mstmp if that's easier for some reason.
- Tue Jul 07, 2020 9:50 pm
- Forum: Beginners
- Topic: Unsecure SMTP to secure GMail
- Replies: 4
- Views: 210
Unsecure SMTP to secure GMail
I have some older, cheap NAS boxes that can email alerts but only via port 25. They definitely don't support newer TLS versions, let alone SSL. I'm wondering, is it possible to set up a Pi to act as an unsecured SMTP relay on my internal network which can then forward to GMail securely? It has been ...
- Sat Jul 04, 2020 10:48 am
- Forum: Camera board
- Topic: Does auto sensor mode (0) imply binning based on res?
- Replies: 1
- Views: 158
Re: Does auto sensor mode (0) imply binning based on res?
Stumbled across this about auto-mode while trying to find an explanation of the pink hue: https://www.raspberrypi.org/forums/viewtopic.php?t=85714#p1383285 ...which links to these older docs (which are far more detailed than the current stuff, glad I found them): https://picamera.readthedocs.io/en/l...
- Fri Jul 03, 2020 4:06 pm
- Forum: Camera board
- Topic: Does auto sensor mode (0) imply binning based on res?
- Replies: 1
- Views: 158
Does auto sensor mode (0) imply binning based on res?
Sensor mode 0 is automatic, so if I set a resolution in raspivid which matches one of the binning modes, does that mean binning kicks in? If that's true, is that auto selection a raspivid feature, or a camera feature, or maybe MMAL? I'm wondering whether that also happens using other tools like cvlc...
- Sun Jun 28, 2020 4:49 pm
- Forum: Troubleshooting
- Topic: VNC "address book" entries only work once
- Replies: 0
- Views: 41
VNC "address book" entries only work once
Pi n00b here, and the last time I touched *nix was on an SGI Indigo in the mid 90s, so mostly a *nix n00b as well. I have the Pi 4 setup and working well headless, and I also have VNC server running, but the RealVNC client (Win10) can only do an initial connection. If I type "raspberrypi" ...