All Questions

1
answer

Error "The resultSet is closed" with PreparedStatement

I'm getting this when I'm traversing a ResultSet and get other ResultSet s: public class BpaDetDao extends DaoAbstract<BpaDetBean> { public static final String // TODO Colocar campos no select SQL_SELECT =...
asked on 29.06.2015 / 22:20
1
answer

Delete information from a vector that is in another C ++ class

Hello, I have a question regarding classes in C ++, I hope someone can help me. Thanks in advance! I'm developing a college assignment where I need to enroll students, subjects, and grades, and in the end display some reports, all using the c...
asked on 29.06.2015 / 04:04
1
answer

"illegal start of expression" error

In my main I'm calling the stats method: user.stats(ctr); The method stats itself: public void stats (int num) { int i; float total=0, perc; for (i=0;i<num;i++) { total = total + sensors[i]....
asked on 11.07.2015 / 14:43
3
answers

Working with array with X layers in JS

I have a big problem, I already researched in several places and I did not find the solution I hope you can help me ... My goal is to create a function in JS that will get an array as a base, which I will call here as " A " its structure is this...
asked on 01.07.2015 / 21:25
1
answer

Because the compiler warns me Anonymous new Runnable () can be replaced with lambda

Because this code ( Thread ) shows this message ( in the compiler ), and how do you not show it again? Code: public void onCreate(Bundle icicle) { ... mVideoView.setOnPreparedListener(new MediaPlayer.OnPreparedListener() {...
asked on 03.07.2015 / 01:46
1
answer

Project Nashorn, javascript + java?

I found the approach interesting after studying deeper education bytecode InvokeDynamic . But I have doubts about the design and practical use. Will the javac natively understand the javascript block and will it generate the bytecode from...
asked on 27.06.2015 / 23:06
1
answer

CSS Performance (CSSOM and selectors)

Given the CSSOM assembly by the browser and parser (read) that is given right to left . I would like to ask a question because I was writing a css in a project and I always have performance issues with me not using Type Selectors and I try...
asked on 28.07.2015 / 18:10
1
answer

Android notification

I have a very simple test project that in the onCreate event of screen 1 sends a notification, which upon clicking opens screen 2. Proposedly, I quickly click on the notification to open the new screen (testing purposes) by doing some sort...
asked on 03.07.2015 / 16:46
1
answer

Date formatting for Gtrends (gtrendsR package)

How do I resolve this formatting error in the gtrendsR package (actually how do I check the current native formatting and adjust it)? Error in as.POSIXlt.character(x, tz, ...) : character string is not in a standard unambiguous format...
asked on 22.01.2017 / 01:27
1
answer

How to make the homepage of a website using CakePHP 3.0

How should a site's home page be made using the CakePHP 3.0 Framework (3.0.3)? This page has dynamic content. What this page consists of: It is a display page for key products and product categories (both searched by the bank), and it will di...
asked on 23.07.2015 / 19:20