A blog about my rantings, including Games, Game Development, Gaming, Consoles, PC Gaming, Role Playing Games, People, Gaming tips & cheats, Game Programming and a plethora of other stuff.
Wednesday, 25 January 2023
No Rack, but definitely an IT mistake
Wednesday, 18 January 2023
ChatGPT Poetry
Tuesday, 10 January 2023
Prodj, Praw or Pro?
Monday, 21 November 2022
It's a C++ STL Rant : Constness and Vector Erase
I believe I am right and correct to be seethingly annoyed that this code does not compile...
ISO/IEC 14882:2003 23.1 [lib.container.requirements] / 3:
The type of objects stored in these components must meet the requirements of
CopyConstructibletypes (20.1.3), and the additional requirements ofAssignabletypes.
No, the most annoying thing here is picking open quite why __copy_m wants to end up assigning. I am still digging into why, but oh boy am I annoyed by this one. For in a module I unironically had to repeat at University solved this in 1996.... I would use a linked list, and simply pluck out the value... or I would skip to the index of the item to remove and copy those after (if they were host memory contiguous then memcpy speed achieved) and just write over and this erase is achieved.
Friday, 18 November 2022
Story Time - Fantastic Rack Mount Mistakes - Part 33 and 1/3
It has been a very long time since my last story time, and so this one comes to you with an unknown number, I am however well beyond any possible NDA or secrets for this one, so I can finally share (it's been 20 years yesterday).
The other side I had the work bench, a coveted space, between the hot and cold isles were thick plastic strip drapes, like you'd get in a meat packing plant.
I just said I was trying to check light circuits for his disk issues; he made it abundantly clear they were my disk issues and left me to it.
I didn't hear it, I didn't feel it... But had the disks?
I waited and watched when a few lorries passed during the fairly quiet week between Christmas and New Years, nearly every heavy lorry going back resulted in some affect on the disks, vibration was being carried into the ground and I guess up through the building. I will be honest, I could not tell. But every spike I saw was timed with a lorry. In fact I soon let Jerod in on my idea and plan to fix it and so he watched and I monitored and when he came in I could tell him when a lorry has passed!
I was not about to shout about this to Mr Senior, instead I set about fixing it.
I ordered a mat of 1 inch thick rubber, the stuff you mount washing machines on in your kitchen. I already knew the racks pretty well, they were bolted at each foot, I'd need a torque wrench to unbolt them and I could use two of the hydraulic scissor platform lift trolleys we used to move machines about to lift the rack ever so slightly.
I didn't want to do this alone, so Jerod was roped in with the promise of a take away pizza from the glorious; but long gone; parlour we loved.
Mr Senior handed over to me and Jerod that night, it was not uncommon for two of us to be on at night, especially if there was work to do fitting something out. It was normal to have two people when we were lifting machines too. But Mr Senior would have been apoplectic if he'd know what us two kids were about to do.
That was my last time as an IT minion; I went back to programming soon after, and Mr Senior never was told what we did... His training should have told him.
Wednesday, 2 November 2022
What did Don do?
First things first, we're going back to the latter half of the 90's here; and I've mentioned Don before in one of my older posts, skidding into hero mode.
It always struck me quite how long he thought about and maybe designed anything before acting. You could say this was because he was mulling and considering the problem, he was being a good engineer, with forethought and wanted to get things right?
Tuesday, 1 November 2022
Confessions of a Linux User
I've never understood this one, but I've felt bad for it for a while now, so I'm going to come clean.... At my last employer they had a very strict network/internet traffic policy, like everything was locked down. I had a few issues with this because using Windows and Chrome it didn't just block the at the DNS or URL returned level, but it actively broke open HTTPS packets and inspected their contents.
Because, slip over to a none-Microsoft operating system, even one running in a VM on the self same windows host and it could get out to the internet and retrieve whatever it liked. So it wasn't just blocking the URL it was inspecting the actual traffic, the actual supposedly secure traffic wasn't secure.
I'm pretty sure this would have proven illegal; just like Scunthorpe Council was found reading its employee's email.
Either way it wasn't that they were doing this that actually bothered me, it was that when asked they said they weren't. Which meant one of two things, either a) they were and were lying or b) something else was and they didn't know. I believe it was a case of option A.