I have created a family group using the Apple ID A, and the account B is a member. However, I can’t download apps purchased by A in the device logged in by B. Today, I finally find out the cause. The Purchase Sharing setting in account B is incorrect, which is by accident set to share as A and I don’t know why.
A collection of 45 articles
One of my favorite features of Inoreader is saving the article to external services, such as Evernote, OneDrive or Google Drive. I can archive the articles I liked for future references.
When I first read Stjepan’s article Blocking inside async code, I never though I will met the problem mentioned in the post.
Excel is a full featured vector graphics app. It has bundled many shapes and styles, and even supports anchoring connectors to the shapes. All these features make Excel also a good diagram maker. One of my favorite tips is grid snapping, it can save a lot of time to align shapes. I also recommend resizing the grid as small squares.
This article is an analysis of the network event loops based on bitcoin core v0.19.0. Bitcoin starts two threads to handle network messages, and each thread runs its own event loop.
I prefer using Vim in a terminal. I can switch to the shell with Ctrl-Z and back with fg. However it is hard to integrate a terminal command with other GUI tools, such as editing a file in Vim from Finder.
I prefer reading my mails in the Gmail web client directly. I rarely send new mails or replies. But when I do, I want to use PGP to encrypt or sign the mail. I have tried two extensions to use PGP in Gmail, FlowCrypt and Mailvelope.
I have read the post Get Everything Done & Still Have Time to Play by Jackie Ashton recently and adopted some strategies into my process. Before I plan the tasks daily by allocating them into time slots in a calendar, it is tedious and time-wasting. It messes up my agenda, which is intended only to contain the events that I must do on time. And it makes me nervous and exhausted to follow a pre-defined schedule every day. My new process is much simpler. I review my life objectives first and group them into categories. Then I evaluate their importance in my current life stage and allocate my energy in percentage into them.
How to mock time in Rust tests and Cargo gotchas we met. I’m working in a team developing a big Rust project recently. The project has some features depending on time. We, the developers, want to be able to mock the time in the test. In this post, I’ll talk about the problems we have met, mostly related to Cargo.
In Rust document, Cell is “A mutable memory location”, and RefCell is “A mutable memory location with dynamically checked borrow rules”. They both provide “interior mutability”, where you can modify the value stored in cell via immutable reference of the cell. They both have an API get_mut to return a mutable reference to the underlying data. This method requires a mutable reference to the cell, which guarantees that the callee has exclusive ownership of the cell. pub fn get_mut(&mut self) -> &mut T The difference is how they implement interior mutability. Cell copies or moves contained value, while RefCell allows both mutable and immutable reference borrowing. I will try to explain the difference via their APIs in this article.