Change Photo
Abagail Waters

Questions by Abagail Waters

“inappropriate ioctl for device”?

I have a Perl script running in an AIX box. The script tries to open a file from a certain directory and it fails ...

class method generates “TypeError: … got multiple values for keyword argument …”?

If I define a class method with a keyword argument thus: class foo(object): def foodo(thing=None, thong='not unde...

ModuleNotFoundError: No module named 'numpy' in Python 3.7 on Mac?

I have python 3.7.2. I am trying to import numpy and keep getting this error. I use the terminal on Mac OS Mojave V ...

How to stop Python closing immediately when executed in Microsoft Windows?

I have just started college and we are going to be using python. We really have done nothing so I have downloaded th...

“cannot be used as a function error”?

I am writing a simple program that uses functions found in different .cpp files. All of my prototypes are contained ...

How to get the date from jQuery UI datepicker?

I want to get the date from datepicker whenever user choose the date in jQuery UI datepicker and click the button on...

Parse error: syntax error, unexpected '[' in?

Parse error: syntax error, unexpected '[' in $results = []; function class_uses_recursive($class) { $results = ...

Python: “TypeError: __str__ returned non-string” but still prints to output??

I have this piece of code which creates a new note..WHen I try to print I get the following error even though it pri...

ssh: The authenticity of host 'hostname' can't be established?

When i ssh to a machine, sometime i get this error warning and it prompts to say "yes" or "no". This cause some trou...

Inverse Logistic Function / Reverse Sigmoid Function?

I am currently coding up a fuzzy logic library in java. I have found the equations for all the standard functions - ...

Omit rows containing specific column of NA?

I want to know how to omit NA values in a data frame, but only in some columns I am interested in. For example, DF...

Difference between a HashMap and a dictionary ADT?

What is the difference between a Hash Map and dictionary ADT. And when to prefer one over another. For my programmin...

fs.statSync with Buffer “Error: Path must be a string without null bytes”?

I have read in a file buffer like this: let imageBuffer try { imageBuffer = fs.readFileSync('/some/path/to/image....

Generate a unique id?

I am a student at university and our task is to create a search engine. I am having difficulty generating a unique i...

jQuery Mobile date picker?

Is there someone out there that has a good date picker for jQuery mobile? I'm going to let the user select a "from"...