sharepoint server – The URL is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web?

To narrow down the issue:

  1. Do all libraries have this issue?
  2. Check for the ULS logs, which will tell you more information.

Browse to the content database for the site in the SQL Server Management Studio
Expand ‘Databases’ and right-click on the content database to select “Properties”.

Select “Options” from the left pane in the pop-up window.

The option “Auto Create Statistics” must be set to “False”. If it is set to “True”, it must be toggled to “False”.

unity – Should I do interactions between a new class and the main engine via a redirector class, or directly refer to only the classes the new class needs?

I’m making an open-source voxel engine, and there’s an architectural problem that I would like an answer to. I have come up with 2 different solutions, and would like your opinions on:

When I’m creating a new class for a feature that uses the voxel engine, should the new class only refer to a big re-director class called VoxelWorld that redirects the calls to whatever component is responsible for it (solution 1), OR should the new class directly refer to only the classes it actually needs. Simply put, should the new class refer to the entire voxel engine, or just the parts it needs to?

This may be similar to a monolithic vs microservice problem?

Solution 1: All interactions go through a single entry point (I shall call it the VoxelWorld class). It’s a single class, which would redirect all calls to whichever component is responsible for it. Examples of those calls would be for example VoxelWorld.GetVoxelData(position) or VoxelWorld.UnloadChunk(position). These calls would be coming from wherever, maybe a custom class made by the user such as a TerrainDeformer.

The TerrainDeformer would only have a reference to VoxelWorld, and nothing else (except for all the parameters it needs to deform the terrain, such as the deformation range). The TerrainDeformer would simply call VoxelWorld.EditTerrain(listOfModifications), and that’s it. The VoxelWorld would be responsible for redirecting the EditTerrain call to whichever class is responsible for editing the terrain, for example, a VoxelWorldEditor.

The VoxelWorld.UnloadChunk call would be redirected to ChunkManager, which is responsible for managing chunks. Here’s a picture to better explain it:

Visualization of solution 1

The public VoxelWorld would be the only public class in assembly A. Everything else is internal, meaning they are only visible for other classes inside assembly A. The assembly A is also like a black box, it is mostly (except for the VoxelWorld) hidden from the outside project. It just works, that’s not a good ideology, but sometimes a necessary one. Everything in assembly B is easily extensible and public to the user. It contains the code the user would be messing with.

VoxelWorld would essentially by only a redirector of calls. It would have absolutely no logic, only redirections. A function in VoxelWorld.cs could look like this:

public void LoadChunk(int x, int y, int z){
    ChunkManager.LoadChunk(x, y, z);
} 

Solution 2: Everything that the user wants to add refers to only the classes it really needs. Now, forget all that public/internal/redirecting stuff from solution 1, but keep in mind the different classes. This is kind of like the interface segregation principle, but just without the interface part.

The interface-segregation principle (ISP) states that no client (e.g.
TerrainDeformer)
should be forced to depend on methods it does not use
(e.g. LoadChunk)

In solution 1, everything depends on everything. That’s the blessing and the curse of solution 1. In solution 2, that’s not a problem because a class only depends on what it actually needs.

Visualization of solution 1

Solution 2 is more traditional and maybe cleaner -> easier to maintain. I feel like I like solution 2 more than solution 1, but both seem good. Here’s the main benefits and disadvantages:

Solution 1:

+Easy to use API (VoxelWorld.DoWhatever())

-It contains a black box, so it’s harder for the user to extend the very core features. (Of course, it wouldn’t be an actual black box, this is open source, it’s just something that the user shouldn’t mess with)

Solution 2:

+Easier to maintain and extend

-More difficult API, everything is scattered so the user has to explicitly know if some feature already exists (in solution 2, the user can just scroll through the suggested functions for VoxelWorld.___())

So, which solution do you recommend, and why? Or is there some third solution that I haven’t thought about?

This was quite a long question, but I hope it can help others who might have the same problem. I tried googling but didn’t find anything related to this kind of problem, but I didn’t really even know what to search for.

malware – Why is the term “nation state” used to refer to a government-sponsored effort in infosec, and is it accurate?

I work in infosec and as such, have read many whitepapers and been to many conference talks. I hear all the time, especially in conversation and literature about malware, the term “nation state” used to refer to a government entity or government-sponsored activity. The term “state actor” is also used.

My question is, why? According to Wikipedia:

A nation state is a state in which a great majority shares the same culture and is conscious of it. The nation state is an ideal in which cultural boundaries match up with political boundaries.1 According to one definition, “a nation state is a sovereign state of which most of its subjects are united also by factors which defined a nation such as language or common descent.” It is a more precise concept than “country”, since a country does not need to have a predominant ethnic group.

According to Merriam-Webster, the definition is:

a form of political organization under which a relatively homogeneous people inhabits a sovereign state

Is there some inherent need for the government sponsor to be primarily of one ethnic background in infosec literature? I just don’t understand why this term in particular is so frequently used, when there are many forms of states, such as a federated state, multinational state, or even more general terms such as “government” or “country,” all of whom would likely be capable of and do participate in infosec activities.

SQL Server – "Column check limit cannot refer to other columns"

