Racket Recursive Practices

1 year ago
1 comment

This is actually a lab for my CSCC24 course (Principles of Programming Languages).

Racket is very different from popular programming languages, such as Python, C++.

Its concept is based on something called "functional programming", which I had never touched before.

Scarborough Album

1 year ago
0 comment

I just want to record some beautiful moments in Scarborough.

All photos are not post-edited.

Sunrise on the first snow day of 2021.

DJI_0078.JPG

Solution of Perfect Path Patrol (ICPC NAQ 2020)

1 year ago
0 comment

Problem link: Click here.

Some Comments

Well, it has been almost three years since I retired from the Informatics Olympiad.

Recently I'm planning to attend 2021 ICPC North America Qualifier (NAQ).

Honestly, I really have no idea about how many algorithms and data structures I still remember.

So I decided to practice by doing some problems from NAQ 2020, and this is one of those questions that I think is actually very interesting and clever.

Building Logic Gates by Using Universal Gates

1 year ago
0 comment

There are two universal gates in total: { NAND } and { NOR }.

Since { NAND } is a functional completeness set (as well as { NOR }), you can build any logic gates by using only NAND gate (or NOR gate).

NAND

Hi, December!

1 year ago
4 comments

logo

Introduction

December is a minimalist personal blogging system that natively supports Markdown, LaTeX, and code highlighting.

This project is based on Python(Django), HTML, SQLite and JavaScript(jQuery).

Hello World!

1 year ago
0 comment

Congratulations!

You made it! Welcome to the December blogging system!

This is the first article in the site. You can always delete it and start your writing journey!

Some Useful Tips

Markdown & LaTeX & Code Highlighting

The December system support Markdown & LaTeX & Code Highlighting natively, so you don't need to install extra plugins. This is actually pretty cool.

You can go to the editing page of this article to see its Markdown source code.

Or you can go to this place to learn more about Markdown syntax.

A simple example of LaTeX:

(Of course you are able to use the inline math mode: !)

And for code highlighting, you can do:

print("Hello World!")

Abstract Divider

Use <!--more--> as abstract divider. When displayed on the home page, the content behind the abstract divider is hidden.

TriNitroTofu

_(:з」∠)_

Recent Comments

Rorical

Long time no see. 挺感慨的,转眼间我也要去大学了

TriNitroTofu

Iago

Thank you for the very detailed editorial, that little introduction about the Grundy theorem was p...

TriNitroTofu

啊哈,新年快乐~(迟到的回复,国内都初八了)

asforest

Happy Chinese New Year!(*^▽^*)

Ash

What's the role of Nginx here? Since we can directly connect to the v2ray .
In v2ray client shoul...

TriNitroTofu

QwQ! 听起来不错

Rorical

这几天自己写了个验证码系统MoeCaptcha,直接用来代替hCaptcha了。不过最近升学很忙,可能考完试再完善后台管理,就可以开放给大家用啦

TriNitroTofu

另外不知道为什么最近特别多的来自俄罗斯的垃圾评论,我现在把内容含有俄罗斯网址的评论全 ban 掉了。然后还有个自动破解 hCaptcha 的软件(也是俄罗斯的)天天破解我的 hCaptcha 然后...

TriNitroTofu

之前 git 不小心操作出了点问题,然后 git reset 了一下,可是 github 那头就是有问题(真的是 github 的 bug),于是实在受不了了就直接删库重建啦……