All Questions

1
answer

Where and how do I save the API's authentication token?

Hello, I'm having an angled application, which will consume a API . For this to happen, I must send POST to another API , which serves only to generate a token that I will pass on all other requests. My question is this...
asked on 03.05.2018 / 15:49
1
answer

make payment on paypal without forcing the customer to register without account

I'm using the following API to make payment via paypal. link What appears to me when I make the payment is the following: Thatis,Idonotwanttoobligetheusertocreateaccountinpaypal.IntheconfigurationfileIhavethefollowing:<?php$paypal[bus...
asked on 30.07.2014 / 13:25
1
answer

How to check if an email was sent successfully?

I am trying to verify that an email sent from my application is sent successfully, wondering if the recipient receives it or not (full mailbox, invalid email, there). For what I researched, there is deliverynotificationoptions that the ga...
asked on 28.07.2014 / 10:59
1
answer

Recognizing images within a larger image

I would like to do a part of my application, in which the user would upload a full image of drawings inside, it would then select an area of the image and I would search across the image uppada, initial points on which that selected image repeats...
asked on 11.07.2014 / 18:46
1
answer

SQL login method

I have the following scheme: JdbcRowSet myrs = new JdbcRowSetImpl(); myrs.setUrl("jdbc:postgresql://localhost:9999/teste"); myrs.setUsername("postgres"); myrs.setPassword(""); myrs.setCommand("select count (*) from pessoas where cpf = '12345'...
asked on 13.08.2014 / 04:56
1
answer

How to detect the mouse, in Lua?

I recently solved a problem related to the control of screen coordinates in a terminal (thanks to the response found here in SOpt). Now I need to detect the movements and clicks of a pointing device (mouse). Is it time to think and a graphical...
asked on 19.07.2014 / 04:51
3
answers

How do I work with tests and fixtures on a database that contains foreign key constraints in Rails?

I am using RubyOnRails 4.1 and PostgreSQL database and I use gem foreigner to create foreign key constraints in the bank. It turns out that this makes some tasks difficult with fixtures . When I try to run a test: spring rake test I...
asked on 21.08.2014 / 13:43
1
answer

Hibernate + Inheritance

I'm trying for some time a solution to my problem. I have researched a lot but nothing explains me clearly what I need. So I created an example application and I'm making it available from this link: Appliance To run this application, si...
asked on 05.08.2014 / 22:25
2
answers

When is it recommended to use decreasing indexes?

By default , relational databases create indexes using increasingly ordered binary tree structures. However there is the possibility of creating it in a decreasing way as well. My question is whether (and when) it is recommended to use it. F...
asked on 05.08.2014 / 13:21
1
answer

C struct pointer

What happens is the following, inside the ins_ult() function I can change the value of root->data , but outside the function the value remains NULL . Am I passing the parameter wrongly or using malloc incorrectly?...
asked on 21.08.2014 / 02:28