camera settings – Hw can I adjust the aperture on my DSLR when it is connected to a telescope instead of a lens?

Is it possible to adjust the aperture without a lens?

Whereas the opening is a part of the lens, not the body of the camera, no it is not possible.

As a rule, telescopes do not have variable openings: it's not necessary to stop yourself to limit the incoming light (which is absolutely the opposite of what you're looking for the star photography) and the control of the depth of field does not make sense when not all objects are closer than the moon.

The opening of the telescope is the diameter of the front element. In number ƒ, it is the ratio of the focal length of the telescope divided by the diameter of the front element. Be sure to use the same units (that is, inches or mm / cm / m).

What happens if the phone is turned off and is not connected to the internet? [on hold]

Can the phone be tracked even if it is off and not connected

wireless network – Can not navigate while the wifi is connected

I can not use the Internet on my iPhone, even if the wifi is connected. I connected to the router settings using my computer to check Active Client Table. What I noticed is that every time I can not navigate on my iPhone, it is removed from the active customer table, but always indicates that Wifi is connected to my phone.

Although I have another Xiaomi phone that does not appear at all in the list, even if it works properly with the wifi.

I use the Digisol DG-HR3400 router. Is this the problem of my router?

plugin development – Javascript scroll eventHandler only works when I'm connected to WordPress

Try to make a javascript plugin. The code works fine except for the scrolling event that only fires when I am logged in to WordPress.

The rest of the code (I hope everything) works as it should when I get disconnected (or in a new session from a private browsing window), but it just will not work. Why is that?

I'm trying something like this:

        document.addEventListener (& # 39; scroll & # 39; function () {
if (window.scrollY> 250) {
run();
}
});

file system – How to count NFS clients connected to your NFS server?

A quick method that should work everywhere on the server is to list all the sockets connected to the server. nfs port via ss:

ss -a | grep nfs

There is also the showmount command:

showmount - a local host

per manual page:

showmount queries the mount daemon on a remote host for information about the state of the
NFS server on this machine. Without options, showmount lists the set of clients that are
editing of this host. The showmount output is designed to appear as if it
were treated by "sort -u".

Note that there are some caveats:

The completeness and accuracy of the information displayed by showmount varies according to the
to the implementation of the NFS server.

Because showmount sorts and unites the output, it is impossible to determine from the
Indicates whether a client mounts the same directory multiple times.

So, for example, if a customer logs in to the same mount multiple times, it will not appear in showmount exit.
In this case with ss -a you should catch them.

reactjs – How to use react-i18next with a connected component

I would like to use react-i18next with my connected react-redux component and am not sure how to do it.

I've simplified my code to show an example of a connected component:

import React to 'react';
import {connect} from & # 39; react-redux & # 39 ;;
import {userSelectors} from "./userSelectors";

IConnectedProps {interface
activeUserName: string | indefinite;
}
the LandingPageComponent export class expands React.Component {
public render (): JSX.Element {
return (
<React.Suspense fallback = {}>
                
                    
{} ActiveUserName
) } } const mapStateToProps = (status: ICoreRootState): IConnectedProps => ({ activeUserName: userSelectors.getDisplayName (state), }); export const LandingPage = connect (mapStateToProps) (LandingPageComponent);

Versions of the installed package:

react version: 16.8.4
version of react-redux: 5.1.1
react-i18next version: 10.6.0

What I've tried

1) I get the error below when I use withTranslation, WithTranslation as follows:

the LandingPageComponent export class expands React.Component {...}
export const LandingPage = connect (mapStateToProps) (withTranslation () (LandingPageComponent));

Fault:

The above error occurred in the  component:
in withI18nextTranslation (LandingPageComponent) (created by Connect (withI18nextTranslation (LandingPageComponent))))
in Connect (withI18nextTranslation (LandingPageComponent))
on the way
in T
in Connect (t) (on App.tsx: 49)
in Switch (at App.tsx: 45)
in App (at src / index.tsx: 14)
in the router (created by ConnectedRouter)
in ConnectedRouter (created by Connect (ConnectedRouter))
in Connect (ConnectedRouter) (at src / index.tsx: 13)
in the provider (at src / index.tsx: 12)

