Posts by Tag

baking

Types Of Pie Crusts

2 minute read

There are a few types of different pie crusts, when discussing traditional French pastries:

Brownie Vs. Cake

1 minute read

What’s the difference between a brownie (or blondie) and a cake?

Sandwich Bread

less than 1 minute read

Another summer and it’s another season of tomatoes. Every year I try to get in on the tomato season and this also means making BLTs and tomato sandwiches, wh...

Meringue

1 minute read

Meringues are a mixture of egg whites, beaten with sugar. At its core, it’s about the foam produced by the egg white protein. This foam is light and airy, pr...

Signs That Your Bakes Are Done

8 minute read

Telling when your bake is done is an important skill to have in baking. There are many different signals we can look out for.

Cold Oven Cake

less than 1 minute read

There’s a style of pound cakes that are not baked in a preheated oven. It’s basically a pound cake with half as much baking powder. Here’s a recipe from epic...

Apple Pull-Apart Bread

1 minute read

I baked a pull-apart bread, which is like a different structure to a cinnamon roll.

Biscuits and Gravy

2 minute read

Biscuits and gravy is a regional breakfast dish of the American South. It consists of American biscuits, smothered with white gravy made from sausage or baco...

English Muffins

3 minute read

I love english muffins. They have a wonderful chew, a soft crust, and a large crust surface area to filling ratio.

Red Velvet Cake

4 minute read

Red velvet cake has an interesting history and evolution. It’s traditionally reddish chocolate cake, layered with ermine frosting. Modern recipes will add re...

Banh Bo

2 minute read

Bánh bò are sweet steamed rice cakes. Their signature aspect is the honeycomb structure, which is the result of air bubbles produced by yeast.

Lemon Curd Bar

1 minute read

Lemon desserts are a novel treat for me. I’m beginning to develop a palate for them. The zest imparts a ton of bright, floral flavour. The juice is a flavour...

Sugar Glaze

1 minute read

A sugar glaze is a simple glaze comprising of powdered sugar and liquid. It’s used for glazing donuts, muffins, coffee cakes, pastries, etc.

Cake Pan Sizes

less than 1 minute read

I’ve used this cake pan conversation chart at Sally’s Baking Addiction to scale recipes. Sometimes a recipe is written for a loaf pan but I want to use a bun...

Banana Bread

1 minute read

I’m finally getting around to writing down a banana bread recipe. I’ve been burned by not maintaining my own canonical recipe, with preferences and tweaks. I...

Clafoutis

less than 1 minute read

Clafoutis is a baked dessert that resembles a flan. It’s traditionally filled with berries. It’s served warm, with whipped cream or powdered sugar. I learned...

Bread Baking Fundamentals

9 minute read

Baking bread is one of those things in life which is both simple and complicated. Easy to get into, difficult to master. Here are some of the fundamental kno...

Cookie Science

3 minute read

Over the last few years, I’ve been reading Serious Eats and trying to comprehend the roles of ingredients when baking cookies.

Fudgy, Cakey, and Chewy Brownies

2 minute read

Brownies come in different varieties: chewy, cakey, and fudgy. These varieties vary the ingredients to move the brownie along a spectrum of pastries, from ca...

Pumpkin Bread

1 minute read

It’s fall and that means pumpkin season. We get bombarded with pumpkin bakes and pumpkin spice, so I made some pumpkin bread to get in on the fun.

Chocolate Chip Cookies

1 minute read

Now that I’ve got a hang of making cinnamon roll to consistency, I’m moving on to chocolate chip cookies. I want to work towards making a cookie that’s cragg...

White Sandwich Bread

3 minute read

I continue my quest to become a better bread baker and tame the yeast beast. My latest achievement was to bake white sandwich bread (wonderbread). This bread...

Hotdog Buns

1 minute read

I tried my hand at making hotdog buns, following the foodwishes recipe.

Buttermilk Pancake

1 minute read

I’ve been trying to figure out how to use up buttermilk. I made Texas sheet cake from SeriousEats but it didn’t stand out to me. I also tried making buttermi...

Banh Bao

1 minute read

I took another stab at making banh bao again. This time, I made filled buns using egg and ground turkey.

Baking Bread Pudding

1 minute read

Recently, I had a bad batch of sourdough bread. I didn’t stretch the dough enough and overworked it during shaping. The resulting loaf didn’t proof well and ...

Cinnamon Rolls

1 minute read

I’ve been practicing with yeasted doughs and cinnamon rolls have been my most consistent bake. I use the recipe and technique from King Arthur’s. But I picke...

Baking With Yeasted Doughs

5 minute read

I started baking with yeasted dough recipes a few months ago. I’ve avoided yeasted doughs all my life and they’ve always been a mystery to me. Now that I’ve ...

Banh Bao

2 minute read

I’m fed up with bad recipes. There’s too much inconsistency and variations, which result in large room for error. Baking is a science and 2 tsp vs. 1 tbsp of...

Black Bean Brownies

1 minute read

I’ve wanted to make black bean brownies for awhile now, ever since I heard many people raving about how they can be indistinguishable from the real thing. I...

Back to Top ↑

recipe

Chile Relleno Pancake

2 minute read

Chile rellenos is a classic Mexican dish. It’s comprised of a green pepper, stuffed with cheese, battered and fried.

Apple Pull-Apart Bread

1 minute read

I baked a pull-apart bread, which is like a different structure to a cinnamon roll.

English Muffins

3 minute read

I love english muffins. They have a wonderful chew, a soft crust, and a large crust surface area to filling ratio.

Red Velvet Cake

4 minute read

Red velvet cake has an interesting history and evolution. It’s traditionally reddish chocolate cake, layered with ermine frosting. Modern recipes will add re...

Green Onion Cake

1 minute read

It’s [been long time] since I got back on the horse but here we are. I made green onion cakes again and have made improvements to my recipe with learnings fr...

Banh Bo

2 minute read

Bánh bò are sweet steamed rice cakes. Their signature aspect is the honeycomb structure, which is the result of air bubbles produced by yeast.

Lemon Curd Bar

1 minute read

Lemon desserts are a novel treat for me. I’m beginning to develop a palate for them. The zest imparts a ton of bright, floral flavour. The juice is a flavour...

Sugar Glaze

1 minute read

A sugar glaze is a simple glaze comprising of powdered sugar and liquid. It’s used for glazing donuts, muffins, coffee cakes, pastries, etc.

Banana Bread

1 minute read

I’m finally getting around to writing down a banana bread recipe. I’ve been burned by not maintaining my own canonical recipe, with preferences and tweaks. I...

Xoi Man

1 minute read

One of my mom’s favourite dishes is xôi mặn, a low brow, comfort Vietnamese food. It’s a savoury, glutinous rice dish that can be topped with a variety of to...

Banh tet chuoi

5 minute read

Chinese New Year is also a big deal in Vietnamese culture. It’s called Tết and the biggest celebration of the year, akin to Christmas.

Tamales

2 minute read

I love tamales. There’s something about that is reminiscent of Vietnamese dishes, wrapped in banana leaves. The surface texture is slimy due to steamed starc...

Pork Ragu

1 minute read

I recently discovered that you can make ragu with different meats. I also thought bolognese, with ground beef, was the most common and preferred way. When I ...

Ground Beef Hash

1 minute read

I discovered this delicious dish from Blue Apron. They call it Beef Over Curry Spiced Rice. What makes this recipe very appealing is the simplicity of the di...

Scottish Meat Pies

3 minute read

After watching the Great American Baking show, I was inspired to make some hand-raised pies. In the U.K. and Australia, these are very common pastries but th...

French Onion Soup

1 minute read

When I made prime rib for the holidays, I served it with a chimichurri sauce. With the fond, I made some au jus. This served as the base for the beef broth.

Prime Rib with Chimichurri

3 minute read

I made prime rib for the first time this Christmas. It was pricey and lots of a meat for a single person to eat but I really wanted to embark on this experim...

Udon Noodles

2 minute read

Making udon noodles from scratch is surprisingly easy. It’s very similar to ramen noodles in hydration, although the characteristics of the dough change how ...

BBQ Spice Rub

less than 1 minute read

I’ve using this spice rub for years, ever since I discovered it on amazingribs.com. It’s balanced in spicy, sweet, and aromatic.

Sticky Rice (Xoi)

1 minute read

