Change Photo
Aniya Herman

Questions by Aniya Herman

Set value to mocked object but get null?

I have a simple class Foo to be mocked: public class Foo { private String name; public Foo() { } public...

ExpressJS : res.redirect() not working as expected??

I've been struggling for 2 days on this one, googled and stackoverflowed all I could, but I can't work it out. I'm ...

A fatal error has been detected by the Java Runtime Environment: SIGSEGV, libjvm?

Hi and thanks for reading, I have the following error while running my program and can't figure out what the solut...

Is there any way of configuring Eclipse IDE proxy settings via an autoproxy configuration script??

I am behind a firewall which uses autoproxy configuration script. I am able to browse the internet when I enable the...

KNearest Neighbors in sklearn - ValueError: query data dimension must match training data dimension?

I'm trying to do a k nearest neighbors prediction on some text recognition data I found on the UCI Machine Learning ...

nodemon not working: -bash: nodemon: command not found?

I'm on a Mac running El Capitan. I have node v5.6.0 and npm v3.6.0. When I try to run nodemon, I get: -bash: node...

Pandas concat: ValueError: Shape of passed values is blah, indices imply blah2?

I'm trying to merge a (Pandas 14.1) dataframe and a series. The series should form a new column, with some NAs (sinc...

How to start over again in Java??

I have this following program and I want to have a loop that asks the user if he wants to play again and if he want...

Notice: Undefined offset: 0 in?

I am getting this PHP error, what does it mean? Notice: Undefined offset: 0 in C:\xampp\htdocs\mywebsite\reddit_vo...

String cannot be resolved to a type - Java RAD?

I've recently started developing in Java (coming from .Net). The IDE I am using is RAD 7.3. After importing a proje...

How to print Two-Dimensional Array like table?

I'm having a problem with two dimensional array. I'm having a display like this: 1 2 3 4 5 6 7 9 10 11 12 13 14 15 ...

Zooming in and zooming out within a panel?

I have a Panel in which some 2D objects are moving about. I have overridden paintComponent() as necessary. Now I wan...