Travel abroad – is a 40-minute waiting time between flights at Munich Airport enough for two Lufthansa flights?

40 minutes would be very short for this connection. Munich is your first port of entry into the Schengen area. So you have to go through immigration control in Munich. Depending on your citizenship and time of day, this may take a little longer.

If Lufthansa is willing to sell you this ticket as a single ticket, this is a legal connection and you have a good chance of doing it. But there is no room for error: if something goes wrong, is delayed or just a little longer than usual, you will miss it. If you miss it, LH will rebook you for the next available flight for free, but you may miss your cruise so I would advise against it.

There is NO POSSIBILITY to do this with two separate tickets.

Color a graph with an odd number of vertices with colors in linear time

We have an undirected simple connected graph with an odd number of vertices. We also know the number $ k $ This is actually the next odd number that is greater or equal $ Delta $, (So ​​if $ Delta $ is just, $ k = Delta + 1 $ otherwise $ k = Delta $.) i.e. $ k $ is the smallest odd number that is greater than or equal to the degrees of all vertices.

We want to find a linear time algorithm that is used to color the graph $ k $ Colours.

I am very new to graphing color algorithms. I know that a greedy algorithm is actually a linear time and can also color the graphics $ Delta + 1 $, But I cannot guarantee that I can dye with it $ k = Delta $ when $ Delta $ is odd.
Also, we should probably use whatever information the question gives us. an odd number of vertices is used somehow, but the greedy algorithm does not use this additional information.

How can I solve this?

Postprocessing – Do I lose information every time I add an adjustment layer to an 8-bit image in Photoshop?

The result may contain less color, yes. Each color channel in a pixel can only have one of 256 values ​​(2⁸). Each setting transforms these 256 values ​​into some other 256 values. However, there is one limitation: for each pair of two input values, the highest value of the two must remain the highest (otherwise you will get an effect called solarization). Using the curves means that your curve cannot go down from left to right.

Now consider a value somewhere in the middle, for example 128. Your adjustment shifts it to 140. The 128 values ​​under 128 are mapped to 128 new positions between 0 and 140 (this of course means that some values ​​under 140 are not available) 128 remaining values ​​(128 and higher) are now mapped to 116 values, so you started with 256 values ​​and now 128 + 116 = 244 values.

This can lead to a so-called hair comb histogram:

Enter image description here

The histogram above is a linear black-and-white gradient where I used curves 128 to move 140 to 140. The gaps on the left are the 12 values ​​that remain empty (128 after 140), while the teeth on the right are result values, which corresponds to two input values ​​(12 of them, 128 in 116).

Each such setting consumes some color. This is not visible at the beginning because you have three color channels and the missing values ​​do not apply to the three channels at the same time (sometimes you can even get more colors …), but in flat areas with uniform colors you will get visible bands.

nikon – the exposure of my cameras is interrupted every time I use flash light?

No matter which setting I set my camera to when I use the flash, the exposure is very high. I'm trying to change ISO and Aperture on, but that doesn't help. I have a Nikon D3400. Can this be a sensor problem? It only worked a few days ago and I picked it up again and found that it was completely messed up. As long as I don't use the flash, it works perfectly, but what could be wrong?

Python: How do I automatically populate a PDF text box with a list of data from a CSV file and save it every time?

I have a PDF template in which I want to enter a date in a specific text field (which I called Adobe "Week" in Adobe, save the PDF file name as the date and save the new PDF in an output folder. I have a CSV – File file with all the desired data in column A and the name of the text field (called "week") in the PDF file in the first row of column A. I have 30 data, so I have to loop (or iterate, no idea) ) I am a beginner 30 times and save 30 PDF files. I have tried unsuccessfully to use the fdfgen and pdfrw libraries. Some resources that I have used include:

Batch filling of PDF forms from Python or Bash

https://bostata.com/how-to-populate-fillable-pdfs-with-python/

I tried all day to get these programs up and running. Kind of abandoned. Any help would be appreciated. Please disassemble it as best you can for me since I am a python / programming novice. Thank you very much.

ios – How can I play background music and videos from other apps on iPhone at the same time?

Is it possible to play background music and video app in iPhone at the same time?
For example, I played background music with the AVAudioPlayer framework. This also works before other video or music apps are running. However, as soon as another video or music app is running, this background music will stop.
I want to play background music and other videos or music apps together on iPhone. How can I play them together?