🌱 Digital Garden

This is where my ideas and my articles grow. A permanent Work In Progress.


Better name for Logging Levels

I find logging levels quite difficult to understand and use. What’s informative? versus what is a warning? I’ve seen this naming scheme somewhere a while ago, (ref required), I wished this was more common: export const makeLogger = (name: string) => { const prefix = `[${name}]`; return { inTestEnv: (msg: string, ...args: any[]) => console.debug(`${prefix}: ${msg}`, ...args), inProdEnv: (msg: string, ...args: any[]) => console.info(`${prefix}: ${msg}`, ...args), toInvestigateTomorrow: (msg: string, ...args: any[]) => console.

Technology

Run Hugo in a VSCode task

I’m looking for ways to increase my focus and reduce the time I waste on “non important tasks”. With this simple configuration, I don’t have to boot another terminal nor memorize Hugo’s parameters.

Technology

Emails Marketing

Checking your email’s quality I’ve sent a few emails during the last few weeks to ask for feedback on whena.re. I got only one response. Go to https://www.mail-tester.com/ it will generate an address for you. You can send your mail there and check its quality. I got a 10/10 quality score at the moment. So it looks like my emails are going to the trash, not the spam folder ^^’

Building

Publish an Article

I just published: https://tickingfocus.com/pomodoro-technique/pomodoro-method-guide/ Some stuff I always spend time googling: Check your opengraph at http://opengraphtools.com/ Grab a cover photo at: https://unsplash.com/ https://www.istockphoto.com/ https://www.stockphoto.com/ Remember to upload your sitemaps with the google search console https://search.google.com/search-console

Building

Science of Doubt: The Left-Hand Experiment

How your tools might kill your confidence? In 2003, researchers asked their students to write down their BEST or WORST qualities. πŸ‘¨β€πŸ”¬ “It’s a graphology study,” they said. (it wasn’t) ✍️ They asked some students to write with their dominant hand. So right hand for right-handers. And they asked other students to write with their non-dominant hand. So left hand for right-handers. πŸ‘/πŸ‘Ž Once they were done, the researchers asked each student to rate how confident they were about the qualities they just wrote down.

Doubts & Impostors

Science of Doubt: The Recall Irony Experiment

I’ve been researching doubts these last few weeks; here is a fascinating experiment I found. This experiment shows a sad truth about people with high self-doubt. In 2002, researchers put 301 students in front of a computer with the following question: πŸ‘¨β€πŸ”¬ “Please write down a few examples of self-confidence.” For some of these students, the researchers requested two examples. For others, they asked eight examples of self-confidence. And more to others.

Doubts & Impostors

Terraform

I started working on a new projects that relies on terraform and AWS. This is new to me, I’m used to Google Cloud and “artisanal” setup, by hand with scriping tools like Python’s Fabric or Ansible. Basic commands terraform fmt # format the files terraform validate terraform plan terraform apply terraform show # shows the current state, from the file terraform.tfstate. Might be sync'd with a remote Concepts Provider Something like AWS, GCloud, etc.

Technology

Trying out Forestry

I’ve been looking for the best way to write content for a while. I do not appreciate WordPress, too heavy, too slow, in my opinion. Also, I get distracted easily, and if you’ve ever used WordPress, you know what I’m talking about: every time I log in to WordPress, you have between 1 and 12 new notifications from various plugins, etc. It breaks so easily too! Static site generators are nice, and I got used to Hugo.

Technology

Trying out Stimulus

DDH shared a tweet recently talking about a new version for a tool called Stimulus. As a teaser for the multi-punch combo that is NEW MAGIC, ⁦@sstephenson⁩ and ⁦@javan⁩ have finished and released Stimulus 2.0. New APIs for dealing with CSS classes and values. Such power in a 9kb gzipped punch! πŸ₯‚πŸ‘ https://t.co/FDjcnYCJrv β€” DHH (@dhh) December 4, 2020 https://stimulusjs.org/handbook/hello-stimulus I was looking for a leaner stack to build an interactive guide on tickingfocus.

Technology