Nested binds, functions and posting work
Vote count: 0 I am developing an application that has both an user interface and the logic of the program. Let's call them UI and Client. As I don't want the user interface to be frozen by the logic of the program —which will co ect to the server, send and receive data that would block the main thre...
value based thread lock
Vote count: 0 Forgive me if this has been asked before. I have looked around a lot, but I get the feeling that I don't have the proper vocabulary to find this by searching the web. I have a multithreaded application in python. I want to be able to lock a certain block of code but only to other threa...
EditText Value in a dialog
Vote count: 0 I dont understand, the dialog and everything works but as soon as I get the value from the EditText and assign it to val, run the app it crashes within the onClick on success. I get an error: Attempt to invoke virtual method 'android.text.Editable android.widget.EditText.getText()' on ...
Visual Studio Crash on Startup while loading MEF
Vote count: 0 I've recently installed Visual Studio 2015 Enterprise. After the first start I co ected my microsoft-account to the studio. Now I'm not able to start the visual studio again. During the splash-screen a small loading-window appears which says: Sca ing new and updated MEF components And ...
Update the value in a textbox with controller
Vote count: 0 In my ASP MVC web application. I have this controller namespace Test.Controllers { public class HomeController : Controller { // GET: Home public ActionResult Index(UserDetails user) { user.UserEmail = "Email one"; retu View(user); } // Post: Home [HttpPost] public ActionResult Index(U...
VBA script to scrape a single HTML element's value
Vote count: 0 I've looked at about 30 different questions, and each one deals with "getelementbyID". My issue is the element I need to scrape doesn't have an id: I see it is inside of an "h6" class or tag, but msgbox IEObj.Document.getelementsbytagname("h6").Value msgbox IEObj.Document.getelementsby...
Creating a PDF image from CALayer
Vote count: 0 I'm attempting to create a PDF image from a CALayer. The image gets saved to disk, however I can't open it in Preview or Photoshop. So presumably my code isn't creating it correctly. let layer = CALayer() let line = CALayer() line.backgroundColor = NSColor.blackColor().CGColor line.fra...
Objective-C dynamic implementation
Vote count: 0 Description + sample + explanation: (You can skip to the question section) I'd like to make an object instance, which can be implemented by different implementations, depend on a condition (the inte et status). Simple declaration @interface LoginController : NSObject /** The currently ...
cmake will not compile to C++ 11 standard
Vote count: 0 I'm new to C++ and have been struggling with compiling/making/linking/building/whatever, lets see if somebody can help me out. I did some searches and found other people with similar problems but I tried their solutions with no luck, so here goes: A simple c++ program that uses C++ 11 ...
PHP Handling uncertain input data
Vote count: 0 Sometimes we receive input data of varying structure, for example response from online API may include some information but other not, some details are stored in complex nested arrays etc. I like to parse this data before usage, this way I don't have to use isset() over and over later ...
C++ pass struct from from one class to another class
Vote count: 0 I have two classes A and B defined in A.h, A.cpp and B.h, B.cpp respectively. Class A has a structure that I want to use in a function of Class B. Because Class B is included in Class A, I can't include class A in Class B as it will lead to circular dependency. Code for all the files a...
Handling complex data dependencies in parallel computation in R
Vote count: 0 I'm looking to run several similar sparsely-related jobs in parallel using parallel package in R.The nature of the jobs is that some of them are dependant upon others where dependency is an acyclic directed graph (not a tree). Also each individual job performance can vary in time from ...
touch .gitignore not creating file
Vote count: 0 I'm trying to set up a React dev environment, and one instruction I've been given is to enter my directory in Terminal and type this code: touch .gitignore The touch command works fine when I'm making a file with a name and extension (e.g. index.html) but since this appears to be only ...
First use of array is slow
Vote count: 0 I have encountered a weird "bug" in PHP and since I'm a novice I'm at the end of my knowledge. I'm developing a TYPO3 extension that has some major performance issues with data, or so I thought. It tu s out that the first use of the array, which stores all the objects I got from my dat...
Click on item to appear another item Android
Vote count: 0 im new to this forum and new to android, i'm doing a project on my school and i need some help here, since im new to android i wa a know what type of component i should use to show those dropdown lists(Where it says Projeto 1, etc...). And after i click on the project it expands and cr...