ACPI Error: Needed [Integer/String/Buffer], Found [Region] and other exceptions when Adding more RAM

I am getting the below errors when I add two more RAM sticks(same kind, freq, DDR4 etc… S/N is the same) to my motherboard.These errors are on boot-up

  • already present RAM – Corsair Vengeance LPX 16GB (2x8GB) DDR4 DRAM 3000MHz C15 Desktop Memory Kit – Black (CMK16GX4M2B3000C15)
  • ASUS Prime X470-Pro AMD Ryzen 2 AM4 DDR4 DP HDMI M.2 USB 3.1 ATX Motherboard
  • Ubuntu 18.04 LTS

The errors that I get are below, I am able to get past only by removing both the new 8gB rams and then taking the original installed RAM out and putting them back in[only the original one’s and not then new ones](not sure if that solved it)

enter image description here

Magento 2 – How to create a module that adds a flag to the product and restricts adding it to the cart before logging in?

I’m new to magento 2 and would like to know if it is possible to make a module that generates flags on products with purchase restriction? For example, the product can only be added to the cart when the user is logged in.

Production availability impact of adding column to existing Cassandra table?

It appears that adding a column to an existing table in a production Cassandra cluster is pretty common. Under what conditions is it considered acceptable/safe to do so, in terms of availability and performance?

If it’s difficult or impossible to provide a definitive or clear-cut answer, then how would the expected impact be characterized? Impact might be expressed in terms of e.g. simply “no expected availability impact;” Big-O notation; or empirical measurements like duration of add operation, change in request latencies for impacted Cassandra cluster or (end to end for) client service, change in CPU or memory utilization of impacted cluster. Citations of a good resource(s) on the topic would be helpful.

NetworkManager: Losing SSH when when adding a new connection

I’m logged in via SSH over Ethernet on a Ubuntu 18.04 machine.

I’m trying to add a 3G connection using

nmcli c add type gsm ifname <interface> con-name <name> apn <operator_apn> 

(From here.)

A few seconds after I issue this command, I lose the SSH connection. Only after unplugging the modem from USB I can connect via SSH again.

Is this maybe because NetworkManager disconnects the ethernet connection? How can I prevent that?

Adding more transitions to SharePoint picture library slideshow web part

I am working on a SharePoint 2010 site. Currently, we are trying to add new transitions to one of the picture library slideshow web parts that exist on our site. Right now, the slide show only uses a fade-in/fade-out animation to display new pictures. Is there any way I could make the web part use a .js plugin to perform transitions? Or is there any other way to achieve this through SharePoint’s UI?

Thanks for the help

Adding Minicart to custom header results in a empty cart

I tried adding the minicart phtml to my header like this

                        <?php  echo $  this->getLayout()                                      ->createBlock('Magento\Checkout\Block\Cart\Sidebar')                                      ->setTemplate('Magento_Checkout::cart/minicart.phtml')                                      ->toHtml(); ?> 

And the icon appears but the cart appears empty while there most certainly is something added in the cart.

enter image description here

my best guess is that i need to add some javascript file to show the information. would anybody know that to add to make it work?

Software installation problem: cannot adding path to /usr/local/bin

I am currently installing a software in a local directory(/some/local/directory/bin/). I tried to copy it into the usr/local/bin/ but I am not allowed. I am wondering that how can I execute the software? Is it possible to not have its path added to the usr/local/bin?

(I’m trying to install samtools. So if i can successfully install it into local/bin, I should call “samtools command file” to let it execute. But now that I can only install it into a local directory/bin, what should I call in order to execute it?)

SharePoint 2013 Project – Adding New Project Site errors

I am trying to create a new Project Site. I have followed below steps:

Step 1: Create a Host Site Named Collection on url

New-SPSite "<Site collection url>" -HostHeaderWebApplication "<Web Application Name>" -Name "<Enter Name>" -Description "<Enter Description>" -OwnerAlias "domain\username" -language 1033 -Template "PWA#0" 

Step 2: Create a Project Web App database

New-SPProjectDatabase –Name ProjectServer -ServiceApplication "Project Server Service" -DatabaseServer ServerName -Tag "PS2013" 

Step 3: Enable the Project Web App site collection features

$  web=Get-SPWeb siteurl $  web.Properties[“PWA_TAG”]=”PS2013″ $  web.Properties.Update() Enable-SPFeature pwasite -URL siteurl 

