Add jquery plugin to webpage
◷
تاریخ انتشار: 1395/2/20 | ساعت: 2:55
Vote count: 0 I want to add a jquery plugin from here: http://www.elevateweb.co.uk/image-zoom to my website. My code is attached below. Please help me add the same by editing the supplied code since I am a begi er in HTML. Your help is greatly appreciated! TY <!DOCTYPE html> <!--[if IE 6]> <html id=...
numberformatexception error on output
◷
تاریخ انتشار: 1395/2/20 | ساعت: 2:55
Vote count: 0 I'm getting the following error when compiling and ru ing my program. What did I miss in the formatting? my csv file looks like the following: David,Curtis,138,W Plumtree Ln,8012985656 Paul,Taylor,99,Wikapee St,8015984578 Exception in thread "main" java.lang.NumberFormatException: For ...
Image processing is too slow
◷
تاریخ انتشار: 1395/2/20 | ساعت: 1:28
Vote count: 0 import cv2 import numpy as np while True: cam = cv2.VideoCapture(0) while(cam.isOpened()): ret, im = cam.read() im=im.reshape(1,-1,3) im_list=im.tolist() im_tuples=map(tuple,im_list[0]) im_set=set(im_tuples) print len(im_set) This is my code. It runs really slow (like once a second). H...
Swift/Firebase - Sort posts in tableview by date
◷
تاریخ انتشار: 1395/2/20 | ساعت: 1:28
Vote count: 0 Basically I am trying to make a twitter-like app, showing status updates of the people you follow, ordered by date, just like twitter. How can I do that? I have the code for displaying the posts in a table view, but the ordering is all messed up and looks quite random. I have a path ca...
List and ArrayList incompatible types [duplicate]
◷
تاریخ انتشار: 1395/2/20 | ساعت: 1:28
Vote count: 331 I'm a bit confused about how Java generics handle inheritance / polymorphism. Assume the following hierarchy - Animal (Parent) Dog - Cat (Children) So suppose I have a method doSomething(List<Animal> animals). By all the rules of inheritance and polymorphism, I would assume that a Li...
Build default groups with Ecto.Changeset.put_assoc
◷
تاریخ انتشار: 1395/2/20 | ساعت: 0:14
Vote count: 0 I have a User and a Group model (user has_many groups). When a new User is created I want to build three default groups for that user. Lets call them x, y and z (which would be the name). I guess Ecto.Changeset.put_assoc is the right tool for this job. Correct? How can I use it to crea...
error LNK2005: already defined
◷
تاریخ انتشار: 1395/2/20 | ساعت: 0:14
Vote count: -2 I have the following files myMainClass.h / myMainClass.cpp myFirstClass.h / myFirstClass.cpp mySecondClass.h / mySecondClass.cpp myMainClass.h includes the following: #include <unordered_set> //private typedef std::unordered_set<SomeClass, SomeClass_hash> SomeCollection; SomeCollectio...
gorethink inner join
◷
تاریخ انتشار: 1395/2/20 | ساعت: 0:14
Vote count: 0 I don't quit understand joins at all and unfortunately there is very few documentation about it in german. And in my special case i also don't really understand the driver. So i have a table 'categories' and there i have two docs: {"id":1, "title":"Category 1"} {"id":2, "title":"Catego...
C# - How to map an object to a generic class suited to that object type?
◷
تاریخ انتشار: 1395/2/19 | ساعت: 23:03
Vote count: 0 (I really tried to come up with a better title, feel free to edit) Suppose I have a generic event handler interface and implementations: public interface IEventHandler<T> { void HandleEvent(T t); } public class SlowButAccurateEventHandler<T> : IEventHandler<T> { void HandleEvent(T t) {...
How to Call PhantomJS from webpage using Python - error on initiation
◷
تاریخ انتشار: 1395/2/19 | ساعت: 23:03
Vote count: 0 I want to create a web based scraper using Python, Selenium and PhantomJS where you can input a url into a form and the results from the scrape will be retu ed to the webpage. I can run it on my PC and I can also get it to work through the terminal. It is located in a virtual environme...
sortBy datatable not working with primefaces
◷
تاریخ انتشار: 1395/2/19 | ساعت: 23:03
Vote count: 0 I am using primefaces4.0 and the sortBy datatable property not working until typing in the filterBy input, any help ? asked 47 secs agokouki_monem Let's block ads! (Why?)
Pythonic way to generate random uniformly distributed points withing hollow square lamina
◷
تاریخ انتشار: 1395/2/19 | ساعت: 21:52
Vote count: 0 Suppose we have a hollow square lamina of size 3. That is, we have a 3x3 square from whose center a unit square has been removed. I want to calculate an average of distances between 2 random, uniformly distributed points within such hollow square lamina. In other words, all the points,...
what si the different in the upstream mode in checkout command?
◷
تاریخ انتشار: 1395/2/19 | ساعت: 21:52
Vote count: 0 what is the different in checkoutCommand in git with upsreamMode is TRACK, NOTRACK, SET_UPSTREAM; Does it have different meaning when you create or checkout branch ? asked 1 min agouser1365697 Let's block ads! (Why?)
A conservative city for programmers?
◷
تاریخ انتشار: 1395/2/19 | ساعت: 21:52
Vote count: -5 I know that programmers tend to be apathetically apolitical.I am looking for a conservative city for programmers. Let's see if the people can answer before the mods remove this! asked 1 min agouser432495 Let's block ads! (Why?)
Tried to utilize azure windows 2012 R2 virtual machine mysql but I can't access it
◷
تاریخ انتشار: 1395/2/19 | ساعت: 20:34
Vote count: 0 I recently got interested in utilizing a bunch of VM that I have access to and I come to a conclusion that windows server R2 2012 was the easiest to start with. I was able to remotely co ect to it, no problem I manage to install MySQL server and IIS where I am able to see it on localho...
PHP file starting with Apache
◷
تاریخ انتشار: 1395/2/19 | ساعت: 20:34
Vote count: 0 Is it possible to start some PHP script when Apache is tu ed on? I don't want that script to work on client side, just server, like in nodejs. asked 49 secs agoDragan Peric Let's block ads! (Why?)
Mapping the enter key to a button in HTML/CSS/JS
◷
تاریخ انتشار: 1395/2/19 | ساعت: 20:34
Vote count: 0 i have a small form in which you have to submit a score, which is a number, then i have a script which processes the number. The form is like so: <form name ="input2" style="margin-left: 30%; margin-right: 30%; margin-bottom:5%"> Score: <input type="text" id="score" name="score" maxlen...
facing trouble in margins from vb 6.0 to crystal report to thermal printer TTP 244 plus
◷
تاریخ انتشار: 1395/2/19 | ساعت: 18:01
Vote count: 0 I have set margins 0 by all side and also showing perfect preview without left margin then also printer is taking by default margin from left side during printing. I have tried and check my other existing report also they are ru ing well with same settings so not getting actual problem...
Build VisualStudio .sln with Mono
◷
تاریخ انتشار: 1395/2/19 | ساعت: 18:01
Vote count: 0 I am trying build my VisualStudio project with Mono (which is installed on my Linux maschine) (by apt-get install mono-complete). I am using xbuild command as "xbuild Nipo.sln". Console prints this error: Errors: /home/jashin/Nipo/Nipo.sln (default targets) -> (Build target) -> /home/j...
ANN symbolic parameters
◷
تاریخ انتشار: 1395/2/19 | ساعت: 18:01
Vote count: 0 My input parameters for the neural network contain symbolic data. I do not understand whether it is possible to submit data in this form or needed to normalize. Is it not true? And how can I fix it? asked 1 min agoТрубецкой Let's block ads! (Why?)