DB2 Query optimization
◷
تاریخ انتشار:
1395/1/19
|
ساعت:
0:36
Vote count: 0 All , Need help in optimizing a query : There are two tables with below fields: Table 1 AdminId Policy Locationid CreateTimestamp Table 2 AdminId Policy CreateTimestamp Detail1 Detail2 . Detail50 Table 2 is a big table will lots of data. For every rec in Table1 there can be thousands o...
Main Activity resets after opening another Activity
◷
تاریخ انتشار:
1395/1/19
|
ساعت:
0:36
Vote count: 0 I've a newbie question about activities. I've a Main_Activity with some layout, options and graphics that I change and update. When I launch another Activity from my Main_Activity it opens, then when I want to back to my previous Main_Activity I've found that is resetted like I've just...
Cannot access first and second members from an iterator on a templated std::map
◷
تاریخ انتشار:
1395/1/19
|
ساعت:
0:36
Vote count: 0 I want to write a template function to interpolate missing values within a std::map like this : template<typename T1, typename T2> T2 interpolate(const std::map<T1, T2> &data, const T1 at_x); When I write the function with real type for the map, like std::map <unsigned short, double> ,...
Count & Highlight Table Row Elements Dynamically
◷
تاریخ انتشار:
1395/1/18
|
ساعت:
23:34
Vote count: 0 I want to be able to do two things. The first, is look at all "selected" items of a certain value. Say I have a, b, c ; I want to look for all items selected as "c" and highlight that table row as a different color. In addition, upon opening the form, I want the items counted, and be a...
Visual Studio 2015 Cannot add Reference to project
◷
تاریخ انتشار:
1395/1/18
|
ساعت:
23:34
Vote count: 0 A large C# solution has a number of subprojects. It just compiled OK. Two projects each use dlls from the other. Projects A uses B.dll and B uses A.dll. I ran Clean on the entire solution and now A ca ot compile because I ca ot add B.dll because B.dll (debug) does not exist, so A.dll a...
D3 stacked bar chart: unique bar for each row (stack only one row)
◷
تاریخ انتشار:
1395/1/18
|
ساعت:
23:34
Vote count: 0 I'm quite new to D3 and I'm trying to make a stacked bar chart (or column chart) with unique bars for each row (each observation) in the dataset. The problem I have encountered is: if there's more than one row with the same value used for the y axes (in my case, in data.csv, in the col...
Apply a share function on columns Python
◷
تاریخ انتشار:
1395/1/18
|
ساعت:
22:20
Vote count: 0 I have the following df Array = np.array([[87, 70, 95], [52, 47, 44], [44, 97, 94], [79, 36, 2]]) df_test = pd.DataFrame(Array, columns=['Apple', 'Banana', 'Tomato'],index=[['Joe', 'Steve', 'Wes', 'Jim']]) Which looks like: Apple Banana Tomato Joe 87 70 95 Steve 52 47 44 Wes 44 97 94 J...
Elasticsearch take high score from multiple queries
◷
تاریخ انتشار:
1395/1/18
|
ساعت:
22:20
Vote count: 0 I have multiple queries, each of them will retu own score. What i need to do is that if one specific query retu score i need to take this score. What i am doing now POST crawler/company/_search { "query": { "function_score": { "bool": { "should": [ { "term": { "SecondProperty": { "valu...
Only Play videos on visible cell
◷
تاریخ انتشار:
1395/1/18
|
ساعت:
22:20
Vote count: 0 How can I only play video for visible cells? Stop the video once the cell is not visible ? I know it was something to do with indexPathsForVisibleRows but having issue figuring how to implement it Once Cell is visible at a time currently. ....... import UIKit import AVKit import AVFoun...
Splitting data - specific case
◷
تاریخ انتشار:
1395/1/18
|
ساعت:
21:15
Vote count: 0 I'm trying to split some data, the data is in this form... ['20150406,34.4800,34.8100,34.2300,34.4200,21480500', '20150407,34.5400,34.8900,34.5100,34.6300,14331200'] The first item in each string in the list is a date, I am trying split the data at a chosen date. But have the whole str...
find all file modify after specific date (Centos)
◷
تاریخ انتشار:
1395/1/18
|
ساعت:
21:15
Vote count: 0 i'm search some command in unix to find all file modify after a specific date: if i use this command i recive i get this error : ls -lt $(find .) | grep '16 feb' | grep -o './[^N]*' -bash: /bin/ls: Argument list too long and if i use this command i recive all file sorted by date. find ...
Jquery Highlight function not working
◷
تاریخ انتشار:
1395/1/18
|
ساعت:
21:15
Vote count: 0 I am trying to find all the numeric values in a textbox text and highlight them but nothing is happening. The code is below. Can you please help identify what is that I am doing wrong? model Notes.Models.NotesModel <html> <head> <title>Notes</title> <style> .highlight {background-color...
Spring MVC: I want my controller to process/serve an image - it works fine in an tag, but can't display when referenced directly...
◷
تاریخ انتشار:
1395/1/18
|
ساعت:
18:53
Vote count: 0 I've got a simple controller which processes and serves an image. @RequestMapping(method=RequestMethod.GET) @ResponseBody public byte[] GetProcessedImageResource(@RequestParam Long imageID) { Image image = someDAO.getImageById(imageID) someBusinessObject.processImage(image); retu image...
Retrieve AngularJS $http.post server data using PHP
◷
تاریخ انتشار:
1395/1/18
|
ساعت:
18:53
Vote count: 0 I am calling a $http.post function but can not grab the data on the other side, the calls goes through successfully but can not retrieve the data in my PHP script AngularJS: var data = { firstname: $scope.first_name, lastname: $scope.last_name, email : 'test@fff.com', user : userID }; ...
mysqli_query(); when used in objects is not returning any value
◷
تاریخ انتشار:
1395/1/18
|
ساعت:
18:53
Vote count: -1 the varible $coun is not retu ing any value when called enter code here $mysqli_user = 'merchant'; $mysqli_password = ''; $con = mysqli_co ect($mysqli_host, $mysqli_user, $mysqli_password); if(!mysqli_select_db($con, $mysqli_db)){ echo mysqli_co ect_er o() . PHP_EOL; mysqli_co ect_err...
Taking the natural log of a partly non numeric data set
◷
تاریخ انتشار:
1395/1/18
|
ساعت:
17:42
Vote count: 0 Very new to programming and have started using R as a foot in the door. Apologies in advance for any possible lack of trivial knowledge. I hope that individuals that try to help me will be satisfied with how I'm coming across. The data set which I'm using is filled with irrational numb...
How to do push notification in android using GCM
◷
تاریخ انتشار:
1395/1/18
|
ساعت:
17:42
Vote count: -1 I am very new to the world of android programming. In my project i have to do push notification using GCM. I have searched for it in inte et but haven't found any useful article. Could anyone suggest me any article related to implementing push notification in android. Thank you in adv...
analytics.js: Tracking a website which is put in an iframe on another domain
◷
تاریخ انتشار:
1395/1/18
|
ساعت:
17:42
Vote count: 0 Let's pretend I have a website that is hosted on app.com. My website is published on another website hosted on platform.com throught an iframe. <html class="platform.com"> <body> <iframe src="app.com"> //ga init code ga("create", "UA-0000000", { cookieDomain: "auto", storage: "none", u...
Using Editors from Blend
◷
تاریخ انتشار:
1395/1/18
|
ساعت:
16:28
Vote count: 0 I would like to use the Editors which blend uses. Like for Margin, Point3D, Brushes and so on. How can I use them? I googled and can't find anything helpfull. I also tried to snoop Blend but it also ended without result. asked 3 mins agoegse Let's block ads! (Why?)
Connect IPV6 client to server without knowing server's interface name
◷
تاریخ انتشار:
1395/1/18
|
ساعت:
16:28
Vote count: -1 IPV6 client wants to co ect to IPV6 server. Able to co ect to IPV6 server using scoped address which is of format ip%interface_name. But client does not know the interface to which server is bound. Then how to proceed about it. asked 3 mins agouser2137306 Let's block ads! (Why?)