## List manipulation – problem when creating a weighted graph

Consider a weighted chart – net #:

``````Length = 500000;
vtx[] : = Table[I[i[ich[i<-> Random integer[{0, i - 1}], {i, 1, length}];
w = random integer[{1100}Length[vtx[{1100}Length[vtx[{1100}Länge[vtx[{1100}Length[vtx[]]]net = graph[vtx[vtx[vtx[vtx[], EdgeWeight -> w, GraphLayout -> {"SpringEmbedding", "EdgeWeighted" -> True}];
export["net.png", net, "PNG"];
``````

Unfortunately, Mathematica can not generate such a network and save it to a file.
Is there a way to do this?

## activation problem

I just buy it gsa ranker. I add my name and key. The gsa reboots when I buy or register it again. It means show me the trial again.

## Magento 2 + authorization problem in Ubntu 16.04

Every time I run the setup upgrade or static-content deploy command, I need to assign permissions for var, generated, pub / static, and so on in Ubuntu.

Is there a permanent solution, so we do not have to give permission every time.

## Best practice for using Grid in the web application (desktop browser) is scrolling the biggest problem

Grid is the name of the advanced table component that allows you to scroll, sort, sort, and group the columns, select one or more rows, sometimes select individual cells, and sometimes edit cells. Cells can have very complex editors (date / time, mask editing, color picker, file loader, etc.). In general, quite complex raster components are available from the component vendors.

My question concerns a web application (for desktop browsers). There are 2 examples of how the grid can be constructed:

The grid is provided as the one component (eg, as the reaction component / label). The best use I can imagine is: The raster component should fill in all of the remaining space on the page, using only vertical and horizontal scrolling of the page (and not trying to introduce your own internal scrolling) and some parts of the component (eg fixed header and possibly fixed) footer ( with the numerical summaries for each of the columns) are fixed in position in the page so that they remain visible all the time. Does this usage description conform to UX best practices? Or maybe I should avoid the tabular grids in the modern web application (for example, the list of windows in the question time bar of the stack exchange is an example of an alternative solution). Scrolling and absolute positioning of headers and footers are my biggest concerns.

I am currently developing an application for the desktop browser. This application expects the user to take quite complex actions, so I do not predict that the application will be used by the mobile devices. Of course, I can also provide the mobile version, but I do not understand why users should use it.

## I have a problem in my feature gallery

I have a problem in my Properties section (where I present properties). I tried to reinstall WordPress without success. please help

Hello friends,

Love Marriage Problem Solution India | Husband Wife Relationship Problem Solving | Tantrik Bangali Babaji | Love problem solution | Vashikaran Mantra for Love | Vashikaran Specialist Baba ji

,

## Euclidean geometry – Look for a clever geometric approach to solve a surface problem.

In the acute $$Triangle ABC$$is the position of each point as shown $$F$$ is the center of $$BD$$. $$G$$ is the center of $$CE$$. $$F$$ is not on $$CE$$, and $$G$$ is not on $$BD$$, It is known that $$S _ { triangle AFG} = 1$$and the area of ​​the quadrangle $$BCDE$$ is received?

An inaccurate answer: Consider $$D$$. $$E$$ and $$A$$ It is easy to know that the area of ​​the quadrangle $$BCDE$$ is $$4$$,

Or: leave $$overrightarrow {AB} = vec {a}, overrightarrow {AC} = vec {b}, overrightarrow {AE} = lambda_1 vec {a}, overrightarrow {AD} = lambda_2 vec { b}, (0 < lambda_1, lambda_2 <1)$$, then
begin {align} S _ { triangle ABC} & = frac12 | vec {a} times vec {b} | \ S _ { triangle AED} & = frac12 lambda_1 lambda_2 | vec {a} times vec {b} | \ S_ {BCDE} & = S_ { Delta ABC} -S _ { Delta AED} \ & = frac {1} {2} left (1- lambda_ {1} lambda_ {2} right ) | vec {a} times vec {b} | end
$$because$$ $$overrightarrow {AF} = frac { vec {a} + lambda vec {b}} {2} quad overrightarrow {AG} = frac { lambda_ {1} vec {a} + vec {b}} {2}$$

$$so$$

begin {align} S _ { Delta A F G} & = frac {1} {2} left | overrightarrow {A F} times overrightarrow {A G} right | \ & = frac {1} {2} left | left ( vec {a} + lambda_ {2} vec {b} right) times left ( vec {a} _ {1} vec {a} + vec {b} right) right | \ & = frac {1} {8} left (1- lambda_ {1} lambda_ {2} right) | vec {a} times vec {b} | end

$$so$$ $$frac {S_ { triangle AFG}} {S_ {BCDE}} = frac {1} {4} Longrightarrow S_ {BCDE} = 4$$

Now I need a purely geometric approach to solve this problem, but I have no idea. Could someone help me? Many thanks.

## Submit PHP Problem in Form together with PagSeuro API

Hello, I have a problem, in the program part, with the query I could get everything running (map, number of packages, hash … etc), only that I can submit in the form, it does not lead me to the page I would like to be able to check it out (this is the controller / controllerPedido.php)
, config.php is correct.

my checkout.js and my index.html:

``````var root = "http: //" + document.location.hostname + "/ pgseguro /";
var value = 500.00;

// start session with hash generated in controllerId.php via json
Function startSession ()
{
\$ .ajax ({
URL: Root + "controller / controllerId.php",
Type: "POST",
dataType: & # 39; json & # 39 ;,
Success: Function (Data) {
PagSeguroDirectPayment.setSessionId (data.id);
},
complete: function () {
listPayment ();
}
});
}

// List the possible payment with the Pagseguro
Function ListMetalPayment () {
PagSeguroDirectPayment.getPaymentMethods ({{{{{
Amount: Value,
Success: Function (Data) {

\$ .each (data.paymentMethods.CREDIT_CARD.options, function (i, obj) {
\$ (& # 39; creditcard & # 39;). append (""+ obj.name +" ");
})
},

complete: function (data) {
getTokenCard ();
}
});
}
/ * When entering the card number in the first 6 digits, the pagseguro function is used
to check the flag of the map
* /
\$ (& # 39; # numCartao & # 39;) on (& # 39; keyup & # 39 ;, function () {
var NumberCartao = \$ (this) .val (); // card number
var qntCharacters = NumberCartao.length; // the card sign qnt

/ * If you see that the number of characters is 6, the check is performed (at least 6 digits).
know the flag.
* /
if (qntCharacters> = 6) {
PagSeguroDirectPayment.getBrand ({
cardBin:
Success: Function (Response) {
var flagImg = response.brand.name; // after the flanname
\$ (& # 39; CHANNEL flag & # 39;). Html (""); // an image is created with the flan name
getParcelas (flagImg);
},

// If the error is resolved, the div of the map flag (if there is something) and an error message will be sent to the user.
Error: Function (response) {
\$ (& # 39; C flag & # 39;).
\$ (& # 39; msgError & # 39;). html ("Invalid card!")
},
});
}
});

// displays the quantity and values ​​of the packages

Function getParcelas (Flag)
{
PagSeguroDirectPayment.getInstallments ({{{{{
amount: worth, // brings the value of pruduto
maxInstallmentNoInterest: 2, // the number of installments that are not interest-bearing
brand: flag, // the flag that comes from the parameter
Success: Function (Response) {
/ * The first foreach reads the json sent in the response parameter, which consists of several arrays.
The second foreach (each \$.) Below removes all values ​​within the tag
This avoids duplication in charts when displaying charts
everything inside is taken away.
* /
\$ .each (response.installments, function (i, obj) {
\$ .each (obj, function (i2, obj2) {
var numberValue = obj2.installmentAmount;
var num = "R \$" + numberValue.toFixed (2) .replace (".", ",");
var numParcelas = numberValue.toFixed (2);
\$ (& # 39; # qtdParcelas & # 39;) show (). append (""+ obj2.quantity +" diagrams of "+ num +"");
});
});

}, // successful ending
});
}

\$ ("# qtdParcelas"). on (& # 39; change & # 39 ;, function () {
var valueSelected = document.getElementById (& # 39; qtdParcelas & # 39;);
\$ (& # 39; # valueParcels & # 39;). val (valueSelected.options[valueSelected.selectedIndex].title);
});

// get the card token
Function getTokenCard () {
PagSeguroDirectPayment.createCardToken ({
cardNumber: & # 39; 4111111111111111 & # 39 ;, // Credit Card Number
Brand: "visa", // card banner
cvv: & # 39; 123 & # 39; // CVV the card
expirationMonth: & # 39; 12 & # 39; // expiration month of the card
Expiration year: Ablauf2030 #, // year of expiry of the card, the 4 digits are required.
Success: Function (Response) {
\$ (& # 39; tokenCard & # 39;). val (response.card.token);
},

});
}

// Generate the hash of the map
\$ (& # 39; # btnBuy & # 39;). On (& # 39; click & # 39 ;, function (event) {
event.preventDefault ();
\$ ("# hashCard"). val (response.senderHash);
});
})

startSession ();

document

Choose

``````
``````Code;

``````

## Algorithms – If the algorithm solves the NP problem, for which f (n) can we say that R belongs to TIME (f (n))?

That's my problem:

Assuming that for the problem R belongs to NP, the algorithm of the solution check M (x, y) runs in the time O (n ^ 3) and uses the additional information y, which is long ≤ 5 log n bits. For which f (n) can we say that R belongs to TIME (f (n))?

I have no idea how to know what f (n) must be, that R belongs to TIME (f (n)). All suggestions are welcome!

## New Ubuntu 16.04 Suspend problem

For months I use 16.04 with a Dell U2415 monitor and an AMD desktop. I was able to stop and then resume. In the last few days the monitor is dark if I continue and I have to turn it off and restart it. Could this be caused by current operating system updates? (I have them all installed.)