How to select join column? - تاریخ: 1395/5/10 ساعت: 9:26
Vote count: 0 How to add column from join table to select statement? For example I have this predicate: public Predicate toPredicate(Root<Co ection> root, CriteriaQuery<?> query, CriteriaBuilder cb) { query.distinct(true); SetJoin<Co ection, Co ectionResearch> rootResearches = root.join(Co ection_.r...
Access Firebase using own API or through app - تاریخ: 1395/5/10 ساعت: 7:43
Vote count: 0 I am about to start making an app using Firebase for both Android and iOS. I plan to have a backend which will do regular clean-ups of the data such as deleting at the end of the day. Would I be better off using the Firebase Database directly through each of the iOS and Android apps, n...
base64 image back to png using java too long constant - تاریخ: 1395/5/10 ساعت: 7:43
Vote count: 0 I am trying to lea java base64 conversion to image import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import redis.clients.jedis.Jedis; public class HelloWorld { public static void main(String[] args) throws IOException { byte[] btDataFile = new sun.misc....
How to make an API call in Angular 2? - تاریخ: 1395/5/10 ساعت: 7:43
Vote count: 0 There are lots of resources out there already but I haven't been able to find one that works for one reason or another. Take a generic example: I want to get the response from http://swapi.co/api/people, which will be a list of people from Star Wars. import {Injectable } from '@angular...
MVVM: ViewModels for bidirectional model elements - تاریخ: 1395/5/10 ساعت: 6:32
Vote count: 0 Assume I have following Model structure: class Team { public string Name {get;set; } public List<Player> players {get;set;} } class Player { public int Age {get;set;} public string Name {get;set;} public Team Team {get;set;} } I wish to create Viewmodels for this model. However, I also...
Accounts setUsername fail with user alaready exists - تاریخ: 1395/5/10 ساعت: 6:32
Vote count: 0 This Meteor 1.4 server code usesaccounts-base@1.2.9accounts-password@1.2.12 is giving the following error: Exception in callback of async function: Error: Use ame already exists. [403] console.log(oldUse ame); //=> abc121111 console.log(newUse ame); //=> abc123333 Accounts.setUse ame(u...
rnpm command not found in terminal after "npm install rnpm -g" - تاریخ: 1395/5/10 ساعت: 6:32
Vote count: 0 I am still new to coding and I ran into a weird problem. enter image description here I am trying to use the facebook SDK in my react native app and I was following the tutorials for installing pm. However, after I installed pm package the " pm" command is still unusable. Can someone p...
Array of column Letters to Array of Column Numbers not working - تاریخ: 1395/5/10 ساعت: 4:28
Vote count: 0 This is more or less my first attempt at writing a Javascript function and I want to convert an array of column numbers to an array of column letters If I run testFunction I get undefined function testFunction() { var ui = SpreadsheetApp.getUi(); aryCLTCN(["A","C","D"]) ui.alert(aryCLT...
How to set item command event for button that dynamically added to listview? - تاریخ: 1395/5/10 ساعت: 4:28
Vote count: 0 I'm new in c# I have a listview for my site that it's itemtemplate change by click on a menu item In new itemtemplate i added a button to listview and set commandname and command argument for this button and also set on itemcommand event and write code for delete item But when i click ...
pyspark with HCatalog table in Zeppelin - تاریخ: 1395/5/10 ساعت: 4:28
Vote count: 0 I have created a table HCatalog table with partitions mapping to some zip files in S3. In Zeppelin, I created a paragraph using the %pyspark module with the following codes: Paragraph 1: %pyspark from pyspark.sql import HiveContext hc = HiveContext( sc ) f_req_2h = hc.table( "default.f...
How can I pass json data returned from a webservice into D3.json(...)? - تاریخ: 1395/5/10 ساعت: 1:37
Vote count: 0 Thank you for your help so far! I was able to successfully build my webservice and NVD3.js stacked area chart. However, I have been struggling without any success in passing json data from my webservice into my NVD3.js graph. On my webform, I select two dates for an interval and click ...
disabled and selected is not working in customize select option menu (Javascript) - تاریخ: 1395/5/10 ساعت: 1:37
Vote count: 0 i have customized select option menu by java script but there is a problem,this code is not working when option tag is disabled or selected as true. i want this solution by javas cript. <form class="wrapper" action="index.html"> <ul> <li> <div class="magneto-combobox"> <select class="c...
Font-family not working in php - تاریخ: 1395/5/10 ساعت: 1:37
Vote count: 0 I'm trying to create a font preview but I can't get the font to change. When I run the code shown below, the output is my Text - Arial.ttf - 1 my Text - Batman.ttf - 1 my Text - Verdana.ttf - 1 So the font is being found. It just isn't working. If I replace the key/data with an actual ...
Text View not visible in FrameLayout in Xamarin Forms Application in Lollipop - تاریخ: 1395/5/10 ساعت: 0:34
Vote count: 0 I am working on a Xamarin Android form application. I am using a FrameLayout with a button and text view such that the button is in the background and the textView should be in front of them. Now when I run my application on a Kitkat/Marshmallow version of android it works perfectly bu...
How to get the Average of a specific category via Python - تاریخ: 1395/5/10 ساعت: 0:34
Vote count: 0 I was wondering how I could calculate the average of a specific category via Python? I have a csv file called demo.csv import pandas as pd import numpy as np #loading the data into data frame X = pd.read_csv('demo.csv') the two columns of interest are the "Category" and "Totals" column...
Canoot resolve symbol 'Database' in android - تاریخ: 1395/5/10 ساعت: 0:34
Vote count: 0 I was importing a old project written on api-level 17(android 4.2), but this problem is not solving anyway. I have searched whole inte et but couldn't find this particular error. It is showing- "Ca ot resolve symbol 'Database'". Please help me out. Here is the code of the file AddFrien...
Meteor-react props reference passes all records to delete component instead of selected one - تاریخ: 1395/5/9 ساعت: 23:34
Vote count: 0 I do try to add submit modal to handle user confirmation when he wants to delete a record.Current expirience:I did add componentDidMount to DeletePost and in console I do see that when page loads each record receive its own delete form with passes record data to it.But when the form op...
PHP Todays Date + 1Year - تاریخ: 1395/5/9 ساعت: 23:34
Vote count: 0 I'm putting together a little subscriptions script in PHP which will calculate the expiration date based on todays date and time, but it's giving the result of 0000-00-00 00:00:00 (Datetime) Here is my code: $added = date("Y-m-d H:i:s"); $expiry = strtotime('+ 1 year', $added); How can...
Create subgroups into xcode 7 template - تاریخ: 1395/5/9 ساعت: 23:34
Vote count: 0 I'm making a xcode template with swift files but I want to divide these files in groups: > Group (file template name) > --- Group One > ------ swiftFile > ------ swiftFile > ------ swiftFile > --- Group Two > ------ swiftFile > ------ swiftFile ¿Can you help me? Can you also create fol...
Save SQL queries and execute them later in Laravel 5.2? - تاریخ: 1395/5/9 ساعت: 22:31
Vote count: 0 I have two types of users in my Laravel application and I'd like them to have different permissions. I want the admin to be able to create, retrieve, update and delete some objects stored on my database. And the common user to be able to only retrieve these objects. But, I'd like to ha...

برچسب‌های محبوب

sql server 2012 | how to make | sonata admin | android php update mysql | split up string | wordpress plugin php code | android create native activity | sqlstate 23000 integrity constraint violation 1048 column 'email' cannot be null | npm error installing | interpolation with spline