[ Politics ] Open question: Should America be divided into two countries?

One for the Liberals and one for the Conservatives.

differential equations – An element in a Jacobian divided by zero

I linearize fixed points in a dynamic 2D system with Jacobians and meet something I have never seen before. I have an element equivalent to


and an element equivalent to


The problem is that one of my fixed points is at (-.25,0), so the denominators are both equal to 0. Do I just have to evaluate them at 0 and -.5 respectively? I have to calculate eigenvalues ​​and I do not know how to handle this case. a is a true parameter valued here.

procedural generation – LOD chunked divided by distance

So, when you approach the piece, it splits, then when you approach the split piece, it does the same thing again and again (quad tree). But what is the formula for calculating the distance when it should divide according to the distance? For smaller pieces, a smaller distance?

8 – Seach Page Divided in block and view

I've already created a search view such as / search giving the form and results accurately, but the Views user interface is disabled on my server.
So, I want to divide this page into

1] A block containing a search form

2] Get the results of the view and must display on the same page.

Can you share ideas on how to proceed?

What is zero divided by zero?

You can not divide a number by zero. The result is impossible to define mathematically. For example, we could say that nothing will be divided by anything, but that, on the other hand, we could say that whenever the numerator and the denominator are the same number, the quotient is one. These are just two mathematical arguments, but these clearly show that the zero divided by zero is undefined, an expression devoid of meaning.

