Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
A while back I wrote about working with stacked PRs using git-branchless, git-autofixup, and git-pr.
-
I have recently read a book called “Game Theory in Everyday Life” by Len Fisher.
-
Hôm nay tôi xem kỹ hơn một video về group theory của tác giả 3b1b.
-
I’m using dark mode everywhere.
-
Have you ever get bored with the same old commit messages, all starting with “update”, “fix” or “feat”?
-
A new day at work Suppose that you, a good software engineer, just got hired by an e-commerce business.
-
The FConvey function is a standout feature of ezpkg.io/conveyz, designed to simplify focused testing in Go.
-
Have you ever needed to modify unstructured JSON data in Go?
-
Handling errors in Go is simple and flexible – yet no structure!
-
Hi!
-
As a start-up company, we started with a simple architecture: All data were stored in a single centralized Postgres instance, shared by a few services.
-
“How to Live on 24 Hours a Day” is a classic self-help book written by Arnold Bennett, first published in 1910.
-
In JavaScript/Node world, we usually store scripts in package.json and run them using npm.
-
Today, I encountered this code in my company codebase (the code and comments are rewritten for demo purpose and do not include any proprietary code): type GoroutineTracker struct { wg sync.WaitGroup // ... some other fields } // Go starts a new gorout…
-
As I work on various Go projects, I often find myself creating utility functions, extending existing packages, or developing packages to solve specific problems.
-
I usually push a lot of PRs in form of stacked PRs to GitHub.
-
We’ll declare a Phantom Type: type StringN<N> = string & { length: N; readonly X: unique symbol; } const isStringN = <N extends number>(length: N, s: string): s is StringN<N> => s.length == length; export const stringN = <N extends number>(length:…
-
We can use this pattern to output log with color in browser by adding CSS: const logger = (name) => ({ info: console.info.bind(console, `%c${name}: %s`, 'color: #56d74b'), verbose: console.debug.bind(console, `%c${name}: %s`, 'color: #70818e'), })
-
At work, I’m working on the flow compiler, which compile from flow documents into ETA flow descriptors.
-
While working with Go and JavaScript, we have tools available for auto reloading the server when the code changes.
-
I wrote a simple script to download the HackerNews data from HackerNews API.
-
At work, I’m working on the flow compiler, which compile from flow documents into ETA flow descriptors.
-
I usually work with stacked PRs.
-
When using sapling, it can access my github with my credentials by asking me to gh auto login.
-
At work, we use gomega for testing.
-
In the last post, I shared my experience with Sapling, Meta’s new Git client.
-
Sapling is a new source control system developed by Meta.
-
We know that our blood contains white blood cells.
-
gluon Recently, I found gluon.
-
JavaScript is changing fast with a lot of new and exciting features to help us - developers write code better and better.
-
Linux There are three standard file descriptions, STDIN, STDOUT, and STDERR.
-
TIL: Git How to apply a patch from github into the current repository gh pr diff --patch 4 | git am git am Apply a series of patches from a mailbox.
-
According to neuroscientists, music can reduce anxiety and stress.
-
Given the string It should have length Browse the source files: init.html box1.html go/main.go
-
Number of UUIDs: Enter 1-10 in the above box.
-
Ultralearning is a book from Scott Young.
-
Shortcode are simple snippets inside your content files calling built-in or custom templates.
-
Memory tips by BigThink.com Chronic stress is really bad for our memory.
-
WHERE conditions required At work, we are using gorm for dealing with database.
-
Compare and swap Compare and swap is a familiar concept of atomic operation, for dealing with race condition.
-
How to validate that a Protobuf message does not contain enum fields with zero value?
-
What is it?
-
You can’t connect the dots looking forward; you can only connect them looking backwards.
-
Once upon a time, we could simply put an HTML and a script file into an FTP server, quickly have a working website and call it a day.
-
µjson is a minimal JSON parser and transformer that works on unstructured (and trusted) JSON.