For some reason, having each task handle each assembly is faster than for each task to handle each type or both. This leads me to believe there's probably some lock contention happening for types in the same assembly. I couldn't find any article about how the C# reflection library handles threading or locking. The only thing I know is it thread-safe. Does anyone have any information about this?
In my experience - whatever reflection caches is not enough. They do only very minimal stuff, so any locking there is not an issue. That's why people say that reflection is slow - because most of the stuff comes afterwards on top of it. So you often want to cache reflection stuff yourself, especially when you'll be reusing it multiple times.
Even VS built-in profiler nowadays is quite useful: -us/visualstudio/profiling/profiling-feature-tour?view=vs-2022#instrumentation - you will see in call stack all the functions not yours, but System and others too.And then in here -us/visualstudio/profiling/profiling-feature-tour?view=vs-2022#analyze-cpu-usage (3rd screen shot) you'll see which path in which callstack contributes how much and most (Hot Path).
Idea #1: Instead of Notifications as the primary view of the lock screen, instead provide a launch screen which offers configurable options. Mine would include: The current date/time, An option to open the previous open app, Direct access to my to-do list, Camera access, and a swipe option to see notifications.
I use xfce4-screensaver and lock my screen via xfce4-power-manager inactivity timeouts. After my system update and a reboot, the lock screen flashes and is very hard if not impossible to recover from.
I then went to xfce4-screensaver-preferences and enabled the screen locking. My screensaver kicked in at the appropriate time. But was unable to lock it due to flashing and not getting focus on the user/pass dialog. Ended up ctrl-alt-F2, logging in, and killing xfce4-screensaver in the other session.
I want it to be automated: I walk away and the screen should lock. No additional action should be required. Keyboard shortcuts, special mouse movements or unplugging devices from USB are not valid solutions.
Sorry, no Arduino required, but you probably already have a web cam on your desktop. If you don't mind being observed like Schrodinger's Cat, you can use a small utility like YawCam in Windows or Motion on Linux to trigger the screen lock when you are no longer visible at your console.
RFID (NFC) might be the way to go. Have an RFID tag in a wristband and an RFID reader by the side of (or under) your keyboard. As long as you keep your hands close to the keyboard the RFID reader should detect your wristband. When it doesn't sense it for a pre-defined period of time send a signal to the PC to trigger it to lock. It could then trigger the unlock when your wristband is back in range again.
If you chair has a gas cylinder to adjust height, it sinks a bit when sat in. My dip is about a centimeter. That's more than enough for a beam-interruption or reflection sensor, a hall effect sensor, or even a dead-simple magnetic reed switch, like those used by home alarms to monitor windows.
You could have the reed switch turn on/wake up a micro like an ESP8266, which uses ESP-NOW to talk to another ESP plugged into a usb serial on the desktop. Once the message is sent, the micro can go into deep sleep. The desktop's serial port is read by the lang of your choice; node.js, python, c#, etc, and runs a command or fires a key combo to lock the workstation.
The easiest and cheapest method is to just use Win+L. After you buy pizza for everybody for a few times, and have to endure their jokes / sarcasm at the same time, you will never forget to lock it again.
Example: configure the screensaver to kick in and lock the screen after 5 seconds of inactivity (that is roughly the time you need to stand up and walk away, before any colleague has a chance to start typing without you noticing). It will create some trouble for you also, but you are sure that the computer will never remain unlocked. No additional software, hardware or work required - besides moving the mouse and hitting buttons on the keyboard. At the same time, you will become the most productive employee in the company. :)
On a more serious note, the purpose of that rule is to make people more aware of the security needs, and the need of them being involved in the process. Usually, locking the screen is the least one can do towards security, even before choosing good passwords - screen not locked, password not needed at all.
Place a ultrasonic distance sensor HC-05 close to your monitor, facing towards your chest. Check the distance measured against a defined threshold (potentiometer?) and send a key press to your PC to lock it if it is exceeded.
I use i3 and like to deliberately leave my workstation unlocked, because it's funny when I come back and find people pressing various key combinations to try and activate the group chat window (sending a funny message in my name is how they would prove they've 'hacked me') which I put into a hidden buffer.
On iPad, you can make your screen dimmer or brighter (dimming the screen extends battery life). You can also adjust the screen color and brightness manually or automatically with Dark Mode, True Tone, and Night Shift.
Elle Mexico recently posted a picture of the Kylie Cosmetics founder as she arrived at Prada's show at Milan's Fashion Week and captured amid the image of Kylie putting on sunglasses was Kylie's lock screen, phone grasped in her hand. As to what was featured set as the 26-year-old's background? Oh, only a selfie with the Call Me By Your Name star.
This newest development comes amid a string of public appearances the two have made together since sparking romance rumors earlier this year. First, the pair seemed to confirm the months of speculation when they attended Beyoncé's Sept. 4 concert in Los Angeles. At that particular stop of the Renaissance World Tour, videos posted to social media of Timothée and Kylie show arriving together before locking lips in a special VIP section of the audience.
Teachers really like the ability to display their iPad or their students' iPads on a projector screen. Projecting on a large screen is great for demonstrations, simulations, explanations, and showing examples. There are several ways this can be done in the classroom. Read the post for more information and for a handy chart.
A great management tip for school or class sets of iPads, tablets, and iPods is to number each device. Setting the lock screen wallpaper to an image with each device's number will make it easy to identify devices. Just press the home or power button and the lock screen instantly lights up and displays the number.
Reflection is an essential part of learning. Yes, it often hard to fit in the time for reflection. It's also challenging to make reflection something that doesn't seem boring and tedious. To help make reflection a little more fun, I've made a reflection question generator and dice that can help students express their responses. Both the generator and dice use QR codes and serendipity to call up reflection questions and avenues for responding.
df19127ead