Material Design – How to display an error on a larger screen

The Material Design Guidelines contain a section called Error.

For your application, it recommends:

If two or more fields have incompatible entries:

  • In the text box, indicate that a fix is ​​needed. Add an error below.
  • At the top of the form or on the screen, display a message summarizing the required corrections and explanations

This is what it looks like on the phone:

Enter the image description here

I imagine the mass message could appear directly under the heading "sign up".

At snack bars, it continues:

The snack bar contains an app feedback on a peripheral error. Snack bars
are temporary. Do not use for critical, permanent, or mass applications
Error.

1ML shows a larger number of nodes compared to other Lightning network researchers

I've found that 1ML has nearly twice as many nodes as other Lightning network researchers.

I think 1ML does not provide a data source, but can you guess the reason for the difference?

Next to 1ML, the number of nodes is almost the same.

My own c-Lightning nodes show about 4000 commands with the listnodes command, and lightning.chaintools.io uses the GetNetworkInfo-rpc call of lnd according to their source code.

Knot: 7,462
Channels: 39,310
Node: 4.011
Channels: 39,514
Node: 3,941
Channels: 38,983
Knot: 3,971
Channels: 39,201
Node: 3,978
Channels: 39,009

sql server 2008 – Can sp_Blitz, sp_BlitzCache, or sp_BlitzFirst determine which queries resulted in a larger growth operation for a given log file?

You can discover automatic growth events using the standard trace (use my script and tailor it to your needs) – time, size, and number of events.

You can use advanced events – my answer to find out which process caused autogrow.

The only way to find out which process has caused autogrowth is to use extended events. EVENT -> sqlserver.database_file_size_change & sqlserver.databases_log_file_size_changed and ACTION -> sqlserver.sql_text.

Note that since 2008 you only have a limited selection of XEvents. It will be an unsupported version after July 9th. Time for the migration.

Can sp_Blitz, sp_BlitzCache or sp_BlitzFirst determine which queries resulted in a larger growth operation for a given log file?

No, because they analyze what's on the server and do not set up XEvents.

Differential equations – PDE solved by line method. Alert: Scaled local spatial error estimate … much larger than the prescribed fault tolerance

I use the line method to solve the PDE

    D[a[t, r]t, t]+ 3/2 1 / t * D[a[t, r]t]-
10 / t * D[a[t, r]r, r]-
10 / t * 2 / rD[a[t, r]r]+ (t / 10) ^ 4 * Sin[a[t, r]]== 0,

with the initial conditions

on[10, r] ==
4 (ArcTan[Exp[(r - R0)]]+ ArcTan[Exp[(-r - R0)]])
derivative[1, 0][a][10, r]    == 0,
derivative[0, 1][a][t, ri]    == 0,

The domain is

{r, ri, 3R0 + ri}, {t, 10,32}

from where R0 = 10, The theoretical value of ri is 0but to avoid the singularity 1 / ri In the PDE I choose ri as a very small number, eg. ri = 10 ^ (- 4),

The solution is like "a wall" from which you move r = R0 to r = ri = 10 ^ (- 4) With t increase, and the wall becomes steeper and wavy.

The method I use to solve the PDE is the line method

Method -> {"MethodOfLines", "TemporalVariable" -> t,
"SpatialDiscretization" -> {"TensorProductGrid", "Coordinates" ->
{Mygrid}}}

I define "mygrid" so that I can have more points in the discretization of the spatial dimension (r). I try to spread more points in the steep part. For example:

Rmiddle6m = 0.1; Rmiddle5m = 0.2; Rmiddle4m = 0.5; Rmiddle3m = 1;
Rmiddle2m = 2; Rmiddle1m = 3; Rmiddle0 = 4; Rmiddle1 = 5; Rmiddle2 = 6;
Rmiddle3 = 8;

