|
I fixed a bunch of bugs in terms of color byte order (I had switched from RGBA to ABGR) which I hoped would fix my SVG rendering, whose colors are off. After finding and squashing a bunch of bugs (and watching the colors change accordingly) the last bug I fixed put my output clear back where I started!
So that was my morning.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Have a colorful day!
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
Why you switched from 'RGBA to ABGR'?
From what I remember, 'ABGR' is really a native Windows API thing, which has even corrected with wpf.
|
|
|
|
|
It's not windows. (Well, it can be, but it's embedded/cross platform)
It's based on the fact that the plutosvg library I used uses argb and rgba but LITTLE ENDIAN overall.
The thing is, since shifts are reversed for big vs little endian in C/C++ big endian RGBA = little endian ABGR
My graphics library produces big endian footprints for pixels on little endian systems. The reason for that is almost all display hardware takes its frame buffer memory in big endian format.
I'd change plutovg to use big endian pixels but I don't understand this function:
static inline uint32_t BYTE_MUL(uint32_t x, uint32_t a)
{
uint32_t t = (x & 0xff00ff) * a;
t = (t + ((t >> 8) & 0xff00ff) + 0x800080) >> 8;
t &= 0xff00ff;
x = ((x >> 8) & 0xff00ff) * a;
x = (x + ((x >> 8) & 0xff00ff) + 0x800080);
x &= 0xff00ff00;
x |= t;
return x;
}
The exception would be things like a windows PC, * but * in that case it's 1 byte per pixel, making swapping them easy, whereas byte swapping a 16-bit RGB565 pixel is less straightforward.
So since plutovg is RGBA little endian, my vector pixel format is ABGR big endian. In my library, conversions between different pixel formats is transparent so it really doesn't impact the surface area of the API.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Got it, I think
|
|
|
|
|
Hello all, does anyone here know of a reliable domain hosting company - I'm currently using Webhosting.uk.com who are proving to be unreliable ( been down twice this year for a few days )- my domain name is purely used for email purposes.
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
|
|
|
|
|
For my personal sites, I’ve been using Dreambost for years. Never had an outage with them. Not sure if they’re US only though.
https://www.dreamhost.com/
Pretty sure they’re Linux only though, but since I’ll never use a Windows server if given the choice… that’s cool.
If it’s for the enterprise, that’s a whole different story. But for personal stuff they’re awesome.
Jeremy Falcon
|
|
|
|
|
Oh, I used IONOS in the past too. Like 15-20 years ago.
https://www.ionos.com/
They’re a lot more corporatey and do data tracking a lot more. Which is why I stopped using them, but the service itself is ok if you don’t mind being their pawn.
Jeremy Falcon
|
|
|
|
|
And lastly, if it’s just DNS only (and you don’t mean website hosting) I still use GoDaddy. I’ve known peeps that worked there that were pretty smart. Unfortunately, they call it me waaaayy too much with sales crap, but I’ll still use their DNS at times. Never went down for me. But, that’s just DNS only. I refuse to host a site with them.
You’re not talking about a registrar right? But the actual DNS or website hosting?
Jeremy Falcon
modified 10 mins ago.
|
|
|
|
|
All I want Jeremy is some email accounts using my pjksolutions.com domain name. I don't know what the terminology is for that. Thanks for your help
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
|
|
|
|
|
Gotcha. I’ve used Dreamhost then for DNS hosting and never had a problem. They also have their own web-based email client if you don’t want to use Gmail or your own.
Hope you find a good host man.
Jeremy Falcon
|
|
|
|
|
|
|
I don't want Web site hosting only email - thanks anyway
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
|
|
|
|
|
They are hosting everything
|
|
|
|
|
I use OVHS. They're cheap, reliable, easy to set up a simple VPS w/ Debian. It includes standard attack mitigation features, and they do a pretty good job of being responsive to network issues.
Edit: Wait, do you mean DNS, or hosting?
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
I use Proton for a couple of domain site emails. Also use some of their other services, but they have multiple levels. Not aware of any outages. I use Joker for DNS.
>64
It’s weird being the same age as old people. Live every day like it is your last; one day, it will be.
|
|
|
|
|
You take the psycho path.
"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!
|
|
|
|
|
Are you on dem pills again ?
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
|
|
|
|
|
Oh yes. New ones as well ... to "cure" the side effects of the other pills.
"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!
|
|
|
|
|
You need to see a trick cyclist
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
|
|
|
|
|
What do you guys think this thread should be about?
|
|
|
|
|
2 messages long.
"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!
|
|
|
|
|
3 messages now. We on a roll.
Jeremy Falcon
|
|
|
|
|
You want to see something terrifying? I was looking for information on the panic-inducing words that invoke chills up your spine while you feel the hairs on the back of your neck stand on end. It's safe for work, but it will set you into a terror-stricken state of mind. It's just three words. I'm talking about "The Wafflehouse Index".
If just that alone strikes fear deep into your soul, then you may want to think twice about seeing what I'm going to share with you. #TheWafflehouseIndex[^]
|
|
|
|