前段时间写的一个基于 Cloudflare Workers 搭建 Vless 节点访问 ChatGPT 的文章部分内容失效了,节点还是可以正常翻墙,但是由于代码中的 ProxyIP 失效了,所以无法访问 ChatGPT 的网站了,其实是所有托管在 Cloudflare 的网站都访问不了了。这周末更新了一下那篇文章中的代码,算是短暂修复了。

这个问题不是本文要讨论的内容,但是它让我想到我需要对文章内容的时效性加个必要的“免责声明”。

其实文章过期提醒这个 Feature 在很多博客主题中都有,但是我使用的 hexo-theme-yun 已经进入了维护阶段。
所以我需要自己动手实现这个功能。

在这篇博客中,我将会介绍如何在 hexo-theme-yun 主题中添加文章过期提醒功能。

效果如下:

文章过期提醒

A while ago I wrote an article about building a Vless node with Cloudflare Workers to access ChatGPT, and part of its content has gone stale. The node itself can still bypass the firewall fine, but the ProxyIP in the code stopped working, so I could no longer reach ChatGPT — in fact, none of the sites hosted on Cloudflare could be reached. This weekend I updated the code in that article, which is a temporary fix.

That problem isn’t what this article is about, but it made me realize I should add a necessary “disclaimer” about the timeliness of my articles.

Actually, an article expiration notice is a feature that exists in many blog themes, but the hexo-theme-yun I use has entered maintenance mode.
So I had to implement this feature myself.

In this post, I’ll show you how to add an article expiration notice to the hexo-theme-yun theme.

Here’s what it looks like:

Article expiration notice

教程WikiJS

--

WikiJSTools

小学时,离开家一走就是一天
中学时,离开家一走就是一周
高中时,离开家一走就是一个月
大学时,离开家一走就是半年
工作后,离开家一走就是一年

工作快一年了,目前最深刻的体验就是感觉时间过的很快,我时常在某个工作日的早晨做梦,梦里我在思考一个问题,我应该去哪里上学?
一会儿醒来之后,我应该去杨林中学吗?还是呼兰一中?还是…实验室?我现在学校在哪来着?

伴随着意识的逐渐清醒,我意识到我已经工作了,该TM去上班了😥

去年一整年没有回家,今年利用宝贵的拼凑出来的五一假期,带上女朋友,一起回家深度体验农家乐。

In elementary school, leaving home meant being away for a day
In middle school, leaving home meant being away for a week
In high school, leaving home meant being away for a month
In college, leaving home meant being away for half a year
After starting work, leaving home means being away for a year

I’ve been working for almost a year now, and the most profound feeling is how fast time flies. On some weekday mornings I dream that I’m pondering a question: which school should I go to?
After waking up, should I go to Yanglin Middle School? Or Hulan No. 1 High School? Or… the lab? Wait, where’s my school?

As my consciousness gradually clears, I realize I’m already working — damn, time to go to work 😥

I didn’t go home at all last year. This year, using the precious cobbled-together May Day holiday, I took my girlfriend home for an in-depth farm stay experience.

结绳记事

信标帧被接入点(以及IBSS中的站点)用于在服务区域内传达提供给单元成员的连接特性。这些信息由尝试连接到网络的客户端以及已经关联到BSS的客户端使用。

信标周期性地发送,发送时间称为目标信标传输时间(TBTT

1 TU = 1024 微秒
信标间隔 = 100 TU(100x 1024 微秒或 102.4 毫秒)

Beacon frames are used by the access points (and stations in an IBSS) to communicate throughout the serviced area the characteristics of the connection offered to the cell members. This information used by clients trying to connect to the network as well as clients already associated to the BSS.

Beacons are sent periodically at a time called Target Beacon Transmission Time (TBTT)

1 TU = 1024 microseconds
Beacon interval = 100 TU (100x 1024 microseconds or 102.4 milliseconds)

WikiWLAN

前言

一个月前马斯克开源了自家的大语言模型 grok-1 并顺带着嘲讽了一下 OpenAI,想看看 OpenAI 关于 “Open” 的部分。

这波我肯定是站马斯克了,记得第一次听说 OpenAI 名字的时候,还以为这是一个研究 AI 的开源社区,因为它遵循了 OpenCV, OpenGL 这样的命名模式。

后来 GPT-4 需要一个月 20 刀的时候,也算是认清 OpenAI 的真面目了。

自从大语言模型诞生以来,中国民众想使用 AI 服务是真的难。可谓是双向卡脖子,一方面阿美丽卡的公司不对中国开放服务。另一方面国民无法访问自由的互联网。

最近,ChatGPT-3.5 可以免注册使用了(它总算是 Open 了一小部分😂),也就是说对于我们来说又少了一道使用 ChatCPT 的门槛。

这篇博客介绍了一种访问 chat.openai.com 的方法。

Preface

A month ago, Musk open-sourced his own large language model grok-1 and took a jab at OpenAI, curious to see what part of OpenAI is actually “Open”.

I’m definitely on Musk’s side this time. When I first heard the name OpenAI, I thought it was an open-source community for AI research, since it follows the naming pattern of OpenCV, OpenGL, and so on.

Later, when GPT-4 demanded $20 a month, I finally saw OpenAI for what it is.

Since the birth of large language models, it’s been genuinely hard for Chinese people to use AI services. It’s a two-way stranglehold: on one hand, American companies don’t offer services to China; on the other, people can’t access the free internet.

Recently, ChatGPT-3.5 became usable without registration (it finally opened up a tiny bit 😂), which means one less hurdle for us to use ChatGPT.

This post describes a way to access chat.openai.com.

教程WikiCloudflare

此为CWAP官方学习指南的第一章(802.11概述)的总结笔记。

译者注:

CWAP全称为 “Certified Wireless Analysis Professional”,中文意思是"认证的无线分析专家"。这是一个专业的网络证书,对于深入理解802.11网络应用和射频的网络人员来说非常有用。

IEEE 802.11-2007标准仅在OSI模型的物理层和数据链路层的MAC子层定义通信机制。

译者注:

OSI的全称是 “Open Systems Interconnection”,中文意译为"开放系统互联"。这是一种理论上的模型,用于描述系统如何通过网络进行通信。该模型包含七个层次,每个层次都负责执行特定的网络功能。

MAC是“媒体访问控制”(Media Access Control)的缩写。在数据链路层(Data Link Layer)的两个子层中,MAC子层是下层,负责如何在物理媒体上发送和接收数据。完全依赖于具体的物理媒体(如以太网、Wi-Fi),并负责处理物理指标,如错误检测和帧同步等。此外,MAC地址也在这一层定义,以便在同一局域网内区分设备。

Here is the CWAP Official Study Guide Chapter 1 (802.11 Overview) summary notes.

IEEE 802.11-2007 standard define communication mechanism only at Physical layer & MAC sublayer of the Data Link layer of the OSI model.

WikiWLAN