mongodb – Error: read host {mode: "primary", could not find tags: [ {} ] } for set cluster0-shard-0:

any ideas on how to solve this problem:
I am trying to connect to the class atlas cluster. In the cmd shell, run the following command: mongo "mongodb: //cluster0-shard-00-00-jxeqq.mongodb.net: 27017, cluster0-shard-00-01-jxeqq.mongodb.net: 27017, cluster0-shard -00-02-jxeqq.mongodb.net:27017/test?replicaSet=Cluster0-shard-0 "–authenticationDatabase admin –ssl –username m001-student –password m001-mongodb-basics
then I get this error:

C: Users nzedginidze> mongo "mongodb: //cluster0-shard-00-00-jxeqq.mongodb.net: 27017, cluster0-shard-00-01-jxeqq.mongodb.net: 27017, cluster0-shard-00 -02-jxeqq.mongodb.net:27017/test?replicaSet=Cluster0-shard-0 "–authenticationDatabase admin –ssl –username m001-student –password m001-mongodb-basics
2019-10-15T11: 02: 01.915 + 0400 W CONTROL (Main) Option: SSL is outdated. Please use tls instead.
MongoDB shell version v4.2.0
Connect to: mongodb: //cluster0-shard-00-00-jxeqq.mongodb.net: 27017, cluster0-shard-00-01-jxeqq.mongodb.net: 27017, cluster0-shard-00-02-jxeqq .mongodb .net: 27017 / test? authSource = admin & compressors = disabled & gssapiServiceName = mongodb & replicaSet = Cluster0-shard-0
2019-10-15T11: 02: 02.095 + 0400 I NETWORK (js) Starting the new Replica Set Monitor for Cluster0-shard-0 / cluster0-shard-00-00-jxeqq.mongodb.net: 27017, cluster0-shard-00-01 -jxeqq.mongodb.net:27017, cluster0-shard-00-02-jxeqq.mongodb.net:27017
2019-10-15T11: 02: 02.095 + 0400 I CONNPOOL (ReplicaSetMonitor TaskExecutor) Connecting to cluster0-shard-00-02-jxeqq.mongodb.net:27017
2019-10-15T11: 02: 02.096 + 0400 I CONNPOOL (ReplicaSetMonitor TaskExecutor) Connect to cluster0-shard-00-01-jxeqq.mongodb.net:27017
2019-10-15T11: 02: 02.096 + 0400 I CONNPOOL (ReplicaSetMonitor TaskExecutor) Connecting to cluster0-shard-00-00-jxeqq.mongodb.net:27017
2019-10-15T11: 02: 03.271 + 0400 W NETWORK (ReplicaSetMonitor TaskExecutor) The primary value for the set Cluster0-Shard-0 could not be reached
2019-10-15T11: 02: 03.605 + 0400 I CONNPOOL (ReplicaSetMonitor TaskExecutor) Connecting to cluster0-shard-00-01-jxeqq.mongodb.net:27017
2019-10-15T11: 02: 04.402 + 0400 I NETWORK (js) Successfully connected to cluster0-shard-00-00-jxeqq.mongodb.net:27017 (1 connections are now open to cluster0-shard-00-00-jxeqq mongodb.net:27017 with a timeout of 0 seconds)
2019-10-15T11: 02: 04.612 + 0400 W NETWORK (ReplicaSetMonitor TaskExecutor) The primary value for the set Cluster0-Shard-0 could not be reached
2019-10-15T11: 02: 04.876 + 0400 I CONNPOOL (ReplicaSetMonitor TaskExecutor) Connecting to cluster0-shard-00-01-jxeqq.mongodb.net:27017
2019-10-15T11: 02: 06.043 + 0400 W NETWORK (ReplicaSetMonitor TaskExecutor) The primary value for the set Cluster0-Shard-0 could not be reached
2019-10-15T11: 02: 06.095 + 0400 I CONNPOOL (ReplicaSetMonitor TaskExecutor) Connect to cluster0-shard-00-01-jxeqq.mongodb.net:27017
2019-10-15T11: 02: 07.103 + 0400 W NETWORK (ReplicaSetMonitor TaskExecutor) The primary value for the set Cluster0-Shard-0 could not be reached
2019-10-15T11: 02: 07.376 + 0400 I CONNPOOL (ReplicaSetMonitor TaskExecutor) Connect to cluster0-shard-00-01-jxeqq.mongodb.net:27017
2019-10-15T11: 02: 08.543 + 0400 W NETWORK (ReplicaSetMonitor TaskExecutor) The primary value for the set Cluster0-Shard-0 could not be reached
2019-10-15T11: 02: 08.876 + 0400 I CONNPOOL (ReplicaSetMonitor TaskExecutor) Connecting to cluster0-shard-00-01-jxeqq.mongodb.net:27017
2019-10-15T11: 02: 10.043 + 0400 W NETWORK (ReplicaSetMonitor TaskExecutor) The primary value for the Cluster0-Shard-0 set could not be reached
2019-10-15T11: 02: 10.095 + 0400 I CONNPOOL (ReplicaSetMonitor TaskExecutor) Connect to cluster0-shard-00-01-jxeqq.mongodb.net:27017
2019-10-15T11: 02: 11.103 + 0400 W NETWORK (ReplicaSetMonitor TaskExecutor) The primary address for the Cluster0-shard-0 group could not be reached
2019-10-15T11: 02: 11.376 + 0400 I CONNPOOL (ReplicaSetMonitor TaskExecutor) Connecting to cluster0-shard-00-01-jxeqq.mongodb.net:27017
2019-10-15T11: 02: 12.543 + 0400 W NETWORK (ReplicaSetMonitor TaskExecutor) The primary value for the set Cluster0-Shard-0 could not be reached
2019-10-15T11: 02: 12.876 + 0400 I CONNPOOL (ReplicaSetMonitor TaskExecutor) Connect to cluster0-shard-00-01-jxeqq.mongodb.net:27017
2019-10-15T11: 02: 14.044 + 0400 W NETWORK (ReplicaSetMonitor TaskExecutor) The primary value for the Cluster0-Shard-0 set could not be reached
2019-10-15T11: 02: 14.095 + 0400 I CONNPOOL (ReplicaSetMonitor TaskExecutor) Connect to cluster0-shard-00-01-jxeqq.mongodb.net:27017
2019-10-15T11: 02: 15.102 + 0400 W NETWORK (ReplicaSetMonitor TaskExecutor) The primary value for the set Cluster0-Shard-0 could not be reached
2019-10-15T11: 02: 15.376 + 0400 I CONNPOOL (ReplicaSetMonitor TaskExecutor) Connecting to cluster0-shard-00-01-jxeqq.mongodb.net:27017
2019-10-15T11: 02: 16.543 + 0400 W NETWORK (ReplicaSetMonitor TaskExecutor) The primary value for the set Cluster0-Shard-0 could not be reached
2019-10-15T11: 02: 16.876 + 0400 I CONNPOOL (ReplicaSetMonitor TaskExecutor) Connecting to cluster0-shard-00-01-jxeqq.mongodb.net:27017
2019-10-15T11: 02: 18.044 + 0400 W NETWORK (ReplicaSetMonitor TaskExecutor) The primary value for the Cluster0-Shard-0 set could not be reached
2019-10-15T11: 02: 18.095 + 0400 I CONNPOOL (ReplicaSetMonitor TaskExecutor) Connecting to cluster0-shard-00-01-jxeqq.mongodb.net:27017
2019-10-15T11: 02: 19.101 + 0400 W NETWORK (ReplicaSetMonitor TaskExecutor) The primary value for the set Cluster0-Shard-0 could not be reached
2019-10-15T11: 02: 19.379 + 0400 I CONNPOOL (ReplicaSetMonitor TaskExecutor) Connecting to cluster0-shard-00-01-jxeqq.mongodb.net:27017
2019-10-15T11: 02: 20.546 + 0400 W NETWORK (ReplicaSetMonitor TaskExecutor) The primary value for the Cluster0-Shard-0 set could not be reached

