Change Photo
Glen Haley

Questions by Glen Haley

python: sys is not defined?

I have a piece of code which is working in Linux, and I am now trying to run it in windows, I import sys but when I ...

Add labels to likert scale ggplot graph?

I'd like to add labels to a likert scale manually made plot. However, when I try to add labels, I only get some valu...

error: ISO C forbids nested functions - What's wrong??

What's wrong with this merge sort usage? I'm trying to sort an array of size 9 as given in main(). However, I'm usin...

Creating a responsive cloud shape?

I've been trying to create a responsive cloud shape in CSS for a project. I am trying not to do this with images, CS...

How do I test for an empty JavaScript object??

After an AJAX request, sometimes my application may return an empty object, like: var a = {}; How can I check whe...

Is SAJAX dead? What to replace with??

We use Sajax for adding small Ajax code to sites. After running into a problem and doing some digging, it seems the...

Get the number of lines in a text file using R?

Is there a way to get the number of lines in a file without importing it? So far this is what I am doing myfiles &...

Vertically stretch background image?

I am trying to figure out how to stretch a background image vertically. I am using CSS3 with 3 images in the followi...

How to display text in main window??

I'm new to Qt and I'm having a hard time finding a simple example illustrating how to display some text on the main ...

Vba code: Filling the blank cells with zero dynamically?

I need to fill my blank cells in a worksheet with zero. Currently I was doing it for C12:H35. Can someone please tel...

Is there a way to reset IIS 7.5 to factory settings??

I modified a lot of options in IIS, and would like to reset its settings to default. I already tried installing/re...

protractor/selenium “could not find chromedriver at” (on Windows)?

I installed protractor following this tutorial and when i use webdriver-manager update it says: selenium standalone...

Why doesn't JUnit provide assertNotEquals methods??

Does anybody know why JUnit 4 provides assertEquals(foo,bar) but not assertNotEqual(foo,bar) methods? It provides ...

Server object error 'ASP 0177 : 800401f3' Server.CreateObject Failed?

I'm using Classic ASP. Set theForm = Server.CreateObject("Persits.Upload") theForm.OverwriteFiles = True Running ...