Uncategorized
Web API Error – This request has been blocked; the content must be served over HTTPS
If your web app is being hosted over HTTPs as you’ve indicated, then all external resources it is consuming (CDN, scripts, CSS files, API calls) should also use SSL and be secured through HTTPs. Think about it. It would defeat the purpose of your app being secure, if your app was in turn making insecure … Read more
Why doesn’t “System.out.println” work in Android?
Correction: On the emulator and most devices System.out.println gets redirected to LogCat and printed using Log.i(). This may not be true on very old or custom Android versions. Original: There is no console to send the messages to so the System.out.println messages get lost. In the same way this happens when you run a “traditional” … Read more
ORA-01461: can bind a LONG value only for insert into a LONG column-Occurs when querying
Ok, well, since you didn’t show any code, I’ll make a few assumptions here. Based on the ORA-1461 error, it seems that you’ve specified a LONG datatype in a select statement? And you’re trying to bind it to an output variable? Is that right? The error is pretty straight forward. You can only bind a … Read more
How do I get monitor resolution in Python?
On Windows: If you are working with high resolution screen, make sure your python interpreter is HIGHDPIAWARE. Based on this post.
Function to calculate R2 (R-squared) in R
You need a little statistical knowledge to see this. R squared between two vectors is just the square of their correlation. So you can define you function as: Add New Post about:blankImage: Change block type or styleChange alignmentAdd titleFunction to calculate R2 (R-squared) in R You need a little statistical knowledge to see this. R … Read more