web application – Is running bash script that is taking arguments from site dialog box a good idea?

I’m building a site that will use youtubeAPI to keep track of playlist changes.
In order for 3rd party to use it I would supply a dialog box in which user would type his/hers playlistID – this would be read and then put as an argument into bash script that in turn runs curl/python scripts to connect with API (ran on my machine) and another bash script that would mkdirs on my disk.

Does this potentially endanger me/my files somehow ?
Can someone input some magic command that would do “rm * -f” or similar malicious endeavor ?
Should I use some external server instead of my machine ?

I know nothing about security, Ive read few topics here but didnt find similar problem.

mobile web – Showing a full screen dialog to view a full list of radio button selection

I’m designing a sort of step by step process for mobile web using a stepper to get a bunch of information from a user. One of the steps requires a user to select from a list of (about 20) pre-defined locations or enter their own address (entering their own is not high priority). Since the stepper and the list of locations can get really long, I am having the user launch a modal to view all the choices in a full screen dialog so that they don’t have to scroll the stepper to select a location. The problem however is that after selecting a location (with a radio button) on the modal and closing it, how to show in the wizard what they have selected in the modal after the modal is closed. Does anybody have an idea? Is launching the modal even a good idea?
Before launching the modal
Modal with all options

How do form #states interact with dialog action buttons, if at all?

A dialog can be fired by a link formatted as such:

<a class="use-ajax" 
    Some path displayed in modal dialog.

If the contents of /some/path are a form, then drupal takes its action buttons and drops them into a “footer” <div class="ui-dialog-buttonset"></div> in the dialog. This seems to take into account the initial state of the buttons — so if submit has the disabled attribute by default then the corresponding UI button gets the .is-disabled class applied. The “real” form action buttons are rendered but set to display: none.

However, I’ve got #states set up on my submit button with

$form('actions')('submit')('#states') = (
  'disabled' => (
    ':input(name="field_fivestar_rating(0)(rating)")' => (
        ('value' => '-'),
        ('value' => '0'),

The “real” form submit button is updated correctly according to its #states attribute, but the same cannot be said for the corresponding dialog button. It seems to be static based on the initial state of the submit button.

Is this expected behavior? If so, is this something that deserves an issue in the queue? Seems like an oversight and usability concern.

macos – Suspicious email address in the "My Search" dialog box during reinstallation

I just received a 2019 MacBook Pro sealed in the box. During the installation I set my Apple ID to "Set up later". When it came to the "Find My" screen, it said:

Find mine will use the email address "e***********a@gmail.com"

Find My shows an Apple ID from

It looked suspicious, so I took a picture and finished the installation. After installation, no Apple ID was displayed in System Settings> Internet Accounts, so Find My was not active.

The installed operating system version was 10.15.4.

I thought this was another Catalina error, but paranoid of the worst, I restarted and ordered R, returned to the installer, deleted the drive, changed the networks, and reinstalled the operating system from the network. After the steps, I didn't enter my Apple ID and when I got to the Find My screen, it appeared still shown this random email address.

I installed 10.15.4 on one different Device earlier today, a MacBook Pro 2016 model and it did Not have this behavior.

Is this a bug or source infection (Apple) or a local problem with this new MacBook Pro 2019 hardware? What should my next steps be?

To update: Reset NVRAM and the MacBook will now display an activation lock that matches this computer Not be new and be renovated instead.

Finder – When I open a dialog box in Catalina, it always appears in the Recent view and shows items that are grouped by recent items

I find new Enter the image description hereThink of it as EXTREMELY fearful because it forces me to think about when I last used the document and when I used all other documents in the same folder. Indeed, finding a document is much more difficult than if the list was simply alphabetical.

Is there a wait to turn this train accident off and instruct Finder to sort the items alphabetically as a normal person thinks and uses a computer?

Best Practice – Is it good practice to automatically "turn on" a setting based on a dialog confirmation?

Imagine, as a user, you can use an app to remotely start your vehicle's air conditioning. All you have to do is open the app, tap "A / C" and then press Start. However, if the car is not connected (electric power wall), you must activate a certain setting for the function to confirm that the vehicle can consume battery power.

What is the best workaround?

A) When the user presses Start A / C A dialog box prompts you to activate the setting. After tapping Activate, the setting is automatically activated and the A / C process is started.

B) When the user presses Start A / C A dialog box prompts you to activate the setting. After tapping Activate, the settings screen is displayed and the user has to activate the setting manually.

All feedback is welcomed 🙂

Is there a way to change the print dialog in Google Sheets to either the last selection or "selected cells"?

I almost never want to print an entire worksheet. I usually want to print a block with 15 rows by 8 columns.

Everyone #$ & ^ $ Time I have to switch from "Print Whole Sheet" to "Print Selected Cells" Is there a way to make this change permanent so that the DEFAULT is to print selected cells.

Oddly enough, the print dialog remembers the centering of the previous print.

(To anticipate comments: Yes, I mentioned this in the feedback. Several times.)

Accessibility – You cannot switch between the dialog options in the Find File's Replace dialog box

Although full keyboard access is enabled for all controls in the keyboard settings, I cannot switch between the dialog options in the Find File's Replace dialog box.

This worked well in previous versions of macOS – I've used it for years – but not in Mojave.

Enter the image description here

I replace files several times a day so it gets pretty annoying. It works in other dialog boxes. Does anyone have a workaround or know why away one feature?

Firewalls – Why is the "Not Recommended" option used by default in the Windows security warning dialog?

When I start a program that requires network communication for the first time, the following dialog is displayed:

Block Windows Defender Firewall dialog box

It has been a part of Windows for some time (this runs on Windows 10, but note the Vista / 7 design language) and, as far as I know, has always activated the selection of public networks by default. But based on the text, I don't understand:

Allow (application) to communicate on these networks:

() Private networks like my home or work network

(X) Public networks … (Not recommended as these networks often have little or no security)

Why should it be the default not recommended Choice? Given that people tend to click and ask questions first (including myself, included from time to time), this seems to be an obvious vulnerability. To do the recommended action, I need to check the first box and uncheck the second. Then click the Allow Access field. However, this appears to have been unchallenged or unchanged for several years.

Am I misunderstanding this dialog or is there a legitimate reason for its default selection?