|
Has Anyone Seen Mike Hunt wrote: Nothing more to add, though I wonder if they can do anything if they find who it was.
They can sue them. They would need to prove damages though. Maliciously of course, just the suit is going to cost the employee.
Of course doing that would continue to provide publicity that it happened in the first place.
|
|
|
|
|
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)
|
|
|
|
|
Marc Clifton wrote: whether I want horizontal or vertical precedence I gave you a solution to that issue yesterday.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Quote: I want horizontal or vertical precedence
Quote: Thank you Code Project! (And the author, of course)
Thank you Matt Perdeck! (And Code Project, of course).
Fixed the precedence issue
|
|
|
|
|
Thank also the "mighty search box".
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
I had a classmate in undergraduate school that did the bin packing problem for one of his assignments. It was in the context of putting boxes in a truck (i.e., UPS)? Cool stuff.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
That's my job every day except for me it's a three dimensional problem and it's on such a large scale that a tenth of a percent change can result in a difference of millions of dollars.
|
|
|
|
|
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'.
"Go forth into the source" - Neal Morse
|
|
|
|
|
kmoorevs wrote: 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!
Interesting. How did you discover that was the problem?
Google? Or some test you tried?
|
|
|
|
|
I discovered it this morning while working with the client but couldn't make the connection until after an hour or so of testing internally between two of my own systems here.
"Go forth into the source" - Neal Morse
|
|
|
|
|
Wow. You happened to think of opening an app as admin on the target and then trying to remote to that machine?
Not sure I would've thought of that.
You were obviously desperate and trying everything.
|
|
|
|
|
kmoorevs wrote: teamviewer were blacklisted since they are often used in scams
I would have asked for proof. TeamViewer is a well known support app, and this just shows the guy doesn't know WTF he's talking about.
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
Kevin Marois wrote: the guy doesn't know WTF he's talking about
Agreed!
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!
"Go forth into the source" - Neal Morse
|
|
|
|
|
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.
|
|
|
|
|
Thanks, I'll keep that one in mind!
"Go forth into the source" - Neal Morse
|
|
|
|
|
kmoorevs wrote: Their network guy explained that gotoassist as well as teamviewer were blacklisted since they are often used in scams...
Have you informed him about what goes on in email?
|
|
|
|
|
but this keeps the bad tech guys from taking over...you never know...I might just go nuts and run syskey!
"Go forth into the source" - Neal Morse
|
|
|
|
|
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!
A lot of it is JavaScript (Node.js, npm, MongoDB, Karma, Jasmine, Gulp), but there's an entire chapter (and then some) on .NET Core and PostgreSQL as well.
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?
|
|
|
|
|
Congrats
Someone's therapist knows all about you!
|
|
|
|
|
Thanks!
|
|
|
|
|
Way to go!
I'm on my way to Amazon now to check it out.
EDIT
I saw the book on amazon, but there's no preview yet.
Let us know when we can read a preview.
|
|
|
|
|
Will do, I know they're working on it.
|
|
|
|
|
Sander Rossel wrote: Now, what was this thing called "spare time" again? That's something you use to work on the "Revised Second Edition"
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
W∴ Balboos wrote: That's something you use to work on the "Revised Second Edition"
That's really funny because as G. Bernard Shaw said, "When a thing is funny, search it carefully for a hidden truth."
You have, no doubt, written books before, because that is the way it works.
|
|
|
|
|