« first day (617 days earlier)      last day (457 days later) » 

6:04 AM
0
Q: jQuery method chaining on multiple element selector

netikThere are severeal elements with the css class pageLink I would like to replace some strings within these links $(".pageLink").html($(".pageLink").html().replace("x", "y")); The problem is, the second $(".pageLink").html() gets the inner HTML of any of the elements and not necessarily the htm...

-1
Q: Best way to implement TCP Listen service to handle multiple clients

Ankush BindraI have to create TCP service with TCPListener to handle multiple client. At a time 2000 client can connect with our service through their devices. Can someone please provide good example or article where I can find best way to implement that. I gone through multiple forum but confused in multiple...

0
Q: Register module for PerRequestLifetimeManager

Van TranI want to separate Unity configuration in my project to another project, but I have a some questions about the UnityWebActivator class in Unity configuration for MVC. In the UnityWebActivator class, it has this lines: // TODO: Uncomment if you want to use PerRequestLifetimeManager // Microsoft....

0
Q: Clipping Path SVG is not working in Safari 5.1 version

Amitabha GhoshI am using SVG in my HTML. It works perfect in Safari 6.0 version but it is not working in Safari 5.1 version as seen in browserstack The code is : <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="255.766p...

0
Q: Making dynamic web project (jsp,servlet) available on local wifi network

pcjI have developed one jsp,servlet project. In which I am making some images accessible over the local wifi network. I have placed all the images under "WebContent" folder. I have deployed this dynamic project on some machine "machinex", which is connected to wifi network "localwifi". I am able to ...

0
Q: update single value in mysql is taking to long -> timeout

otmezgerthis has been asked several times, but I can't find any solution to my problem. I have a database with a table called 'DataPoint'. It has 513 rows. mysql> describe DataPoint; +-----------+------------+------+-----+-------------------+----------------+ | Field | Type | Null | Key | D...

-1
Q: Query count in marathi

Abhishek Mselect count(*) from table. I get count properly. Is it possible to get that count or convert that count in marathi language as i want to display that count in marathi?

0
Q: How to create subscription of multiple plans in Recurly by one transaction?

Yogeshi have list of plans.i want to allow to select more than one plan to user.i'm not able to find the option to allow them to select more than one plan subscriptions using one transaction only.

0
Q: SQL server database copy to another server (detach and attach)

Gargi NarainI need to copy database from one server to another. We follow the detach and attach method. However since replication is configured on the source server, every time we need to unconfigure the replication and detach the DB to copy. If I stop the SQL services and copy the .mdf and .ldf files, will ...

0
Q: Calling JavaScript method from Java Application

paanipuriI have Java Application(Applet having two buttons Stop and Start) when i click start button method in script will be Executed.But my pure JavaScript code under Chrome Extension.When i click start button Click event method in JavaScript will be Executed.My question is Method calling fine but am ...

0
Q: Install MySQL using pip install MySQL-python on Windows not working?

learningI couldn't install the mysql package and have looked at many solutions but nothing solved the issue. Please help, and tell what I need to do to make this work. After running the command, this was displayed: Collecting mysql-python Using cached MySQL-python-1.2.5.zip Installing collected package...

0
Q: xaml to dynamically add column headers with different data

deathraceI need to have a datagrid with different column headers and cells data. E.g. one column Header is Text whereas other will contain Image object. I could not find HeaderTemplateSelector for this. Since these columns will be generated dynamically, I cannot declare these Header Templates statically ...

0
Q: HTML2PDF has blurry pdf output

rkevx21I need some help, why is it that the resolution of my html2pdf is blurry? How can I adjust the resolution?. Thank You.

0
Q: Change script with "document.all" to work in Chrome and Firefox

韋勳陳Change script from IE(8) to Chrome or FireFox document.body.scroll = "no"; document.body.style.cursor = "progress"; document.all.frameBlock.style.left = document.body.scrollLeft; document.all.frameBlock.style.top = document.body.scrollTop; document.all.frameBlock.style.display = ""; document.fr...

0
Q: Direct Show Filter using libde265

