Unanswered Questions
252
votes
0answers
7k views
Store kinect's v2.0 motion to BVH file
I would like to store the motion capture data from kinect 2 as a bvh file. I found code which does so for kinect 1 which can be found here. I went through the code and found several things that I was ...
141
votes
0answers
2k views
How to use Shapeless in a Quasiquote?
I'm trying to call a Shapeless macro from inside a quasiquote with Scala and I'm not getting what I would like to get.
My macro doesn't return any errors but it doesn't expand Witness(fieldName) ...
87
votes
0answers
733 views
Does GHC-mod have to use full names for types?
I'm trying to use the ghc-mod vim plugin to do type/syntax checking etc. However, I found that ghc-mod always uses full paths of types in the error messages, for example:
test.hs|71 col 13 error| ...
85
votes
0answers
2k views
Understanding why Zipper is a Comonad
This is a follow-up to the answer to my previous question.
Suppose I need to map each item a:A of List[A] to b:B with function def f(a:A, leftNeighbors:List[A]): B and generate List[B].
Obviously I ...
65
votes
0answers
613 views
Scalaz iteratees: “Lifting” `EnumeratorT` to match `IterateeT` for a “bigger” monad
If I have an EnumeratorT and a corresponding IterateeT I can run them together:
val en: EnumeratorT[String, Task] = EnumeratorT.enumList(List("a", "b", "c"))
val it: IterateeT[String, Task, Int] = ...
62
votes
0answers
502 views
Display an MPI typemap
The 'type map' is an important but confounding concept in MPI. I would like a routine to display or print a type map for me.
For example (taken from the MPI-3 standard),
MPI_TYPE_CREATE_RESIZED(...
55
votes
0answers
969 views
Required tags not present when using Delphi XML Data Binding Wizard
I am using the XML Data Binding Wizard in Delphi XE2.
The schema has required tags of this type:
<xs:element name="MyReport" type="MyReportType" />
<xs:complexType name="MyReportType">
&...
53
votes
1answer
2k views
Specifying targets for intersphinx links to numpy, scipy, and matplotlib
Following the documentation for setting up Sphinx documentation links between packages, I have added
intersphinx_mapping = {'python': ('http://docs.python.org/2', None),
'...
53
votes
3answers
1k views
How to get NFC working on Android using Qt 5.6
I'm trying to read NFC tags on my Android phone using the NFC module of Qt.
According to this page, Qt will support NFC on Android starting from version 5.6. This version hasn't been released yet, so ...
52
votes
1answer
3k views
HW kbd Failed to set (null) as keyboard focus ios
In my iOS app crash log I found this statement:
HW kbd Failed to set (null) as keyboard focus ios
Does anyone know what this is and how to resolve it?
51
votes
1answer
638 views
Unexpected implicit resolution based on inference from return type
Given a typeclass where instance selection should be performed based on the return type:
case class Monoid[A](m0: A) // We only care about the zero here
implicit def s[T] : Monoid[Set[T]] = Monoid(...
50
votes
2answers
3k views
VectorKit crash reports with MKMapSnapshotter on iOS
I'm getting different kind of crash reports related to VectorKit and MKMapSnapShotter. Crashes occur pretty random, but it seems like they happen most when returning from the background. The device ...
48
votes
5answers
3k views
Xcode 8 source control does not show conflicts
After Xcode has updated to version 8.0 (8A218a), I have a problem pulling changes from git repository from Xcode only when some files are conflicted. We are all working on the same branch.
As long as ...
47
votes
2answers
1k views
Support for X509PKIPathv1 in xws-security for Spring-WS
I'm trying to send a request to an existing webservice. This webservice is not governed by me. The security policy of this webservice requires me to send my complete certificate chain in my SOAP ...
47
votes
2answers
739 views
How to avoid from always loading cached app data from Google Drive
Currently, I'm using Google Drive Android API, to store my Android app data, to Google Drive App Folder.
This is what I'm doing when saving my application data
Generate checksum for current local ...