Tag: int

60 votes
13 answers
2.5K views
How to truncate a foreign key constrained table?

Why doesn't a TRUNCATE on mygroup work? Even though I have ON DELETE CASCADE SET I get: ERROR 1701 (4

avatar
Hilario
0 1 0 9
asked 07 September, 2021
54 votes
14 answers
2.1K views
How do I specify unique constraint for multiple columns in MySQL?

I have a table: table votes ( id, user, email, address, primary key(id), ); Now I want

avatar
Leonardo
0 1 0 9
asked 07 September, 2021
53 votes
6 answers
1.4K views
Why is 24.0000 not equal to 24.0000 in MATLAB?

I am writing a program where I need to delete duplicate points stored in a matrix. The problem is that when it

avatar
Arline
0 1 0 9
asked 07 September, 2021
55 votes
4 answers
1.3K views
Function for 'does matrix contain value X?'

Is there a built in MATLAB function to find out if a matrix contains a certain value? (ala PHP's in_array

avatar
Majorie
0 1 0 9
asked 07 September, 2021
50 votes
2 answers
741 views
In MATLAB, are variables REALLY double-precision by default?

This question arose out of something strange that I noticed after investigating this question further... I al

avatar
Dusty
0 1 0 9
asked 07 September, 2021
55 votes
13 answers
1.8K views
Call Python function from MATLAB

I need to call a Python function from MATLAB. how can I do this?

avatar
Juliane
0 1 0 9
asked 07 September, 2021
58 votes
8 answers
1.9K views
Why do C++ libraries and frameworks never use smart pointers?

I read in a few articles that raw pointers should almost never be used. Instead they should always be wrapped

avatar
Kristopher
0 1 0 9
asked 07 September, 2021
53 votes
10 answers
2.2K views
What is an Endpoint?

I have been reading about OAuth and it keeps talking about endpoints. What is exactly an endpoint?

avatar
Trudy
0 1 0 9
asked 07 September, 2021
62 votes
1 answers
2.7K views
safaridriver: unrecognized option '--w3c'

I'm trying to run a test against safari running on an iPhone in BrowserStack. Using nightwatch test fram

avatar
Royal
0 1 0 9
asked 07 September, 2021
63 votes
20 answers
1.5K views
How to call shell commands from Ruby

How do I call shell commands from inside of a Ruby program? How do I then get output from these commands back

avatar
Benton
0 1 0 9
asked 07 September, 2021
48 votes
17 answers
2K views
CSS to hide INPUT BUTTON value text

I am currently styling an <input type='button'/> element with the following CSS: background:

avatar
Frederick
0 1 0 9
asked 07 September, 2021
53 votes
30 answers
1.4K views
How to pretty print XML from Java?

I have a Java String that contains XML, with no line feeds or indentations. I would like to turn it into a Str

avatar
Adolfo
0 1 0 9
asked 07 September, 2021
45 votes
27 answers
1.4K views
Pretty printing XML in Python

What is the best way (or are the various ways) to pretty print XML in Python?

avatar
Adolfo
0 1 0 9
asked 07 September, 2021
62 votes
6 answers
658 views
Declaring a custom android UI element using XML

How do I declare an Android UI element using XML?

avatar
Trudy
0 1 0 9
asked 07 September, 2021
48 votes
18 answers
1.3K views
How do I align views at the bottom of the screen?

Here's my layout code; <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http

avatar
Rudolf
0 1 0 9
asked 07 September, 2021
63 votes
4 answers
2.9K views
What is the difference between &apos;classic&apos; and &apos;integrated&apos; pipeline mode in IIS7?

I was deploying an ASP.NET MVC application last night, and found out that it is less work to deploy with IIS7

avatar
Trudy
0 1 0 9
asked 07 September, 2021
55 votes
1 answers
346 views
How can I perform two-dimensional interpolation using scipy?

This Q&A is intended as a canonical(-ish) concerning two-dimensional (and multi-dimensional) interpolatio

avatar
Roger
0 1 0 9
asked 07 September, 2021
51 votes
5 answers
1K views
Compute a confidence interval from sample data

I have sample data which I would like to compute a confidence interval for, assuming a normal distribution. I

avatar
Charis
0 1 0 9
asked 07 September, 2021
53 votes
1 answers
762 views
Clojure Jython interop

I was wondering if anyone has tried somehow calling Jython functions from within Clojure, and how you went abo

avatar
Chelsea
0 1 0 9
asked 07 September, 2021
50 votes
1 answers
1.6K views
Interoperability of Scala and Jython

I would think that since they both run on the JVM, Scala and Jython could be used together. How well do they i

avatar
Sydney
0 1 0 9
asked 07 September, 2021