forms – How to correctly represent "leave unchanged"

Users can modify various information, everything is in the same modal (including the password).

What would be the best way to represent to the user "leave blank to remain unchanged" (referring to passwords).

The idea is that a user can change the email (among other information) but may not want to change the password – he should be able to update all other information (including password) but only if desired.

forms – How to correctly represent "does not change"

Users can modify various information, everything is in the same modal (including the password).

What would be the best way to represent to the user "leave blank to remain unchanged" (referring to passwords).

The idea is that a user can change the email (among other information) but may not want to change the password – he should be able to update all other information (including password) but only if desired.

where on earth – Does this painting represent the Alps or the Rockies?

This painting can be found online (and a friend of mine did) and here is a link.

This site mentions the photo of an unknown artist but the title of the photo: "Herbst Am Silsersee".

Herbst means autumn (or fall), Silsersee translates to Lake Sils, and which has a Wikipedia page. And this lake is located in Switzerland and that makes it the Alps rather than the Rockies.

seo – What scheme should I use for a company page I represent and for city pages?

I am trying to determine the type of layout to use for two different types of pages on the same website (energy supplier pages and city pages).

The organization is an energy supplier comparison site where you can compare rates and energy plans and sign up for an energy plan:

Comparison Alt

As you can see, the organization represents multiple energy suppliers and has a "energy supplier page" for each energy supplier.

The first type of page is the energy supplier page:

Here is a sample page containing information about one of the energy suppliers that the organization represents:

https://homeenergyclub.com/providers/reliant-energy-texas

The page for each energy supplier contains a lot of information about each energy supplier, some of which include:

  • Prices and plans offered by this service provider via the website (we wish to mark up the information on these price / plan tables – note that the data is dynamic, it changes constantly)
  • Commercial information (contact details for customer service)
  • A notice section, although there is a specific notice page for each energy supplier
  • Details and information on certain energy plans offered by the supplier
  • Tips to reduce your energy bill
  • Cancellation policy
  • Energy supplier faqs
  • Popular postal codes in which the energy supplier offers services
  • Popular cities where the energy supplier offers services

Some pages of energy providers will have more information than others.

I don't know what type of scheme would be the best tree for that one.

The second type of page is a "city page".

These pages were created to target searches with the city in the search query. Such as electricity in Houston.

Here is an example of a city page: https://homeenergyclub.com/houston

I am also confused with this one as to the type of scheme that might be best suited.

Any thoughts / comments / ideas are greatly appreciated!

Thank you!

dnd 5e – What part of Chult does this image represent?

What part of Chult does this image represent?

enter description of image here

It is in Tomb of Annihilation, on page 9. Is it the Aldani Basin?

The Soshenstar and Tath rivers flow from this marshy upland basin, which is a popular feeding ground for dinosaurs and swarms of biting insects. High plateaus and walls of dense foliage surround the marsh.

The description matches, but the picture is not labeled and is found on another chapter of the book.

do republikkklans represent racism in america?

How can Republicans be the face of a group (KKK) founded by Democrats?

Supported by Democrats for over a century and a half?

Elected members of the Congress group as Democrats?

Has passed all the "Jim Crow" laws that have oppressed blacks in the south for more than a century?

Opposed to civil rights laws led by Senator Al Gore?

Blocked the school door to prevent school integration?

Sorry, but it's the Democratic Party that has a history of racism and support for the KKK.

Get your facts correct.

Android: How to represent an activity starting another activity with an intention in a UML sequence diagram and a class diagram?

The creation of objects in UML is done like this:

enter description of image here

In order to communicate with asynchronous in a later step, you would use an open arrow:

enter description of image here

As for the class diagram, you would use either an association or a dependency. <> is not a standard keyword / stereotype. You can enter it with a profile but it is not necessary. Addiction is a weak relationship between classes. Basically you are using an addiction if you come use class it in a parameter somewhere to pass it somewhere. An association is used if you have a reference to the other class and want to interact directly with it. Your code

Intent intent = new Intent(this, ActivityB.class);

that's exactly it. So you show it as (leaving aside the compartments for attributes / operations):

enter description of image here

The (public) property (indicated by the point) intent is of type Intent. So your SD should show this fact as

enter description of image here

by suffixing the class type of the object ActivityB separated by two points.

block – What does the version number represent in the block header

While researching how a block is extracted, I came across the version number in the header – which is used to "keep track of protocol changes".