Now everything worked fine in our Test environment, which is a complete replica of our Production environment. BUT when I try this in our Production environment I get an error in Step 3 line 2. Error is:

enter image description here

Any idea what I’m doing wrong?

Adding 360 image iframe to carousel in Magento 1.9 – need help to show

I am attempting to add a couple of new elements to a magento1.9 image carousel on the products page.

Ideally I would like to add at the end of the foreach loop but whatever I do it just keeps duplicating the div..

The second issue is that I am having trouble getting the content of the div to show in the class=”product-image” div on the product page.

My goal is to show thumbnail image at the end of the loop array and when you click on the thumbnail image it shows the content of the iframe in the div “product-image”

I have tried various bits of javascript but I can’t get it to work. Also after trying to add to the end of the loop I have just ended up putting it on the outside of the div as there is other jquery actions going on here that are forcing the new div i add after endforech to duplicate endlessly.

goals: 1. show thumbnail at end of loop 2. link on thumbnail shows iframe in

Here is the code I have hacked.. You must excuse me as I am complete novice at this and can read php java ok but creating new code is a different story.

` getGalleryImages()); ?>

    <div id="additional-carousel" class="<?php if ($  productCount >= $  sliderFor){?>product-carousel<?php }else{?>products-grid<?php }?> <?php if ($  productCount <= 1): ?>mobile-tablet<?php endif; ?>">          <?php foreach ($  this->getGalleryImages() as $  _image): ?>         <div class="slider-item">             <div class="product-block">                 <a href='<?php echo $  this->helper(' catalog/image ')->init($  _product, 'image ', $  _image->getFile())->resize(768);?>' class='cloud-zoom-gallery lightbox-group' title='<?php echo $  this->escapeHtml($  _image->getLabel()) ?>' rel="useZoom: 'zoom1', smallImage: '<?php echo $  this->helper('catalog/image')->init($  _product, 'image', $  _image->getFile())->resize(768);?>' ">                     <img src="<?php echo $  this->helper('catalog/image')->init($  this->getProduct(), 'thumbnail', $  _image->getFile())->resize(768); ?>" alt="<?php echo $  this->escapeHtml($  _image->getLabel()) ?>" />                  </a>              </div>         </div>         <?php endforeach; ?>     </div>     <!-- if spinzam id exists in attributes-->     <?php if ($  _product->getData("spinzam_id") == true):?>     <!-- thumbnail for spinzam link-->     <div class="slider-item">         <div class="product-block">             <a href="#" onclick="??"><img src="<?php echo $  this->helper('catalog/image')->init($  this->getProduct(), 'thumbnail', $  _image->getFile())->resize(150); ?>"/>     <div class="uk-overlay uk-position-bottom product-block">             <p>360</p>         </div>     </a>         </div>     </div>     <!--content to add to product-image div-->     <div id="spinzam" style="display:none;"><iframe src="<?php echo $  _product->getData(" spinzam_id ")?>" scrolling="no" style="max-width:100%; max-height:100vw;"></iframe>     </div>      <?php endif;?>  </div> ` 

Adding tags to Sharepoint online Office 365 documents via C# and CSOM

I have a small project that requires migrating from Sharepoint 2010 to Sharepoint Online. According to Microsoft, tags have been discontinued.

I have been able to add Enterprise Keywords and custom metadata columns which works great.

Sharepoint Online still has a column for tags (despite it not being editable). The client is still very much focused on tags for the moment. I cannot seem to figure out how to assign a tag via C#. Is there anyone who could point me in the right direction?

using (var cc = new OfficeDevPnP     .Core     .AuthenticationManager()     .GetSharePointOnlineAuthenticatedContextTenant(         "",          "",          "password"))      {         Web web = cc.Web;          FileCreationInformation newFile = new FileCreationInformation();         newFile.Content = System.IO.File.ReadAllBytes(@"C:\Test\Upload.jpg");         newFile.Url = "Upload.jpg";          Microsoft.SharePoint.Client.List docs              = web.Lists.GetByTitle("Documents");          Folder folder = docs.RootFolder.Folders.GetByUrl("General");         File uploadFile = folder.Files.Add(newFile);          //uploadFile.Tag = ???          cc.Load(docs);         cc.Load(uploadFile);         cc.ExecuteQuery();      } 

What do I set at uploadFile.Tag?