user3909276Hey I am working on a decoder directshow filer. I am using libde265 library for this purpose. But I am facing some issues: HRESULT decoder::Transform(IMediaSample *pIn, IMediaSample *pOut) { FILE * fh; tn++; long sizein = 0; BYTE *bufin; BYTE *bufout; BYTE *centra...

0
Q: Sequelize :: Limit and Order INSIDE an Include[] construct

AweSIMI have the following model hierarchy: User.hasMany(Child); Child.hasMany(Profile); Once I have a User object loaded, I need to load its Children and their associated Profiles according to the following logic: Load all Children for the User, sorted by name. For each Child, load the first thre...

-1
Q: android - High resolution Image - OutOfMemoryError - how to reduce memory

user3523226I have a high resolution Image (named 'content') and I set the ImageView image like it : ((ImageView)a1Butten).setImageResource((Integer)content) I get out of memory. Now, I don't really need this size of image. How can I reduce his size in runtime before I setImageResource? thanks

-4
Q: iOS swift declaring variables

Nabzosi want to declare a global variable which will be used in more than a method , this variable's value will be changed in a method , to be used in another method for example : class className{ var name : String = "" func setNameValue(){ name = "Sam" } func useNameVar...

-1
Q: Optimal Collision System

Dean ReynoldsI'm in a bit of a debacle. I don't know why, I've coded many top-down shooters in the years before. Successfully working, some multi-player, some with bots, mixtures, etc.. Usually in these games I handle collisions using simple instant-hit line collision. But I can't use that for this game, o...

-1
Q: Inserting and Retrieving image path from mysql using java

JavaLearnerI have made a folder with few images (web pages/images/..). I am not sure how to save image path in mysql database and how to retrieve the image path and display the image in jsp... can anyone help me with code...

0
Q: Load Big Data using D3 without performance degradation

user3755402I have scenario as follows, i have a text file, it has 105 millions of data, after aggregation the no: of records will be reduced to 21000-5 lakhs, is there a way to use same textfile memory after aggregation and visualize the data using d3.js without performance degradation.

0
Q: What's a quickfix window and how to use it?

Sagar JainI just found out how to use vimgrep command to find for a particular string in multiple files. I know that the search results are stored in quickfix I use :cnext to go to the next matching pattern. But this is not a feasible option if there are hundreds of search results. Can someone please exp...

0
Q: Mail send with printf function in mail body not working using PHP

shi mkI want to send mail using PHP. Mail body's content include printf function. But this printf function is not working in mail body. I want to display remaining warranty year month and days using PHP. My code is $message.='<p>'.printf("%d Years, %d Months, %d Days\n", $years, $months, $days).'</p>...

0
Q: How to create definition for class level typedef function

anoopeliasProbably a naive c++ question, I have a class in a library which has a public typedef of a function, which is also an argument to its constructor. I want to be able to call this constructor by creating a definition for this typedef. In order to simplify the understanding, I have created the sam...

0
Q: image updated on page works fine only after clearing the browser history in asp.net

NIJISHA MANOHARANI have a page named sample.aspx. This page reads image from user.and saved details shows to the user using a table....When the user click on the edit button it shows all the details back to the fields(including image).Update works fine for me.But The page shows the updated image only after cleari...

0
Q: How to get the list of all the weeks in a particular year using jquery or rails

chaituI have a requirement where i have to populate drop down with list of all the weeks in a particular year as shown in the image How can i achieve the list dynamically depending on the year using jquery or Rails?

0
Q: Run message box when cell value time is exceed system time

KimberlyI have a excel file. I wish to write a vba script to compare the system time and the cell value time. If system time is exceed the cell value time, it will show a pop out message to inform user that, the time is exceed. My file will look like this: I have been research a while but seem like...

0
Q: Base class slot not getting detected

Amit TomarI have a derived class: class LineCurve : public QObject, public CurveShape, public QGraphicsLineItem { Q_OBJECT public: LineCurve(QPointF beginPt,QPointF endPt); QVariant itemChange(GraphicsItemChange change, const QVariant &value); public slots: void printEndPoints(); private: void...

0
Q: PHP/jQuery/Ajax - Oh my god

php.exeThere is a PHP error somewhere in my page... <!DOCTYPE html> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <link rel="stylesheet" href="StyleSheet.css"> <?php $loggedIn = FALSE; setcookie("logged_in", crypt((string)$loggedIn), time() + (864...

0
Q: On select of dropdown option give specific answer in the div tag

AK_56I'm trying to develop a helpdesk & initially trying to input pre defined selected question with their solution. I'm stuck where i need to display different solution to different question depending on the question selected from the drop down list. Please Help <html> <head> <title>H...

0
Q: storing EditText input type date to sharedpreferences

useru22I have a DatePicker (in android) which sets the value of EditText mEdit as the selected date. Now I want to store this date in Shared Preferences. Which of the following would be the best possible solution? Store the date as a String (I don't really want to do it this way) Store the date, month...

0
Q: how to do the java-script validations in MVC?

Aravind KbI am having a step container div in my form. Inside each step i am having controls that should be validate on the next button click, before going to the next step i need to validate the fields on the next button click. <div class="step-content pos-rel" id="step-container"> <div class="s...

0
Q: ExternalInterface callback is undefined AS3

Melbourne2991I am new to AS3, and would like to trigger an as3 function from javascript. AS3 package code { import flash.display.MovieClip; import flash.external.ExternalInterface; import flash.text.TextFormat; public class Main extends MovieClip { public function Main() { ...

0
Q: set android.support.v7.widget.Toolbar images

Syed Raza MehdiI am using android.support.v7.widget.Toolbar with view pager like this : TabLayout tabLayout = (TabLayout) findViewById(R.id.tabanim_tabs); tabLayout.setupWithViewPager(viewPager); the tab is displaying with text of the view pager when i add the dummy fragment to it adapter.addFrag(new Fr...

0
Q: Need only HH:MM:SS in time span string

WaqasI have a time span string as 1.21:00:00 it means 45 hours and i need it as 45:00:00 is it possible to do that in c#?

1
Q: How to set time zone in code igniter?

vipul sharma I working on a php project using codeigniter. Please advise me what is the global way to set time zone for php and mysql . In which file i can set this. currently i am using this before every entry -: date_default_timezone_set("Asia/Kolkata"); $time = Date('Y-m-d h:i:s');

0
Q: R converting data from rows to columns by multiple IDs where columns are not in the same lenth

IdoFI have df with 4 variables: date, geo, name, value I want to transform the name (factorial) from rows to column where the ID is both date and geo. the problem is that each new name column may contain a different number of rows- so I want that my ids contain all possible combination and in some co...

0
Q: How to make enclosed div's height equals to its content?

stellaSuppose I have the following div: <div id="container"> <form> <!-- cotent --> <span>__HERE_SHOULD_BE_THE_ERROR_MESSAGE_</span> </form> </div> The thing is the span's content containing the error message is generated from ajax request, therefore can be quite large. How c...

0
Q: Using Batch file, how do I count number of occurences of a string in an XML?

KeyAsciiI have limited knowledge about batch file so pardon me if I ask any explanation on your answers :) Anyways, here's the problem: I have a text file that contains ISBN numbers, this corresponds on the XMLs that are saved in my hard drive. I want to know how to: read the text file and open each IS...

0
Q: php time() or mysql unix_timestamp()?

user5097040Which is better to get the current time for inserting to database? Efficiency, speed, ram consumption or any other factors which make a person to use this instead of that.

0
Q: Any impact on wifi drivers ,if i use macbook pro as wifi hotspot from ethernet

gurii want to use my macbook pro as wifi hotspot from ethernet .Is there any effect on its wifi driver of it.

0
Q: Convert string to escaped html

JesseI am new to a lot of the ASP.net MVC5 features. I wanted to know if there as a library that would automatically add the escape characters to a C# string that's intended to be output as html? Would HTMLAgility Pack be what I am looking for? Or is there soemthing built in that does it for you? May...

0
Q: Is it always bad to collect all instances in a class variable?

Sven DoughConsider two versions of a simple weather model which stores the location of clouds: class cloud: def __init__(self, x, y): self.x = x self.y = y collection = [] collection.append(cloud(1,2)) collection.append(cloud(4,6)) def update_all_clouds(collection): for c in coll...

-1
Q: Java switch error

Nathan FoxI keep getting this error when my switch is executed. I can run through 'A' but when i try and execute 'B' it throws this error: Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.String.charAt(Unknown Source) at PatientManagem...

0
Q: SCRIPT87: Invalid argument. 245, line 1 character 1

   DSAthere is one page java import "<%@page import="org.apache.velocity.runtime.directive.Foreach"%>" but after execute this page there is nothing in line 1. I was using jquery-1.10.2.min.js file and now I'm using jquery-2.1.4.min.js file. but same issue.

0
Q: Check if query run successfully through python

mat7I have a .sql script that contain all mysql queries. Now suppose after executing the script I want to check if the queries run successfully or not. In scripting if we do echo $? Then it will return 0 if query is success and 1 if its not successful. No I want to do it in python Script. How ca...

0
Q: Table doesnt exist

harry19i want to insert data from my registration form into database entryform. I have created a table named registration which has 7 columns. On running the code i m getting an exception "Table entryform.registration doesnt exist". please help me. Here is the code: enter code here package uclidit; im...

0
Q: How to set simple_form input default value

gmrash= r.input :date_start do = r.text_field :date_start, id: 'date_start' How can I set default value for this?

0
Q: Cordova google map is not working on android emulator

joungonei developed cordova web app. i wanna use google map. google map is working on Chrome but, it is not working on android emulator. i don't know why. it is so strange situation. i use every solution but i coudn't fix it. please help me

posted on July 09, 2015 by yanish

i'm trying to use the message pack library from here i have visual studio 2005. i have added the "msgpack.hpp" file to the "header files" directory + all the other relevant ".hpp" files necessary . I have created my own "main.cpp" file and copied the program from the link : #include <msgpack.hpp> #include <vector> #include <string> #include

0
Q: Multi language web app using angularjs with laravel-5

Arjun NaraleThere is one dropdown. Dropdown its contain multi language.when i select language from dropdown change the language whole application

0
Q: Pushing unindexed numeric keys to array Javascript

Nabil GhulamHow do you push unindexed numeric keys defined by a variable into an array with Javascript? var arr = [{ "1" : [{ "firstname": "John", "lastname": "Doe", "job": "Stackoverflow" }] }]

0
Q: Creating a Hadoop production cluster

Kunal GaikwadMy organisation is retail. We are going to launch an app soon(10 days tops) in India for starters. I want to set up a Hadoop cluster for the same. We are expecting a minimum of one hundred thousand transaction/day for beginning. There are about two hundred thousand images on the apps and about on...

0
Q: Parse ldap filter to escape special characters

Robert MugattarovAn ejb service takes a ldap filter as string and returns a result from ActiveDirectory. The problem is that sometimes attribute values contain special characters that need to be escaped for the entire filter as specified here: https://msdn.microsoft.com/en-us/library/aa746475(v=vs.85).aspx and fo...

0
Q: XSLT - Add node before given node

sanjayI need to and new xml node before given node. Example : <doc> <a></a> <b></b> <c></c> <a></a> <d></d> <e></e> <a></a> </doc> I need to add new <n> node before every <a> node. so the output should be <doc> <n></n> <a></a> <b></b> <c></c> <n></n> <a></a> <d></d> <e>

0
Q: unable to open .jar executable file from another java project

FarheenThere is an application inside which there are three buttons , when user clicks on the 1st the notepad exe file opens but when user clicks on the second the java .jar file doesnot open . can someone please help following is the code i am posting private void jButton2ActionPerformed(java.awt.e...

0
Q: Pin a metro App in Win 8/win10

Quang Vu LinhI want to Pin taskbar an application of metro app (app of win 8/win 10) please help me Pin Taskbar By C# in an metro app by C#..thank you read my risk! http://i.stack.imgur.com/b9zNR.png

0
Q: Jenkins build failing due to Maven dependencies not been configured

M06494hWhen built a Maven based project on Jenkins it is failing. Asked developers in my project came to know that the dependencies x, y, z were not been built and their jar files are not getting pushed to Nexus repository. We use Sonatype Nexus, I believe the dependencies were not been configured in ...

0
Q: IOS alert message with sound

KKhatdoes anyone know how to implement an alert message with sound? I essentially want it to use a default ios alert noise repeatedly while the message is up and off when dismissed. Right now I have the message implemented as such: UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"My Alert M...

0
Q: setTimeout happens only once in a loop expression

R00t_R3zThis is an example: function func1() { setTimeout(function(){doSomething();}, 3000); } for(i=0;i<10;i++) { func1(); } after executing it , the delay happens only in the first loop, but it didn't happen in the rest of the loops in that 'for' expression. I want to make the delay happen i...

0
Q: delete duplicate records and keep one

H. SchutteUsing TSQL. My problem is I have a list of usersid and locationid. U user can only have one location. With the following query I get a list with all users with multiple location id's Select * From Userslocation WHERE [USER] IN ( SELECT [USER] FROM Userslocation GROUP BY [User] ...

0
Q: Convert Pajek file to CSV in shiny using R

user101does anyone know how to read pajek file in shiny and then find the degree of each vertex and output it to CSV file in descending order? Here's the Pajek file i want to import in and export the degree into CSV. In R, i know how to code it normally like this: #read the pajek file in igraph repon...

0
Q: Lucene indexing on Hadoop file system (HDFS)

Arun VasuI am in a need to merge the Lucene indexes kept on HDFS. Wrote the customized version of the normal merge tool provided by Lucene. Code base is given below HdfsDirectory mergedIndex = new HdfsDirectory(new Path("/mergedindex"), new Configuration()); IndexWriter writer = new IndexWriter(mergedIn...

0
Q: Query to LDAP on attribute "accountExpires" does not work

JoyI have written a test Java application which retrieves selected LDAP user account attributes and prints them to console. Interestingly of the two date/time fields "accountExpires" & "pwdLastSet", only one returns valid value. "accountExpires" field returns 0 despite having a Long value. According...

0
Q: convert timestamp with timezone to readable date

MonnsterI want to convert timestamp to readable date format, the timestamp is : /Date(1434434419100-0400)/ but not sure how to deal with it together with the timezone issue. date('Y-m-d H:i:s', substr($editDate, -20, -7)) Thanks

0
Q: Using Url.Action and route data in Javascript

AkbariI'm using Url.Action to generate the request link in an AJAX call. Then I manually append the Id to it. $('#form #field').keypress(function (e) { if (e.keyCode == 13 || e.which == 13) { var val = this.value; var url = '@(Url.Action("action", "control"))' + '/' + val; ...

0
Q: angular js contoller function is not working

Nitishi am doing with dat function and want to calculate date difference with controller function "dayResult()" but if i write code in it,angular function stops working.can anybdy tell how to get result through dayresult() function AngularJS Plunker document.write(...

0
Q: Check radio button before opening mini browser jquery

Homnath BagaleHi i have used paypal's adaptive payment and it opens mini browser when I click on pay button, but I want it to be opened only if the radio is checked. <script type="text/javascript" charset="utf-8"> var returnFromPayPal = function() { document.getElementById('loading').style.display = 'blo...

0
Q: Bulk opration by mongooes

Manish TrivediI want to store bulk data (more than 1000 or 10000 records) in single operation by mongoose. But Mongoose do not support bulk operation so I will use native driver (mongodb for insertion). I know that I will bypass all mongoose middleware but Its ok. (Please correct me If I am wrong! :) ) I ha...

0
Q: php update m3u8 file before curl file

espooi have m3u8 file like that #EXTM3U #EXT-X-VERSION:3 #EXT-X-TARGETDURATION:11 #EXT-X-MEDIA-SEQUENCE:561 #EXTINF:10.799611, _c10_262_c10_148_c10_561.ts #EXTINF:9.599644, _c10_262_c10_148_c10_562.ts #EXTINF:9.599667, _c10_262_c10_148_c10_563.ts #EXTINF:10.799611, _c10_262_c10_148_c10_564.ts #EXTINF...

0
Q: App got crashed when i reload the url in cocoa webview

santhoshIn my cocoa application, I am using WebView to load my URL. For my requirement, I will reload the URL for every 10 minutes. But sometimes, the app got crashed when I am trying to reload. I am using the below code to load the URL in webview. NSURLRequest *request = [NSURLRequest requestWithURL:[N...

0
Q: How can I add a "Add new" in a choices list in Symfony2?

OltarusI have two entities: Song and Author.The Song knows the Author with a ManyToOne relationship. I generated the form for Song that I use in the new and edit pages. Here is what it looks like: // ... public function buildForm(FormBuilderInterface $builder, array $options) { $builder ->add('n...

2
Q: GestureOverlayView is not clearing

Hp .I use the following line of code to clear my gesture but its not clearing and NullPointerException Occurs. public void clear(View view){ gestureOverlayView.cancelClearAnimation(); gestureOverlayView.clear(true); }

0
Q: Unable to load Utility File

Gaurav JagtapI am trying to load a utility file called as apiclient which is present in app/stores/util My distribution folder has a file cfile.js which is calling this file using the following code : var api = require('../util/apiclient'); I am able to load the component files etc which are present in ...

0
Q: Fabric JS drawing becomes non responsive

Nikhil KhullarI have been developing a free hand drawing app using Fabric JS, and some custom brush classes on top of it. However, when I tested it on an iPad now, certain brushes specially spray paint for example become super heavy and almost non-responsive after only 4-5 strokes. Irrespective of my project...

-1
Q: C and choose betwen structure

drVrhI would like a multi language menu on my micro-controller, but I don't know how. I thought of some ideas for structure languages who have more sub structure (English, Slovenian, German, ...), and on sub structure have: char title[] = "MENU"; //englsih But I don't know how access into my stru...

0
Q: While filtering date time to date am not getting any result

jas backerI have query like this: select empid,transDateTime from Trans_Details where empId='16510' and transDateTime >='2015-05-07 00:00:00.000' and transDateTime< ='2015-05-07 23:59:59.000' I'm getting output like this: empid transDateTime --------------- ----------------------- 16510 ...

0
Q: Entire file is not read in C (EOF occurs unexpectedly)

paneer chatpataI am trying to print contents of a file with approximately 4000 characters. Somehow the program records only the first 220 characters and terminates. int main(void) { char ch = ' ', file_name[25], payload[3904]; FILE *fp; printf("Enter the name of file you wish to...

-2
Q: Validations in SignUp page (Android system)

SruthiI'm trying to create a Sign Up page for my Android system. I need to check validations for it like email_id already exists ,password should contain more than eight characters ,mobile number field should contain maximum 10 digits .How can I do it?? This is my code..I use java rest webservices and ...

0
Q: How to batch process contents of a database table?

jcmI want to do the following: Connect to a Postgres database and select the contents of a particular table 2 rows at a time Take the 2 rows, convert them to CSV strings and send that string over the wire to a RESTful API endpoint The problem I am having is that in order to process the ResultSet...

0
Q: JQuery Expand/Collapse On Postback

aspProgI have this code to expand/collapse (toggle) that works fine. But when the page postback I want to maintain the state of the divs. Right now if I refresh the page all the divs are collapsed. How can I do it? JS: $(document).ready( function () { $(".header").click(function () { ...

0
Q: Threads synchronization with FIFO order

Olaru MirceaI found this helper class: public sealed class QueuedLock { private object innerLock; private volatile int ticketsCount = 0; private volatile int ticketToRide = 1; public QueuedLock() { innerLock = new Object(); } public void Enter() { int myTick...

0
Q: java.lang.IndexOutOfBoundsException: Index: 38, Size: 38

ExclusifiedI'm currently working on a project, and I got this error. I do not know why it stops at Index 38. The error is org.apache.jasper.JasperException: javax.el.ELException: java.lang.IndexOutOfBoundsException: Index: 38, Size: 38 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j...

1
Q: Tizen Template is not showing in Tizen IDE new Project?

iOS DeveloperI downloaded Tizen SDK Manager and installed Tizen SDK for Native Application Development like below Image. Now it is not showing Application Template for Tizen, however it is installed and showing in Template folder Folder has Native Template How to add Template in IDE? Thanks

0
Q: Prompting user for a save location on DotNetZip?

Kaan DemirelI can zip the selected Folder and save it to Desktop successfully. The thing I am wondering is, how can I prompt the user to select a save location? (Like a 'save as' functionality) using (ZipFile z = new ZipFile()) { z.AddDirectory(currentUrl+folderPath+sFold...

0
Q: How to insert data into html table without database?

maharlikaHow can i insert data into html table without database first, and then when the table have the data it will be save on the database last, sorry for poor english. Thank you in advance

0
Q: jQuery multiple id sets multiple patterns

Simon HartleyOK, sure this is really simple, but I'm new to Java / jQuery so all help knowledge is greatly appreciated! I have three sets of information, but i want each set to behave the same way, when I check a box, I want a certain div to appear, then disappear when the checkbox is unchecked... Started w...

0
Q: How could I dynamically call the function with parameters

user3675188Let's say I put the function calls into string of array, ['next_release()', 'last_release("com_disagg")'] Hope to get the equivalent results of following How could I get it in Python iterate the array and dynamically call the function with params. next_release() last_release("com_disagg...

1
Q: Unfortunately app has stopped when building settings using fragments

IloI tried to make settings for my app using this guide from google Settings | Android Developers. But whenever I try to open settings it says Unfortunately has stopped. MainActivity.java ... Intent startSettings; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(sa...

0
Q: Can we have multiple global.asax in mvc4?

skiskdI have mvc4 application, and I also have weapi applicatoin. Following way I have set up in my IIS 1 website - http://www.xyz.neet is point to D:\Application\Website - this had a global.asax file. 2 added webapplication to above website- http://www.xyz.neet/webapi is point to D:\Application\Websi...

0
Q: Is it possible to use Azure SeviceBus Queue with any app.config file

Nikhil ChavanI have created a POC project for Azure ServiceBus Queues and Azure Blob storage in Visual Studio 2013. I have simply added Nuget Packages for AzureStorage and Azure ServiceBus into project which added some configurations in projects app.config file. I just changed the connection strings in app s...

0
Q: ActiveMQ Redelivery Police for a message

PeterIs it possible to use a redelivery policy for a single message in a queue? So different Messages in a queue can have different policys. I found just a setting for the whole queue. Best regards, Peter

0
Q: Multi Input Password functionality in rails

Bharat soniI am searching about the functionality like filtered inputs for the password. I need a functionality where the user will inputs their password in four diff-diff inputs as password. I have device gem with me, But Is it possible to have that functionality with that gem. If any other gems availabl...

0
Q: Using Cocoa with GLFW3

RonaldI am fairly new to GLFW and Cocoa programming but have used C/C++ quite a bit over the years. From what I've gathered, GLFW abstracts the OS-level windowing details for you but does not allow for adding of menus and buttons. Additionally, it abstracts out input handling (e.g. keyboard input). So...

0
Q: Git pull not does not work when providing branch name in the command

Shashwat TripathiI am not being able to understand this case. Why just git pull origin develop does not do the fast-forward. Why I need to run git pull to update the files. It is a server copy. Local changes are never made. Developers update their work in the develop branch and then a pull is performed on the se...

0
Q: Best way to highlight datagridview from search box

Hyounmin WangI have log file continuously written to the datagridview. However I want to highlight row from search bar when clicked. I can easily go over 10000 lines of log from Ios, so I want it to be efficient as possible. How would I do it? Previously this is what i did which gives out error. It just doe...

1
Q: Validating multiple check boxes in a HTML form that can't be the same name

SadCoderI have a form with 2 different group of check boxes that are all required to have different names. The type of validation I need is that the user must select at least one option from Group 1 and at least one option from Group 2 before the form allows them to submit. I'm sure there is some way to ...

0
Q: An exception occurs while creating storage account in Azure through API in C#

vardhini muralidharanenter code here I have created a class to get the token that is needed to create the credentials then while creating storage account in azure environment using c# an exception "The server failed to authenticate the request. Verify that the certificate is valid and is associated with this subscrip...

0
Q: Cannot play a rtsp video stream which dont have a audio channel

ShamendraI used VLC player to stream my rtsp stream. Using VLC i can be able to stream that, but using some other player(Lead Tools player) i am unable to play that stream. Anyway in my stream I do not have a audio channel. So what would caused to make that unplayable. I used wireshark to analyse data pac...

0
Q: Insert PDO can't save articel record if any mysql query code in articel

Riski FebriansyahI have a problem that is still unsolved, with query insert in the PDO. My example will save an article like this. ARTICEL : This is the script mysql query insert serves to store data. code: <? php $ sql = "INSERT INTO MyGuests (firstname, lastname, email) VALUES ('Riski', 'febri', 'NAM...

0
Q: Getting specific lines in a text file and pass it to an array

OrdinaryProgrammerNot sure if this has been asked. But here it goes. Let's say I have a text file containing 1 Why 2 We 3 Please 4 OR 5 I 6 AM 7 HUMAN 8 OR 9 ME Now I want to get lines 5-7. Do note that the OR word acts like a delimiter in the text file. I know the usual way of reading a text file in python i...

0
Q: Number of key points using SURF detector in matlab

wilyam walassi tried to count the number of key points that are matched between referenced image and query image i need to calculate the number of inliers points matching , any one can tell me any function can calculate that ... in this example there is a function can show matched points : figure; showMatc...

0
Q: Can anyone say how to include only CDN of Bootstrap in Angular Js

Vasanth I want to validate form using angularjs and angular-material built-in directives including messages under field like, input, select, radio buttons. There are some specific requirements: The Form fields should have equal heights The radio buttons i.e. md-radio should be inline The location of mes...

0
Q: How to get rows that fully cover a given time range?

RobertI'm building a web application that has a javascript chart in it. The idea is to select a time range, get the relevant data (temperatures) from the DB, deliver it to the page and display it in the chart. The data's datetime does not come in regular intervals, so from one row to the next, the tim...

0
Q: how to displaying data array with echo in php?

AliminI Have an array like this, who I print_r() from a sql query: Array ( [rfq_number] => [id] => 3 [nama_customer] => syaifudin amin [date] => 07-10-2009 [ship_to] => syaifudin [terms] => prepaid [phone] => 08378979487 [description] => deskription1,desk...

-2
Q: Validation HTML4

ondra15I have problem with validation on my follow code: <div id="change-lng"> <button class="select-lang"> <span class="fa fa-angle-down"></span> <a class="en flag actv" href="http://www.my-address.com/><span>english</span> </a> </button> <div> <a class="cz flag" href="http:/...

0
Q: Rails routing "missing required keys" error when "missing" key IS provided

honktronicThere are tons of responses to this general problem, but 99% are newbie errors or nested resource errors. Hopefully I'm not missing something obvious. Note: I'm using Rails 4.2 So, I have this error: No route matches {:action=>"-------", :controller=>"admin/-------", :format=>:js, :id=>23, :us...

-1
Q: Activemq not start in linux mint17

user3656511Please see the following console output after executing activemq console command: /opt/apache-activemq-5.5.1/bin $ sudo activemq console sudo: /var/lib/sudo/vivek writable by non-owner (040777), should be mode 0700 [sudo] password for vivek: INFO: Loading '/usr/share/activemq/activemq-options...

0
Q: Emberjs ember-i18n Pluralization not working

Aruni have the following in my en/transaltion.js 'AllDogs': { 'Dogs' :{ 'zero': 'ALL DOGS, ', 'one': '1 DOG SELECTED', 'other': '{{count}} DOG SELECTED' }} hbs has the following {{t AllDogs.Dogs count=filteredCount }} Which is not showing anything but if i...

0
Q: How to update data from database with api call in angular

Naren-MehtaI have a api call who give me the list of data, and I am iterating data via ng-repeat (its a list of more than 100 items) For getting list of data I have call an Api in App Controller in angularjs like this: var path = serverUrl + 'api/getAllMails'; $http.get(path).then(function (result) {...

0
Q: Select Where In - for all line

user2621595I have an extra information to catch about my users, the sitecode associate. To do that, I use a request with a WHERE IN construction. But I have sometimes the same value in the IN clause, and I need to show the data for each line (my request return the result only once.) Here is my request : ...

0
Q: canviasjs is not showing chart multiple times

Zahirul HaqueI am facing problem to show chart multiple times in a page. following is my code. my application is dynamic. but if the following can show the chart twice or more, my problem will be solved. This code is showing chart once. <!DOCTYPE HTML> <html> <head> </head> <body> <script type="text/jav...

0
Q: How to make carousel mobile friendly?

RajanI am using Enigma theme for my site. and it comes with default slider-carousel. its works fine on my laptop but when i open it on my Phone the slider shrink so i cant see the content of slides(images). my website focus is on those slides so i want that when on mobile view it automatically crops ...

0
Q: Google Font not working in Android Chrome

et23kochieSo I have two websites I have added a Google Font to and it is working in one but not the other on my Android 5.2 based Chrome browser. Seems to work fine in all other browsers. Not working: http://www.averagejoesarchery.com/ Working: http://www.imprintitems.com/ Any ideas on what I am missing...

0
Q: Spark SQL insert into select issue

cwaletINSERT INTO hive_table SELECT b.id,a,id FROM hive_table_1 a,hive_table_2 b WHERE a.id BETWEEN b.id1 AND b.id2; execute such SQL on spark-sql got errors: ERROR CliDriver: org.apache.spark.sql.AnalysisException: missing TABLE at 'hive_table' near ''; line 1 pos 12 at org.apache.spar...

0
Q: ImagePng sometimes returning false depending on codepath?

jeromioI am using the phpqrencode library to generate QR codes within a WordPress plugin. There are 2 possible codepaths. In one, the image is created and everything is happy town. In the other, the call to ImagePng within the library returns false. I am writing lots of debug info to a file. The only ...

0
Q: White footer under footer when hosted online but not in localhost

AkshayThere's a mysterious white area under the footer in almost all bootstrap themes when viewed from Google Chrome but it doesn't show up when viewing from Internet Explorer or Mozilla firefox. For e.g http://webthemez.com/demo/mentor-free-html5-bootstrap-coming-soon-template/ But this white area u...

-1
Q: Jquery ajax not calling server side function

David BeckhamI have solution structure as: I want to call recommendationProcess function from CTL_RateRecommendationDetails.ascx.cs from CTL_RateRecommendationDetails.ascx So i written code as: $.ajax({ type: "POST", url: "/UserControls/CTL_RateRecommendationDetails.ascx/recommendationProcess",...

0
Q: Import Material design library android studio

D4rWiNSI am trying to import the library. I added it to the gradle script compile 'com.android.support:design:22.2.0' If I open the project structure( control+shift+alt+s ) It is added on dependencies of the module. But If I try to write the import it doesnt appear. There is a photo with the projec...

0
Q: Data not storing in mysql database table android while registering in Login application

shianraI am writing code for login and register application. Below is the android code & php script for register. The values are not storing in mysql database table (my_table). When i open "http://fooddoof.freevar.com/Register.php" in brower i am getting the "Parse error: syntax error, unexpected '$use...

0
Q: How to animate multiple path on a Leaflet map

M ZhouI am currently learning D3.js and leaflet, I am new in this area. A example I learned from a blog, http://zevross.com/blog/2014/09/30/use-the-amazing-d3-library-to-animate-a-path-on-a-leaflet-map/ which gives how to animate a path on map. I try to figure out how to animate several paths after fi...

-1
Q: How to copy JSON in javascript?

user3265807Need to clone JSON inside the same JSON at different hierarchy level. Below is a JSON for example Initial code goes like this: { "data": { "moduleName": { "content": { "moduleName": { "property1": "Lorem Ipsum Dummy Text", ...

-1
Q: C# Distinct List from a List

PanosPlatI have the OccupancyResultList list List<Occupancy> occupancyResultList = new List<Occupancy>(); of Occupancy public partial class Occupancy { public Nullable<System.DateTime> on_date { get; set; } public string type_code { get; set; } public Nullable<int> available { get; set; }...

0
Q: "The system cannot find the file specified" error on process.Start();

Daria ShalimovI'm trying to get the process respond as a string so I can use it in different place in my cod , this is the solution that i have so far const string ex1 = @"C:\Projects\MyProgram.exe "; const string ex2 = @"C:\Projects\ProgramXmlConfig.xml"; Process process = new Process(); ...

0
Q: C: scanf and program exit

user3318528I'm trying to learn C programming with some practical exercises. This one for example should read 2 series of numbers (days of the month) input by the user. The problem that I'm having is that after the first serie, that works ok, the program skips the other scanf commands and terminates. Why...

0
Q: Angularjs 1.4 on-change not firing with Select

Siva KarthikeyanPlease find the plunker code app.js var app = angular.module('plunker', []); app.controller('MainCtrl', function($scope) { $scope.name = 'World'; $scope.levels = [{LevelId:0,LevelName: "Level 1"}, {LevelId:1,LevelName: "Level 2" }]; $scope.updateLevel = function() { ...

0
Q: Find unique elements in more than two arrays in ruby

PreetIs there any way to find unique elements in more than two arrays in ruby ? I have aar1, aar2, arr3, arr4 arrays and I want to find unique elements in these arrays.

0
Q: Query to merge 2 rows from one column into 1 row with 2 columns

ServI need to process a querystring and create records out of them. Originally the format was an escaped string in this format: relativeFilePath1^relativeFilePath2^relativeFilePath3^relativeFilePath4 where the ^ character was escaped with %5E. Is used to split the string at this posistion, create...

0
Q: file writing/saving in file api using cordova intel xdk

yuva rajI want to save what user typing in textarea as a file. For that, I'm using file api but i couldn't. I'm new to file api. Please Help me. Many Thanks! Here is my code. document.addEventListener("deviceready", onDeviceReady, false); function onDeviceReady() { window.requestFileSystem(LocalFi...

0
Q: Access Item in Array for text in TextView

NicholasI have a PFQuery that is querying a certain set of objects that I need to be displayed in a TextView. Normally I would do this like so: NSMutableString *favTeamsText = [NSMutableString string]; for (NSString *team in currentUser[@"FavTeams"]) { [favTeamsText appendFormat:@"%@\n", team]; } ...

0
Q: Seeding a random generator with the random header

JeromeJIs there a way to simply seed a random generator but by using the <random> header instead of rand() and srand()? I found the documentation about it quite abstruse. I did notice that there is a seed_sq entry but I fail to understand it and it lacks example. Lastly, my search engine only yielded...

-1
Q: How can I access the vector of ints in an unordered map using the iterator to the map?

John Lui unordered_map<int,vector<int> > mymap; while ( i < n ) { cin>>foo; mymap[foo].push_back(i); i++; } auto it = mymap.begin(); while ( it != mymap.end()) { // How do I access the vector of ints pointed to by the iterator? } Here, I ...

0
Q: how to maintian php multidimensional array values..and use it in the same page for every form submit

NeenuI'm new to PHP. I'm trying to develop a quiz kind of application in PHP and MySQL. with 1 fetch, I fetched say 10 questions along with its answer and answer options and storing in php multidimensional array. My aim is to display 1 question at a time and the form will be submitted. The problem I'm...

0
Q: Smallest data type in C - can I define a one bit variable?

RoyI need only one bit to represent my data - 1 or 0. What is the best way to do so in C? The "normal" data types are too large.

0
Q: Perform a batch of mouse event in a loop

Zigma EmpireI am trying to trigger a set of mouse events on the fly using a loop http://plnkr.co/edit/r3vqU7kbm0lo5AwHk1Zw?p=preview window.performEvent = function(eventType, element, data){ var clickEvent = document.createEvent("MouseEvents"); clickEvent.initMouseEvent(eventType, true, true, windo...

0
Q: Routing issue in laravel5

DikshaI have following url in laravel: 1.Need to change From: localhost/laravel/page/about-us/ to localhost/laravel/about-us/ My Route.php is Route::get('page/{title}/', array( 'as' => 'page', 'uses' =>'Frontcontroller@page')); But When I change to this, Route::get('/{t...

0
Q: how to get current date from server in iOS?

guruprasad gudluriI am sending today date to server but server shows yesterday date what's wrong with me? here i am using the code for getting date and sending date . NSString *dateValue = borntext.text; NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; [formatter setDateFormat:@"MM/dd/yyyy"]; NSDate *...

0
Q: Program uses unchecked or unsafe operations, recompile using -Xlint:unchecked for details

Chitransh GauravI am just trying out a simple code and getting this Note. Program is compiled and executed successfully, but this note disturbs me. - What are the unsafe or unchecked operations here? And what is meant by unsafe or unchecked operation ? - What does -Xlint:Unchecked do? and how to use it? I used i...

0
Q: how can i run php+rscript on windows server?is it possible?And if possible then how?

shekharphp code:- // execute R script from shell // this will save a plot at temp.png to the filesystem exec(".\R\R-3.1.3\bin\Rscript .\R\R-3.1.3\bin\my_rscript.R"); // return image tag $nocache = rand(); echo("<img src='temp.png?$nocache' />"); } ?> //my_rscript.R args <- commandArgs(TRU...

0
Q: Java get interface class from Annotation

RnetI'm using reflections to get a list of java.lang.annotation.Annotation Annotation.getClass() or Annotation.getAnnotationType().getxxx() any class methods do return the interface class of the annotation. I need the interface class of the annotation in my Spring application to lookup beans by ann...

0
Q: Manipulate a data frame in R

Waleed OmerI have a table that looks like this: id pop fre A:1 sh 0.6 A:1 mi 0.2 A:2 sh 0.9 A:3 mi 0.5 .. .. .. What I want is creating a new table with the second column (pop) as a column names and values of (id) column without repetition. The corresponding values of (fre) column is to be u...

0
Q: Maven Repository Server - Getting User Name and Password

SadlilI have written a basic maven repository with java upon HTTP. That can handle both maven, gradle publish and dependency-request. I used Embeded jetty and Servlet to handle the request. Now as like original repo or archiva, they some time need userName and password for publishing or getting artif...

0
Q: Trouble with TSQL calculation - date diff giving me troubles

Jake McBrideI am having getting proper outputs for this functions. Does datediff only calculate the difference in days for days in the same month? When I pass in a date in the form of '01 Jan 2015' it always sends me back a 0 =/ did I miss something in my logic or syntax? CREATE FUNCTION dbo.CanPolicy ( ...

-4
Q: ASP.NET MVC - 'object' does not contain a definition for 'ID'

ArsalanKI got error: object doesn't contain a defination for 'StyleCode'. Infact I get list of record in model when check it on breakpoint what am I missing? HomeController.cs public ActionResult Index() { using (var context = new ApronPointEntities()) { ...

1
Q: I Want to replace yes/no option with check or crossmark dynamically in php

abstractI have a MySQL table column with enum data type "1","0" (Yes,No). On runtime I want to change the yes option with checkmark and No option with crossmark. I am using bootstrap glyphicon. So far I have done the following : <?php if ($row_healthplans['PlatinumPlan']=1) { echo '<span class="glyp...

0
Q: How to invalidate an google oauth 2.0 access token when user changes account password

prodeveloperI have the below scenario with google oauth 2.0 phonegap application A user logged in to my phonegap app with google oauth 2.0 The user changes account password from website after login to the app The issue is the user still capable of requesting google apis with the existing access token. Pl...

0
Q: Why Jvm is unresponsive when starting a docker container to run some commands

trinityI write a java application, It spawns a process to run a command in docker docker run --dns=127.0.0.1 --name abcd -v /tmp:/share appium /test/run.sh But, when the docker starts to run, some warnings appear. *** glibc detected *** /usr/xxx/java/bin/java: free(): invalid next size (fast): 0x000...

-1
Q: queryIntentActivities returns empty list

TerryqueryIntentActivities (of Android PackageManager) sometimes returns an empty list, even though the app being checked does contain one or more activities. It seems that an activity which is named like this in the Manifest, is NOT found/listed:

0
Q: Why the printk console_loglevel can be lower than minimum_console_loglevel?

Nan XiaoMy Linux distro is RHEL7, and kernel version is 3.10.0. Form the printk document, I know minimum_console_loglevel definition: minimum_console_loglevel: minimum (highest) value to which console_loglevel can be set Querying current log level of printk: [root@localhost kernel]#...

0
Q: All of the music file names from SD card can be displayed in TextView, but not in ListView?

SriI am trying to make a media player and for this I need to show all of the mp3 files stored in "/sdcard/Music/" folder (and under its subfolders) in a listview. But the problem is, I cannot access the files that are stored in the subfolders,it is only showing the names of files which are stored in...

0
Q: Bootstrap input-group-addon

PowkachuI have a problem using the class input-group-addon: my html code is generated by JavaScript and I generate it in identical structures in my various pages. But, in one page, it works, and in another page, it doesn't work. I can't figure out why! When it's working: And when it's not: Here i...

-1
Q: Division by zero in java

Raj MalhotraWhy is it that division of an integer by 0 gives ArithmeticException whereas division of a non-zero double or float by 0,prints Infinity. Also division of an int 0 by 0 gives ArithmeticException whereas division of a double or float 0 by 0 gives NaN(Not a number). public class First { public...

0
Q: Number Format Exception in Solr

Ajay KI am trying to do data import handler in Solr.But not able to index the data from solr using the full_import command.It is giving a NumberFormatException even though I have defined the fields as string in schema.xml.I am using 5.2.1 version of Solr. WARN - 2015-07-09 07:14:19.137; [ king...

0
Q: Call parent class method from child in ReactJS

Bulibiki have a problem in ReactJS I want to call this.props.onAction() method from Child class but i have an error: Uncaught TypeError: this.props.onShotImageClick is not a function http://jsfiddle.net/01fbL37L/ I want to call this method when buttons are generated dynamically in Parent class. ...

0
Q: Can't get the content of wysiwyg text editor

Slimen TunisI'm using this jquery plugin to create a wysiwyg text editor, I created a textarea where I want to display the text editor: <textarea class="editor" rows="3" name="textEditor" id="textEditor"></textarea> and then I called the jquery function: <script type="text/javascript"> $(document).ready...

0
Q: How to check that the current time is before 6 am of today in MVC webapi using c#

user3374119as i am new in programming doing my college project. i am creating one android application using web api in mvc c#. i just want to check that the current time is before 6 am of today and check the request counter b less than the specified number. so how could i get that specified date from the da...

0
Q: How to polyfill element's methods?

VandervalsMany times I find that I need methods that are not so widespread. I know I don't need a polyfill to solve this everytime but I think they are usefull and I'd like to know the steps to implement them. In this case, i'd like to polyfill the element.closest() method, but this is just an example. No...

0
Q: Hive: calculating running DISTINCT

lucaceroneHi is there a way to calculate running count distinct in HIVE? I have a data frame that contains date and hours and the id of people that are currently visiting a website. What I would like to do is to know the "cumulative" count distinct of the id split by date. I can not use group by dt, hou...

0
Q: Unable to install local modules in package.json dependency list. Defined by file path

Moin QidwaiI have the following package.json at the root of my app. .... "dependencies": { "LessonApi": "file:apis/lesson", "SearchAPI": "file:apis/search", "SlotApi": "file:apis/slots", "UserAPI": "file:apis/user", "bcrypt": "^0.8.3", "co": "^4.5.4", "co-mysql": "^1.0.0", "koa": "^0.20.0", "koa-basic-auth...

0
Q: What's wrong with this SQL command?

Matheus CirilloI have a problem with a SQL Command. I have a string that holds a SQL command, but when I run, it returns me an error: Column n1 does not exist Note: n1 is what I typed in my textField. Code: String nameprod tf_NameProd.getText = ();          String sql = "select * from Product where prod_name...

0
Q: Does EL Expression evaluation depend upon jsp version or Servlet Container version?

Ankit SinghDoes EL Expression evaluation depend upon jsp version too? Or is it that it only depends upon Servlet Container version? My servlet version is 3.0 and JSP version is 2.1 After googling a bit, I found out that my JSP should evaluate EL Expressions efficiently because Servlet Container v...

0
Q: Probs to access "localhost" after Osx Yosemite Upgrade getting "Forbidden"

user5097283can somebody help, my prob : after upgrading Osx Yosemite (To Last ver) i got an error Called : 403, or "Forbidden" from the root link in local environment, instead of the "IT Works" After verified httpd.conf, and other apache confs file, everything appear to be Ok. Any ideas ? Thank u.

0
Q: PHP Loop determine 4th iteration but if the iteration is less than 4 echo something

Joel Enanod JrHeres the scenario, I have array with 7 items and I want to separate them in every fourth iteration.. just like this $counter2 = 0; $counter3 = 0; $counter4 = 0; $sample_array = array('Aso','Pusa','Daga','Kuting','Tuta','Bubwit','Boom'); foreach($sample_array as $sample_array...

0
Q: how to add plugin manually into phonegap iOS platform only?

lincI got a phonegap project that only have the builded iOS platform files. Now I need add some plugin into the project, how can I do it. I try to download the plugin source file, add js into js folder,reference it in html file. And the add object-c file into the plugin folder. But the plugin doesn't...

0
Q: java script wrong Number Displays

ashkufarazJs code show(0101001003); function show(number) { alert(number); } Online Demo 0101001003 is not binary number but this function show alter(17039875)!? why?

0
Q: What version of libpng is used in different versions of OpenCV?

user3432549In my application I am reading .png images and doing some processing. The output with OpenCV 2.4.9 and OpenCV 3.0.0 (both for windows) are not bit exact. What may be the potential error. Is there any difference in libpng in both the versions which is causing the problem. Also is there any possib...

0
Q: Tcp socket using rx android observalbe.how to handle blocking calls?

godather1990I have TCP sockets to stream data and its a two way communication. When i am inside blocking call like(in.read) ,i may have to write to sockets. So i want to schedule these task let say 100ms to each task if i got the data Observable will emit it other wise to the next. But i am not finding way ...

0
Q: Adding image prepend is not appearing

alipkoki am a newbie to Javascript/jQUERY . Im loading a div from a url using load() .Then i would like to insert an image on the left on a span . Im using prepend but the image is not loading.When im running the code from console the image is loading properly. Your help is appreciated, The code ...

0
Q: Does Parse.com support message queue?

Mostafa JamarehI am using Parse.com in order to message to my clients but i found Parse.com does not buffer messages and if my clients been offline after they become online they just receive the last message How i send messages: ParseQuery query = ParseInstallation.getQuery(); query.whereEqua...

0
Q: Combobox not displaying selected item, If I select first item

YawarI am working on winrt phone 8.1 project. I have this combobox. <ComboBox PickerFlyoutBase.Title=" " Name="ModelComboBox" x:Uid="ModelComboBox" DisplayMemberPath="vcModel" IsEnabled="False" /> And just use this code to in selection change event of combo box that is above that combobox. ...

0
Q: Why Chromium don't open my URL-Protocoll like Chrome?

xNiceEinzim currently look for an Solution to open my custom URL Protocol in my C# Chromium Form. In Official Chrome Browser all work fine, here i found a Solution to check if my Protocol is enabled via Config-File, when i try it in my own browser the Page is still blank... So i'm thinking its just a co...

0
Q: How to change form request format to json format

Gideon AppohI have an application built on Yii 1.1. I'm having problems with the backend API. Here is the case. I am new to API building and I have been tasked to build the backend API of a project. Now when it comes to Form submission from the frontend, my Tech Lead says I should change the form request fo...

0
Q: Logging with Catel. Get Type of Log

Mattias EpplerIn my project I use the logging from catel. I add my own LogListener. LogManager.AddListener(_myloglistener) I catch the event from _logListener.LogMessage and want to display the log messages in my view. Now my question: Where do I get the information of the LogType. Is it a info, warning or ...

0
Q: I have installed STS 64 bit and all the required setup with it..but i am getting this error message while runnning STS

Jagriti PandeyPlug-in org.springsource.ide.eclipse.commons.gettingstarted was unable to load class org.springsource.ide.eclipse.commons.gettingstarted.dashboard.WelcomeDashboard.

0
Q: Can I restore the input field values after validation through custom request objects in Laravel 5.1?

Homo SapienLet's say I have a simple contact form. <form action="/message" method="post"> {!! csrf_field() !!} <div class="form-group"> <label>Name: </label> <input type="text" name="name" class="form-control"> </div> <div class="form-group"> <label>Email: </label>...

0
Q: Texture view snap shot

marimuthuI am developing the android H264 Video rendering application.While rendering the H264 video stream i am using the MediaCodec API and MediaCodec color format is COLOR_FormatYUV422Planar.I get the surface object from Texture View and pass the surface reference to the MediaCodec API.It renders the v...

0
Q: Unable to delete services from services management console

user278604I have deleted few application related services from registry on windows server 2012 R2, but the services still display on services management console. Can someone please help how to remove the deleted services from services management console ?

0
Q: DOM Javascript : can't find input in PHP

Arton.NI'm creating a PHP/Javascript, i create a form, with a button who create new input onclick (it work, i can find with elements with the Google Chrome element inspector). The problem is, when i submit my form, i can't see the new input in the '$Post' array. How to fix this problem? My function f...

0
Q: How can I convert sperated date string to consecutive date string

Junho ChoiI have date data. It can be Mysql data, Java array list or javascript json array. [ { start=2015-07-02, id=3 }, { start=2015-07-03, id=4 }, { start=2015-07-06, id=5 }, { start=2015-07-07, id=8 } ] I want to make like "2015-07-02", "2015-07-03 ~ 2015-07-06", "201...

0
Q: Cannot create new file (newfile.txt) using php

KexAriI am starting to learn php, I want to create and write a simple text file. My code is as follows: <?php //Name $filename = "newfile.txt"; //Pointer $file = fopen( $filename, "w" ); if( $file == false ) { echo ( "Error in opening new file" ); exit(); } //Write the data fwrite( $file, "This ...

0
Q: How do I create a batch file to type into a chat window?

ChakraSo, I want to make a .bat to print words into a chat window, or more speifically, a steam chat window. Basically what I'm asking for is how to replicate key presses in a batch file, then loop it.

0
Q: Sum column in Cognos

Seiji SchochI'm making a report that compares the production of a cell to the average production (roughly) So a cell (cellule) is in a room (salle), and there are many cells in each room. We have for each day the production (Production brute) and the standard production in the database. The rows are group...

0
Q: how to create a bootstrap tooltipto display different amounts in table?

LeeuwtjeSuppose I have a table which displays rows of data from a backend service like this: <table> <tr ng-repeat="item in rows"> <td> <span> {{item.amount}} </span> </td> </tr> </table> How can I define a BS3 tooltip to disp...

0
Q: How can I retrieve all the contacts from orgnization directory using google api?

SawyerI want to build a contacts autocomplete UI just like the "To" contacts box in Gmail. I haven't found Google provide such autocompletion service, but I've found maybe I can retrieve all the contacts, I found three relevant apis Domain Shared Contacts API Directory API Contacts API Which...

0
Q: Mysql select with ID's from different tables

Huub SIve got a couple of tables, exhibitions, languages, forms and questions. The questions have a lang_id and form_id in their table, and the exhibitions have got a form_id in the table. I want to select the languages which are linked to the forms. The only thing that is known is the exhibition id. H...

0
Q: Using input box to store unique values

Curious LadI am working on some data from which I want to extract unique values from a column and storing them in array and later using it for other calculations. Sub A_Unique_B() Dim X Dim objDict As Object Dim lngRow As Long Set objDict = CreateObject("Scripting.Dictionary") X = Application.Tra...

0
Q: how to pass parse json value from .erb onlick

Gayathri Govindaraj.....@events_all = [{"id"=>"c2", "name"=>"Kerala", "time"=>"14290"}, {"id"=>"c28", "name"=>"Ind", "time"=>"140"}].... <select id="event_month" name="event_month" style="width: 115px; height:32px;" onchange="filter_by_month('<%=@events_all%>')"> ...... ..... </select> <script type="text/javasc...

-2
Q: IMPORTING 10 GB SQL FILE

Share KnowledgeI HAVE GOT 10 GB SQL FILE, MILLIONS OF ROWS BELONGED TO 72 TABLE. MY STORAGE ENGINE IS INNODB PROBLEM I HAVE CREATED THE DATABASE WITH ALL REQUIRED TABLES AND FROM MYSQL COMMAND PROMPT I ISSUED THE FOLLOWING COMMAND LINE mysql> source path/to/my/sqlfile.sql IT WOULD RUN GREAT UNTIL IT GOT TO ...

0
Q: APK is installed on the device using a command line , but if I put in the APK device manually is not installed

Alex As the title suggests , I have an Android application cordova 5.0.0 and if I install the device via command line work , but if I put the phone manually APK this does not install with the simple message " Application Not Installed " Why ?? I specify that I have not included any Key

-3
Q: Create table and then insert data into the new table from another table

shivI am creating one table name emp_inforamtion with checking that table is exist in database or not ,and if not then creating table then inserting the data from bank table in to emp_information table. DECLARE ncount NUMBER; v_sql VARCHAR2(4000); CURSOR c1 IS SELECT bank_code, ce...

-2
Q: what is the meaning of the lost+found directory on linux

ridiMost likely a rather obvious question but nevertheless I am doubtful about it. For development purpose our team got an linux VM tot work on. Once in a while I met a lost+found directory. Most of the time it is not accessible (permission denied). What is the meaning of this directory. Has it been ...

0
Q: Is there a function/Macro in Linux Kernel to get current preemption status on smp machine?

abhiIn my project I use get_cpu() and put_cpu() to disable and enable the preemption in the kernel on a smp machine. Is there a safe way to get the current preemption status of the current in an smp machine i.e. whether the preemption is turned on or off.

0
Q: Why is XMLHttpRequest resending data on reconnect

OnitsukaI'm trying to make XHR request to server and to notify user if there is no connection. It's just HEAD request on txt file on server: var xhr = new XMLHttpRequest(); xhr.open('HEAD' , 'http://servername/keepalive.txt', true); xhr.channel.loadFlags |= Components.interfaces.nsIRequest.LOAD_BYPASS_C...

0
Q: Ios distribution through a link with xcode 6

icekrimI will like to send my app to testers through a link. I tried differents way I found on the web. It seems like the beta testers need to install the provisionning profile first. Can you please help me? Many thanks

0
Q: AngularJS call a function from another controller

MikeI want to call a function or change the value of variable/s which is there inside another controller. I looked online for the solution and understood that I have to create a service and use it inside both the controller, however I am not able to understand that how service will have access to $sc...

-3
Q: PHP and Ruby with Docker

Juan David Diazis possible to run two web apps at the same time, one using PHP the other using Ruby, each one on a Docker container ?

0
Q: Cordova/Phonegap Samsung In-app purchasing plugin

PretoriusWe have developed a hybrid mobile app using Phonegap (Telerik AppBuilder). We need In-App purchasing for the app and have come right with Apple. The problem is Android. We are in a country where Google merchant is not supported. We decided to go for Samsung's galaxy app store. They do got an ...

0
Q: ALAssets with MyPhotos Stream crash

Arun KumarI am retrieving images from iPhone Gallery through ALAssetsLibrary: ALAssetsLibrary *assetLibrary=[[ALAssetsLibrary alloc] init]; NSMutableDictionary *imageDictionary = [[NSMutableDictionary alloc]init]; [assetLibrary assetForURL:info[i] resultBlock:^(ALAsset *asset) { ...

0
Q: I am getting garbage values while running this code in Xcode using objective c

Jineet Pandya- (IBAction)btndlr:(id)sender { NSString *str =txtdata.text; lblfinal.text=[NSString stringWithFormat:@"%d/60",(int)str]; } After running this code without any errors i get garbage value as output in the label.any guidance will be appreciated.thank you.

0
Q: illuminate packages outside laravel

giorgosI am new in Laravel I use almost all L5 packages outside Laravel. But I have some problems to make these work. Now I get this error when I try to use class View: [Fatal error] Uncaught exception 'ReflectionException' with message 'Class config does not exist' in /var/www/html/vendor/illuminat...

0
Q: JSON properties not accessible

xMasterI have something like this: var appointments = { "1" : [ {"startTime" : "05:00:00", "endTime" : "07:00:00"}, {"startTime" : "08:00:00", "endTime" : "09:00:00"} ], "2" : [ {"startTime" : "07:00:00", "endTime" : "07:30:00"} ], "3" : [ {"start...

0
Q: How to tell if Bluetooth EDR is used?

SafaciI have set up Ubertooth in combination with Kismet and Wireshark in Santoku Linux in order to sniff Bluetooth traffic between an Android device and a Bluetooth peripheral. I have opened the corresponding .pcapbtbb-file in Wireshark and all packets were recognized as Bluetooth packets; however, I ...

0
Q: Passing XPATH result from controller to view codeigniter

Dwi Abriyantoi have an controller that i want to use for reading from xml file. and im using xpath for parsing the xml. ok lets talk about code. public function index() { $this->load->view('index'); $xml = simplexml_load_file(base_url('JBPLNB0056.xml')); echo "<strong>Test</strong><br />"; $...

0
Q: Does shorter code make a performance difference in interpreted languages?

BlackoradeSince the source code is interpreted while running, I think it might make a difference in Performance. What I mean is: When you have a long (>9000 lines) code and then cut out as many spaces and linebreaks as possible, does it make the program run faster? If so, does this apply to languages usi...

0
Q: link passing through mail php codeigniter

Hanan AshrafFor user identification,I need to send the url of localhost via mail in php codeigniter . . I also need to pass the token which I had generated for that user along with the url. My user need to be verified by clicking that link which must be identified by the corresponding token. And I have no id...

0
Q: Remove key value from array in php

AjinThis is my db result, Array ( [0] => Array ( [shopname] => Shop name [fueltype] => Pertol [amount] => 1000 ) [1] => Array ( [shopname] => dfsdfsd [fueltype] => Pertol [amount] => 54456 ) [2] => Array ( [shopname] => dfsdfsd [fueltype] => Disel [amount] => 54456 ) ) I need result like [["Shop n...

0
Q: How can I convert from normal youtube link to youtube embedding

Chid CleverI have json file "http://103.245.167.48/~icenter/video/api.php" that contain url youtube(watch?v) and how can I take it to display in IONIC mean that convert to youtube iframe (youtube.com/embed/) like that please help. .. !I have json file "http://103.245.167.48/~icenter/video/api.php" that ...

0
Q: Android material designtoolbar tabs with icon and text

Simon WanjauIn android under material design how do i create toolbar whose tabs consist of an icons and text ? I want to achieve this kind of a toolbar

0
Q: How do I remove a circular dependency between a Flask blueprint and the application initialisation?

detlyI have a simple Flask demo app (Python 3) containing some top level app initialisation code, and a blueprint that just sets/unsets some boolean flags. The structure looks like this: flaskery ├── config.py ├── flaskery │   ├── app.py - application init code (create app, db) │   ├── __in...

0
Q: How to run particular named jar file from server among many jar file sending parameters using php

Anand PanjiyarI have two jar file in my server having name: 1>computedist.jar and 2>request.jar And I want to run request.jar from sehll_exec command inside php code but unfortunately it always run computedist.jar Can anyone help me to find solution of this problem?

0
Q: Why would we embrace code in C

Radoslaw KrasimirowI came across to this code that I cant explain to myself: check_eeprom_data(); { unsigned char serial_num[5]; printStr("\nSerNUM:"); eeprom_read(confEE_SERIAL_NUM, serial_num, 5); printBuffAsHex(serial_num, 5); } Why these curly brackets needed to enclose this part of code? What ma...

1
Q: read memory outside a program without segment faults

NationWidePantsIs it possible to read memory addresses (real, not virtual) without throwing a segment fault? I wish to read all live, used memory addresses and log findings.

0
Q: Runtime.getruntime.exec("cls/clear"); not working in windows to clear console

ANUPAM CHANDAI have tried many times to clear the console and have written this Runtime.getruntime.exec("cls"); but did not get any result, means the console is not being cleared in Windows. Please help me !!

0
Q: iReport : List Standard Size Issue

BreitiI have a strange problem with Jasper Reports`iReport: I have to use Version 3.7.6 and in this version I have to create a dynamic table. The user is able to define how many columns the table will have and I am calculating this table in the Java - Backend before report initialization and present ...

0
Q: Symony2, doctrine datetime in miliseconds

GasperIn symfony2 I have created entity with created and updated parameters: /** * @var \DateTime $created * * @Gedmo\Timestampable(on="create") * @ORM\Column(type="datetime") * @Serializer\Expose */ protected $created; /** * @var \DateTime $updated * ...

-1
Q: PHP regex extract near value

Giovannino DavideHow can i extract from this text: <html><body><br><br><br><script>window.location="/api.php?key=&username=&jdfwkey=yhd9h2";</script><script>var u=2;for(;u==1;u++);</script><br><br><br><center><h3><a href="/api.php?key=&username=&jdfwkey=yhd9h2"><p>çû¹ûúúµÒҳæÃûÐ×ÔԶ¯øøת£¬ëãµ÷»÷âÀï</p></a></h3></ce...

0
Q: Long running and blocking javafx task progress bar update

mhlI have a task that can be long running, and it's blocking. I must wait for this task to complete to display results on the GUI. I know how long this task will take, so I want to notify user with a progress bar, how much time is left. All the examples on the internet are like this: Task<Integer>...

0
Q: Fixing tiny images in GridView?

u2fanI'm trying to implement a basic GridView gallery as per the Android Developer Guide/Tutorial. The ImageViews inside my grid are Bitmaps taken from a user's camera. This works fine except for the fact that my images are incredibly small. My xml: <LinearLayout android:layout_width="matc...

0
Q: Capturing an after save event

Ali .NETIs there any way I can execute some JavaScript code after the Dynamics CRM entity form is saved. The available OnSave event fires before the form is saved actually. What I want to do is: to get the newly created record's id and set it on the lookup field on the opener window. For this I have: ...

0
Q: How to do Median centering for my dataset in R?

user3576287I would like to know how can I do median centering in R for my dataset. I have done that in two ways but I am not sure about them if they are correct or not. here are my codes: simple dataset: set.seed(100) df = (matrix(rnorm(20), 5, 4)) df [,1] [,2] [,3] [,4] [...

0
Q: How to map 2 keys (pair) to one key when the pair might not contain both values?

user1386966I want to map md5 to sha1 and sha256 to sha1. Instead of using 2 different maps I thought of using std::map<pair<string, string>, string>. When inserting vlaues, I would have both md5 and sha256, but I can query only with md5 for exampe. Example : md5= x; map.find (x,null)--> return sha1 sha256...

-1
Q: how to get variable into another events jquery

DineshI am working on a rating system and want to pull up each rating value by the jquery. For this purpose I am doing like this, but I am unable to get previous event variable value into next event. var r1Rating; $(".rating-input").on("click",function(){ //alert($(this).attr("id")); ...

0
Q: C# NO Mapping exists from object type systems.windows.forms.textbox

Greg AdlerI know its a in here somewhere but I cannot find the error: txtDealID.Text = Properties.Settings.Default.CurDealNo.ToString(); string server = Properties.Settings.Default.SQLServer; string constring = "Data Source=" + server + ";Initial Catalog=Propsys;Persist Security Info=True;User ID=sa;Passw...

0
Q: How to parse website content received from a website with curl

JantjeI am trying to read the content of a website using cURL to compare some data. I accomplished to receive the content of the webpage with cURL but when I want to extract some data out of the content is it not working. I parse the content with DOMDocument but it seems that characters like & and € an...

0
Q: Building a distributed REST synchronous-asynchronous-bridge with Twitter Finagle?

user49283The goal: Bridge. I want to build an synchronous-asynchronous-bridge (being a server to a REST client). A client is supposed to be able to connect via synchronous REST to my bridge, the bridge gives an asynchronous RPC by writing a message into a message queue. An other asynchronous system (the a...

0
Q: Cant load second template into My Django project

Yehoshaphat Schellekensi'm a beginner in Django and need a little help My application's layout is as following adray/ __init__.py admin.py migrations/ __init__.py models.py tests.py views.py static Templates/ adray/ index.html happen.html I'm trying ...

0
Q: [MySQL]Improving performance of updating large table with join

user976315Currently I have a table with schema as follows: create table mData( m1 mediumint(8) unsigned, m2 smallint(5) unsigned, m3 bigint(20), m4 tinyint(4), m5 date ) m1, m2, and m5 are set as index in this table, unique/primary are not applicable in my case. As the data is getting big...

0
Q: syntax error when joining tables

MASI am trying two merge multiple tables: this is how I am doing it: CREATE TABLE big3 AS SELECT * FROM trainSearchStream a LEFT OUTER JOIN SearchInfo b ON b.SearchID=a.SearchID LIMIT 3 LEFT OUTER JOIN AdsInfo c ON c.AdID=a.AdID LIMIT 3; However, I get an error: Error: near "LEFT": syntax error

0
Q: Building modules using node-gyp on Openshift

Luca CarlonWhen trying to build modules that require node-gyp like node-canvas on Openshift I get this error: > canvas@1.2.3 install /var/lib/.../repo/node_modules/canvas > node-gyp rebuild Traceback (most recent call last): File "/opt/rh/v8314/root/usr/bin/gyp", line 15, in <module> import gyp Impo...

0
Q: How to use Substring in Linq query c#

Amine Antrii have this query and i want to retrieve the 2 first character of the adress. so i tried this one : var result = (from c in context.DB_CLIENT select new { c.CLI_NOM,ad.ADR_ADRESSE3.Substring(0,2)}); but i got an error. Can you help me

0
Q: Visual Studio test runner doesn't discovers xUnit tests from one of two test assemblies

LandeeyoI use xUnit with standard Visual Studio (2012) test runner. For the time being I was using one test assembly for unit tests. The tests were detected. I've added new assembly for 'integration' tests. Test runner doesn't discovers it. Tests are configured to run x64. Output path is the same for bo...

0
Q: Asynchronus Requests for writing into Dynamo db

Arnab SatpatiWhat are the issues while doing asynchronous requests for Dynamo DB ? Is it advisable to use when we are using a lot of write operations ?

0
Q: C# using SQL Connection object for timer function

Mohamed NavasI'm creating an winforms application. In which one form is made transparent, This form is used to show some popup message boxes in background, using a timer this form queries database in each seconds. Currently I'm using database connection inside using method (here postgres Data Base). Method ...

0
Q: WPF CustomControl define columns for inner DataGrid

XenogenesisI'm trying to implement a new control (XGrid), which contains a DataGrid. Most of the time I directly bind the data through a DependencyProperty and set AutoGenerateColumns to True. Now, in a specific case, I need the possibility to configure the columns of the DataGrid manually. I thought abou...

0
Q: Eclipse will not start after any changes

SkizzoI'm using eclipse kepler to developer some java program and this morning I have a new problem: eclipse doesn't start. Until yesterday everything worked, but this morning when I try to execute it i get The log file contains the foolowing exceptions: !SESSION 2015-07-09 09:55:31.429 -------...

0
Q: SQLite - app ran the first time and now it wont start and is stuck on black screen even after reinstall(or rerun). (pics/code included)Android

Tintinabulator ZeaHi ive been learning SQLite, trying to save strings in a table. The first time I ran the app it worked and i think i was able to add things to the database, but then after i closed it and restarted the app it goes to a white screen for 4 sec and then a blackscreen while logcat spits out the same...

0
Q: copy constructor and overloaded '=' operator not working

charan kammaThe copy constructor and overloaded '=' operator are not being called when assigned with result of sum of two class objects. There are working properly when initialized and assigned with single object. the error says "no match for ‘operator=’ (operand types are ‘comp’ and ‘comp’)". Important cod...

0
Q: Disable auto insert use statements

LaurisJust upgraded to newest PDT 3.5.0 and found annoying new feature which is enabled by default. Every time I make reference to another class ($bar = new \Foo\Bar), use statement to another class is inserted automatically (use Foo\Bar). Is there some option which controls this? I looked in configur...

0
Q: get JSON data from RPC object php5.5

NIXI have a RPC server class that accepts JSON data from an unspecified given 3rd party using cURL. I can see the data hit my class, I can store a var_dump into a for what appears to be the server request, but the output looks like receiving webserver info with references to the inbound object. But...

0
Q: Cannot find symbol variable builder [Android]

Shrestha RohitI have a class name RestClient which connect me to api "http://api.openweathermap.org/data/2.5" which queries weather data information public class RestClient { private static API REST_CLIENT; private static String ROOT = "http://api.openweathermap.org/data/2.5"; static { setupRest...

0
Q: AngularJS Directive property: Replace deprecated - Equivalent?

Callum LiningtonSo AngularJs are deprecating the Replace property of a directive. reference context: .directive('myDir', function($compile) { return { restrict: 'E', template: '<div>{{title}}</div>' } }); this will ouput: <my-dir> <div> some title </div> </my-dir> So, Replace wo...

0
Q: please How to confert mysql query to pdo in my code?

Iyes boymy code PHP in mySQLquery to unique product id function function kode($tabel, $inisial){ $struktur = mysql_query("SELECT * FROM $tabel"); $field = mysql_field_name($struktur,0); $panjang = mysql_field_len($struktur,0); $qry = mysql_query("SELECT MAX(".$field.") FROM ".$tabel); $row...

0
Q: Converting SQL Geography Lat/Long to VARCHAR without loss of precision

KrustyGStringI have a geography column called Location. I need to SELECT the Location.Lat and Location.Long as a single VARCHAR result. Using the following I am losing precision: Query: SELECT CONVERT(VARCHAR(MAX), Location.Lat) + ' ' + CONVERT(VARCHAR(MAX), Location.Long) Original Location.Lat: 52.2...

0
Q: java.util.ResourceBundle object not retaining java.util.Locale information

AlwaysALearnerI am initializing the object like this- ResourceBundle bundle = (locale != null) ? ResourceBundle.getBundle("myProperties", locale) : ResourceBundle.getBundle("myProperties"); I have 2 properties files - myProperties.properties which contains information in English and myProperties_fr.properti...

0
Q: call_user_func with parent method in child method

HoltI have the following code: <?php class A { protected $v = 'a' ; public function f() { echo 'f in A: ('.get_class($this).' < '.get_class(parent).', '.$this->v.')<br/>' ; } } ; class B extends A { protected $v = 'b' ; public functi...

0
Q: How to catch navigation icon click on toolbar from fragment?

priyankvexI have a dialog fragment in which I have toolbar in layout. I want to make back button(Navigation Icon) working in toolbar and exit the fragment when clicked. But I am unable to catch the click event on the toolbar's navigation icon in the (dialog)fragment. Here is how I am getting toolbar : t...

0
Q: VideoView freezes for live streams on slow networks

pedjaI'm using VideoView to play remote videos using HLS When video is VOD (video on demand - just a remote video file, no live stream) everything works fine. Problems start when i try to play live streams. If I'm on the fast network (wifi or 3g/4g) everything works as expected. If i try to play vid...

0
Q: When server block requests from mine website?

SimoneI know that websites are protect from bots by controlling the ip. Who connects to my website start a request to another website and each has the own ip, then the website see multiple ip for each request. I want to know if there a risk that the website block my requests seeing that those ip start...

0
Q: C/C++ DSP Library

Caleb MerchantI'm currently working on a C/C++ digital signal processing library and I have a few questions. I'm working on the filtering section and I have implemented a Direct Form II Transformed transfer function (like matlab) function for filtering data given the transform function coefficients. However, t...

0
Q: How to show runspace child powershell objects streams on host console?

iTaybI have some Powershell objects (created with [PowerShell]::Create()) acting as threads in my powershell application. How can I show the streams data (Verbose and Error streams) on the invoker's console, during the run itself, and not only after the thread terminates?

0
Q: Facebook Graph API Photos Response Changed

MelikeFacebook Graph API version has changed to 2.4 yesterday. I have been testing using Graph API Explorer and response to /me/photos request has changed. It returns only one photo. Is there a way to get all the photos as it was in v2.3 ?

0
Q: can not Filter unique values from a json angular js

Dhruv Thakkar Project Manager : {{ group.ProjectManager }} Duration : {{ group.StartDate | date:'MMM dd,yyyy' }} - {{ group.EndDate | date:'MMM dd,yyyy' }} ...

1
Q: Synchronization in booking reservation application

The_301I have a very fundamental doubt about synchronization vis-a-vis the classic Servlet -> Service -> DAO pattern. Let's say I have a ticket booking application that is accessed by several concurrent users. No two users should end up booking the same ticket. When two different users try to access t...

0
Q: Django: Show only mandatory fields in forms

zinonI'm using Django and I have created several models in models.py. Some fields are optional and some fields are mandatory. Is a there a way that a user can view only mandatory fields in forms? I'm using crispy forms package to render my forms. Now the user can see all the fields from the models....

-1
Q: Remove all symbols in String except some

AskQuestionI need to remove all symbols in the String except (), but I don't know how to write correct Regex pattern and then use .removeAll() method. Example Some text (some 1 text()), and (some 2 text) -> (())().

0
Q: Is there any way to slip a static_assert into an expression in ISO C++11?

HostileForkIn C++11 it is legal to write, for instance: int b = (some_function_returning_void(), 1020); And you'll get back 1020. But it won't let you write: int b = (static_assert(2 > 1, "all is lost"), 304); The documentation explains the legal spots where static_assert (a keyword, apparently) can ...

0
Q: Hyper-v netwrok driver not signed

WaveMaxI've recently moved a Virtual machine from a server to another one. Both the servers are running Windows Server 2012 R2 as the guest host. The generation 2 VM run almost perfectly, but it doesn't recognize the network adapter. Integration services are updated (if I try to re-install it it says ...

0
Q: EF6 code first: passing a parameter to a mapped delete stored procedure

JeroenWe are using EF6 with the code first approach. For the versioning of our records we are using mapped stored procedures. This works great for the update since we pass all our values, including: ModifiedBy and ModifiedOn. Now the update stored proc only takes the Id. I was able to add the Modifie...

0
Q: show element using jQuery based on data attributes

Dean ElliottI need to be able to show certain elements in a list based on matching data attribute values. For example; <ul> <li data-album-id-trigger="1" class="album-trigger">Show / Hide album</li> <ul data-album-id="1" class="album-list" style="display:none"> <li>Track 1</li> <li>...

0
Q: Volatile AtomicInteger not working

AdiHi I was trying volatile. I create 10 threads from my main Thread and I print value of static counter from each thread. The output is uncertain. Can anyone please let me know why its not working. public class Main { static AtomicInteger counter = new AtomicInteger(0); public static vo...

-1
Q: python initialize a class stored in a variable

DonbeoI am wondering if it is possible to initialize a class stored in a variable for example: class cl(): def __init(self, a): self.a = a return def print(self): print(self.a) return a In[27]: c = cl In[28]: c Out[28]: __main__.cl and now I want to initial...

0
Q: Deleting spaces from a string

LetMeLearn123I have a form where people enter their multiple codes. Now, I would like to delete the spaces between these codes. However, my code doesnt seem to work. Any ideas? $codes = $_GET['codes']; $spaces = strpos($codes, " "); for($spaces; $spaces=0; $spaces--){ str_replace(" ", "", $codes); echo $cod...

0
Q: Table not formatting correctly on safari

QuicksillverI have the following php code, which gathers data from a database, and displays it in a table. It works fine when used in chrome, But is not working properly, i.e, the border, rows etc.. are not being displayed, like the table tag itself is being disregarded. Here is the code, I have. <html> <head>

0
Q: rCharts NVD3 Semicircle Donut

aashanandI am trying to create a simple semicircle donut using rCharts and the NVD3 javascript library. A minimum reproducible example of a full donut is provided below. library(rCharts) data1 <- data.frame(label=c("A","B","C"), value=c("1000","2000","3000")) n1 <- nPlot(value~label, data = data1, type =...

0
Q: Slide through multiple jsp pages using jquery not working if interval time is set greater then 30000

JEECoderI have created a fucntion that slides through a defined array of jsp pages after a set interval.it works fine when the interval time is set <= 30000 i.e 30 seconds.But as soon I change it to 40/50/60 seconds, the pages won't slide and the page stops refreshing in order to load the next page in ar...

0
Q: z-index not working properly while appending

user3189828I have to show a loading message while appending other html elements into body. The loading panel is already in body i just change its z-index to show loading message. The problem is while appending other html elements the loading messaging is not showing. Any idea about this?

0
Q: Responding to UIAlertViewDelegate in a category

DarrenI have a simple class like this .h @interface DJMyClass : NSObject + (void)someFunction; @end .m #import "DJJavaFunction+UIAlert.h" @interface DJMyClass () @property (nonatomic, strong) NSString* someString; @end @implementation DJMyClass + (void)someFunction { [self showAlertWithTitle:ti...

0
Q: How to sort array of object's with specific property

GaneshI have array of objects, each object represents one row. each row(Object ) has different properties like property_name,property_no,Property_desc. I want to sort this array as per the property_name and i want to make it generic so that any array can be passed to comparator and it will sort it. Som...

0
Q: Scaled textures distorted while moving

bpawel10I create a game in libGDX and have problem with scaling textures, which I have to use because of the different screen resolutions. When these textures move on screen, there is a distortion. You can see it on the video: https://www.youtube.com/watch?v=_Mo_LFWsuHs It can be seen good at the marking...

0
Q: SQL Query Aggregate Function

Hashir RizwanThis is my query select a.id, a.title,count(x.id) as Orders -- from x_vendordeliveriesareas vda -- left join x_vendordeliveries vd -- on vd.id = vda.vendordelivery_id from x_orders x left join x_areas a on x.delivery_area_id = a.id -- on vda.area_id = a.id -- left join x_orders x left join x_ve...

0
Q: Implementing “Check” in a Chess Game

TitoHello I am new in Java and I have stuck. I am trying to make chess game, I made everything except check and checkmate method, and if you have any suggestions I will be happy to read them. Here is my work till now: This is the board class where we play the game: public class Board { public ...

0
Q: Hide Upload Feature on expiry Date/Time

Awais TahirSuppose in Learning Management Systems student has to upload Assignment time limit is 4 days, after this he should not able to upload assignment. How to Implement in php 1 have 2 option - Abort() - die() What would you suggest ?

0
Q: check internet connection applescript

irrelevancenoob here trying to teach myself applescript and generally not very smart so apologies :| i was looking at this question and the answers Check for active internet connection with Applescript/Automator and i wanted to make a applescript that runs constantly in the background and that puts a red...

0
Q: Partial sync in Android using SyncAdapter: how to let system know and sync again for the next part

yukuI am implementing a sync functionality in my app, mostly following the https://developer.android.com/training/sync-adapters/creating-stub-provider.html, i.e. implement the AbstractThreadedSyncAdapter. However, when the onPerformSync method is called, I do not synchronize the whole data that nee...

-1
Q: How to write nonlinear equations from dictionaries in Python automatically

homayounI have two dictionaries as follows: countriesdictionary={"USA":set('CHN', 10), ('ITA', 20), ('GRC', 30), "DEU":set('CHN', 40), ('ITA', 50), ('UK', 60), 'NAM': set([('MLT', '80'), ('RWA', '78')} and : costsdictionary={'USA': set([('CHN', 150), ('ITA', 200), ('GRC', 250), 'DEU': set([('CHN', 5...

0
Q: Access raw expression of ValueExpression attribute to taglib component

Daan van YperenCan I access the expression string of a ValueExpression passed as attribute value to my taglib component? My goal is to programmatically derive missing attribute values from it. In this case I'm trying to avoid having to repeat an attribute as a literal. now: <a:columnText title="name" value=...

-4
Q: Setting value of a textfield to not go lower than zero

chrisHow do i set a textfield so it cant go lower than 0?

0
Q: ORA-01691: unable to extend lob segment XXXXXXXX by 8192 in tablespace USERS

JJJ ORA-01691: unable to extend lob segment XXXXXX by 8192 in tablespace USERS I get this error when i try to insert data in the database. I'm using an Oracle database (express 12c version). Googling the error i found that it means that there no more space in the tablespace and you need to incre...

0
Q: Macro works in Word 2013, but not in 2010

BengaI wanted to create a template for my fellow workers and create a Macro which "Saves As.." to a specific file, and also uses the title to suggest the name. This did not completely worked the way I wanted, but I got the first part right. It opened the "Save As.." Dialog in the right map with (.doc...

0
Q: How to display an element using `ng-if` and dynamically update the value from outside the app?

EApubsI have a notifications panel. I need to display it only if there are errors. So, I set attribute in my controller called errors : .controller('mainController', function($scope, $mdToast, $templateCache, $animate, $timeout, $mdSidenav, $mdUtil, $log) { var mainCtrl = this; mainCtrl.error...

0
Q: How to make a unique id inside while loop?

Svidlakfirst of all im noob when it comes to coding so please be gentle. I have a php while loop and inside the loop I have a form with input type of text with an Id, how can I make the id unique or ++? <form name='f1' method='post'> <input type='button' name='inc' onclick='javascript:d...

0
Q: iterating through multiple array in javascript

zulekhaI have data array as follows: totalDays = ["mon", "tue", "wed", "thu", "fri", "sat", "sun"], saleDays = ["tue", "thu"], sale = [314,240]. I need to modify 'sale' array in a such a way that, sale array should compare with totalDays array with respective saleDays,if sale are present for that...

0
Q: "No value for" exception for getJSONArray

jasonI have a JSON object like this : {"Successful":true,"Value":{"Materials":[{"MaterialID":37628,"MaterialID":0,"MaterialNo":26868,"Type":0,"MaterialName":Copper}], "Prices":[]}} I'm trying to get materials array like this : public ArrayList<Material> parseMaterial (JSONObject object)...

0
Q: Meteor - How to use helper inside each or with in child template?

Blue BellsI need to use helper values in each template. each template renders another template. But when I try to use helper value inside template It doesnt work.. I hope below code will explain you well. <template name="notification"> {{#each notification}} {{> message}} {{/each}} </template> <temp...

0
Q: ionic calling order, device and Safari has different result

Sonny Youconfig, run, ready, factory, controller, that is ionic calling order run on Safari, when I run on my android device, 'ready' became the last one. how to fix it? help me

1
Q: Cant Zoom Desired Level In Google Maps To Fit 2 Directions In Screen

Android Developer(I would want to put screenshots put my reputation is low to put them...) Good Day.I Have two directions(markers) on google maps api(android) between which i want camera to be center,and camera being centered there.But problem is that one marker comes to one edge of screen and another marker to a...

0
Q: Cloud Storage Time Real Emulated

StackOverFlowI would like to make a Cloud games manager, but I think it is quite complicated. A manager where you can install the apk, and remain registered to the server (VirtualBox), so users can run your app in the nuve. I thought of a series of steps (there some tutorial about what I'm saying?). First s...

1
Q: delete lines not (containing pattern and 2 lines above pattern)

Gerco-KeesIn Vim I try to delete all lines in a file not (containing a pattern and 2 lines above the pattern). I try: :g!/pattern/.-2 d But it says: invalid range... What to do?

0
Q: Publish asp.net project automatically after successful build using post build events

Ibrahim AmerI don't know if this is the right way to ask the question. I have two asp.net projects within one solution and I want to publish these projects after each successful build for the sake of automation to some folder within the solution. Can this be done using post build events ? and how this can...

0
Q: Error using fortify on shapefiles

ElmakoI'm trying to use R to do some dataviz with maps but I keep having an error message when using Fortify. The code I use is: library(rgeos) library(maptools) library(RColorBrewer) library(classInt) library(ggplot2) data=read.csv(mydata) iris.shp <- readShapeLines(myshapefile)...

0
Q: primefaces datatable reflow in desktop browser

yahhprimefaces 5.2 i have a primefaces datatable, the table is very long which is why i want to show it in column stacked mode, i tried using reflow attribute of the datatable. now if i use the developers mode in chrome and switch to mobile view when i reduce the size of the screen it does in fact...

0
Q: Selecting image inside SVG tag in selenium

mughees ilyasI have just started working in selenium and stuck at a point and need help. Here is my html. I am using python selinium <div id="d3_tree"> <svg> <g> <g class="node vm node_pe"> <image class="mainNode" xlink:href="images/edge.png"> </image> <image xlink:href="images/ga...

0
Q: How can i include ladybug to magento

claudiois there a easy way to add the ladybug debugget to magento with composer? When i try to add to Mage.php the line : require 'vendor/autoload.php'; using the ld($var) is not working Tx ladybug is here : https://github.com/raulfraile/ladybug/blob/master/doc/usage.md

0
Q: What are some good resources explaining how non-blocking IO works under the hood?

user1107412We all have learned from trial and error that multiple blocking threads do not scale well, and that we should switch to using NIO where we see possible. Yet, there are not as many resources explaining why non-blocking is better by giving an under-the-hood example of how it actually works.

0
Q: IIS Url Rewrite Redirect not accepting regex

LautaroIm trying to create a redirect in my IIS for a site. It works with the wildcard setting but i cant get it to redirect with regex. The built in test tool shows that the correct URLs are passed with this regex and the others dont pass, yet nothing happens when the rule is applied. Are there any fau...

0
Q: How to use XSLT attribute with for each select

amokaciI want to use a attribute inside select keyword. Here is my xml <root rowselement="root/a/b"> <a> <b var="target1"/> </a> <a> <b var="target2"/> </a> and xslt <xsl:for-each select="/root/@rowselement"> <xsl:value-of select="@var"/> </xsl:for-each> and expected output target1 ...

0
Q: RegEx giving non characters with \w

Necerosc = re.split(r'\w+', message) print(c) message contains '!nano speak', but the regex is giving me this in return: >>> ['!', ' ', '\r\n'] I'm very new to regex, but this seems like something I should get, and I can't seem to find this problem in search. It seems like it's doing exactly the op...

0
Q: Convert Pajek file to CSV and Display it in R Shiny

itsmeDoes anyone know how to read pajek file in shiny and then find the degree of each vertex and output it to CSV file in descending order? Here's the Pajek file i want to import in and export the degree into CSV. In R, i know how to code it normally like this: #read the pajek file in igraph repon...

0
Q: SQL Nested CASE Statement

nickcI am trying to update the following query segment in a Sales Analysis cube. I'm not deeply familiar with SQL. The first CASE statement works as it should - returns a negative when OINV.Canceled = 'Y'. CASE OINV.Canceled WHEN 'Y' THEN - INV1.LineTotal ELSE INV1.LineTotal END AS LineTotal, CAS...

0
Q: Disallow access and bot indexing in htaccess

AxiA htaccess protected subdirectory of my website somehow has been indexed (months ago) by google. I had to add this directory to robots.txt but I don't want the protected url to be visible in robots.txt anymore. I switched this directory to a new name and it won't probably be indexed again as it's...

0
Q: AngularJS unit test controller with only private functions

TsolmonI have following controller that has only private functions. I am struggling to test this controller. Shall I test if it is doing $emit, since the ImageService has been tested? How do I test $emit in this case? Or shall I test if it is calling the ImageService.fetchImageStacks method? In this cas...

0
Q: Using multiple parameters in $resource service in AngularJS

yuroAlways when I try to invoke the HTTP-DELETE I get the status 405 'Method not allowed'. I'm getting this result: http://localhost:63831/api/name/1/john I don't know where is the error. resService: ... return { name: $resource(baseUrl + '/api/name/:Id/:name', { Id: '@Id', name: '@...

0
Q: Bmp image manipulation

newPyUserWhat is the procedure to follow in order to have a bmp image ready to be manipulated and in order to be able to perform aritmethic operations with them? For example, if I have image1.bmp and image2.bmp and I want to get some kind of correction factor so I would need to perform operations such as...

0
Q: HTTP Post Request returns 400 C#

Dev BackendI am trying to make a http post request to obtain an api token. If successful, it is supposed to return string values of access token, token type (bearer) and expires_in. The code I have is a generic one which I was expecting to see working. But for some reasons, it throws an exception of 400 "...

0
Q: imap "delete" message after downloading using php?

BeeDownloading attachment was working... but the delete wasn't? Can anyone tell me whats wrong and how to make it work? <?php $hostname = '{xxxxxxpop3/notls}INBOX'; $username = 'xxx@gmail.com'; $password = 'password'; $savedirpath = "/root/Fax"; $type = 'ReadAttachment'; $obj = new $type; $obj->g...

0
Q: "Uncaught TypeError: x.toUpperCase is not a function" in Javascript

Vishnu Y SI have a function to capitalize onchange like this: <input type="text" id="abc" name="id" onchange="capitalize()"> And function definition is as follows: <script> function capitalize() { var x= document.getElementById('password'); x=x.toUpperCase(); document.g...

0
Q: php how to pass parameters in function?

hoangkI have a function: function passParams($a, $b = null, $c) { echo "<pre>"; var_dump($a); echo "<br/>"; die('123'); } and I want to call it like this: passParams($a = 10, $c = 1); How do I have to?

0
Q: Issue in invoking JAX-RPC web service from a java web service client

Ashish NayalI am creating a JAX-RPC web service client but when I am inovking the webservice it is giving me error: org.apache.naming.ServiceRef cannot be cast to javax.xml.rpc.Service Please resolve my issue urgently Client code Context ctx= new InitialContext(); Service service = (Service)ctx.lookup("j...

0
Q: ERROR _NOT_SUPPORTED while ReadFile form USB

Agnieszka MikołajczykI'm beginner in programming and I'm trying to communicate with oscilloscope via USB port. I've found the device and recognised it by it's vid and pid. I created file (CreateFile()) without an error. Then, while trying to Read or Write file the error occured (error 50 (0x32). The request is not su...

0
Q: ggplot multicolomn on R using csv

Sana MunawarHi I want to plot my csv data (i named it p) on R using ggplot2 but i am having difficulties. Time d d d d c m m m m c c c........... (top row of data p) there are 14 coloumns and there are 304 coloumns including time. I want to plot Time on x axis against rest 303 on y axis on a single plo...

0
Q: Make router wait for data

DarkRangerI am using this router to load my template pages. I want the router to wait for my data to be ready before loading the page. If this is the line of code that specifies the route jsRouter.route('/adr','adr/index',function() {}); And this is the code that displays the route: jsRouter.loadPage(...

0
Q: Ruby racer not installing on osx yosemite

peeyush singlaI keep getting this error while installing Rubyracer with Rails 3.2 and Ruby 2.0 on yosemite. Building native extensions. This could take a while... ERROR: Error installing therubyracer: ERROR: Failed to build gem native extension. /Users/peeyushsingla/.rvm/rubies/ruby-2.0.0-p598/bin/ruby -r ....

1
Q: jQuery do something until element hits top

MarcI'm blurring out a div on scrolling using the following script. What's the best way to wrap it into something telling it: only do this until #element hits the views top and then stop it. Something like a max-val. $(window).on('scroll', function () { var blurrad = $(document).scrollTop() ...

0
Q: Commit only a subset of objects flushed to the session, ignore others in sqlalchemy

mensurInside a foor loop I am performing some checks on objects of a custom class ( lets call them Bills). Objects are created after parsing them from an xml file. If the object passes all those checks it is added to the session and a flush is performed. Additionally, for every object (which passes o...

0
Q: Error: Unable to index into an object of type in Powershell

404Below is powershell script. $Requests = Get-WmiObject -Class SMS_UserApplicationRequest -Namespace root/SMS/site_$($SiteCode) -ComputerName $SiteServer | Select-Object User,Application,CurrentState,Comments | Sort-Object User $Count = @($Requests).Count for ($i=0; $i -lt $count; $i...

0
Q: Iteration Order of HashMap key same or not

Sunil SainiI want to know that HashMap is give same sequence of key when iterated each time after adding records. I am using following code HashMap<String,String> mapObj=new HashMap<String,String>(); mapObj.put("a", "aValue"); mapObj.put("b", "bValue"); mapObj.put("c", "cValue"); for(String key:mapObj.k...

1
Q: execution time in multithreading environment

stellaI am trying to measure a multi-thread program's execution time. I've use this piece of code in main program for calculating time: clock_t startTime = clock(); //do stuff clock_t stopTime = clock(); float secsElapsed = (float)(stopTime - startTime)/CLOCKS_PER_SEC; Now the problem i have is: fo...

0
Q: How can integrate PayUMoney API for C2C application?

Syam kumar KKI need to integrate PayUMoney for my freelancer job portal, that is developed in PHP Codeigniter. There are 3 type of user : 1)Employer (Job provider) 2)Freelancer (Person who doing the job) 3)Broker (this the portal take commission for the transaction) Currently the employer transfer fund t...

1
Q: Java Decompiler API

user1577269Is there an API for the java decompiler presented here: http://jd.benow.ca/. it claims that it has a JD-Core component, however I couldn't find any material on how to use the api. I am already using the eclipse plugin JD-GUI, i wanted to know if there is an available API for it.

1
Q: Can not divert packet to pf when configure transparent squid 3.4.13 on OpenBSD 5.7

4HeroI am trying to build transparent proxy with squid on OpenBSD 5.7 with pf firewall. I compile squid from source with below options: $ squid -v Squid Cache: Version **3.4.13** configure options: --prefix=/usr/local/squid --with-default-user=squid --enable-icmp --enable-storeio=ufs,aufs --enabl...

1
Q: How to access HTML of a specific element returned by jQuery.post

Phil EvansI have a web page in which when a user clicks on a specific element, a javascript function is triggered which uses $.post() (i.e. jquery) to send the user's data to a PHP script which modifies a database. On success, the PHP page simply prints <p id='success'>Yay!</p> On fail, it prints: <p ...

0
Q: Using async and future is throwing exception on linux (gcc 4.8.4)

SmithyI have a simple piece of code that throws an exception when it shouldn't. All the appropriate headers were included and the program builds without errors. Code below. The exception occurs when executing result1.get(); Could some please tell me what I'm doing wrong? Thanks in advance for any help...

0
Q: Third party jar depending on other third party jars

WeAreLegionI want to use a third party jar, let's call it Third.jar. This Third.jar file is in a directory A/. In A/lib/ there are more jars (let's say from party X, and party Y). When I use maven-install-plugin, I only make available the Third.jar in the local Maven repository, but when I then try to run i...

0
Q: How can I calculate rank based on highest Score and lowest Minutes in MySql

Sameer KapoorCREATE TABLE IF NOT EXISTS `teststatus` ( `id` int(11) NOT NULL AUTO_INCREMENT, `userid` int(11) DEFAULT NULL, `duration` varchar(45) DEFAULT NULL, `starttime` varchar(20) DEFAULT NULL, `endtime` varchar(20) DEFAULT NULL, `totaltime` varchar(70) DEFAULT NULL, `totaltime_minutes` var...

1
Q: Exception using 'in' and not '=' in a Spring selection

RanI am using Spring to select a value. This is the query in the repository: @Query(value = "select * from incidents where descriptioninfo like %:descriptioninfo% and fixed = :fixed and starttimestamp > :startTime and deviceid in (select id from devices) and deviceid in (select deviceid from device...

-1
Q: API to publish articles on Joomla and Drupal

NishantDo Joomla and Drupal provide any kind of APIs to publish articles? I have Ruby on Rails application for content authoring and need to publish articles to different sites which are runs on Joomla and Drupal.

0
Q: Add a custom button when image click in visual editor wordpress

BrownBeI would like to add an 'addclass' button who appears when image is clicked in visual editor of wordpress. Currently, this menu appears : When my button will be click, the class '.w50' will be add to my image. Lot of plugins exist about add buttons to the wordpress editor but nothing about th...

0
Q: Java ImageIO Grayscale PNG Issue

InI4I have a grayscale image ("lena" actually) which I want to experiment with. I got it as a 512x512 PNG file with 216 shades of gray. What happens is, when I read it with Java ImageIO, like that: String name = args[0]; File fi = new File(name); BufferedImage img = ImageIO.read(fi); ...

0
Q: How to run several QUnit (node.js) test files using a single command?

nelsonicScenario We are trying to use the Node.js QUnit Module aka qunitjs for our Server-Side Testing so that we can write one test and run it on both server and client e.g: https://github.com/nelsonic/learn-tdd/blob/master/test.js When we run a single file using the command: node test/my_test.js It...

0
Q: Can I Edit the ProcessDefintion.xml during runtime in jBPM project?

Raw CoderMy problem is to make some dynamic transitions using a User interface, so I want the process definition file to be created and altered during runtime. But, I am not sure whether is it possible. As everytime I have to deploy the process definition whenever I change it. So, how can I make it dyna...

0
Q: Can't submit request form for like, comment, subscribe

Illia KyzlaitisI filled the form (https://help.instagram.com/contact/185819881608116for) for using the method like of type POST and submitted it after submitting it redirects me to https://help.instagram.com/ without any flash message or alert on the top of the page. Is it ok? Is it how this supposed to be?

 

« first day (617 days earlier)      last day (457 days later) »