I ended up with a bit of leftover coconut milk, from a previous recipe. I could have made che but then I would need to get more ingredients (beans, agar agar...

White Sandwich Bread

3 minute read

I continue my quest to become a better bread baker and tame the yeast beast. My latest achievement was to bake white sandwich bread (wonderbread). This bread...

Protein Fluff

1 minute read

Protein fluff is magical food when it comes to a cut. It’s highly filling and has great macros.

Green Onion Cake

4 minute read

You know those chinese pancakes? The ones that have green onions and are flaky? I think these are a great way to use up excess green onions.

Hotdog Buns

1 minute read

I tried my hand at making hotdog buns, following the foodwishes recipe.

Queso

2 minute read

I made queso blanco dip, which was as an appetizer dish that I discovered Tex-Mex cuisine in Dallas.

Buttermilk Pancake

1 minute read

I’ve been trying to figure out how to use up buttermilk. I made Texas sheet cake from SeriousEats but it didn’t stand out to me. I also tried making buttermi...

Banh Bao

1 minute read

I took another stab at making banh bao again. This time, I made filled buns using egg and ground turkey.

Baking Bread Pudding

1 minute read

Recently, I had a bad batch of sourdough bread. I didn’t stretch the dough enough and overworked it during shaping. The resulting loaf didn’t proof well and ...

Cinnamon Rolls

1 minute read

I’ve been practicing with yeasted doughs and cinnamon rolls have been my most consistent bake. I use the recipe and technique from King Arthur’s. But I picke...

Back to Top ↑

python

Python Metaclasses

4 minute read

I’m working on a Python 3 migration and have been refreshing myself on the changes. One of the syntax changes is how a class’ metaclass is set: Python 2 look...

Python Decorator

3 minute read

Python decorators are a syntactic sugar. They appear declarative and are used in that manner, yet they’re actually imperatively executed. I believe this mism...

Python Variable Swapping

1 minute read

I read this stackoverflow post on python tuple swapping and decided to take some notes.

Python Generators

2 minute read

Python generators are an advanced concept that don’t see a lot of use in application programming. It’s relegated to the domain of frameworks or libraries tha...

Mechanical Soup

1 minute read

There’s a python library call MechanicalSoup. It glues together BeautifulSoup and Requests, to allow for automating parsing and submitting of forms.

Typer

1 minute read

Typer is python package for building python CLI. It’s built on top of Click, which is also a library for parsing CLI arguments.

Python Heapq

1 minute read

The Python standard library has a heap data structure, called heapq. It allows for implementing a priority queue. It’s a little strange to use, as it’s compo...

Python List Append vs. Extend

1 minute read

Python list objects have both append and extend methods. They are both used to mutate the list instance and add more elements.

Python Key Functions

3 minute read

Several python functions, such as sorted and max, accept a key parameter that acts as the comparator.

Timsort

4 minute read

Timsort is the sorting algorithm that python uses for sorted. It’s a really cool sort algorithm that’s rooted in real-world practicality and throws a wrench ...

How Python super() Works

3 minute read

I was trying to understand what the use of super in python was for and why we needed to include it with every constructor. I read this great StackOverflow an...

Black Python Formatter

2 minute read

Black is a python code formatter. It has minimal reconfigurability and is opinionated so that you don’t have to be. What that means is that you hand over con...

Building a NES Emulator - Part 1

5 minute read

For hackathon, I decided to start up my life-long dream project of writing a NES emulator. I studied computer engineering in school and the material is not e...

Generating Raw SQL From SQLAlchemy

1 minute read

SQLAlchemy is the python library that is used as an abstraction layer to different ORM. It implements pythonic patterns and whatnot. Whereas many ORMs are ju...

asyncio

4 minute read

I read this stackoverflow post that explained python asyncio very well. I’ve tried to understand asyncio a few times in the past year but they’ve all been fa...

PyPy and JIT Compiling

1 minute read

I’ve been hearing about PyPy for a while now and how it’s 8-17 times faster than CPython. I finally sat down and spent some time to read up on this.

Python on Windows

1 minute read

Normally, all my programming work is done in a unix environment. All my tools and knowledge is heavily centered in the unix/ubuntu world. Even on a Windows m...

Python Coverage, TravisCI, and Coveralls

1 minute read

I setup coverage for pytest-antilru and wanted to report this to coveralls. This was much harder than it had to be because TravisCI and Coveralls documentat...

Saving Requests Data for Testing

2 minute read

I wanted to contribute to mealpy and had grand ideas. But the timing was unfortunate, as I only had 2 more days left on my meal plan until I put it on hold.

TravisCI and Tox

2 minute read

I recently had the displeasure of configuring TravisCI to work with tox. TravisCI has a “build matrix” system, where you can configure different environment ...

Running Python Tests Real Fast

1 minute read

Writing tests is great. Writing many small and granular tests is great. At some point, it begins to look silly when you’re changing one function and rerunnin...

Back to Top ↑

lesson

Learning Spanish - Verb Types

2 minute read

There are a few different verb types in Spanish: transitive, intransitive, reflexive, reciprocal. Learning these grammar constructs can be very helpful in un...

Learning Spanish - Adjective Placement

1 minute read

In Spanish, adjectives usually follow the noun. But there are some adjectives that precede the noun. In these cases, it changes the meaning of the adjective.

Python Variable Swapping

1 minute read

I read this stackoverflow post on python tuple swapping and decided to take some notes.

Python Generators

2 minute read

Python generators are an advanced concept that don’t see a lot of use in application programming. It’s relegated to the domain of frameworks or libraries tha...

Learning Spanish - Prepositions

1 minute read

The spanish A preposition was tricky for me to understand at first. It translates to the English to/at preposition. The reason it’s tricky is that Spanish gr...

Learning Spanish - Pronouncing ‘J’

1 minute read

I’m trying to learn Spanish through Duolingo and I figure it might be fun to write about a few of the lessons or fun facts I learn about the language.

Back to Top ↑

javascript

Debounce In JavaScript

1 minute read

Debouncing is a technique for buffering user interaction: multiple inputs are reduced and deduplicated.

Bypassing JS Paste Blocker

less than 1 minute read

Many sites use JavaScript event handlers to prevent copy or paste actions. The idea is that they can prevent you from copying text, which is borderline idiot...

react testing library vs. enzyme

3 minute read

Recently, I tried out react-testing-library by converting a set of tests from enzyme. Here are some of my personal thoughts and insights from this experience.

Generics with Flow

3 minute read

Generics are a type system concept that allows for dynamic typing, as opposed to static typing.

Flow Intersection Types and Casting

3 minute read

I’ve talked about Flow types in the past but I had more recent dealings with it. A coworker was struggling to appease the type system when trying to work in ...

Flow Intersection Type

2 minute read

While working on some React components, I ran into some flow issues. They hurt my head to understand and I’m hoping that by writing some of this down, I can ...

ES6 Features

5 minute read

I took a refresher to learn about ES6 and the new language niceties (Source). Note that these are relative to my previous experience with Javascript, circa 2...

Back to Top ↑

spanish

Learning Spanish - Verb Types

2 minute read

There are a few different verb types in Spanish: transitive, intransitive, reflexive, reciprocal. Learning these grammar constructs can be very helpful in un...

Learning Spanish - Adjective Placement

1 minute read

In Spanish, adjectives usually follow the noun. But there are some adjectives that precede the noun. In these cases, it changes the meaning of the adjective.

Learning Spanish - Prepositions

1 minute read

The spanish A preposition was tricky for me to understand at first. It translates to the English to/at preposition. The reason it’s tricky is that Spanish gr...

Learning Spanish - Pronouncing ‘J’

1 minute read

I’m trying to learn Spanish through Duolingo and I figure it might be fun to write about a few of the lessons or fun facts I learn about the language.

Back to Top ↑

algorithms

Grocery Store Queuing

6 minute read

When you go to the grocery store, there’s always the dreaded checkout lines to contend with.

Dithering

1 minute read

Dithering is image processing technique, that aims to reduce colour banding.

How Bullets Work In FPS

7 minute read

I recently watched a video that explained how bullets work in First-Person Shooters. The two common model are hitscan and projectile. There are compelling tr...

Sorting By Rating

2 minute read

I recently read this post about SteamDB’s rating algorithm. SteamDB sorts games by popularity. This is defined as games that have a lot of total review traff...

Hamming Codes

7 minute read

Hamming codes are an error-correcting code. The upgrade from a parity check is that it is capable of detecting and correcting errors. It scales quite well, r...

Graph Traversal Algorithms

4 minute read

Today we’re going to talk about graph traversal algorithms. These are the more well-known ones that handle your main use cases, such as shortest path or depe...

Summed Area Table

1 minute read

A summed area table is a handy data structure for calculating summed area in a matrix. It is a pre-computation table that allows for O(1) area sums.

Kadane’s Algorithm

1 minute read

Kadane’s algorithm is also known as Maximum Sum of Subarray. It’s an algorithm for finding the contiguous subarray with the largest sum.

Timsort

4 minute read

Timsort is the sorting algorithm that python uses for sorted. It’s a really cool sort algorithm that’s rooted in real-world practicality and throws a wrench ...

Back to Top ↑

computer science

Grocery Store Queuing

6 minute read

When you go to the grocery store, there’s always the dreaded checkout lines to contend with.

Exception Handling

2 minute read

Never use exceptions. Always use an if-check to avoid errors.

Document Backup In The Cloud

2 minute read

Cloud storage has been around forever. With more devices than ever, cloud storage is a convenient way to share and synchronize data. It’s also very easy as a...

Hamming Codes

7 minute read

Hamming codes are an error-correcting code. The upgrade from a parity check is that it is capable of detecting and correcting errors. It scales quite well, r...

Markov Chain Text Generation

1 minute read

When you read about computers generating text, such as a chatbot or AI-generated book/research papers, you might have heard the term Markov Chains. Let’s dis...

Pseudo-randomness

3 minute read

Randomness is often used in computing. The world is unpredictable and probabilistic and we want to model many things like this. Whether it’s rolling a dice o...

Graph Traversal Algorithms

4 minute read

Today we’re going to talk about graph traversal algorithms. These are the more well-known ones that handle your main use cases, such as shortest path or depe...

Reverse Polish Notation

3 minute read

If you’re asked to add 2 numbers, you are probably mentally imagining 2+2. What about:

Interplay of RSA and Diffie-Hellman

4 minute read

Diffie-Hellman and RSA are two related concepts in cryptography. A common misunderstanding are the roles that the two play. An often asked question is:

CAP Theorem

2 minute read

The CAP theorem states that it’s impossible for a distributed data store to maintain all 3 guarantees:

Back to Top ↑

food science

Brownie Vs. Cake

1 minute read

What’s the difference between a brownie (or blondie) and a cake?

Meringue

1 minute read

Meringues are a mixture of egg whites, beaten with sugar. At its core, it’s about the foam produced by the egg white protein. This foam is light and airy, pr...

Japanese Sweet Potato

1 minute read

I love roasted sweet potatoes (yaki-imo). They’re basically potatoes but as a dessert. Like many other tubers, they host a plethora of nutrients and fiber.

Pairing Pasta Shapes And Sauces

3 minute read

This is bound to be a contentious topic. But I’m not here to gate-keep on tradition. I’m here to summarize collective culinary knowledge about pasta shape pa...

Beef And Broccoli

1 minute read

Beef and broccoli is a classic chinese dish. It’s simple to make and uses basic ingredients.

Annatto

1 minute read

Annatto is a seed of a tree that is native to the tropical regions of Latin America. It’s used as a food dye and a spice.

Madeleines

2 minute read

Madeleines are shelled-shaped cakes. They’re made with a genoise batter but they’re not baked in conventional cake tins. They use a custom pan that has a sha...

Cookie Science

3 minute read

Over the last few years, I’ve been reading Serious Eats and trying to comprehend the roles of ingredients when baking cookies.

Back to Top ↑

unix

ssh-agent

3 minute read

It’s common to use public key infrastructure (PKI) with SSH. The keys used can be very long and cryptographically secure. It’s much preferred over authentica...

Virtual Vs. Resident Memory

2 minute read

Whenever I’ve needed to look at how much memory a process is using, I’m never actually sure what value to use. There’s resident memory, virtual memory, swap ...

Bracketed Paste Mode

2 minute read

Bracketed Paste Mode is a feature of terminals, which is used for signalling extra information to programs. By adding markers to wrap the text payload, a pro...

Finding Hard Or Soft Symlinks

less than 1 minute read

When you have a symlink, it’s trivial to use ls or realink to resolve what files it points to. When you have a hardlink, you don’t even need resolution.

moreutils

9 minute read

moreutils is a suite of tools that I feel every unix user should be aware of. These tools are not essential tools but having them in your toolbox is what can...

timeout cmd

less than 1 minute read

I was investigating performance regression, to do with caching (or missing places that needed caching). I would run pytest and wait for it to complete and se...

umask Fun Times With WSL

1 minute read

Recently, I noticed that the ls colour output of my directories was strange. ls uses use different colours and formatting to denote file attributes: Symli...

Back to Top ↑

testing

react testing library vs. enzyme

3 minute read

Recently, I tried out react-testing-library by converting a set of tests from enzyme. Here are some of my personal thoughts and insights from this experience.

Shallow Vs. Mount

1 minute read

Enzyme is a library for testing react components. It handles the mounting and manipulating components.

Saving Requests Data for Testing

2 minute read

I wanted to contribute to mealpy and had grand ideas. But the timing was unfortunate, as I only had 2 more days left on my meal plan until I put it on hold.

Running Python Tests Real Fast

1 minute read

Writing tests is great. Writing many small and granular tests is great. At some point, it begins to look silly when you’re changing one function and rerunnin...

Back to Top ↑

git

Git Triple And Double Dot Notation

2 minute read

Many git commands accept either a single revision or a range. For example, git log or git show. This is similar to a file glob but for git commits.

Git Smudge And Clean Filters

3 minute read

Git-lfs is a great solution to managing large binary files in git. It makes clever use of git filter capability to operate.

Git log For Merge Commit

2 minute read

Merge commits are unique objects in git. Beyond normal commit stuff, they have multiple parents.

Git Archive on SHA

1 minute read

What do you do when you want a file in a git repo? In GitHub, you would view the raw file and save that to disk. You can clone the repo, get the files you ne...

Back to Top ↑

automation

OSX Sound Output Switcher

less than 1 minute read

I wrote a simple AppleScript to change the audio source in OSX. This was useful because I have several sources available for sound at any given time:

Make gmail unread count useful again

1 minute read

Ever since Google killed Inbox (rip), I’ve been unable to find a way to fill that void in my workflow. Inbox let you batch together emails into bundles, whic...

ISP Speed Tests

8 minute read

I recently switched internet service providers. While the installer guy was here, he gave some tips to ensure I would be making full use of the increased ban...

Mechanical Soup

1 minute read

There’s a python library call MechanicalSoup. It glues together BeautifulSoup and Requests, to allow for automating parsing and submitting of forms.

Windows Task Scheduler

2 minute read

Windows Task Scheduler can be used to schedule tasks to run at a specific time of day. It’s the equivalent of cron on unix. Unfortunately, the interval sched...

Back to Top ↑

windows

ssh-agent

3 minute read

It’s common to use public key infrastructure (PKI) with SSH. The keys used can be very long and cryptographically secure. It’s much preferred over authentica...

Virtual Vs. Resident Memory

2 minute read

Whenever I’ve needed to look at how much memory a process is using, I’m never actually sure what value to use. There’s resident memory, virtual memory, swap ...

Windows Terminal

2 minute read

Microsoft is working on a better terminal, which will improve the WSL experience. It’s available if you install the Windows 10 May 1903 update. This update i...

Windows Task Scheduler

2 minute read

Windows Task Scheduler can be used to schedule tasks to run at a specific time of day. It’s the equivalent of cron on unix. Unfortunately, the interval sched...

Python on Windows

1 minute read

Normally, all my programming work is done in a unix environment. All my tools and knowledge is heavily centered in the unix/ubuntu world. Even on a Windows m...

Back to Top ↑

mexican

Chile Relleno Pancake

2 minute read

Chile rellenos is a classic Mexican dish. It’s comprised of a green pepper, stuffed with cheese, battered and fried.

Taco Styles

3 minute read

In a previous post, I listed different Mexican foods. Today, I’m going to dive a little deeper into different styles of tacos.

Mexican Foods

9 minute read

In the recent years, I have learned a lot about Mexican cuisine. I finally feel worthy of unironically declaring “I love tacos”. Follow me on a journey to ex...

Dia de Muertos

2 minute read

November 1 and 2 is Día de Muertos (Day of the Dead), holiday in Mexico. It’s also celebrate in similar forms in the surrounding Latin American countries, as...

Tinga Poblana

3 minute read

Tinga de pollo (chicken tinga) is a mexican dish that is composed of shredded chicken in a spicy, tomato-based stew. A similar dish made with pork exists cal...

Tamales

2 minute read

I love tamales. There’s something about that is reminiscent of Vietnamese dishes, wrapped in banana leaves. The surface texture is slimy due to steamed starc...

Back to Top ↑

performance

Debounce In JavaScript

1 minute read

Debouncing is a technique for buffering user interaction: multiple inputs are reduced and deduplicated.

Raid - Redundant Array Of Independent Disks

7 minute read

Redundant Array of Independent Disks (RAID) is a technology for connecting together many physical hard drives into a single operating unit. The motivation to...

Virtual Vs. Resident Memory

2 minute read

Whenever I’ve needed to look at how much memory a process is using, I’m never actually sure what value to use. There’s resident memory, virtual memory, swap ...

N+1 Problem with ORM

3 minute read

I was helping my colleague with an issue we saw in a slow API endpoint. We wanted to increase the number of days of data we returned, from 2 to 30. The expec...

asyncio

4 minute read

I read this stackoverflow post that explained python asyncio very well. I’ve tried to understand asyncio a few times in the past year but they’ve all been fa...

Back to Top ↑

pancakes

Dutch Baby Pancake

2 minute read

Dutch baby pancakes are a type of popover that is popular in America. They are baked in a pan, similar to popovers.

Green Onion Cake

1 minute read

It’s [been long time] since I got back on the horse but here we are. I made green onion cakes again and have made improvements to my recipe with learnings fr...

Green Onion Cake

4 minute read

You know those chinese pancakes? The ones that have green onions and are flaky? I think these are a great way to use up excess green onions.

Buttermilk Pancake

1 minute read

I’ve been trying to figure out how to use up buttermilk. I made Texas sheet cake from SeriousEats but it didn’t stand out to me. I also tried making buttermi...

Back to Top ↑

bread

Sandwich Bread

less than 1 minute read

Another summer and it’s another season of tomatoes. Every year I try to get in on the tomato season and this also means making BLTs and tomato sandwiches, wh...

Apple Pull-Apart Bread

1 minute read

I baked a pull-apart bread, which is like a different structure to a cinnamon roll.

Bread Baking Fundamentals

9 minute read

Baking bread is one of those things in life which is both simple and complicated. Easy to get into, difficult to master. Here are some of the fundamental kno...

White Sandwich Bread

3 minute read

I continue my quest to become a better bread baker and tame the yeast beast. My latest achievement was to bake white sandwich bread (wonderbread). This bread...

Hotdog Buns

1 minute read

I tried my hand at making hotdog buns, following the foodwishes recipe.

Back to Top ↑

coffee

Learning Espresso - Frothing Milk

2 minute read

Steaming milk is tricky business. From the hands of a skilled barista will produce luxuriously frothed milk. Let’s take a look into the techniques and scienc...

Learning Espresso - Tamping

1 minute read

One element of espresso puck preparation is tamping. This is the act of compressing the puck in the portafilter. It turns out that it’s less complicated than...

Learning Coffee - Pressurized Portafilters

2 minute read

A portafilter is where coffee is placed, when brewing espresso. It’s made to withstand the water pressure of espresso machine, typically 9 bar (130 psi or 90...

Learning Coffee - Espresso

2 minute read

I recently got into espresso. For years, I’ve been brewing coffee with pour-overs and decided to take up espresso. I’m going to write a series that will foll...

Hario V60 Brewing Methods

2 minute read

There are several popular methods for pourover coffee, with the Hario V60. I’m going to try them out over the next few weeks and see how they work.

Back to Top ↑

scripting

comm

less than 1 minute read

comm is a unix tool that is useful for doing line diffs between two sorted files. It let’s you view lines that are unique to file1, lines unique to file2, or...

moreutils

9 minute read

moreutils is a suite of tools that I feel every unix user should be aware of. These tools are not essential tools but having them in your toolbox is what can...

Git log For Merge Commit

2 minute read

Merge commits are unique objects in git. Beyond normal commit stuff, they have multiple parents.

Mechanical Soup

1 minute read

There’s a python library call MechanicalSoup. It glues together BeautifulSoup and Requests, to allow for automating parsing and submitting of forms.

Back to Top ↑

techniques

Learning Espresso - Frothing Milk

2 minute read

Steaming milk is tricky business. From the hands of a skilled barista will produce luxuriously frothed milk. Let’s take a look into the techniques and scienc...

Learning Espresso - Tamping

1 minute read

One element of espresso puck preparation is tamping. This is the act of compressing the puck in the portafilter. It turns out that it’s less complicated than...

Signs That Your Bakes Are Done

8 minute read

Telling when your bake is done is an important skill to have in baking. There are many different signals we can look out for.

Learning Coffee - Pressurized Portafilters

2 minute read

A portafilter is where coffee is placed, when brewing espresso. It’s made to withstand the water pressure of espresso machine, typically 9 bar (130 psi or 90...

Learning Coffee - Espresso

2 minute read

I recently got into espresso. For years, I’ve been brewing coffee with pour-overs and decided to take up espresso. I’m going to write a series that will foll...

Back to Top ↑

security

ssh-agent

3 minute read

It’s common to use public key infrastructure (PKI) with SSH. The keys used can be very long and cryptographically secure. It’s much preferred over authentica...

Garage Door Remote Control

1 minute read

Garage door remote controls have an interesting history in their evolution. They used to be simple radio transmitters, which worked fine when few people had ...

Verifying Downloads With GPG

3 minute read

Many open source projects will provide pre-compiled binaries for convenience. They are often signed with gpg key and provide a checksum. Why do all of this? ...

Git Archive on SHA

1 minute read

What do you do when you want a file in a git repo? In GitHub, you would view the raw file and save that to disk. You can clone the repo, get the files you ne...

Back to Top ↑

hardware

Raid - Redundant Array Of Independent Disks

7 minute read

Redundant Array of Independent Disks (RAID) is a technology for connecting together many physical hard drives into a single operating unit. The motivation to...

Building a NES Emulator - Part 1

5 minute read

For hackathon, I decided to start up my life-long dream project of writing a NES emulator. I studied computer engineering in school and the material is not e...

PocketCHIP

3 minute read

For hackathon at work, I wanted to play around with PocketCHIP that I bought a few years ago.

Back to Top ↑

tools

Adding Labels Using Imagemagick

1 minute read

Years ago I wanted to edit a video clip, add a label, and make a gif. I wrote about it in this gist. I’m revisiting it now and posting it for discoverability...

comm

less than 1 minute read

comm is a unix tool that is useful for doing line diffs between two sorted files. It let’s you view lines that are unique to file1, lines unique to file2, or...

Black Python Formatter

2 minute read

Black is a python code formatter. It has minimal reconfigurability and is opinionated so that you don’t have to be. What that means is that you hand over con...

Downloading Files Faster With Aria2

1 minute read

I found this nifty wget-like tool named aria2. wget can only download a file with a single connection. aria2 is capable of chunking the target file and downl...

Back to Top ↑

chinese

Biang Biang Mian

2 minute read

I made biang biang noodles and they were great! I followed Chinese Cooking Demystified and it’s always a great read. They talk about the history and cultural...

Beef And Broccoli

1 minute read

Beef and broccoli is a classic chinese dish. It’s simple to make and uses basic ingredients.

Green Onion Cake

1 minute read

It’s [been long time] since I got back on the horse but here we are. I made green onion cakes again and have made improvements to my recipe with learnings fr...

Green Onion Cake

4 minute read

You know those chinese pancakes? The ones that have green onions and are flaky? I think these are a great way to use up excess green onions.

Back to Top ↑

math

Reverse Polish Notation

3 minute read

If you’re asked to add 2 numbers, you are probably mentally imagining 2+2. What about:

Conditional Logic

1 minute read

There a few conditional statements that we intuitively know and use daily. However, it’s easier to use and know but has been hard for me to know which is whi...

Back to Top ↑

vietnamese

Xoi Man

1 minute read

One of my mom’s favourite dishes is xôi mặn, a low brow, comfort Vietnamese food. It’s a savoury, glutinous rice dish that can be topped with a variety of to...

Banh tet chuoi

5 minute read

Chinese New Year is also a big deal in Vietnamese culture. It’s called Tết and the biggest celebration of the year, akin to Christmas.

Che Dau Xanh

less than 1 minute read

I made some che dau xanh and was surprised how simple it is. I was inspired to make this dish after reading this recipe from runawayrice. It’s a simple puddi...

Sticky Rice (Xoi)

1 minute read

I ended up with a bit of leftover coconut milk, from a previous recipe. I could have made che but then I would need to get more ingredients (beans, agar agar...

Back to Top ↑

etymology

Phatic Expression

1 minute read

A Phatic expression is a communication construct that serves a social function while providing no intrinsic value. Small talk and pleasantries are common exa...

Anatomical Terms of Motion

3 minute read

Muscles in the body can only apply force by contracting. Most muscles in the body have muscle group pairs that allow muscle control in both direction, where ...

Back to Top ↑

vim

Profiling Vim Plugins

1 minute read

I previously posted about profiling vim performance during startup. This was useful for debugging what changes in .vimrc was expensive.

Vim exrc

2 minute read

When vim starts up, it reads configurations from many different locations:

Vim Spellcheck Keybinding

1 minute read

Vim has spellcheck capability but it’s awkward to use. Whenspell option is set, typos are highlighted in vim. The z= is used for spellcheck suggestions and r...

Back to Top ↑

compiler

Just-In-Time Compilation

4 minute read

Just-in-time compilation is realtime, dynamic compilation. It’s recently become a popular way to execute code. By diving into how it works and the concepts i...

PyPy and JIT Compiling

1 minute read

I’ve been hearing about PyPy for a while now and how it’s 8-17 times faster than CPython. I finally sat down and spent some time to read up on this.

Cross-compiling to ARM

3 minute read

I’ve been trying to make my C.H.I.P. into a headless server, for running scripts. It’s low power and quiet (no fan) so it’s a perfect use case. It’s like an ...

Back to Top ↑

steaming

Banh Bo

2 minute read

Bánh bò are sweet steamed rice cakes. Their signature aspect is the honeycomb structure, which is the result of air bubbles produced by yeast.

Steaming Sticky rice

less than 1 minute read

Customarily, sticky rice is steamed instead of boiled, have firm, unbroken grains. This is done with a bamboo steamer, which is permeable to steam but doesn’...

Sticky Rice (Xoi)

1 minute read

I ended up with a bit of leftover coconut milk, from a previous recipe. I could have made che but then I would need to get more ingredients (beans, agar agar...

Back to Top ↑

dessert

Meringue

1 minute read

Meringues are a mixture of egg whites, beaten with sugar. At its core, it’s about the foam produced by the egg white protein. This foam is light and airy, pr...

Che Dau Xanh

less than 1 minute read

I made some che dau xanh and was surprised how simple it is. I was inspired to make this dish after reading this recipe from runawayrice. It’s a simple puddi...

Sticky Rice (Xoi)

1 minute read

I ended up with a bit of leftover coconut milk, from a previous recipe. I could have made che but then I would need to get more ingredients (beans, agar agar...

Back to Top ↑

sticky rice

Xoi Man

1 minute read

One of my mom’s favourite dishes is xôi mặn, a low brow, comfort Vietnamese food. It’s a savoury, glutinous rice dish that can be topped with a variety of to...

Banh tet chuoi

5 minute read

Chinese New Year is also a big deal in Vietnamese culture. It’s called Tết and the biggest celebration of the year, akin to Christmas.

Steaming Sticky rice

less than 1 minute read

Customarily, sticky rice is steamed instead of boiled, have firm, unbroken grains. This is done with a bamboo steamer, which is permeable to steam but doesn’...

Back to Top ↑

cookies

Cookie Science

3 minute read

Over the last few years, I’ve been reading Serious Eats and trying to comprehend the roles of ingredients when baking cookies.

Chocolate Chip Cookies

1 minute read

Now that I’ve got a hang of making cinnamon roll to consistency, I’m moving on to chocolate chip cookies. I want to work towards making a cookie that’s cragg...

Back to Top ↑

chocolate

Fudgy, Cakey, and Chewy Brownies

2 minute read

Brownies come in different varieties: chewy, cakey, and fudgy. These varieties vary the ingredients to move the brownie along a spectrum of pastries, from ca...

Chocolate Chip Cookies

1 minute read

Now that I’ve got a hang of making cinnamon roll to consistency, I’m moving on to chocolate chip cookies. I want to work towards making a cookie that’s cragg...

Back to Top ↑

web

Bypassing JS Paste Blocker

less than 1 minute read

Many sites use JavaScript event handlers to prevent copy or paste actions. The idea is that they can prevent you from copying text, which is borderline idiot...

HTTP Cookies Are A Mess

5 minute read

Wow, are HTTP cookies are mess. I’ve had the displeasure of learning this and discovering how web browsers have been bolting and duct taping this system toge...

Margins Vs. Padding

1 minute read

Both margins and padding can help to achieve the whitespace separation between elements. You can generally get the design you want with either but there will...

Back to Top ↑

japanese

Japanese Sweet Potato

1 minute read

I love roasted sweet potatoes (yaki-imo). They’re basically potatoes but as a dessert. Like many other tubers, they host a plethora of nutrients and fiber.

Murasaki Potatoes

less than 1 minute read

Trader Joes carries these Japanese sweet potatoes under the name Murasaki Potatoes. These are indeed sweet potatoes and cousins of the orange-fleshed ones we...

Miso Soup

1 minute read

Ever since coming back from a 2-week trip to Japan, I’ve been exploring Japanese cuisine more in-depth. I attended a cooking class, where our instructor intr...

Back to Top ↑

new york

JFK International Airport

3 minute read

New York City was great to travel to and visit. It has culture, great food, and good public transportation (decent enough for a tourist).

New York Pizza

1 minute read

I was able to experience New York pizza on my recent visit to NYC. They know what they’re doing with pizza there.

New York Bagels

1 minute read

All my life, I’ve never been into bagels. I’ve suspected that I don’t like the food item as a concept but have been self-conscious that maybe I’ve been eatin...

Back to Top ↑

cake

Meringue

1 minute read

Meringues are a mixture of egg whites, beaten with sugar. At its core, it’s about the foam produced by the egg white protein. This foam is light and airy, pr...

Cold Oven Cake

less than 1 minute read

There’s a style of pound cakes that are not baked in a preheated oven. It’s basically a pound cake with half as much baking powder. Here’s a recipe from epic...

Back to Top ↑

osx

ssh-agent

3 minute read

It’s common to use public key infrastructure (PKI) with SSH. The keys used can be very long and cryptographically secure. It’s much preferred over authentica...

OSX Sound Output Switcher

less than 1 minute read

I wrote a simple AppleScript to change the audio source in OSX. This was useful because I have several sources available for sound at any given time:

AppleScript to Toggle Natural Scrolling

1 minute read

I recently tried using a mouse at my work station, instead of Magic Trackpad. OSX has a setting for Natural Scrolling behaviour, which is the opposite for mo...

Back to Top ↑

profiling

Virtual Vs. Resident Memory

2 minute read

Whenever I’ve needed to look at how much memory a process is using, I’m never actually sure what value to use. There’s resident memory, virtual memory, swap ...

Profiling Vim Plugins

1 minute read

I previously posted about profiling vim performance during startup. This was useful for debugging what changes in .vimrc was expensive.

Back to Top ↑

trivia

Marriott International and A&W

2 minute read

Marriott International is the largest hotel chain in the world. The name Marriott comes from the founder’s family name, J. Willard Marriott and Alice Marriot...

Opt Out Prescreen

1 minute read

Ever wonder why you get so many credit card applications in the mail? How do they know who you are and why does it seem to follow you around as you move.

La Jolla Is Not A City

less than 1 minute read

La Jolla is a neighbourhood in San Diego. But you can see addresses that seem to say otherwise.

Back to Top ↑

beans

Black Bean Brownies

1 minute read

I’ve wanted to make black bean brownies for awhile now, ever since I heard many people raving about how they can be indistinguishable from the real thing. I...

Substituting Dry Beans

2 minute read

Most recipes that use beans, call for the canned beans. Canned beans are convenient, as they’re ready to use immediately in a recipe. I prefer to buy dry be...

Back to Top ↑

travisci

Python Coverage, TravisCI, and Coveralls

1 minute read

I setup coverage for pytest-antilru and wanted to report this to coveralls. This was much harder than it had to be because TravisCI and Coveralls documentat...

TravisCI and Tox

2 minute read

I recently had the displeasure of configuring TravisCI to work with tox. TravisCI has a “build matrix” system, where you can configure different environment ...

Back to Top ↑

gzcl

General Gainz Program

5 minute read

I switched my workout routine from Jacked and Tan to General Gainz around September 2019. I previously wrote about how Jacked and Tan was structured so I tho...

My Current Workout Routine

6 minute read

My routine has iterated continuously for the last 1.5 years. I’ve fine-tuned for time-efficiency, equipment availability, and muscle areas of focus.

Back to Top ↑

coverage

Python Coverage, TravisCI, and Coveralls

1 minute read

I setup coverage for pytest-antilru and wanted to report this to coveralls. This was much harder than it had to be because TravisCI and Coveralls documentat...

Back to Top ↑

arm

Cross-compiling to ARM

3 minute read

I’ve been trying to make my C.H.I.P. into a headless server, for running scripts. It’s low power and quiet (no fan) so it’s a perfect use case. It’s like an ...

Back to Top ↑

unicode

Smart Apostrophe

1 minute read

Smart apostrophes/curved quotes are… interesting. There are over 30 characters that are considered quotation marks in Unicode. The most well-known are the qu...

Back to Top ↑

optimization

Full Motion Video in Video Games

2 minute read

Full-motion videos (FMV) are used in video games for cutscenes, which serve to narrate and drive the story. The alternative is to render the cutscene in-game.

PyPy and JIT Compiling

1 minute read

I’ve been hearing about PyPy for a while now and how it’s 8-17 times faster than CPython. I finally sat down and spent some time to read up on this.

Back to Top ↑

concurrency

Python Generators

2 minute read

Python generators are an advanced concept that don’t see a lot of use in application programming. It’s relegated to the domain of frameworks or libraries tha...

asyncio

4 minute read

I read this stackoverflow post that explained python asyncio very well. I’ve tried to understand asyncio a few times in the past year but they’ve all been fa...

Back to Top ↑

databases

Generating Raw SQL From SQLAlchemy

1 minute read

SQLAlchemy is the python library that is used as an abstraction layer to different ORM. It implements pythonic patterns and whatnot. Whereas many ORMs are ju...

N+1 Problem with ORM

3 minute read

I was helping my colleague with an issue we saw in a slow API endpoint. We wanted to increase the number of days of data we returned, from 2 to 30. The expec...

Back to Top ↑

react

Shallow Vs. Mount

1 minute read

Enzyme is a library for testing react components. It handles the mounting and manipulating components.

React Ref Forwarding

less than 1 minute read

I needed to implement impression logging on a React component and wanted to use the intersection-observer package. This is react library to interface with th...

Back to Top ↑

sql

Elasticsearch Aggregation

2 minute read

A few years ago, I learned to use Elasticsearch. It took awhile for me for grok and wrap my head around, to map it to my SQL foundation.

SQL Null Value Gotcha

2 minute read

I was recently using a written query and fixed a bug in it. Let’s look at an example query:

Back to Top ↑

typing

Flow Intersection Types and Casting

3 minute read

I’ve talked about Flow types in the past but I had more recent dealings with it. A coworker was struggling to appease the type system when trying to work in ...

Flow Intersection Type

2 minute read

While working on some React components, I ran into some flow issues. They hurt my head to understand and I’m hoping that by writing some of this down, I can ...

Back to Top ↑

green onion

Green Onion Cake

1 minute read

It’s [been long time] since I got back on the horse but here we are. I made green onion cakes again and have made improvements to my recipe with learnings fr...

Green Onion Cake

4 minute read

You know those chinese pancakes? The ones that have green onions and are flaky? I think these are a great way to use up excess green onions.

Back to Top ↑

snes

Patching Snes Roms

less than 1 minute read

International Patching System (IPS) is a file format for applying patches to snes roms.

Final Fantasy 6 Review

4 minute read

Final Fantasy 6 has been on my backlog for the longest of time. It’s been my mark of shame, not having completed it all these years. This year marks the 25th...

Back to Top ↑

code style

Exception Handling

2 minute read

Never use exceptions. Always use an if-check to avoid errors.

Black Python Formatter

2 minute read

Black is a python code formatter. It has minimal reconfigurability and is opinionated so that you don’t have to be. What that means is that you hand over con...

Back to Top ↑

css

CSS :is() pseudo-selector

1 minute read

The :is() pseudo-class function is a selector that acts as a boolean OR. It’s blazing hot, fresh out of the oven: it’s only available on modern browser from ...

Margins Vs. Padding

1 minute read

Both margins and padding can help to achieve the whitespace separation between elements. You can generally get the design you want with either but there will...

Back to Top ↑

noodles

Biang Biang Mian

2 minute read

I made biang biang noodles and they were great! I followed Chinese Cooking Demystified and it’s always a great read. They talk about the history and cultural...

Udon Noodles

2 minute read

Making udon noodles from scratch is surprisingly easy. It’s very similar to ramen noodles in hydration, although the characteristics of the dough change how ...

Back to Top ↑

pizza

New York Pizza

1 minute read

I was able to experience New York pizza on my recent visit to NYC. They know what they’re doing with pizza there.

Detroit Pizza

1 minute read

Detroit-style pizza is a type of pizza that’s baked in a square dish pan. It has the following characteristics:

Back to Top ↑

health

Sun Protection Factor

1 minute read

Sunscreens are primarily measured based Sun Protection Factor (SPF), which is a rating of what percentage of ultraviolet (UV) rays it blocks.

Blood Pressure

1 minute read

Systolic blood pressure is the pressure that the heart exerts when it contracts and pumps blood out.

Back to Top ↑

font

Smart Apostrophe

1 minute read

Smart apostrophes/curved quotes are… interesting. There are over 30 characters that are considered quotation marks in Unicode. The most well-known are the qu...

Font Ligatures

1 minute read

Font ligatures are a typography concept, where adjacent characters can be interpreted as a different glyph altogether. A common example in handwriting is >...

Back to Top ↑

instant pot

Banh tet chuoi

5 minute read

Chinese New Year is also a big deal in Vietnamese culture. It’s called Tết and the biggest celebration of the year, akin to Christmas.

Instant Pot Rice

2 minute read

I’ve been very perplexed about how to cook rice in an instant pot. Every blog and recipe I’ve stumbled upon has said they were able to cook rice perfectly in...

Back to Top ↑

soup

French Onion Soup

1 minute read

When I made prime rib for the holidays, I served it with a chimichurri sauce. With the fond, I made some au jus. This served as the base for the beef broth.

Miso Soup

1 minute read

Ever since coming back from a 2-week trip to Japan, I’ve been exploring Japanese cuisine more in-depth. I attended a cooking class, where our instructor intr...

Back to Top ↑

sourdough

Sandwich Bread

less than 1 minute read

Another summer and it’s another season of tomatoes. Every year I try to get in on the tomato season and this also means making BLTs and tomato sandwiches, wh...

Back to Top ↑

physiology

Taking Medicine With Food

less than 1 minute read

Many medicines have instructions that related to consumption alongside food or avoiding such. There are 3 periods when medicine can be taken, relative to a m...

Anatomical Terms of Motion

3 minute read

Muscles in the body can only apply force by contracting. Most muscles in the body have muscle group pairs that allow muscle control in both direction, where ...

Back to Top ↑

oop

Python Metaclasses

4 minute read

I’m working on a Python 3 migration and have been refreshing myself on the changes. One of the syntax changes is how a class’ metaclass is set: Python 2 look...

How Python super() Works

3 minute read

I was trying to understand what the use of super in python was for and why we needed to include it with every constructor. I read this great StackOverflow an...

Back to Top ↑

pie

Types Of Pie Crusts

2 minute read

There are a few types of different pie crusts, when discussing traditional French pastries:

Scottish Meat Pies

3 minute read

After watching the Great American Baking show, I was inspired to make some hand-raised pies. In the U.K. and Australia, these are very common pastries but th...

Back to Top ↑

pork

Tinga Poblana

3 minute read

Tinga de pollo (chicken tinga) is a mexican dish that is composed of shredded chicken in a spicy, tomato-based stew. A similar dish made with pork exists cal...

Pork Ragu

1 minute read

I recently discovered that you can make ragu with different meats. I also thought bolognese, with ground beef, was the most common and preferred way. When I ...

Back to Top ↑

cloud

Document Backup In The Cloud

2 minute read

Cloud storage has been around forever. With more devices than ever, cloud storage is a convenient way to share and synchronize data. It’s also very easy as a...

Object Storage vs. Block Storage

1 minute read

In the world of system design and cloud computing, there is the choice between object storage or block storage. For AWS, this is S3 (Simple Storage Service) ...

Back to Top ↑

ration-recipe

Biscuits and Gravy

2 minute read

Biscuits and gravy is a regional breakfast dish of the American South. It consists of American biscuits, smothered with white gravy made from sausage or baco...

Back to Top ↑

cryptography

Digital Vaccine Cards

7 minute read

Cities in America (New York and San Francisco) are beginning to require proof of vaccination to enter certain places, like gyms, restaurants, and indoor even...

Interplay of RSA and Diffie-Hellman

4 minute read

Diffie-Hellman and RSA are two related concepts in cryptography. A common misunderstanding are the roles that the two play. An often asked question is:

Back to Top ↑

technology

HTTP Cookies Are A Mess

5 minute read

Wow, are HTTP cookies are mess. I’ve had the displeasure of learning this and discovering how web browsers have been bolting and duct taping this system toge...

Interplay of RSA and Diffie-Hellman

4 minute read

Diffie-Hellman and RSA are two related concepts in cryptography. A common misunderstanding are the roles that the two play. An often asked question is:

Back to Top ↑

pc

Max Payne Review

4 minute read

I recently replayed Max Payne. I can’t believe this game was released 19 years ago! It has aged incredibly well and was at the forefront of gameplay mechanic...

Dead Space Review

4 minute read

I recently completed Dead Space, on PC. It’s a 2008 horror FPS game. Similar to Resident Evil 4 but with the tighter FPS experience, like Call of Duty.

Back to Top ↑

cli

moreutils

9 minute read

moreutils is a suite of tools that I feel every unix user should be aware of. These tools are not essential tools but having them in your toolbox is what can...

Typer

1 minute read

Typer is python package for building python CLI. It’s built on top of Click, which is also a library for parsing CLI arguments.

Back to Top ↑

culture

Gyro, Donair, Shawarma, Al Pastor

2 minute read

The Turkish doner kebab is a wrap, filled with meat cooked on a vertical spit. Outside of Turkey, it’s taken off like a rocket ship in Germany. It’s the domi...

Annatto

1 minute read

Annatto is a seed of a tree that is native to the tropical regions of Latin America. It’s used as a food dye and a spice.

Back to Top ↑

shell scripting

Finding Hard Or Soft Symlinks

less than 1 minute read

When you have a symlink, it’s trivial to use ls or realink to resolve what files it points to. When you have a hardlink, you don’t even need resolution.

Running Commands With Environment Variable

1 minute read

Environment variables are essentially global variables, when it comes to the shell. In spawned child processes, environment variables are not propagated by d...

Back to Top ↑

images

Dithering

1 minute read

Dithering is image processing technique, that aims to reduce colour banding.

Adding Labels Using Imagemagick

1 minute read

Years ago I wanted to edit a video clip, add a label, and make a gif. I wrote about it in this gist. I’m revisiting it now and posting it for discoverability...

Back to Top ↑

disks

Document Backup In The Cloud

2 minute read

Cloud storage has been around forever. With more devices than ever, cloud storage is a convenient way to share and synchronize data. It’s also very easy as a...

Raid - Redundant Array Of Independent Disks

7 minute read

Redundant Array of Independent Disks (RAID) is a technology for connecting together many physical hard drives into a single operating unit. The motivation to...

Back to Top ↑

game dev

Dithering

1 minute read

Dithering is image processing technique, that aims to reduce colour banding.

How Bullets Work In FPS

7 minute read

I recently watched a video that explained how bullets work in First-Person Shooters. The two common model are hitscan and projectile. There are compelling tr...

Back to Top ↑

cooking

Taco Styles

3 minute read

In a previous post, I listed different Mexican foods. Today, I’m going to dive a little deeper into different styles of tacos.

Mexican Foods

9 minute read

In the recent years, I have learned a lot about Mexican cuisine. I finally feel worthy of unironically declaring “I love tacos”. Follow me on a journey to ex...

Back to Top ↑

calibration

Calibrating Instant-Read Thermometer

less than 1 minute read

To calibrate an instant-read thermometer, it’s common to temp either ice-water or boiling water. At sea-level, this is 0 C and 100 C, respectively.

Calibrating Oven Temperature

1 minute read

It’s always annoying to deal with an oven in a new kitchen. Ovens are not very precise and well designed: temperatures can be off up to ±25 C (50 F) and ther...

Back to Top ↑

deepfry

Keeping fried foods crispy

1 minute read

How to Keep Deep Fried Foods Crispy What’s the problem? I always wonder why some fried foods get soggy or soft as short as 30 minutes after cooking. Even wh...

Back to Top ↑

apple

Back to Top ↑

github

TravisCI and Tox

2 minute read

I recently had the displeasure of configuring TravisCI to work with tox. TravisCI has a “build matrix” system, where you can configure different environment ...

Back to Top ↑

tox

TravisCI and Tox

2 minute read

I recently had the displeasure of configuring TravisCI to work with tox. TravisCI has a “build matrix” system, where you can configure different environment ...

Back to Top ↑

blog

Including Files in Jekyll

2 minute read

Jekyll wants to be a blogging-first platform. For reasons I don’t know why. Blogging as a primary feature is fine and all but I don’t see why the architectur...

Back to Top ↑

ipython

Saving Requests Data for Testing

2 minute read

I wanted to contribute to mealpy and had grand ideas. But the timing was unfortunate, as I only had 2 more days left on my meal plan until I put it on hold.

Back to Top ↑

custard

Baking Bread Pudding

1 minute read

Recently, I had a bad batch of sourdough bread. I didn’t stretch the dough enough and overworked it during shaping. The resulting loaf didn’t proof well and ...

Back to Top ↑

leftovers

Baking Bread Pudding

1 minute read

Recently, I had a bad batch of sourdough bread. I didn’t stretch the dough enough and overworked it during shaping. The resulting loaf didn’t proof well and ...

Back to Top ↑

jekyll

Including Markdown in Jekyll

1 minute read

For this blog, I wanted to write recipes and refer to them in blog posts. The blog posts are static and won’t change but I will continue to iterate on recipe...

Back to Top ↑

markdown

Including Markdown in Jekyll

1 minute read

For this blog, I wanted to write recipes and refer to them in blog posts. The blog posts are static and won’t change but I will continue to iterate on recipe...

Back to Top ↑

localization

Unicode Encodings

2 minute read

Unicode is an industry standard for representing text in many languages. Before unicode, ASCII was typically used to encode text into bits.

Back to Top ↑

buttermilk

Buttermilk Pancake

1 minute read

I’ve been trying to figure out how to use up buttermilk. I made Texas sheet cake from SeriousEats but it didn’t stand out to me. I also tried making buttermi...

Back to Top ↑

tex mex

Queso

2 minute read

I made queso blanco dip, which was as an appetizer dish that I discovered Tex-Mex cuisine in Dallas.

Back to Top ↑

appetizers

Queso

2 minute read

I made queso blanco dip, which was as an appetizer dish that I discovered Tex-Mex cuisine in Dallas.

Back to Top ↑

chips

Queso

2 minute read

I made queso blanco dip, which was as an appetizer dish that I discovered Tex-Mex cuisine in Dallas.

Back to Top ↑

gotchas

SQL Null Value Gotcha

2 minute read

I was recently using a written query and fixed a bug in it. Let’s look at an example query:

Back to Top ↑

sqlalchemy

Generating Raw SQL From SQLAlchemy

1 minute read

SQLAlchemy is the python library that is used as an abstraction layer to different ORM. It implements pythonic patterns and whatnot. Whereas many ORMs are ju...

Back to Top ↑

french

Chouquette Meetings

1 minute read

I know a manager that brings croissants to the office weekly, for his team’s standup. I’ve been invited to attend these a couple times and they start out ver...

Back to Top ↑

meetings

Chouquette Meetings

1 minute read

I know a manager that brings croissants to the office weekly, for his team’s standup. I’ve been invited to attend these a couple times and they start out ver...

Back to Top ↑

matrix

The Matrix: 20th Anniversary

2 minute read

The Matrix hit its 20th anniversary, originally released on 1999-03-31. This has always been, and continues to be, one of my favourite movies.

Back to Top ↑

protein

Protein Fluff

1 minute read

Protein fluff is magical food when it comes to a cut. It’s highly filling and has great macros.

Back to Top ↑

final fantasy

Final Fantasy 6 Review

4 minute read

Final Fantasy 6 has been on my backlog for the longest of time. It’s been my mark of shame, not having completed it all these years. This year marks the 25th...

Back to Top ↑

rpg

Final Fantasy 6 Review

4 minute read

Final Fantasy 6 has been on my backlog for the longest of time. It’s been my mark of shame, not having completed it all these years. This year marks the 25th...

Back to Top ↑

pudding

Che Dau Xanh

less than 1 minute read

I made some che dau xanh and was surprised how simple it is. I was inspired to make this dish after reading this recipe from runawayrice. It’s a simple puddi...

Back to Top ↑

texas

How to Eat Crawfish

1 minute read

Seafood boils are delicacy of the South, specifically Louisiana and Cajun cuisine. When I visited Houston, I was able to try the Viet-Cajun crawfish boil. An...

Back to Top ↑

seafood

How to Eat Crawfish

1 minute read

Seafood boils are delicacy of the South, specifically Louisiana and Cajun cuisine. When I visited Houston, I was able to try the Viet-Cajun crawfish boil. An...

Back to Top ↑

terminal

Windows Terminal

2 minute read

Microsoft is working on a better terminal, which will improve the WSL experience. It’s available if you install the Windows 10 May 1903 update. This update i...

Back to Top ↑

design patterns

Mixins, Composition, and Inheritance

2 minute read

I recently read about mixins, which is a general design concept, and not some framework specific terminology. In python, at least. It seems that similar conc...

Back to Top ↑

bbq

BBQ Spice Rub

less than 1 minute read

I’ve using this spice rub for years, ever since I discovered it on amazingribs.com. It’s balanced in spicy, sweet, and aromatic.

Back to Top ↑

flow

Flow Intersection Types and Casting

3 minute read

I’ve talked about Flow types in the past but I had more recent dealings with it. A coworker was struggling to appease the type system when trying to work in ...

Back to Top ↑

emulation

Patching Snes Roms

less than 1 minute read

International Patching System (IPS) is a file format for applying patches to snes roms.

Back to Top ↑

formats

Back to Top ↑

quickbread

Pumpkin Bread

1 minute read

It’s fall and that means pumpkin season. We get bombarded with pumpkin bakes and pumpkin spice, so I made some pumpkin bread to get in on the fun.

Back to Top ↑

pumpkin

Pumpkin Bread

1 minute read

It’s fall and that means pumpkin season. We get bombarded with pumpkin bakes and pumpkin spice, so I made some pumpkin bread to get in on the fun.

Back to Top ↑

packaging

Back to Top ↑

nutrition

Back to Top ↑

editor

Font Ligatures

1 minute read

Font ligatures are a typography concept, where adjacent characters can be interpreted as a different glyph altogether. A common example in handwriting is >...

Back to Top ↑

jest

Back to Top ↑

mocking

Back to Top ↑

rice

Instant Pot Rice

2 minute read

I’ve been very perplexed about how to cook rice in an instant pot. Every blog and recipe I’ve stumbled upon has said they were able to cook rice perfectly in...

Back to Top ↑

brownies

Fudgy, Cakey, and Chewy Brownies

2 minute read

Brownies come in different varieties: chewy, cakey, and fudgy. These varieties vary the ingredients to move the brownie along a spectrum of pastries, from ca...

Back to Top ↑

potatoes

Murasaki Potatoes

less than 1 minute read

Trader Joes carries these Japanese sweet potatoes under the name Murasaki Potatoes. These are indeed sweet potatoes and cousins of the orange-fleshed ones we...

Back to Top ↑

roast

Prime Rib with Chimichurri

3 minute read

I made prime rib for the first time this Christmas. It was pricey and lots of a meat for a single person to eat but I really wanted to embark on this experim...

Back to Top ↑

beef

Prime Rib with Chimichurri

3 minute read

I made prime rib for the first time this Christmas. It was pricey and lots of a meat for a single person to eat but I really wanted to embark on this experim...

Back to Top ↑

ground beef

Ground Beef Hash

1 minute read

I discovered this delicious dish from Blue Apron. They call it Beef Over Curry Spiced Rice. What makes this recipe very appealing is the simplicity of the di...

Back to Top ↑

bagel

New York Bagels

1 minute read

All my life, I’ve never been into bagels. I’ve suspected that I don’t like the food item as a concept but have been self-conscious that maybe I’ve been eatin...

Back to Top ↑

travel

JFK International Airport

3 minute read

New York City was great to travel to and visit. It has culture, great food, and good public transportation (decent enough for a tourist).

Back to Top ↑

logic

Conditional Logic

1 minute read

There a few conditional statements that we intuitively know and use daily. However, it’s easier to use and know but has been hard for me to know which is whi...

Back to Top ↑

type system

Generics with Flow

3 minute read

Generics are a type system concept that allows for dynamic typing, as opposed to static typing.

Back to Top ↑

tortilla

Tinga Poblana

3 minute read

Tinga de pollo (chicken tinga) is a mexican dish that is composed of shredded chicken in a spicy, tomato-based stew. A similar dish made with pork exists cal...

Back to Top ↑

tax

Back to Top ↑

data

NoSQL Database Types

3 minute read

NoSQL is such a bad name. It was chosen to contrast against the ubiquitous relational databases. Simply because it was different. This category has grown so ...

Back to Top ↑

system design

Object Storage vs. Block Storage

1 minute read

In the world of system design and cloud computing, there is the choice between object storage or block storage. For AWS, this is S3 (Simple Storage Service) ...

Back to Top ↑

distributed systems

CAP Theorem

2 minute read

The CAP theorem states that it’s impossible for a distributed data store to maintain all 3 guarantees:

Back to Top ↑

fluid dynamics

Back to Top ↑

slack

Slack Custom CSS

2 minute read

The Slack desktop app is an Electron app, a framework for developing distributing web applications. Electron is a stripped-down web browser, powered by Node ...

Back to Top ↑

customization

Slack Custom CSS

2 minute read

The Slack desktop app is an Electron app, a framework for developing distributing web applications. Electron is a stripped-down web browser, powered by Node ...

Back to Top ↑

investments

Call and Put Options

2 minute read

Call and put options are different ways to invest money, on top of trading stocks. They’re great ways for the uninformed to make terrible, uninformed financi...

Back to Top ↑

thought experiment

Thought Experiments

14 minute read

I watched a video from TopTenz that discussed 10 thought experiments. I found it very fascinating and wanted to give my thoughts.

Back to Top ↑

society

Osborne Effect

2 minute read

The Osborne Effect is the phenomenon where a product announcement induces a negative feedback loop in the companies revenues. Sometimes, when a company annou...

Back to Top ↑

burrito

Rolling A Burrito

less than 1 minute read

Rolling a burrito is surprisingly very tricky. Those guys rolling burritos in 2 seconds flat? They’re skilled artisans.

Back to Top ↑

platformer

Thomas Was Alone Review

1 minute read

I played Thomas Was Alone, an indie platformer from 2012. It’s a beautiful and elegant game. Somehow they managed to fit in a compelling story about a bunch ...

Back to Top ↑

indie game

Thomas Was Alone Review

1 minute read

I played Thomas Was Alone, an indie platformer from 2012. It’s a beautiful and elegant game. Somehow they managed to fit in a compelling story about a bunch ...

Back to Top ↑

horror

Dead Space Review

4 minute read

I recently completed Dead Space, on PC. It’s a 2008 horror FPS game. Similar to Resident Evil 4 but with the tighter FPS experience, like Call of Duty.

Back to Top ↑

engineering

Canal Locks

1 minute read

I recently watched this video which discussed how locks worked. While locks themselves are simplistic, this video explores the complicated engineering soluti...

Back to Top ↑

n64

Back to Top ↑

retro

Back to Top ↑

til

Kuai Kuai Culture

less than 1 minute read

There’s a unique practice in Taiwan of placing green snack bags on top of electronics. This is Kuai Kuai, a regional and modern superstition (earliest docume...

Back to Top ↑

nds

Phantom Hourglass Review

5 minute read

The Legend of Zelda: Phantom Hourglass is a first-party game from Nintendo, for the Nintendo DS. This game pushes many experimental gameplay elements that ma...

Back to Top ↑

breakfast

Biscuits and Gravy

2 minute read

Biscuits and gravy is a regional breakfast dish of the American South. It consists of American biscuits, smothered with white gravy made from sausage or baco...

Back to Top ↑

spice

Biang Biang Mian

2 minute read

I made biang biang noodles and they were great! I followed Chinese Cooking Demystified and it’s always a great read. They talk about the history and cultural...

Back to Top ↑

phrases

Back to Top ↑

social convention

Phatic Expression

1 minute read

A Phatic expression is a communication construct that serves a social function while providing no intrinsic value. Small talk and pleasantries are common exa...

Back to Top ↑

interview

Fizzbuzz As A Programming Interview Problem

9 minute read

I used to use fizzbuzz for programming interviewing purposes. There’s going to be strong opinions regarding this and I think it’ll be interesting to present ...

Back to Top ↑

analysis

Elasticsearch Aggregation

2 minute read

A few years ago, I learned to use Elasticsearch. It took awhile for me for grok and wrap my head around, to map it to my SQL foundation.

Back to Top ↑

car

Car Washing

3 minute read

Washing a car is not super complicated but there are somethings to keep in mind. Like when washing dishes, you need to make sure it’s dishwasher safe and whe...

Back to Top ↑

cleaning

Car Washing

3 minute read

Washing a car is not super complicated but there are somethings to keep in mind. Like when washing dishes, you need to make sure it’s dishwasher safe and whe...

Back to Top ↑

pasta

Pairing Pasta Shapes And Sauces

3 minute read

This is bound to be a contentious topic. But I’m not here to gate-keep on tradition. I’m here to summarize collective culinary knowledge about pasta shape pa...

Back to Top ↑

statistics

Sorting By Rating

2 minute read

I recently read this post about SteamDB’s rating algorithm. SteamDB sorts games by popularity. This is defined as games that have a lot of total review traff...

Back to Top ↑

pollution

Air Quality Index

6 minute read

I learned about the Air Quality Index today. You will too. Let’s go.

Back to Top ↑

indices

Air Quality Index

6 minute read

I learned about the Air Quality Index today. You will too. Let’s go.

Back to Top ↑

medicine

Taking Medicine With Food

less than 1 minute read

Many medicines have instructions that related to consumption alongside food or avoiding such. There are 3 periods when medicine can be taken, relative to a m...

Back to Top ↑

video game design

Full Motion Video in Video Games

2 minute read

Full-motion videos (FMV) are used in video games for cutscenes, which serve to narrate and drive the story. The alternative is to render the cutscene in-game.

Back to Top ↑

linguistics

Back to Top ↑

psychology

Back to Top ↑

debug

Back to Top ↑

physics

Pythagoras Cup

less than 1 minute read

The Pythagoras Cup is a practical-joke device that is used to demonstrate greed.

Back to Top ↑

makefile

Back to Top ↑

networking

How To Extend Wifi Range

4 minute read

In a home network setup, there is typically only one modem or access to the internet service provider. From here, access is shared amongst clients in the hom...

Back to Top ↑