Problem Statement

Purpose of article

Setup

  1. Install XMing
  2. Setup WSL2 (Ubuntu 20.04)

Key Configuration

  1. Instead of run Xming directly, go for XLaunch, and check no Access Control

2. In WSL, export the DISPLAY with command in…

This is a reference page on materials I want to refer back to later (or consider worth sharing), when I start trying to know more about non-stick cookware and their material.

English Material

Nonstick Cookware Brands: PTFE (Teflon®) or Ceramic? A Comprehensive Guide (Also web archive link, just in case)

This one is a very good material including what are they (PTFE and Ceramic), and what are the wordings to notice in the small print, the buzz word to suspect it’s PTFE as well as some existing brand using which material (especially those fancy material/layers terms different brands used)

(Would keep updating)

Chinese Material

阿淇博士 Dr. Achi Youtube channel

This Youtube channel give scientific explanation of cookware (and also a lot of cooking related information), video on PTFE, video 1, 2 on other non stick materials

(Would keep updating)

In Python, there is this built-in function __call__() for a class you can override, this make your object instance callable.

class MyClass:
def __init__(self):
//... some init
def __call__(self, input1):
self.my_function(input1)
def my_function(self, input1):
print(f"MyClass - print {input1}")
my_obj = MyClass()// same as calling my_obj.my_function("haha")
my_obj("haha") // expect to print…

Background

One can see the fonts that’s embedded in the PDF to support display of the text

For this article, I am working with True Type Font, and so let’s have some very brief understanding for True Type Font (or fonts in general).

There are…

Background — What and why of callbacks in framework(s)

With ease of use, I like PyTorch Lightning for their rich features which already encapsulated in the core structure (flow) while one can control the run through…

Background

“Source Code Management” section in normal project

I have been using Jenkins for automation (in a customer environment) for a while with following use cases:

  1. Continuous deployment
  2. Recurrent network and API verification
  3. API warm up

Continuous deployment

Background and how I discovered this

I have had a MongoDB docker image running on that VM and with the simple 27017:27017 port mapping, and I used to believe I haven’t open the port on VM firewall…

Background and objective

  1. generate a SVG base64 text at the backend API (logic on how to generate the SVG is not supposed to be exposed and so put to backend)
  2. Add some display element on the SVG at the frontend (the backend generated…

Stephen Cow Chau

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