All Questions

1
answer

Is it possible to throw an error that triggers others?

Here's an example: public class Teste { public static void main(String[] args) { func1(); } public static void func1() { try { func2(); } catch (Exception e) {...
asked on 21.10.2016 / 21:46
1
answer

How to return the image converted to base64 in Postman [closed]

I have Web Service REST Server , I need to traffic a web service image to the client, when the client requests a certain image, the web service converts to base64 and sends it to the client. I'd like to know what I'm doing to tes...
asked on 14.10.2016 / 18:38
1
answer

Sql group records

I have the following query: select T1.dt_producao, T1.cod_turno, T1.cod_periodo, CASE WHEN T2.TP_PALLET = 'DZ' THEN sum(T1.QT_PROD* T2.QT_EMBALAGEM*12) ELSE sum(T1.QT_PROD* T2.QT_EMBALAGEM) END AS "APON.TOTAL", (...
asked on 05.10.2016 / 16:20
2
answers

Check if difference between dates is longer than X minutes in PHP

First of all, I've done a lot of research here on the site and found no more in-depth example, just basic questions / answers about how to get the difference between dates, what I got to do and it works the way I want. > However, the code I cu...
asked on 05.10.2016 / 01:51
1
answer

Doubt on theoretical part of web services

Hello everyone. I'm studying the web services part and I'm a bit confused with the theoretical part. I was reading the article on this site link And I was confused by the definition of "intermediate web service". I'm developing a simple...
asked on 02.10.2016 / 10:35
2
answers

Dynamic / stochastic object allocation in QML

I'm currently trying to do the following in QML at the same time: Dynamic loading of objects previously created a separate file; When doing what is previously described, select objects stochastically For this I am, very basically,...
asked on 26.10.2016 / 12:01
3
answers

Installing ruby with rbenv

I have a question, I installed ruby in ubuntu, but it was installed without rbenv , have a problem install it now, or will it need to remove it first?     
asked on 07.10.2016 / 16:19
1
answer

How to pass an array in a WHERE condition

$this->db->set('al_reg', $matricula); $this->db->set('dataagendamento', $dataagendamento); $this->db->where('cod_lab', $laboratorio); $this->db->where('cod_horario', $horario_prova); $this->db->where('cod_data', $dat...
asked on 18.10.2016 / 15:31
1
answer

What is the correct way to declare a struct in C?

Also how to rename struct data types? I have doubt about this because of a Windows Manager that I use has the following code: typedef struct exem exem; struct exem { tiposdedado variavel; };     
asked on 29.10.2016 / 13:52
2
answers

Child element margins leaking to the parent element

I did not find in the community anything that clarified my doubt, so let's go! In the example below, I do not know why water loads, the margin property of the elements p and h1 exceed the limit of the parent element....
asked on 06.10.2016 / 16:04