azure – SharePoint page not showing iframe in Safari browser

I have developed an Azure web app and showing that in iFrame of a SharePoint Online Page. The iFrame loads well in Desktop Chrome browser. However in Safari and Chrome (iOS), it does not load at all. It is just blank.

Note: If I have public domain like YouTube or Streams in iframe that loads well in Devices.

PS: We have authenticated Azure Web App using MSAL.

Any help is appreciated!

Can We have an FBA product and a version of a non-FBA on the same page?

I have a quick question. I have been looking at the videos on Seller University and I am not so sure this specific question is going to be addressed. I want to have two versions of the same product on a single page. I want to get rid of the inventory I had that did not yet have a bar code on it. So can I have an FBA version that is sold as such and also have some sort of "Original" or Demo version also sold on the same page that is not sold via FBA?
So I stumbled on this page on Quora….

Can We have an FBA product and a version of a non-FBA on the same page?

php – WordPress template page name displayed on screen

Hi there _ Must admit I’m scratching my head!

I’ve uploaded a demo site that uses a number of template pages.
Everything works as expected, but whenever there’s a page change the top 3 lines of the php template file are briefly displayed on the screen.
I mean these lines:

/* 
Template Name: name
*/

You can see the display yourself at this URL : Demo website

If you click on any of the bottom 5 sub-items under ‘PAINTINGS’, the momentary display of the template name will appear top right of the screen

This has never happened to me before and I’ve tried everything that I can think of:

I’m not sure this fault is directly connected to php code. I think it might be more related to the WordPress framework. But I will add one php template page, just in case! (The other templates are very much the same)

/* 
Template Name: Exhibition - Pilgrims 
*/
<?php get_header(); ?>
        
        <div class="container fadeIn perimeter">
            
            <section id="WhatWaterGaveMepage">

                <div class="row">
                    <div class="col-12">              
                        <div class="divPad">
                            <?php $featured_query = new WP_Query( array(
                                'category_name' => 'pilgrims-text'
                            )); ?>

                            <?php while($featured_query->have_posts()) : $featured_query->the_post(); ?>
                                <article class="fontBrand1 fontType1 pageText">
                                    <div class="horizBuffer2"></div>
                                    <p class="left"><?php the_content(); ?></p>
                                </article>
                            <?php endwhile; ?>
                       </div><!-- /.divPad -->
                    </div>
                </div><!-- /.row -->
             
            </section><!-- /#WhatWaterGaveMepage -->

            <section class="gallery" id="mainGallery">
                <div class="container">
                    
                    <div class="row">

                        <?php
                            global $query_string;
                            query_posts( $query_string . '&posts_per_page=-1' );
                        ?>
                        
                        <?php $featured_query = new WP_Query( array(
                            'category_name' => 'pilgrims'
                        )); ?>
                        
                        <?php while($featured_query->have_posts()) : 
                            $featured_query->the_post(); ?>
                                <div class="col-md-4">
                                    <div class="divPad">
                                        <a href="<?php echo the_permalink(); ?>">
                                            <?php $post_id = get_the_ID(); ?>
                                            <?php the_post_thumbnail(); ?>
                                        </a>
                                        <br />
                                        <span class="fontBrand1 fontType1 text"><?php echo the_title(); ?></span>
                                    </div><!-- /.divPad -->
                                </div>
                                
                                
                        <?php endwhile; ?>
                        <?php wp_reset_postdata(); ?>
                   
                    </div><!-- /.row -->
                </div><!-- /.container -->
            </section><!-- /#mainGallery -->
            
            <div class="horizBuffer2"></div>
        </div><!-- /.perimeter -->
        
<?php get_footer(); ?>

If anyone can help me get rid of this ‘template name displayed’ glitch I’ll be very grateful _ Thanks

mysql – slow disk with InnoDB page compression

I have a write-intensive MariaDB with both NVMe SSD and HDD disks. I recently enabled page compression (innodb_compression_default=ON). I encountered two problems:

  1. The database gets slow after a while. INSERTs get noticeably slower after one day. When restarting the machine or MariaDB, it gets backs to normal speed.

  2. It takes a long time to shutdown MariaDB (~30 min). During this time, the SSDs have heavy disk activity (as checked by iostat). Note that it is not flushing the data into the disk. Before shutting down, the number of dirty pages is zero, and there is absolutely no activity in show engine innodb status G.

I think it might be due to the rearrangement of data on the SSD drives (about 50% full). Some sort of activity like SSD TRIM.

How can I diagnose the underlying causes?

How to search on site content page with operators?

Within my SharePoint Online site, I see how cool it is to search for document with operators, such as…

Red NOT White

It will pull up my assets that have Red, but leave out any that also include white. Sweet!

But on the Site Content page, when I search for a document library or list, and want to filter out documents in the same fashion…

Library-A NOT XYZ

…Nothing shows up for results even though I do have a document library called “Library-A”. Is there any way to enable search operators on the site content page?

The memory a page table occupies and finding the # of pages within it

Was doing some practice and saw this question:

Assume we’re working on a machine which has the following parameters:

• 16GiB of physical memory

• 22 bit virtual addresses

• 128B pages

• Each PTE in our single level table is 4B

Consider the following snippet of code.
Assume the following:

• Arrays begin on page boundaries.

• We have a function initialize that creates an array containing size integers.

• A starts at 0x20000 and B starts at 0x30000

• sizeof (int) == 4

int size = 256;
int32 t *A = initialize(size);
int32 t *B = initialize(size);
for (int i = 0; i < size; i += 32) {
    B(i) = B(size - i - 1) * A(i);
}

For the following parts, assume ”data pages” refers only to pages containing elements of
A and B (ie. not pagetable pages). Remember that we have 128B pages and each PTE
is 4B

How many unique NON-DATA, NON-CODE pages does this access pattern
traverse? (ie. page table pages)

The answer given is 2 different pages. I kinda see how they got there but there are blanks I’m hoping to fill.

Namely, this is what I understand:

A page table takes up memory and itself can have multiple pages. we are given that a PTE is 4B and a page is 128B. So that means a page in the page table would include 32 entries (or 32 VPN->PPN pairings). In the given code, we access A and B, and have the physical addresses of both.

But, how do we get from that to saying 2 pages? How do we know that the VPN of A and B differ by at least 32 vpn’s? And how do we know it’s not more than that?

The second part of the questions asks: Suppose this process has a
single-level page table that starts out empty and we run through this
access pattern. How much space would the page table take in memory?
Give your answer in units of PAGES (NOT BYTES).

The answer is given as $2^{10}$ — how did they get that? I’m completely stumped on that