Steam plotting of vector field showing empty output

I am trying to plot the stream lines for a vector field function, whose definition is exported to the wdx file uploaded here. The following simple code returns an empty plot:

ReadyFieldXY = 
Import["C:\ReadyFieldXY.wdx"];
a0 = 0.00055;
StreamPlot[Abs[ReadyFieldXY], {x, -a0/2, a0/2}, {y, -a0/2, a0/2}]

enter image description here

I am not sure what is wrong here. Any suggestions would be appreciated.

Updates to functions.php file via CPanel not showing in WordPress

I have made changes to my functions.php file through Theme Editor in WordPress and it works as expected but deletes that piece of code a few days later.
So I tried changing the actual functions.php file through CPanel to make it permanent, WordPress wont recognise these changes? Is my code wrong or does it take some time for this to pull through?

Code below;

add_filter( 'mc4wp_integration_contact-form-7_subscriber_data', function(MC4WP_MailChimp_Subscriber $subscriber, $cf7_form_id) {
   if ($cf7_form_id == 2202) {
       $subscriber->tags() = 'Hire';
   } else if ($cf7_form_id == 2304) {
       $subscriber->tags() = 'Equipment';
   } else if ($cf7_form_id == 3729) {
       $subscriber->tags() = 'Parts';
   } else if ($cf7_form_id == 2305) {
       $subscriber->tags() = 'General';
   } else if ($cf7_form_id == 4444) {
       $subscriber->tags() = 'Info Pack';
   } 
   return $subscriber;
}, 10, 2);

unity – Scenes do not stop showing “(is loading)”

I want to rebuild the RE4 game behaviour.

In RE4, the inventory screen is a scene of its own.

In Unity, the scenes which are loaded additively inherit the skybox / lights from the first scene loaded.

That is why I start my game with an empty scene without any lights.
Else, if I would load the inventory level when it’s actually needed, it would inherit the lights from the currently loaded scene.

To avoid this, I have established the following game logic:

The first scene a black scene with just a single, empty gameobject. This gameobject has a script on it that loads the other scenes:

using UnityEngine;
using UnityEngine.SceneManagement;

public class StartupScript : MonoBehaviour
{
    AsyncOperation _InventoryScene;
    AsyncOperation _FirstLevel;

    void Start()
    {
        //load the inventory scene so that we can quickly show it when the user presses the "Inventory" key.
        _InventoryScene = SceneManager.LoadSceneAsync("InventoryScene", LoadSceneMode.Additive);
        _InventoryScene.allowSceneActivation = false; //we make it so that it is not shown

        //Instead, we load the first level
        _FirstLevel = SceneManager.LoadSceneAsync("Level1Scene", LoadSceneMode.Additive);
        _FirstLevel.allowSceneActivation = true;//start the game by showing Level 1 scene
    }
}

For some reason however, Unity does not show the level.
Instead, both scenes stay at “(is loading)”.

enter image description here

What am I missing?

Thank you!

Edit: When I do not load the InventoryScene first, the Level scene loads without any problems.

Edit2: When I load the InventoryScene at last, the InventoryScene stays at “(is loading)”.

enter image description here

europe – How to get EU “Green Pass” showing full vaccination if vaccinated outside EU?

According to news reports like this one, to enter bars, restaurants in countries like France, Italy, Ireland and Germany, you need proof of vaccination. I am double vaccinated, but was so outside of EU. I have my proof, but how do I get that proof in a form useful in these countries? i.e Can I download the French Covid app and somehow enter my status? Same goes for other countries.

BTW, I am also an EU (Italy) citizen, but I am not a resident.

Apple Music "share song" not showing up when I have the same song on my local library on macOS Big Sur

How can I share the link of a song to a friend when I have the exact same music (matched) in my library?

The "share to" button simple does not show up.

As an example:

Apple Music share missing

SharePoint Page CSS Updated but Not Showing On Page

I needed to change the position of an element on my site page css. The folder that contains the css is located in the Site Assets. I changed it and reuploaded it to the SiteAssets, and when I open the file to check it it shows that I have changed it. Now when I load the page(s) where the issue needed to be fixed, it is still showing position: absolute; instead of position: relative;.

Any idea why my changes aren’t updating on the actual page?

bash – Why is systemctl showing memory current as Not Set?

I have been trying to limit the memory usage of firefox, by following this tutorial: https://dev.to/msugakov/taking-firefox-memory-usage-under-control-on-linux-4b02

In there, we limit the memory usage of Firefox by using systemd

systemd-run --unit=my-firefox --user --scope -p MemoryHigh=6G -p MemoryMax=7G -p MemorySwapMax=0 firefox

And then check memory usage by systemctl

systemctl --user show my-firefox.scope | grep Memory

Unfortunately, in my case, I get not set in MemoryCurrent, something like this output below:

