I'm just testing typescript in VisualStudio 2012 and have a problem with its type system. My html site has a canvas tag with the id "mycanvas". I'm trying to dr
I created a table in hive as a managed table, but it was supposed to be external, is it possible to change the table type of the table without losing the data?
I am trying to determine if a runtime type is some sort of collection type. What I have below works, but it seems strange that I have to name the types that I b
Using Postgres, I'm trying to use AUTO_INCREMENT to number my primary key automatically in SQL. However, it gives me an error. CREATE TABLE Staff ( ID
What this code is trying to do Desired result: Solove the following word problem, using code: Also, you can use the modulus operator to extract the rightmost d
I want to know if it is possible to store multiple values in a field in PostgreSQL. I have a table called Token with the columns id, text and category. categor
How could I convert from float to string or string to float? In my case I need to make the assertion between 2 values string (value that I have got from table)
If types T1 and T2 are based on type T, and type T only comes into existence from a NewT1() or NewT2(), is there any way a function func (*T) WhoAmI() can know
I created my version of strlen() function. unsigned int my_strlen(char *p) { unsigned int i = 0; while(*p!='\0') { i++; p++; }
In Haskell, it is considered good practice to explicitly declare the type signature of your functions, even though it can (usually) be inferred. It seems like t
It's not essential, but I'm asking out of curiosity. In Object type we can declare optional property by using ?: operator, but is there a similar shorthand when
I'd like to restrict the type of file that can be chosen from the native OS file chooser when the user clicks the Browse button in the <input type="file">
I know about int and long (32-bit and 64-bit numbers), but what are uint and ulong?