shallow depth of field: does change-based perspective correction have any effect on the approach?

Consider a photographer with an SLR camera and a PC lens placed in its predetermined position, without displacement, standing on the ground at the base of a building with columns whose height is X times that of the person and is at Y feet of distance from him.

The photographer composes a frame with the center of the building in the center of the frame with some empty space on top, to do so they have to tilt the camera slightly upwards, which creates a key effect with the columns that seem to converge vertically towards a point above of the frame

Then the shooter maintains camera orientation level the camera and adjust the PC lens shift until the columns appear parallel in the image.

Is there any change in the focus at the bottom of the columns and the focus at the top of the columns before and after the change?

sequence – Sub ID mysql based on another field

I need to create a secondary ID for users in the database.
Actually I have something like this:

ID     USER     others columns  
1      1           ...  
2      1           ...  
3      1           ...  
4      2           ...  
5      2           ...  
6      1           ...  

I need to add a sequence base in the column user that way:

ID     USER        SEQ     others columns
1      1           1       ...
2      1           2       ...
3      1           3       ...
4      2           1       ...
5      2           2       ...
6      1           4       ...

Any ideas for the query?

8 – Create a custom field with calculated dynamic / virtual property value

I am working on a custom field (Drupal 8) where the author selects a taxonomy term from the defined list, but the display is of, or includes, a node that refers to that term. I already have a service that can retrieve the desired node based on the term id. I started with a custom FieldFormatter for entity references, and that does a reasonable job of displaying the node information as desired.

However, what I really need is that the information from that node be included in a jsonapi reply. I have made a custom FieldType extensible EntityReferenceItem calculating that all you would need is to add a calculated property value (see https://www.drupal.org/node/2112677, e.g.) The examples continue to point to the use of a specialized class that extends TypedData, but EntityReferenceItem treats the main property as calculated and does not use it.

I also read How to correctly define and return a calculated simple matrix field property, but I am not sure that it addresses the same type of thing nor is there enough detail to help me implement a solution.

Any pointers out there?

Field error display of edge-to-edge material design chips

The material design specification for the text and chip fields says that errors should be displayed below the field

In the case of edge-to-edge chip fields (such as those at the top of the chip page: https://material.io/components/chips/), where should the errors be displayed? In the example image, there is no space for the error subscript.

enter the description of the image here

ACF – Apply custom field to all secondary categories

Is there any way to apply a field group to all secondary categories of a given category?

Is it possible, with bitcoin-core or btcd, to manually configure the scriptSig field in a coinbase transaction?

I'm talking when I use regtest or simnet modes.

By context, it is so that you can create coinbase transactions with reproducible txids.

How to save custom field data in a custom table without using API?

Battery exchange network

The Stack Exchange network consists of 175 question and answer communities, including Stack Overflow, the largest and most reliable online community for developers to learn, share their knowledge and develop their careers.

Visit Stack Exchange

ux field – UX vs Product design, what's the difference?

Trends …

There has been a positive overall trend in the last 15 years to designers to take on a growing reach of responsibilities within the product development process

15 years ago, in the "Microsoft" era of formal software development, human-computer interaction, visual design or information architecture were specific disciplines in design, and the products were delivered to specialists in these disciplines at formal points in the development process.

Since then, the trend has been get away from specializations and allow designers to influence and direct increasingly wide-ranging circles in the development process. This has resulted in broader disciplines such as the UX design, as the following diagram shows:

(click to enlarge)
designer roles

Some drivers of this trend:

  • The promulgation of design thinking as a paradigm for the integral development of products, not just the "design phase" work.
  • The incredible success of design-led companies such as Apple, Dyson, Nest and others, which has shown the business world how successful design-based development can be.
  • The flattening of the development process by frameworks such as Agile and Lean, which leads designers and other team members to work more functionally with broader areas of responsibility.
  • …and so.

Product design …

… is just another term, but it is also an almost predictable evolution / variant of the user experience. It represents the next extension of the design scope, far from the design of the user experience towards an even broader design mandate for a complete product.

This may include some or all of the bubbles in the previous diagram: a product designer can work not only on creating a user experience, but also on functional ergonomics, technical design, marketing approach, etc.

Keep in mind that these terms are blurred, but confusion does not mean that the term makes no sense. When it is understood in the context of how a term evolves, it is easier to understand why it is being used and what it is intended to communicate and differentiate.

Companies will use the term & # 39; Product designer & # 39; differently, but keep in mind that:

  • Something blurry in the definition does not make a word unusable or useless (think about how confusing the meaning of the word is F**k It really is, but it's still very useful =). The term & # 39; Product designer & # 39; It has value because it communicates a differentiated scope of design responsibility.

  • Even if a Product Designer does not have a broad scope of responsibilities for a particular company, the use of the term can still be valuable for the company because it can communicate a commitment or an aspiration to product development led by design.

I hope that helps.

8 – address dependent location field is not displayed

drupal 8.8.2 address 8.x-1.7

The address module works because I can add an address to my content, however, I cannot display the "dependent location" field even when it is set to "no override" or "mandatory"

of the document I found: https://docs.drupalcommerce.org/commerce2/developer-guide/customers/addresses/countries-and-subdivisions

It shows a "suburb" field, which I suppose is this field. I was planning to use this to contain the "county"

Are there any dependencies I should verify to enable this field?

thanks for your time.

P.S. I wasn't sure how to label this question, I didn't see a label for modules or address

Personalization – How to add a text area field to the taxonomy (label)?

How can I add a custom field (text area) to the WordPress taxonomy (tag)?

add_action('admin_init', 'tag_custom_fields', 1);
if( !function_exists('tag_custom_fields') ) {
function tag_custom_fields()
    {
        add_action('edit_category_form_fields', 'tag_custom_fields_form');
        add_action('edited_category', 'tag_custom_fields_save');
        add_action( 'create_category', 'tag_custom_fields_save'); 
        add_action( 'category_add_form_fields', 'tag_custom_fields_form_new');

    }
}

if( !function_exists('tag_custom_fields_form') ) {
function tag_custom_fields_form($term)
    {
        $t_id = $term->term_id;
        $term_meta = get_option( "taxonomy_$t_id" );
        wp_enqueue_script('wp-color-picker');
        wp_enqueue_style( 'wp-color-picker' );
?>
     'description',
        'textarea_rows' => 10,
        'editor_class'  => 'i18n-multilingual',
    );

    ?>
    
        
        
              true,
                    'media_buttons' => false,
                    'textarea_name' => 'term_meta(tag_second_description)',
                    'textarea_rows' => 10,
                    'teeny' =>  false
            ));
            ?>
            
        
          

        

I have this code above but add a field to the category. I don't know how to make it add a field to the tag.