-
12年前,我开发了一个基于唐诗的找字游戏,发布到安卓和苹果的App Store。由于长时间没有更新,已经被下架。最近,我用PWA(Progressive Web App)技术从新开发了唐诗纵横,发布到Azure。网址:https://jolly-desert-07209ba1e.2.azurestaticapps.net/。 PWA app可以安装在手机上。 iPhone手机:打开 Safari 浏览器,访问https://jolly-desert-07209ba1e.2.azurestaticapps.net/,点击底部的分享按钮,在弹出的菜单中选择“添加到主屏幕”。 安卓手机:打开 Chrome 浏览器,访问https://jolly-desert-07209ba1e.2.azurestaticapps.net/,点击浏览器地址栏下方或右上角菜单中会出现“添加到主屏幕”或“安装应用”的提示。 Read more.
-
Introduction DSL (Domain-Specific Language) is becoming increasingly popular. More and more DSLs are developed for solving various domain-specific problems. A well-designed DSL should be easy to use, which requires a well-defined syntax and a good compiler that can report all potential errors in a meaningful way. There are three kinds… Read more.
-
I have become interested in formal methods lately. In particular, I have been learning Alloy recently. I came across a TLA+ model here, written by Leslie Lamport, who invented TLA+. Here is the problem statement copied from the TLA+ code: A farmer has a 40 pound stone and a balance… Read more.
-
Here is a problem to solve: Open windows notepad and start with a blank document. At one step, you can choose to type one of the four below on the keyboard: “A” “CTRL+A” “CTRL+C” “CTRL+V” What is the maximal number of A’s you can have in the notepad after 10… Read more.
-
I was given a puzzle to solve recently. The puzzles is a cryptarithmetic problem: 5’s twelve + thirty = ninety. T W E L V E T W E L V E T W E L V E T W E L V E T W E L V E… Read more.
-
These are the notes I took when reading the slides written by Scott Wlaschin. Read more.