|
I wrote a little C implementation of a ring buffer I was using for serial UART code. It wasn't very efficient because it only dealt with puts and gets one byte at a time. I improved it to deal in adding and reading series of bytes at a time.
I wrote it for someone I met on reddit who taught himself to code recently. I respect the effort, but bear in mind he taught himself to code recently.
Not really thinking about that code, I sent it off to him and it didn't occur to me to stash it somewhere. It was just something I threw together to help someone out.
Turns out, that bit of code was gold. And I can't find it. I could get some iteration of it back from the person on reddit, but I know they've already hacked it some - they told me as much. Yikes.
I tried to wrap my head around it to rewrite it, but I'm already dealing with overlapped I/O in windows w/ COM ports right now, and I can't spin that many plates these days, at least at once. I'll have to come back to it later, except I'm blocked now for want of the ring buffer.
I wish I had that code. Nice bit of kit that, a circular buffer you could write entire chunks to and from. I didn't think it was that big of a deal when I wrote it.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
... (we'll call her "Sue") and they get to discussing "That Employee" (we'll call her "Karen"): you know the one - takes 30 minute loo breaks, disappears for an hour and no-one knows where she is, always last in line to do anything. The one no-one wants to work with, or to work on stuff she has done in the past. That Employee.
Anyway, Sue's daughter still works there, so the gossip gets back to Sue, and she passes it on the Herself. The company has had enough of Karen, and is building up a paper trail with the aim of firing her when they have enough evidence to forestall any legal objections.
Karen appears to have noticed that the game is up, and has found a new job, doing the same thing - so she applies online, and gives her reasons for wanting to change job as basically "the management here are sh*t".
Unfortunately, she didn't notice that the company she is applying for is not only in the same group of care homes, but ... is the care home she is currently "working" for ... and her application lands right on the home managers desk.
Oh, I'd have loved to hear that conversation!
Names changed to protect the guilty.
"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!
|
|
|
|
|
Failing to maintain standard circuits in key (7)
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
|
|
|
|
|
RELAPSE?
"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!
|
|
|
|
|
Nope
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
|
|
|
|
|
Good! I had no idea how to get from "Key" to "Ree" ...
"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 are on the right track though.
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
|
|
|
|
|
COLLAPSE in that case! (though that's 8, not 7 letters... )
COLE = maker of locks/keys
|
|
|
|
|
LAPSING?
(though it should be LAPSSING, but that isn't a word ...)
"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 832 2/6
⬛🟨🟨⬛🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 832 5/6
🟨⬜🟨⬜⬜
⬜🟨🟨🟨⬜
🟨🟨⬜🟨⬜
⬜🟨🟨⬜🟨
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 832 4/6
⬜⬜🟨⬜🟩
🟩⬜⬜🟩🟩
🟩⬜⬜🟩🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 832 3/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 832 4/6
🟨🟨⬜⬜⬜
⬜🟨🟩⬜⬜
🟩⬜🟩🟩🟩
🟩🟩🟩🟩🟩
Using this one daily
|
|
|
|
|
Wordle 832 5/6*
⬜⬜🟨⬜🟩
🟩⬜⬜🟩🟩
🟩⬜⬜🟩🟩
🟩⬜⬜🟩🟩
🟩🟩🟩🟩🟩
One of those days...
Happiness will never come to those who fail to appreciate what they already have. -Anon
|
|
|
|
|
Wordle 832 4/6
🟩⬜⬜🟨🟨
🟩🟨⬜🟨🟩
🟩⬜🟩⬜🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
⬜🟨🟨⬜🟩
⬜🟨🟨⬜🟩
🟩⬜⬜🟩🟩
🟩⬜⬜🟩🟩
🟩🟩🟩🟩🟩
Proper tricky
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 832 4/6
🟩⬛⬛⬛🟩
🟩⬛⬛⬛🟩
🟩⬛🟩🟩🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
I need to transfer my email hosting to a new company to save some cost.
Any good one to recommend based on your experience?
thanks a million!
diligent hands rule....
|
|
|
|
|
|
I moved away from my gmail account 3 years ago
went to proton mail FREE they have paid services
NOT one spam email or glitches in service
Out of an abundance of caution I have created 4 email address and accounts
none of them are linked to one another
I even created one for purchasing items from Banggood in China
no spam easy to sign up
|
|
|
|
|
Nice post and please provide more information. Thanks for sharing.
|
|
|
|
|
#Worldle #615 5/6 (100%)
🟩🟩🟩🟩⬜⬇️
🟩🟩🟩🟩⬜⬆️
🟩🟩🟩🟩⬜↘️
🟩🟩🟩🟩🟨↘️
🟩🟩🟩🟩🟩🎉
https://worldle.teuteuf.fr
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
At around 2AM this morning things started to go a little pear-shaped with our servers. Our tech guys were looking into it trying to work out what was happening, but it became a all-hands exercise in trying to work out what broke what.
We had updated CodeProject's code. So we redeployed, cleaned and deployed, rolled back and cleaned and deployed. It wasn't our code.
Our requests per second were a little crazy. As in 1000x what we normally would get, but nothing that set off the DoS alarms. Things were adjusted to ease the load but the load remained uneased. Finally, with zero load we still had the site pinned. It turns out the firewall needs replacing. Firewall fixed, load reduced, site back up. Mostly.
There were also a series of Windows patches that were installed as part of routine maintenance. These were to do with HTTP security, so they naturally got some attention. Uninstalling Windows patches can be painful, but once one of the patches was removed everything popped back up. However, that was only on 1 of the servers, so that patch, since it's a security update, will be reinstalled, and if it causes issues the entire server will be binned and a new one rolled in.
So: fun and games at CodeProject central and I apologise for being down for so long. This was a bit of a trifecta, but we're now into mopping up and analysis stage so all round.
cheers
Chris Maunder
|
|
|
|
|
Well done Chris
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
|
|
|
|