Annoying RStudio Behavior in debugging

R
When I am in debug mode in a function and uses "CTRL + Enter" on an object/variable, R takes me back on line 1 of the function and prints the object v...
1 year ago

Write data frame to Elastic Search with @timestamp

R
I am exploring the elastic R package to write a data frame to ElasticSearch. I have using docs_bulk function. One of the columns in my dataframe is @...
1 year ago

Simple way to show to the user that he pressed a button by changing the background color?

Swift
I would like, when the user presses a button, give him a feedback that he pressed the button such as a quick animated change of background color (ligh...
1 year ago

Connection to local web service from xamarin Vs2015 android emulator

Android
I am getting 'connection refused' or 'bad request' when trying to connect from the android emulator to my web service on localhost. I have added the p...
1 year ago

get value of a property o => o.Property1 , defined in lambda

C#
I need to get the value of a property defined in a lambda public static MvcHtmlString MyHelper<T, TProperty>( this HtmlHelper<T...
1 year ago

Duplicate Symbols when using multiple Native Extensions

iOS
I would like to use more ANE in my Adobe AIR 3.7 iOS Project, but when I compile, it says, the ContextFinalizer, and ContextInitializer symbols are du...
1 year ago

JSON data types - numbers are converting to strings when it gets to the server

Javascript
I am loading a CSV file, parsing it into a JSON object, then I am converting those strings into numbers. They show as numbers in the browser console, ...
1 year ago

saving image file in mongodb using node gm (graphic magic)

Node.js
I am totally new in node and mongodb concepts. I am trying to save the image, file (meta data) saved successfully but its chunks are not saving. I al...
1 year ago

How to download files programatically from Google Storage via python?

Python
I'm currently trying to download some files from Google Storage using the Python API. Obviously this can be done by using gsutil's cp, and indeed I co...
1 year ago

Paste multiple columns together in R

R
I have a bunch of columns in a dataframe which I want to paste together (seperated by "-") as follows: data <- data.frame('a' = 1:3, ...
1 year ago

How to I access argv and argc in swift?

Swift
I'm writing a command line app using Swift but I'm not sure how to get access to the arguments passed in. In C/Obj-c it seems relatively painless but ...
1 year ago

Exit android app on back pressed

Android
I am building an Android App. How to exit an Android App when back is pressed. Android version is 2.3.3 and above. The Android App goes to previous ac...
1 year ago

Find least occurring members in the list in C#

C#
I have list<string> with random amount of entries (somewhere between 10-500). and I need to find the value that occurs the least number of time...
1 year ago

Windows Phone 8 Emulator not launching. Error code 0x80131500

C#
I have problem with Visual Studio 2012 (OS: Windows 8.1 Preview) Create empty project (Windows Phone App) Press F5 to start debugging. And I get 0...
1 year ago

How do you construct a std::string with an embedded null?

C++
If I want to construct a std::string with a line like: std::string my_string("a\0b"); Where i want to have three characters in the resulting string...
1 year ago

Divs wrap when a browser window is scaled down in size

CSS
This is probably the first time I've tried asking a question regarding CSS or HTML online but as the title states I'm having an issue with div's colla...
1 year ago

Override default Spring-Boot application.properties settings in Junit Test

Java
I have a Spring-Boot application where the default properties are set in an application.properties file in the classpath (src/main/resources/applicati...
1 year ago

Calculate Arrays with input field instead of span or div

jQuery
I'm trying to do a simple calculation onblur with arrays but it's not firing. If I change it to a span or div it works fine. Why isn't it working with...
1 year ago

executeFetchRequest:error: A fetch request must have an entity

Objective-C
I had a project that was working fine. It had "Core Data" checked, and had the data model all set up. I only started adding a couple entities and pro...
1 year ago

How to detect if image is present on screen?

Python
Here is the image I need to detect: http://s13.postimg.org/wt8qxoco3/image.png Here is the base64 representation: http://pastebin.com/raw.php?i=TZQUi...
1 year ago