All Questions
6,941,343
questions with no upvoted or accepted answers
181
votes
0
answers
2k
views
ember-cli-code-coverage mocha showing 0% coverage when there are tests
I'm using ember-cli-code-coverage with ember-cli-mocha. When I run COVERAGE=true ember test I'm getting 0% coverage for statements, functions, and lines. Yet, I have tests that are covering those ...
150
votes
0
answers
1k
views
Sneaking lenses and CPS past the value restriction
I'm encoding a form of van Laarhoven lenses in OCaml, but am having difficulty due to the value restriction.
The relevant code is as follows:
module Optic : sig
type (-'s, +'t, +'a, -'b) t
val ...
102
votes
0
answers
2k
views
"NotSupportedException" when WebRequest is unable to find a creator for that prefix
I have a really strange problem with WebRequest in a ServiceStack web application (hosted by XSP on Mono).
It seems that the registration of request modules works in a very strange way; I am using ...
95
votes
3
answers
2k
views
Manipulate system/visible clipping region in Windows 1809
Apparently, Microsoft has changed the way clipping works with Windows update 1809, released in late 2018. Before that update, GetClipBox() returned the full client rectangle of a window, even when it ...
86
votes
3
answers
4k
views
Implementing VPN with L2TP protocol in iOS app
In iOS settings, there are options to create a VPN configuration using IPSec, IKEv2, and L2TP. Using the NetworkExtension framework from Apple there's an option to create VPN using IPSec and IKEv2 ...
79
votes
0
answers
3k
views
Logcat error message - Attempted to destroy barrier with non zero count
I'm making an android app in Android Studio, integrating ParseCloud and when I try to retrieve some JSONObject from the cloud, I get this error message after step-debugging:
12-13 13:32:34.857 25631-...
66
votes
2
answers
2k
views
Detecting CGAssociateMouseAndMouseCursorPosition
We're making a user-space device driver for OS X that moves the cursor using Quartz Events, and we ran into a problem when games — especially ones that run in a windowed mode — can't properly capture ...
64
votes
0
answers
793
views
External Sharepoint site's text inputs inaccessible on iPhone and iPad
I have a form setup in a webpart in our SharePoint solution and am having an issue when testing on Apple devices where the input fields are not accessible/appear to be grayed out. This application ...
61
votes
0
answers
1k
views
alignof(T) with T=__m512 is not equal to alignof(__m512)
I ran into a strange situation that alignof(__m512) is not equal to std::alignment_of<__m512>::value compiled by Apple's clang. After some testing I found that when alignof(T) is evaluated ...
60
votes
2
answers
2k
views
SSIS Script Component Cannot Load Assembly Until Manually Opened
I am creating a SSIS project via Biml (Using the current version of BimlExpress per the Varigence BimlExpress page) that uses a script component within a Data Flow Task. The project is created ...
59
votes
0
answers
1k
views
Is recent GTK 3.22 still Boehm GC friendly (thread issue)?
The Boehm's conservative garbage collector is quite useful (e.g. Bigloo is using it, Guile is using something similar, etc....), notably on Linux (which is the only OS I care about; I'm using Debian/...
59
votes
1
answer
6k
views
How does the chrome browser determine memory cache and disk cache?
I knew that chrome supports from memory cache and from disk cache when I request resources. However, I didn't see from memory cache before.
How does chrome determine which resources should be cached ...
56
votes
0
answers
7k
views
How to do rest authentication with Spring Social?
I have implemented Spring Social + Spring Security as outlined in the Spring security examples (and with spring security java config). I reported couple of problems at the time (see https://jira....
55
votes
1
answer
10k
views
Android app crashes at start with "E/dex2oat: Failed to create oat file" and "non-0 exit status"
My app (still WIP) runs fine on different devices. But suddenly it refuses to start on Huawei Honor 7 (Android 6.0/EMUI 4.0.3). Logcat gives me the following:
E/dex2oat: Failed to create oat file:
/...
49
votes
0
answers
666
views
android ndk gdb loaded sharedlibraries missing *.oat
Both gdb 7.7 and gbd 7.11 missed some shared libraries when debugging my device (oppo r7s). I've pulled all libraries to local.
Here is a complete list of libraries shown by info shared
(gdb) info ...
49
votes
0
answers
8k
views
E/libEGL: validate_display:99 error 3008 (EGL_BAD_DISPLAY) android os 7.1 nougat
I am getting the following error while running my app on Android OS 7.1 Nougat.
E/libEGL: validate_display:99 error 3008 (EGL_BAD_DISPLAY)[ 04-21
10:19:18.788 4410: 4622 D/ ]
...
48
votes
0
answers
3k
views
Populating nested dropdowns using backpack for Laravel
Has anyone here ever created a nested dropdown within the backpack's cruds?
I've got this crud controller which handles the 'Campaign' model -
$this->crud->addField([
'name' => '...
46
votes
5
answers
5k
views
Generic Angular Components - Optional Bindings
I want to create a bunch of generic component (angular 1.5) with multiple optional binding that would be used inside multiple applications.
I am afraid it will create a lot of unnecessary watchers ...
45
votes
0
answers
704
views
How can I dispatch on traits relating two types, where the second type that co-satisfies the trait is uniquely determined by the first?
Say I have a Julia trait that relates to two types: one type is a sort of "base" type that may satisfy a sort of partial trait, the other is an associated type that is uniquely determined by the base ...
45
votes
0
answers
602
views
Pragmatics of typed intermediate languages
One trend in the compilation is to use typed intermediate languages. Haskell's ghc with its core intermediate language, a variant of System F-omega, is an example of this architecture [ 1 ]. Another ...
43
votes
1
answer
606
views
Firebase reporting GoogleTV for some iOS users
We are seeing a large percentage of our analytics report Google TV in our iOS application. Since we in no way support Google TV, this has to be a error.
We have followed the firebase install, and ...
43
votes
2
answers
4k
views
android libvlc multiple surface problems
I would like to know if is possible to use two Surface views in the same layout and view the content of both of them at the same time. In future, I would make use of a Grid-view of video-view, where ...
43
votes
5
answers
1k
views
Paging does not work and maybe I found the cause
I am trying to implement the stream (news feed) paging function to my app, but it does not work as expected. I found many similar questions here but there are no solutions to solve this problem.
I ...
42
votes
0
answers
2k
views
Play Store updates/installs app using a different account than the one the user made IAP through
On this bug report on Github https://github.com/googlesamples/android-play-billing/issues/2#issuecomment-305380836 we were asked to raise the issue here.
The issue is simple. The user has 2 or more ...
42
votes
0
answers
1k
views
Matlab VLFEAT -multiple matching
I am performing SIFT matching with VLFEAT in Matlab.
A single match is simple to display: I followed the tutorial.
Update 1: (extracting the problem from my needs)
Next, I consider 4 different ...
42
votes
2
answers
2k
views
How to generate video file from QImage sequence using QMediaRecorder in Qt5 C++
Basically what I want is to encode a video using QMediaRecorder by supplying as a source a sequence of QImages that I generate in custom code at run-time.
So far I have found no easy way to do this, ...
41
votes
0
answers
2k
views
C# and SIMD: High and low speedups. What is happening?
Introduction of the problem
I am trying to speed up the intersection code of a (2d) ray tracer that I am writing. I am using C# and the System.Numerics library to bring the speed of SIMD instructions....
41
votes
1
answer
893
views
registerIdlingResources deprecation replacement doesn't work
I'm trying to replace my Espresso registerIdlingResources and unregisterIdlingResources deprecated method by using IdlingRegistry method according to android documentation.
Some of my tests worked ...
41
votes
1
answer
5k
views
Set Tesseract font for OCR
I would like to use tesseract for serial number recognition, where I only want to recognize single characters, no word, no dictionary.
Therefore I would like to use one of the already trained ...
40
votes
2
answers
766
views
FileProvider in Android 4.1/4.3/4.4 Email App fails with column '_data' does not exist
I have a FileProvider which I use when attaching files on the SD Card to emails.
This works on Lollipop and Marshmallow in any app using an Intent.
However, in Android 4.3 when using the Email app, ...
40
votes
0
answers
2k
views
Zend Framework 2 Doctrine 2 one-to-many checkbox hydration
I have a ManyToMany that I broke into OneToMany and ManyToOne relationship. I want to build a form that has checkboxes instead of collection, and I am using the 'DoctrineObject' hydrator, but it does ...
39
votes
1
answer
938
views
DiagrammeR mermaid: inconsistent results in rmarkdown ioslides
I have a rmarkdown presentation (ioslides) with 3 slides with flow diagrams worked in DiagrammeR's mermaid. The following file saved as .Rmd can reproduce the example (at least in my machine, ...
39
votes
1
answer
1k
views
Can't access prototype function in jQuery plugin
I'm trying to create an image gallery consisting of multiple 360 degree images. I wanted to use Valiant360 for this, since it seemed to do all I needed it to do.
The initiation through Angular ...
39
votes
0
answers
4k
views
Nightwatch.js - Use the same browser session
We would love to adopt Nightwatch.js for testing on browsers, but we're stuck on one major caveat: at the time of this writing, Nightwatchjs does not support running different tests using the same ...
39
votes
1
answer
1k
views
Bind Poses, Joint Transforms in Collada
I'm trying to export a custom 3D model format to Collada. I've built the Collada data classes through XSD and now problems come when I try to fill them with data, especially for what concerns matrices....
39
votes
1
answer
753
views
iCloud and Core Data Error (Ubiquity: Didn't get baseline metadata back from metadata url)
I'm having a bit of trouble trying to get iCloud working with my app. I tried following Tim Roadley's example here, but still get the log below appearing whenever the app is launched via Xcode (...
39
votes
1
answer
2k
views
Cargo plugin throws CargoException when deploying on Glassfish - Deployment has failed: null
I'm trying to deploy web application using Cargo Maven plugin on remote Glassfish server (Edition 3.1.1 (build 12)). Glassfish server as well as Java code located on different Linux servers (Ubuntu). ...
38
votes
3
answers
3k
views
Keep react-router routed-components for all history states
I make a mobile application with Cordova. Use the react-router@2.0.0 + ReactCSSTransitionGroup to implement the "card deck" animation. I have a strict Routes tree without the possibility of circular ...
37
votes
0
answers
2k
views
Highlighting the SEND button in MFMessageComposeViewController
I have generated an MFMessageComposeViewController to send a preconfigured SMS message, and I now want to draw the user's attention to the send button. The user has already initiated the "send ...
37
votes
0
answers
450
views
Future of roles for GADT-like type variables?
A question from yesterday had a definition of HList (from the HList package) that uses data families. Basically:
data family HList (l :: [*])
data instance HList '[] = HNil
newtype instance HList (x '...
37
votes
1
answer
1k
views
How to include zone.js, reflect-metadata etc. in Systemjs builder task?
I'm using system.js and systemjs builder to create a dist folder with all the packed javascript files of my angular2 application.
It works pretty nicely, except that it does not include the following ...
37
votes
0
answers
5k
views
code signature in (/xxxxx) not valid for use in process using Library Validation
I'm trying to build proxychains with xcode 8. When I run a program I got:
/usr/local/homebrew/Cellar/proxychains-ng/4.11/lib/libproxychains4.dylib: code signing blocked mmap() of '/usr/local/homebrew/...
37
votes
0
answers
636
views
Was the origin positioning 'box' removed from Xcode 6?
I don't see this tool in Xcode 6. Did they take it out? Can I re-enable it? I use it all the time.
37
votes
1
answer
7k
views
Isotope v2 filtering with Infinite Scroll - Filter not finding all items and Window not resizing on filter
Head's up!
There's a pending feature-request issue on Isotope's GitHub repo that you should add a "👍" reaction to if you're interested in seeing official docs and demos for this (how to ...
36
votes
0
answers
3k
views
Xcode 12 IPHONEOS_DEPLOYMENT_TARGET warning for SPM dependencies
After updating to Xcode 12, I've got lots of warnings for SPM dependencies (including RxSwift and Facebook).
The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the ...
36
votes
0
answers
2k
views
Why does tmap render 80 times faster than ggplot2? [Plotting shapefiles in R with ggplot2::geom_sf(), using XQuartz/X11 graphics device on macOS]
Update/Edit/Reprex: Rendering the same spatial data with the same graphics device takes 1 second with tmap versus 80 seconds with ggplot2, even though the tmap plot's R object is 80x larger in size. ...
36
votes
1
answer
552
views
Translate ninject ISecureDataFormat binding to Autofac
I am migrating a large codebase from Ninject to Autofac and am struggling on one of the bindings (that i believe is causing an activation error based on some of my debugging).
Ninject:
Bind<...
36
votes
1
answer
2k
views
create variable in Kepserver with node-opcua
I have a Siemens 1200 PLC. Using node-opcua client and Kepserver I am able to read the variables and to change the values.
Now I would like to create a new variable in the PLC from node-opcua in ...
36
votes
3
answers
1k
views
Showing status for the last list item in a ListView using ViewHolder
int globalPosition ;
..............
buttonAllData.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View arg0) {
// TODO Auto-generated method stub
...
35
votes
2
answers
4k
views
Visual Studio 2017, JavaScript intellisense inconsistencies
TL;DR: How do you include a tsconfig.json file in Visual Studio 2017 and still have JavaScript intellisense work like it does by default, giving code hints both for your own code and 3rd-party ...