|
You might think it rare that Wales could produce a singer like Tom Jones but….
It’s not unusual!
If you can't laugh at yourself - ask me and I will do it for you.
|
|
|
|
|
good one.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
BTW Lead singer for Bad Finger is Welsh.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
He was a Liverpudlian actually
Life should not be a journey to the grave with the intention of arriving safely in a pretty and well-preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming “Wow! What a Ride!" - Hunter S Thompson - RIP
|
|
|
|
|
You are correct but in Welsh band, if memory serves.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Yes based in Swansea in the south
Life should not be a journey to the grave with the intention of arriving safely in a pretty and well-preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming “Wow! What a Ride!" - Hunter S Thompson - RIP
|
|
|
|
|
I bought this little monster, which I can recommend
GitHub - Makerfabs/Makerfabs-ESP32-S3-Parallel-TFT-with-Touch[^]
The stock firmware however, was garbage. It didn't take advantage of the onboard S3 chip's hardware acceleration for driving LCD displays. It was clearly thrown together as an afterthought.
The frame rates were 37fps average which with a 16bit parallel display topping out at 8MHz it could be better.
So I rolled up my sleeves and dived into ESP-IDF arcana, using a brand new and sort of unpolished as of yet system for hardware accelerating my 16-bit i8080 interface.
After diving through stale message board threads and some source code, I figured it out.
Original driver: 37FPS, flickery, no dma
Mine: 45FPS, flickery, no dma or 56FPS! not flickery, w/ DMA depending on how much RAM you want to use.
And just in time to help a colleague with some paying work he's using this device for.
To err is human. Fortune favors the monsters.
|
|
|
|
|
Yeah, but ... Will it run Doom?[^]
"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!
|
|
|
|
|
Probably.
It's a dual core 240MHz 32-bit system. It has 1MB of PSRAM that i've been able to access. Supposedly it has 2. It has 512KB of SRAM, after the display driver, and all the other crap is loaded it has about 320KB? usable.
To err is human. Fortune favors the monsters.
|
|
|
|
|
I am NOT criticizing Python and I implore the reader please do not start nor engage in any “flame war” on Python.
I have programmed in a number of different languages over my 40 years as a developer. My current languages that I use the most are C# and T-SQL.
I see that Python is popular, or at least appears so.
What value-add(s) does Python bring that I cannot get now in C#? What disadvantages are there, if any, to using Python over C#?
Is Python a better general purpose language, or is it better at some specific niche(s) in development?
I would really like to get a clearer picture of why using Python along with, or in place of, C# would be of value.
Thanks in advance for the non-flame responses.
|
|
|
|
|
|
Thanks. That article gives a good overview on how Python is used effectively today.
C# can, and is, used for all of those. What I am looking for are comparisons in those areas, or generally, where Python would be an advantage.
For example, design and coding time in VS 2022 (which supports both languages), performance, etc.
|
|
|
|
|
MSBassSinger wrote: What disadvantages are there, if any, to using Python over C#?
You don't have to build it before deploying -- just copy the code to the destination.
Edit: Oh, I had read that as advantages, not disadvantages.
MSBassSinger wrote: Is Python a better general purpose language,
Python is not a general-purpose language. It is a scripting language, a glue language. Any heavy lifting has to be done in a general-purpose language -- then import it as a package.
MSBassSinger wrote: or in place of, C#
Definitely not.
|
|
|
|
|
PIEBALDconsult wrote: You don't have to build it before deploying -- just copy the code to the destination.
Edit: Oh, I had read that as advantages, not disadvantages.
That still works as a disadvantage - with no compilation step, you've lost a basic sanity check on the code you're deploying.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
True, but let's assume the code has been tested.
Similarly, it's too easy to change code in production. This is a disadvantage of SQL procedures and such as well.
|
|
|
|
|
I used to develop glue code (mostly monitoring and piping data between applications) for a major electric utility. The systems had to run in real time 24x7. I found scripted code to be an advantage because the on-call person always had easy access to the production code in the event of a failure anywhere in the system (often due to an external problem with a data source). This meant that emergency patches were easily applied. No special development environment was required.
Just because the production code was scripted doesn't mean it wasn't thoroughly tested before going live.
|
|
|
|
|
Absolutely. As long as the change gets into source control.
But it's also too easy for a properly-authorized bad-actor to make illegitimate changes to such a system as well.
|
|
|
|
|
Indeed.
That's why, in my dual role as sysadmin, I also made sure that only the members of my group had write access to the folder containing the code.
|
|
|
|
|
Excellent reply. Thank you.
|
|
|
|
|
The schools are teaching with Python. Academics continue to use what they are familiar with.
10-15 years ago there was a controversy about using Microsoft Windows in schools and universities. Some switched to Linux. Then they asked "Why are we teaching C in schools?".
Python is used by most academics today. I See Python packages all the time doing amazing things.
|
|
|
|
|
|
One of the reason python is wildly popular.
CI/CD = Continuous Impediment/Continuous Despair
|
|
|
|
|
Wikipedia wrote: Written in Python, C
C for the win!
modified 26-Sep-22 11:29am.
|
|
|
|
|
Quick & dirty prototyping and great libraries.
Don't know which one produce the other, however.
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
We use it as a scripting language for our software. (integration into a C++ application).
It's relatively lightweight, lot of engineering folks not in programming domain use it as a simple tool to do lot of math stuff.
Our clients (and internal folks) do lot of data analysis with it.
CI/CD = Continuous Impediment/Continuous Despair
|
|
|
|