Search found 316 matches

by stijn
Sun Apr 07, 2019 10:33 am
Forum: General Discussion and Questions
Topic: OSX Hidden File Cleanup
Replies: 3
Views: 106

Re: OSX Hidden File Cleanup

No, good point, it's in micropython-lib
by stijn
Sun Apr 07, 2019 7:02 am
Forum: General Discussion and Questions
Topic: OSX Hidden File Cleanup
Replies: 3
Views: 106

Re: OSX Hidden File Cleanup

If this went under full review here, purely on the code (have no OSX anymore so cannot really comment on functionality but it does seem to do what it's supposed to): - deal with errors: you're printing when deltree starts, but when something goes wrong nothing is printed so that output is kinda usel...
by stijn
Thu Mar 28, 2019 9:12 am
Forum: Programs, Libraries and Tools
Topic: Launching a separate process instead of calling a memory intensive function
Replies: 11
Views: 441

Re: Launching a separate process instead of calling a memory intensive function

even after a call to gc.collect() the available memory does not increase As Dave says: if that truly is the case, you're somehow still holding references to memory allocated in that function. As far as your pseudocode goes: depending on how 'pseudo' it is, there are probably other ways which are le...
by stijn
Thu Mar 28, 2019 9:06 am
Forum: General Discussion and Questions
Topic: Target audience for MicroPython?
Replies: 51
Views: 1395

Re: Target audience for MicroPython?

No one recognizes the problem I thought I laid out rather clearly. Don't know where you got that idea. At least I get what your point is (might even have literally said so earlier, don't remember), and I'm fairly sure I'm not the only one. It does seem though not many people responding here actuall...
by stijn
Tue Mar 26, 2019 3:58 pm
Forum: Programs, Libraries and Tools
Topic: Launching a separate process instead of calling a memory intensive function
Replies: 11
Views: 441

Re: Launching a separate process instead of calling a memory intensive function

What platform do you use? If you don't run on top of an actual OS you can't really speak of another 'process'. But you could still do things like send data over the network to whatever other device you have, process over there, and get results back.
by stijn
Tue Mar 26, 2019 11:06 am
Forum: General Discussion and Questions
Topic: Target audience for MicroPython?
Replies: 51
Views: 1395

Re: Target audience for MicroPython?

@Hanilein yes, very good point about cost of time spent developing vs cost of an uC, though it's of course a bit different for a 'pure' hobbyist or when there's a lot of devices which have to get deployed.
by stijn
Tue Mar 26, 2019 8:27 am
Forum: General Discussion and Questions
Topic: Target audience for MicroPython?
Replies: 51
Views: 1395

Re: Target audience for MicroPython?

Have you ever tried to build micropython on windows? Impossible. Depending on what you define as 'build on windows', this is simply not true. Here are 4 cases which I think all qualify as 'build on windows' and are really not exceptionally hard, let alone impossible. And the first 3 should be able ...
by stijn
Mon Mar 25, 2019 2:42 pm
Forum: Development of MicroPython
Topic: Does MicroPython have constant evaluation (folding)?
Replies: 3
Views: 155

Re: Does MicroPython have constant evaluation (folding)?

f(42) might have side effects so I'd be surprised if that can somehow get folded, there's nothing which guarantees it will always return the same result? Maybe your bencmark code is incorrect?
by stijn
Mon Mar 25, 2019 12:01 pm
Forum: General Discussion and Questions
Topic: Target audience for MicroPython?
Replies: 51
Views: 1395

Re: Target audience for MicroPython?

Just a thought ... do you not think that it is a better idea to use pure C to program those tiny devices you are referring to? The application size is probably small, so doable in C. As others pointed out already: the development itself in python is usually faster and more fun. So 'better' complete...