用Go编写一个解释器 Write an interpreter in go
THIS POST IS WORK-IN-PROGRESS I am using this book “Writing An Interpreter In Go” by Thorsten Ball. You can but this book at https://interpreterbook.com/. In the meantime, I am taking this free co...
THIS POST IS WORK-IN-PROGRESS I am using this book “Writing An Interpreter In Go” by Thorsten Ball. You can but this book at https://interpreterbook.com/. In the meantime, I am taking this free co...
See it live at live demo I built a simple app to demonstrate the execution of 4 algorithms that solved the mutex problem. The mutex problem is to ensure that only one of many concurrently running ...
steps Clone this repo from GitHub Create a post under /_posts/. See “A Post” section below for details Commit then push. expected behavior: The push to GitHub kicks off a sequence Git...
本文是本项目的设计文档,反思见此文。 待办任务 PR#1 缺陷:游戏标题页如果“填入网名”宽度不够换行,会导致旁边的“点击随机生成”按钮下半部分全部是空白。预期是按钮高度跟左边没换行时一样,不要出现文字下面有大量的空白。 增强:远端玩家离线时,现在有两个选项,1 我也不玩了 2 重新匹配,添加一个选项为 3 跟本地电脑接着玩。 重构:GameOver.jsx 中 winne...
What are we building In this tutorial on implementing multiplayer online game in pygame, the presenter Tim developed a two player online game where local player moves a square on the screen with k...
THIS POST IS DEPRECATED, SEE POWERSHELL DOTFILE Execute following lines in PowerShell, then restart it. Install-Module PSReadLine -AllowPrerelease -Force echo "Set-PSReadLineOption -PredictionSou...
I accidentally lost a few folders under D:\tech--BLOG\. Failed attempts I need “Windows File Recovery” tool. Go to https://store.rg-adguard.net/ to retrieve direct download links for this tool...
THIS POST IS OUTDATED, REFER TO THE LATEST VERSION 添加 front matter。 把源 post 复制到/_posts/,重命名为YYYY-MM-DD-${title}.md的格式。 I may leave title as is knowing that chineses characters are preserved i...
domain entities countdown-period duration default duration name counter isRunning shouldLoop counter has one or more countdown-periods usecase resume and pause this event i...
编者按:这是对一个书单分享应用 demo 的反思,项目地址。使用 svelte 开发,持续了一个月。 e-library 项目 routes.js定义了 URL 字面量到 svelte 组件映射以及页面名字到 URL 字面量的映射,前者是给路由库使用的路由定义,后者是在 HTML 中嵌入链接时使用的常量。每个页面都大致对应系统的一个子系统,调试页则聚合了相关的功能。最初分为如下几...