Change Photo
Hilbert Bashirian

Questions by Hilbert Bashirian

powershell contains not working?

I am trying filter by the name of each share using $Share.Name. However, when I try to use -contains in the if state...

How to declare a vector of zeros in R?

I suppose this is trivial, but I can't find how to declare a vector of zeros in R. For example, in Matlab, I would...

How to tell if hex value is negative??

I have just learned how to read hexadecimal values. Until now, I was only reading them as positive numbers. I heard ...

C++ - Assigning null to a std::string?

I am learning C++ on my own. I have the following code but it gives error. #include <iostream> #include <...

Angular: what is filterFilter?

i am new in angular and i am bit familiar with filter word but what is filterFilter word and usage in angular. just ...

Get all non-unique values (i.e.: duplicate/more than one occurrence) in an array?

I need to check a JavaScript array to see if there are any duplicate values. What's the easiest way to do this? I ju...

Difference between printStackTrace() and toString()?

I'm curious as to what the difference is between printStackTrace() and toString(). At first sight, they seem to do t...

Hive: work around for non equi left join?

Hive does not support non equi joins: The common work around is to move the join condition to the where clause, whic...

How to close a JavaFX application on window close??

In Swing you can simply use setDefaultCloseOperation() to shut down the entire application when the window is closed...

Getting java.net.SocketTimeoutException: Connection timed out in android?

I'm relatively new to android development. I'm developing an android application where i'm sending request to web se...

PySpark: withColumn() with two conditions and three outcomes?

I am working with Spark and PySpark. I am trying to achieve the result equivalent to the following pseudocode: df =...

Java generics + Builder pattern?

How do I call start() below? package com.example.test; class Bar {} public class Foo<K> { final private...

How to use size and decay in nnet?

I am quite new to the neural network world so I ask for your understanding. I am generating some tests and thus I ha...

Type.GetType(“namespace.a.b.ClassName”) returns null?

This code: Type.GetType("namespace.a.b.ClassName") returns null. and I have in the usings: using namespace.a.b;...