Osmdroid marker not updating

Android
I have to make implement navigation using osmdriod maps api. The Activity receives broadcasts from a location service, using following receiver: publ...
11 months ago

Getting all changes made to an object in the Entity Framework

C#
Is there a way to get all the changes made to a object in the Entity Framework before it saves all changes. The reason for this is that i want to crea...
11 months ago

Is there a way to pass variables to a controller from ui.router?

Javascript
I have a page structured with some nested views, using ui.router and I would like to pass some data from the parent controller to the child controller...
11 months ago

Use regex to get array of values from string in javascript

Javascript
I am trying to get all the words comes with inside bracket in string using javascript but i am not get clear idea. please help me. Input " ( [Fie...
11 months ago

How do you clone an Array of Objects in Javascript

Javascript
...where each object also has references to other objects within the same array? When I first came up with this problem I just though of something lik...
11 months ago

Python-list expression output

Python
a=["four", "score", "and", "seven", "years"][[0,2,3][1]] print(a) output is : and What is the main logic of this expression ? ...
11 months ago

Calculate `cumsum` by run of signal value

R
I would like to calculate cumsum of some value starting for every run of signals where signal == 1. data: set.seed(123) seq.Date(as.Date('2016-09-01...
11 months ago

Django's LiveServerTestCase Always Fails Due to Conflicting Address... Despite Address Appearing Free

Python
I'm currently working on cleaning my Django functional tests to use the LiveServerTestCase rather than bouncing selenium based tests off an instance o...
11 months ago

Sass color variable not working inside darken()

Sass (Sass)
I've got list of colors and I would like to use darken() on them like so: $innerPagesBgColors: "#6B46C1", "#2980B9", "#FD5456", "#000"; .foo { c...
11 months ago

How to load a file from a combobox

Vb.net
I'm currently have the following code: Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click Dim dir = ...
11 months ago

AngularJS - Filter array by using nested objects in check boxes

AngularJS
I need to filter an array by using nested objects, it means filter the array by using multiple check boxes but I have an issue with the duplicate name...
11 months ago

Why do I need to use the Rfc2898DeriveBytes class (in .NET) instead of directly using the password as a key or IV?

C#
What is the difference between using Rfc2898DeriveBytes and just using Encoding.ASCII.GetBytes(string object);? I have had relative success with eith...
11 months ago

.NET Portable - Calling .Select() on a string

C#
I am trying to call the .Select() Linq extension method on a string from within a PCL, but I'm unable to compile the project. Calling .Select() on a s...
11 months ago

Correctly casting floating point in C++

C++
What would be the correct/recommended way of telling the C++ compiler "only warn me of floating point casts that I'm not aware of"? In C, I would ena...
11 months ago

How to let underline fade in beneath link on hover?

HTML
How can I fade in an underline on hover over a link like in the video below? I found this CSS by using the developer console, but I can't figure ou...
11 months ago

UIDatePicker change locale

iOS
I am trying to change locale for UIDatePicker like this: picker.locale = [[NSLocale alloc] initWithLocaleIdentifier:@"en_US"]; It is working, but...
11 months ago

LDAPConnection (org.apache.directory.ldap.client.api.LdapConnection) fails on ssl

Java
I get an error on trying to connect to my server via 636 and ssl enabled. I used apache directory studio to explore the Active directory and connecte...
11 months ago

Java type error when compiling code with javac 8 which worked fine with javac 6

Java
I have this class, which is a simplification of some code I found in a project that is being ported from Java 6 to Java 8: public class Unification {...
11 months ago

event when a google maps InfoWindow is closed?

Javascript
Is there way to set an event on an InfoWindow that will notify me when that window is closed? I've managed to find a hack that works: after setting t...
11 months ago

After Save or Edit JqGrid doesn't refresh the records

jQuery
Im using JqGrid to list, add, delete, edit, find the my records. When i choose the loadonce=false, it normally refresh the records after del, edit or ...
11 months ago