All Questions

1
answer

Normalize database up to the Third Normal Form

I am designing a database for the Film industry (personal exercise). Each film was made by a company. A company produces one or more movies. Each film has one or more genres (action, terror, etc ...) Each film has one or more actors....
asked on 09.11.2017 / 19:14
1
answer

Insert data to sql server only if the 3 "insert" were correct

Good afternoon, I am currently filling in 3 tables in my database, so when the data is obtained they are entered in the first table, I get the primary key of the first insert and then fill it in the following two, I tried my code and everything...
asked on 09.11.2017 / 19:55
1
answer

Difference between classes of type Any and T in Kotlin?

In Kotlin I have run into several fragments of code where they use Any and / or generic classes (T), where the objective is to indicate that this variable can be of any kind. According to official documentation Any is the superclass in kotlin...
asked on 06.11.2017 / 14:08
1
answer

A canvas control is frozen

Working with Visual Studio 2015, WPF I have a Canvas control which serves as a canvas to draw a skeleton that I get by scanning through the Kinect device when I get in front of the device my skeleton that appears on the canvas freezes. I trie...
asked on 09.11.2017 / 21:23
1
answer

TableView and setOnCloseListener JavaFX

my problem is that when I load the .txt in the tableview it loads it but the text does not appear in the columns, it goes empty but when I select the row if it collects the data belonging to each column but in the table it does not come out and...
asked on 08.11.2017 / 19:28
1
answer

Show data with result in zero mysql

I have a database that makes queries to know the amounts of detailed information of each table, which are sorted through a "country table". When you perform the query, only the information that contains data appears, for example: in the count...
asked on 08.11.2017 / 13:46
1
answer

Bat renames files from different directory

I have the following script that works if I run it from the same directory: @echo off for %%i in (*.csv) do (set fname=%%~ni) & call :renameFile goto :eof :renameFile ren "%fname%.csv" "%fname:~13,16%.csv" goto :eof What I intend is to...
asked on 31.10.2017 / 08:08
2
answers

Read table of a url with R

I have problems with the read.table function. I want to read a table from an url, and save it in R as a dataframe. The url is: link I wrote this code: library(RCurl) a <- getURL('https://datanalytics.com/uploads/datos_treemap.txt') b...
asked on 09.11.2017 / 14:33
2
answers

Repeated data

I would like you to give me a hand with this since I can not find the turn This would be my code, The variable $a and $b I bring from the controller and the values are: $a=[1,2,3,4,5,6,7,8,9,10]; $b=[1,4,8] <select>...
asked on 02.11.2017 / 04:33
2
answers

How to add image as Wallpaper on Android

On an Android device we can add an image as a wallpaper ("Wallpaper"),    What are the methods to programmatically add an image as   background on an Android device?.     
asked on 08.11.2017 / 17:56