installation – Wolfram Engine for evelopers activation/licensing issues

After getting my account I successfully installed the Windows version on Windows 10 and the linux version on Kubuntu 20.04 on a multiboot laptop. However when I tried to install the linux version on additional linux distros on the same laptop (Lubuntu 20.04, mx linux 19.2) doing exactly the same steps as before the installation fails complaining about a false activation key.

I’m not sure whether this is an intended behaviour (each engine download only be valid for installation on one machine/OS?) or a bug/issue with the installation. Can I use the my personal developer license on more than one machine and/or operating system installaton or am I restricted to one? If the former is the case how can I fix my installation issue on the other linux distributions?

functions – Ajax Form Issues using Lightsail (AWS)

I am having issues with a contact form using Ajax and jQuery.

I followed this guide: https://www.youtube.com/watch?v=LYvx_L9ESn0, and it works on my local server (Laragon), by that laragon catches the email being sent to me.

But using the contact form in my live server doesn’t seem to send the form to my admin_email. I already made sure the admin email of my wordpress site is my own email address.

Here is the code for the form (jQuery and Ajax only, no HTML):

<script>
    (function($) {
        $('#FormControlSelectService').change(function() {
            // Shows the Online Program Options if Online Training is chosen
            ($(this).val() == 'Online' ? $('#OnlineSelectProgram').show() : $('#OnlineSelectProgram').hide());
        });

         

        $('#enquiry').submit( function(event) {
            event.preventDefault(); // Allows the event to be cancelled if it is cancelable

            var endpoint = '<?php echo admin_url('admin-ajax.php'); ?>';
            var form = $('#enquiry').serialize(); // Serializes all the data entered
            var formdata = new FormData;

            formdata.append('action', 'enquiry');
            formdata.append('nonce', '<?php echo wp_create_nonce('ajax-nonce');?>');
            formdata.append('enquiry', form);

            $.ajax(endpoint, {
                type: 'POST',
                data: formdata,
                processData: false,
                contentType: false,

                success: function(res) {
                    $('#enquiry').fadeOut(200);
                    $('#success_message').text('Thank You for Your Enquiry').show();
                    $('#enquiry').trigger('reset');
                    $('#enquiry').fadeIn(500);
                },

                error: function(err) {
                    alert(err.responseJSON.data);
                }
            })
        });

    })(jQuery) </script>

And the code for it in my functions.php:

add_action('wp_ajax_enquiry', 'enquiry_form');
    add_action('wp_ajax_nopriv_enquiry', 'enquiry_form');
    /**
     * 
     * Ajax Form
     */
    function enquiry_form() 
    {
        if (!wp_verify_nonce($_POST('nonce'), 'ajax-nonce')) {
            wp_send_json_error('Nonce is incorrect', 401);
            die();
        }

        $formdata = ();
        wp_parse_str($_POST('enquiry'), $formdata);

        // Sending the Email
        $admin_email = get_option('admin_email');

        // Email Headers
        $headers() = 'Content-Type: text/html; charset=UTF-8';
        $headers() = 'From: My Website <' . $admin_email . '>';
        $headers() = 'Reply-to: ' . $formdata('email');

        // Sending Email To
        $send_to = $admin_email;

        // Subject
        $subject = "Enquiry from " . $formdata('fname') . ' ' . $formdata('lname');

        // Message
        $message = '';

        foreach($formdata as $index => $field)
        {
            $message .= '<strong>' . $index . '</strong>: ' . $field . '<br/>';
        }

        try {
            if (wp_mail($send_to, $subject, $message, $headers)) {
                wp_send_json_success('Email Sent!');
            } else {
                wp_send_json_error('Email Error');
            }
        } catch (Exception $e) {
            wp_send_json_error($e->getMessage());
        }
    }

html – Are there security issues around controlled cross site sharing behind SSO?

Very simply we have a ton of websites at our company behind SSO.

I am having a hard time figuring out what security issues there are if we open cross-site sharing between these sites but wanted to get a broader view. This is really a result of browser updates around cross site sharing in iframes in chrome and IE a few months back. With those security features disabled at the browser level (yes we will not have users do that) iframing within our sites work fine.

Let me give you context of the specific problem:

  1. example.com – main site
  2. subdomain1.example.com – subdomain we have a ton
  3. subdomain2.example.com – another sub
  4. example.login.com – SSO server we authenticate to
  5. example.cms.com – random vendor that uses our SSO

So right now as long as the servers in 1, 2, and 3 allow cross site sharing iframes work… as long as your cookie/token is already active. If it is not active then it just errors out trying to connect to example.login.com.

We are discussing changing the CORS/sharing settings on the login server and others brought up possible security issues. I just don’t see how there are issues with clickjacking or anything else when we control all of the sites ourselves. Am I missing something here? Are there security issues with sharing between controlled tenets? Let me know if I need to provide anymore info.

Issues with convergence of an iteration of numerical integrals computed with NIntegrate

this is my first question on Stack-Exchange. I am not an expert in numerical integration and I am having issues of convergence with some numerical integration. I am trying to solve numerically a nonlinear differential equation of which I know an exact solution. I want to compare my numerical results with the exact one (to check the correctness of the code). Unfortunately, after 2 iterations the numerical result starts departing from the exact behavior.

This is the differential equation:

y”(t)=(y(t)^2-1)y(t)

which I wrote in an integral form (I need to solve it in the integral form for other reasons) in terms of the Green function

