air travel – Should I book with a Vueling flight although its previous flights have been canceled?

I want to book with Vueling VY7475 flight on the 1st of September. however, its previous record isn’t promising, its flight history here shows that all its flights have been canceled last year and didn’t fly since, but their website says the flight on the 1st of September is scheduled.
All other flight options I have are 3 times higher the price!

Should I book with them? and How long before the scheduled flight, the airline informs its clients that the flight is cancelled?

air travel – EU 261 – Flight Compensation – Declined due to delays from previous flights

Last week 10 minutes before my departure (in the EU) my flight (Ryanair) was cancelled (Without giving me any reason for the cancellation). No help was provided by Ryanair except I should go to the ground staff at the airport (Not Ryanair staff, there was no Ryanair counter at the airport at that time). The airport ground staff called the Ryanair and told me that I have to book a new flight at my own. Ground staff at airport also told me that I have to send the invoice of my new flight to the Ryanair and they will pay me back. No explanation why my flight was cancelled was given to me at that time.

Now this week I have claimed the EU 261 compensation and the price I paid for the new flight from Ryanair. Unfortunately Ryanair has refused to pay me anything except the original ticket price of the cancelled flight. They gave me the reason that they didn`t get the ATC slot because of the bad weather somewhere.

After Ryanair flight was cancelled, 2 different flights from two different airlines flew to the same destination as of mine (10 mintues after and 1:30 hours after my Ryanair flight).

Today I have also checked two different flight information sites and I have found that the real reason for the cancellation was late arrival of some previous flights (maybe due to bad weather at depature airports).

My question is: Can a airline refuse the compensation because of late arrival of some previous flights due to bad weather at depature airports? It is like if there is a bad weather in Singapore and the airline need same plane for a flight from London to Berlin, so they just cancel the London-Berlin flight and also refuses to pay any compensation?

monsters – Did gnolls reproduce differently in previous editions?

Per the AD&D 1e MM, they were like other humanoids1

While Original D&D didn’t go into this kind of detail (and thus the question’s answer is mu for that edition) the AD&D 1e MM treated them the same way as most giant class creatures (which was most of the humanoids plus ogres, ettins, trolls, and giants2).

In the second paragraph of the MM entry on gnolls, we find:

The lair will also contain females and young equal to 50% and 200%
respectively of the number of males present (MM, p. 46)

See this similar entry for goblins

… females and young equal to 60% and 100% respectively of the number of male goblins encountered (MM, p. 47)

And this entry for orcs

… females equal 50% of the number of males, young equal to 100% of
the number of males (MM, p. 76)

Entries for bugbears, hobgoblins and ogres are similar. In that respect, when the game first treated them as more than an entry on the monster’s appearing table (Original D&D) they were certainly what D&D 5e would class as a humanoid like a hobgoblin or an orc, with their lair being populated by mates and young in varying proportions to the male population.

From the above we can infer, with confidence, that they reproduced like other humanoid creatures for that edition.

Yeenoghu was a demon, stats as a monster

It is worth noting that the first exposition on the gnoll deity Yeenoghu he was a “demon lord” in the MM; as a deity, he arrives in a book published three years after the MM, Deities and Demigods but they didn’t go into much detail in that entry, basically telling the DM “see the MM”.

I’ll compare that treatment to AD&D 2e’s MM when I am where I can access it. May be a day or two. Somewhere along the line, their connection with hyenas (which is alluded to in the AD&D 1e MM) was expanded upon.

From the 3.5 SRD, they are certainly painted as something a lot different from the other humanoids:

A gnoll is a nocturnal carnivore, preferring intelligent creatures
for food because they scream more.

As I no longer have my 3.5 MM, I’ll just leave that there as a pointer to differentiating them from the goblins, orcs, and hobgoblins who are a lot more like humans that gnolls were.


1 In 1e ‘humanoid’ applied to orcs, bugbears, gnolls, goblins, etc and ‘demi human’ applied to halflings, elves, gnomes, dwarves, etc).
2Giant class creatured, per PHB p. 24 (Ranger description) were bugbears, ettins, giants, gnolls, goblins, hobgoblins, kobolds, ogres, ogre magi, orcs and trolls. The ranger had bonus to damage against these kinds of creatures, an early version of ‘favored enemy’ of 5th edition).

filters – ACF Relationship Previous Next links of CPT

I have a CPT for artworks with custom taxonomy for artists. Then I have another CPT for artists. The artist pages are basically the the page title (artist name) and a relationship field where you add the artist’s artwork from the artworks CPT where you can filter by the custom taxonomy (since there are 50+ artists and 100s of artworks).

Each artwork is its own page as mentioned. When you click on the artwork from an artist page, we want to have the option of going to the next or previous artwork based on the order displayed on the artist page as determined by the order you set from its relationship field.

I’ve tried many solutions but none have worked yet. The only way I even get a hint of success is by adding a ACF field to the artworks post type that selects the artist post type via a post object field. I was using THIS PAGE as my guide.

There seems to be an issue with the following code. I’m note sure how $current_post_id applies to the array_search. If I print_r $current_index nothing appears. Same goes for $prev_module and $next_module. However, if I print_r $module_ids the array appears as it should in the order I set on the Artist page in the Relationship field. $first_module and $last_module show the correct IDs too. I just can’t seem to get the current post ID to then determine next and previous.

// create empty array for module ids
$module_ids = array();
             
// loop through modules and add them to array
foreach( $modules as $module ) :
    $module_ids() = $module->ID;
endforeach;
             
// get the current index
$current_index = array_search( $current_post_id, $module_ids );
             
// find the prev/next items
$prev_module = $current_index - 1;
$next_module = $current_index + 1;
             
// find first and last modules
$first_module = $module_ids(0);
$last_module = end($module_ids);

MariaDB procedure, from a previous select create another select and return both

I’ve this tables in my database, and I’m trying to select all the career info, including the specializations it has.

CREATE OR REPLACE TABLE School_Catalog (
    school_id INT UNSIGNED PRIMARY KEY NOT NULL AUTO_INCREMENT,
    name VARCHAR(255) NOT NULL UNIQUE,
    creation_datetime DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP
) DEFAULT CHARACTER SET utf8mb4;

CREATE OR REPLACE TABLE Career_Master(
    career_id INT UNSIGNED PRIMARY KEY NOT NULL AUTO_INCREMENT,
    school_id INT UNSIGNED NOT NULL,
    area_id TINYINT UNSIGNED NOT NULL,
    name VARCHAR(64) NOT NULL,
    FOREIGN KEY (school_id) REFERENCES School_Catalog(school_id) ON UPDATE CASCADE ON DELETE RESTRICT,
    FOREIGN KEY (area_id) REFERENCES Area_Catalog(area_id) ON UPDATE CASCADE ON DELETE RESTRICT,
    INDEX(area_id)
) DEFAULT CHARACTER SET utf8mb4;

CREATE OR REPLACE TABLE Specialization_Detail
(
    specialization_id INT UNSIGNED PRIMARY KEY NOT NULL AUTO_INCREMENT,
    career_id INT UNSIGNED NOT NULL,
    name VARCHAR(127) NOT NULL,
    FOREIGN KEY (career_id) REFERENCES Career_Master(career_id) ON UPDATE CASCADE ON DELETE RESTRICT,
    INDEX(name)
) DEFAULT CHARACTER SET utf8mb4;

For achieving that I have this procedure:

DELIMITER //
CREATE OR REPLACE PROCEDURE UThesis.getSchoolCareers(
    IN school_id_in INT UNSIGNED
)
BEGIN
    DECLARE careers CURSOR FOR
    SELECT
        CM.career_id AS id,
        CM.name AS career,
        AC.name AS area
    FROM Career_Master CM
    LEFT JOIN Area_Catalog AC on AC.area_id = CM.area_id
    WHERE school_id = school_id_in;

    FOR row IN careers DO
        SELECT * from specialization_detail WHERE career_id = row.id;
    END FOR;
END //
DELIMITER ;

But It only returns the last select, I remember once I read how to do multiple selects inside a procedure and was somthing like Select((Select ...) AS s1, (Select ...) AS s2) but now I’ve no idea, Is there any way or I should do query by query?

Restoring previous version of a SharePoint list item retains subsequent ‘appended’ values

I have a list with two fields that have these settings:

Multiple Lines of Text (Plain Text)
Append Changes to Existing Text (Yes)

Example:

Condition Comments:    

General Comments:  

I started with this:

Condition Comments:    

General Comments:   Here is a general comment

And then I mistakenly appended a value to the Condition Comments field instead of the General Comments field, ie:

Condition Comments:  Here is another general comment  

General Comments:   Here is a general comment

I went to the item’s Version History and selected v 1.0 to Restore.

However it has kept and duplicated the Condition Comments values, ie:

Condition Comments:  Here is another general comment  
                     Here is another general comment 

General Comments:   Here is a general comment

I tried this process several times and now have something like this:

Condition Comments:  Here is another general comment  
                     Here is another general comment 

General Comments:   Here is a general comment
                    Here is a general comment
                    Here is a general comment

How can I get back to the version prior to the mistake, ie v1.0 and not keep the subsequent changes that were made since that version?

I want to end up with this:

Condition Comments:    

General Comments:   Here is a general comment

Edit

I don’t understand it yet, but it looks like these articles and questions are related:

Problem restoring a list item version and comment history (2010)

Deleting a version from a custom list item will only remove the data inside field/s with “Append Changes to Existing Text = Yes”

Related reading:

How versioning works in lists and libraries

Edit 2

When i try and delete the undesired versions, I get this message:

Sorry, something went wrong
Versions of this item cannot be deleted because it is on hold or retention policy.

php – How to display buttons – next / previous author. On the author’s page

I want to be able to list authors on the site inside their personal pages. But I do not understand what request to create, how to display the previous user or the next one relative to the current author page.

As I see it.

On the author’s page, there is a button (previous user) and a button (next user)

I am not good at coding, but I will be glad to hear advice in which I can look for a solution.

Is there a shorthand for the shorhand ../ for N previous directory in Windows explorer?

For example. If I have some dir, I need to reference a relative path to current dir 5 folders above I can write.

..........someDir

Is there a way to shorten this even further, like using a numeric or another shorthand using built-in path expansion in windows?

For context using Windows 10

Redistribute percentage according to previous percentages

I feel dumb asking this, but I’ve been thinking about this problem for an hour and cannot come up with a satisfying answer. Here’s a simplified story.

A race is set up for $100. First place gets 50%, second place gets 30%, and 3rd place gets 20%. However, on the day of the race, only two people show up. So the organizer decides to split the 20% between the other two places proportionally.

The best answer I’ve come up with is a recursive function that runs on the remainder until the amount is below $0.01. However, I’m confident a better answer exists.

Google sheet formula to find previous day close

How to find previous day close of a stock.
I’m using this =GOOGLEFINANCE("NSE:"&A2,"CLOSE") – However, it shows error "N/A"

Could any one please help? I’m trying to find CPR.

Thanks