JamesBachini.com

Essentialism Notes | Less But Better 5

Essentialism Notes | Less But Better

The following are my notes on the Book Essentialism – the disciplined pursuit of less. The underlying principle of this book is “less but better”. The author Greg Mckeown starts with a personal story of how he left his wife and new born baby in hospital to attend a client meeting to try and keep everyone happy. When he arrived the clients were bemused by his decision and he instantly...

CoronaVirus | The Most Socially & Economically Disruptive Event Of The Century 8

CoronaVirus | The Most Socially & Economically Disruptive Event Of The Century

The coronavirus pandemic is the most socially and economically disruptive event of the 21st century. What will the world look like once we come out of lockdown and can we return to some level of normality? The lockdown period is expected to last 2-6 months in western economies. There is going to be political pressure to get everyone back to work as soon as possible. The most extreme measures are...

How To Calculate EV (Expected Value) By Analysing Risk & Reward 9

How To Calculate EV (Expected Value) By Analysing Risk & Reward

Expected value or EV is a term used in finance and gambling to define the estimated return of a given situation based on enough iterations. James On YouTube For example if you bet $1 on a coin toss your EV would be 0 because you would win/lose 50% of the time and your loss would be $1 and your win potential would be $1 ($2 including your original stake). So...

micro conversion example

Micro Conversions | Complete Guide To Optimising & Scaling With Micro Conversions

What are micro conversions? Micro conversions are minor events such as clicks and scrolls that we can use to track visitor behaviour and optimise advertising and landing pages faster. They are generally not directly linked to key performance indicators for an advertising campaign but can be used to scale (increase traffic volumes) more effectively. James On YouTube Scale Campaigns Profitably Micro conversions are most valuable when you are scaling a...

8 Tips For The Perfect Blog Post 12

8 Tips For The Perfect Blog Post

This is the revised 2020 complete guide to the best practices when creating content for your blog. You can use this framework to create a “perfect blog post” and move your site up the search engine rankings. James On YouTube The Title The title or headline of a blog post should be a close match to a search query but also just clickbaity enough to get a higher click through...

How to encrypt text in Visual Studio Code (VSCode) 15

How to encrypt text in Visual Studio Code (VSCode)

I wanted a way to quickly encrypt and decrypt files in Visual Studio Code using a memorised pass phrase so I created an easy to use plugin. VSC has become the text editor of choice for most developers and it is relatively simple to create and publish a plugin using Javascript or Typescript. The Encryption-VScode plugin uses AES encryption to encrypt/decrypt the contents of the current text file. The Crypto-JS...

Preventing Mobile Browsers From Turning Off 17

Preventing Mobile Browsers From Turning Off

The following code has been published which prevents a mobile browser from going into sleep mode. This was affecting setTimeout functions as the javascript code in the browser is effectively paused preventing the event loop from processing once sleep mode is activated. I originally looked at nosleep.js but ended up simplifying the code and putting it into a standard module for Vue.js https://github.com/jamesbachini/StayAwake.js The code works by looping through a...

Search For Satoshi 18

Search For Satoshi

In 2008 an anonymous user with the alias Satoshi Nakamoto posted the original Bitcoin whitepaper to the Cryptography mailing list. Satoshi mined a lot of the early Bitcoin blocks and the rewards that are held in bitcoin wallets associated are estimated to be around 1 million BTC or 10 Billion USD. If Bitcoin eventually reaches $120k, Satoshi will become the richest man in the world. These wallet addresses and no...