Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
w01fe
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
w01fe
14y ago
Any particular execution is fixed once it's compiled. But it's easy to compile different variants of a graph and choose between them based on the input parameters, if that's all you need.
62.
▲
by
w01fe
14y ago
I see. For streaming computations we typically have a Graph behind a thread pool, so a node can always resubmit a datum for another go-round -- there's no concept of sending an updated datum 'back' to another node within a particular execu
63.
▲
by
w01fe
14y ago
Interesting! What do you mean by 'bookkeeping'?
64.
▲
by
w01fe
14y ago
> fnk's use their argument names to define how to connect > edges of the graph together. This means that fnk's are not > modular > You couldn't make a utility library of commonly used fnk's > because you would need their
65.
▲
by
w01fe
14y ago
Thanks! If by 'handle cycles', you mean 'throw an exception', then yes :). Graph models single-pass data flows, which must be acyclic, and the (graph) constructer and (*-compile) methods throw if you give them cyclic specifications. Do yo
66.
▲
by
w01fe
14y ago
For now we're focusing on the in-process use case, which we think is underserved and allows the simplicity of Graph to really shine. That said, distributed Graphs (and possibly, integration with frameworks like Storm) are on the horizon.
67.
▲
by
w01fe
14y ago
Thanks! We'd love to hear your feedback -- and if Graph doesn't meet your needs, work with you to fix that.
68.
▲
by
w01fe
14y ago
Also, here's a direct link to the source: https://github.com/prismatic/plumbing and a literate test with lots of real examples: https://github.com/Prismatic/plumbing/blob/master/test/plumb... We're also working on other kinds of compila
69.
▲
by
w01fe
14y ago
I programmed in CL for several years exclusively, and think it's an awesome language. But I also really love Clojure, and think it's the the most beautiful Lisp (or S-expression-oriented language with a read-eval-print loop, if you prefer)
70.
▲
by
w01fe
14y ago
Protocols and multimethods are great tools to manage polymorphism , whereas Graph is about composition . We use both extensively in our codebase, and treat them as separate tools in our toolbox for building fine-grained, composable abstr
71.
▲
by
w01fe
14y ago
No, this isn't just about Clojure. You could do similar things in Scheme, or CL, or even Python or Ruby. What's cool about this isn't that we've managed to put functions in a data structure. It's that doing this in a particular way allows
72.
▲
by
w01fe
14y ago
I'm not sure I follow, can you elaborate? I think something similar could be done in CL, although some of the design decisions might be different because Clojure has nice map literals and function metadata.
73.
▲
by
w01fe
14y ago
I'm one of the authors of Graph, and I'll be here to answer questions and read comments. Please let us know what you think, and help us make plumbing and Graph better. Thanks!
74.
▲
by
w01fe
14y ago
Thanks for the kind words and feedback. The best way to let us know is to email feedback@getprismatic.com with details (iPhone/Web, Browser, any other details), and we'll do our best to fix it ASAP.
75.
▲
by
w01fe
14y ago
Awesome, I'm excited to see what you come up with. If you do end up making something, please email me a link (I wrote you earlier) since I'm sure there's lots to be improved in our implementation.
76.
▲
by
w01fe
14y ago
Flop is definitely on the list (with about 10 other libraries), but I'm not sure about our optimization code. We plan to start a discussion of what we should prioritize soon, so stay tuned.
77.
▲
by
w01fe
14y ago
That's awesome -- thanks for posting
78.
▲
by
w01fe
14y ago
Thanks! Nope, no common lisp port -- and we haven't released the Clojure yet, but plan to soon. It's only 150 lines of code or so should be easy to port or rewrite from scratch.
79.
▲
by
w01fe
14y ago
We haven't had the need for that application yet, but it's certainly possible -- that's why declarative specifications are great :) I haven't heard of SecDB, but I'll definitely check it out -- thanks!
80.
▲
by
w01fe
14y ago
Yep, that's correct. Point taken about the names, thanks for the feedback. Since Clojure already uses defn and fn, defnk and fnk seemed natural. But maybe defn-keyword and fn-keyword would be better.
81.
▲
by
w01fe
14y ago
Thanks! There are some more complex examples in the slides, I just didn't want to make the blog post any longer. The main similarity between this and Nathan Marz's Storm framework is that they both rely on a declarative expression of the s
82.
▲
by
w01fe
14y ago
Sure! This particular way of expressing declarative structure may be specific to Clojure, but the basic ideas should be useful in any (especially dynamic) language with first-class functions. The first idea is to take a complex system and
83.
▲
by
w01fe
14y ago
What platform are you browsing from? There should be a login link at the top right of the landing page.
84.
▲
by
w01fe
14y ago
you already have a username, you just may not know it (if you signed up long ago it was automatically set to your twitter handle). Email feedback@getprismatic.com with account details and we'll help you out.
85.
▲
by
w01fe
14y ago
Thanks for the feedback. On the web you can see those settings in your profile, but unfortunately profile didn't make it into this first version. For now you can configure this stuff on the web, but we plan to fix this omission in the nex
86.
▲
by
w01fe
14y ago
Thanks! Hardest and most rewarding was all the serious engineering we did to make the app and gestures fun and fast. Most of the components in the app are custom, from the navigation controller to the story menu down to the scroll physics.
87.
▲
by
w01fe
14y ago
Sure, you can create a "stealth" account that's not attached to any social networks. You'll miss out on our automatic interest suggestions and the ability to share out to your friends, but you can always attach those accounts later. If you
88.
▲
by
w01fe
14y ago
Thanks! Offline didn't quite make it into the first version, but it's coming soon.
89.
▲
by
w01fe
14y ago
These users were mostly random people in coffee shops, on the street, etc. I'm sure there's still a bias when someone is looking over their shoulder, but we could get a pretty good idea of whether average users 'get it' right away or floun
90.
▲
by
w01fe
14y ago
Thanks for the thoughtful feedback! We've put a lot of work into the gestures, and during user testing most users seemed to find them intuitive. But if you have suggestions or other ideas about them we'd love to hear them. For pull to ref
More ›