跳到主要内容

修复Windows 11 N系统下企业微信私有部署版无法打开的问题

· 阅读需 2 分钟

众所周知,Windows 10/11 N 系列是微软应欧盟要求而删除内置媒体组件的系统版本。正好最近需要重装系统,出于猎奇的心态,我安装了 Windows 11 Pro N 系统。

然而,我司使用企业微信私有版,这似乎是在我司本地部署的一种企业微信,安装后竟然无法打开。

这里应该有一张图,稍后上传。

排查了许久,不知道是依赖问题还是什么系统组件问题,一天的徒劳无功后突然想起来 N 系统和普通版系统的最表面的区别就是去掉了媒体组件,而我过去的普通版系统是能够运行企业微信私有版的。

于是打开 Settings -> System -> Optional features -> View features 搜索媒体功能包,结果安装失败。

搜索了 Microsoft Q&A 得到了解决方案如下

Open an admin PowerShell or Command Prompt.

Run: DISM /Online /Add-Capability /CapabilityName:Media.WindowsMediaPlayer~~~~0.0.12.0

Crucially, after this, reboot your computer.

After the reboot, try installing the Media Feature Pack: DISM /Online /Add-Capability /CapabilityName:Media.MediaFeaturePack~~~~0.0.1.0

以管理员权限打开终端(PowerShell和CMD都可以)

首先运行 DISM /Online /Add-Capability /CapabilityName:Media.WindowsMediaPlayer~~~~0.0.12.0

然后重启电脑,再次以管理员权限打开终端

运行 DISM /Online /Add-Capability /CapabilityName:Media.MediaFeaturePack~~~~0.0.1.0

最后再重启一次,问题解决。

以上。

博客恢复更新

· 阅读需 1 分钟

时隔一年多,我重新部署了博客,这个博客使用的技术栈为 TypeScript + React ,然而并没有太多能够自定义的内容,使用的工具为 Docusaurus + Vercel + Git 。如果您希望设立一个类似风格的博客,可以联系我获得帮助。无需代码基础。

恢复博客的更新,主要的原因是本人对最近发生的许多琐事感到非常震惊和遗憾,想用来记录和感悟,避免记忆太短忘却了,也算是一种鞭策和监督。同时,也能发挥它本来作为技术博客的作用。

Hypothesis Testing 通俗假设检验

· 阅读需 2 分钟

一个家族在某天突然迎来了一个外人。这个外人自称是这个家族的。那么,如何验证呢?

假设:外人确实是这个家族的。

备择假设:外人不是这个家族的。

已知这个家族的成员去本家族祠所需的时间呈正态分布,平均所需时间是Z小时。

标准:如果外人去这个家族本家族祠所需的时间 t 与 T 接近,就认同他为族人。

族人说,我们的 Significance Level (显著性水平) 是0.05,也就是 5%。因为是和均值Z作比较,所以从均值向左、向右共95%概率的区间都符合我们的标准。算了一下,这个区间是 [-t_0.025, t_0.025] 。如果 t 在这个区间之外了,就证明你的值太离谱了。我们的正态分布只有5%可能会出现落在这个区间以外的情况。但是你却撞到这个情况了,所以我们觉得你可能不遵守我们的正态分布。

$$\sqrt{a^2 + b^2}$$

所以我们拒绝这个“外人确实是这个家族的”假设。因为只有两个假设,所以我们接受备择假设:外人不是这个家族的。这就是Z检验和T检验的基本原理。

除了通过 [-t_0.025, t_0.025] 区间进行比较,也可以通过正态分布的概率相关函数或直接查表得知落在 [-t_0.025, t_0.025] 之外的概率,用这个概率和 Significance Level (显著性水平) 作比较,也是差不多的。

END

Welcome

· 阅读需 1 分钟
Sébastien Lorber
Docusaurus maintainer
Yangshun Tay
Front End Engineer @ Facebook

Docusaurus blogging features are powered by the blog plugin.

Simply add Markdown files (or folders) to the blog directory.

Regular blog authors can be added to authors.yml.

The blog post date can be extracted from filenames, such as:

  • 2019-05-30-welcome.md
  • 2019-05-30-welcome/index.md

A blog post folder can be convenient to co-locate blog post images:

Docusaurus Plushie

The blog supports tags as well!

And if you don't want a blog: just delete this directory, and use blog: false in your Docusaurus config.

First Blog Post

· 阅读需 1 分钟
Sébastien Lorber
Docusaurus maintainer

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet