A collection of functions to handle Nullable, Date and Blob when interacting with canister smart contracts.

To port our web editor, DeckDeckGo, to DFINITY’s Internet Computer I developed several helpers in TypeScript to interact with our canister smart contracts.

If it can make your life easier too, here are those I use the most.

Nullable

The Candid description that is generated for nullable types does not exactly…

Lazy load JavaScript code from a content delivery network to serve users only what they need when they need it.

What if I told you modern browsers can natively import a single, or sets of functions, of a JavaScript library bundles, at runtime and, from a CDN? Wouldn’t that open up possibilities?

Well, good news. This is not an hypothesis but, a fact. Nowadays, all modern browsers can dynamically import…

A guideline that helps develop Angular applications and libraries in a reactive programming way with RxJS.

Even though there is no strict rule, combining imperative and declarative programming concepts with RxJS might be making the development harder and the code less clean.

Shifting mind from a (often) default way of programming (i.e. imperative) to a reactive (i.e. declarative) approach, takes time.

However, there is a single…

An approach of the data persistence for web applications with the Internet Computer of the DFINITY foundation.

We are developing a proof of concept to port our web app, DeckDeckGo, to the DFINITY’s Internet Computer.

After having validated the hosting and password-less authentication integration, we are tackling the last question of our POC: persisting user data and presentations in the blockchain.

Along the way, we tried out…

The singleton and factory design pattern, implemented with TypeScript. Explained with a hairdresser and an ice creams shop examples.

Of all the design patterns I learned in engineering school, the singleton and factory are probably those I use the most in my day-to-day programming activities. Sometimes I even mix the two to double the fun 😜.

In this blog post, I will show you how to implement these patterns…

An introduction to deploy web applications on the decentralized blockchain network of the DFINITY foundation.

We are building a proof of concept to port our web app, DeckDeckGo, to the Internet Computer of the DFINITY foundation.

Our project’s first milestone is not yet completely reached but, I managed to successfully deploy our editor.

Here are the few things I learned along the way. …

Can our web editor for slides work on the futuristic internet of the DFINITY foundation? Let’s figure it out.

Exciting news, we received a 25k USD grant from the DFINITY foundation to port our web editor for slides, DeckDeckGo, to the Internet Computer.

In the coming weeks we will build a proof of concept to validate the feasibility of the project. …

A practical hack to make CSS nth- selectors variable within Web Components.

Using CSS variables, at least when I’m writing these lines in June 2021, is not supported in media queries or selector, e.g. :nth-child(var(--my-variable)) does not work.

This is a bit unfortunate but, not unsolvable. In some recent development I bypassed this limitation by injecting style elements in the DOM, into…

David Dal Busco

Freelancer by day | Creator of DeckDeckGo by night | Organizer of the Ionic and IndieHackers Zürich Meetup

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