logging – if the court asks B ISP to find all the people who visit the A site domain among those who use B ISP

However, the operator of Site A refuses to provide visitor logs because they are not nationals of that country.

Can B isp find the IP of everyone who has visited the domain of a site without using a method of looking at the domain visit history of everyone using that isp to see if they have ever visited the site A domain?

performance – Trying to find a way to optimize a script that takes a really long time to run

I was wondering if it is possible to speed up this script? The source file has 90,000 rows, and it has to create a separate forecast for 1200 unique dealers using fbprophet. I’m new to python so I’m not sure if there is something obvious I’m missing, or if it’s just going to have to take a really long time. If any sees a simple solution that would speed it up, I would appreciate any insight. Thank you

Additional details about code:
The code takes a CSV file that has 3 columns(Month, Dealer, and Sales) and creates a filter essentially for each unique dealer name, and then uses Fbprophet to forecast the future results of each dealer. Then it combines all the information in a CSV file. It’s 90,000+ rows of data typically, and normally 1200 unique dealers that need to be forecasted. The historical data is 7 years of history.

from pandas import read_csv
from pandas import to_datetime
from pandas import DataFrame


from fbprophet import Prophet
from matplotlib import pyplot
import pandas as pd
# load data
data = read_csv(X.csv', header=0)
# prepare expected column names
data.columns = ('ds','Dealer', 'y')
data('ds')= to_datetime(data('ds'))

results = pd.DataFrame()

for dealer in data('Dealer').unique():
    df_filtered = data(data('Dealer')==dealer)
    prophet_df = data(('ds', 'y'))
    # define the model
    model = Prophet()
    # fit the model
    model.fit(prophet_df)
    # define the period for which we want a prediction
    future = list()
    for h in range(11, 13):
        date = '2020-%02d' % h
        future.append((date))
    for i in range(1, 13):
        date = '2021-%02d' % i
        future.append((date))
    for j in range(1, 13):
        date = '2022-%02d' % j
        future.append((date))
    for k in range(1, 13):
        date = '2023-%02d' % k
        future.append((date))
    future = DataFrame(future)
    future.columns = ('ds')
    future('ds')= to_datetime(future('ds'))
    # use the model to make a forecast
    forecast = model.predict(future)
    forecast('Dealer') = dealer
#     forecast.head(5)
    results = results.append(forecast)

results.to_csv('X1.csv')

```

domain name system – Title: Server can’t find example.com: NXDOMAIN

I am having trouble setting up a local DNS server with forward and reverse zones.

Resolv.conf

search myco.nmm6145.com
nameserver 192.168.1.1
nameserver 192.168.1.2

named.conf

options {
    directory "/var/named";
    listen-on port 53 {any;};
    allow-query {localhost;};
    allow-transfer {any;};
    empty-zones-enable no;
    recursion yes;
    dnssec-enable yes;
    dnssec-validation yes;
    bindkeys-file "/etc/named.root.key";
    managed-keys-directory "/var/named/dynamic";
    pid-file "/run/named/named.pid";
    session-keyfile "/run/named/session.key";
};

zone "."            { type hint;    file "named.ca";    allow-query {any;};};
zone "0.0.127.in-addr.arpa."    { type master;  file "db.127.0.0";  allow-query{any;};};
zone "myco.nmm6145.com"     { type master;  file "db.myco";     allow-query{any;};};
zone "1.168.192.in-addr.arpa."  { type master;  file "db.192.168.1"; };
zone "20.168.192.in-addr.arpa." { type master;  file "db.192.168.20"; };

include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";

db.myco

$TTL 86400
@   SOA linserv.nmm6145.com hostmaster ( 2003080800 12h 15m 3w 3h )

; IAM NAME SERVER
    IN NS   linserv.nmm6145.com.
    IN NS   winserv.nmm6145.com.

; Canonical names
; More may need to be defined as the DNS group grows
localhost       A   127.0.0.1
linserv     IN  A   192.168.1.1
winserv     IN  A   192.168.1.2

; No Aliases yet
www     IN  CNAME   winclient

;No interface spec. names yet

db.192.168.20

$TTL 86400
;$ORIGIN 20.168.192.in-addr.arpa.
@   IN SOA  linserv.nmm6145.com hostmaster.myco.nmm6145.com. ( 2003080700 3h 15m 3w 3h )

;NS
@   IN NS   linserv.nmm6145.com.
@   IN NS   winserv.nmm6145.com.
@   IN PTR  nmm6145.com.

;Addr
linserv IN A    192.168.1.1
winserv IN A    192.168.1.2

;PTR
2   IN PTR  winserv.nmm6145.com.
1   IN PTR  linserv.nmm6145.com.

db.192.168.1

$TTL 86400
$ORIGIN 1.168.192.in-addr.arpa.
@   SOA linserv.nmm6145.com hostmaster.myco.nmm6145.com. ( 2003080600 3h 15m 3w 3h )

;NS
@   IN NS   linserv.nmm6145.com.
@   IN NS   winserv.nmm6145.com.
@   IN PTR  nmm6145.com

linserv IN A    192.168.1.1
winserv IN A    192.168.1.2

;PTR
192.168.1.1 IN PTR  linserv.nmm6145.com.
192.168.1.2 IN PTR  winserv.nmm6145.com.

db.127.0.0

$TTL 86400
$ORIGIN 0.0.127.in-addr.arpa.
@   IN SOA  linserv.nmm6145.com hostmaster.myco.nmm6145.com ( 2003080500 3h 15m 3w 3h )

; Define Name Server
    IN NS   linserv.nmm6145.com.
    IN NS   winserv.nmm6145.com.

; Give localhost ptr
1   IN PTR      localhost.

;Hostname to Address
;linserv IN A       127.0.0.1   

Here are some commands I have run to diagnose the issue:

nslookup @localhost linserv.myco.nmm6145.com

;;Got SERVFAIL reply from 192.168.122.1, trying next server

Unsure where the 122 subnet comes into play here, can’t seem to find it on any of my zone or config files.

dig nmm6145

;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 16519
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; QUESTION SECTION:
;; nmm6145. IN A

;;SERVER: 192.168.1.2#53(192.168.1.2)

I have also tried to flush my cache via

$rndc flush

networking – How to find another container on the same ECS cluster by hostname?

This question feels too obvious to not already have an answer but all of my google searches are coming up with nothing.

In docker (docker-compose) you can easily get the IP of another container by hostname. If you have explicitly created and assigned a network this just works out of the box. So a container foo can connect to another container bar simply by looking up the hostname “bar”.

I’m trying to achieve something similar in AWS ECS to allow a container from one service to talk to a container in another service. The ECS cluster has multiple hosts so I don’t think I can just specify bridge type networking.

Note that the protocol I need this for is not HTTP so an application load balancer is already out of the question.

Is there a recommended way to let one container discover another on the same cluster via hostname?

compactness – Using an open and compact set to find another compact set within the original compact set.

I am trying to show that if U a subset of R^n is open, and K a subset of U is compact, then there is a compact set such that K is a subset of D^o and D is a subset of U.

I know that since K is compact and K is a subset of U, we can use the boundary of K (represented as delta(K) = K – K^o). I think I need to find a delta that can be used to find the biggest epsilon ball at any point on K and that would be the bound for D. I’m just stuck on how I find the value of delta. Can anyone help?

installation – How and where to find out details on which directories and files a package effects?

I can see some information about a package:

nicholas@mordor:~$ 
nicholas@mordor:~$ apt show basex
Package: basex
Version: 9.0.1+ds-1
Priority: optional
Section: universe/database
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Alexander Holupirek <alex@holupirek.de>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4,059 kB
Depends: java-wrappers, default-jre | java8-runtime
Recommends: libjline2-java
Suggests: libtagsoup-java, libxml-commons-resolver1.1-java, libjing-java
Homepage: http://basex.org
Download-Size: 3,611 kB
APT-Manual-Installed: yes
APT-Sources: http://ca.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
Description: XML database and XPath/XQuery processor
 BaseX is a very fast and light-weight, yet powerful XML database and
 XPath/XQuery processor, including support for the latest W3C Full Text and
 Update Recommendations. It supports large XML instances and offers a highly
 interactive front-end (basexgui). Apart from two local standalone modes, BaseX
 offers a client/server architecture.
 .
 The package provides following commands:
  * basex  ..........  Standalone local XML database. Command line interface.
  * basexgui  .......  Standalone local XML database. Graphical user interface.
  * basexserver  ....  BaseX XML Database Server.
  * basexclient  ....  BaseX XML Database Client.
 BaseX XML database and XPath/XQuery processor

nicholas@mordor:~$ 

but how do I find out more, such as where the lib directory is for BaseX?