Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
matt_trentini
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
matt_trentini
6mo ago
Oddly, the article didn't mention it - but the watch does have wifi.
2.
▲
by
matt_trentini
6mo ago
Waiting for my ManT1S: https://www.crowdsupply.com/silicognition/mant1s
3.
▲
by
matt_trentini
8mo ago
Where are you getting 20MHz from? The OG ESP32 is a dual-core 240MHz micro...
4.
▲
by
matt_trentini
8mo ago
Always double-check an LLM, particularly when it's just a quick(er) search away: https://docs.micropython.org/en/latest/genrst/index.html Specifically: JSON is built-in, logging is available. There'
5.
▲
by
matt_trentini
10mo ago
It's a good _start_; much more code needs to be written to allow control of the hardware of those devices (GPIO, I2C etc).
6.
▲
MicroPython v1.27 Released
(github.com)
3 points
by
matt_trentini
10mo ago
|
1 comments
7.
▲
by
matt_trentini
10mo ago
Support for more micros, a whole swag of new features and bugfixes - and further improvements to automated testing.
8.
▲
by
matt_trentini
1y ago
I can't reveal specific implementation details but I work for Planet Innovation: https://planetinnovation.com/ Some of our products use MicroPython though we also use a whole host of other technologies. Some of our dev
9.
▲
by
matt_trentini
1y ago
> Then why do they have 1300 issues open? There are 420 pull requests not merged... Because it's a large, widely-used project with relatively few core developers. Many other projects have similar numbers of issues, that's not
10.
▲
by
matt_trentini
1y ago
Unit test coverage is exceptionally high for the interpreter , and always has been: https://micropython.org/resources/code-coverage/ ('py' folder: 99.2% line, 88.7% branch coverage) Testing the port-spe
11.
▲
by
matt_trentini
1y ago
Carefully, at least for devices with higher classifications. Using pre/early allocation helps but, more importantly, we monitor memory use over time in realistic scenarios. We've built tooling, like a memory-profiler [1] that allo
12.
▲
by
matt_trentini
1y ago
Those are generous resources for MicroPython. And it'll be faster and less quirky to develop in than either Berry or Lua.
13.
▲
by
matt_trentini
1y ago
Yes, we use MicroPython for medical device development up to class B.
14.
▲
by
matt_trentini
1y ago
Speed: maybe, sometimes. Of course, MicroPython makes it very easy to create modules written in C, accessible from MicroPython. So if you need extra perf you can always write a smattering of C. Reliability: I don't see why Toit would b
15.
▲
by
matt_trentini
1y ago
It's obviously not directly comparable - each port will be different - but startup time is <50ms on an RP2040 (Cortex M0 @133MHz): https://github.com/micropython/micropython/issues/8420
16.
▲
by
matt_trentini
1y ago
Yes, it was chosen for low size and memory constraints. But it is limited in features (like counted repetitions): https://docs.micropython.org/en/latest/library/re.html so alternatives to provide additional f
17.
▲
by
matt_trentini
1y ago
Yes, although MicroPython is focused on running on microcontrollers it can be useful if you want to reduce memory consumption, flash space and even startup time on servers. The challenge is that MicroPython has many fewer standard libraries
18.
▲
by
matt_trentini
1y ago
Using search engines are still _significantly_ faster for me for the vast majority of the queries I want answers for. The results from LLMs are still too slow, vary too much in quality and still frequently hallucinate. My typical use-case i
19.
▲
by
matt_trentini
2y ago
Then it could be exposed to MicroPython, presumably relatively easily...
20.
▲
by
matt_trentini
2y ago
Cool visualisation! It was somewhat amusing that MicroPython isn't in MicroPythonia but Arduinoria...and CircuitPython is in PicoPythonia. :)
21.
▲
by
matt_trentini
2y ago
I am one of those masochists frequently with 200+ tabs open and Firefox does an excellent job managing them. Prefix a query with '%' to search only within open tabs.
22.
▲
by
matt_trentini
2y ago
You're far more optimistic than I about our government being able to implement a secure, reasonable solution for age verification. COVIDSafe was the last technical undertaking and it was expensive and a completely inept implementation.
23.
▲
by
matt_trentini
2y ago
Have you tried `mpremote`? It's the standard tool by the MicroPython team that allows - among other features - you to mount your PC filesystem on a MicroPython device. It's a very productive way to develop! Update code on your P
24.
▲
Embedded Python: MicroPython Is Amazing
(hackaday.com)
22 points
by
matt_trentini
2y ago
|
13 comments
25.
▲
by
matt_trentini
2y ago
Absolutely, this would be a straightforward MicroPython project :)
26.
▲
by
matt_trentini
2y ago
Or, better still, use containers. Haven't used virtual machines in years - and I don't miss them one bit!
27.
▲
by
matt_trentini
2y ago
There is, though work on it has been sporadic: https://github.com/micropython/micropython-lib/pull/499
28.
▲
by
matt_trentini
3y ago
Python disliked? That doesn't resonate with my experience or repeated Stack Overflow surveys where Python is often near the top in admired and desired languages: https://survey.stackoverflow.co/2023/#section-admire
29.
▲
by
matt_trentini
3y ago
That's _very_ old; v1.9.4 was released May 2018...
30.
▲
by
matt_trentini
3y ago
As @snops explained, MicroPython supports executing code from flash in the form of frozen code. The consequence of this is that it needs to be compiled in to the firmware binary which slows down the typical rapid development cycle of MicroP
More ›