*** It looks like this is a MongoDB Atlas cluster. Make sure your IP whitelist allows connections from your network.

2019-10-15T11: 02: 20.547 + 0400 E QUERY (js) Error: Read host {mode: "primary", Tags: ({})} for group Cluster0-shard-0 could not be found:
connect@src/mongo/shell/mongo.js: 341: 17
@ (Connect): 2: 6
2019-10-15T11: 02: 20.551 + 0400 F – (Main) Exception: Connection failed
2019-10-15T11: 02: 20.551 + 0400 E – (main) exit with code 1

Stack – Read a sentence to a keyword and stack the words and numbers in different piles in c

Well, I want to know how to read a phrase with words and numbers and hold on to a particular word (eg to "end") and stack the words and numbers in different stacks and print them separately at the end. I've read and tried several examples to use the library, but I feel like I misunderstood implementation. Can you help me in my code?

#include 
#include 
#define max 101
#define TRUE 1
#define FALSE 0
#define boolean int

struct stack{
       int topo, item(max);
};

void inic_pilha (struct stack *p)
{
     p->topo = -1;
}
boolean pilha_cheia (struct stack *p)
{
    if (p->topo == (max-1))
    {
          printf ("nnttA Pilha esta Cheia!!!");
          return 1;
    }else
        return 0;
}

