matrix – syntax error when defining a list of matrices: "… cannot be followed by .."

I'm just trying to define a list of matrices, but seems to encounter the following error when adding the last matrix. (to be clear, I don't get any errors when I remove the last entry from the matrix). What's going on?

enter description of image here

PS: I didn't include any code because it would be long and maybe not useful. Let me know and I will update the question if necessary.

syntax – Loop on arrays of variable size

I would like to build an encoder / decoder to export my data from Mathematica to Julia. From Mathematica, I get arrays of variable dimensions, these arrays contain variables which have no fixed value to date and therefore cannot be exported in hdf5 format (as far as I know).

To solve this problem, I want to write a simple encoder that simply exports an array of a certain combination of numbers in Mathematica and the decoder in Julia reinterprets these numbers as variables (the Julia side is not a problem because I know him).

My problem is technical because Mathematica offers me arrays of different dimensions. For example, the most popular are the sizes {2,3,5,2} and {2,2,2,4,4,2,2,2}. Now, I have to search in each entry of these tables for the variables and write there for each variable a specific combination of numbers in a sperate table (which I can export via the hdf5 format) of the same size. The problem I have is that I don't know the correct command in Mathematica to create a loop that will launch each entry in an array whose size is variable.


postgresql – Syntax error in the request

I am using postgresql and I am getting a syntax error in one of my calculation related queries.
I also checked on the online website that I validated it, but it still shows the same thing. can anyone help me to solve this problem?

(to_char(round(s_ib_handling_time)/nullif(s_handled),0), 2),'FM99,999,999'))::character varying as aht

bash: syntax error near unexpected token `(& # 39;

x = "{& # 39; msg & # 39 ;: ({& # 39; from_to & # 39 ;: {& # 39; obj_node & # 39 ;: & # 39; & # 39 ;, & # 39; obj_topic & # 39 ;: & # 39; & # 39;}, & # 39; result & # 39 ;: ({& # 39; text & # 39 ;: & # 39; number: 40 /// path: / home / vsa01 / Desktop / tensorflow1 / models / research / object_detection / images & # 39;})}), & # 39; node & # 39;: & # 39; talker & # 39;, & # 39; topic & # 39;: & # 39; chat & # 39;} "
print (x (77:87) + " n" + x (91: 169))

windows – 7-Zip. Command t (Test the integrity of the archives). Syntax. Two variants. Difference

I use 7-Zip. I work in Windows 10 Home 64 bit. I use the command line. From the help of 7-Zip, I know that there is a t command (Archive Integrity Test).

Am I to understand the following?

In that case

7z t

-I check the integrity of the zip file? I am checking only one file – a zip file.

In that case

7z t *

-I check the integrity of each file inside the zip file? But i am not checking the integrity of the zip file itself?

syntax – MakeExpression: input form error even with perfectly written expressions

enter description of image here

I am frustrated by this MakeExpression error which appears sometimes and sometimes not for perfectly written expressions. How can I resolve this error? What is wrong with my code?

q := 1.6*10^-19; (* Electron charge in Coulomb *)
me := 9.1*10^-31; (* Free electron rest mass in kg *)
h := 6.63*10^-34;  (* Reduced Planck's constant in J.s *)
kb := 1.38*10^-23; (* Boltzmann constant in J/K *)
FD(d_, (Eta)_) := -PolyLog(
    d + 1, -E^(Eta));(* Defining the Fermi-Dirac integrals *)
Nc(d_, t_, (Alpha)_, gs_, gv_, T_) := 
 2*gs*gv*((kb*T)/(Alpha))^(d/t)* 1/(2*(Pi)^0.5)^d*1/t*Gamma(d/t)/
  Gamma(d/2);  (* Effective band-edge DOS in d dimensions *)
n(d_, t_, (Alpha)_, gs_, gv_, T_, (Eta)F_) := 
 Nc(d, t, (Alpha), gs, gv, T)*
  FD((d - t)/
   t, (Eta)F)*(100)^-d; (* Effective SI carrier density in d 
dimensions in cm units*)


Is there a way to only allow the use of SQL Server 2014 syntax / functions in SQL Server 2019?

We are currently developing against SQL Server 2019, but we need to deploy the same set of SQL scripts on a SQL Server 2014 database.

For example, in SQL Server 2019, a built-in function called TRIM exists but that is not supported in SQL Server 2014. To make sure that we only use syntaxes supported by both databases, I wonder if there is a solution to only allow 2014 syntaxes in 2019.

I thought changing the compatibility mode of the database would have this effect, but it did have the expected effect.

MS Access 2016. Export SQL syntax to Excel

I want to export all my requests by name, SQL syntax to Excel.
Like that:

Name    Syntax
qD1     SELECT * From tD1;
qP1     SELECT * From tP1;

Perhaps you can create an SQL query in Acesss and then execute the export via right click.
How to write this request?

Thank you.

Parse error: syntax error, & # 39; $ n2 & # 39; (T_VARIABLE) unexpected, waiting for & # 39;, & # 39; or & # 39 ;; & # 39; in C: xampp htdocs calcula.php on line 13

Hey guys i have a little problem on my line 13 i have tried some things and nothing can you help me?

$ i2) {
echo $ n1. & # 39; is older than. & # 39 ;. $ n2;
} otherwise if ($ i1 = 18) {
echo $ n1. & # 39; at age & # 39 ;;
} else {
echo $ n1. & # 39; is a minor & # 39 ;;
echo & # 39;

if ($ i2> = 18) {
echo $ n2. & # 39; at age & # 39 ;;
} else {
echo $ n2. & # 39; is a minor & # 39 ;;


syntax – Does the AST compiler include functions and classes?

I wonder if the functions and classes are represented in AST?


What is the possible representation of the data structure for the code?

It depends on the language you are analyzing, so look at its grammar.

Some languages ​​have only one well-defined top-level construct, like "program" – you can find this in a version of Pascal, for example. For these, you only need one program type node to represent the entire source unit.

Otherwise, you will need a collection-oriented build at the top level – it will look like what you would do for compound instructions (e.g. { ... } as a group of statements combined into one statement). Perhaps, a single node that contains a list of declarations (for example, types, data, or functions).

In other languages, the sequential constructs are wrapped in a sequence node that has only two children (for example a left and a right), so to collect several instructions or functions or constructions, the ; AST is more like a linked list of other items.

But look at your grammar to identify what is top-level construction. It can allow a series of declarations, for example, so you want an AST node that represents this.