TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Prismatic's "Graph" at Strange Loop

106 点作者 janaboruta超过 12 年前

12 条评论

salimmadjd超过 12 年前
I love reading prismatic's blog. You have some really smart people there. However, it seems like you're trying to solve everything from a purist view and I think your product is suffering as a result. I have made the same suggestion consistently that would make me use it more without any reply. Basically, I've stopped using the product as the UX does not match the reason I would want to use the product.
评论 #4642082 未加载
评论 #4643674 未加载
jpadvo超过 12 年前
This sounds very useful. I'm having trouble understanding the nature of the system, though, because I don't really understand lisp / clojure. Is this a pattern that could be applied in any language with first class functions, or does it require a lisp to be practical?
评论 #4641863 未加载
评论 #4642216 未加载
rafaelferreira超过 12 年前
Pretty cool project, like a functional reinterpretation of dependency injection frameworks. The basic idea behind dependency injection is to make all dependencies for each unit explicit and externally supplied.<p>DI frameworks then build upon the pattern offering a declarative DSL to declare dependencies and wiring. They also offer a selection of alternatives to build dependent objects (e.g. build a fresh one when needed or supply a global instance for every dependee) and a smidgen of generic functionality via impersonation (e.g. monitoring, logging, timing, transaction acquisition/release).<p>Interesting that untyped functional programming and macros allow for a lighter expression of the same basic idea.<p>Also interesting that maps of functions are a fundamental part of the solution. There are definitions of object-orientation that amount to basically records-of-lambdas. I've long thought that there is a lot to gain by using this basic abstraction as it naturally provides seams for testing/observability/auditing/etc.
blaines超过 12 年前
Is it just me or is the prismatic blog text being cut off on the side? <a href="https://twitter.com/blaines/status/256545302926995456/photo/1/large" rel="nofollow">https://twitter.com/blaines/status/256545302926995456/photo/...</a>
评论 #4643382 未加载
评论 #4643402 未加载
a-priori超过 12 年前
Very interesting, needs more examples though.<p>It seems like this fits a similar purpose to Nathan Marz' Storm framework. Could you do a bit of a compare/contrast thing between Graph and Storm?
评论 #4641934 未加载
评论 #4641906 未加载
moomin超过 12 年前
This is great, but I wish they'd take it one stage further. At the moment, the first example they give (monolithic let) is pretty idiomatic and readable. The transformation from one to the other is pretty automatable. So for most cases, why not just put a macro on top? e.g. defgraph-asfn<p>Storm requires some manual intervention because you need direct control over how things are distributed.
aleyan超过 12 年前
Nice. Assuming that the computation of each node is memoized, can we 'dirty' a single node, so that during the next computation only the needed parts of the graph are recomputed? This would make multiple computation of models where only a few parameters are changing much more efficient.<p>Also, has this at all been inspired by SecDB's powerful graph oriented features?
评论 #4641957 未加载
tel超过 12 年前
This feels like lazy evaluation bolted on to Clojure (cool!). There's further benefit since you get some dataflow abstraction—which then reminds me of the Par monad.<p><a href="http://community.haskell.org/~simonmar/par-tutorial.pdf" rel="nofollow">http://community.haskell.org/~simonmar/par-tutorial.pdf</a>
评论 #4643102 未加载
DennisP超过 12 年前
Happy to see you're opensourcing. Are you planning to do the same with Flop and Optimize?
评论 #4642507 未加载
jessepollak超过 12 年前
Just a heads up, it looks like something is up with your CSS:<p><a href="http://cl.ly/image/241X1C2D3O35" rel="nofollow">http://cl.ly/image/241X1C2D3O35</a><p>I'm on 10.8 with the latest version of safari.<p>In other news, this looks pretty cool.
评论 #4642098 未加载
评论 #4641840 未加载
pnathan超过 12 年前
If I understand the nature of this system, it's essentially a higher-order function composition tool. Correct?<p>Nit, defnk? what about def-kw-func or something? not wholly readable as defnk.
评论 #4641946 未加载
emeraldd超过 12 年前
Graph reminds me of working with Spring (from what I remember of that). The concepts sound very similar to Spring's auto-wiring.