All Questions

1
answer

Problem with forecast in R

I'm trying to make a relatively simple GDP forecast, but I'm finding the following error: **Error in model.frame.default(formula = y ~ t2, drop.unused.levels = TRUE) : comprimentos das variáveis diferem (encontradas em 't2')** Here's the...
asked on 26.04.2017 / 20:35
1
answer

How can I display content captured by the camera in full screen in OpenCV?

Would you like to know how to show captured webcam content (via videoCapture) in a window that occupied the entire screen? Only appears in a small window. Do you have to change something in imshow(" imagem ", frame) ?     
asked on 01.04.2017 / 21:00
1
answer

Upload Video by PHP (only one part)

I have some .MP4 files When I want to display them, I create a html video tav and point to this mp4. Sometimes I would like to broadcast only part of the video. Ex: The video has 10min. But I want to display in the player only the 9th m...
asked on 02.05.2017 / 06:02
1
answer

Base Conversion between Numbering Systems

I am studying Computational Mathematics, more specifically Numbering Systems and their conversion. Numeration Systems are widely used in programming and computing in general, so my study focused more on the four essential types used in computi...
asked on 03.05.2017 / 18:11
1
answer

variables in mysql: declare, set, how to get an element from a table

Speaking of variables that can be declared within begin , I have seen that it has Declare and set only I do not know when to use them. I saw that it has set @x , set x , set x = x+1 , set x := x+1 ; they all confuse...
asked on 08.10.2015 / 18:52
4
answers

function_exists fatal error

Hello, I need help solving this problem. I have the following code snippet (I put the line number to facilitate): **186** if ( function_exists( self::$function_val() ) === TRUE ){ **187** call_user_func( self::$function_val() ); **188**...
asked on 03.04.2017 / 16:01
2
answers

Can I have more than one Views directory in MVC?

I'm transferring my project to MVC, and would like to know if you can have more than one Views folder in the project, or if you have a CSS load outside of BundleConfig , have a static page somewhere bugar all my pages.     
asked on 06.05.2017 / 20:36
3
answers

Merge array as PHP

I have this: $categoria_1[0] = array( 'code' => 'ALI000001', 'name' => 'Alimento > Arroz ); $categoria_2[0] = array( 'code' => 'ALI000002', 'name' => 'Alimento > Massas ); You have to leave it like this:...
asked on 08.04.2017 / 17:52
2
answers

Reversing order column data.frame

I have this date frame: > head(df1) data spread 1 2006-01-01 -3.0404577 2 2006-02-01 -3.3902628 3 2006-03-01 -2.5283960 4 2006-04-01 -1.5279234 5 2006-05-01 -0.0897918 6 2006-06-01 1.0286549 > tail(df1)...
asked on 14.10.2015 / 22:59
2
answers

How can I create events in a safer way?

I'm creating events according to the code below, however it seems to be a slightly dangerous way, since if there is no event cancellation it will accumulate with every "trigger" of the event, ie if it occurs three times on the fourth time it wil...
asked on 29.09.2015 / 16:41