Change Photo
Loma Wehner

Answers by Loma Wehner

Color Theory: How to convert Munsell HVC to RGB/HSB/HSL?

The hue specification you've given here is incomplete (4.5 should be 4.5Y etc). Since the link is dead, if anyone is interested, the specs...

How can I produce a MATLAB bar graph of categorical responses??

Try this. First I created some sample data, for 10 students answering 5 questions: choices=['A' 'B' 'C' 'D'] %// I'll use this variable l...

How set point type from data in gnuplot??

There is no option to select the point type from the data file based on a column (equivalent to linecolor variable, pointsize variable or ...

How to create UI with time and date grid for ios app?

Here is the idea, if you want to implement a slightly simple design as displayed in your screenshot. You can divide the complete UI in 3 ...

Free XSD to DTD conversion utility??

XMLPad (https://xmlpad.soft32.com/) claims Converting XSD to DTD and DTD to XSD. I've never used it; your mileage may vary. The Off...

Detect coordinates within a shape?

For question 1: I'm going to go on an assumption that you have some geometry data about the shape. One method you can use to check if a p...

How to create a temporary directory/folder in Java??

If you are using JDK 7 use the new Files.createTempDirectory class to create the temporary directory. Path tempDirWithPrefix = Files.crea...

Moving canvas shapes with mouse?

Anything you draw on the canvas--like circles, are just like dried paint on the canvas. Your circles cannot be selected or moved like htm...

The database cannot be opened because it is version 782. This server supports version 706 and earlier. A downgrade path is not supported?

Try changing Tools > Options > Database Tools > Data Connections > SQL Server Instance Name. The default for VS2013 is (Loca...

Maximum number of threads per process in Linux??

Linux doesn't have a separate threads per process limit, just a limit on the total number of processes on the system (threads are essentia...

Difference between obsolete and waste code [closed]?

Obsolete code: Code that may have been useful in the past, but is no longer used, e.g. code to use a deprecated protocol. Waste code: N...

c#: static variable in a static method?

No. You can't have local static variables. From MSDN: C# does not support static local variables (variables that are declared in me...

How to declare a vector of zeros in R?

You have several options integer(3) numeric(3) rep(0, 3) rep(0L, 3) ...

Two dimensional array list?

You would use List<List<String>> listOfLists = new ArrayList<List<String>>(); And then when you needed to add a...

Write a function to calculate the average of two numbers.(Python.) Keeps getting a name that is not defined?

You are making incorrect call to your function. You should do: # v type-cast value to `int` as `raw_input` returns `str` obj...