Official Google Webmaster Central Blog: Bye Bye Preferred Domain setting

If you used the preferred domain setting in Google’s Search Console they are removing this setting:


As we progress with the migration to the new Search Console experience, we will be saying farewell to one of our settings: preferred domain…

Bye Bye Preferred Domain setting
June 18, 2019

Preferred MIME type of S-expression in `HTTP_ACCEPT` header?

NancyFX has Content Negotiation feature that I can write additional serialization adapter for S-expression by implementing IResponseProcessor interface.

And there is a problem… S-expression’s MIME type seems to be text/plain. So the web server cannot decide actual text file type in HTTP_ACCEPT header.

Is there well known practice for deciding MIME type of text file? For example,

  • text/plain+s: adding its file extension
  • text/plain+s-expression: adding language name

2 selection buttons 1 preferred but with different input types

I have 2 login forms in the same page: login with username&password, login with emailaddress&password.

I separated forms with tabs but 1 of the login forms is always selected as default behavior of a tab.

The one with the username&password is the default selected form.

However people type their email address to the form that I ask for username&password and I got a lot of faield login attempts.

I thought I could have an accordion menu that are collapsed as default or with navigation pills. Another option would be having 2 buttons and when clicked the login form open for each of them.

Any suggestions?

Preferred way of getting domain admin after client workstation local admin owned

Imagine having access to a workstation with local admin permissions.

Let’s say that no domain user is going to login – no keylogging. Also, the workstation had a restart – mimikatz return only computer account cred.

What is your preferred path of overtaking the domain admin account?

Preferred access mode for a directory with PHP scripts and the PHP script itself

The people I work with have the tendency to set the access mode in numerical notation to 777 every time they face access right problems.

The mess is caused by using many users.

  • The creator of files (user: john),
  • The php interpreter (user: www-data),

I’m wondering if there exists a preferred / best / safest access mode setting for directories containing php scripts and the php script itself.

Tons of mail windows opened because of no preferred outgoing server

I don’t use mail normally. So today when I open my app, this caught me by surpriseenter image description here

I selected one of the server and then close the mail window, but there are just so many to go through.

My questions:

1) The email are seemingly created based on some of my calendar events. Why they tried to send me emails?

2) How can I efficiently close all these windows in one go, instead of making a selection of outgoing server than close a mail window?

I have tried to quit the mail app from its context menu of the Dock, but it just forces one of the mail window to the foreground.

What is the preferred way of displaying interactive information in a small space, eg table cell?

I have a list of athletes that have competed in a race. For each athlete, I want to be able to do a couple actions for each athlete, like

  • View Time Online
  • View Team of Athlete
  • View Time Splits
  • View Athlete

A large number of athletes means I would like the cells to be as compact as possible. What is the preferred way of displaying interactive information in a small space, eg table cell?

I have a couple of solutions:

Put small buttons in each cell to do each thing

enter image description here

Have a dropdown menu to display more information

enter image description here enter image description here

Have an action sheet to display more actions (excuse the incorrect cell in the background of action sheet)

enter image description here enter image description here

Preferred format to display negative currency (US English)? [closed]

Which would be the more readable way to format negative numbers:

  • -$ 99.99
  • ($ 99.99)
  • Some other format I haven’t considered

Details: Most of our user base has finance experience, but some have none at all. We don’t deal with international currencies, and it’s a web application so I don’t know of anyway to get the user’s system settings.