networking – Connecting Comcast modem, unmanaged switch, and wireless router correctly in small business

We recently purchased an Orbi Pro mesh router with satellites to extend the WiFi coverage in our small business. We have a cable modem (Comcast Business Gateway), an unmanaged switch (Netgear Gigabit), and the wireless router (Orbi Pro w/3 satellites).

If I connect the modem to the internet port of the router, and the switch to one of the ethernet ports on the router, then I have internet connectivity but can’t communicate with any of the devices on the switch:

Modem -> Router (Router Mode) -> Switch

Alternatively, if I connect the modem to the switch, then the switch to the internet port on the router, I am able to access some websites — but not all:

Modem -> Switch -> Router (Router Mode)

At first I thought this was a DNS issue, but I’m guessing it’s a routing issue, since there’s no router between the gateway and switch.

It seems the only configuration that lets me access all websites, and all of the devices connected to the switch, is to place another router between the modem and switch, then place the second router in bridge mode:

Modem -> Router #2 -> Switch -> Router (Access Point Mode)

I feel like I’m missing something here. Is there any way I can connect the modem, switch, and single router together so that I can access the internet and connect to all devices (both wired into the switch and wireless via the router)?

The only change to the modem configuration was to turn off WiFi. The only change to the Orbi Pro configuration was to switch between router/AP mode and enable WiFi. The switch is unmanaged.

Thank you!

javascript – How to divide the following code correctly into functions? Calculator /JS

javascript – How to divide the following code correctly into functions? Calculator /JS – Code Review Stack Exchange

Validation Upper case not working correctly

I am using SharePoint 2016 and I am trying to enter a validation for a single line text that must be 7 characters in lenght with a hyphen in position for (XXX-XXX).

I have two issue, first I reliased that if I enter a validation it makes the column mandatory so I need to make the column have the option of blank and if not blank then the validation sets in.

The second issue is that the formula does not really work properly as it appears I can have 2 hyphen and the last characters not capitalised.

=AND(LEN(Route)=7,MID(Route,4,1)="-",CODE(UPPER(MID(Route,1,1)))=CODE(MID(Route,1,1)),CODE(UPPER(MID(Route,2,1)))=CODE(MID(Route,2,1)),CODE(UPPER(MID(Route,3,1)))=CODE(MID(Route,3,1)),CODE(UPPER(MID(Route,4,1)))=CODE(MID(Route,4,1)),CODE(UPPER(MID(Route,5,1)))=CODE(MID(Route,5,1)))

As soon as I enter the 6th character condition as below SharePoint goes into error without saving the setting.

=AND(LEN(Route)=7,MID(Route,4,1)="-",CODE(UPPER(MID(Route,1,1)))=CODE(MID(Route,1,1)),CODE(UPPER(MID(Route,2,1)))=CODE(MID(Route,2,1)),CODE(UPPER(MID(Route,3,1)))=CODE(MID(Route,3,1)),CODE(UPPER(MID(Route,4,1)))=CODE(MID(Route,4,1)),CODE(UPPER(MID(Route,5,1)))=CODE(MID(Route,5,1))),CODE(UPPER(MID(Route,6,1)))=CODE(MID(Route,6,1)))

Any ideas on how to make the entry optional and if information is entered then to be in the format XXX-XXX.

apache2 – Apache proxy not working correctly

In the process on publishing my node app on a ubuntu 18.04 server with apache, I had created a virtualhost file like this bellow,

<VirtualHost *:80>
ServerName example.com

   ProxyRequests Off
   ProxyPreserveHost On
   ProxyVia Full
   <Proxy *>
      Require all granted
   </Proxy>

   <Location /nodejs>
      ProxyPass http://127.0.0.1:8080
      ProxyPassReverse http://127.0.0.1:8080
   </Location>

    <Directory "/var/www/example.com/html">
    AllowOverride All
    </Directory>
</VirtualHost>

I saved and restarted apache, everything is normal till now. But when I decided to change the location to /nodejs to only / and updated it as so, it doesn’t work.

Whenever I hit the domain, it shows the default apache page and if I hit with domain/nodejs then the app loads just fine.

I have tried disabling proxy modules, restarting servers. I think there is some kind of cache or something, but can’t figure out.

Please help.

javascript – How to divide the following code correctly into functions?/JS

javascript – How to divide the following code correctly into functions?/JS – Code Review Stack Exchange

