Better HN
topnewbestaskshowjobs
Log inSign up

dustingetz

7,912 karma · joined Sep 11, 2009 (17y ago) · 3,625 submissions

Founder Electric Clojure https://github.com/hyperfiddle/electric

https://twitter.com/dustingetz

Submissions

comment 3y ago · link · parent

You're both right

a picture speaks a thousand words; a formula speaks a thousand pictures

Electromagnetism is described with formulas. And yet, once you have the formulas, we use natural language to give meaning to the constituent semantic elements in the context of our reality. Plug the appliance into the 120V outlet. How much of what we do is just organizing pre-built components?

Coding has a technical debt problem, but that's caused by human conflict of interests / principle agent problem. We'll have the Maxwell's Equations of CRUD apps soon enough and the Tesla/Edisons with the applications will follow shortly after that.

comment 3y ago · link · parent

proposition: declarative computation is one that is compiled or interpreted into something with lower control flow. consider lisp: your DSL can have control flow if the macros process the control flow forms (if, lambda) into some lower thing (that lower thing often being lisp itself but after all macroexpansion). I.e. reactive DSL is declarative with respect to when recomputation happens and when memoization happens, the programmer does not specify these aspects they are implied. however the same DSL can still be imperative with respect to effect sequencing.

another is programming with DAGs, the DAG captures control flow schematics as a value, abstracting away the actual evaluation rules (maybe the DAG is meant to be async, or reactive, or distributed). The DAG is declarative with respect to the abstracted evaluation rules, yet if there are effects in DAG nodes, we are not declarative with respect to those. We are however declarative with respect to how effects with a lifecycle are maintained and garbage collected, as that behavior is given by certain runtimes for the DAG.

comment 3y ago · link · parent

wait what? ELI grad student, I know you can plug i into the sine taylor series expansion but what is happening here

comment 3y ago · link · parent

thanks, does it fall infinitely far to do so?

comment 3y ago · link · parent

* markets measure sentiment

* capital flows through trust networks

* the important thing is not how things are but how they seem to be (https://en.wikipedia.org/wiki/Wiio%27s_laws)

* Curse of Development: the depth of any transaction is limited by the depth of the shallower party (https://www.dustingetz.com/#/page/the%20curse%20of%20develop...)

* You Can't Tell People Anything (https://www.dustingetz.com/#/page/you%20can't%20tell%20peopl...)

* Much Madness is Divinest Sense (https://www.dustingetz.com/#/page/much%20madness%20is%20divi...)

* Sufficiently Powerful Optimization Of Any Known Target Destroys All Value (https://www.dustingetz.com/#/page/sufficiently%20powerful%20...)

comment 3y ago · link · parent

a particle falls into a black hole. does it ever stop falling, from the particle’s reference frame?

comment 3y ago · link · parent

Where are the explanations? ah the links take you to the summary, not the actual link

comment 3y ago · link · parent

legal complexity is emergent from raw freedom - everything becomes a negotiation

comment 3y ago · link · parent

how does Interaction Nets model compare with other concurrency models such as dataflow programming with Arrow? (For example, I maintain a distributed/reactive Clojure dialect for unified fullstack web development which seems to show a deep connection to HVM despite being based on dataflow not interaction nets - https://github.com/hyperfiddle/electric)

comment 3y ago · link · parent

buy a 500 pack of bookmarks on amazon and sprinkle them around at all your reading spots, all of my books get their own bookmark

731.

Does Chipotle have better returns than the VC Industry?(twitter.com ↗)

2 points · by dustingetz · 3y ago · 1 comment

comment 3y ago · link · parent

scroll views increase impression metrics

comment 3y ago · link · parent

gently disagree and propose that in the same way that they don’t hear you, you aren’t hearing them

734.

Hike – Deriving identity in mutable grids (i.e. spreadsheets)(pixelated-noise.com ↗)

1 points · by dustingetz · 3y ago · discuss

comment 3y ago · link · parent

chatgpt can read these reports, how long until quants can auto-detect these weaknesses that today are buried in TPS reports? (movie reference)

736.

When a Bank Fails(fdic.gov ↗)

2 points · by dustingetz · 3y ago · discuss

737.

Practical Artificial Intelligence Programming with Clojure(leanpub.com ↗)

1 points · by dustingetz · 3y ago · discuss

738.

State Chart XML (Scxml): State Machine Notation for Control Abstraction (2015)(w3.org ↗)

4 points · by dustingetz · 3y ago · discuss

739.

Tools for Thought: Meaningful Structures(tftn.substack.com ↗)

3 points · by dustingetz · 3y ago · discuss

740.

Signals vs. Streams, in Terms of Backpressure(dustingetz.com ↗)

6 points · by dustingetz · 3y ago · 1 comment

comment 3y ago · link · parent

(OP here) This started as a HN comment which turned into a tweetstorm which turned into this blog post. Happy to discuss further. Tons of stuff didn't fit, such as discussion of discrete/continuous mental models, how to convert between discrete/continuous stages and the relation to derivatives/integrals in Calculus, how to have pipelines of interleaved discrete/continuous stages and how to deal with backpressure semantics at the boundaries.

742.

Signals vs. Streams, in Terms of Backpressure(dustingetz.com ↗)

4 points · by dustingetz · 3y ago · 5 comments

comment 3y ago · link · parent

here’s a debunking of the third tweet with reference: https://twitter.com/antonycourtney/status/162970259437243597...

comment 3y ago · link · parent

signals represent continuous time varying quantities, like an electrical voltage, an audio signal or the current mouse coordinates. streams (event streams) represent a sequence of discrete events, like key presses or network packets or financial transactions.

the key difference is in backpressure strategy: signals are canonically lazy, they don’t compute or do work until sampled, and only the latest value is relevant (nobody cares where the mouse was a moment ago when nobody was looking). streams are eager, you can’t skip a keyboard event or a financial transaction, even if the pipes are backed up – instead you have to tell upstream to slow down so you can catch up. The benefit of event streams is the guarantee that you'll see every event, which means streams are suitable for driving sequences of side effects (keyboard event -> network request -> database transaction).

signals are a good fit for rendering because you only want to render at up to say 60fps (even if the mouse updates faster, which it does). and you only want to render what’s onscreen, and only when the tab is focused. rendering (say dom effects) is indeed effectful but not in the discrete way; the dom is a resource, it has a mount/unmount object lifecycle, and due to this symmetry it is a good fit for rendering whereas isolated effects (without a corresponding undo operation) are a terrible fit for signals because backpressure will drop events and corrupt the system state.

You can use streams for rendering too, but it's dis-optimal, and potentially by a lot. If your app chokes on a burst of events, you want to skip ahead and render the final state without bothering to render all the intermediate historical states. Signal laziness is what enables this "work skipping"; a stream would have to process each individual event in sequence.

I have no idea if JS projects get the backpressure right, can anyone confirm?

1
242526
121