All Questions

1
answer

Update XLS worksheet without overwriting data using R

I need to add new information to the xls worksheet, but it already has information that was previously entered. I need this data to be on the same sheet. Is it possible to update a spreadsheet without overwriting data that already exists?...
asked on 23.09.2015 / 03:55
1
answer

REST Fundamental Principles

In this Infoq article , the author highlights the five fundamental tenets of REST: Give all things an Identifier Link things (resources / identifier) Use standardized methods Features with multiple representations Communicate wit...
asked on 23.09.2015 / 03:17
1
answer

How to execute a back bean method from a JavaScript function?

I'm developing a web page with canvas in HTML 5, it will be displayed in dashboards in real time, so I use ManagedBean to return their values, I have a component developed in JavaScript with its variable declared as global, and every 3 se...
asked on 20.10.2014 / 20:26
1
answer

double hand encryption with fixed LENGTH

Does anyone know of any way to encrypt some data, two-handle , so that I can decrypt? The problem is that there is no way to decrypt (unidirectional / one-handle). base64 is bad for me because it usually increases the size of what I have...
asked on 28.09.2015 / 00:24
1
answer

Star Rating - javascript

I'm creating a star rating system for my app. After a bit of work I got a code on the net and modified it for my purposes. In it, there is a class 'full' that will fill the stars according to the user hover over them, and when he withdraws the m...
asked on 26.09.2015 / 01:22
1
answer

JPA subselect in MANYTOMANY

I'm developing a system with java + jpa + mysql but now I have a question that I still can not find the answer ... Given the tables and entities below, I would like to set up a jpql to perform the following query in native SQL: SELECT * FROM p...
asked on 24.09.2015 / 20:20
1
answer

Select folder / directory in an input

I'm trying to create something that looks like input type="file" , except that instead of loading a file, I'd have to choose a folder. Something like the "Save As" window, where we chose the folder to save the file. In this example,...
asked on 11.11.2014 / 11:41
1
answer

How to print the entire string if the length exceeds the page

I have to print a string that can vary in size. What I need is if this string does not fit on the page the remaining text is printed on another. I know for this I need to do something using e.HasMorePages but I do not know how. I've b...
asked on 12.11.2014 / 19:43
2
answers

Nested Vector Logic - C ++

I have a problem with the following statement: Given a vector A with n real numbers, get another vector B, also with n real numbers, as follows: B [1] = 2 * A [1] B [2] = 3 * A [1] + 2 * A [2] B [3] = 4 * A [1] + 3 * A [2] + 2 * A [3...
asked on 06.09.2015 / 16:35
2
answers

Loop Infinite Java

How do I get the Infinite Loop out of this class? Every time it is the last information from the database it continues sending email. public class Dia06 { public static final long TEMPO = (14 * 1440); protected static final String Class = n...
asked on 23.10.2014 / 02:17