python – subprocess.PIPE not working correctly for me

I am testing the python socket and now I am trying to execute commands on the client PC, the problem is that when I execute commands like "dir", it doesn't give me not output correctly and i don't know how to make it look exactly like the console when i run it on my pc.

Here is the code:

out = +

and it gives me a strange result where " n" or " x" doesn't work and I don't know how to make it look beautiful

>>>b' El volumen de la unidad C no tiene etiqueta.rn El nxa3mero de serie del volumen es: DE4B-C86Arnrn Directorio de C:\Users\Administrador\AppData\Local\Programs\Python\Python36rnrn01/05/2020  23:19              .rn01/05/2020  23:19              ..rn23/04/2020  20:28              DLLsrn23/04/2020  20:28              Docrn03/05/2020  22:44              includern02/05/2020  13:51              Librn23/04/2020  20:28              libsrn28/03/2018  17:07            30.340 LICENSE.txtrn28/03/2018  17:07           392.371 NEWS.txtrn28/03/2018  17:04           100.504 python.exern28/03/2018  17:01            58.520 python3.dllrn28/03/2018  17:00         3.610.776 python36.dllrn28/03/2018  17:04            98.968 pythonw.exern03/05/2020  22:44              Scriptsrn23/04/2020  20:28              tclrn23/04/2020  20:28              Toolsrn09/06/2016  22:53            87.888 vcruntime140.dllrn               7 archivos      4.379.367 bytesrn              10 dirs  239.329.681.408 bytes libresrn' 

claims – How to correctly configure LDAPCP?

I just configured the LDACP * .wsp package to find and resolve users from external LDAP in SharePoint 2016.
Then I started to check how it works, but when I started the search, I got the results below:
(Entries with prefix (EmailAddress) and without)

enter description of image here

My complaints are configured as follows:

enter description of image here

What I would like to achieve is to have only entries without a prefix (EmailAddress) but with the possibility of searching by email and account name.
Which is also imported once the user is resolved, I would like to add it to the group with an account like: i: 0g.t | users | S-1-5-21-3286968501-24975625-1618430583
So SID instead of windowsaccountname.

Thanks help!

ai – The enemy cannon will not aim correctly when the collision line is reversed | Game maker studio

When the enemy moves to the right, their weapon is aimed to the right. When they move to the left, the gun will face left as it should. When the player collides with the enemy collision line on the right side, the enemy pistol points correctly at the player.

When the player is on the left side of the enemy and hits the collision line, the enemy pistol is kind of pointing at the player but not in the right direction.

 Step Event of Enemy gun object:

//image_xscale = 1 is looking to the right, -1 is left
// I use image_angle so the enemy gun will aim at the player on x and y axis

