EVERYTHING

EVERYTHING

  • All Sites

1 answer

Button loading state and ng-disabled

ng-disabled not working with $().button('loading') & .button('reset'). How to fix this issue? Also I have Plunker.

4 answers

symfony2 behind Amazon ELB: always trust proxy data?

I'm running a Symfony2 web application on AWS, and am using an Elastic Load Balancer. In a controller method, I need to do the following to get the IP of a user requesting a web page: ...

54 answers

Why is the Android emulator so slow? How can we speed up the Android emulator?

I have a 2.67 GHz Celeron processor, and 1.21 GB of RAM on a x86 Windows XP Professional machine. My understanding is that the Android emulator should start fairly quickly on such a machine, ...

1 answer

Fine-Grain parallel algorithm for LU-decomposition

How would you understand this pseudocode of parallel algorithm for LU-decomposition ? I'm confused mostly with the min(i; j) - 1, because I have no idea, what the author wanted to say by it. I ...

1 answer

3 tier acrhitecture in Microsoft.NET web applications

We know that nowadays the systems are designed as web applications. Every imaginable system is either converted or planned to be converted to a web app. In Microsoft .NET world the famous three tier ...

1 answer

Google Forms Responses sheet won't keep formatting?

I set up a google form for admins on our system to log actions until I can get a proper database running with all the new hardware. The responses spreadsheet for the form, however, is being troubling. ...

4 answers

Android Shared preferences example

I have been looking online for a good example but I can not find one. I want to be able to retrieve user input in an app for later use. For example, the user is prompted to enter all 7 days of the ...

0 answers

Parse doesn't return PFObject

I have a pointer to an object in my [PFUser currentUser] and when I'm trying to access values inside that object I get internal ObjC exception breakpoint. this is my code: PFObject *object = [PFUser ...

1 answer

Set all dictionary keys to 1 causes crash BAD_ACCESS Swift

I have a dictionary which is saved as an NSUserDefault declared globally: var fruitDictionary = NSUserDefaults().objectForKey("fruits") as [String:Int] This dictionary contains fruit names and then ...

1 answers | 1 min ago by Reece55 on Stack Overflow stackoverflow.com
0 answers

Design Pattern For Feature Extraction [Python]

I am writing a machine learning algorithm using Python's scikit-learn library (using Python 2.7.9). I am looking for a "design pattern" to extract a feature vector from an object, with these traits: ...

0 answers

SQL language query

First, given this table CREATE TABLE play( movie VARCHAR(256), scene VARCHAR(256), actor VARCHAR(256)); I would like to find the names of actors who played in movies in which angelina jolie is ...

0 answers

Take data with array PHP

Could someone help me make array to catch this data: I get this when decode JSON data to array... From this url: ...

1 answer

Probability of an even function

given the function: why does: does the fact that it's an even function has anything to do with it?

1 answer

SQLiteConstraintException: error code 19: constraint failed

I'm getting that exception when I do an insert in my SQLite database The following code gives me the exception: mDbHelper.createUser("pablo","a","a","a","a"); The code from mDbHelper ...

1 answers | 1 min ago by AndroidUser99 on Stack Overflow stackoverflow.com
1 answer

Complex no maximization

If $$|z_1|=2,|z_2|=3,|z_3|=4$$ Find the maximum value of $|z_1-z_2|^2+|z_3-z_2|^2+|z_1-z_3|^2$ I tried using its geometrical interpretation but didn't get the answer.Try give an answer using ...

2 answers

Designing a function that takes two abstract Base class objects as arguments, and does different things based on what Derived class the objects are

So I have a base class Shape with its children: Triangle, Polygon, Circle and Vector and 10 static functions which take different pairs of the said children to check if they intersect. I also have a ...

1 answer

Java: Misspell reporter using regex (how to parse for misspells)

I am creating a program that parses strings to report instances of misspells. I want it to report multiple instances opposed to one single variable. I had it interpret user input for instance; ...

2 answers

I do not want a trailing comma after last element xslt

In my schema I have AddressLine1, AddressLine2, AddressLine3 and AddressLine4. When address is added to each AddressLine a comma is inserted to separate the AddressLines. However if only AddressLine1 ...

2 answers | 1 min ago by Angela on Stack Overflow stackoverflow.com
1 answer

XMLHttpRequest upload progress not firing correctly

I'm trying to send a file using XMLHttpRequest, which is working, but my progress monitor is not working. I've tried uploading a 700KB file and a 3MB file and I get the same issue. the "progress" ...

2 answers

Does a start-stop system for a combustion engine pay off?

A start-stop system stops the engine when the car comes to a halt, for example, in front of a traffic light or during a traffic jam. The engine automatically restarts when pressing the clutch or the ...

2 answers | 1 min ago by Heinzi on Skeptics skeptics.stackexchange.com
7 answers

Symfony2 behind ELB is redirecting to http instead of https

Issue: User logs in with https://example.com/login Authentication is approved As configured in security.yml Symfony2 redirects user to profile page after login. But it redirects them to the wrong ...

0 answers

Change constraint constant when scrollView did scroll

I have constraint for height and want to change value when my scrollview scrolling. So i hook delegate from UIScrollView to my ViewController and then in a method -(void)scrollViewDidScroll:scrollView ...

6 answers

What Thunderbolt to USB 3.0 cables/adapters exist for OS X and Mac hardware?

I have the Late 2013 Macbook Pro, which has two USB 3.0 ports and two Thunderbolt 2 ports. I currently use both USB 3.0 ports and one TB2 port. I want to connect a third USB 3.0 device to the machine, ...

19 answers

How do you copy and paste into Git Bash

I'm using msysgit running on Windows XP. Tried Ctrl+V, Right click, Middle click, google... no luck.

0 answers

Asp.Net: menu with transparent background

I want to set transparent background of menu for Asp.Net project. I use next code for it: <%@ Master Language="C#" CodeBehind="Site.master.cs" Inherits="Solution.Site" %> <!DOCTYPE ...

0 answers

ACTION_IMAGE_CAPTURE not working for Android 4.2.2

I'm developing an app that needs to take a picture and save it, and show it in the app. It works for Android 4.0 but not for Android 4.2.2 (and I guess for later versions neither). Here is the code: ...

2 answers

PyQt5 focusIN/Out events

I am using Python 3.4 and Qt 5 for the first time. It's easy and I can understand most of functionality which I need. But (there is always "but") I don't understand how to use ...

2 answers | 2 mins ago by exdatis on Stack Overflow stackoverflow.com
3 answers

Check whether letters of word are in alphabetical order

Write a function/program that accepts a string of lower/uppercase letters [A-Za-z] as input, that checks whether the occuring letters are unique and in alphabetical order (ignoring lower and ...

3 answers | 2 mins ago by flawr on Programming Puzzles & Code Golf codegolf.stackexchange.com
0 answers

Google Maps Android API v2 only shows tiles when I touch the screen

Problem When application starts, it shows a white Google Map (I can see the Google logo), and even waiting for minutes with a good interned connection it doesn't load tiles. However, if I touch the ...

0 answers

Does not scroll smooth when fastScrollEnabled is used in ListView

I am using a listview in my app. I made a custom adapter and used viewholder design pattern. The problem is when I scroll the listview by swiping its scroll smoothly but when I scroll it by dragging ...

15 30 50 per page
1 2 3