2nd maintenance of my blog
Due to the excessively high Node.js version on my Windows system, I was unable to deploy my Hexo blog. I spent yesterday afternoon doing some maintenance on the blog.
The last maintenance was to deploy the Twikoo comment section, which involved upgrading the NexT theme from version 7 to 8.1.0. It was quite a hassle and took a considerable amount of time.
I can only say that after numerous trials of configuring environments, my efficiency has improved significantly compared to before.
Steps
- Update Hexo from 5.2.0 → 6.3.0
- Update NexT from 8.1.0 → 8.14.1
- Update Twikoo from 1.5.x → 1.6.8
In reality, these three updates did not solve the fundamental issue of being unable to deploy the blog. Countless blog posts online uniformly suggested downgrading Node.js to a version below 12. How could I tolerate such a regression? Eventually, I found the final solution in this link.
@WinterSoHot
It seems caused by hexo-fs. hexo-deployer-git depends on hexo-fs and hexo-fs@2.0.0 is incompatible with Node.js 14.We have already released
hexo-fs@2.0.1
that supports Node.js 14.
Would you please re-installhexo-deployer-git
?I think, after re-install
hexo d
will work well.
Changes
Of course, going through all this trouble did bring some benefits, such as:
- Seemingly resolving the inconsistency between
rendering in Typora and MathJax on the webpage. - Increasing the blog's word count by approximately 5.5%.
And some minor changes:
- The Friends link, TOC, and site statistics have been integrated.
- The pink header area on the blog's homepage has become slightly narrower.
—Though it also came with some losses:
- Clearing the comment records in the already quiet comment section.
Tests
Excerpted from the Interval Estimation (Memorize) section of "(Completed) Probability and Statistics Notes".
Estimate the
Estimate the $(1-\alpha)$ confidence interval for $\mu$.
If
If $\sigma^2$ is known, it is $(\overline{X}-\frac{\sigma}{\sqrt{n}}u_{1-\frac{\alpha}{2}}, \overline{X}+\frac{\sigma}{\sqrt{n}}u_{1-\frac{\alpha}{2}})$
If
If $\sigma^2$ is unknown, it is $(\overline{X}-\frac{S}{\sqrt{n}}t_{1-\frac{\alpha}{2}}(n-1), \overline{X}+\frac{S}{\sqrt{n}}u_{1-\frac{\alpha}{2}}(n-1))$
Estimate the
Estimate the $(1-\alpha)$ confidence interval for $\sigma^2$.
$(\frac{(n-1)s^2}{\chi^2_{1-\frac{\alpha}{2}}(n-1)},\frac{(n-1)s^2}{\chi^2_\frac{\alpha}{2}(n-1)})$
It seems the
\overline{X}
bug has indeed been fixed, and using a single$
for inline formulas no longer causes rendering failures.