2) I get the error below when I use withTranslation, WithTranslation as follows:

the LandingPageComponent export class expands React.Component {...}
export const LandingPage = withTranslation () (connect (mapStateToProps)) (LandingPageComponent));

Fault:

index.js: 1446 The above error occurred in the  component:
in withI18nextTranslation (Connect (LandingPageComponent))
on the way
in T
in Connect (t) (on App.tsx: 49)
in Switch (at App.tsx: 45)
in App (at src / index.tsx: 14)
in the router (created by ConnectedRouter)
in ConnectedRouter (created by Connect (ConnectedRouter))
in Connect (ConnectedRouter) (at src / index.tsx: 13)
in the provider (at src / index.tsx: 12)

3) I can not use useTranslation because hooks can not be used in a class.

Thanks in advance …

a simple and connected graph G with 10 vertices and 25 edges with 17 faces

Why a simple connected planar graph G with 10 vertices and 25 edges with 17 faces?

using the formula of Euler, $ n-m + f = 10 -25 + 17 = $ 2.

How can I show that this is not the case?

Theory of complexity – Is my convex polygon max X, is Y connected?

public class Ex1 {

public static int maximumX (Point [] vertices)
{
int max = maxX (vertices, 0, vertices.length-1);
back max;
}
private static int maxX (Point [] vertices, left int, right int)
{
int mid = (left + right) / 2;

if (vertices.length == 3)
if (summits[1].getX ()> vertices[2].getX ())
returns 1;
other
returns 2;

if (summits[mid].getX ()> vertices[mid-1].getX () && summits[mid].getX ()> vertices[mid+1].getX ())
{
return to the middle;
}

if (summits[mid].getX ()> vertices[mid-1].getX () && summits[mid].getX () <vertices[mid+1].getX ())
{
returns maxX (vertices, middle, right);
}

if (summits[mid].getX () summits[mid+1].getX ())
{
returns maxX (vertices, left, middle);
}

return -1;

}

public static int maximumY (Point [] vertices)
{
int max = maxY (vertices, 0, vertices.length-1);
back max;

}
public static int maxY (Point [] vertices, left int, right int)
{
int mid = (left + right) / 2;

if (vertices.length == 3)
{
if (summits[0].getY ()> vertices[1].getY () && vertices[0].getY ()> vertices[2].getY ())
returns 0;
if not (vertices[1].getY ()> vertices[2].getY ())
returns 1;
other
returns 2;
}
if (summits[mid].getY ()> vertices[mid-1].getY () && vertices[mid].getY ()> vertices[mid+1].getY ())
{
return to the middle;
}

if (summits[mid].getY ()> vertices[mid-1].getY () && vertices[mid].getY () <vertices[mid+1].getY ())
{
returns maxY (vertices, middle, right);
}

if (summits[mid].getY () summits[mid+1].getY ())
{
returns maxY (vertices, left, middle);
}

return -1;
}

public static void main (String[] args) {
Point[] vertices = {
new point (-2, 6), new point (0, 10), new point (6, 14)
, new point (12, 12), new point (14, 6),
new point (10, 2), new point (4, 0)};
System.out.println (maximumX (vertices));
Point[] vertices2 = {
new point (0, 0), new point (1, 1), new point (2, 0)
};
System.out.println (maximumX (vertices2));
System.out.println (maximumY (vertices));
System.out.println (maximumY (vertices2));

}

}

As you can see, I have created an algorithm that looks for the maximum values ​​of X and Y and returns the index.

I'm not sure how to determine what O (logn) is, but I followed the logic of the binary search and if it will work in any polygon given convex, the first element of the array has the smallest X coordinate.

Would like help to execute the code on difficult polygons and also understand how can I benefit (assuming it is) O (logn).

Please advice!

How to track and restrict the external download script by wp users connected?

My goal is to limit the direct download of the external URL (which has a script) only to users connected to WordPress.

I think we should follow it by wordpress in the user cookies.
But I need a way to understand how to write this kind of code.