Is it lazy or inconvenient not to distinguish between password reset use cases in the UI?

I was recently asked to reset a password due to the fact that the security requirements for the website had been upgraded, and the users have been asked to change their passwords (for those that don’t meet the current standards).

Although the user interface simply asked you to provide an email address (to verify that it is an active account) with a call-to-action to change the password, when the email link is sent to my inbox, it was in the format of a ‘Forgotten Email’ page that had the same flow as if you clicked on the ‘Forgotten Email?’ link commonly seen at the sign-in page.

Is it simply more convenient to use exactly the same process, or is it simply lazy design or development not to make this distinction as it clearly has some effect on the user experience? Is this a common practice and if so why?

c# – Setup specific mousewheel rules and timer with reset function to control a value with minimal user input

My main issue here is to distinguish a first and a second stage when moving a mousewheel up and down.
How could I put the following together for a mousewheel solution in plain c#?
I have a value that controls the opacity level of an object and it could be a value between 1 – 255.
I started with a simple mousewheel setup so that each time the wheel jumps to its next spot upwards or downwards, another value returns a 1 or -1. What I need is moving the wheel up or down 1 time will start a timer event that changes the opacity value to the minimum or maximum value depending on wheel movement direction by adding/subtracting 1 to the current value every 1ms. For up direction, stop value increase only when the wheel was moved to the next spot upwards or when the value is 255. For down direction, stop value decrease only when the wheel was moved to the next spot downwards or when the value is 1.

What’s the best “Reset to Default” UI element?

What’s the best UI element for “Reset to Default” for the fields in a form?

We have default text inputs in a form. Uses can edit the default text inputs, and we want to allow users to revert back to the default text inputs easily.

I can think of three solutions:

  1. A link to “Reset to default” enter image description here
    Pro: The link only shows when there’s an edit. Therefore, the form can look cleaner.
    Con: No way to toggle between the default and edit easily.

  2. Checkbox to toggle between default and edit enter image description here
    By default, all checkboxes are selected. When users make edits, the corresponding checkbox will be unselected.
    Pro: User can toggle between default and edit easily.

    • A checkbox appears in every field, and it can make the form looks not clean.
    • The interaction is unexpected when users make edits.
    • It’s unclear what it will do when unchecking the chekboxes.
  3. Use toggles to switch between default and edit enter image description here
    Similar interaction to the checkbox solution above, when users make edits, the corresponding toggle will change.
    Pro: It’s clearly a binary choice.

    • A toggle appears in every field, and it can make the form not clean.
    • The interaction is unexpected.
    • It’s unclear what it will do when switching.

What do you think of the above three solutions? I’m open to other solutions if it’s more intuitive.

Thank you for your time and feedback.

Does execve reset GP registers?

Does execve() or any of its sister functions reset the general-purpose registers? In other words, if the caller stores some values in all or some GPRs, will the new program see the same values in the same registers? Lets us assume that we deal with the IA64 architecture and GLIBC if it matters.

P.S. Questions on development on Ubuntu are on topic on this site. Please explain your downvote(s).

Trying to reset the ID in SharePoint List with workflow

Trying to reset the Id field in SP list.

Created a new list by saving the template and uploading it again using the app option.

The list gets created however when I run the workflow some fields do not populate and all are person or group type.

I tried creating the workflow again and linking it to the newly created list but it still gives Required info error (highlighted in yellow) or the field remains blank and the workflow does not work as it sends an email once all field details are available.

please help as trying to figure out the error since last week.

During reboot my screen goes black, how long should I wait before hard reset?

For whatever reasons I need to reboot my laptop every 5 days now. Normally it is suspended/resumed a couple/few times a day. Sometimes during reboot my screen goes black for a long period. How long should I wait before performing a hard reset (holding power button down for 10 seconds)?

How to reset CPU governor

I am running Gigabyte AERO OLED (2019) on pop os and out of the box, the CPU seemed to run at max turbo speeds constantly (4.3-4.5 Ghz) even in idle so I’ve been struggling to limit the max CPU speed to about 70-80% and disable turbo using cpupower, cpufreqd, tlp… by googling and by using various info from 2008 to 2019

…And I succeeded in messing things up totally. CPU is now locked at 800 Mhz and wont budge:

    $   cpupower frequency-info analyzing CPU 0:   driver: intel_pstate   CPUs which run at the same hardware frequency: 0   CPUs which need to have their frequency coordinated by software: 0   maximum transition latency:  Cannot determine or is not supported.   hardware limits: 800 MHz - 4.50 GHz   available cpufreq governors: performance powersave   current policy: frequency should be within 800 MHz and 800 MHz.                   The governor "performance" may decide which speed to use                   within this range.   current CPU frequency: Unable to call hardware   current CPU frequency: 800 MHz (asserted by call to kernel)   boost state support:     Supported: yes     Active: yes 

So my question is, how do I reset things back to default without reinstalling system?

Also, how do I make the system read out or use the flags from here properly?


Thanks in advance!

Reset WordPress admin users to limit access

I have a client with a WordPress website currently hosted on Siteground. They are worried that someone else has access to their WordPress admin user account (only one user I can see in the back end) and also possibly their Siteground account.

I wanted to suggest just change passwords for both of these sites but wanted to confirm, would this be enough? Or create a new full admin account in WordPress then delete the other altogether?

Is there a guaranteed way to remove any possible access to everyone but the client?

Is it safe to implement 15 bytes password reset tokens?

I want to figure out how safe is to implement a 15 bytes long password reset token.

If we have 26 letters and 10 numbers, 36 possibilities per byte. And we have a 15 byte long token, that means that the total amount of possibilities is 36^15.

Is it possible to brute-force and find a token in a reasonable amount of time? The amount of possibilities here is really really big, so i don’t understand why other websites implement a +32 or +50 byte long tokens.

Can someone explain that and maybe the math behind this to probe if this is possible?

Let’s assume we can brute-force at 15k request per second