boolean pilha_vazia (struct stack *p)
{
    if (p->topo == -1)
    {
         printf ("nnttA Pilha esta Vazia!!!");
         return 1;
    }
    else
     return 0;
}

int pilha_vazia2 (struct stack *p){
    if (p->topo == -1)
       return 1;
    else
       return 0;
}


int push (struct stack *p, int valor){
     return (p->item(++(p->topo)) = valor);
}


int pop (struct stack *p)
{
    int aux;
    aux = p->item((p->topo)--);
    return aux;
}


int mostra (struct stack *p)
{
    int aux;
    if (pilha_vazia2 (p))
       return 1;
    else
    {
        aux = pop (p);
        printf ("%d,", aux);
        mostra (p);
        return 0;
    }
}


int reempilha (struct stack *p, struct stack *p_pal, struct stack *p_num)
{
    int aux;
    if (pilha_vazia (p))
       return 1;
    else
    {   //seleciona os numeros
        if !(isdigit(p->item(p->topo)))
        {
            while !(isdigit(p->item(p->topo)))
               aux = pop (p);
               push (p_num, aux);
        }
        else //seleciona as palavras
        {
               aux = pop (p);
               push (p_pal, aux);
        }
        reempilha (p, p_pal, p_num);
        return 0;
    }

}


int empilha (struct stack *p){

    int valor;
    printf (" ");
    scanf ("%d", &valor);
    if (pilha_cheia (p))
       return 1;
    else
    {
        if (valor == '')
                  return 0;
        else
        {
            push (p, valor);
empilha (p);
            return 0;
        }
    }
}


int main (){
    struct stack pilha, pilha_pal, pilha_num;
    inic_pilha (&pilha);
    inic_pilha (&pilha_num);
    inic_pilha (&pilha_pal);
    empilha (&pilha);
    reempilha (&pilha, &pilha_pal, &pilha_num);
    printf ("nPilha palavras:");
    mostra (&pilha_pal);
    printf ("nnPilha numeros: ");
    mostra (&pilha_num);
    printf("nnn");
    return 0;
}

Read text file with extended ASCII from Google Cloud Storage (Java)

We have a text file with extended ASCII characters (words like "Systèmes" and "Café").
It's in Google Cloud Storage. Its content type is text / csv. When I download it through the browser interface (https://console.cloud.google.com/storage/browser/ …), all characters are correct. However, when I download it from Java with the following code, I get crap for each of the extended ASCII characters.

    Blob blob = storage.get(blobId);
    String fileContent = new String(blob.getContent());
    List lines = new ArrayList(Arrays.asList(fileContent.split("\r?\n")));

