All Questions

1
answer

How do I calculate the variance of an age group in sql?

Hi guys, I hope you can help me, I have tried to get the variance of a "users" table. The field "Age" is not as such, I calculate the age of each user in the following way: select trunc(months_between(sysdate,FechaNac)/12) edad from usuarios...
asked on 11.10.2016 / 04:33
1
answer

Retrieve backend data in ComponentDidMount or in ComponentWillMount

I have the following component: import React, { Component } from 'react' import data from '../data/dummyDataEx.json' export default class Resumen extends Component { constructor (...args) { super(...args) this.state = { resul...
asked on 23.10.2016 / 10:22
3
answers

How to clone an object in c #

I'm trying to duplicate a viewmodel, req is a viewmodel of the same type as copiaReq that arrives me by parameter RequestMeetingRoom copiaReq = new RequestMeetingRoom(); copiaReq = req; copiaReq.IdMeetingRoom = 3; The problem...
asked on 10.08.2016 / 11:22
2
answers

FATAL ERROR when launching an activity on Android. SettingsActivity.class

I have a problem when launching an activity, I get this error.    E / AndroidRuntime: FATAL EXCEPTION: main                     Process: jhon.casique.baccus, PID: 2424                     java.lang.RuntimeException: Unable to start activity C...
asked on 20.10.2016 / 09:54
2
answers

You lose the dpi of the image when you lower the resolution

I have the following code. What it does is take an image and lower the resolution because I need it to weigh less. but the problem is that you lose the original ppp or dpi of 200 to 1 and must keep the same when downloading resolution public v...
asked on 14.08.2016 / 20:11
1
answer

How to pass a Java String to Javascript

It is a java web application project. I want to put a bookmark using google maps, I have my jsp where I show it and I have the javascript where I use the api. I have a java where I make the connection to the bd MySQL and another where I make the...
asked on 27.10.2016 / 00:12
1
answer

Can I save the BD SQLite in android in another route instead of / Data / ...?

I would like to save the BD of my mobile application in another folder that was not the normal path of / data / .., for example in the sdcard in a route that I can specify.     
asked on 26.10.2016 / 00:43
1
answer

Send a message to n subscribed users when a date / time approaches nodejs

I want to be able to send a message to a user via email or sms, given a date and time for example 10/24/2016 14:00:00 send a message to you one hour before, I am using nodemailer to send via email, and twilio to send via sms, but the question is...
asked on 14.10.2016 / 19:58
2
answers

Responsive menu button does not show desired icon. Bootstrap

I'm adding a dynamic menu so when this is on a small device I see a button that displays the options. The problem is that I do not see the icon I chose in the bootstrap components glyphicon glyphicon-menu-hamburger only a small box appears. By...
asked on 10.10.2016 / 18:38
2
answers

Pass parameters to the Constructor or a method

My doubt is as follows, should I pass the parameters obtained from a JTextField to the setter methods of the User class? or pass them directly to the constructor of the User class, what would be the difference? //Esta es la clase registro pero...
asked on 16.10.2016 / 02:29