Focus event firing after a focus inside of a function
◷
تاریخ انتشار: 1395/4/24 | ساعت: 8:11
Vote count: 0 I'm using a hidden input to keybind my app with it but without triggering events when i write on other input-fields -clicks on element { -hide element -creates an input text-field(to edit the element) -focus the input - on blur or submit changes the element and remove the input } but i...
python import of GdkPixBuf says "introspection typelib not found"
◷
تاریخ انتشار: 1395/4/24 | ساعت: 7:09
Vote count: 0 I have some imports : gi.require_version('Gtk', '3.0') from gi.repository import Gtk from gi.repository import Gdk, GdkPixBuf An error (maybe 2) is raised : WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not ...
how to roll up dc stacked-bar example into single bar?
◷
تاریخ انتشار: 1395/4/24 | ساعت: 7:09
Vote count: 0 "http://dc-js.github.io/dc.js/examples/stacked-bar.html" I want to roll this kind of dataset into a single bar stacked-bar chart. I changed the speedSumGroup = runDimension.group().reduce(function(p, v) { p[v.Expt] = (p[v.Expt] || 0) + v.Speed; retu p; }, function(p, v) { p[v.Expt] = (...
Trying to add poNumber to transaction not working. PHP-sdk Authorize.net
◷
تاریخ انتشار: 1395/4/24 | ساعت: 7:09
Vote count: 0 I am trying to use authorize.net's php-sdk to charge a customer profile which is working but I can't find the write way to send the poNumber along with the data. In the following link, I am using the part where it says Creating Transactions, but no where do I see how to add poNumber. h...
When shut down android app
◷
تاریخ انتشار: 1395/4/24 | ساعت: 4:45
Vote count: 0 How can i get when kil processing app . For Example When One customer going to kill my app . i want to lea this state so when app killing. onDestroy method doesn't working. I need alte ative for it. public class LoginActivity extends AppCompatActivity { @Override protected void onCreat...
scope & trigger in angular1
◷
تاریخ انتشار: 1395/4/24 | ساعت: 4:45
Vote count: 0 Could you point me to the right direction what I should look up in order to understand the following code about trigger: "=trigger" app.module.directive('messageModal', function ($compile) { retu { scope: { trigger: "=trigger", }, controller: ['$scope', '$element', '$attrs', '$timeout'...
How to install 'alternatives' application on RHEL systems?
◷
تاریخ انتشار: 1395/4/24 | ساعت: 4:45
Vote count: 0 I tried setting up new installed Java on RHEL 6.5 with 'alte atives' application (as suggested in few websites) but seems 'alte atives' does not exist: alte atives -bash: alte atives: command not found Also not possible to install with YUM (can not find). What is the way to install it ...
Using haxe.macro.TypeTools fails
◷
تاریخ انتشار: 1395/4/24 | ساعت: 3:28
Vote count: 0 I'm trying to debug a library which uses haxe.macro.TypeTools::findField. I've created a simple code for that: package; using haxe.macro.TypeTools; class Main { public function new() { var test = findField(Child, "hello"); trace(test); } } class Base { private function hello() { } } cl...
How do I export an Excel worksheet and embed it in email using powershell?
◷
تاریخ انتشار: 1395/4/24 | ساعت: 3:28
Vote count: 0 I'm looking to take the first worksheet off of an Excel workbook and embed it into the body of an email. The problem I'm ru ing into is that the first half of my code won't export the worksheet into a nice, single .htm file (which you can do in Excel) and thus, doesn't embed properly. ...
Spark not running on yarn-client mode (state: ACCEPTED) never ends for Spark Submit (with Spark 1.6.1 on YARN)
◷
تاریخ انتشار: 1395/4/24 | ساعت: 3:28
Vote count: 0 I am trying to execute following query on Spark in ya -client mode. $SPARK_HOME/bin/spark-submit --class org.apache.spark.examples.SparkPi --master ya --deploy-mode client $SPARK_HOME/examples/target/scala-2.10/spark-examples*.jar 10 When I execute above query my application gets stuck...
How can i get JavaFX working on raspberry pi 3
◷
تاریخ انتشار: 1395/4/24 | ساعت: 1:34
Vote count: 0 please can someone provide me with simple step by step instructions for getting javafx working on raspberry pi 3. I have tried all day to add javafx to raspberry pi 3 and i am still getting the error: "JavaFX deployment library not found in the active JDK" in netbeans when i try to bui...
X-editable simple database update not updating
◷
تاریخ انتشار: 1395/4/24 | ساعت: 1:34
Vote count: 0 I am a begi er programmer and I am trying to figure out how the x-editable fields work before I can attempt to implement them in a website. I've seen a couple of examples around the web and even on here but the solutions I've found haven't worked for me. I have an index.php file with a...
Convert array to associative
◷
تاریخ انتشار: 1395/4/24 | ساعت: 1:34
Vote count: 0 Using this var data=$("#form").serializeArray(); output following array using print_r($data); in php results to $data=Array( [0] => stdClass Object ( [name] => location [value] =>lko ) [1] => stdClass Object ( [name] => street_number [value] => 425 ) ) into the following array Array( [...
A visual guide to javascript/jquery
◷
تاریخ انتشار: 1395/4/24 | ساعت: 0:22
Vote count: 0 First time poster on here so hopefully this doesn't sound like a silly question. I am a graphic designer / illustrator who took the plunge to lea ed web design, and I'm fairly competent now with html and css. But even though I can implement javascript on my pages, I still struggle to w...
numpy difference between flat and ravel()
◷
تاریخ انتشار: 1395/4/24 | ساعت: 0:22
Vote count: 0 What is the difference between the following? >>> import numpy as np >>> arr = np.array([[[ 0, 1, 2], ... [ 10, 12, 13]], ... [[100, 101, 102], ... [110, 112, 113]]]) >>> arr array([[[ 0, 1, 2], [ 10, 12, 13]], [[100, 101, 102], [110, 112, 113]]]) >>> arr.ravel() array([ 0, 1, 2, 10, 1...
Nutch fetches just the URLs that exist in seeds file
◷
تاریخ انتشار: 1395/4/24 | ساعت: 0:22
Vote count: 0 I am trying to crawl some Urls with Apache nutch 1.11. There are 7 Urls in my seeds.txt file, and I run the command : bin crawl -i urls crawl 22 My problem is that with depth 22, I expect it to fetch quite a few number of pages. But today, all it does is fetching the exact same Urls th...
What is the tips for construct invariant for simple program (like interview algorithm)?
◷
تاریخ انتشار: 1395/4/23 | ساعت: 23:03
Vote count: 0 I am always wondering how to prove the correctness of a simple program. For example, a interview problem like First Missing Positive. The program looks like this: public class Solution{ public int firstMissingPositive(int[] A){ int i = 0; while(i < A.length){ if(A[i] != (i+1) && A[i] >...
Object assign with dynamic variable in Javascript
◷
تاریخ انتشار: 1395/4/23 | ساعت: 23:03
Vote count: 0 I have this initialState in my Redux store const initialState = { isFetching : false, active : {} } Where active is an object. Now I have an action that should append or add a property to active's data property like so: [DASHBOARD_TEMPLATE_DATA_RECEIVE]: (state, action) => { retu Objec...
How to combine two excel files together: need to add extra column and merge rows
◷
تاریخ انتشار: 1395/4/23 | ساعت: 23:03
Vote count: 0 I'm new to VBA so I was hoping someone could help me with my problem. GIVEN: First excel file has X number of columns with Y rows A B C D E (columns) 1 2 3 4 5 (row1) 6 7 8 9 10 (row2) and 2nd excel has A B C D (columns) 1 2 3 4 (row1) 6 7 8 9 (row2) a b c d (row 3) e f g h (row4) tryi...
How to set min and max prices for products using _POST_FLAT_FILE_LISTINGS_DATA_ in Amazon MWS API
◷
تاریخ انتشار: 1395/4/23 | ساعت: 22:00
Vote count: 0 How to set min and max prices for products using _POST_FLAT_FILE_LISTINGS_DATA_ in Amazon MWS API for a particular product with a asin/sku in php asked 16 secs agoSaroj Shaw This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone e...