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

Must update macOS FUSE, but can not find where macOS FUSE is on my system to uninstall it

I get this error every time I log in (after a recent update to Catalonia). The installed version of FUSE is too old for the operating system. Please update your FUSE installation to a version that is compatible with the currently running version of macOS. Can not find it to uninstall it. I searched everywhere. PLEASE HELP!

amazon web services – Find the IP address of Spotfleet instances through Powershell

try to launch Spot instances from Spotfleet:

aws ec2 Request Spot Fleet – Spot Fleet Request Config File: //aws-spot6.json
below is json content
{
"SpotPrice": "0.06",
"TargetCapacity": 1,
"IamFleetRole": "arn: aws: iam :: 614786711942: role / aws-ec2-spot-fleet-tagging-role",
"LaunchSpecifications": [
{
"ImageId": "ami-0b86323be1672551f",
"KeyName": "amitpoc",
"Security Groups": [
{
Group ID: sg-0069a6368b0260ca9
}
]
"InstanceType": "t2.large",
"SubnetId": "subnet-03c112988598e6e7c",
"TagSpecifications": [
{
"ResourceType": "instance",
"Keywords": [
{
"Keystone"
"Value": "poc"
}
]
}
]

 }

]
"Type": "maintain"
}

that happens right.
Now I want to find all spot instances that have been started with their private and public IP address in one file. This must be done in Windows via Powershell.

please help

Python – Find the next enemy

I am currently creating a 2D game in Python. I have to calculate the next enemy so the player knows which one to target. I have the following function to accomplish this task:

import math

def find_closest(character: tuple, enemies: list) -> (int, int):
    """
    Finds the closest enemy in enemies

    :param character: An (x, y) representing the position of the charactern
    :param enemies: A list of tuples (x, y) that represent enemies

    :return: A tuple (x, y) of the closest enemy
    """
    closest_enemy = None
    smallest_distance = 100_000_000 # Set to large number to ensure values can be less #
    for enemy in enemies:
        distance = math.sqrt(math.pow(character(0) - enemy(0), 2) + (math.pow(character(1) - enemy(1), 2)))
        if distance < smallest_distance:
            closest_enemy = (enemy(0), enemy(1))
            smallest_distance = distance
    return closest_enemy

if __name__ == "__main__":

    # Test Case #

    character = (5, 6)
    enemies = ((1, 2), (3, 4), (7, 6), (11, 4))
    closest = find_closest(character, enemies)
    print(closest)

I would like to know if there is a better way to do this. It's a simple feature, but I'm sure there's no built-in Python feature that can make it even shorter. I use tuples because, in my opinion, they are the best way to represent coordinates. All suggestions and / or improvements are welcome and welcome.

Embeddable Graph Database for .NET with Disk Persistence – Where Can I Find One?

I've seen some very good options for Graph Database on a server for .NET – namely Neo4J and OrientDB, which look very robust.

But I need one embedded Diagram database, which remains stored in a file on a hard disk, so I can easily port the data between .NET application instances.

Something like Sqlite or LiteDB, but instead as a graphics database.

I searched a lot with very little luck and found something essential. Can someone show me one?

8 – Search can not find a search term from the page title

This is easy to debug because the search index consists of rendered nodes in view mode search_index, So you can create a view that shows all nodes in this view mode and check the result:

Enter image description here

To edit:

The Node Search plugin adds the title to the rendered node. If the page title is the node name, it should be included in the search index:

NodeSearch :: updateIndex ():

  $build = $node_render->view($node, 'search_index', $language->getId());
  ...
  // Add the title to text so it is searchable.
  $build('search_title') = (
    '#prefix' => '

', '#plain_text' => $node->label(), '#suffix' => '

', '#weight' => -1000 ); $text = $this->renderer->renderPlain($build);

I'm trying to find a way to get a 3-year Schengen multiple-entry visa to visit a German friend and family

I wish I could find some answers or tips that Google has kept secret. I am a student in Italy and I plan to move to the UK next year (Pakistani passport), but meanwhile I would also like to maintain a long-term Schengen visa because I travel a lot and my friend is from Germany and often go to him see. Our relationship is nowhere registered, so it is unofficial to meet the few specified criteria. I want to find out if I can fit into a category to apply for a long-term visa and not the agony to apply for a short-term visa every time in a while. Does anyone have experience with it? Basically, I'm just trying to find a way to have one leg in Schengen and the other in the UK. Many thanks.