Agrupar dos campos hora y fecha
Vote count: 0 Tengo una tabla en la que esta el campo fecha y el campo hora pero las quiero agrupar en un select para hacer un filtrado de fecha y hora y si lo hago separado hace el select de la fecha y el select de la hora pero no del todo bien porque la hora no compara con el dia solo con la hora ...
Python - drop rate in games, random with assigned probability
Vote count: 0 Lets say I 30 numbersI need to assign them random but with drop chancesEx: There's 2% for number 1, 1.5% for number 2, 1.1% for number 3, 1.7% for number 4 etc...I'm genereting random numbers with thisfrom random import randint import string import random print(randint(1,30)) // genera...
Android Word cloud and word salad
Vote count: 0 Im looking for word cloud /word salad, free library for android apps.I've found libraries in Github for IOS and Web but not for android. Is someone encountered in libraries like this? For example: asked 30 secs agomotis10 Let's block ads! (Why?)
I have json values , how to save into mongodb using spring mvc
Vote count: 0 I have class like "location". "Location" class have four field. fields are:id,city,state,country.. country is seprate class it contains 2 field , country code, country name , 2 fields must read from location class.. if i write "locationMongoRepository.save()", then it shows error as bo...
How to organize MVVM in WPF application when a grid changes size at runtime, but the content of the grid are all of the same type
Vote count: 0 I have a WPF application that I've implemented using the MVVM patte with a single windows which has a grid that can change dimensions at runtime. The content of the grid cells are always of the same type, however the number of columns in the grid vary depending on the state of the wind...
CSV List as a source for SelectizeInput in Shiny
Vote count: 0 I am new to Shiny and R (with database background) and would appreciate your help. I am trying to create a search tool on a map (with no Nominatim) to zoom the map to it - I have a list of streets and their lat/lon in a csv file (1800 entries). i call them streets <-read.csv(file = "Q:...
Use parent div size for bootstrap responsive grid system
Vote count: 0 I need to use bootstrap 12 columns grid to get a responsive form based on the parent div's size. As an exemple, whatever the size of the screen, the content need to see the div A's width and base the bootstrap's responsive design on that width. My goal is to base my responsive design o...
How to validate against json schema using Dojo dmodel?
Vote count: 0 I created a Memory store (model) based on a simple Json Schema like this and tried to put an an invalid value, however the object was still created inside the store. <script> require( [ 'dojo/_base/declare', 'dstore/Memory', 'dmodel/extensions/jsonSchema' ], function (declare, Memory, ...
Get match of two lists
Vote count: 0 I have two lists and i like to browse them to get the matchs and the difference but i don't understand why my index don't reach the end of list there is my code: recordedEvents=[u'/app//wakeup', u'/app/hdmi/state', u'/homepage/ws/view', u'/homepage//activate', u'/live//activate', u'/li...
python subprocess does not write to stdout
Vote count: 0 If I run the following python code (in python 2.7) I get an empty output file while I would expect a line. What is wrong? import subprocess with open('outfile.out', 'w') as out: pp=subprocess.Popen(['/bin/cat'],stdin=subprocess.PIPE,stdout=out) pp.stdin.write('Line I want into out file...
removeattr required not working chrome browser
Vote count: 0 I am trying to remove required attribute from some hidden fields. $('#divQ9, #divQ10, #divQ11, #divQ12, #divQ13, #divQ14, #divQ15').find('input[type=radio]').removeAttr('required'); This above code works in all other browsers expect Chrome with version < 50 Please suggest any work arou...
SELECT without pair (B,A) if I have (A, B)
Vote count: 0 Here is a simple question, when I have (A,B) as a result of my query, I would like to have only (A,B), not (B,A). For exemple my query retu s : 161, 52 161, 53 53, 161 53, 161 Here is my query : SELECT S1.SURVEY_ID, S2.SURVEY_ID FROM SURVEYS S1, SURVEYS S2 WHERE (S2.START_DATE BETWEEN ...
Excel User Defined Function issues with Excel Template
Vote count: 0 I am working with a product based on Excel Document Level Customization. The project type is “Excel 2013 Template” in Visual Studio. Recently I have developed a User Defined Function which will be used to evaluate our own function. I have developed the User Defined Function based on th...
`DbContext.Database.BeginTransaction` can't be nested?
Vote count: 0 I'm trying the EF6-way of using transactions and noticed that the following code using (db.Database.BeginTransaction()) { // something using (db.Database.BeginTransaction()) { /// something } } throws an exception on the second begin transaction telling me that The co ection is already...
Symfony 2: The annotation @ORMOneToMany declared on property AppBundleEntityGenre::$movie does not have a property named "onDelete"
Vote count: 0 I've been trying to use onDelete="SET NULL" with one of my entities, but it retu s this error: [Creation Error] The a otation @ORMOneToMany declared on property AppBundleEntityGenre::$movie does not have a property named "onDelete". Available properties: mappedBy, targetEntity, cascade...
Show fewer pages in Django pagination
Vote count: 0 I am working on a Django application and on one of the pages we use pagination. I have around 200 pages and if I am somewhere in the middle then it has links from page 1 - 4, displays the 4 pages behind the page I am on, 3 after the page I am on and the last 4 pages. Looking like this ...
Multilanguage setup job platform
Vote count: 0 I'm working on a job platform and i'm struggling with multilanguage functionality. We have two sides - the candidate and the company who is searching for fitting candidates: Candidate site: The candidate fills out the form (either in german or english). He also fills out his work exper...