usa – I94 Travel History doesn’t show my departure? Who do I contact?

Please wait for two or three more days and check again. It is very likely to show your departure “in due course” with no action required by you. Meanwhile be sure to retain your boarding card. If after a week there is still no record of your departure see U.S. Customs and Border Protection which includes:

If you departed by a commercial air or sea carrier (airlines or cruise ships), your departure from the U.S. can be independently verified, and it is not necessary to take any further action, although holding on to your outbound (from the U.S.) boarding pass – if you still have it – can help facilitate your reentry next time you come back to the United States.

and:

If you are a VWP visitor and you left the U.S. by an air or sea carrier, you don’t need to worry.

and:

We strongly urge you to keep a copy of what you send to DHS-CBP and carry it with you the next time you come to the United States in case the CBP Officer has any questions about your eligibility to enter. Carrying those materials with you will also allow your record to be corrected at the time of entry if, for some reason, the London, Kentucky office has not yet done so.

8 – Why my shopping cart item doesn’t have a label?

I’m working on D8 site with Drupal commerce.
I have to create a dynamic product variation and add to cart for the user checkout.

The problem I have, is when you landed on the cart page, the line item doesn’t have a label (title) it replaced with the price of the item. Please refer to the attached image.

Here’s my code:

   //create variation
            $variation = ProductVariation::create((
                'type' => 'fk_payment',
                'sku' => 'FK'.$faid,
                'status' => TRUE,
                'price' => new Price($trans->getTotal(), $trans->getCurrency()),
                'title' => "Example item label title",
              ));

            $variation->save();

            //Load the product
            $product_id = 4;
            $product = Product::load($product_id);
            $product->addVariation($variation);
            $product->save();

            //load store
            $storeId = $product->get('stores')->getValue()(0)('target_id');
            $store = Drupal::entityTypeManager()
            ->getStorage('commerce_store')
            ->load($storeId);
            
            //prepare cart
            $cart = Drupal::service('commerce_cart.cart_provider');
            $cart = $cart->getCart('default', $store);
            
            if (!$cart) {
                $cart = Drupal::service('commerce_cart.cart_provider');
                $cart = $cart->createCart('default', $store);
            }

            // Process to place order programatically.
            $cart_manager = Drupal::service('commerce_cart.cart_manager');

            //empty the cart
            if (!empty($cart)) {
                $cart_manager->emptyCart($cart);
            }

            $cart_manager->addEntity($cart, $variation);

enter image description here

Creating Tables with the same table names from other databases doesn’t have any bad effects?

I have a WordPress website and I cloned it to another website(domain) using a plugin called Duplicator. So in the backend, phpMyAdmin, I’ve two different databases but all the tables in both databases have the same names.

enter image description here

I just want to make sure that this does not have any kind of bad effects.

plugins – WordPress selectively doesn’t keep user logged in

I have a site, where some users try and login (site uses Memberium and InfusedWoo (Infusionsoft)), but any link, eg Nav menu -> Contact Us, logs that user out. Evidence was the login button appeared in Nav Menu (logged out view)

For instance, I have an elementor page, that uses Memberium shortcode to login restrict content. A user would try and login, but the refresh would just keep asking them to login again.

This issue occurs only for some users, that have no clear pattern between users besides obvious ones like being an email subscriber. The same issue occurs on Firefox and Chrome.

But, the issue gets resolved when someone deletes their cookies or uses private browsing.

Clearing all caches doesn’t help either, there’s still some users with this issue.

To top things off, I can’t replicate the issue, even when switching to those users, or even creating a new account.

Has anyone experienced a similar issue and have any clue how to resolve this?

WordPress: 5.8
Memberium: 2.185
InfusedWoo: 3.16.9

adb – PIN locked Pixel with broken screen and USB debugging OFF, OTG keyboard doesn’t unlock it

I got a Google Pixel 1 with a smashed dead black screen locked by a known PIN that I would like to recover some photos from. Nothing vital but now it has become a personal crusade to do it!

The good news are:

  • it shows as MTP device on win/linux
  • vibrates if I try to unlock it via fingerprint (as it requires PIN, so no can do)
  • if I connect a keyboard/mouse via OTG they do light up
  • in recovery mode it shows in ADB and I’m even able to put it into sideload mode

The bad news:

  • can’t see sh1t (BTW Pixel 1 doesn’t support USB-C -> HDMI)
  • USB debugging is OFF
  • if I enter my PIN via OTG+keyboard then plug it back to the PC, it stills shows as MTP and no files can be browsed (I would assumes it remains locked)

I’m pretty close to burn another 20 bucks and get a second spare screen but before I do that, any ideas?
From what I read, my greatest achievement so far which was to get it in sideload blindly is useless and every 3rd party tool seems to require USB debugging ON.

Thanks!

unity – Camera doesnt track player properly on different resolution

Hello i have 2d mobile game where camera follow players car, on my mobile phone with resolution 2960×1440 everything works fine but when i start the game on tablet with resolution 2160×1620
the camera shows only a half of the car… i made some drawings for better imagination 🙂

first is my mobile resolution

and second is my tablet resolution

I was trying to do it by myself for a few days but i am new in unity and i do not fully understand Camera class

i have this script on my camera:

public GameObject playerPos;
private Vector3 lastPlayerPosition;
private float distanceToMove;
void Start()
{
    lastPlayerPosition = playerPos.transform.position;
}
void Update()
{
    
        distanceToMove = playerPos.transform.position.x - lastPlayerPosition.x;
        transform.position = new Vector3(transform.position.x + distanceToMove,         transform.position.y, transform.position.z);
        lastPlayerPosition = playerPos.transform.position;
         
}

What happens if a peer doesn’t respond to "getheaders" or "getdata" on time?

Suppose a node receives the same "inv" message from many peers.

  1. Will the node send "getheaders" requests to all the peers or only one of them?

  2. Does the node keep a timer for getting the "headers" response from the peers? How big
    is the timer?

  3. Suppose the node sends "getheaders" requests to only one of its peers and the timer expires. How many other peers does the node then send "getheaders" requests to? Does the node store a map data structure map<"inv", peer id from which the inv is received> to do this?

terminal – Mac doesn’t not accept to create folder name “.service” on Finder

Using Visual Studio I created a Project in a folder named “something.Service” It works file without problem. The same happens if I export this project to a Windows machine.

When I look on it via Finder the folder has an extension called “.app” and it is not accessible via Finder.

When I try to access this folder via Terminal there is no problem.

On this print screen, I show this discrepancy on Finder and Terminal

enter image description here

Why I can’t use this Name on Finder?

audio – Sound doesn’t stream from TV when the lid is closed

When I connect laptop with TV, start playing some video and trying to close the laptop’s lid the sound starts streaming from laptop instead of TV.
I use Type-C – HDMI cable.

Expected result: Sound streams from TV.
Actual result: Sound streams from laptop.

Is there is some workaround for this?

Thanks in advance.