All Questions

6,397,318 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
226
votes
0answers
4k 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 ...
187
votes
0answers
5k 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 ...
162
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 ...
147
votes
0answers
3k 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: ...
144
votes
0answers
2k 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 ...
100
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 ...
91
votes
0answers
654 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 ...
88
votes
0answers
3k views

How are the new tf.contrib.summary summaries in TensorFlow evaluated?

I'm having a bit of trouble understanding the new tf.contrib.summary API. In the old one, it seemed that all one was supposed to do was to run tf.summary.merge_all() and run that as an op. But now we ...
86
votes
1answer
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://...
84
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 ...
83
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 ...
80
votes
1answer
5k views

Creating a shadow copy using the “Backup” context in a PowerShell

I am in the process of writing a PowerShell script for backing up a Windows computer using rsync. To this end, I am attempting to use WMI from said script to create a non-persistent Shadow copy with ...
72
votes
1answer
1k views

Can I use Cobertura on Unit Tests with PowerMock?

Problem I am setting-up unit-test code coverage for an Android library which uses Robolectric to run the tests and PowerMock/Mockito for mock-testing. However, running unit-tests with Cobertura ...
70
votes
1answer
5k views

iOS 13 - WkWebView: audio stops when in background

I've an app that uses WkWebView to play audio from Soundcloud, on iOS 13 Beta 6 the audio stops when the app is not in foreground, even when Audio is on in Background Modes. When starting the playback ...
68
votes
0answers
591 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 ...

15 30 50 per page
1
2 3 4 5
426488