All Questions

7,337,315 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
96 votes
1 answer
6k 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 with a lot of modifications. I'm checking if a block at a position is null, and if it is, a debug ...
Statey's user avatar
  • 1,071
77 votes
2 answers
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 ...
drmrbrewer's user avatar
  • 12.5k
74 votes
0 answers
7k 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. ...
stringy05's user avatar
  • 6,948
66 votes
1 answer
1k 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 ...
Eatdoku's user avatar
  • 6,827
62 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, ...
Jon Ericson's user avatar
  • 21.3k
62 votes
1 answer
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 ...
panepeter's user avatar
  • 3,866
60 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 ...
Jake Braun's user avatar
  • 1,302
60 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 ...
Alexis King's user avatar
  • 43.6k
57 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 } ...
beefyhalo's user avatar
  • 1,781
55 votes
1 answer
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 ...
Congruent Tech. UG's user avatar
55 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 ...
Warren  P's user avatar
  • 67.9k
53 votes
1 answer
989 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 ...
user avatar
50 votes
1 answer
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://...
krupal.agile's user avatar
49 votes
1 answer
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....
Mark McClelland's user avatar
46 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 ...
Ryan Chu's user avatar
  • 1,471
45 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 ...
sv_lane's user avatar
  • 3,060
45 votes
0 answers
1k 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 ...
user20650's user avatar
  • 25.6k
45 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 ...
jussij's user avatar
  • 10.5k
44 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-...
Peter Cordes's user avatar
44 votes
0 answers
287 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 ...
Umar Ibrahim's user avatar
44 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 ...
Lich's user avatar
  • 691
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 ...
Xander's user avatar
  • 1,194
43 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 ...
John Hanley's user avatar
  • 79.6k
43 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"&...
WEBjuju's user avatar
  • 6,332
43 votes
1 answer
3k 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 ...
Ion Aalbers's user avatar
  • 7,931
42 votes
1 answer
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 ...
Abdullah Nasim's user avatar
42 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: ...
Jonathan's user avatar
  • 833
42 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 ...
Dave Gallagher's user avatar
42 votes
0 answers
407 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 ...
Chris Peikert's user avatar
42 votes
0 answers
644 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"}]}. ...
Mr.Wang from Next Door's user avatar
42 votes
1 answer
1k views

Typekit and @fontface issues on all Windows browsers with Ruby on Rails app, especially Chrome

My Ruby on Rails app hates custom fonts and I don't know why. Here are some of the errors and troubleshooting that I have gone through. First, there were devastating display errors that only happened ...
Brenda's user avatar
  • 883
42 votes
1 answer
964 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 ...
anber's user avatar
  • 3,623
42 votes
2 answers
2k views

AVPlayer frame animation

I am developing an application that includes functionality to play a video with per-frame animation. You can see an example of this functionality. I already tried to add CAKeyFrameAnimation to a ...
rkyr's user avatar
  • 3,191
42 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 ...
Bevan's user avatar
  • 44.1k
40 votes
0 answers
8k views

iOS 13 - silent push notifications are no longer reliable

iOS 13 changes: Change 1: In iOS 13 Beta 6, a silent remote notification (AKA Background Notification) with priority 10 is no longer handled by the OS and dropped. This was documented in the past but ...
Segev's user avatar
  • 19.2k
40 votes
0 answers
1k views

LibXL: excel cross-sheet formulas not updated

I'm dealing with a problem with libXL and Office365. I created an Excel file with Office 365: a simple formula which shows the content of a cell from another sheet. Then I proceeded to write something ...
Davide's user avatar
  • 509
40 votes
1 answer
729 views

In Websphere Commerce 7, how do I remove the language and store name from an SEO url the correct way?

Currently the client I'm working for is making use of the SEO Friendly urls outlined here: https://www.ibm.com/support/knowledgecenter/en/SSZLC2_8.0.0/com.ibm.commerce.seositemap.doc/concepts/...
jros's user avatar
  • 774
