All Questions

1
answer

Is it possible to tell the size of the VARCHAR in a NamedParameter?

I'm working on a tuning of a SQL Server database. Through the query below, I can see how the bank ran some of my heaviest queries. SELECT TOP 30 deqt.TEXT AS Query, last_execution_time FROM sys.dm_exec_query_stats deqs C...
asked on 01.11.2017 / 13:14
1
answer

Persistent resource return with Hibernate

Good afternoon. I would like to understand how to solve the following question: In the project I'm working on, Backend and Frontend are separated. To persist the data I am using Hibernate and to control the connection with the DB I have a fil...
asked on 25.06.2018 / 18:55
1
answer

Join data for Mail Merge | Parent and child table

I have a spreadsheet with student data. For each subject of the same student there is a specific line. I would like to do a mail merge with just one email per student, but I would import the data from all the articles. Table: First column has...
asked on 28.04.2015 / 19:47
2
answers

Save cropped image after upload

I'm trying to save a cropped image after the user uploads the image. The upload works fine and I can save the cropped image too, but something strange is happening. The image is only trimmed and saved if I put the image path directly into the im...
asked on 09.02.2014 / 12:33
1
answer

Angularjs - creating input templates by passing variables

I'm trying to create a template for my inputs: partials / input_text.html <div> <input type="text" name="{{name}}" placeholder="{{placeholder}}" ng-model="model"> <small ng-show="{{form}}.{{name}}.$dirty &&...
asked on 14.02.2014 / 15:30
2
answers

Pointer to struct

I was studying pointers to struct , and I saw that there are two ways to use it. can be: (*ponteiro).variavel Or: ponteiro->variavel According to what I read, when we put *ponteiro.variavel , because of the order of prec...
asked on 19.10.2018 / 18:41
0
answers

AngularJS x Angular 2 x Angular 4 [closed]

I have observed a small controversy with these terms in the title of the question. Many people have referred to Angular 2 onwards as "AngularJS" which in my point of view is wrong, the correct one would only be "Angular" from version 2 onwards....
asked on 20.07.2017 / 22:21
0
answers

In CSS what is the difference between Pixel Density and Pixel Ratio? How drives like DPI, DPCM, and DPPX work

With the "popularization" of the Retina screens , mainly on Apple devices, I have seen some people using media queries with measures like: @media (-webkit-min-device-pixel-ratio: 2) { ... } @media (min-resolution: 2dppx) { ... } But I stil...
asked on 08.11.2018 / 13:06
0
answers

Consuming web service of the PJe

I need to consume the progress of a process using the web service provided by the PC. I am following the guidelines described in: link According to the tutorial, WSDL has the following format: • Web Service: http://ENDEREÇO DA APLICAÇÃ...
asked on 25.04.2018 / 21:29
1
answer

Improved javascript in Dat.GUI

Hello. I created a simple block, using CSS variables . And to "set" these variables to test criteria, I'm using Dat.GUI . The current code is on this Pen . My question is how to improve this code, but specifically on lines 33-50 (the...
asked on 13.06.2017 / 18:26