All Questions
7,345,201
questions with no upvoted or accepted answers
125
votes
1
answer
6k
views
Play Store updates/installs app using a different account than the one the user made IAP through
On this bug report on GitHub, we were asked to raise the issue here.
The issue is quite simple. Sometimes, users have multiple accounts on their phone, let's say [email protected] and [email protected]. They ...
84
votes
0
answers
5k
views
Marching Cubes generating holes in mesh
I'm working on a Marching Cubes implementation in Unity. My code is based on Paul Bourke's code actually with a lot of modifications, but anyway, I'm checking if a block at a position is null, and if ...
69
votes
1
answer
4k
views
JobScheduler: controlling delay from constraints being met to job being run
I'm using JobScheduler to schedule jobs. Mainly I'm using it for the .setRequiredNetworkType() method, which allows you to specify that you only want the job to be scheduled when a network connection ...
67
votes
0
answers
6k
views
CORS OPTIONS preflight requests not showing in dev tools
How to get Safari to display CORS pre-flight OPTIONS requests in the dev tools network tab?
IIRC they used to show up, and I know the requests are being made as we can see them logging on the server.
...
64
votes
0
answers
958
views
swf respondDecisionTaskCompleted call, response time degrade overtime
We have a decided worker running and as the time goes we noticed the response time of the respondDecisionTaskCompleted call was getting slower and slower.
We tried using the same instance of the SWF ...
59
votes
0
answers
8k
views
Local overrides in chrome – keep active while devtools are closed
I really like the local overrides feature in Chrome. While it is handy during development, I'd also like to use it while my devtools are closed. If this were possible, it could replace extensions that ...
58
votes
0
answers
2k
views
How might I get detailed database error messages from dplyr::tbl?
I'm using R to plot some data I pull out of a database (the Stack Exchange data dump, to be specific):
dplyr::tbl(serverfault,
dbplyr::sql("
select year(p.CreationDate) year,
...
57
votes
1
answer
3k
views
Unit-Test project fails to build after installing .NET 4.5
I have a WPF solution in .NET 4.0 that includes a Unit Test project which tests the different commands used in the ViewModels. Everything was working fine, but then I installed .NET 4.5 and VS2012.
...
56
votes
1
answer
1k
views
Game Command format between bluetooth controller and console
I am creating an Android project, in which I have to make an android wearable smartwatch as a game controller that can send commands to games running on a handheld device connected to that smartwatch ...
56
votes
0
answers
1k
views
Materialize the Value for a Type that has One Inhabitant
Thanks to @MilesSabin's answer I can write a type level Fibonacci sequence:
sealed trait Digit
case object Zero extends Digit
case object One extends Digit
sealed trait Dense { type N <: Dense }
...
55
votes
1
answer
2k
views
Intermittent 401 Unauthorized from Google GCM
We are getting intermittent 401 Unauthorized errors from Google's GCM service. In the past, it worked 100% of the time. The problem might coincide with our routers accepting IPv6 traffic, but the ...
55
votes
1
answer
3k
views
“Illegal type synonym family application in instance” with functional dependency
I have a multi-parameter typeclass with a functional dependency:
class Multi a b | a -> b
I also have a simple, non-injective type synonym family:
type family Fam a
I want to write an instance ...
53
votes
3
answers
2k
views
How to callback NSStreamDelegate with NSStreamEventOpenCompleted?
I have been working on a NSStreamDelegate, I have implemented call back, I have initialized the input and output stream ilke this...
CFReadStreamRef readStream;
CFWriteStreamRef writeStream;
...
53
votes
0
answers
2k
views
How do I write a TDBCtrlGrid VCL Style custom class?
There are lots of questions here about XE2 VCL Styles and custom colors for Buttons, Panels, edits, etc, and VCL Styles. As much as I wish the existing questions covered it, they don't... So DB ...
52
votes
0
answers
7k
views
SwiftUI UITableView was told to layout its visible cells and other contents without in view hierarchy
I have a list in a view (lets call it view A) where I push a view B via NavigationLink from view A and manipulate the CurrentSubjectValue to the initial view A. The moment the data is added and the ...
51
votes
1
answer
922
views
Qt5 VideoOverview example does not work. Any solution?
I am stuck for a month with a video example given in Qt Video Overview.
I tried that code, but I only got a blank square (QWidget). I am using GStreamer0.10 for media playback over Qt5. I also played ...
51
votes
1
answer
631
views
Xcode 6 how to disable "Lost connection to iPhone" message when unplugging a device?
Upon upgrading to Xcode 6 every time I unplug a device that is running an app deployed and started from Xcode, I get the application-wide popup box saying "Lost connection to [device name]".
...
51
votes
7
answers
8k
views
How to debug Angular universal?
I am using Angular Universal Starter repo. In angular 4 universal for ssr we could debug browser and node part of application in dev mode(see console), but now I do not see way to debug node part. I ...
50
votes
2
answers
5k
views
Why has `android:screenOrientation="behind"` no effect in android 4.1.2?
As a test sample, there is an application with 2 activities: MainActivity that launches SecondActivity on button click.
It works fine on Android 4.0.4, but on Android 4.1.2 I encountered unexpected ...
48
votes
1
answer
5k
views
Recaptcha V3 error incorrect-captcha-sol randomly
I'm getting incorrect-captcha-sol error code sometime while using Google reCAPTCHA server side verification api.
I have integrated google recaptcha validation to some of my apis.
To do so, I pass ...
47
votes
1
answer
2k
views
What is the ":ABPerson" string in CNContact identifier?
My iOS application checks the contacts from time to time and imports a new one to its own database.
I checked that contact and it already exists by the identifier field, that is usually filled by ...
47
votes
1
answer
7k
views
Keras not using multiple cores
Based on the famous check_blas.py script, I wrote this one to check that theano can in fact use multiple cores:
import os
os.environ['MKL_NUM_THREADS'] = '8'
os.environ['GOTO_NUM_THREADS'] = '8'
os....
47
votes
0
answers
2k
views
WebView native crash: libwebviewchromium.so "Operation not permitted" - ILL_ILLOPC
I'm seeing a lot of crash reports similar to the crash below, and I'm at a loss for how to diagnose the issue.
Crash heading in Google Developer Console:
Native crash at
/data/app/com.google....
46
votes
2
answers
3k
views
NSRangeException Out of Bounds error
I am setting the attributed text of a label, and I am getting this strange error: Terminating app due to uncaught exception 'NSRangeException', reason: 'NSMutableRLEArray replaceObjectsInRange:...
46
votes
2
answers
2k
views
Generated system.img not running on emulator
I wanted to build a custom ROM for Android TV.
I have followed the steps given on the Android Source Code - AOSP website and downloaded the source using the commands below:
repo init -u https://...
45
votes
0
answers
2k
views
What is `Can't find variable: loadHomepageTiles` error on iOS 11.3
I recently came across this error message: Can't find variable: loadHomepageTiles on our error logs from one of our angularjs 1.6 mobile applications.
This seems to only happen on iOS devices running ...
45
votes
0
answers
993
views
Use the `pos` argument in Rgraphviz to fix node position
Based on this question Automatically curving an arc when it is overlapping with another one, I am trying to set the pos attribute in a RGraphviz plot.
Can someone show how to correctly use the pos ...
45
votes
2
answers
1k
views
Piwik Filter Graph by Custom Variable
In piwik, is it possible to filter the visitors graph based on a custom variable from the tracker? I want to show an evolution graph of all the visits with a 70 value in the first custom variable slot....
45
votes
1
answer
2k
views
Write/create file within Android Instrumentation context
I have a class that creates (or opens) a file to write some data to it. This class receives a Context in the constructor, saves it in an instance field, and then uses it to call the context....
44
votes
1
answer
3k
views
ExecuteRequestHandler spent most of the time
I'm working on some performance related tasks and using new relic to diagnose first.
Here is what I have got
I'm wondering is it possible to improve on the ExecuteRequestHandler part? Any help will ...
44
votes
3
answers
2k
views
Is there an equivalent to Chrome's DevTools 'workspaces' in Firefox?
As in title: Is there an equivalent to Chrome's DevTools 'workspaces' in Firefox?
If not - how else can I work with source maps if my source js and scss files are outside webroot? Can I save changes ...
43
votes
0
answers
2k
views
How do I share a link to a Firebase Crashlytics report?
Has anyone figured out how to get a permalink to a Firebase Crashlytics issue? I'd like to paste an issue link in our bug tracker. The only way I know right now is the copy the address bar, but the ...
43
votes
0
answers
2k
views
How to make a composite manifest for Microsoft smooth streaming
I am new to Microsoft Smooth Streaming and have questions about the making of composite manifests.
Following the guidance from here.
I was able to make a composite manifest of a single clip element ...
42
votes
0
answers
7k
views
How to resolve the BufferQueueProducer problem specifically on Android Q Pixel 3 and 3 XL devices, while Emulator works fine
I am using a surface texture view to display videos. The videos are shown in a carousel which is essentially a view pager.
I have already tried releasing the surface view on the surface gets destroyed ...
42
votes
2
answers
1k
views
iOS SecTrustRef Always NULL
I'm trying to connect an iOS app to a Windows C# sever using TLS over TCP/IP.
The TLS connection is using untrusted certificates created from an untrusted CA root certificate using the makecert ...
42
votes
1
answer
2k
views
Chrome custom tabs not opening other apps
The Chrome custom tabs doesn't seem to launch other apps by deeplinking.
For example a PayPal payment, when Chrome is launched with this URL. It will ask the user if the URL has to be opened with the ...
41
votes
1
answer
6k
views
How windows handle the clipboard interface with Xming?
My question comes from a problem:
I Use Xming on Windows 7 to connect to a Linux host (through PuTTY) in order to start and display a gnome-terminal.
I have some troubles using the Windows clipboard:
...
41
votes
0
answers
1k
views
How to Update Frames for all Size Classes in a Storyboard in Xcode 6.1?
When working with Storyboard files in Interface Builder on Xcode 6.1, Apple recommends designing for the Any/Any size class. When finished, different size classes sometimes report warnings:
Misplaced ...
41
votes
0
answers
283
views
View Product Quantity based on Base UoM and Purchase UoM in OpenERP 7
I am using different units of measure for the same products. Say 1 mL as a base unit of measure, 1 Litre can as purchase unit of measure.
Is it possible in OpenERP7 to view the product quantity ...
41
votes
0
answers
636
views
Chicago Boss: Routes does not work in production mode?
I created the rahm_test_controller.erl file in src directory, and added an action named hello.
In /priv/rahm.routes, I added this line for home page:
{"/",[{controller,"test"}, {action, "hello"}]}.
...
41
votes
1
answer
8k
views
Creating meta tags for Linkedin - Publish Date "not found"
I was using the following tags in relation to the posted date of a website (blog) article:
<meta name="article-published_time" property="article:published_time" content="2019-10-21T00:00:00-0600"&...
41
votes
2
answers
943
views
Android Studio 3.4 dependencies suggestions - make it to not show alpha/beta versions
In Android Studio 3.4 added new window suggestions in Project Structure which suggest update gradle dependencies to latest version.
Is it possible to show only final version there without alpha/beta ...
41
votes
2
answers
2k
views
AVPlayer frame animation
I am developing an application that include functionality to play video with per-frame animation.
You can see an example of such functionality.
I already tried to add CAKeyFrameAnimation to sublayer ...
41
votes
2
answers
1k
views
What's different about Screensaver preview in Windows 8?
I'm working on a simple WPF-based screensaver and can't get the thumbnail preview to work.
When you open the display control panel and go to configure the screensaver, the selected screensaver is ...
40
votes
0
answers
11k
views
>90% of the time is spent on method 'acquire' of 'thread.lock' objects
To identify the step that is using most of the computation time, I ran cProfile and got the following result:
ncalls tottime percall cumtime percall filename:lineno(function)
1 0....
40
votes
0
answers
4k
views
Google OAuth 2 Refresh Token is Missing for Web App but Present for localhost
Problem: Missing OAuth 2 Refresh Token.
The problem is that the localhost version receives a Refresh Token as part of the granted token but the same code running in GCE does not.
Details:
I have ...
40
votes
0
answers
9k
views
How do I see Authentication Header in Google Chrome DevTools?
Title basically says it all. I go to the Network tab and go to the "request headers" but I don't my authentication that is being sent.
40
votes
4
answers
5k
views
How can I obfuscate my SDK coded with Kotlin (and get rid of Metadata)
I'm developing an SDK (Android library), and I have to obfuscate a large part of my code so the customer may not try and play with internal code.
My lib is coded in Kotlin, and I used Proguard to ...
40
votes
0
answers
1k
views
Per-element atomicity of vector load/store and gather/scatter?
Consider an array like atomic<int32_t> shared_array[]. What if you want to SIMD vectorize for(...) sum += shared_array[i].load(memory_order_relaxed)?. Or to search an array for the first non-...
40
votes
1
answer
395
views
many parallel applications of a sequential transform in repa
In Repa, I would like to apply a certain d-dimensional linear transform in parallel across the innermost dimension of my array, i.e., on all "column" vectors.
In general, such a transformation can be ...