posterus
Fluture
Our great sponsors
posterus | Fluture | |
---|---|---|
3 | 4 | |
550 | 2,460 | |
- | 0.2% | |
0.0 | 6.9 | |
almost 3 years ago | about 2 months ago | |
JavaScript | JavaScript | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
posterus
-
Cluster friendly task scheduler for NodeJS
Check out these; - https://github.com/mitranim/posterus - https://github.com/timgit/pg-boss - https://github.com/FirebaseExtended/firebase-queue - https://www.npmjs.com/package/rabbit-queue
-
I Avoid Async/Await
Async/Await covers the 80% of use cases for async logic in JS. Most people aren't really using promises as multicast references. They don't call `then` in one place, hang on to the promise reference, then call `then` again somewhere else (perhaps to represent a cached value); they call `then` once on the reference because it's just a moment in a composite operation.
It's for this reason that I think this library[0] is the more appropriate abstraction for that same 80% of use-cases, as its more memory efficient since you can represent the same composite operation that generates multiple promise references with a single object (a unicast reference instead). I haven't learned Rust but apparently the author bases this on Rust's ownership principle.
-
What is one thing you find annoying about react and are surprised it hasn't been addressed yet?
https://github.com/mitranim/posterus#taskdeinit
Fluture
-
Ask HN: Who wants to be hired? (December 2023)
My name is Aldwin. I'm back-end-leaning full-stack (web-) developer with over 13 years of full time professional experience at various software development agencies. Besides that, I have years of hobby-programming and open-source experience, with Fluture[1] being my most well-received.
I've been leading small teams for the last eight years, focusing on developer enabling work such as process management, devops, software architecture, and coaching.
I'm very passionately in particular about functional programming, and I'm hoping to coach teams when it comes to the cross-over between functional programming and software architecture - something a lot of developers who are new to FP struggle with.
Although I have been involved in a huge variety of software types, I'm particularly well-experienced when it comes to real-time, offline-first web-applications and real-time data processing.
-
FP for web/mobile apps in 2022?
I think that it is fine to code perfectly functional apps using TypeScript with React Native and React. You will have a huge community to support you with documentation, libraries, and available labor. Yes, the language has a lot of soundness holes and misses a lot of useful features like pattern matching or type classes but, for me, it is a valid trade-off. There are libraries for better FP programming in TypeScript like fp-ts, io-ts, and fluture.
-
Introduction to Functional Programming in JavaScript
Fortunately, as it has been shown in this article, it’s definitely possible to use functional programming with plain JavaScript. However, if you really want to dive deeper into this paradigm while using JavaScript, you’ll probably want to use some already existing functional libraries such as Sanctuary, Fluture, Ramda and others.
-
A Fallback for the JavaScript Pipeline Operator
This is great news for functionally-minded libraries such as Ramda, Sanctuary, Fluture, and many more. But it also makes some vanilla JavaScript nicer, for example:
What are some alternatives?
rubico - [a]synchronous functional programming
scriptum - Functional Programming Unorthodoxly Adjusted to Client-/Server-side Javascript
adequate-guide-react - A sample app of usage of functional programming with React.
node-tda - NodeJS API for TDA
CAF - Cancelable Async Flows (CAF)
promise-breaker - Helps you write libraries that accept both promises and callbacks.
proposal-pipeline-operator - A proposal for adding a useful pipe operator to JavaScript.
io-ts - Runtime type system for IO decoding/encoding
ppipe - pipes values through functions, an alternative to using the proposed pipe operator ( |> ) for ES
Immer - Create the next immutable state by mutating the current one
ramda - :ram: Practical functional Javascript
p-map - Map over promises concurrently