~cnx/site

1f42cc72174d00f1dd2f93925a6931016298568f — Nguyễn Gia Phong 7 months ago b03c056
Update metadata and utilities

Prepare for GSoC 2020 blogs migration
5 files changed, 17 insertions(+), 22 deletions(-)

M blog/index.md
M blog/system.md
M index.md
M utils.jl
M works.md
M blog/index.md => blog/index.md +3 -1
@@ 2,4 2,6 @@

I occasionally blog about functional programming, lambda calculus
and other computational stuff, or anything related to computers in general.
They are tagged as [`fun`](/tag/fun).
These write-ups are tagged as [`fun`](/tag/fun).

As usual, the good old [RSS feed](/feed.xml) is available.

M blog/system.md => blog/system.md +4 -2
@@ 6,8 6,10 @@ date = Date(2020, 4, 15)

# System Cascade Connection

Given two discrete-time systems $A$ and $B$ connected in cascade
to form a new system $C = x \mapsto B(A(x))$.
Given two discrete-time systems $A$ and $B$ connected in cascade to form
a new system $C = x \mapsto B(A(x))$, we examine the following properties:

\toc

## Linearity


M index.md => index.md +0 -1
@@ 1,5 1,4 @@
@def title = "McSinyx"
@def tags = ["whoami", "about"]

# About Me


M utils.jl => utils.jl +7 -8
@@ 7,14 7,13 @@ function hfun_pep(args)
    Meta.parse(args[1]), postfix, args[1], postfix)
end

function hfun_m1fill(vname)
  var = vname[1]
  return pagevar("index", var)
function hfun_github(args)
  return @sprintf("<a href=https://github.com/%s>@%s</a>",
                  args[1], args[1])
end

function lx_baz(com, _)
  # keep this first line
  brace_content = Franklin.content(com.braces[1]) # input string
  # do whatever you want here
  return uppercase(brace_content)
function hfun_pip(args)
  content = length(args) < 2 ? "GH-" * args[1] : args[2]
  return @sprintf("<a href=https://github.com/pypa/pip/pull/%s>%s</a>",
                  args[1], content)
end

M works.md => works.md +3 -10
@@ 1,10 1,3 @@
+++
title = "Free Software Works"
hascode = true
rss = "Listing of McSinyx past and current works"
+++
@def tags = ["software"]

# Free Software Works

\toc


@@ 27,13 20,12 @@ local and direct URL to video/audio and its own JSON playlist format.

### pip

[pip][] is a package installer for Python.  [Summer 2020][],
[pip][] is a package installer for Python.  [Summer 2020](/blog/gsoc2020),
I worked as an intern trying improve its new resolver's networking performance.
The final result was not quite satisfying, but I got to meet some really
nice and talented people (-;

[pip]: https://pip.pypa.io
[Summer 2020]: /gsoc2020

## Libraries



@@ 69,7 61,7 @@ lazily mapped to a ZIP file over HTTP via range requests.

[Brutal Maze][] is a thrilling shoot ‘em up game with minimalist art style.

![Brutal Maze screenshot](/assets/brutalmaze.png)
[![Brutal Maze screenshot](/assets/brutalmaze.png)][brutalmaze-recplayer]

The game features a trigon trapped in an infinite maze.  As our hero tries
to escape, the maze's border turns into aggressive squares trying to stop per.


@@ 78,6 70,7 @@ a way out (if there is any).  Be aware that the more get killed,
the more will show up and our hero will get weaker when wounded.

[Brutal Maze]: https://brutalmaze.rtfd.io
[brutalmaze-recplayer]: https://brutalmaze.rtfd.io/recplayer.html

### Axuy