Top all-time · #15242
simplectic
Company blog · simplectic.com/blog · on HN as kbeatyprogrammingweb
simplectic is the company blog at simplectic.com, writing about programming and web. Since 2014, 5 different Hacker News readers have linked it 10 times, most often “Transducers Explained: Part 1”. The last post was in 2015, but the archive is still widely read.
Too few sampled comments (2) to say how often HN recommends it.?
Why HN links it
HN readers link this blog for its material on transducers. One comment explains them as special cases of reduce with a Python example, and another asks how its JavaScript Underscore-style transducer project relates to FRP.
Summarised by Claude from a sample of 2 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Most-linked posts?
- Transducers Explained: Part 12 people · 3 mentions · first linked 2014-10-19
- Streaming Logs with Transducers and Ramda2 people · 2 mentions · first linked 2015-03-25
What Hacker News says?
You can indeed use transducers in asynchronous contexts. In fact, that is what intrigues me most about the abstraction. Transducers are defined such that you can abstract the context of input, output and iteration and focus on the transformation of each element from an independent source individually. The implementation of each transducer accepts another transformation in a "pipeline" (eventually the output sink) an…
Comment linking /projects/underarm/
on “Rich Hickey – Inside Transducers [video]”Submitted Transducers Explained: Part 1 as a story · 4 points
HN discussionThere is also Transducers Explained [1] if you are familiar with JavaScript. (Shameless plug in the hope it may be helpful to someone) [1]: http://simplectic.com/blog/2014/transducers-explained-1/
Comment linking /blog/2014/transducers-explained-1/
on “Rich Hickey – Inside Transducers [video]”Submitted Streaming Logs with Transducers and Ramda as a story · 2 points
HN discussionA key component to transducers is to realize that map, filter, take, can all be expressed as special cases of the reduce function. So a curried map function can be expressed as a reduction operation, for example, in python you could do.. # map that adds 1 to each element # same as curried map(sub1)([1,2,3]) sub1 = lambda x: x - 1 map(sub1, [1,2,3]) # same outcome using reduce reduce(lambda acc, x: acc + [sub1(x)], […
Comment linking /blog/2014/transducers-explained-1/
on “Transducers for Python”Submitted Streaming Logs with Transducers and Ramda as a story · 2 points
HN discussionInteresting, how does this relate to FRP? The examples at http://simplectic.com/projects/underscore-transducer/ are similar to hello-world examples in Bacon.js or RxJS.
Comment linking /projects/underscore-transducer/
on “Show HN: JavaScript Transducers with Underscore API”Submitted Show HN: Underarm.js Async (Reactive) Transducers with Underscore API as a story · 2 points
HN discussionSubmitted Transducers Explained: Pipelines as a story · 1 points
HN discussion