spfx-angular-elements project working correctly on workbench but not working on sharepoint page

You are facing this issue because either you missed establishing context in PnP setup or you are passing blank context to setup.

You can establishing context in PnP setup like:

public onInit(): Promise<void> {

  return super.onInit().then(_ => {

    pnp.setup({
      spfxContext: this.context
    });
    
  });
}

OR

public onInit(): Promise<void> {

  return super.onInit().then(_ => {

    sp.setup({
      spfxContext: this.context
    });
    
  });
}

Documentation: Using sp pnp js in SharePoint Framework – Establish Context

Similar Issue: 404 error when generating REST queries

SER doesn’t correctly recognize wordpress.com — 👉 GSA SEO and Marketing Forum 👈

Hi @Sven, long time no see,

I’ve got a little issue with SER. I’ve modified the wordpress Article engine. Not much just reduced the verification times a bit.

Since then SER somtimes recognizes a wordpress.com URL as Wodrpess Artilce – mod.

I’ve tried adding this to the WordPress Article mod engine:
url must have5=!*wordpress.com*

also added a couple of more page must have lines to the WordPress XMLRPC lines. Now there are 7 in total and there are only 4 in the modded engine.

If I disable the modded engine and only leave the wordpress xmlrpc engine on then ser successfully posts to the url once it tries a couple of times.

python – How to get my code run correctly for hetero-dimerization analysis

I have a code that gives output in a format I want however the results it shows are not 100% correct.

I have two big fast files which look like below (information after # are not in the actual file – I put them i this question for better understanding):

f1.fa

>seq1
ATCGCGT  #--> 6mers are ATCGCG and TCGCGT // reverse complements are CGCGAT and ACGCGA
>seq20
CCATGAA  #--> 6mers are CCATGA and CATGAA // reverse complements are TCATGG and TTCATG
>seq3
AACATGA  #--> 6mers are AACATG and ACATGA // reverse complements are CATGTT and TCATGT

f2.fa

>seq9
NNCGCGATNNCGCGATNN
>seq85
NNTTCATG

what I want to do is:

  1. to read 6mers of reach sequence from file1
  2. make reverse complements of 6mers
  3. look for any sequence (these are target sequences) in file2 to see if any of the reverse complement 6mers are inside then mark those sequences against each other with 1 else with 0
  4. report the result as a table.

so based on the example sequences above – one of the reverse complement 6mers from seq1 (CGCGAT) is inside seq9 of file2 – also one of the reverse complement 6mers from seq20 (TTCATG) is inside seq85 of file2.

so the desired output should be as below:

         seq1  seq20  seq3
name                    
seq9      1      0     0
seq85     0      1     0

but currently, i get:

         seq1  seq20  seq3
name                    
seq9      0      0     0
seq85     0      1     0

My code is:

from Bio import SeqIO
import pandas as pd


def same_seq(a_record, brecord):
    window_size = 7
    for j in range(0, len(a_record.seq) - window_size + 1):
        for k in (a_record.seq.reverse_complement()(j: j + 6).split()):
            return brecord.seq.find(k) != -1


if __name__ == '__main__':
    records = list(SeqIO.parse("f1.fa", "fasta"))
    target_records = list(SeqIO.parse("f2.fa", "fasta"))
    rows_list = ()
    for target_record in target_records:
        new_row = {'name': target_record.name}
        for record in records:
            if same_seq(record, target_record):
                new_row(record.name) = 1
            else:
                new_row(record.name) = 0
        rows_list.append(new_row)
    df = pd.DataFrame(rows_list)
    df = df.set_index(("name"))
    print(df)

I am not sure if the first part or the second part of the code is causing the problem. It would be great if you could help me to fix my code. Thank you

mathematics – How to project a Matcap correctly in Amplify Shader Editor

Unity’s Amplify Shader Editor comes with an example of matcap nodes setup, however, the matcap projection in this example is incorrect.
As you can see the texture becomes distorted when it’s on de edges of the screen, that shouldn’t happen with a correct matcap:

enter image description here

enter image description here

On the secoud image, this is how a matcap should look, without major distortions.

Does any expert in shaders knows the right way to project a matcap using the nodes? I’ve done my search and there is absolutelly no information about this around the internet, any response would add for this Shader documentation.
I’m extremelly in need that matcap works with this shader.

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive Proxies-free.com New Proxy Lists Every Day Proxies123