I think the file is UTF-8 encoded.
Thank you so much!

vue.js – TypeError: The property & # 39; style & # 39; can not read from undefined with datatable with vue (number of columns and dates are correct)

I'm using datatable with vuejs, but the following error occurs when I create a table. You said maybe the error might be the number of columns and dates, but I have already checked and they are correct.

Does anyone have a suggestion as to what it can be?

Enter image description here

mail.app – iOS Mail marks mails in multiple accounts as read

I have two e-mail accounts. A common customer service @ … and a own username @ ….
For a better overview of what I have already read, I get all incoming mails in the customer service @ forwarded to myname @.

If I now read one of these mails in myname @ account, Apple Mail marks the same mail as well as read in customerservice @ 🙁

I have already tried to change To and X original To headers. No success.

I can imagine that it's a problem for Apple Mail to identify emails with the Message-ID header, which is bad because forwarding an email does not change the message ID set by the original sending mail server ,

Does anyone have any idea how to fix this? It's terrible when I read an email before customer service and they think it's already done!

Thanks in advance for any help.

P.S. It would be great if you kept the customerservice @ account in Apple Mail to be able to send emails through this account and track customer service progress. Deleting customerservice @ from the mail app fixes the problem, but that's not what I want to do.

macos – How do I read a Mac OS Extended (Journaled) USB drive when the following error message appears: "The inserted floppy disk could not be read from this computer"?

So I wanted to reinstall Catalina and created a backup on my USB drive. Before I transfer the data to USB, I formatted it as "Mac OS Extended (Journaled)". After installing Catalina, I can not read the data from USB anymore and get the message: "The disk you inserted could not be read by this computer".

I tried to read it on my Windows computer with a free program (HFSExplorer), but it could not even find my USB drive. I tried to read it on Linux (Ubuntu), installed "hfsprogs" but could not mount it.

I also tried using several free data recovery programs, but they managed to recover only data from my previous Linux Pen Drive installation that I removed before backing up.

Penetration test – SMS not received and read by someone else (no SIM exchange)?

A friend of mine fished his CC data and driver's license. Very stupid, I know. The criminals then bought Bitcoin. The fact is, his card is VbV. He claims to have received no OTP message, even though it was obviously sent. I checked his phone, not a trace of malware, and he told me he had not installed an app for at least a couple of months. None of his apps can read text messages.

How the hell is that possible?

angle8 – ngrx8 mockstore TypeError: The property & # 39; subscribe & # 39; from undefined can not be read

I'm getting an error TypeError: Cannot read property 'subscribe' of undefined

spec.ts file:

import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { provideMockStore, MockStore } from '@ngrx/store/testing';
import { RouterTestingModule } from '@angular/router/testing';

import { ShellHomeComponent } from './shell-home.component';
import { StoreOne } from './../../models';
import { Store, select } from '@ngrx/store';
import { cold, hot } from 'jasmine-marbles';
import { map } from 'rxjs/operators';

describe('ShellHomeComponent', () => {

    let fixture: ComponentFixture;
    let component: ShellHomeComponent;
    let mockStore: MockStore;

    const loadingState = { loading: true } as StoreOne;

    beforeEach(async(() => {
        TestBed.configureTestingModule({
            declarations: (ShellHomeComponent),
            imports: (RouterTestingModule),
            providers: (provideMockStore({ initialState: loadingState }))
        })
        .compileComponents();

        mockStore = TestBed.get(Store);
        fixture = TestBed.createComponent(ShellHomeComponent);
        component = fixture.componentInstance;

    }));

    it('should display loading as true', async(() => {
        const expected = cold('(a|)', { a: true });
        expect(component.loading).toBeObservable(expected);
    }));

});