|
There are certain things that are not appropriate in 192KB of SRAM.
Garbage collection is one of them.
There are certain things that are not appropriate on an 80MHz CPU.
Running an interpreter is one of them.
So why in the world is MicroPython so popular?
It's ridiculously slow, and just recently I've been trying diagnose what looks like (but can't be?) a heap frag issue in some MP firmware.
You can also write poor C and C++ code, of course. But the difference is you can also write *good* C and C++ code.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Worse - non thread safe memory allocation that c++ does at a whim. That drove us crazy for months until we figured out what was going on.
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
I don't even use the STL on embedded, mostly because I've run into incomplete and/or non-compliant implementations and I don't want to keep track of which platforms I need to fork for. Secondarily, the way it uses the heap is shameful out of the box. Utterly irresponsible unless you have gobs of RAM to where heap frag is never an issue, so you're usually stuck creating your own custom allocators and your own management scheme, but aside from that, many devices have multiple heaps with different sizes and performance characteristics, and getting The STL to handle that gracefully is just more trouble than it's worth, IMO.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Do you like it? I despise it, but it's growing on me. Was this supposed to reduce eye strain or something?
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
I love it. I am extremely sensitive to light, and I find it helps me get through a full work-day without a tension headache around my eyes. Note that I run my "blue-light mode" 100% of the time to also reduce brightness and mellow the colors.
Theory is it reduces eye strain, but I think that depends on how well designed the color scheme is. I've seen some dark modes that aren't customizable that make my eyes hurt worse than light mode due to poor color choices that make it tough to pick up details.
Be wary of strong drink. It can make you shoot at tax collectors - and miss.
Lazarus Long, "Time Enough For Love" by Robert A. Heinlein
|
|
|
|
|
I'm awake at odd hours due to a segmented sleep pattern.
Bright light in an otherwise dark room is really hard on my eyes. Dark mode is a lot easier for me to look at.
VS Code slowly grew on me until I finally switched Visual Studio over as well.
Windows I switched separately but mainly because I liked the aesthetic of the theme in general, not because it was dark mode.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
I didn't like it at first, but then I developed cataracts and dark mode helped negate the cloudy vision. Now that I've had cataract surgery I still like dark mode, it just seems like it places less strain on my eyes. I wish every web site and app had a dark mode option. (cough CP cough )
There are no solutions, only trade-offs. - Thomas Sowell
A day can really slip by when you're deliberately avoiding what you're supposed to do. - Calvin (Bill Watterson, Calvin & Hobbes)
|
|
|
|
|
I also like it, as it reduces strain on my old eyes.
A home without books is a body without soul. Marcus Tullius Cicero
PartsBin an Electronics Part Organizer - Release Version 1.4.0 (Many new features) JaxCoder.com
Latest Article: EventAggregator
|
|
|
|
|
I am very light sensitive these days. I really need to stop reading when I go to bed. I'm an exceptionally light sleeper and very sensitive to ambient light changes. I refuse to bring my phone into the bedroom, see note below, but sometimes my MIL will text or accidentally text my wife (she's 65% into full blown dementia) and if that phone lights up, I'm screwed.
I've been up since 3am today, because it's useless to try to go back to sleep.
Anyway, so today I've learned in Opera (browser of choice) that dark mode is website dependent. Well, that's elephanting irrritating.
Weirder - the popups from code project are in dark mode. As I type this, not in dark mode.
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
I use a solarized light as opposed to solarized dark. But then I think I'm part mushroom, I like monitor glow.
A pale yellow or green works well for me. I'm opposed to dark modes for most things probably because I am old and crotchety (to reference a post above).
I’ve given up trying to be calm. However, I am open to feeling slightly less agitated.
I’m begging you for the benefit of everyone, don’t be STUPID.
|
|
|
|
|
|
Dooble Web Browser[^] (Never heard of it before, but it's there)
edit: Oh, and dead since 2017 apparently.
TTFN - Kent
|
|
|
|
|
Yeah, I also found the Dillo browser[^], but it looks like it is unsupported now too.
|
|
|
|
|
raddevus wrote: Dillo browser Not gonna say what that name reminded me of in the lounge.
Jeremy Falcon
|
|
|
|
|
Yeah, I'm pretty sure that's why that one never took off.
|
|
|
|
|
A browser that specializes in viewing 'pron'?
There are no solutions, only trade-offs. - Thomas Sowell
A day can really slip by when you're deliberately avoiding what you're supposed to do. - Calvin (Bill Watterson, Calvin & Hobbes)
|
|
|
|
|
Oh wait!! How could I have forgotten? Seriously.
DuckDuckGo has released their own web browser: Download the DuckDuckGo browser app[^]
Now, let's get crackin' on that G browser -- and no, Google Chrome doesn't count.
|
|
|
|
|
raddevus wrote: Google Chrome doesn't count. Crap, I was about to say GNU IceCat, but I suppose that would be in the same vein.
However, behold! I found one: Guardian Browser.
Turns out there's a list of 217 on GitHub.
Jeremy Falcon
|
|
|
|
|
|
My SO and I have been together for some time and she's been giving subtle hints lately about tying the knot.
So I'm pretty dumb you gotta hit me over the head and straight out tell me what you want, and she hasn't.
So the other day I said to her: "You remember that jewelry store where you had your earrings reset?"
She got all excited and responded: "Yes"
I said: "There's a hardware store next door would you pick up a box of nails on your way home?"
Now she's madder than hell and that's how the the started.
A home without books is a body without soul. Marcus Tullius Cicero
PartsBin an Electronics Part Organizer - Release Version 1.4.0 (Many new features) JaxCoder.com
Latest Article: EventAggregator
modified 4hrs 5mins ago.
|
|
|
|
|
I assume that you're sleeping with a helmet and flak jacket tonight...
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
...and on the couch.
There are no solutions, only trade-offs. - Thomas Sowell
A day can really slip by when you're deliberately avoiding what you're supposed to do. - Calvin (Bill Watterson, Calvin & Hobbes)
|
|
|
|
|
...that's been put in the backyard.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
... and has been set on fire.
Software Zen: delete this;
|
|
|
|
|