But even in the last 5 blocks of the chain (in the writing state), there were 4 different version numbers – so my question is, "What does the version number represent?" followed by "Will an extracted block with a random version number be rejected – or could a minor just use it as a name extension (and effectively double the name length)

Represent a single constraint on a UML diagram

I need to show on a diagram a single constraint involving two attributes. For example, UNIQUE (COLA, COLB).

Here's what I did:

g

c ++ – what is the most efficient way to represent a 2d array for matrix multiplication?

What is the best way to represent a 2D matrix? I work with Eigen3 in C ++ 11 or more recent for an application involving a matrix-matrix multiplication operating on a single machine. I am open to code review on Eigen3 is not the best way to get the job done.

The size of the 2d matrix should be determined during runtime for matrices of different sizes. It therefore cannot be hard-coded as a global variable as in the following example. For the moment, I am using static allocation int(m)(n) as an input, then break the Eigen matrix when necessary.

Here is a list of potential options I can think of:

1. std::array
2. std::vector
3. statically-allocated array on stack
4. dynamically-allocated array on heap(with new?) 
5. use Eigen built-in matrix representation from the beginning(avoid casting back and forth when using option 1- option 4 )

Follow-up: what if the size of the matrices can be adjusted in a stack? I am thinking of option 3 because it is faster than option 4 when multiple memory allocations are required.

Here is an example of code that I'm trying to optimize, which doesn't work if I try to allow the size of the matrix in gemm to be variable:

#include 
#include 
//n = (7,64)
//k = (1,11), odd
const int n = 64;
const int k = 11;
using namespace Eigen;
using namespace std;

int cross_correlation(int G(n)(n), int n, int F(k)(k), int k, int x, int y) {
  int sum = 0;
  for (int i = 0; i < k; i++) {
    for (int j = 0; j < k; j++) {
      int xx = x + i - floor(k / 2);
      int yy = y + j - floor(k / 2);
      if (0 <= xx && xx < n && 0 <= yy && yy < n) {
        sum += F(i)(j) * G(xx)(yy);
      }
    }
  }
  return sum;
}

MatrixXi gemm(const int G_(n)(n), const int F_(k)(k)) {

  const int F = k;
  const int P = (F - 1) / 2;
  const int S = 1;
  const int W = n;
  const int t = (W - F + 2 * P) / S + 1; 

  const int length = n + 2 * P;

  int padded_arr(length)(length);
  memset(padded_arr, 0, length * length * sizeof(int));
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < n; j++) {
      padded_arr(i + P)(j + P) = G_(i)(j);
    }
  }

  Matrix m;
  for (int i = 0; i < length; ++i)
    m.row(i) = Eigen::VectorXi::Map(&padded_arr(i)(0), length);

  Eigen::MatrixXi mat(F * F, 0);
  for (int i = 0; i < t; i++)
    for (int j = 0; j < t; j++) {
      Matrix M1;
      M1 = m.block(S * i, S * j);

      Matrix M2(M1);
      Map v2(M2.data(), M2.size());

      mat.conservativeResize(mat.rows(), mat.cols() + 1);
      mat.col(mat.cols() - 1) = v2;

    }

  Matrix filter;

  for (int i = 0; i < F; ++i)
    filter.row(i) = Eigen::VectorXi::Map(&F_(i)(0), F);

  Matrix M2(filter);
  Map v2(M2.data(), M2.size());

  Matrix res(v2 * mat);

  Map res_reshaped(res.data(), t, t);

  return res_reshaped;
}

int main() {

  MatrixXi G = MatrixXi::Random(n, n);
  int GG(n)(n);
  Map(&GG(0)(0), n, n) = G;

  MatrixXi F = MatrixXi::Random(k, k);
  int FF(k)(k);
  Map(&FF(0)(0), k, k) = F;

  int res(n)(n);
  Map(&res(0)(0), n, n) = gemm(GG, FF);


  /*verification*/

  bool is_correct = true;

  for (int i = 0; i < n; i++) {
    for (int j = 0; j < n; j++) {
      if (res(i)(j) != cross_correlation(GG, n, FF, k, i, j))
        throw new runtime_error("incorrect");

      is_correct &= (res(i)(j) == cross_correlation(GG, n, FF, k, i, j));

    }
  }
  cout << "is_correct: " << is_correct << endl;

}

```