Select numerical value with +/- buttons or manually entering?

The design I’m working on has the user assigning a value to each item, then if the value is more than 1, a second dependent attribute appears (as shown). I want the numbers to be large and not default to an ugly and busy text box. However, the only solution I could think of is an even uglier and busier -/+ button combo which is also incredibly space expensive (and, I’ve found, nearly impossible to fit in mobile mode).

Is there a better way to do this?

enter image description here

Pattern to encrypt / decrypt data to / from a server without entering the secret key each time?

The title maybe it’s a little bit confusing but I am certain that what I want to achieve is a common pattern, even if I didn’t found anything on internet.

I’m developing a web app that store encrypted critical user data in a database, through server. User must be able to see decrypted data every time access the app. Nothing of innovative.

What is the best way to store data and retrieve them without inserting every time the secret key for the encryption/decryption in a secure way?

There’s a way to do that without hard coding the secret key in the client-side?

If it’s not possible, what is the pattern used by most famous password services to do something like this?

thanks for any help!

How to access my website without entering the FQDN, just the domain

To access my website (just a testing page for now) I have to enter hostname.domainname.com. I would like instead of just entering the domain name (domain.com).

Do i have to configure BIND, do I need an other application or do I need to change the Domain Register (CloudFlare).

Currently on Ubuntu Server 18.04 Fully update!

Sorry for my bad english! And thank you!

Server error when entering a percent symbol in search?

Fuzzing a website and came across an odd behavior. The site has a search bar, it sends queries via a GET request with the standard ?q= parameter. When I try the standard XSS payloads such as <script>alert(1);</script> I get a 403 error.

When I type a percent symbol in the search bar it just sanitizes it to ?q=%25 however when I enter the percent sign in the URL directly it doesn’t seem to sanitize it (e.g. ?q=%).

When I send this query to the server it responds with an error page saying Uh-oh! We've got a problem on our end. When I enter %00 directly in the URL it gives me a page back with a blank search term.

Any ideas on what’s going on?

Server error when entering a percent symbol in search?

Fuzzing a website and came across an odd behavior. The site has a search bar, it sends queries via a GET request with the standard ?q= parameter. When I try the standard XSS payloads such as <script>alert(1);</script> I get a 403 error.

When I type a percent symbol in the search bar it just sanitizes it to ?q=%25 however when I enter the percent sign in the URL directly it doesn’t seem to sanitize it (e.g. ?q=%).

When I send this query to the server it responds with an error page saying Uh-oh! We've got a problem on our end. When I enter %00 directly in the URL it gives me a page back with a blank search term.

Any ideas on what’s going on?

Do I need a round trip ticket when entering the US as F1 for short term training?

I will be taking English classes in the US as F1 student (ESL program). The program is 3 months long and I plan to stay in the US for at least 4 months. Is entering the US on F1 with a one way ticket enough or do I also need to book the return ticket and possibly show it to the immigration officer?