how to show navigation path in prim faces mobile gmap
◷
تاریخ انتشار: 1395/4/4 | ساعت: 16:27
Vote count: 0 I am developing a primfaces mobile application (JSF and Primefaces mobile) and I have a problem, I am trying to display navigation path between two points in Gmap. When I select one point in gamp I want to show path between my location and selected point.I got my location using geoloca...
CSS file is not being loaded in MVC
◷
تاریخ انتشار: 1395/4/4 | ساعت: 16:27
Vote count: 0 I am unable to access CSS file which is located under MVC AREA section. Here is the full path of the CSS file. http://mywebsite/Areas/MVC/Resources/dist/css/custom.css The path is correct I suppose because JS files and images are being loaded from the same path. There is also no authen...
Select pytest tests dynamically at the beginning of test run
◷
تاریخ انتشار: 1395/4/4 | ساعت: 16:27
Vote count: 0 I'm writing unit tests for my Python app with pytest. Most of my experience with unit test writing comes from Javacript frameworks such as Jasmine, where you can mark singly mark tests to run in next test round with word 'fit' or mark test to be excluded with word 'xit'. 'fit' is nice ...
How to constuct a column of data frame recursively with pandas-python?
◷
تاریخ انتشار: 1395/4/4 | ساعت: 15:10
Vote count: 0 Give such a data frame df: id_ val 11111 12 12003 22 88763 19 43721 77 ... I wish to add a column diff to df, and each row of it equals to, let's say, the val in that row minus the diff in the previous row and multiply 0.4 and then add diff in the previous day: diff = (val - diff_previ...
How can I suppress file with unknown permission?
◷
تاریخ انتشار: 1395/4/4 | ساعت: 15:10
Vote count: 0 I have a ".Trash-1000" on my usb key, and I can't suppress it entirely because the OS don't know the permission of some files. I have already try "sudo -rf .Trash-1000/" and "sudo chmod -R 777 .Trash-1000/" on ubuntu and I try "del .Trash-1000" on windows. So now, I'm very stuck I hope...
Export data from Excel file to different format
◷
تاریخ انتشار: 1395/4/4 | ساعت: 15:10
Vote count: 0 I have a requirement where I need to export data from excel file to a specified format(xml, text or even excel).The problem is client can map any column and then want to export it to a specific format to make some kind of report. If he ticks cell E1 and D1 in form, he needs to be able ...
how to add and remove custom elements on the fly or by an click event in aurelia
◷
تاریخ انتشار: 1395/4/4 | ساعت: 12:44
Vote count: 0 Almost give up on Aurelia, I'm struggling with adding custom elements dynamic in Aurelia, lets say we have a custom tag: view my-element.html: <template> My Element ${name} </template> viewmodel: my-element.js: export class MyElement { @bindable name = ''; } so I try to manually add th...
How to use bootstrap dropdown(ng2-bootstrap) in ag-grid-ng2
◷
تاریخ انتشار: 1395/4/4 | ساعت: 12:44
Vote count: 0 This is url of github issue Any assistance would be highly appreciated. asked 45 secs agoAshutosh Singh Let's block ads! (Why?)
Google tag manager custom event tracking
◷
تاریخ انتشار: 1395/4/4 | ساعت: 12:44
Vote count: 0 I am a developer in codiva.io a java ide for students. I am using codemirror editor. I want to track on edits (specifically a pause or timeout after last edit). I had previously used Google analytics, and for events, we will do ga.send(). Now I'm using Google tag manager, for clicks an...
ImportError: cannot import name corpora with Gensim
◷
تاریخ انتشار: 1395/4/4 | ساعت: 11:42
Vote count: 0 I have installed Anacoda Python v2.7 and Gensim v 0.13.0 I am using Spyder as IDE I have the following simple code: from gensim import corpora I got the following error: from gensim import corpora File "gensim.py", line 7, in <module> ImportError: ca ot import name corpora I reinstalle...
weak may only be applied to class and class-bound protocol types not
◷
تاریخ انتشار: 1395/4/4 | ساعت: 11:42
Vote count: 0 i am trying to add a map using GMSMapView but i am getting errors when i create an outlet for the view. The following is the code snippet: import UIKit class MapViewController: UIViewController { @IBOutlet weak var mapVIew: GMSMapView! @IBOutlet weak var mapCenterPinImage: UIImageView!...
Reverse proxy with url rewrite in asp.net giving 404 error
◷
تاریخ انتشار: 1395/4/4 | ساعت: 11:41
Vote count: 0 I have implemented a url rewriting with reverse proxy main page of target website is opening but when i click on any link or button on target website it give me 404 error. asked 1 min agoQadeer Hussain Let's block ads! (Why?)
Unable to create table through json object using Angularjs
◷
تاریخ انتشار: 1395/4/4 | ساعت: 10:14
Vote count: 0 Hi in my code below i am trying to convert xml Data to Json Object. using converted Json Object i am trying to create a table using angularjs. so here the problem is i am able to bind complete converted json object {{employeeList}} but failed to load individual atttribute of json objec...
Cannot install chrome apps on windows 10, even after reinstalling chrome
◷
تاریخ انتشار: 1395/4/4 | ساعت: 10:14
Vote count: 0 I'm using windows 10 and chrome. Previously chrome apps were working properly. But now I ca ot download any of application which is published on chrome app store. When I tried to download, it just started downloading the file. but it says download failed because of network error. And a...
Connecting to SQL Server through Active Directory user in Azure Virtual Machine
◷
تاریخ انتشار: 1395/4/4 | ساعت: 10:14
Vote count: 0 I am a beginer in Azure and i have been trying to accomplish below scenario task:I have created two Virtual Machine say vm1 and vm2. Virtual Machine(vm1) where I have have installed ADDS(Active Directory Domain Service): Window server 2012 R2 Domain Name: Say: TestDomain , ip:10.0.0.79...
docker container consumers more memory as running
◷
تاریخ انتشار: 1395/4/4 | ساعت: 9:05
Vote count: 0 I have a microservices system that has several docker containers.Each one of the containers runs a springboot application. The docker run in centos7. the contain with problem takes about 10% of the host memory (16G) and growing fast as ru ing. In the end, the host memory runs out and s...
Correct Installation of XGBoost on AWS EC2 Instance
◷
تاریخ انتشار: 1395/4/4 | ساعت: 9:05
Vote count: 0 I have installed XGBoost on an AWS EC2 instance, as follows: sudo yum update sudo yum -y install gcc-c++ python27-devel atlas-sse3-devel lapack-devel wget https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.11.2.tar.gz tar xzf virtualenv-1.11.2.tar.gz python27 virtualenv-...
Explicit package name and masking earlier declarations in the same statement
◷
تاریخ انتشار: 1395/4/4 | ساعت: 9:05
Vote count: 0 I tried to write a perl version of the following algorithm Here is the code that I have: #!/usr/bin/perl use wa ings; use strict; use diagnostics; my $s1 = 'GATTACCA'; my $s2 = 'AGTGGGCGGGGAGAGAGAGAGAGG'; my $dist = levdist($s1, $s2); sub levdist { my ( $seq1, $seq2 ) = (@_)[0,1]; my $...
Android closing bluetooth sockets/threads
◷
تاریخ انتشار: 1395/4/4 | ساعت: 7:47
Vote count: 0 I'm co ecting 2 devices via bluetooth and when I press the logout button on one device I want to send a message to the other device (telling the other to also logout), close the bluetooth co ection, and close the current activity (i.e. go back to my login activity) The problem is I kee...
Understanding error performing cross-validation with xgboost in R
◷
تاریخ انتشار: 1395/4/4 | ساعت: 7:47
Vote count: 0 I am ru ing a cross validation with xgboost in R. library(xgboost) data(agaricus.train, package='xgboost') data(agaricus.test, package='xgboost') train <- agaricus.train test <- agaricus.test cv.res <- xgb.cv(data = train$data, label = train$label, nfold = 5, nrounds = 2, objective = "...