How would I convert separate digits to an actual number?

In Dr. Racket, how would I combine the digits w, x, y, z to wxyz (for example 3, 7, 8, 9 to 3,789)?
I haven’t gotten very far on this:

(define digits-to-numbers w x y z)

sql server – How to keep a schema separate from the rest of the database, so it doesn’t lock?

We are using a propriety SQL Server 2012 database, from a company that has given it’s tables, views, objects, etc a schema name – lets call it COMP, for “the company’s” schema.

We, as the client, are allowed to have full access to the company’s database structure via SSMS, and have full control of all aspects of it. However, in order for us to customise the database to our needs, we’ve created a separate schema called INT, for “our internal” schema. Our new tables, views, etc are all under this schema and everyone is happy.

However, our “INT” schema has an hour job we run that seems (have not confirmed yet), to lock the entire database including the company’s schema and structure. This in effect locks the application, at the users’ end for at least 3 to 5 minutes. Some users have already noticed this and have started to raise complaints.

Some of our views in our INT schema, do refer to COMP schema tables and objects. Could that be why it’s locking everything? Is there a way to separate our schema from the COMP schema of objects so it doesn’t lock or hog the server to all users? Is there best practice on how to do the above please?

Search two separate places or range and extract specific keyword or number to populate cell in Google Sheets from a disorganized List

I Included a Google Sheets link

I’m attempting to take apart an unorganized list in a single column, separating it by keywords into columns and rows so that the data can be usable – to maybe make a graph or analyze trends. The trouble I’m having, in general, is the keyword I’m searching for may not be on the exact line I expect it to be, but only one cell either up or down. Is it possible If a match isn’t detected in A2 in would also check A3?

So far I can only get it to search a single cell, but not a range of cells, like A2:A3 and extracts on row 2 inthe appropriate column

Much appreciated if anyone can point me in the right direction

Separate Sitemap for Mobile Website

Hello Friends,

Do we need to create separate sitemap for mobile website. If i have subdomain mobile website m.axydotcom (i.e)

google analytics – GA is not recording the visits I have on a site’s subfolder with a separate WP install. What gives?

The situation isn’t as simple as “have you checked if the GA tag is installed?”.

Here’s what I got:

  • a main WP install on /blog/
  • a second WP install on /blog2/ (not actually named blog2, of course).

Both have GA installed properly and has worked for years.

Starting the last week, on blog2 the traffic seemed to disappear in GA: http://prntscr.com/ufyug2

On /blog/ everything looks good, though.

GA is installed correctly and I checked it manually, with two Chrome extensions.

I didn’t get dropped from Google SERP either. My posts are exactly where they were 2 weeks ago.

Google Console shows no change. Screenshot of a random article from blog2: http://prntscr.com/ufyv9b

I even disabled JS and HTML minification from W3 total cache, in case there was a conflict somehow.

Aaaand still no change.

Do you guys have any idea what could cause this?

Hosting email separate from Website etc. SSL warning.

I have a situation at the moment where a client is hosting with someone else but wants to have their emails hosted with me. They will eventu… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1820836&goto=newpost

Why are my 2 separate Gmail accounts receiving the same emails?

If someone sending a mail to account A. Why am I receiving the same email in account B. I checked in ‘setting->forward’ but there is no relation between two accounts.

javascript – How to get a specific element from a for-loop into a separate array using JS

I’m currently working on something and hit a brick wall so thought I’d ask for some help.

I’m trying to implement an onclick feature in which a user can click on an image that was produced by a for-loop, and then add the selected image’s ID to a separate array which will be implemented later in a form (using JSON.stringify) and sent to the back-end for processing. Currently, this is what I have:

function displayImages(testdata) {
    // the container
    var container = document.getElementById('content');

    for (var i = 0; i < testdata.length; i++) {
      
        // create the image element
        var imageElement = document.createElement('img');
    

        //add image filepath to each image
        imageElement.src = testdata(i).filepathOriginal;
        //add the imageID to each of the images
        imageElement.id = testdata(i).imageID;
        //styling in JS //
        imageElement.height = 160;
        imageElement.width = 160;
        imageElement.style.flexDirection = "row"; 
        

        
       // append the element to the container
        container.appendChild(imageElement);
    }
}

//JS to add images that user selects to array

function addToArr(item){

    var sList = ();
    var index = sList.indexOf(item);
    if (index == -1) { //if not already added as 0 is the first image
      sList.push(item) // add to array
    }

    sList.forEach(function (){
        imageElement.onclick = function(){ addToArr(imageElement.id); } // <-- this line
        });
      

    //JSON.stringify loads the array into readable format for next stage
    document.getElementById('list').value = JSON.stringify(sList);
    console.log("Images selected by user are: " + JSON.stringify(sList));
  }
  

I thought adding the foreach would help me out but it didn’t do anything. The other issue I had was I tried adding a code to call the addToArray function inside the for-loop, but this just added the final element that was being iterated through…

Would love some help on this as I’m sure I’m missing something obvious 馃檪

P.S
In-case you needed to see the testdata array:

 //TEST DATA!!!
    var testdata = (
      {
          "imageID": 17,
          "uploadedDate": "2020-07-31 03:56:56.243139",
          "filepathOriginal": "test_images/testimage1.jpg"
      },
      {
          "imageID": 18,
          "uploadedDate": "2020-07-31 04:06:14.711057",
          "filepathOriginal": "test_images/testimage2.jpg"
      },
      {
          "imageID": 19,
          "uploadedDate": "2020-07-31 04:08:10.360168",
          "filepathOriginal": "test_images/testimage3.jpg"
      }
    );

polymorphisms – Why do we need a separate notation for 袩-types?

I am confused about the motivation behind the need for a separate notation for 袩-types, that you can find in type systems from 位2 on. The answer usually goes like so – think about how one can represent a signature of identity function – it can be 位a:type.位x:a.x or 位b:type.位x:b.x. The subtle part, they say, is that these two signatures not only not equal, they are not alpha-equivalent as type binders a and b are free variables inside their correspondent abstractions. So to overcome this pesky syntactic issue, we present 袩 binder that plays nicely with alpha-conversion.

So the question: why is that? Why not just fix the notion of alpha-equivalence?

language design – Why have separate keywords for ‘extends’ and ‘implements’ in Java?

This is not a question about why Java avoids multiple inheritance.

The reason I ask is because sometimes I find myself changing an Interface to an Abstract Class, or vice versa, then having to go through all its children to switch between ‘extends’ and ‘implements’. If it was a single keyword this would all be handled purely by the compiler. It’s not like it’s a big problem, just a minor annoyance that I was hoping could be avoided.

I don’t see the need for this distinction between ‘extends’ and ‘implements’; However, I’m not a language designer.. So is there some good reason that I may have overlooked?

I note that Generics actually does throw out this distinction, only using ‘extends’ for both types.

Here’s an example of what we have vs. what I think I want:

public interface MyInterface {
    public void myInterfaceMethod();
}

public class MySuperclass {
    public void mySuperclassMethod(){ ... }
}

// What we have - If I change MySuperclass to an Interface then this breaks
public class MyClass extends MySuperclass implements MyInterface {
    @Override public void myInterfaceMethod() { ... }
}

// What I want - If I change MySuperclass to an Interface then this is still fine
public class MyClass extends MySuperclass, MyInterface {
    @Override public void myInterfaceMethod() { ... }
}

Thanks for your insight