G(t-x)=(1/2) (t-x) sign(t-x).

An analytic solution is given by

y(x)=Tanh(x/sqrt{2})

The Mathematica code I am using is the following:

    t1 = -10;
    t2 = 10;
    n = 100;
    m = 5;
    t = Range(t1, t2, (t2 - t1)/(n));
    
    Do(y(x_, 0) = Tanh(x/Sqrt(2));
    list(j) = {t, NIntegrate( (1/2)(t-x) Sign(t-x)(y(x,j-1)^2 - 1) y(x, j-1), {x, -10, 10}, 
    AccuracyGoal -> 13, WorkingPrecision -> 13)} // Transpose;
    sol(j) = Interpolation(list(j), Method -> "Spline");
    y(x_, j) = sol(j)(x)
    , {j, m})

Basically, I am trivially starting from the exact solution for j=0, and check the convergence at higher order in the iteration (I am doing this to verify whether the code is correct). But from j=3 the numerical solution starts departing from the exact one; so I would like to find a way to correct my code and make the iteration convergent for any higher j, as it should be.

I hope I have clearly stated my problem. Many thanks in advance for your help.

media library – Want to sell images online on wordpress but slow image loading issues

I wish to sell images, videos and music online but if I add the media files in WordPress, the website becomes slow. IS it possible to add a library? where I can upload thousands of images and videos without slowing down my WordPress site and linking it to the website?

unity – Issues with spine animation alpha in iOS

We are seeing a ton of artifacts and strangeness with alpha on iOS for our spine animation assets. You can see an example of one of these grid-like artifacts here, but we’re also seeing pixelation etc.

Does anyone know why this is happening, whether we need to make adjustments or change certain settings to address this issue?enter image description here

i got a few issues in wordpress, need a wordpress coder

Title says it –
need a wordpress coder who can fix a couple of very minor coding things in wordpress.

if you think you can do it, skype me or PM me.

its a 20-30 minute work , so budget is 10$

Regards

9 – Issues with Drush 10.3.5 version in Ubuntu 20.04

I installed Drush 10.3.5 version via composer in Drupal 9.0.7 but I am getting a website error as follows after I ran command drush cache-rebuild. I can not access the admin page as well.

The website encountered an unexpected error. Please try again later.
Error: Class ‘DrushLogDrushLog’ not found in DrupalComponentDependencyInjectionContainer->createService() (line 257 of core/lib/Drupal/Component/DependencyInjection/Container.php).

I found somewhere i.e. (https://gorannikolovski.com/blog/drupal-9-and-drush-10) that Drush does not support symfony/var-dumper version 5.*. But I can’t change symfony/var-dumper version in Drupal because Drupal core requires symfony/var-dumper v5.1.10 as follows:

$ composer why symfony/var-dumper

drupal/core-recommended 9.0.7 requires symfony/var-dumper (v5.1.0)
symfony/error-handler v4.4.9 requires symfony/var-dumper (^4.4|^5.0)

So please help me to fix this issue.

Please let me know which Drush version I should use with the latest
Drupal version 9.0.7.

The website issue screenshot as follows:

enter image description here

Also how to fix this website issue so that I can see the front page
and admin page.

Thank You

Shared Hosting File Limit Issues

Hi –

New to WebHosting Talk. I apologize in advance for this being long, but I hope someone can offer some insight into the mysterious … | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1825876&goto=newpost

mysql – Issues with store procedure and system

I take this opportunity to send you a greeting and I comment you, Im working in a store procedure using system inside of MySQL but in workbench, it appears me, missing ;, extraneous input. These are my variables with which; im playing:

/*Modify the delimiter by default*/
DELIMITER $$
/*Dropping the store procedure if it exists on the database*/
DROP PROCEDURE IF EXISTS proc_statistics_mysql$$
/*Creating the store procedure*/
CREATE PROCEDURE proc_statistics_mysql()
/*Defining the security clause to check the privilege users*/
SQL SECURITY INVOKER
/*The store procedure contains only SQL language*/
LANGUAGE SQL
/*Begining my store procedure*/
BEGIN
/*Declaring my variables with which im gonna work*/
    DECLARE var_os_version VARCHAR(100) DEFAULT '';
    DECLARE var_ip_addr INT DEFAULT 0;
    DECLARE var_hostname VARCHAR(100) DEFAULT '';
    DECLARE var_cpuinfo VARCHAR(100) DEFAULT '';
    DECLARE var_memtotal INT DEFAULT 0;
    DECLARE var_memfree INT DEFAULT 0;
    DECLARE var_memavailable INT DEFAULT 0;
    DECLARE var_totaldisk INT DEFAULT 0;
    DECLARE var_freedisk INT DEFAULT 0;
    DECLARE var_usedisk INT DEFAULT 0;
    DECLARE var_mysql_version VARCHAR(100) DEFAULT '';
    DECLARE var_mysql_dbs VARCHAR(100) DEFAULT '';
/*Assign the values to the variables*/
    SET var_os_version=(system cat /etc/os-release | grep -i 'Pretty_Name' | cut -d '"' -f2);
    SET var_ip_addr=(system hostname -I | awk '{print $1}');
    SET var_hostname=(system hostname);
    SELECT var_os_version,var_ip_addr,var_hostname;
/*Finishing my store procedure*/
END$$
/*Modifying the delimiter to the default*/
DELIMITER ;

I want to collect some data of operative system and store inside a database using a store procedure to get the data