All Questions

6,083,718 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
239
votes
0answers
6k views

How to use classes to “control dreams”?

Background I've 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 ...
163
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 ...
122
votes
0answers
3k 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 ...
106
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 ...
103
votes
0answers
2k 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 ...
102
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: ...
70
votes
0answers
6k views

SNIReadSyncOverAsync Performance issue

Recently I used dot Trace profiler to find the bottle necks in my application. Suddenly I have seen that in most of the places which is taking more time and more cpu usage too is ...
65
votes
0answers
511 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 ...
65
votes
0answers
1k views

Android app start update with cordova-webintent and force stop

Steps: Opened android application (built with cordova) Then I called cordova-webintent for installing updates http://github.com/Initsogar/cordova-webintent I pressed Install and it starts ...
63
votes
0answers
1k 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 ...
60
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 ...
56
votes
0answers
904 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):...
54
votes
0answers
726 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 ...
54
votes
4answers
37k views

What is the difference between isSaleable() and isAvailable()?

I'm working on the display of the stock availability on the (individual) product page of my Magento theme, and there's something I don't completely understand about this. I see two methods being used ...
53
votes
0answers
2k 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 http://...

15 30 50 per page
1
2 3 4 5
405582