CREATE TABLE SALES_ORDER
(
S_ORDER_NO VARCHAR2 (6) PRIMARY KEY CHECK (S_ORDER_NO LIKE & # 39; O & # 39;),
S_ORDER_DATE DATE,
DELY_ADDR VARCHAR2 (25),
SALESMAN_NO VARCHAR2 (6) REFERENCES SALESMAN_MASTER (SALESMAN_NO),
DELY_TYPE CHAT (1) STANDARD & # 39; F & # 39; CHECK (DELY_TYPE IN (& # 39; P & # 39 ;, & # 39; F & # 39;)),
BILLED_YN CHAT (1),
DELY_DATE DATE CHECK (DELY_DATE> S_ORDER_DATE),
ORDER_STATUS VARCHAR2 (10) CHECK (ORDER_STATUS IN (& # 39; PROCESS & # 39 ;, & # 39; FULFILLED & # 39 ;, & # 39; BLOCKORDER & # 39 ;, & # 39; CANCELED & # 39;)));

Geography – Can I refer to Wolfram's geoserver from outside Mathematica?

Unfortunately I have to port my Mathematica code. I want to use the same (or very similar) standard GeoGraphics map background as my Mathematica code. Can I somehow point to Wolfram's geoserver and use it for map tiles?

Where does Mathematica alternatively get its map backgrounds from? Maybe I could refer to this source instead …

Cookies – Can half of Webform submissions be saved as a draft for non-logged in users so they can refer back later?

We have a customer who wants to create a customer service portal.
1. The portal uses web forms to collect data.
2. Users should be able to fill out the web form without logging in.
3. Unauthenticated users who do not want to log in should be able to return to and fill out a form that they paused halfway through.

Are your current module sets helpful for this functionality?

"python3" continues to refer to Python 3.5 even after using the update-alternatives command to set python3 to 3.6

I think the question is self-explanatory. The standard version of Python3 in my Ubuntu was 3.5.2. I have installed Python 3.6. I followed the answer here (https://askubuntu.com/a/1063760/1061308) and used update alternatives to set Python 3.6 with a higher priority value. In the end it is output to sudo update-alternatives --config python3 looked like:

There are 2 choices for the alternative python3 (providing /usr/bin/python).



 Selection    Path                Priority   Status
------------------------------------------------------------
* 0            /usr/bin/python3.6   2         auto mode
  1            /usr/bin/python3.5   1         manual mode
  2            /usr/bin/python3.6   2         manual mode

Press  to keep the current choice(*), or type selection number: 

As you can see, auto mode is set to Python 3.6 and it is the current selection. When I run Python3, Python 3.5 is running:

python3 --version
Python 3.5.2

For the recording, I run Ubuntu 16.04 on Virtualbox VM. I signed out and signed in again. I restarted the machine. I checked if Python 3.6 is installed properly or not (by explicitly running the python3.6 command and it worked fine).

Can I try something else?

Focal length – what is the cause of the moon illusion? Does it refer to the focus of the eyes?

Enter the image description here

What is the cause of the moon illusion? Does it refer to the focus of the eyes?

1. Explanation

As shown in the figure, the blue line is the lens, w is the height of the object, x is the height of the image, v is the image distance, u is the object distance and f is the focal length. The red line is the light path.

We all know the relationship between u, v, f

1 / u + 1 / v = 1 / f

and so

f = uv / (v + u) (1)

Knowledge from similar triangles:

x / w = (v-f) / f = v / f-1

and so

x = w (v / f-1) (2)

Inserting (1) into (2)

x = w (v / f-1)
= w ((v + u) / u-1)
= wv / u (3)

According to equation (3), x increases when v and w are fixed, when u decreases.

When the observer observes the moon on the horizon, u is smaller than the actual distance from the moon to the observer due to the influence of mountains and trees. According to equation (3), x increases as u decreases. The viewer will feel that the moon on the horizon is larger and closer than the moon on the zenith. It appears that the moon is "enlarged".

  1. Calculate the "enlargement rate".

    Let K be the ratio of the image of the moon on the horizon to the image of the zenith moon. Let U be the actual distance of the moon. u is the actual focus distance after the eyes on the ground are affected by the trees.
    and so

    K = (wv / u) / (wv / U)
    = U / u

    and so

    K = 380000000 / u (4)

    The picture of (4) is:

Enter the image description here

From this picture you can intuitively see that the closer the eyes of the viewer focus, the greater the magnification of the moon. Of course, the focus distance is also changed arbitrarily and also influenced by factors such as the dispersion circle.

According to formula (4), it can be known that the moon is magnified 1.26667 times when the observer observes the moon at a distance of 380 million meters with an eye focused on 300 million meters.

  1. prophecy

    Watching the moon on a spaceship should not create the moon's illusion. Because the eyes are no longer affected by the landscape on the ground. If the future spaceship can be built very large, the moon illusion will appear when the moon is observed on such a spaceship. Watching the earth on the moon should have the illusion of the earth. Animals should also have the illusion of the moon.

4. Conclusion

I think the moon illusion is the result of observing the moon with a relatively short focal length. In other words, it is the result of observing the more distant moon with the eyes on the closer distance. I think that's the reason for the moon illusion.

reference
Enter the link description here

Character Improvement – Which terms should be used when moves that refer to game book specific functions are taken from another game book as a move?

You cannot make moves from another game book unless they make sense.

Many movements relate to things specific to their game book – legacy moves talk about members of the legacy, Janus moves talk about their secret identity; Hell, even Outsider moves and talks about their homeworld, although that's a backstory rather than an additional one.

A move from another game book means that you acquire these skills in fiction, not just on your character sheet, and nothing happens unless it makes sense in fiction. For each of these dependent moves, the GM and players must work to make sense in the fiction.

If you already have a protege, legacy, or janus, it's not uncommon for a mentor, legacy, or secret identity to involve another hero. Being secret or unwittingly out of space is not beyond the realm of comic books. But ultimately, if the GM can't find a way to make a move for a character from another playbook, he can't take it.