All Questions
6,219,375
questions with no upvoted or accepted answers
320
votes
0answers
9k views
How to use classes to “control dreams”?
Background
I have been playing around with Deep Dream and Inceptionism, using the Caffe framework to visualize layers of GoogLeNet, an architecture built for the Imagenet project, a large visual ...
192
votes
0answers
3k views
Representing Parametric Survival Model in 'Counting Process' form in JAGS
The Problem
I am trying to build a survival-model in JAGS that allows for time-varying covariates. I'd like it to be a parametric model - for example, assuming survival follows the Weibull ...
160
votes
0answers
4k views
Rendering Angular components in Handsontable Cells
In a project of mine, I try to display Angular Components (like an Autocomplete Dropdown Search) in a table. Because of the requirements I have (like multi-selecting different cells with ctrl+click) I ...
137
votes
0answers
3k views
Managing the lifetimes of garbage-collected objects
I am making a simplistic mark-and-compact garbage collector. Without going too much into details, the API it exposes is like this:
/// Describes the internal structure of a managed object.
pub struct ...
128
votes
0answers
1k views
Transitions with GStreamer Editing Services freezes, but works OK without transitions
I'm trying to use gstreamer's GStreamer Editing Services to concatenate 2 videos, and to have a transition between the two.
This command, which just joins 2 segments of the videos together without a ...
120
votes
0answers
2k views
What is an appropriate type for smart contracts?
I'm wondering what is the best way to express smart contracts in typed languages such as Haskell or Idris (so you could, for example, compile it to run on the Ethereum network). My main concern is: ...
91
votes
0answers
2k views
Android app starts updating with cordova-webintent and force stops
Steps:
I Opened the android application (built with cordova)
Then I called cordova-webintent for installing updates
I pressed Install and it starts installing, but after a few seconds, the app ...
88
votes
0answers
7k views
SNIReadSyncOverAsync Performance issue
Recently I used dot Trace profiler to find the bottlenecks in my application.
Suddenly, I have seen that in most of the places which are taking more time and more cpu usage to is ...
85
votes
1answer
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 ...
83
votes
1answer
1k views
Issues when attaching and detaching external app from QDockWidget
Consider this little piece of code:
import subprocess
import win32gui
import win32con
import time
import sys
from PyQt5.Qt import * # noqa
class Mcve(QMainWindow):
def __init__(self, path_exe):
...
81
votes
0answers
575 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 ...
73
votes
1answer
10k views
iOS 11: ATS (App Transport Security) no longer accepts custom anchor certs?
I am leasing a self signed certificate using NSMutableURLRequest and when the certificate is anchored using a custom certificate with SecTrustSetAnchorCertificates IOS 11 fails with the following ...
70
votes
0answers
3k views
Access Lovoo API using Python
I am hoping to make use of the lovoo API, but don't really know how to start. After running Charles proxy and looking at the traffic, I have come to the following conclusion:
First a GET to https://...
68
votes
1answer
2k views
Spring Boot embedded HornetQ cluster not forwarding messages
I'm trying to create a static cluster of two Spring Boot applications with embedded HornetQ servers. One application/server will be handling external events and generating messages to be sent to a ...
67
votes
0answers
1k views
Problem setting video frame rate using AVAssetWriter/AVAssetReader
Situation:
I am trying to export video with some parameters like video bit rate, audio bit rate, frame rate, changing video resolution, etc. Note that I am letting the user set the video frame rate ...