39 votes
2 answers
4k views

AWS Cognito's SMS Multi Factor Authentication returns invalid code or auth state

I am trying to implement authentication built on Cognito using their Go SDK. I have been able to get basic username/password authentication to work, but when I add in 2-factor authentication using SMS ...
Ben's user avatar
  • 1,843
39 votes
5 answers
3k views

How can I serialize a jgrapht simple graph to json?

I have a simple directed graph from jgrapht and I am trying to serialize it into a JSON file using jackson as follows: ObjectMapper mapper = new ObjectMapper(); File output = new File("P:\\tree....
yann89's user avatar
  • 391
39 votes
0 answers
4k views

secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found

In two applications which have WatchKit app extensions, I receive the following error in the device log more than ten times on startup. secTaskDiagnoseEntitlements MISSING keychain entitlements: no ...
Justin Domnitz's user avatar
38 votes
1 answer
2k views

Having trouble working with SelectWoo instances of Select2 within WooCommerce

I am using Select2 within WooCommerce in some of my own custom areas and I am targeting it with some code to add and removes certain classes and it's working fine except for the SelectWoo instances ...
Brett's user avatar
  • 20k
38 votes
2 answers
4k views

Android Room Exceptions

What kinds of exceptions I should consider while working with Android Room. From my research I found out that there is only one exception that might occur. Room Exceptions That is also when you are ...
musooff's user avatar
  • 6,682
38 votes
1 answer
1k views

iOS crash at CFAllocatedReferenceCountedObject

My app frequently crashes with the following information: 0 CFNetwork CFAllocatedReferenceCountedObject::_retainable_hash(void const*) 1 CoreFoundation _CFBasicHashFindBucket + 164 2 ...
Wancj's user avatar
  • 381
38 votes
2 answers
801 views

What causes visual glitches with Xcode 9's iOS Simulator and how can I fix them?

When running applications on the simulator with Xcode 9, I regularly experience a handful of visual glitches, which include red device identifier labels and content that duplicates itself and leaves ...
Tamás Sengel's user avatar
38 votes
1 answer
1k views

debugserver died with an exit status of 0x00000000

I was running an app on Xcode with the iPhone 6 stimulator using the latest iOS 10. And after some time the app crashed with the following message: debugserver died with an exit status of 0x00000000 ...
Chaudhry Talha's user avatar
38 votes
1 answer
1k views

Let image ManipulationMode capture pointer

In my app, a user can select an Image and drag it onto a Grid, to play with it. I do this by handling the PointerEntered event of the Grid. Here I detect if the user had an image selected and if the ...
vrwim's user avatar
  • 13.9k
38 votes
3 answers
7k views

Android "couldn't log to binary event log: overflow"

I have an android app that has been running without problems until I updated my device to android 4.4 (kitkat). Now I start getting this error and some part of the program is broken with this in the ...
Rhystic's user avatar
  • 391
38 votes
2 answers
5k views

FB.ui feed dialog is "ignoring" the picture attribute, using cached og:image tag instead

Here's my FB.ui code: FB.ui({ method: 'feed', message: '', link: 'http://mywebaddress/pathToContent', picture: 'http://mywebaddress/pathToPhoto/photo.jpg', display: 'popup' }); The ...
Chaddeus's user avatar
  • 13.3k
37 votes
2 answers
1k views

Android Studio shows C++ file icon on every file

After updating Android Studio to version 4.1 every file icon in the project is shown as a C++ icon. Is there any way to repair this? This is how it looks: You can see every file, no matter what ...
iknow's user avatar
  • 9,464
37 votes
1 answer
915 views

Deploying Spark and HDFS on Docker Swarm doesn't enable data locality

I am trying to set up a Spark + HDFS deployment on a small cluster using Docker Swarm as a stack deployment. I have it generally working, but I ran into an issue that is preventing Spark from taking ...
kamprath's user avatar
  • 2,278

15 30 50 per page
1
2 3 4 5
146747