The Lounge is rated PG. If you're about to post something you wouldn't want your
kid sister to read then don't post it. No flame wars, no abusive conduct, no programming
questions and please don't post ads.
It's a pity he didn't manage to close every Twatter account.
You'd think that the simply act of refusing to ever look at the damned thing would be enough to avoid it. But no, every time you turn on the news, all you get is "Twat X twatted this, Twat Y twatted that, Twat Z twatted the other." People texting nonsense is not news! Teenagers do it every minute of the day.
Can media editors not understand the simple concept that I don't give a twatting twat what some twat has been twattering while they could have been doing something more productive with their twatty lives?
So I was looking for an algorithm to "best fit" rectangles on a limited area surface (the screen, in other words, and the rectangles are forms/dialog boxes that are dynamically generated as needed), turns out this is called "Rectangle Packing" or "Bin Packing" or "Binary Tree Bin Packing" and it turns out to be a complicated problem to determine an optimal solution, something they call "NP complete" meaning there is no fixed solution, as in "nondeterministic polynomial time". Yeah, whatever, I just needed something that did a decent job, didn't have to be perfect. Once I figured out the right keywords to search on, Google led me to Fast Optimizing Rectangle Packing Algorithm for Building CSS Sprites
Very cool. The core algorithm can be stripped down to two files, and I tweaked it so I can select whether I want horizontal or vertical precedence, and unlike many of the other algorithms I found out there (mostly in one of those "J" languages) this one doesn't require that all your rectangles are known ahead of time, which was one of my requirements.
Thank you Code Project! (And the author, of course)
One of my client's IT dept. has gone overboard with web security and blocked the ports used by our remote (over the web obviously) desktop solution. (gotoassist) Their network guy explained that gotoassist as well as teamviewer were blacklisted since they are often used in scams...those ports weren't getting turned back on, no exceptions. He advised us to try Chrome Remote Desktop. It works fine with one major exception.
If my client has an active window on either screen that was started with elevated privileges, (runas Administrator) user input (mouse and keyboard) into the user's system is ignored completely! Minimize the offending screen/app and input is restored! This is probably a security feature, but ime, this is the only remote desktop software that behaves this way. It' OK once you understand the limitations, but very frustrating until you do!
I did check the unattended remote and thankfully it doesn't have that 'bug'.
That said, I've seen this crap happen (usually right after they failed an audit or somebody gets a promotion) where they (the org's IT/Web gurus) block everything, lock everything down...and make life hell for the poor bastards downstream. Eventually, the peasants will revolt, heads will roll, and order will be restored in the kingdom. Until then, I'll try every available option just to get a simple job done!
FWIW, my company uses ScreenConnect corporate-wide to connect between roughly 15 different sites in three different states and it works really, really well for us. It requires a client-side app and uses their server but I think those things are what gives it such good performance.
So for the last year I've been writing my latest book, Continuous Integration, Delivery, and Deployment!
The schedule was pretty tight and there were a lot of pages to be written (over 400)!
After a year of writing and stressing the book was finally released this week!
There is a chapter on Git and a couple of chapters on Jenkins (traditional and new Groovy pipelines) as CI tool as well
Other tools include SonarQube, Selenium and Postman.
I'm now a published author (with Packt Publishing) whose book also sells on Amazon
As eBook and/or printed book (my first pBook)!
Now, what was this thing called "spare time" again?