|
This is awesome. I'm rendering an SVG image using my library, on a little ESP32, and also rendering TrueType text from a 120KB font file. I posted the result earlier, but I was curious how much memory it was using.
To that end I created a little heap watch dog to run on the 2nd core while my parsing and rendering was taking place.
It's taking less memory to render the tiger and the text than it would to load the equivalent JPG or PNG (which take at least 32KB needed for Huffman decompression)
static size_t max_mem = 0;
static size_t min_mem = (unsigned)-1;
static void mem_task(void*) {
while(true) {
size_t mem = ESP.getFreeHeap();
if(mem>max_mem) {
max_mem = mem;
}
if(mem<min_mem) {
min_mem=mem;
}
taskYIELD();
}
}
Max memory available: 302.25KB
Max memory used: 22.93KB
Unless I'm doing something wrong in terms of monitoring, this is very encouraging.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
We deserve better than this WTF is going on
Whats going on
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
I harken back to when I mentioned not too long about how the site has been neglected over the years. Either CP doesn't have the budget to staff up this place or they don't have the desire. It's made obvious by the lack of site updates. Of course, as usual I got arguments by those who know little of the web when I say this. But, that's not the only tale tell sign.
Their business model hasn't evolved in years either. At least from what I've seen. And sure if it ain't broke don't fix it. But, if it's not staffed then it's broken. And I could again elaborate as to why, but again, I'm tired of arguing with people that have zero experience. And, I'm sure recent economic changes haven't helped either.
All of this is to say, the only surprising thing here is that people are surprised. There have been forum thread bugs forever, people don't ask or answer questions in the forums for months. I mean... how many signs people need? Why is this a shock?
Now, does this mean CP will die? Not necessarily. It's still one of the best self-publishing sites out there. It does mean it's at an inflection point though. It also means, only a handful of people use the lounge and the vast majority of the peeps that use this site do not. (This is where someone argues that staff should visit the lounge as if I haven't thought of that).
P.S. Sorry if I sound jaded, but y'all already know I'm grumpy and poopy. Let's just say years of arguing online with those who never leave the computer room to experience life or learn got to me.
Jeremy Falcon
modified 12 mins ago.
|
|
|
|
|
Oh and I said it before and I'll say it again, personally the only thing I care about is Chris' happiness. What he built is amazing but he's more important than CP... if that makes sense. I'm glad he's finding new journeys and a passion for health. More peeps here should follow his lead the way I see it.
The deciding factor on whether someone else picks up the CP torch is revenue. Someone new coming in won't have the emotional attachment to it we do.
Edit: Oh, and I say this as a dude who's been here since day 1... check my user ID... it's 104. I remember before we had user IDs and they got assigned. So, this site has been a part of my life too. But, I'm still happy for Chris and hope he finds what he's looking for.
Jeremy Falcon
|
|
|
|
|
pk and all,
Maybe a bit more info? I read the part about Chris adjusting his focus, and we have to respect that. I'm chronically anemic at this point in my life, but I'm not dead yet. In my own life, I have found that work is the LEAST stressful to me, so there may be other issues we don't know about. That said....
Maybe it's a time for a group hug sort of thing. Businesses like CP don't happen from a meeting where everyone agrees and its kumbaya. It comes from passion, a huge amount of hard work (x3), and no, we're not going to do that decision making.
A lot of us here are old-farts that have retired and run hard all of our lives. Looking at you Hankey . Can we preserve the culture? That's what makes CP. God forbid it would ever look like stack*******. Is Chris looking to sell?
Charlie Gilley
“Microsoft is the virus..."
"the problem with socialism is that eventually you run out of other people's money"
|
|
|
|
|
Dear Mr. Cunningham, @davidcunningham9
Can you please enlighten us what the future of codeproject will be?
Thank you very much in advance.
Yours sincerely
An non-essential member of codeproject
|
|
|
|
|
Probably out watching Fonzie do stunts on his motorcycle.
|
|
|
|
|
I only posted this because of a hint/request of an 'insider' - deeply hidden in messages- that this might help
|
|
|
|
|
It's a secret, for us to know and you to find out. Bwahahaha!
|
|
|
|
|
|
I know there's tons of utilities to do that, but I've grown to mistrust random software from random sites, so I hesitate to try everything under the sun.
For years now, I've been using some software that shall stay nameless, but suffice it to say they have disappeared a few months back (I just learned), and their trialware needs to get a key from a live site to function, so it's out.
One alternative I've found after a short search is https://www.bluraycopys.com/rip-blu-ray/convert-blu-ray-to-iso/
I know nothing of these guys, but the software seems as straightforward as it needs to be. I want to put in a disc (DVD, Blu-ray, whatever) and rip it to ISO. Just a straight copy. Don't ask me endless questions about how to process this or that, which I wouldn't know how to answer properly. Again, just a 1:1 copy please.
Anyone can vouch for this, or something else? Again, I'm NOT trying to do any sort of conversion to MP4, MKV, using this or that codec, none of that. Just produce a standard ISO that I can mount and play. If the original disc is 50GB, so be it, I want the ISO to be 50GB.
[Edit]
And save me the piracy concerns. These are commercial discs, and I just paid nearly CAD$300 for a 4-disc set with taxes, import and shipping fees. I own these, and I'm not gonna let a scratch ruin them for me.
|
|
|
|
|
dandy72 wrote: I know there's tons of utilities to do that, but I've grown to mistrust random software from random sites, so I hesitate to try everything under the sun. Complete tangential side note, but why not use Windows Sandbox or a VM for stuff you don't trust?
Jeremy Falcon
|
|
|
|
|
It's my understanding that some rippers look at the drive's firmware and may or may not work if you're going through a virtualization layer.
I can't say for sure whether that's the case (even generally speaking) but I just want to remove as many obstacles as I can from getting in the way.
|
|
|
|
|
dandy72 wrote: And save me the piracy concerns. These are commercial discs, and I just paid nearly CAD$300 for a 4-disc set with taxes, import and shipping fees. I own these, and I'm not gonna let a scratch ruin them for me. Pretty sure personal backups are completely allowed for most copyrighted discs. Whether or not a company attempts to prevent that because they want to be the arbiter of copying is another question. But, legally speaking you're good to go.
Jeremy Falcon
|
|
|
|
|
I had zero doubt about that.
Like I said, these are expensive discs and part of a limited lot. Even if it weren't legal in this country, I'd still be looking into backing it up.
|
|
|
|
|
Oh, to actually answer the question... I've used anyburn before with success. But, it was in Linux. No ransomware popped up yet. YMMV on a Windows box.
Jeremy Falcon
|
|
|
|
|
AnyBurn looks pretty good. Linux shouldn't be an impediment - even though I have it running primarily in VMs, I have some spare laptops where I can just blow away the OS at a moment's notice, and my reader is external/USB so I can connect it to anything.
I'm already in the process of ripping my discs with the one I had linked to, but I'll retry later with AnyBurn so I have an alternative, should this one not work, or also disappear eventually.
Thanks for that.
|
|
|
|
|
I've been using PowerISO for small things occasionally over the years, but just the other day I bought a license so I can make larger ISOs.
|
|
|
|
|
Thanks. I remember PowerISO from many, many years ago, but didn't realize it could rip commercial discs. Or maybe it wasn't a feature at the time.
I'll add it to the list to try - thanks
|
|
|
|
|
and started looking at Smalltalk.
Downloaded the Squeak/Smalltalk[^] IDE and associated docs.
I've heard a lot about Smalltalk in the past but didn't think much of it, but after kicking the tires I am really impressed. The Squeak IDE is very powerful and I think I might try a small project and see how it goes.
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 watched a video posted here last week about SmallTalk/Squeak...interesting, but I don't have the time. Good luck!
"Go forth into the source" - Neal Morse
"Hope is contagious"
|
|
|
|
|
Anyone else notice the ads have disappeared from CP?
|
|
|
|
|
Yes ... it's the lights slowly turning off...
Graeme
"I fear not the man who has practiced ten thousand kicks one time, but I fear the man that has practiced one kick ten thousand times!" - Bruce Lee
|
|
|
|
|
|
No ads, since about 24. September 2024
|
|
|
|