office 365 – Dynamic sharepoint form which uses Drop down menu to select the form

I’m trying to create a dynamic form in sharepoint which uses drop down menu to choose the type of form, for example I need to submit a form to a department and each department will have different forms and the user can choose the department on top and the form below should change depending on the selection above.

Can mobSF do DYNAMIC analysis on a physical device for testing NFC?

I would like to do mobSF dynamic analysis of an app that uses NFC. For this I need to run mobSF in a physical Android device or find another tool that can do this. Can mobSF do this? If not is there a tool that would work for this?

For dynamic programming problems, how do we know the subproblems will share subproblems?

So, a common reasoning to use dynamic programming as the website ( mentions is that, we use dynamic programming when:

Dynamic programming approach is similar to divide and conquer in breaking down the problem into smaller and yet smaller possible sub-problems. But unlike, divide and conquer, these sub-problems are not solved independently. Rather, results of these smaller sub-problems are remembered and used for similar or overlapping sub-problems.

So my question is that how do we know when in a problem if we apply the divide-and-conquer approach, we will get overlapping sub-problems?

Let’s take the famous problem from Cormen.

A car factory has two assembly lines, each with n stations. A station is denoted by Si,j where i is either 1 or 2 and indicates the assembly line the station is on, and j indicates the number of the station. The time taken per station is denoted by ai,j. Each station is dedicated to some sort of work like engine fitting, body fitting, painting, and so on. So, a car chassis must pass through each of the n stations in order before exiting the factory. The parallel stations of the two assembly lines perform the same task. After it passes through station Si,j, it will continue to station Si,j+1 unless it decides to transfer to the other line. Continuing on the same line incurs no extra cost, but transferring from line i at station j – 1 to station j on the other line takes time ti,j. Each assembly line takes an entry time ei and exit time xi which may be different for the two lines. Give an algorithm for computing the minimum time it will take to build a car chassis.

Here, how do we know that subproblems will overlap?

Dynamic or Fixed height for Modal window

Need your help to clarify one query related to the modal. My question is whether the modal height should be dynamic or fixed? Dynamic I refer to is that the modal height varies based on the amount of content & fixed modal will always have a fixed height regardless of the amount of content. For fixed modal, there will be an internal scrollbar to scroll the content. Sample images attached (first image represent the dynamic & the other 2 fixed).
Which approach is the correct one as per the UX principles & widely used one?
Thanks in advance!

enter image description here
enter image description here
enter image description here
enter image description here

optimization – Dynamic Chromosome Length in Genetic Algorithms

My inquiry concerns the length of chromosomes employed in genetic algorithms (GA), and more broadly in other classes of evolutionary algorithms.

The chromosome length is fixed throughout a GA’s run. However, some work has explored the benefits of altering a related GA parameter: the size of the GA population, which is allowed to vary in size (increase or decrease) from one generation to the next in order to better explore and exploit the search space.

My question is now: given that the population size can change, is there any benefit to altering chromosome size? I haven’t really come across any work on this.

I imagine this would have applications in things like cruise stopovers and finding alternate routes to a given destination.

Adding another city for instance in a run of the Travelling Salesman Problem (TSP) using GA would lead to an increase in the search space that must be explored. Take for instance a tour with 10 cities: the size of the search space is 10! = 3628800. Adding an addition city would mean that there are now an additional 36288000 (11! – 10!) tours to consider.

Java spring DefaultMessageListenerContainer and dynamic queues

We have a number of message queues (ActiveMQ) feeding our system and for each one we have a Spring DefaultMessageListenerContainer receiving the messages from the queue (set up in code, not XML).

We often have new queues being dynamically added to our product. Currently we list these in a property file and read these in dynamically when starting up our application. For each one we create a new DefaultMessageListenerContainer, with the queue set as the destination (i.e. the queue we will receive messages from). However, each time we add a queue we are required to perform a Spring context bounce to be pick them up.

What we would like to is to be able to add these queues, and associated Listener container behavior, in a more dynamic manner, by not requiring a restart between them. I believe to do this we would need to make a single listener container that can have more than one queue as it’s destination, and be able to change this during runtime. I am unsure whether the DefaultMessageListenerContainer can serve this purpose; the destination can definitely be replaced at runtime but I can not see how to add more than one queue as the destination. If DefaultMessageListenerContainer will not suffice, has anyone got any pointers as to what may serve the requirements better. Using Spring is not a necessity, its just that is what we are currently using so would make engineering a solution easier.

Thanks for any help.

menus – Is it possible to add a dynamic link in the main navigation in a child theme

Create a new “Custom Link” menu item where the URL is #latestpost (which will act as a placeholder and target for the code). You can title the item whatever you please. This code will then find that menu item (by looking for the placeholder URL) and then replace it’s URL with that of the latest post’s URL. Since the filter is before the code that adds the selected CSS classes runs, the menu highlighting will even work. When you visit the latest post on your blog, this menu item will light up.

Place the code in a plugin or just in your theme’s functions.php file.

// Front end only, don't hack on the settings page
if ( ! is_admin() ) {
    // Hook in early to modify the menu
    // This is before the CSS "selected" classes are calculated
    add_filter( 'wp_get_nav_menu_items', 'replace_placeholder_nav_menu_item_with_latest_post', 10, 3 );
// Replaces a custom URL placeholder with the URL to the latest post
function replace_placeholder_nav_menu_item_with_latest_post( $items, $menu, $args ) {
    // Loop through the menu items looking for placeholder(s)
    foreach ( $items as $item ) {
        // Is this the placeholder we're looking for?
        if ( '#latestpost' != $item->url )
        // Get the latest post
        $latestpost = get_posts( array(
            'numberposts' => 1,
        ) );
        if ( empty( $latestpost ) )
        // Replace the placeholder with the real URL
        $item->url = get_permalink( $latestpost(0)->ID );
    // Return the modified (or maybe unmodified) menu items array
    return $items;

Magento 2.4 How created dynamic custom category layout?

How i can create dynamic custom layout for each Category and Category page?
enter image description here

I can used catalog_category_view_id_{{id}}.xml and created custom layout for current Category{{id}} like this:

Example: I created catalog_category_view_id_10_customLayout.xml for my category with id 10.
enter image description here

But i don’t know how i can use my custom layout for Category without additional manipulation in code.

Tell me how I can do this, please. Thank you so much!

modified – Email Alerts with dynamic subject on add and edit items to the list

I want to send email alert with dynamic subject

  1. When a new item is added ,the subject of the email alert must be ‘New item added’.
  2. When i edit that item,the subject of the email should be ‘Item Modified’

How can i achieve this in a single workflow

i have checked the condition
if currentItem:created equals currentItem:modified
then email_message(a new variable) will be ‘New Item Added’
email_message will be Item Modified

Any help would be appreciated.Thanks.