$ systemctl --user show limited-firefox.scope | grep Memory
MemoryCurrent=[not set]
EffectiveMemoryNodes=
AllowedMemoryNodes=
MemoryAccounting=yes
DefaultMemoryLow=0
DefaultMemoryMin=0
MemoryMin=0
MemoryLow=0
MemoryHigh=2147483648
MemoryMax=3221225472
MemorySwapMax=0
MemoryLimit=infinity

Is there something I am missing, or wrong with my system?

Block Controls not showing – WordPress Development Stack Exchange

I’m building my first Gutenberg block and the problem that I have is that the block control toolbar doesn’t show.
I’ve spend hours comparing my code with other Gutenberg blocks, but couldn’t find what is wrong in my code.
I would highly appreciate if someone could look at my code and advice.

Here is my code:

import { registerBlockType } from '@wordpress/blocks';
import { 
    RichText,
    InspectorControls,
    ColorPalette,
    MediaUpload
        } from '@wordpress/block-editor';
import { 
    PanelBody,
    IconButton } from '@wordpress/components';
 
registerBlockType( 'luxworx-blocks/author-block', {
    apiVersion: 2,
    title: 'Luxworx: Author Block',
    icon: 'universal-access-alt',
    category: 'design',
    example: {},
    attributes: {
        title: {
            type: 'string',
            source: 'html',
            selector: 'h2'
        },
        body: {
            type: 'string',
            source: 'html',
            selector: 'p'
        },
        textColor: {
            type: 'string',
            default: 'black'
        },
        bgColor: {
            type: 'string',
            default: 'white'
        },
        authorImage: {
            type: 'string',
            default: null
        }
    },

    edit( {attributes, setAttributes}) {

        // Custom functions
        function updateTitle (newTitle) {
            setAttributes( { title: newTitle}) 
        }
        function updateBody (newBody) {
            setAttributes( { body: newBody}) 
        }
        function onTextColorChange (newColor) {
            setAttributes( {textColor: newColor})
        }
        function onBgColorChange (newColor2) {
            setAttributes( {bgColor: newColor2})
        }
        function onSelectImage(newImage) {
            setAttributes( {authorImage: newImage.sizes.full.url })
        }
 
        return (
            <InspectorControls key="lx-authors-block-setting" style={ { marginBottom:'40px'} }>
                <PanelBody title={ 'Color setting' }>
                    <p><strong>Select text color:</strong></p>
                    <ColorPalette value={ attributes.textColor }
                                    onChange={ onTextColorChange } />
                    <p><strong>Select block bacground color:</strong></p>
                    <ColorPalette value={ attributes.bgColor }
                                    onChange={ onBgColorChange } />
                </PanelBody>
                <PanelBody title={ 'Author image'}>
                    <p><strong>Select author image:</strong></p>
                    <MediaUpload
                        onSelect={ onSelectImage }
                        type="image"
                        value={ attributes.authorImage }
                        render={ ( { open } ) => (
                            <IconButton
                                onClick={ open }
                                icon="upload"
                                className="editor-media-placeholder__button button is-default">
                                Author Image
                            </IconButton>
                        ) } />
                        
                </PanelBody>
            </InspectorControls>,
            <div className="lx-authors-block wp-block" key="container" style={{ backgroundColor: attributes.bgColor}}>
                <img src={ attributes.authorImage} className="lx-authors-image" />
                <div className="lx-author-info">
                    <RichText   
                                placeholder="Authors name"
                                tagName="h2"
                                value={attributes.title}
                                onChange={updateTitle}
                                style={ {color: attributes.textColor }} />
                    
                    <RichText  
                                placeholder="Authors bio"
                                tagName="p"
                                value={attributes.body}
                                onChange={updateBody}
                                style={ {color:attributes.textColor}} />
                </div>
            </div> 
        );
    },
    save( {attributes}) {
        
        return (
            <div className="lx-authors-block wp-block" style={{ backgroundColor: attributes.bgColor }}>
                <img src={ attributes.authorImage} className="lx-authors-image" />
                <div className="lx-author-info">
                    <h2 style={ { color: attributes.textColor }}>{attributes.title}</h2>
                    <RichText.Content tagName="p"
                                    value={attributes.body}
                                    style={ {color:attributes.textColor}}
                                    />
                </div>
            </div>
        );
    },
} );

i am installing magento2.3.3 in php8.0.7 but error showing in follwing

Deprecated: Method ReflectionParameter::getClass() is deprecated in C:xampphtdocsmagento2.3.3vendormagentoframeworkCodeReaderClassReader.php on line 29

Ubuntu 20.04 – Gnome Tweaks – Installed shell themes aren’t showing in drop down list

I am following Linux Scoop’s tutorial on installing the Orchis theme and I was able to install and choose the themes for Applications, Cursor and Icons but I am not able to choose “Orchis” in the drop down menu for Shell.

I followed the same steps that Linux Scoop did and I also copied the theme to Home/.themes and also usr/share/themes. I tried restarting my pc and it still doesn’t show up. What am I doing wrong?

This is the tutorial I followed: https://youtu.be/qC0mnGprbeM?t=480