Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
matt_trentini
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
matt_trentini
3y ago
Just to be clear, not just data but bytecode will also be executed from flash too.
32.
▲
by
matt_trentini
3y ago
The company I work for uses MicroPython commercially, for medical devices. It's used in a growing number of commercial segments.
33.
▲
by
matt_trentini
3y ago
I'm an Aussie, have travelled pretty widely, am aware of Australia's flaws but, despite them, still think it's one of the best countries to live in.
34.
▲
by
matt_trentini
3y ago
There are a few; the wESP32 [1] is the nicest I've used but the Olimex ESP32-POE [2] is widely used too. The maker of the wESP32 also recently released a neat RP2040 based PoE solution you may be interested in: the RP2040-Shim [3] to m
35.
▲
by
matt_trentini
3y ago
I'm afraid you are imagining it. Dart pre-dates Flutter by a few years and had failed (a couple of times) as a web development language before Flutter chose to employ it. Would Dart be around today, outside of Google if not for Flutt
36.
▲
by
matt_trentini
3y ago
As well as the BLE/WiFi issue, there was another defect that prevented some devices from connecting to the Pico W over BLE reliably. Both have been resolved with this release.
37.
▲
by
matt_trentini
3y ago
What are you using to transfer the files? I'd be very keen to know if there are issues with the (officially supported) mpremote...
38.
▲
by
matt_trentini
3y ago
Very cool visualisation! Though I noticed a couple of odd groupings - like that MicroPython was clustered in Arduinoria rather than the adjacent MicroPythonia... :P
39.
▲
MicroPython v1.20.0 has been released
(github.com)
1 points
by
matt_trentini
3y ago
|
1 comments
40.
▲
by
matt_trentini
3y ago
After >10 months, >1000 mainline commits from >100 contributors, we have a new version of MicroPython: Say hello to v1.20.0!
41.
▲
by
matt_trentini
4y ago
Looks great! Thanks for your work on this. I had the same minor install issue, specifically needed to do the following: >chmod +x git-log-format.sh generate-db.sh >python -m venv .venv >source .venv/bin/activate
42.
▲
by
matt_trentini
4y ago
Thonny is a wonderful, gentle introduction to using MicroPython on devices. It's well-designed and careful thought has been invested in the UI. However, experienced developers may appreciate the extra features of using their favourite
43.
▲
by
matt_trentini
4y ago
In case you're not aware, there's some promising work on DMA for the rp2 in PR 7641: https://github.com/micropython/micropython/pull/7641
44.
▲
by
matt_trentini
4y ago
The company I work for uses MicroPython for medical devices up to Class B. So, yes, it can definitely be used for serious work! If do you have real-timeish needs, MP makes it pretty easy to write modules in C.
45.
▲
by
matt_trentini
4y ago
I'm genuinely curious how you've determined that "most activity" is on CircuitPython? I'm close to both projects and they are both highly active. MicroPython tends to be lower-level and a little more under-the-rad
46.
▲
by
matt_trentini
4y ago
We use MicroPython commercially so my perspective is different. :) I do agree with your intent though; just because you're using a high-level language it doesn't excuse you from learning how the hardware works. However, if you do
47.
▲
by
matt_trentini
4y ago
Actually, the MicroPython build for the Raspberry Pi Pico W has already been integrated into the CI pipeline: https://micropython.org/download/rp2-pico-w/
48.
▲
by
matt_trentini
4y ago
MicroPython provides a way to stop the GC (and an exception will be raised if memory is attempted to be allocated). This provides us with most of the control we require...
49.
▲
by
matt_trentini
4y ago
They're slower if you spend cpu-intensive time in the interpreter. If you're calling wrappers for C functions then there's little difference. For example, sending SPI or I2C data are effectively identical. Same too if you wan
50.
▲
by
matt_trentini
4y ago
RShell is a nice tool but the 'official' way to interact with a MicroPython device is with mpremote [1]. One of the key features of mpremote is that it allows folders to be mounted on your device from your PC . For me, this allow
51.
▲
by
matt_trentini
4y ago
I don't personally use the Zephyr port, though it has plenty of potential. But it's worth sharing that the Renode folks have put together a MicroPython on Zephyr dashboard to show that at least 90 of their simulated boards appear
52.
▲
by
matt_trentini
4y ago
Thanks for telling us what MicroPython is for. :P (BTW, I can't vouch for NASA or SpaceX, but it's no secret that the European Space Agency has been working with MicroPython for many years.) I don't disagree that reliability,
53.
▲
by
matt_trentini
4y ago
Yes, but that doesn't give you a free pass. :) My colleague gave a good talk on how we use MicroPython, as SOUP, in our devices: https://www.youtube.com/watch?v=YovngSLXoxw
54.
▲
by
matt_trentini
4y ago
Managing memory use is one of the key concerns, particularly if you require long uptimes. Memory fragmentation can be a serious issue if you ignore it. But MicroPython's gc is fairly simple and easy to reason with. We've gotten a
55.
▲
by
matt_trentini
4y ago
What are your edge cases?
56.
▲
by
matt_trentini
4y ago
The MicroPython interpreter is very robust and well tested. We test our devices extensively. You need to pay attention to gc performance, memory use and fragmentation but this isn't our first rodeo! Systems are typically fragile becaus
57.
▲
by
matt_trentini
4y ago
Manufacturing at scale. Though these are medical - not consumer - devices so we're not talking hundreds of thousands of units. Think high-quality, injection molded, moderately sophisticated devices. Typically hundreds and up to several
58.
▲
by
matt_trentini
4y ago
> You have to have the right people. Yes, true! I presented a lightning talk to colleagues on "Ingredients for Commercial MicroPython Success". One of the key points is "People are critical". Maybe folks here might fi
59.
▲
by
matt_trentini
4y ago
Not in my experience; 32 bit MCUs are cheap and powerful these days and reducing the development time by a significant margin - our projects have seen 15-30% reductions compared to our equivalent C estimates - is well worth considering. I&#
60.
▲
by
matt_trentini
4y ago
The company I work for uses MicroPython commercially to build medical devices. It hasn't fallen apart for us. Indeed, it's helped deliver high-quality solutions quickly...
More ›