mygrid = streamline[ Join[ri + Range[0, 
Rmiddle6m*1500]/ 1500, ri + Rmiddle6m + range[1, (Rmiddle5m - 
Rmiddle6m)*1500]/ 1500, ri + Rmiddle5m + range[1, (Rmiddle4m - 
Rmiddle5m)*1200]/ 1200, ri + Rmiddle4m + range[1, (Rmiddle3m - 
Rmiddle4m)*1000]/ 1000, ri + Rmiddle3m + range[1, (Rmiddle2m - 
Rmiddle3m)*600]/ 600, ri + Rmiddle2m + range[1, (Rmiddle1m - 
Rmiddle2m)*300]/ 300, ri + Rmiddle1m + range[1, (Rmiddle0 - 
Rmiddle1m)*80]/ 80, ri + Rmiddle0 + range[1, (Rmiddle1 - 
Rmiddle0)*50]/ 50, ri + Rmiddle1 + Range[1, (Rmiddle2 - 
Rmiddle1)*30]/ 30, ri + Rmiddle2 + Range[1, (Rmiddle3 - 
Rmiddle2)*20]/ 20, ri + Rmiddle3 + Range[1, (3 R0 - Rmiddle3)*10]/ 10]]

It works as long as the solution is not so steep. But with t increased (the wall becomes steeper), a warning message appears:
The scaled local spatial error estimate of … at t = … in the direction of the independent variable r is much larger than the given error tolerance.

I think the warning message means that I did not solve the PDE exactly. Any ideas to avoid the problem? Or is there another method than methodoflines to solve this PDE? Many thanks!

Asymptotics – meaning of polynomial larger or smaller in the context of the master method

I'm studying the Master method to solve repetitions and have a decent mathematical background, but I'm having trouble understanding that n ^ logb (a) is polynomial less than or greater than f (n).

In my class slides about the master method, the first example uses the repetition T (n) = 4T (n / 2) + 1 and suggests the possibility that case 1 holds. n ^ logb (a) would be n ^ 2 and f (n) would be 1.

The foil indicates that f (n) is NOT polynomially smaller than n ^ 2. However, I do not understand this, because if you take an epsilon less than one and greater than zero, like 1/2, and you subtract that epsilon from n ^ 2, you would have n ^ 1.5 that would be even greater than f (n) which is one, for every n greater than one. So how is this not an example of being polynomially smaller?

Replace RAID 1 with larger drives – professional standards

I work with one of the largest hosting companies in the world. I received a dedicated server with hardware RAID 1 and two SAS 15k hard drives. I asked my hosting company if they could replace SAS with much larger SATA drives because I need space on this machine. I do not need speed. They said that they are not just using SATA SAS and SD hard drives, and that they are not replacing larger drives, as this is not certain.

Is replacing RAID 1 drives with larger drives to create larger volumes something that is considered wrong in professional environments? Is this a common practice not to do this? Is that really that risky?

Why should not you use SATA drives? Is it considered wrong in the professional environment? Are there any reasons not to use SATA at all?

Mirrorless – Is the larger pixel range of the Fujifilm XT-10 a better choice than the XT-100?

First important lesson: These automated comparison pages are awful, They emphasize things that are simply not important and make them sound like a big deal. You say:

XT 10 has a larger pixel area, which is one of the reasons I want to switch from D3200 because it has a small sensor pixel area

I see that the site lists "49% larger pixel area" as an advantage. In this case, one speaks of the size of the individual pixels of the sensor. All these cameras have the same size Sensor *, but must have one with more megapixels smaller Pixels, because only then can 24 megapixels be accommodated in the same room as 16 pixels.

Some people will do a big deal with it, but it really is not that important. Fifteen or twenty years ago, the differences may have had an impact, but they do not do that today. For pretty similar reasons, the differences between 16 and 24 megapixels are largely irrelevant. If you are not very, very careful and take photos under very controlled conditions and really care about the results of the test charts surpassing some values, then that is it But not something that should be in your decision-making criteria,

I would even go so far as to say that none The things identified by the site are interesting (even better video specifications on paper are not necessarily reflected in real performance). Some things like the weight of the camera can be important, but the differences are not big.

I think the main thing is that the X-T100 is a current model, the X-T10 is not. They say the prices are comparable, but … are you sure you are buying new products with full warranty?


* Since the sensors are all the same size, the field of view is the same with the same focal length of the lens. In other words, if a D3200's 35mm lens gives you the look you want, you'll need a 35mm X-T10 or X-T100 lens, whichever you choose.

The good news – or bad news, if you do not want to make any decisions! – is that Fujifilm produces two very nice 35mm lenses, a compact aperture of 2 and a larger and more expensive aperture of 1.4.