|
No.
And yeah, generating Lua bindings by parsing C would be just as bad as doing it with python.
To err is human. Fortune favors the monsters.
|
|
|
|
|
Life is a long chain of compromises. I understand you are upset, but honestly I think there is more for you to lose not to contribute. Take a deep breath and go back to it, it would surprise me you would not find a spell to make it work.
|
|
|
|
|
One generated c file for all the micropython bindings.
scripts i don't even know where they exist. Much less how they work.
And i'm not going to find out. I don't want to.
I don't WANT to learn Micropython to fix *THEIR* build scripts.
It's a project with over 300 contributors. Let THEM do it.
It's not my job. Nor do I want it to be.
Not my circus. Not my monkeys.
To err is human. Fortune favors the monsters.
|
|
|
|
|
I'm expecting a series of post about a new fancy bindings generator for Python in the near future.
|
|
|
|
|
The only reason I'd ever use Python is to show someone why they should never use python.
To err is human. Fortune favors the monsters.
|
|
|
|
|
I guess you mean that you hate their elephanting micropython hack. But you wrote that you hate Python. That might not exactly be where blame is deserved...
This is the first time I hear about micropython. Perhaps Cython seems to an alternative that creates readable cod? Cython: C-Extensions for Python[^]
And many numerical standard libraries are written in C. Maybe creating your own bindings is easy?
1. Extending Python with C or C++ — Python 3.10.7 documentation[^]
But then I just realise that maybe the LVGL-folks have painted you into the micro... corner
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
Python always deserves blame. It was written by someone who didn't understand a simple, obvious concept: When you make whitespace part of your program, it means part of your source code is invisible.
Anyone that stupid should not be allowed near a computer.
Edit: Specifically, I blame python because if it didn't exist this would have never been a problem.
Edit 2: The language you mention shouldn't exist, but does anyway. It doesn't run anywhere that matters.
To err is human. Fortune favors the monsters.
|
|
|
|
|
honey the codewitch wrote: When you make whitespace part of your program, it means part of your source code is invisible.
Unfortunately I can upvote it only once - otherwise I would make you a CP millionaire...
"Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid." ― Albert Einstein
|
|
|
|
|
Since the Soapbox is closed I am not entering the War on Python, on either side...
But I was referring to your specific complaint&blame regarding the micropython toolchain forking up your code. That is clearly a micropython blunder. Anyway, what happened to all your praise for this Gabor-dude, he appears to fancy the Python-concept?
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
Well, he's not the one that wrote the build scripts, and I'm going to be charitable and assume the Micropython bindings were someone else's contribution.
I blame Python. Always Python because the language should not exist, and were it not for it, MicroPython would not exist, and without that my build issues would go away.
Basically Python is why I'm such an ardent proponent of birth control. One condom could have prevented this.
Edit: Yeah this isn't soapbox, and here I am ranting. Shame on me.
To err is human. Fortune favors the monsters.
|
|
|
|
|
honey the codewitch wrote: When you make whitespace part of your program, it means part of your source code is invisible.
Anyone that stupid should not be allowed near a computer. Amen !
«The mind is not a vessel to be filled but a fire to be kindled» Plutarch
|
|
|
|
|
honey the codewitch wrote: When you make whitespace part of your program, it means part of your source code is invisible The first time some whippersnapper showed me that I vowed never to touch it. The bank decided to use Python extensively, I retired.
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
Python used to be actually great in the 2.x days when Guido used to be the benevolent leader. Somewhere down the line, I don't know what happened but they lost the track along the 3.x path. No doubt, Python has a lot of mind-blowing stuff like nltk, django, flask, etc. but that's all thanks to the ecosystem! Core python has only gotten slower and slower since 3.x without getting any benefits in exchange for that slowness.
There is a lot of scope in that dynamic language though. With some effort, they can probably make it perform on par with at least PHP or Java, if not C#.
|
|
|
|
|
I disagree.
Programs that have invisible source code belong in the trash.
Python programs require invisible source code.
Therefore Python belongs in the trash.
To err is human. Fortune favors the monsters.
|
|
|
|
|
honey the codewitch wrote: Programs that have invisible source code belong in the trash.
It all depends on the design and robustness of the language or runtime though. Java web programming, for example, sits on many layers of invisible code such as JVM, Servlets, J2EE/JSP, Spring, etc. and yet it performs amazingly fast and used throughout the enterprise! By your logic, it must be pathetically slow due to these layers and dumped into trash by now.
|
|
|
|
|
It's like you didn't even read what I wrote. So I'll try again.
I don't care about the speed of python.
I care about INVISIBLE SOURCE CODE. Source code that you cannot see. Do you understand the concept? Such source code belongs in the trash, because it's unmaintainable because you cannot see it with your eyes.
Similarly languages that *require* source code that you cannot see with your eyes (read: invisible source code) belong in the trash as well.
Edit: I think I get where you misunderstand me. I didn't say anything about 3rd party libraries. I mean whitespace. Significant whitespace = invisible source code.
When you make whitespace part of your program, it means part of your source code is invisible.
Edit 2: I'm sorry I was hostile. I'm in an awful mood right now and probably shouldn't be here.
To err is human. Fortune favors the monsters.
modified 14-Sep-22 12:20pm.
|
|
|
|
|
Python is a snake. A snake that can strangle you to death.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
I complained the other day on CodeProject that Visual Studio was running my code generator twice (and caused naming conflict since the same class was added twice to the project) and then.. bingo! 3 days later a VisualStudio update fixed the problem!
All hail CodeProject!
|
|
|
|
|
Squeaky wheel gets the oil.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
#Worldle #236 1/6 (100%)
🟩🟩🟩🟩🟩🎉
https://worldle.teuteuf.fr
Not the toughest one I've seen
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
Not the easiest either, for me: I had to guess to get a direction for the first one:
#Worldle #236 2/6 (100%)
🟩🟩🟨⬜⬜↖️
🟩🟩🟩🟩🟩🎉
It has a bit that hasn't been counted as it's for a while now, and is probably disputed depending on where you are ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
#Worldle #236 3/6 (100%)
🟩🟩🟩🟨⬜⬅️
🟩🟩🟩🟩⬜↗️
🟩🟩🟩🟩🟩🎉
https://worldle.teuteuf.fr
should have recognized it right off
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Yeah, so should I - I blame the inclusion of Crimea in their image confusing me.
I might agree that Crimea should be part of Ukraine, but that would get political, like if they put up Tibet one day ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Wordle 452 4/6
⬛⬛⬛🟨⬛
⬛🟩⬛⬛🟩
⬛🟩⬛⬛🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 452 3/6*
🟩⬜⬜🟨⬜
🟩⬜⬜⬜🟩
🟩🟩🟩🟩🟩
Happiness will never come to those who fail to appreciate what they already have. -Anon
|
|
|
|