WPF Module toolbar prism

:Can anyone provide a hint on how I would populate a navigation toolbar similar to the StaffLynx Entity toolbar that the Billy Hollis video displays across bottom of the app?I only want to show a "Client" icon in the toolbar if indeed the application ve

using jquery mobile and codeigniter framework php

:I'm creating jquery mobile site using codeigniter framework.If I start my project without using jquery mobile in the head everything work but if I insert jquery mobile in the head of my page and try to start my project I receive a gray page with write o

php multiple dropdown menu with same name can't get the value

:okay, im new in this site also new in php and can't get the logic on this,i have a product page that shows the name, quantity and an add to cart button in each row of producti made this just cutted of some code while($showProducts = mysql_fetch_array

Processing a Warc File using Logstash, ElasticSearch, and Kibana

:I would like to parse a WARC file using LogStash. I want to feed the input to ElasticSearch, so that I can visualize it using Kibana. I have tried this:input { file { path => "/tmp/access_log" start_position => "beginning" }}filter { if [pat

No Visible interface for 'AVAudioPlayer declares the selector initWithUrl:'

:I am trying to play a button click sound,also that i should be able to manage click sound along with volume button.What i have done is Added AVFoundationFramework to project,in .h file#import #import

Trying to use Async with image upload to webserver android?

:I am trying to use Async to be more efficient and to allow for image uploads to my webserver I have tried various methods but there is always something not working...Here is my latest code but having problems with the return being an Int and if I change

Error: Cannot convert parameter 1 from std::string to char*. Confused on why it is giving me this er

:So once again I need some help with this program for class. Maybe its that I'm tired but I can't seem to find the logic error I'm sure I've made here. Here is my code:#include "Book.h"using namespace std;void add (char*, char*, int);void remove (in

AngularJS compare password fields

:I am trying to compare two password fields using a custom directive. It doesn't seem to be doing anything and I don't know how to debug this. Here is my code:directive: .directive('pwCheck', [function () { return { require: 'ngModel',

Output the result of each loop in different columns

:price.txt file has two columns: (name and value)Mary 134Lucy 56Jack 88range.txt file has three columns: (fruit and min_value and max_value)apple 57 136banana 62 258orange 88 99blueberry 98 121My aim is to test whether the value in price.txt file is betwe

Send HTML code to Body of email application

:Is there a way I can use mailto: or JavaScript to send a string containing HTML code to the body of an email message so that the HTML will render? This just renders as text and doesn't actually display an image (same for a mailto: link):window.open('em

How to give permission to access phone Addressbook in ios 10.0?

: This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSContactsUsageDescription key with a string value explaining to the user how the app uses this data.I added

How HTTP Server inform its clients that the response has ended

:I know that, the http clients sends 0x10 0x13 bytes to inform the http server that the request data has finished.But how the server informs the http clients that the response data has finished? (it sends -1 i.e. correct)? 1:No. HTTP Clients do n

iOS Google+ SignIn finishedWithAuth not called after application openURL delegate

:iOS Google+ SignIn finishedWithAuth never triggered after the application:openURL:sourceApplication:annotation: app delegate method. This was working, but now it does not. The response is: url:com.**************:/oauth2callback?state=19139956&code=4/

innerText property is not encoding the html

:I am trying to assign the comment text to an element, which is supposed to contain some html. So I am trying to encode the comment text before displaying it on the page after submitting. I have tried the following procedure but its not encoding the htm

Dropbox /previews not working

:I'm trying to get the file preview using:curl "https://api-content.dropbox.com/1/previews/auto/Get Started with Dropbox.pdf" -H "Authorization: Bearer "But it always return:{"error": "no_preview.file_content."}Please advise if ther

Python TypeError: sequence item 0: expected str instance, NoneType found

:I copied this code from a book:lyst = {'Hi':'Hello'}def changeWord(sentence): def getWord(word): lyst.get(word, word) return ''.join(map(getWord, sentence.split()))I get this error:Traceback (most recent call last): File "

python - how to check if a variable is 'gtk.gdk.PixbufLoader'?

:I would like to know if it's possible to check if a variable is this type:with a line like:if type(var) == 'gtk.gdk.PixbufLoader': # pseudocode print "Found!"Thanks 1:You can use isinstance:if isinstance(var, gtk

Tomcat 7 + Jersey 2.0 error

:java.lang.AbstractMethodError: javax.ws.rs.core.UriBuilder.uri(Ljava/lang/String;)Ljavax/ws/rs/core/UriBuilder; at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:119) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.ja

mix more than 2 colors together with javascript

:I´m trying to add in JS colors together. I´m sitting on front of this problem for days now. The problem is the colors are in hex code. Now i´d like to add all the colors together to print and print it out in a div, or something. Could you show me demo pl

CorePlot: unable to change pie chart position (displacement)

:I am unable to change the pie chart position (I would like it to be more left in respect to the legend so that the legend does not overlay the pie chart). Basically I would like to shift it towards the left to allow the legend to display. I tried modifyi

How to sort and get highest value from Java Object/ArrayList [duplicate]

: This question already has an answer here: How to compare objects by multiple fields 21 answers Java - getting max value from an arraylist of objects?

Using AsyncTasks as separate public classes

:this question is a continuation of what i have asked orginally here i am trying to find a better way to pass the ArrayList from AsyncTask to the Activity (any activity that calls the AsyncTask) so in my situation i have a SongsManager.java which extends

CSS background image that can scroll

:I am trying to create a background image that will have a scroll bar to scroll the image down vertically. I like the idea of using width and height percentages because it seems like this method always fits the image to any screen resolution. Unfortunat

Jquery validator plugin ajax submition not triggering

:I have a problem with my the Jquery validator (http://bassistance.de/jquery-plugins/) plugins submitHandler function. The form is validated correctly and the invalid handler message triggers correctly, but the submitHandler functions will not trigger cor

Replace substring with nothing

:How can I replace everything starting with the _ with just nothing?Here is a simple data framed <- data.frame(a = c("A_foo1", "B_foo2", " _foo3"))I want d to look like:aAB" " 1:a <- c("A_foo1", "B_foo2", " _foo3")gsub("_.*", "", a)#[

 19867    1 2 3 4 5 6 7 8 9 10 Next Last