Unanswered Questions
310
votes
0answers
16k views
Transitivity of Auto-Specialization in GHC
From the docs for GHC 7.6:
[Y]ou often don't even need the SPECIALIZE pragma in the first place. When compiling a module M, GHC's optimiser (with -O) automatically considers each top-level ...
133
votes
0answers
4k views
Specialization with Constraints
I'm having problems getting GHC to specialize a function with a class constraint. I have a minimal example of my problem here: Foo.hs and Main.hs. The two files compile (GHC 7.6.2, ghc -O3 Main) and ...
88
votes
0answers
1k views
How can I make nrepl-ritz-jack-in work remotely over TRAMP / Emacs
What I want:
I have a clojure program on a remote site, let's call it mccarthy.
What I want to do is connect to a nrepl-ritz from my laptop, preferably using nrepl-ritz-jack-in. The jack in works ...
69
votes
0answers
2k views
Issue with recording from Open Network Video Interface Forum (ONVIF) device
I'm working on Open Network Video Interface Forum-Java project.
I have generated sources from the wsdls provided in ONVIF site. I'm able to retrieve the live stream URI using the media.wsdl. Now I ...
53
votes
0answers
741 views
Eclipse WTP vs sydeo, “ serves modules without publishing ”
I have the problem to find the performances of the plugin sysdeo by using the integrated plugin WTP of eclipse.
To make the migration and thus the comparison, I installed both on separate projects ...
51
votes
1answer
784 views
PEM_read_bio_PrivateKey() returns NULL in ECB mode only
PEM_read_bio_PrivateKey() returns NULL if a private key is encrypted by DES EDE in ECB mode. The issue happens in EVP_DecryptFinal_ex():
4128:error:06065064:digital envelope ...
45
votes
0answers
615 views
Haskell Array.Accelerate - forkOS error
Trying to plot the output of some Data.Array.Accelerate computations with gnuplot I encountered a strange problem. When run via the interpreter everything is fine, as is plotting straight Haskell data ...
43
votes
4answers
4k views
Create a Custom AdMob Plugin for Phonegap Build (for iOS and Android)
Everything in my Phonegap Build app is working, including the Analytics and FacebookConnect plugins. However, now I would like to add AdMob ads.
Phonegap Build does not provide a built-in plugin for ...
39
votes
0answers
759 views
Avoiding memory leaks with Scalaz 7 zipWithIndex/group enumeratees
Background
As noted in this question, I'm using Scalaz 7 iteratees to process a large (i.e., unbounded) stream of data in constant heap space.
My code looks like this:
type ErrorOrT[M[+_], A] = ...
38
votes
2answers
3k views
What are the differences between Scala middleware choices?
Note: Unfortunately this question was closed, but I'm trying to maintain it for if someone else comes along with the same question.
I've been looking for a good solution to developing a service in ...
37
votes
1answer
571 views
Calling OCaml-wrapped ZeroMQ code from signal handler
I've written some OCaml bindings for CZMQ based on the guide at http://www.linux-nantes.org/~fmonnier/ocaml/ocaml-wrapping-c.php, which seem to work pretty well. For example here's zstr_send:
...
36
votes
0answers
360 views
+50
cmm call format for foreign primop (integer-gmp example)
I have been checking out integer-gmp source code to understand how foreign primops can be implemented in terms of cmm as documented on GHC Primops page. I am aware of techniques to implement them ...
35
votes
0answers
763 views
Why are uses constraints violated when both chains end in the same bundle?
I have four bundles containing only a manifest each. The bundles are
app which imports com.example.foo.fragment and com.example.bar
foo which exports com.example.foo;uses:=com.example.foo.cfg
...
35
votes
2answers
2k views
Random “peer not authenticated” exceptions with Java SSLContextImpl$TLS10Context
I get connection failures that appear randomly when connecting to an HAProxy server using SSL. I have confirmed that these failures happen on JDK versions 1.7.0_21 and 1.7.0_25 but not with 1.7.0_04 ...
34
votes
0answers
501 views
How can I get esqueleto to generate an SQL string for me?
How can I get esqueleto to generate an SQL string from a from statement?
The documentation of toRawSql says that "you may just turn on query logging of persistent". I tried all possible forms of ...