lemonTree博客

INTP|全干工程师 · 记录、折腾与生活

区分“英语学习”中的acquisition和learning

掌握英语的过程包括两个概念,acquisition(习得)和learning(学习),但是在中文语境中,用“英语学习”表达时笼统地包含这两个概念,对于不能区分acquisition和learning概念的学习者来说,这词语具有误导性,“学习”一词倾向于被理解为追求即时成效的过程,而忽略了“习得”所强调的长期、潜移默化的自然过程

我所期待的下一代博客

随着AI成本降低,我们可以使用AI赋能博客,让AI降低内容的阅读成本,以下是我所期待的下一代博客

开头提供AI摘要,让读者阅读前有心理预期,比如

本文主要讲xxx,全文x字,阅读估计x分钟

[JavaScript]英汉语言特性比较

/**
 * 文章描述: 信息熵与语言效率
 */

// 信息熵概念
const informationEntropy = {
    definition: "信息熵是度量信息的一个概念,熵越高,传输的信息越多;熵越低,传输的信息越少。",
    example: "知乎上有一个结论认为中文是最有效率的一种语言。"
};

// 信息熵与语言使用者
const languageEfficiency = {
    chinese: {
        efficiency: "高",
        requirements: "对使用者有较高要求,如果读者理解力不足,容易产生误解。",
        entropy: "高"
    },
    english: {
        efficiency: "低",
        requirements: "对使用者要求较低,信息传递确定性高。",
        entropy: "低"
    }
};

// 计算机通信与人类通信
const communication = {
    computers: "每台计算机完全掌握编码和解码的规则。",
    humans: "每个人对编码和解码的规则掌握不完全,这里的规则包括语法规则、通识和领域知识。"
};

// 信息熵与规则掌握
const entropyVsRules = {
    highEntropy: "信息熵越高,对使用者掌握规则的要求越高,信息量大,不确定性大。",
    lowEntropy: "信息熵越低,对使用者掌握规则的要求越低,信息量小,确定性大。"
};

// 历史角度看汉字
const historicalPerspective = {
    ancientTimes: {
        literacyRate: "低",
        socialStructure: "等级森严,教育不是普惠福利,是统治阶级的工具。",
        complexity: "汉字为繁体字,学习成本高。"
    },
    modernTimes: {
        reforms: "现代汉字经过简化,引入拼音方案改善教学,但历史包袱依然重。",
        impact: "一定程度上阻碍了教育学习。"
    }
};

// 输出信息熵与语言效率
console.log("信息熵概念:");
console.log(informationEntropy.definition);
console.log(informationEntropy.example);

console.log("\n信息熵与语言使用者:");
console.log("中文 - 效率:", languageEfficiency.chinese.efficiency);
console.log("中文 - 要求:", languageEfficiency.chinese.requirements);
console.log("中文 - 信息熵:", languageEfficiency.chinese.entropy);
console.log("英文 - 效率:", languageEfficiency.english.efficiency);
console.log("英文 - 要求:", languageEfficiency.english.requirements);
console.log("英文 - 信息熵:", languageEfficiency.english.entropy);

console.log("\n计算机通信与人类通信:");
console.log("计算机:", communication.computers);
console.log("人类:", communication.humans);

console.log("\n信息熵与规则掌握:");
console.log(entropyVsRules.highEntropy);
console.log(entropyVsRules.lowEntropy);

console.log("\n历史角度看汉字:");
console.log("古代:");
console.log("识字率:", historicalPerspective.ancientTimes.literacyRate);
console.log("社会结构:", historicalPerspective.ancientTimes.socialStructure);
console.log("复杂性:", historicalPerspective.ancientTimes.complexity);
console.log("现代:");
console.log("改革:", historicalPerspective.modernTimes.reforms);
console.log("影响:", historicalPerspective.modernTimes.impact);

[English]英汉语言特性比较

To accurately convey information through language (limited to written expression), Chinese characters have a high information entropy, which requires certain competencies from language users (including readers and writers). Conversely, if the reader does not meet these requirements, they may misinterpret the author’s intended meaning.

Information entropy is a concept that measures information: the higher the entropy, the more information can be transmitted; the lower the entropy, the less information is transmitted. There is a conclusion on Zhihu that Chinese is one of the most efficient languages.

[JavaScript]软路由R2S配置总结

/**
 * 软路由设备配置及网络架构描述
 */

// 设备选择
const devices = [
  {
    model: "友善R2S",
    architecture: "ARMv8 Processor x 4",
    firmwareVersion: "OpenWrt Rockchip",
    memory: "1 GB"
  }
];

// 网络拓扑结构
const originalNetworkTopology = `
光猫——硬路由——终端
`;

const newNetworkTopology = `
光猫——硬路由——终端
       \\_软路由
`;

// 网络配置参数
const hardRouter = {
  lanAddress: "192.168.2.1"
};

const softRouter = {
  lanAddress: "192.168.2.2",
  gateway: "192.168.2.1"
};

// 设备连接
const connectDevices = () => {
  console.log("连接硬路由的LAN口和软路由的LAN口");
  console.log(`硬路由网关地址: ${hardRouter.lanAddress}`);
  console.log(`配置软路由为透明网关,软路由地址: ${softRouter.lanAddress}`);
  console.log(`设置软路由的网关为: ${softRouter.gateway}`);
  console.log("终端设备需手动设置静态IP并指定网关地址为软路由地址");
};

// 流量处理配置
const trafficManagement = () => {
  console.log("配置终端网关,流量将到达软路由");
  console.log("使用OpenClash插件对Clash进行图形化配置");
  console.log("分流策略: 国内直连,国外代理,选择延迟最低策略");
  console.log("某些网站需固定IP,可新增专属策略组来固定代理节点");
};

// 解决游戏问题
const handleGameIssue = () => {
  console.log("手机玩王者荣耀出现开战前连接错误问题");
  console.log("修改运行模式为Fake-IP(TUN)模式");
  console.log("修改网络栈类型为Gvisor");
};

// 一些观点
const opinions = () => {
  console.log("软路由当旁路由使用,优点:");
  console.log("利用软路由和硬路由的优点,非侵入式接入不影响原有网络架构");
  console.log("缺点:系统不稳定,网络层能力弱于硬路由");
  console.log("软路由在应用层表现优秀,适合代理服务等需要高通用计算力的应用");
  console.log("硬路由在网络层表现更好,如NAT、小包转发等");
  console.log("带宽追求不如优化网络延迟,选择低延迟的代理服务更有效");
};

// 执行配置和观点
connectDevices();
trafficManagement();
handleGameIssue();
opinions();