|
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 56 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
|
|
|
|
|
So are you saying what I need is DNS hosting ? I'm not au fait with all the Web related shite stuff. Thanks 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
|
|
|
|
|
|
|
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 don't know much about all this stuff HTCW , currently I have a domain name pjksolutions.com registered which comes with 6 email accounts and I pay £x every year for the service - so is this just DNS or domain hosting ? I'm glazing over now
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
|
|
|
|
|
The hosting takes care of where the server actually runs and lives.
You need a host.
A domain name is like a phonebook entry that gives a friendly name to your IP.
They are different services, although sometimes you can get them as a package deal.
It sounds like you maybe got a package deal from that host you are using (domain name + hosting)
If that's the case, you'll have to move all of it. I know a lot of people use godaddy.com but I can't vouch for them. They include a package deal (domain name + hosting) but I don't think they require it. You can get domain name or hosting ala carte if you like.
I use Network Solutions for my domain. I can't recommend them. I'd consider maybe godaddy. I haven't switched just because of the PITA to do so but otherwise I would.
I use OVHS for my hosting. I'm happy with them. They do not have package deals (domain name + hosting) as far as I know. You have to get your domain name somewhere else, which is typical.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
honey the codewitch wrote: OVHS.
Sounds very "blast from the Past"-y.
|
|
|
|
|
It's a modern cloud based provider. You get a VPS which is part of a server blade probably in a cage at a datacenter somewhere.
You might consider a package deal from godaddy.com so you don't have to mess with your domain's MX records. They can set it up for you probably.
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!
|
|
|
|