141
votes
0answers
3k views

Storing 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 can ...
74
votes
0answers
794 views

Using 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) ...
70
votes
1answer
2k views

onPrepareActionMode not called when creating ActionMode

I just finished adjusting one of my apps to the new v22.1.1 support & appcompat libraries, see here and here for more details. When I did some testing, something was off with the ActionModes I'm ...
66
votes
1answer
618 views

Using TemplateHaskell to list all names in a namespace

I want a TemplateHaskell function variablesInScope :: Q [Name] that returns a list of the Name's of all the variables in scope. TemplateHaskell obviously has this information available in order to ...
62
votes
1answer
1k views

Optimizing JS from WebJars using sbt-rjs in a Play 2.3.x app

Is it possible to have a Play 2.3 app concat/optimize JS (using sbt-rjs) that's included in my app via WebJars? To give a concrete example: I'm trying to create a core.js module which contains all my ...
57
votes
2answers
2k views

Invalid and/or missing SSL certificate when using Google App Engine

UPDATE: Please, if anyone can help: Google is waiting for inputs and examples of this problem on their bug tracking tool. If you have reproducible steps for this issue, please share them on: https://...
57
votes
1answer
1k views

Safari 7 application cache does not work

In Safari 7, the main html file with a manifest is loadable when offline, but none of the external resources are loaded, even if they're listed in the manifest file as cached. Safari's resource pane ...
55
votes
2answers
1k views

Weird issue with devise valid_password?

For the past 2 hours, I have been trying to debug a weird issue in devise which is not letting me login. Here's the stuff I'm referring too: password => 'vinodsobale' password == 'vinodsobale' =...
53
votes
0answers
686 views

iOS SKSpriteKit - Flickering Caused by SKLightNode

I am using an SKLightNode to cast shadows in my GameScene. I am adding sprites dynamically, which should cast shadows. Everything is working fine, but when the added sprite first 'appears' in the ...
53
votes
0answers
2k views

How to create a SceneKit SCNSkinner object in code?

I have a Swift app using SceneKit for iOS 8. I load a scene from a .dae file that contains a mesh controlled by a skeleton. At runtime, I need to modify the texture coordinates. Using a transform is ...
50
votes
1answer
347 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| ...
47
votes
1answer
1k views

JNI Error on Scene Transition Animation - Layer exceeds max

please notice the EDIT in the bottom of the question I have 2 activities: ActivityA, ActivityB with associated frgments: FragmentA, FragmentB respectively. ImageView v is shared between those two ...
46
votes
0answers
1k 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 ...
46
votes
2answers
2k views

Ember.js: Reloading a .hasMany relationship given through “links” in payload

Say I have two models, Topic and Post: App.Topic = DS.Model.extend({ posts: DS.hasMany('post', { async: true, inverse: 'post' }); }); App.Post = DS.Model.extend({ topic: DS.belongsTo('topic', { ...
46
votes
0answers
1k views
+50

design suggestion: llvm multiple runtime contexts

My application needs to run many separate contexts in the same (single-threaded) process. They all share a single LLVMContext. The process will run many contexts (in the thread sense); that is, each ...

15 30 50 per page