if obj_testEnemy.image_xscale == 1 { //When the enemy is looking to the right
    if (collision_line(x, y, x + 128, obj_testPlayer.y , obj_testPlayer, false, true)) {
        image_angle = point_direction(x,y,obj_testPlayer.x,obj_testPlayer.y); //how it aims at the player
    } else {
        image_angle = obj_testEnemy.image_xscale; // faces the correct direction when not colliding

} else {
    if (collision_line(x, y, x - 128, obj_testPlayer.y , obj_testPlayer, false, true)) {
        image_angle = point_direction(x,y,obj_testPlayer.x,obj_testPlayer.y);
        image_xscale = -1; //gun should be facing left but it's not

I do not understand why the pistol will not be turned to the left when the collision line is turned to the left

notebooks – get correctly formatted code from an automatically generated package

I wrote some math packages, still using the method of writing my code in a math notebook and letting math automatically generate the .m package file. Currently, I do not have the math notebook frontend available (I use Wolfram Engine only) and I want to use and edit the .m packages that I generated some time ago. Unfortunately, the math generated .m files are a huge mess because all of the formatting tabs appear to have been removed when the package was automatically generated from the math notebook. So, although the notebook looks good to me, the math package is close to "unreadable".

Here is an example:
Screen capture of code in math notebook:
getMeanColorsHelper in the math notebook

Same code in the automatically generated package:

getMeanColorsHelper(image_?ImageQ,n_?IntegerQ,method_:"KMeans",distanceFunction_:EuclideanDistance):= Module({colorCluster ,i,meanColors,order,rules,nChannels,imageGray,meanColorsGray},
meanColors = Table(0,{i,n});
nChannels = ImageChannels(image);
If(nChannels>1,meanColorsGray = Table(0,{i,n}));
If(nChannels>1,imageGray = ColorConvert(image,"Grayscale"));
colorCluster = ClusteringComponents(image,n,Method->method,DistanceFunction->distanceFunction,RandomSeeding->RandomInteger({1,10000}));
meanColors((i)) = Flatten(Pick(ImageData(image),colorCluster,i),1)//Mean;
order = If(nChannels>1,Ordering(meanColorsGray),Ordering(meanColors));
rules = MapIndexed(#1->First@#2&,order);
meanColors = meanColors((#))&/@order;

So I have two questions:
1) Does anyone know of a way to automatically format my .m package files to make them readable without manually reinserting all the tabs? (maybe linter code, …)
(note: I don't want to format the math notebook file but the .m file, which can be read by a standard text editor)
2) Is there a way to create automatic math generation packages with proper indentation, so that I can avoid these problems in the future (should I have access to the interface again? mathematical)?

Google Street View streets don't display correctly in Ubuntu 18.04

I noticed that every time I try to visualize certain places via Google Street View using Ubuntu, the streets are not displayed correctly: in particular, almost everything is blurry, it’s that is, it is not rendered correctly. This happens on all browsers. No problem on Windows 10 instead. Did anyone have the same problem?

How to correctly track conversions of Google ads


To clarify, you say that you are currently tracking users who have completed the contact form on the website as a goal in Analytics, which you have imported into Google Ads.

BUT don't all of them turn into paying customers and you want a way to follow those who turn into paying customers?

If this is correct, you will need to review the offline conversion tracking. Offline conversion tracking associates the unique GCLID with the user and allows you to download them again in Google Ads.

The process would look like this:

Users fill in the form> their identifier (GCLID) is transmitted with the form in a hidden field> these details are automatically added to your CRM / Google sheets> when they are marked as customer by your customer, they are sent to a Google sheet> this Google sheet is used as a source for offline conversions by Google ads.

I hope I understand your request, if not, please clarify and I will do my best to help you!)
Thank you very much, Elliot.

Fonts do not display correctly in the cloud

There are a number of issues I run into when I try to use my own stylesheet and publish to the cloud. The document looks great on Mathematica running on my desktop. But when I publish to the cloud, a lot of things break, especially when it comes to fonts. It makes cloud publishing unusable for me right now.

Here is the first problem. This code snippet creates a simple notepad containing a "MyText" style cell, which it then publishes to the cloud.

myStyle = Notebook({
     FontFamily -> "EB Garamond",
     FontSize -> 24
myStyle = Export("mystyle.nb", myStyle);
myNB = CreateDocument(
   Cell(TextData({"Hello! This is a MyText cell. It would be nice if 
it looks the same,  including the inline formula ", 
        FormBox(RowBox({SuperscriptBox("x", "2"), "=", 
           RowBox({RowBox({"a", " ", "b"}), " ", "+", " ", "c"})}), 
         TraditionalForm)), FormatType -> "TraditionalForm"), 
      ", in the desktop app as in the cloud."}), "MyText"));
SetOptions(myNB, StyleDefinitions -> Get(myStyle));
CloudDeploy(myNB) // SystemOpen

Here's what it looks like on my desktop:

enter description of image here

Here's what it looks like in the cloud, in Google Chrome. Note that the calculation is rendered differently.

enter description of image here

If we open the development tools in Chrome, we can try to find out what's going on with the math glyphs:

enter description of image here

It is not displayed correctly. I suspect that on the desktop app, the character "a" is taken from behind the scenes from another stock of mathematical glyphs (I wish we could know exactly what was going on?), Otherwise it is pulled "mathematical glyphs" "segment of Garamond code (not the segment in italics … otherwise it would have the same appearance, just tilted, which is not the case). But in the browser, it & # 39; s 39 is simply to make a Garamond glyph "a" standard.

Method for correctly predicting match results | NewProxyLists

You can do it. Our world and you can meet. What is our software?

Types of weight loss and tin
One of the different things, the other is different. Certainly one of our views, one of our characteristics of orthodox data

2 rooms
Before you start Predict match results then you need to collect information to analyze the match. One time, time and time. You can use your functionality, part of the other.
You are just two people, among talented people, who care about you. Your material is your talent. Trong in the football kit and jewelry By football prediction or also known as firmMany things are psychologically more personal, so you shouldn't firm on you are not in the player likes or any team psychology.

See our software
When handing over, we like Depending on our device, you can see the same. Necessary to see them as our game. Also called is to analyze odds ratio . You can use your feature

Love yourself, among talented people, without sex You are not the person you love. Our role could be a different thing.
Basketball, football, hairdressing and leather. Love, love, sex, affection, affection, affection, health in this area. Our combination is their service. Only a little and bad when you only have a little.

The smell of our equipment can eat chicken meat . You can use a number of different things. regular this information calls is odds ratio , so that you can easily find the information with the keywords this. Announcements and see Information 10

One of the different things, the other is different. For example, in the UK game. MU again matches Hay M Instructions in the phone

The rest of you, your part, your part. Your love

c ++ – How to write correctly in a CV :: Mat from a higher staff in a function?

I wrote this function to read the matrices from the ROS parameter server.

void read_matrix_from_param(ros::NodeHandle nodehandle, std::string param, cv::Mat &cv_matrix) {
      // 1D vector for temporarily holding matrix elements
      std::vector _data;

      // matrix dimensions
      int _rows, _cols;

      // read from param server
      nodehandle.getParam(param + std::string("/data"), _data);
      nodehandle.getParam(param + std::string("/rows"), _rows);
      nodehandle.getParam(param + std::string("/cols"), _cols);

      // create cv::Mat and copy into cv_matrix
      cv::Mat(_rows, _cols, CV_64F,;

called like this:

cv::Mat test_matrix1, test_matrix2;
read_matrix_from_param(private_nh, std::string("camera_matrix"), test_matrix1);
read_matrix_from_param(private_nh, std::string("distortion_coefficients"), test_matrix2);

It works as expected but my editor gives me a style guide warning for signing the function.

runtime/references: Is this a non-const reference? If so, make const or use a pointer: cv::Mat &cv_matrix

So how should it be done? I tried to do as the style guide suggests, but I couldn't get the work code.

plotting – How to use "Style" correctly with "ListPointPlot3D"?

Using MMA 12.0 on a Windows 10 machine.

I am trying to draw a list of points in a 3D plot. Each point has a different weight which I want to show using different point sizes. The points are also in different groups and I want to show this using different colors. Let's say maybe three or four different colors. The total number of points in a plot would be between fifteen and twenty, but I could end up producing more than a thousand of these plots.

The best I have figured out is to use "ListPointPlot3D" with "Style". But it seems like I can only specify one specification using Style. I can make the color or the size of the stitch. I can't do both.

For example,

ListPointPlot3D({Style({0, 0, 1}, Green), Style({1, 0, 0}, Red)})

works perfectly fine, as expected, and I get a green dot and a red dot.

enter description of image here

I can specify the point size on one or the other and it works.

ListPointPlot3D({Style({0, 0, 1}, PointSize(0.1)), 
  Style({1, 0, 0}, Red)})

enter description of image here

ListPointPlot3D({Style({0, 0, 1}, Green), 
  Style({1, 0, 0}, PointSize(0.1))})

enter description of image here

But when I try to specify both the color and the size of the point for a point, both specifications are ignored.

ListPointPlot3D({Style({0, 0, 1}, Green, PointSize(0.5)), 
  Style({1, 0, 0}, Red)})

give me neither a green dot nor a big point.

enter description of image here

Style documentation indicates that

The style (expr, spec1, spec2, …) allows the speci to be any list or sequence of the following:

But both, a sequence of specifications

Style({0, 0, 1}, Green, PointSize(0.5))

and a list of specifications

Style({0, 0, 1}, {Green, PointSize(0.5)})


How can I make it work? I hope this is not a bug or anything. Do I have to do something completely different?

One method I can think of is

g1 = ListPointPlot3D({Style({0, 0, 1}, PointSize(0.05)), 
   Style({1, 0, 0}, PointSize(0.03))}, PlotStyle -> Green);
g2 = ListPointPlot3D({Style({0, 1, 1}, PointSize(0.02)), 
   Style({0, 2, 0}, PointSize(0.04))}, PlotStyle -> Red);
Show(g1, g2, PlotRange -> {{-1, 2}, {-1, 2}, {-1, 2}})

enter description of image here

It gives me what I want but seems ineffective and is probably slower. Is that it? The code is longer, a little uglier, and I have to manually determine and specify the PlotRange because Show isn't smart enough to determine the optimal plot range. I would need to have 3-4 plots and then merge them into one plot each time. Can this be done with a single ListPointPlot3D?

I have no great affinity for Style or even ListPointPlot3D. If there is a vastly superior method (faster / more efficient / easier to read / terse), I wouldn't mind learning it.