c # – How to configure a user control component to accept another user control component

How to configure a component created from a user control to accept another component created also from a user control as a parameter or child.

Example: Dropdown.ascx

Ex: DropdownItem.ascx

Ex: Dropdown.ascx and DropdownItem.ascx


  

knowing that they are saved in web.config this way.


  
   
   
  

dnd 5e – How does Control Weather interact with the dissipation of magic?

Dispel Magic can be used to dispel Control Weather

Weather control causes a magical effect with a radius of 5 miles, centered on oneself. A successful casting of Dispel the magic less than 120 feet from this area ends the spell, as you would expect.

Some notes based on the description of your question however:

If you wanted to dispel it, you must know that the weather is magic, you must have Dispel the magic known / prepared (depending on your class) and a 3rd level spell slot available, then take the DC 18/19 test to dissipate it. Now, all of these are not extremely high barriers, but they are still there.

Even if you finish the spell, it doesn't immediately stop the weather conditions caused by Weather control, the description of the spell rather specifies:

At the end of the spell, time gradually returns to normal.

So if you dispel the spell, the caster would be very annoyed but the immediate threat caused by an existing storm or the like would not disappear instantly. (And if the weather was not bad enough to be a problem already, how could you even guess that it is a magic effect or bother to dissipate it?). A sufficiently powerful caster could simply resume casting the spell (if it has more casts / locations available). And of course, considering how long this spell should take effect, no competent pitcher would care if he wasn't relatively sure he wouldn't be interrupted.

How to specifically control the flow of re-marketing of Google ads?

I'm trying to set up a campaign to re-market on youtube.

I currently have 3 ads / ad groups. Let's call them Ad1, ad2 and ad3.

My goal is as follows.

-If a user has visited the site and has not seen an ad in the past 48 hours and has not seen ad1, show them ad1.

-If a user has visited the site and has not seen an ad in the past 48 hours and has not seen ad2, show them ad2.

-If a user has visited the site and has not seen an ad in the past 48 hours and has not seen ad3, show them ad3.

I would like the re-marketing announcements to be displayed in this particular order (1, 2 then 3).

I'm having trouble doing this using Google Ads.

I can create an audience of users who have visited the site + have not seen adX.

What I can't do is how to show them ads based on a specific rotation. For example, if I have a user who has visited the site and has not seen any ad, it looks like a total crapshoot in which ad group they will be thrown, and Google will try to "Optimize" and show them the best performing ad, when what I want is to show them ads in a specific order.

Also, I can't seem to find a reasonable way to space these ads with 48 hours apart. As part of the campaign, I can set an impression cap, but this only allows me to cap impressions per user once per day / per week / per month. There is no way to space with more granularity, e.g. every 48 hours.

Any advice on how to achieve these goals would be greatly appreciated!

version control – Collaborate to create Anki decks

I don't know where to ask this question. It is do not a software recommendation, rather a method recommendation.

I will try to administer a collaboration between 10-20 people to create an Anki deck to learn new and foreign vocabulary and grammar. Those involved believe that Excel is complicated.

There are a few solutions to collaborate with Anki but generally they involve JSON and Github etc. I repeat what I wrote in the previous paragraph: the members of my team think that Excel is complicated (and most of them are middle-aged). I'm not going to introduce version control to them.

How can I make this collaborative effort simple enough? To give an example of what I think people will handle: if I could create a Google sheet with columns named "frontside", "backside", "image", "sound" (pronunciation), "sample sentence" and maybe a few others I think most of them would understand and manage. (And Google Docs would do version control.)

But there is the problem that we are all novices learning a new language -> many of the entries can be questionable and need to be changed, etc. In other words, we ALSO need a method to modify an existing note avoiding duplicates and similar problems.

Everything would be easy if Anki's web service allowed notes to be "locked" (and a clever method of modifying the database), but that's not the case. Instead, many operations make synchronization and merging impossible, instead you have to download / replace and replace everything.

Any ideas on how I should organize this?

What all control panels are taken up by panelomers cutVPS when they are new

What are all control panels picked up by users when they are new?

php – Architecture design of the Command & Control application center for screens

I am faced with a dilemma on how best to design the following features. What OOD design models and principles should I use?

For simplicity, here are the basic requirements:

  • the display type can be one of the following: PC Monitor, LG TV, Samsung TV or other manufacturer
  • the screens can have different functions, for example: turn on, turn off, sleep, etc.
  • there should be metadata available on the displays, like
    • is the CEC link available and does it work?
    • is the RS232 link available and does it work
    • is the HDMI cable connected
    • display is currently on or off
    • get / set display resolution, etc …
  • communication with screens can be done in one of the following ways
    • RS232 serial cable controls (manufacturer specific)
    • HDMI CEC controls
    • As an alternative (and for monitors), we use the EnergyStar, alias features. xset dpms force off

I am more familiar with php, but I will probably implement it in python because it is more of a system language and I also assume more suitable for this task.

In the end, it could be something simple as follows, I guess. It can manually determine the link it has for communication (cec | rs232) and the command it should send along that link depending on the manufacturer of the screen.

$display = new Display();
if ($display->isConnected() && $display->isOn()) {
    $display->turnOff();
}
$forfun = $display->getVendorName();

I was thinking of implementing something in this direction, but I can already encounter some problems with this:

/** DisplayFactory classes */
abstract class AbstractDisplayFactory {
    abstract function makeDisplay();
}

class LGDisplayFactory extends AbstractDisplayFactory {
    private $context = "LG";
    function makeDisplay() {
        return new LGDisplay;
    }
}

class SamsungDisplayFactory extends AbstractDisplayFactory {
    private $context = "Samsung";
    function makeDisplay() {
        return new SamsungDisplay;
    }
}

