|
LinkedIn
Peter Kane
Chris Maunder viewed your profile
I'm not linked to him - very strange.
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
|
|
|
|
|
Lout never can become one to offer services willingly (9)
@petepjksolutionscom - You are up tomorrow!
"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!
|
|
|
|
|
I know I volunteered
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
modified 3hrs 10mins ago.
|
|
|
|
|
Yep - but it's easy to lose track when it's once every 28 days. So I added reminders to google to tell me who to remind!
"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!
|
|
|
|
|
Good idea Paul
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
|
|
|
|
|
Damn it. If only I had checked your answer beforehand I wouldn't have posted.
|
|
|
|
|
No worries Pete - I didn't answer it properly it was more of a joke
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
|
|
|
|
|
|
Well done!
"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!
|
|
|
|
|
I spent several days making my vector canvas able to "direct bind to a 'draw target'" if it happened to be a bitmap with a supported pixel format.
I did this by extracting the pointer to the bitmap and then doing the standard (y*stride) + x*(stride/width) on it to get my final pointer.
That sucks. For starters it only works with hard bitmaps. I can do better.
Enter gfx_span which is a little structure with a pointer and a length.
You can then do span(location).data and/or span(location).length off a bitmap to get a pointer and a length for the remainder of that row.
This is important, because it opens up the blt capability (direct read/write) to more than just bitmaps. For example, my UIX library the control surface draw target does a translation and clip before writing to the backing bitmap. Without span() I cannot get a raw pointer to the backing bitmap data. I must use methods off the draw target like point() and fill() which is generally much slower - all to do that translation and clip.
Unfortunately the existing code I've worked on for days will not survive this change. I have a lot of work in front of me, all because this span paradigm didn't occur to me on like, Monday. Curse my brain.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
I find it not unusual to do quite a lot of work on something in order to find out why it's a bad idea. It takes some fortitude then to ditch it and take a new approach, but it's almost always the best plan. Also, it never seems to take so long or be such hard work the second time.
Phil
The opinions expressed in this post are not necessarily those of the author, especially if you find them impolite, inaccurate or inflammatory.
|
|
|
|
|
Phil J Pearson wrote: Also, it never seems to take so long or be such hard work the second time.
You are so right about that! I just finished retooling and testing. It's all using my new span API.
Normally, I am very gifted at designing by the seat of my pants (while coding). For example my graphics library lasted years without a significant breaking change, especially to the design. I added a ton of features in that time. It's a combination of almost 4 decades of coding + some latent ability.
But maybe that's why I get frustrated with myself when I miss the mark.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Looks like this site is now running like an electric fan whose power is turned off. The fan will rotate for some time under its own momentum, before coming to a stop.
Why I get this inference is that usually spam articles used to vanish after being reported by 5 users. However, now we see spam articles not vanishing even after 25 users report as spam. Looks like no daily maintenance of this site.
|
|
|
|
|
That's a one off case for that particular article. I reported in the Bugs&Suggestions forum.
Many articles reported after that were closed after 5 reports.
Edit: I think someone nuked it.
|
|
|
|
|
That was me.
Spam articles aren't fed to the automated system (because they legitimately contain so much stuff that in a message would be spam) so once the user is gone, his articles can be deleted with no effect on the rest of the system.
I think there is a timing bug that leaves spam articles in place if they get the fifth and sixth vote in close proximity - but it's pretty much impossible to track down in dev!
"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!
|
|
|
|
|
I don't know who came up with Lidocaine, but I'll have your babies. Spoiler, I don't have a uterus.
If there was ever a perfect example of defensive programming, I lived it today. You youngsters and oldsters pay attention. Your gun won't fire, the bad guy's chainsaw always works fine, and when you try to run, you will trip.
So, my son and daughter have somehow achieved a wild hair. They want a fire pit in the backyard. Today, I am delivering small slate to the area. Shoveling complete, cleaning truck bed complete, daughter closes the lift gate to the truck. Now, I'm 65, so looking to the right and left of the bed - nah, not for me. So, I go to the back, flip my left leg over and step on the hitch...
sling right leg over toward the ground...
tailgate pops open.... this all compresses to 3 seconds. If you laugh, it's okay, but you owe me:
me: I'm in physics land. Fuc.....
daughter: Ohhhh fuc.......!
my head hitting the fire pit rock: fuc.....
my butt hitting more rock: where did you come from... My butt still hurts, I'll be posting images tomorrow
I'm on the ground, scalp injuries bleed so there is blood runnin down my neck and face. No concussion but first words out of my mouth are "don;t call your mom!" she's on the phone with mom... fml.
3 female rants later, some lidocane and 6 staples to close up the 4cm hole in my head....
So teaching programming moment:
1) assume nothing
2) check your return values
3) see #1.
head is throbbing.
Oh, it gets better. Youngest daughter's wedding rehearsal is tomorrow.
Charlie Gilley
βMicrosoft is the virus..."
"the problem with socialism is that eventually you run out of other people's money"
|
|
|
|
|
bummer, feel for you.
Fast forward 25 years: same damage if you brush against the door jam as you pass through.
>64
Itβs weird being the same age as old people. Live every day like it is your last; one day, it will be.
|
|
|
|
|
Wordle 1,216 5/6*
β¬π¨π¨β¬π©
β¬π©π©π©π©
β¬π©π©π©π©
β¬π©π©π©π©
π©π©π©π©π©
|
|
|
|
|
Wordle 1,216 3/6
β¬π©π©π¨β¬
β¬π©π©β¬π©
π©π©π©π©π©
|
|
|
|
|
Wordle 1,216 5/6*
π¨β¬β¬β¬π©
β¬π¨π¨β¬π©
β¬π©β¬π¨π©
π¨π©π©β¬π©
π©π©π©π©π©
"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!
|
|
|
|
|
Wordle 1,216 5/6
β¬β¬π¨β¬π©
β¬β¬β¬β¬β¬
π¨π¨β¬β¬π©
β¬π©β¬π¨π©
π©π©π©π©π©
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
|
|
|
|
|
Wordle 1,216 5/6
β¬π©β¬π¨β¬
β¬π©β¬β¬π©
β¬π©β¬π©π©
β¬π©π©π©π©
π©π©π©π©π©
|
|
|
|
|
Wordle 1,216 5/6
β¬β¬β¬β¬β¬
β¬π¨π¨β¬β¬
π©π¨π¨β¬β¬
π©π©β¬π¨π¨
π©π©π©π©π©
|
|
|
|
|
Wordle 1,216 6/6
π¨β¬β¬β¬π©
β¬β¬π¨β¬π©
β¬π©β¬π©π©
β¬π©β¬π©π©
β¬π©π©π©π©
π©π©π©π©π©
Sixes 3 days in a row!
I don't want to talk about it!
Ok, I have had my coffee, so you can all come out now!
|
|
|
|
|
Wordle 1,216 4/6*
π¨β¬β¬π¨β¬
β¬π¨π¨π¨β¬
β¬π¨π¨π¨π©
π©π©π©π©π©
Happiness will never come to those who fail to appreciate what they already have. -Anon
|
|
|
|