All Questions

1
answer

How to check the sender using the RSA algorithm

I had a question about my research that I could not solve. Let's look at an end-to-end form that uses RSA, Alice needs one hour to send her public key to Bob and vice versa to communicate, but if someone runs an MITM, security will be null, s...
asked on 15.03.2015 / 23:04
1
answer

Select database record for variable

The code below aims to select a database record and save it in a variable for later use of the data: #!/bin/bash dbName='basedados' dbUser='utilizador' dbPass='password' row=$(echo "select file_id, file from catalogue__pdf_file WHERE is_conv...
asked on 31.03.2015 / 21:37
1
answer

How to train two objects of different sizes for recognition in OpenCv

Hello, I'm using OpenCv version 2.4.11 to train the recognition of vehicle license plates for parking software. The problem is when training to identify the car plate, truck, truck where the boards used by them are of the same dimensions the cas...
asked on 06.05.2015 / 17:26
2
answers

Detect whether the event was triggered by the user or via script

I need to detect if the event ( click ) was triggered by the user or by the trigger method of jQuery. By analyzing the event parameter I found two properties that I could use for this check: when the event is triggered via...
asked on 16.04.2015 / 14:32
1
answer

FX (sound effect) in UX issue, is it a good practice for systems that run on browsers?

I'm making some submissions for a release, and I had the idea of putting some sound effects like 'crack' to modal close, or 'pin' when alerting something. Well, I personally did not like it, but it seemed intuitive to me, and I...
asked on 14.11.2017 / 17:31
2
answers

Why does steam api refuse calls angular?

I'm simply trying to feed my application with Steam api data. Let's take this example: http://api.steampowered.com/ISteamUserStats/GetGlobalAchievementPercentagesForApp/v0002/?gameid=440&format=xml Paste into the browser and will w...
asked on 31.05.2015 / 23:52
1
answer

WCF SOAP request in PHP

I'm trying to consume a webservice from a shipping company. However, PHP is not mounting the request correctly. PHP request: <?php $client = new SoapClient('http://data.../bidservice.svc?wsdl', [ 'soap_version' => SOAP_1_1,...
asked on 31.08.2017 / 14:09
2
answers

In Java would I have as a variable to receive a function as in JavaScript?

Example: var x = function (a, b) { return a * b }; Would you like it? Or is it a JavaScript feature?     
asked on 21.08.2018 / 17:46
1
answer

How to prevent the List.size () method from executing lazyload with Hibernate and JPA

When I make a query in the database and an object is returned, that object has a collection, which by default is Lazyload, if I do object.getColecao().size() it runs the lazyload to bring the records, whether the session or the entitymanag...
asked on 04.02.2014 / 23:13
1
answer

Send SMS via Php

I was using a gateway to send sms ( nowsms ) but the evaluation period ended and I went to buy the license, $ 995 to send 12 sms per minute, I did not find it viable. Searching I found a Php-Serial class ( link ) but I can not send anything to...
asked on 11.06.2015 / 19:52