We are pleased to announce that Crust Network and Functionland will collaborate to help bridge the gap between front-end developer toolset and decentralized storage solutions.

Functionland and Crust Network Collaborate to simplify user and developer experience in Web3

A century old business model has been challenged by the advent of Web3, “Advertising Revenue Generation”. Blockchain technologies enable creators from all walks of life to serve consumers without a need for mediators. This new generation of services have the potential to disrupt not only the foundations of our monetary systems, but also every means of societal interactions. Today we use crypto to send money to a friend, tomorrow we glance at our phones just…

Image by @atrashatella

USD is on the cheap now man, it’s just one dollar! Sure, the government is printing a ton, but look how many institutions are packing their bags. Sheldon Tusk is gonna bring it up in “The Very Late Show” this Sunday, to the Mars baby! #USDto1K!

Hold your fire, this is not coming from Peter Schiff, I’m a crypto maximalist like any other rational person :) Hear me out first.

Doge used to be a community of very cool people with all the good intentions, they raised money to pay back fellow Doge investors who lost their coins in a…

Handling asynchronous scenarios in a Promise implementation can be mind-blowing. Not so much if you embrace the functional programming paradigm. Though guess I fell short of properly explaining how it works exactly in Nancy, evident by the questions I received via direct messages and comments on social media. I try to explain a bit more here, assuming you commanded the Nancy article.

To refresh our memory, here is the final code:

In acync scenarios, resolve or reject are not called immediately. In our example:

const delay = milliseconds => new Nancy(resolve => setTimeout(resolve, milliseconds));

resolve will be called after…

Ever wondered how JavaScript Promise works internally? Obviously there is some native browser support involved, right? Nope! We can implement the Promise interface using pure JavaScript, examples are libraries like Bluebird or Q. And it’s much simpler than you may think, we can do so in only 70 lines of code! This will help with gaining a deeper insight into Promises by demystifying the underlying formation. Can also serve as a good interview question, if you are an evil employer (don’t be!). Let’s dig into it!

First thing that you notice is that a Promise has three states, so should…

Keyvan M. Sadeghi

Keyvan is co-founder and CEO at Functionland, an open-source startup working on the intersection of Blockchain and AI

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store