workflow – String divided by two (,; #) with the help of SPD 2013

You need help to split a text (text field to a line / text field to multiple lines – plain text) with delimiters and create new items in another library / list.

Tried with an example of the 2013 SPD workflow, but unable to get an accurate result. (W / f enter the description of the image here enter the description of the image hererun in infinite loop)

Below are the screenshots.

Example: list A
Text field – Name: Suresh, Rajesh, Kumar
ID: 3

List / Library B

ID Name1 Name2 Name3
3 Suresh Rajesh Kumar


architecture – What is the best way to manage profile images when users and photos are divided into separate microservices?

I'm trying to design a system that respects the best practices I've read about microservices, but I'm not sure how to best manage a user's main profile photo.

My system has users, each user can have a main profile image, but also many support images.

Currently, I planned to implement the following, each service being supported by its own isolated database:

User Service

  • Manages authentication
  • Knows the basic user properties (let's say User ID, name And email)
  • Manages CRUD for users (for at least properties he knows)

Photo service

  • Manages download, thumbnail and image storage on a CDN and a local database
  • CRUD handles for photos

In the monolithic systems that I've built in the past, whenever I returned a user, either as a subset of the user reduced in a list (that is to say, GET /users/), or the full detail of the user (i.e GET /users//), the main profile picture of the user would still be present.

For example:

   id: "a1b2bc3",
   name: "Jamie",
   picture: {
      id: "x1y2z3",
      small: "https://cloud.storage.com/small-x1y2z3.jpg",
      medium: "https://cloud.storage.com/medium-x1y2z3.jpg"

What concerns me now is what service should be responsible for knowing which picture is the main "profile picture" of the user. And how best to do that to the customer. Ideally, the exit to the client would be the same.

I would like to avoid the need to make a separate request to the customer's photo service to retrieve a user's main profile photo. This would become quite talkative if the customer was analyzing a table of users.

I would also like to avoid the approach of asking the photographic service for a user ID, hoping that an image is returned. This is to say GET https://api.example.com/photo-service/profile-picture/.jpg. This would require you to choose which image to use away from the client if no image was defined. That is, it does not return JSON, which may indicate picture: null.

How to choose canonical when a desktop URL is divided into multiple mobile URLs?

I have an adaptive website, and in the mobile version we have put the same data as the desktop version, but in special tabs accessible via the change of route URL.

For example, we have the profile page, in the office, this is only the /profile page. But in the mobile page, there are several tabs. For example: /profile?tab=about, /profile?tab=posts, and more.

The canonical for the mobile page is exactly the same as the currently active tab (ex: /profile?tab=posts) and for the desktop version is /profile

Google uses the SmartPhone bot to crawl the website, making it several canonical, and in the website, it handles this without redirection, or anything else, it displays the page. For example, when an office user comes to /profile?tab=postshe will see the contents of the office of /profile who is for the office.

Is it a good way to handle the mobile and desktop canonics? or for all pages, I have to use only /profile

Can we prove that simple polygons are always divided into two (virtues) by diagonals?

Can we prove that for any simple polygon of more than 3 vertices, there is always a diagonal that:

  • is inside the polygon
  • does not cut any edges
  • divides the polygon into two polygons so that the difference between their vertex counts is less than 2 (for example, divides a polygon of 29 vertices into polygons of 15 and 16 vertices)?

worksheet function – Excel – If any of the 6 cells is> 0 divided by this number of cells

Screen capture of the spreadsheet

What I'm trying to do is:

Once & # 39; Cell B19: B20 & # 39; and & # 39; Row 21 & # 39; to have a value, 'Row 22 & # 39; Split & # 39; Cell B19: B20 & # 39; between the number of columns with a cost value (& # 39; Row 21 & # 39;).

For example:

if only D21 has a value D22 = B19: B20

if D21 AND F21 have values ​​then D22 = (B19: B20 / 2)

if D21 AND F21 AND H21 have values ​​then D22 = (B19: B20 / 3)

Basically, calculate independently of the order of the columns, but taking into account only the number of columns having a value.

These are the formulas that I have up to here but they only calculate if the columns are in the order (A, B, C, D) and not random (A, C, H):

= SI ((D21> 0) * AND (E21> 0) * AND (F21> 0) * AND (G21> 0) * AND (H21> 0) * AND (I21> 0), (B19 / 6), SI ((D21> 0) * AND (E21> 0) * AND (F21> 0) * AND (G21> 0) * AND (H21> 0), (B19 / 5), SI ((D21> 0) * AND (E21> 0) * AND (F21> 0) * AND (G21> 0), (B19 / 4), SI ((D21> O) * AND (E21> 0) * AND (F21> 0), ( B19 / 3), SI ((D21> 0) * AND (E21> 0), (B19 / 2), SI ((D21> 0), B19, 0)))))))

= IF ((E21 = 0), 0, IF ((D22> 0), D22, IF ((E21> 0) *) AND (F21> 0) * AND (G21> 0) * AND (H21> 0) * AND (I21> 0), (B19 / 5), SI ((E21> 0) * AND (F21> 0) * AND (G21> 0) * AND (H21> 0), (B19 / 4), SI ((E21> 0) * AND (F21> 0) * AND (G21> 0), (B19 / 3), SI ((E21> 0) * AND (F21> 0), (B19 / 2), (E21> 0), B19.0))))))))

= IF ((F21 = 0), 0, IF ((D22> 0), D22, IF ((E22> 0), E22, IF ((F21> O) * AND (G21> O) * AND (H21> 0) * AND (I21> 0), (B19 / 4), SI ((F21> O) * AND (G21> 0) * AND (H21> 0), (B19 / 3), SI ((F21> 0 ) * AND (G21> 0), (B19 / 2), SI ((F21> 0), B19.0)))))))))

= IF ((G21 = 0), 0, IF ((D22> 0), D22, IF ((E22> 0), E22, IF ((F22> 0), F22> 0), F22, IF ((G21 > 0) *) * AND (H21> 0) * AND (I21> 0), (B19 / 3), SI ((G21> 0) * AND (H21> 0), (B19 / 2), SI (( G21> 0), B19, 0)))))))

= IF ((H21 = 0), 0, IF ((D22> 0), D22, IF ((E22> 0), E22, IF ((F22> 0), F22> 0), F22, IF ((G22 > 0), G22, SI ((H21> 0) * AND (I21> 0), (B19 / 2), SI ((H21> 0), B19.0)))))))))

= IF ((I21 = 0), 0, IF ((D22> 0), D22, IF ((E22> 0), E22, IF ((F22> 0), F22> 0), F22, IF ((G22 > 0), G22, IF ((H22> 0), H22, IF ((I21> 0), B19.0))))))))