Search found 111 matches

by stijn
Mon Jan 16, 2017 12:35 pm
Forum: Development of MicroPython
Topic: Memory Leak on Micropython Port
Replies: 6
Views: 179

Re: Memory Leak on Micropython Port

1) As pythoncoder suggests: yes if no memory is never freed then you'll run out of memory after enough allocations. Is gc_alloc triggered? 2) Likely 3) MICROPY_PY_GC enables the gc module so gc functions can be called from python code. It is not required for actual gc functionality in the C code (th...
by stijn
Wed Jan 11, 2017 9:18 am
Forum: Development of MicroPython
Topic: Memory Leak on Micropython Port
Replies: 6
Views: 179

Re: Memory Leak on Micropython Port

Indeed hard to tell for sure what the issue is without seeing any code which can reproduce the issue; preferrably on e.g. the unix port as that is easily debuggable. If you use the same code and build it for unix (while tuning heap size so it's the same as for the board), does it crash as well? If s...
by stijn
Thu Jan 05, 2017 9:36 am
Forum: General Discussion and Questions
Topic: Contributors visualization
Replies: 4
Views: 139

Re: Contributors visualization

Yes that was it!
Any idea where I could have seen this initially? Can't find it anywhere, and I thought some source code was also posted. Would be great to have a high-res version.
by stijn
Wed Jan 04, 2017 8:49 pm
Forum: General Discussion and Questions
Topic: Contributors visualization
Replies: 4
Views: 139

Contributors visualization

I (vaguely) remember Damien (I assume) once posted a visualization somewhere which looked like some 3D space with tiny images of people/avatars representing the contributors to uPy, and the uPy code represented as filenames or so. When advancing through time the graph would update and make the avata...
by stijn
Mon Nov 14, 2016 8:59 am
Forum: ESP8266 boards
Topic: The state of the community
Replies: 11
Views: 554

Re: The state of the community

True. I didn't realise you were only focussed on just one SoC. It's clear from what you wrote, I just didn't read closely enough. To be fair the OP started using 'the community' as the subject so I was also a bit surprised by the 'just the esp8266 port users.' response. Maybe I'm misunderstanding t...
by stijn
Tue Nov 01, 2016 9:06 am
Forum: ESP8266 boards
Topic: Development Cycle for the Wemos D1 Mini from Windows
Replies: 10
Views: 1436

Re: Development Cycle for the Wemos D1 Mini from Windows

I don't develop for hardware boards but if so I'd likely use SublimeText: it has all the python goodies including 'go to definition'/pep8/flake/... support and can easily be extended so commands can be added (and bound to keyboard shortcuts) to load code onto the board. You typcially spent most of y...
by stijn
Thu Oct 20, 2016 12:28 pm
Forum: ESP8266 boards
Topic: Calling experienced network programmers
Replies: 31
Views: 1515

Re: Calling experienced network programmers

Typical scenario is the hardware's write buffers are full so write() will block until there's room again (because receiving end has consumed data).

Select would have solved this, if it existed.


yeah so that's what I was missing :)
by stijn
Wed Oct 19, 2016 2:07 pm
Forum: ESP8266 boards
Topic: Calling experienced network programmers
Replies: 31
Views: 1515

Re: Calling experienced network programmers

The scheduler does work on the ESP8266 but, if you use it for socket programming, it will lack the level of performance achieved on other platforms. This is because of the blocking behaviour of sockets. I'm probably missing something here, but doesn't select() solve this? E.g. instead of blocking y...
by stijn
Tue Oct 11, 2016 12:01 pm
Forum: General Discussion and Questions
Topic: Github notifications
Replies: 6
Views: 320

Re: Github notifications

Clever, that would indeed work. Does require some housekeeping though.
by stijn
Mon Oct 10, 2016 7:24 pm
Forum: General Discussion and Questions
Topic: Github notifications
Replies: 6
Views: 320

Re: Github notifications

No, I already have multiple email adresses, but can't seem to route notifications to more than one

Go to advanced search