Change Photo
Haleigh Harris

Questions by Haleigh Harris

Can I fill a rectangle with a transparent gradient javascript canvas??

I'm trying to overlay this black rectangle: By filling another rectangle of the same size on top of it that has a...

What is android:weightSum in android, and how does it work??

I want to know: What is android:weightSum and layout weight, and how do they work? ...

Best way to check if a character array is empty?

Which is the most reliable way to check if a character array is empty? char text[50]; if(strlen(text) == 0) {} o...

How to replace local branch with remote branch entirely in Git??

I have two branches: local branch (the one which I work with) remote branch (public, only well-tested commits go t...

ResultSet exception - before start of result set?

I'm having trouble getting data from a ResultSet object. Here is my code: String sql = "SELECT type FROM node W...

How to add an empty column to a dataframe??

What's the easiest way to add an empty column to a pandas DataFrame object? The best I've stumbled upon is somethin...

Count max number of consecutive occurrences of a value in SQL Server?

I have a table with players, results and ID: Player | Result | ID --------------- An | W | 1 An | W ...

mkdocs command not found on OSX?

I'm following the mkdocs setup process here: http://www.mkdocs.org/#installation I'm not able to get mkdocs to do a...

Python selenium execute_script ajax request not returning response?

I want to execute a ajax request onto a site but when I run the code, it prints out "None" and not the result. from...

C++ Reading from file into class object array to print 25 lines?

I am trying to this homework for my c++ class and I have been working on it for a few hours now and am not making an...

Is O(n) greater than O(2^log n)?

I read in a data structures book complexity hierarchy diagram that n is greater than 2log n. But cannot understand h...

I need an alternative to WSS which does not require any certificate for signing in?

I have ws working for sending user login details through a websocket. However I know that someone sniffing packets c...