February 16, 2020

Make a simple calculator with Hybrids

Live example Using the Hybrids javascript library. I will make a simple calculator using web components as shown in the live example below: The live calculator above was embedded into the page using two lines of HTML code- <script src="js/calculator.js" async> </script> <my-calculator id="calculator"> </my-calculator> Setting up the project For this project, you will need NodeJS installed. A modern javascript toolchain is a bit fiddly. From the shell, create a new directory for the project. Read more

February 8, 2020

Personal computing with a serverless and multi-cloud infrastructure

Back in 2015, I wrote a short note about my new technology setup hello-world. Here is a summary of the changes since then. Infrastructure and hosting: Cloudflare as primary proxy/protection/cache, I previously used Nginx on my server as a proxy. Cloudflare workers for static sites. Cloudflare’s low-latency workers (cold start 5 ms) using javascript/wasm distributed via CDN. Key-Value storage for static assets. Google Cloud Functions for minor functionality. The latency of cloud functions can be high with high cold starts (Often 1 second or more), and their model for scalability allows for less in-memory optimization. Read more

March 18, 2018

Passive linking to social media

Embedding scripts from social media sites have implications in that it will result in profiling users who visit your site. Although marketing based on a user profile is mostly considered harmless, however, it has to be done with some degree of awareness by the site owner. In an age where machine learning is often unsupervised in marketing, we need to be aware of methods to mitigate the potential for harm. Read more

February 20, 2017

Voice calls in decline

Data from Statistics showing outgoing calls using mobile and land line shows that mobile has to a large extent replaced landline use and up until 2010 increased usage overall. Since 2010, however, total usage has been in decline A likely cause is the massive growth of smartphone sales in the same period, offering more methods of communication such as email, WhatsApp, and Facebook. Source: https://www.statista.com/statistics/461759/landline-vs-mobile-outgoing-call-minutes-germany/

May 28, 2016

Notifications & Scheduling

Web notifications er W3C standard API for å vise varslinger utenfor nettleservinduet. Hvis man ønsker push-varslinger når nettleseren er stengt, er det nødvendig å sende varslinger via tjenester fra Google eller Apple. Read more

© Tov Are Jacobsen 1997-2020 Privacy and cookies