Logo

site iconFrank

软件工程师,擅长面向搜索引擎编程。在美工组。
请复制 RSS 到你的阅读器,或快速订阅到 :

Inoreader Feedly Follow Feedbin Local Reader

Frank RSS 预览

Understanding Systemd Timer: Troubleshooting `D-Bus connection terminated` Error

2026-02-13 07:57:00

We run a SaaS service, when a customer creates an instance, we use terraform to create an EC2 instance and relevant cloud infrastructures. This EC2 is created with a prebuilt AMI, with our software installed. This software will be referred to as codename sinatra. After the EC2 is created, a script setup.sh will run to configure sinatra, and it will restart sinatra a few times with Systemctl.

We noticed one of the customers has a possibility to fail when creating an instance, with the error message below(non-relevant messages are omitted):

...Warning! D-Bus connection Terminated. Failed to wait for response: Connection reset by peer...

The post Understanding Systemd Timer: Troubleshooting `D-Bus connection terminated` Error appeared first on Frank's Weblog.

理解Systemd Timer:一次`D-Bus connection terminated`错误排查

2026-02-13 07:55:00

我们的服务是一个SaaS服务,每当客户创建一个实例时,我们会使用terraform在云环境中创建一个EC2实例以及相关的基础设施。这个EC2使用一个预先构建的AMI创建,这个AMI当中已经安装了我们所维护的软件,这个软件在本文中将使用代号sinatra指代。在EC2被创建后,会自动运行一个脚本setup.sh来配置sinatra,期间会使用systemctl重启sinatra几次。

我们发现一位客户在创建实例时有一定几率会失败,错误信息如下(一些无关信息已经被省略):

...Warning! D-Bus connection Terminated. Failed to wait for response: Connection reset by peer...

The post 理解Systemd Timer:一次`D-Bus connection terminated`错误排查 appeared first on Frank's Weblog.

Learning Languages Effectively with Anki

2026-01-27 10:59:00

As mentioned earlier, I started learning French from scratch and achieved CLB/NCLC 7 (equivalent to CEFR B2-C1) in 10 months. This is a very difficult task to accomplish, and I believe Anki played a crucial role in this process.

Throughout the entire learning process, I did not attend any traditional courses. At the beginning, I followed the A1 and A2 online courses from NLF Academy | Real French Classes - YouTube, using the Edito textbook. I spent two months completing A1. Later, because of the time pressure, after halfway through A2, I abandoned the courses and switched to self-study and exam preparation. During this process, I intensively used Anki to learn grammar, vocabulary, expressions, and other language knowledge, with the maximum number of cards reviewed per day reaching over 500. Although the process was very painful, the results were very significant.

This post will describe how I used Anki for learning language for exam and hobby.

The post Learning Languages Effectively with Anki appeared first on Frank's Weblog.

使用Anki高效学习语言

2026-01-27 10:57:00

前文提到,我为了加拿大移民在从零开始学习法语,并且在10个月内考出了CLB/NCLC 7(相当于于欧标B2-C1)的成绩。这是一个非常难以完成的任务,我认为在这个过程中,Anki功不可没。

我在整个学习过程中没有上过传统意义上的课程。在入门阶段入门的课程我使用了NLF Academy | Real French Classes - YouTube的A1和A2网课,使用的是Edito教材。我用了两个月时间学完了A1。之后又因为急于赶进度,在A2学到一半之后即放弃了跟随课程,转而自学及备考。在这个过程中,我高强度使用Anki学习语法,单词,语句,等语言知识点,最多的时候每天复习的卡片数量达到了500+之多。虽然过程非常痛苦,但是效果也非常显著。

本文将讲述我如何使用Anki以应试和兴趣目的学习语言的过程。

The post 使用Anki高效学习语言 appeared first on Frank's Weblog.

Say Goodbye to H1B Anxiety – A Complete Guide for Immigration to Canada via Express Entry

2025-12-29 12:59:00

In late 2023, I began considering Canada’s Express Entry after failing the H1B lottery three times. After a challenging two-year journey, I finally became a Canadian Permanent Resident in 2025. This article details the entire process of applying for and receiving Canadian PR from abroad through the French language category.

This article serves only as a sharing of personal experience and does not constitute legal advice. My application took place in mid-2025, and the information may become inaccurate over time. If you have questions regarding your application, please refer to the official websites of relevant departments or hire a Regulated Canadian Immigration Consultant (RCIC) for consultation.

Express Entry (EE) is the most mainstream, convenient, and efficient pathway for skilled immigration to Canada. The way it works is to score applicants via the Comprehensive Ranking System (CRS). The main metrics include age, education, language, and work experience. Typically, every two weeks, Immigration, Refugees and Citizenship Canada (IRCC) conducts draws. A cutoff score is determined based on the score of candidates in the pool and the number of profiles they intend to invite. Applicants meeting this score receive an Invitation to Apply (ITA) and submit their application. Most EE applications receive a decision within 6 months.

The post Say Goodbye to H1B Anxiety – A Complete Guide for Immigration to Canada via Express Entry appeared first on Frank's Weblog.