/** Display classes */
abstract class AbstractDisplay {

    abstract function turnOn();}
    abstract function turnOff();

    function hasCecLink() {
        //return status;
    }
    function hasSerialLink() {
        //return status;
    }
    function isHDMICableConnected() {
        // return status;
    }

    // ....
}

class LGDisplay extends AbstractDisplay {

    function turnOff() {
        if($this->hasCecLink()) {
            // turn off via HDMI CEC - vendor agnostic commands
            // implementation of this would be better placed in a more generic class since
            // is vendor agnostic command, and we would not need to repeat it for every display
        }
        else if($this->hasSerialLink()) {
            // turn off via rs232 - vendor specific commands
        }
        else {
            // shell_exec('xset dpms force off')
            // this also would be better placed in a more generic class
        }
    }

    // ...
}

class SamsungDisplay extends AbstractDisplay {
    // similar as for LGDisplay class
}

I would be very happy with any advice I could get on the best way to approach this.

Web application – Is it considered broken access control when access is based on knowledge of a CSPRNG chain?

Let's say I have a server that hosts video files. This server allows a user to create an account, and using OAuth, a user's media access requests look like: https://mysite.com/videos/K9OkVR9i8CT0z but require authorization: BEARER [token] so that the server can retrieve and resend the video.

Now let's say I have this same configuration, but this time I don't need a BEARER token or a connection … Meaning, the only thing that prevents media from accessing unauthorized is that unauthorized parties do not know the video id such as K9OkVR9i8CT0z which is a cryptographically secure pseudo-random number. Without this string, an attacker cannot find the URL, assuming that the user does not share it. Is this second scenario considered bad practice or insecure? I want to think that this is the case, but I can't think of any way to access other users' videos outside of brute force, which will take unreasonable time and will be very noisy .

video – FFmpeg: Change the zoom in effect control centered to Zoom out

I have the Zoom in centered effect control that works perfectly. here is the command

fmpeg -y -r 25  
-loop 1 -t 6 -i 1.jpg  
-loop 1 -t 6 -i 2.jpg  
-loop 1 -t 6 -i 3.jpg 
-loop 1 -t 6 -i 4.jpg 
-i audio.mp3 
(0)crop=1280:1280,zoompan=z='min(zoom+0.0015,1.5)':s=1280x1280:d=700:x='if(gte(zoom,1.5),x,x+1/a)':y='if(gte(zoom,1.5),y,y+1)'(v1);
(1)crop=1280:1280,zoompan=z='min(zoom+0.0015,1.5)':s=1280x1280:d=700:x='if(gte(zoom,1.5),x,x+1/a)':y='if(gte(zoom,1.5),y,y+1)'(v2);
(2)crop=1280:1280,zoompan=z='min(zoom+0.0015,1.5)':s=1280x1280:d=700:x='if(gte(zoom,1.5),x,x+1/a)':y='if(gte(zoom,1.5),y,y+1)'(v3);
(3)crop=1280:1280(v4);
(v1)(v2)xfade=rectcrop:duration=1:offset=5(x1);
(x1)(v3)xfade=distance:duration=1:offset=10(x2);
(x2)(v4)xfade=wiperight:duration=1:offset=15,format=yuv420p(v)" -map "(v)" -map 4:a -b:v 4000k -movflags +faststart -s 1280x1280 zoomin.mp4

So, I have to do the Centered zoom out effect. I honestly don't know exactly what each setting means in the current zoompan filter but I tried to make some changes / manipulations with the current (for example, changed zoom+0.0015, modified 1.5, modified x+1, y+1 at x-1, y-1) to get the desired result but nothing works.

Awaiting any help / guide / solution

What image control to use when shooting RAW files

Many tips indicate that RAW files are not affected by image control.

However, when shooting, the LCD monitor will display a preview based on the selected image control.

So, in practice, when I shoot in flat mode, the histogram will be somewhat shrunk. Then, during post-processing, if I switch to neutral mode, the histogram will be extended in both directions. Then I can see that the shadows or highlights are lost.

The problem is further accentuated when switching to Standard mode.

So, after having exposed according to a histogram which reflects the flat mode, often, I will not be able to pass to neutral or standard without lifting the shadows / reducing the reflections.

So I decided to shoot in neutral mode, but now I'm thinking of eventually switching to standard mode.

Exposure in Standard mode will give me more flexibility in post-processing, as the other histograms are narrower than Standard (except landscapes), but during shooting it is more difficult to find exposure with Standard.

What are the experiences / advice? Thanks in advance.

hdr – Remote control for Sony NEX 5 with images in square brackets

The Sony RMTDSLR2 remote control indicates in the description (mine in bold):

features

Video recording start / stop.

Remote trigger control.

Single hit, To burst, 2 seconds of self-timer.

Slideshow playback control.

In compatible models, it lists the NEX 5T:

Compatible models

ILCA-99M2; ILCA-77M2; ILCA-77M2M; ILCA-77M2Q; SLT-A99;

SLT-A99V; ILCE-7RM3; ILCE-9; ILCE-6500; ILCE-6300; ILCE-6300L;

ILCE-7SM2; ILCE-7RM2; ILCE-7M2; ILCE-7M2K; ILCE-7S; ILCE-6000;

ILCE-6000L; ILCE-6000Y; ILCE-7; ILCE-7K; ILCE-7R; NEX-5T;

NEX-5TL; NEX-5R; NEX-6.

Limited functionality of the remote control with the following models:

NEX-5N; NEX-5NK; NEX-7; NEX-7K.

From the description of your problem, it seems that this remote control does what you want.
If it works, please let us know by accepting this response.