Skip to content

Commit f69d56d

Browse files
committed
*
1 parent 34035f5 commit f69d56d

13 files changed

+123
-139
lines changed

_config.yml

Lines changed: 37 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -3,131 +3,100 @@ title: Hux Blog
33
SEOTitle: 黄玄的博客 | Hux Blog
44
header-img: img/home-bg.jpg
55
email: huxpro@gmail.com
6-
description: "关于程序与设计、黑客与画家 | 黄玄,Web & Mobile Lover,Software Engineer,UX Designer | 这里是 @Hux黄玄 的个人博客,与你一起发现更大的世界"
7-
keyword: "黄玄, Hux黄玄, Hux, 鬼栈, huxpro, @huxpro, 黄玄的博客, Hux Blog, 博客, 个人网站, 互联网, Web, JavaScript, 前端, 设计"
8-
url: "https://huangxuan.me" # your host, for absolute URL
9-
baseurl: "" # for example, '/blog' if your blog hosted on 'host/blog'
6+
description: "代码是诗也是 rap,别怕程序员有 swag | 这里是 @Hux黄玄 的个人博客,与你一起发现更大的世界"
7+
keyword: "黄玄, Hux黄玄, Hux, 鬼栈, huxpro, @huxpro, 黄玄的博客, Hux Blog, 博客, 个人网站, 互联网, Web, JavaScript, React, React Native, 前端, 设计"
8+
url: "https://huangxuan.me" # your host, for absolute URL
9+
baseurl: "" # for example, '/blog' if your blog hosted on 'host/blog'
1010

1111
# Publish posts or collection documents with a future date.
1212
future: true
1313

1414
# SNS settings
1515
RSS: false
16-
weibo_username: huxpro
17-
zhihu_username: huxpro
18-
github_username: huxpro
19-
twitter_username: huxpro
16+
weibo_username: huxpro
17+
zhihu_username: huxpro
18+
github_username: huxpro
19+
twitter_username: huxpro
2020
#facebook_username: huxpro
2121
#linkedin_username: firstname-lastname-idxxxx
2222

23-
24-
2523
# Build settings
2624
# from 2016, 'pygments' is unsupported on GitHub Pages. Use 'rouge' for highlighting instead.
2725
highlighter: rouge
2826
permalink: pretty
2927
paginate: 10
30-
exclude: ["less","node_modules","Gruntfile.js","package.json","README.md","README.zh.md"]
31-
anchorjs: true # if you want to customize anchor. check out line:181 of `post.html`
28+
exclude:
29+
[
30+
"less",
31+
"node_modules",
32+
"Gruntfile.js",
33+
"package.json",
34+
"README.md",
35+
"README.zh.md",
36+
]
37+
anchorjs: true # if you want to customize anchor. check out line:181 of `post.html`
3238
# If you have timezone issue (e.g. #68) in China, uncomment to use this:
33-
#timezone: CN
34-
35-
39+
#timezone: CN
3640

3741
# Gems
3842
# from PR#40, to support local preview for Jekyll 3.0
3943
# make sure you have this gem installed
4044
# `$ gem install jekyll-paginate`
4145
plugins: [jekyll-paginate]
4246

43-
44-
4547
# Markdown settings
4648
# replace redcarpet to kramdown,
4749
# although redcarpet can auto highlight code, the lack of header-id make the catalog impossible, so I switch to kramdown
4850
# document: http://jekyllrb.com/docs/configuration/#kramdown
4951
markdown: kramdown
5052
kramdown:
51-
input: GFM # use Github Flavored Markdown !important
53+
input: GFM # use Github Flavored Markdown !important
5254
syntax_highlighter_opts:
5355
span:
5456
line_numbers: false
5557
block:
5658
line_numbers: true
5759
start_line: 1
5860

59-
60-
6161
# Disqus settings
6262
disqus_username: hux
6363

6464
# Netease settings
6565
netease_comment: false
6666

67-
68-
6967
# Analytics settings
70-
# Baidu Analytics
68+
# Baidu Analytics
7169
# ba_track_id: [your track id]
7270

7371
# Google Analytics
74-
ga_track_id: 'UA-49627206-1' # Format: UA-xxxxxx-xx
72+
ga_track_id: "UA-49627206-1" # Format: UA-xxxxxx-xx
7573
ga_domain: huangxuan.me
7674

77-
78-
7975
# Sidebar settings
80-
sidebar: true # whether or not using Sidebar.
81-
sidebar-about-description: "黄玄,前端娱乐圈 NPC,编程语言/编译器初心者 <br> An UI/Frontend dev & designer accidentally growing into a compiler/PL hacker."
76+
sidebar: true # whether or not using Sidebar.
77+
sidebar-about-description: "代码是诗也是 rap<br>别怕程序员有 swag"
8278
sidebar-avatar: https://github.com/Huxpro.png # use absolute URL, seeing it's used in both `/` and `/about/`
8379

84-
85-
8680
# Featured Tags
87-
featured-tags: true # whether or not using Feature-Tags
88-
featured-condition-size: 1 # A tag will be featured if the size of it is more than this condition value
89-
90-
81+
featured-tags: true # whether or not using Feature-Tags
82+
featured-condition-size: 1 # A tag will be featured if the size of it is more than this condition value
9183

9284
# Progressive Web Apps
9385
chrome-tab-theme-color: "#000000"
9486
service-worker: true
9587

96-
97-
9888
# MathJax rendering for layout:page (e.g. post preview)
9989
page-mathjax: false
10090

101-
102-
10391
# Friends
104-
friends: [
105-
{
106-
# title: "Su",
107-
# href: "http://su.gallery/"
108-
# },{
109-
title: "乱序(Midare)",
110-
href: "http://mida.re/"
111-
},{
112-
title: "Sherry Woo",
113-
href: "https://sherrywoo.me/"
114-
},{
115-
title: "Kun Qian",
116-
href: "http://kunq.me"
117-
},{
118-
title: "Ebn Zhang",
119-
href: "http://ebnbin.com/"
120-
},{
121-
title: "SmdCn",
122-
href: "http://blog.smdcn.net"
123-
},{
124-
title: "JiyinYiyong",
125-
href: "http://tiye.me/"
126-
},{
127-
title: "DHong Say",
128-
href: "http://dhong.co"
129-
},{
130-
title: "尹峰以为",
131-
href: "http://ingf.github.io/"
132-
}
133-
]
92+
friends:
93+
[
94+
{ title: "乱序(Midare)", href: "http://mida.re/" },
95+
{ title: "Ebn Zhang", href: "https://ebnbin.dev/" },
96+
{ title: "Kun Qian", href: "http://kunq.me" },
97+
{ title: "Sherry Woo", href: "https://sherrywoo.me/" },
98+
{ title: "SmdCn", href: "http://blog.smdcn.net" },
99+
{ title: "JiyinYiyong", href: "http://tiye.me/" },
100+
{ title: "DHong Say", href: "http://dhong.co" },
101+
{ title: "尹峰以为", href: "http://ingf.github.io/" },
102+
]

_includes/about/en.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
1-
Hi, I am _@huxpro_ (Huang, Xuan), an UI/Frontend engineer & designer, accidentally growing into a compiler hacker. My current interests range from programming languages theory and implementation in general (compiler, type system, type-based formal verification, virtual machine, runtime systems, garbage collection) to software engineering in the tech industry (client-side web/mobile app development, server-side backend, user interface and UX, developer infrastructure and DX).
1+
Hey, I am Huang, Xuan (a.k.a. _@huxpro_). I worked on the [React Team](https://beta.reactjs.org/community/meet-the-team#react-core) at <del>Facebook</del>Meta.
22

3-
I'm currently working on the [Hermes JavaScript Engine](https://hermesengine.dev/) at [Facebook](http://facebook.com/). I was also involved in some of the [Facebook Reality Labs](https://tech.fb.com/ar-vr/) and the [ReasonML](https://reasonml.github.io/) (now [ReScript](https://rescript-lang.org/)) efforts. I'm also passionated about [React](https://reactjs.org/) and [React Native](https://reactnative.dev/).
3+
I considered myself as a hybrid between a software engineer specifically into the programming languages theories and implementations domain (i.e. compiler, type system, type-based formal verification, virtual machine, runtime systems, garbage collection), and a creative technologiest deeply caring about many humanistic aspects (e.g. visual, sound, interaction) in UI and HCI in general.
44

5-
In the past, I worked on [Alitrip (Fliggy)](https://www.alitrip.com/) mobile and web apps under the [Alibaba Group](https://en.wikipedia.org/wiki/Alibaba_Group), found and lead front-end infrastructure team at an unicorn startup company [Beijing Weiying (a.k.a. WePiao, now acquired by Maoyan)](https://www.crunchbase.com/organization/beijing-weiying-technology), and helped [Ele.me (now acquired by Alibaba)](https://en.wikipedia.org/wiki/Ele.me) to upgrade their mobile web site into [the first influential PWA (progressive web app) in China](https://medium.com/elemefe/upgrading-ele-me-to-progressive-web-app-2a446832e509).
6-
7-
I studied BA, Digital Media Art at [Communication University of China](https://en.wikipedia.org/wiki/Communication_University_of_China) and MS, Computer Science (with a focus on programming languages) at [Rochester Institute of Technology](https://en.wikipedia.org/wiki/Rochester_Institute_of_Technology).
5+
I also worked on the [Hermes JavaScript Engine](https://hermesengine.dev/), some other projects under the [Reality Labs (Research)](https://tech.fb.com/ar-vr/), and [ReasonML](https://reasonml.github.io/) (now [ReScript](https://rescript-lang.org/)) efforts at Meta (Facebook).
86

9-
##### [My PL Spectrum (WIP 🚧)](https://huangxuan.me/2020/05/05/pl-chart/)
7+
In the past, I worked on [Alitrip (Fliggy)](https://www.alitrip.com/) mobile and web apps under the [Alibaba Group](https://en.wikipedia.org/wiki/Alibaba_Group), found and lead front-end infrastructure team at an unicorn startup company [Beijing Weiying (a.k.a. WePiao, now acquired by Maoyan)](https://www.crunchbase.com/organization/beijing-weiying-technology), and helped [Ele.me (now acquired by Alibaba)](https://en.wikipedia.org/wiki/Ele.me) to upgrade their mobile web site into [the first influential PWA (progressive web app) in China](https://medium.com/elemefe/upgrading-ele-me-to-progressive-web-app-2a446832e509).
108

11-
I made a chart to visualize my experiences and interests on some of the programming languages. I know. I know this is always contraversial. But it's just something quite self-entertaining to do. So bare with me and have fun reading that!
9+
I studied BA, Digital Media Art at [Communication University of China](https://en.wikipedia.org/wiki/Communication_University_of_China) and MS, Computer Science (with a focus on programming languages, mainly supervised by [Prof. Matthew Fluet](https://www.cs.rit.edu/~mtf/)) at [Rochester Institute of Technology](https://en.wikipedia.org/wiki/Rochester_Institute_of_Technology).
1210

1311
##### Appearence
1412

13+
- [React Labs: What We've Been Working On – June 2022][12] · React Blog · 2022
14+
- [React Without Memo][11] · [React Conf 2021](https://conf.reactjs.org/)
15+
- [Toward Hermes being the Default][11] · React Native Blog · 2021
16+
- React Native 0.64 with Hermes for iOS · [The RN Show Podcast Ep #5](https://www.callstack.com/podcast-react-native-show) · 2021
1517
- [Upgrading to Progressive Web Apps][9] · [JSConf China Shanghai 2017](http://2017.jsconf.cn/)
1618
- Building Progressive Web Apps · [CSDI Guangzhou 2017](http://www.csdisummit.com/)
1719
- The State of Progressive Web App · GDG IO Redux Beijing 2017
@@ -31,3 +33,6 @@ I made a chart to visualize my experiences and interests on some of the programm
3133
[7]: https://yanshuo.io/assets/player/?deck=593ad6fbfe88c2006a0a0d6d "The State of PWA"
3234
[8]: https://yanshuo.io/assets/player/?deck=594d673d570c357d0698a950 "Building PWA"
3335
[9]: //huangxuan.me/jsconfcn2017/
36+
[10]: https://reactnative.dev/blog/2021/10/26/toward-hermes-being-the-default
37+
[11]: https://youtu.be/lGEMwh32soc
38+
[12]: https://reactjs.org/blog/2022/06/15/react-labs-what-we-have-been-working-on-june-2022.html

_includes/about/zh.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
1-
Hi,我是黄玄,前端娱乐圈 NPC,编程语言/编译器初心者,[Facebook](https://www.facebook.com/) 签约软件工程师,[广院](https://baike.baidu.com/item/%E4%B8%AD%E5%9B%BD%E4%BC%A0%E5%AA%92%E5%A4%A7%E5%AD%A6)认证数字设计师,曾被招募为阿里巴巴 · [阿里旅行(飞猪)](http://alitrip.com)· 前端工程师、微影时代 · 微票儿 · 前端基础设施工程团队负责人、[饿了么](https://ele.me/) · 大前端团队 · [PWA 顾问](https://medium.com/elemefe/upgrading-ele-me-to-progressive-web-app-2a446832e509)
1+
Hey,我是黄玄(a.k.a. Hux, _@huxpro_),一个略懂计算机科学与艺术的斜杆不动青年,自诩是一个[广院](https://baike.baidu.com/item/%E4%B8%AD%E5%9B%BD%E4%BC%A0%E5%AA%92%E5%A4%A7%E5%AD%A6)数字媒体艺术系与 RIT 计算机科学系(师从 [Prof. Matthew Fluet](https://www.cs.rit.edu/~mtf/) 专攻编程语言)杂交出来的[黑客与画家](https://book.douban.com/subject/6021440/)
22

3-
目前的物理活动范围主要在美帝硅谷,分身日常出没于[博客](https://huangxuan.me)[微博](https://weibo.com/huxpro)[知乎](https://www.zhihu.com/people/huxpro/pins/posts)[Twitter](https://twitter.com/Huxpro/)[Github](https://github.com/huxpro)[Medium](https://medium.com/@Huxpro)
3+
现为 <del>Facebook</del> Meta 签约软件工程师,就职于开源技术<del>网红</del>团队 [React](https://beta.reactjs.org/community/meet-the-team#react-core),曾参与 [Hermes JavaScript 引擎](https://hermesengine.dev/)[ReasonML](https://reasonml.github.io/) (现 [ReScript](https://rescript-lang.org/)),以及 [Reality Labs](https://tech.fb.com/ar-vr/) 某保密项目等。在国内期间,曾被招募为阿里巴巴 · [阿里旅行(飞猪)](http://alitrip.com)· 前端工程师、微影时代 · 微票儿 · 前端基础设施工程团队负责人、[饿了么](https://ele.me/) · 大前端团队 · [PWA 顾问](https://medium.com/elemefe/upgrading-ele-me-to-progressive-web-app-2a446832e509)
44

55

6-
##### [我的编程语言可视化 (WIP 🚧)](https://huangxuan.me/2020/05/05/pl-chart/)
7-
8-
这个图表可视化了我对于各种编程语言的使用经历、兴趣,还附带了一些评语和解释等等。 啊我知道对比编程语言是一件很有争议的事情……自娱自乐一下!不要太较真哦 ;)
9-
6+
目前的物理活动范围主要在美帝纽约与硅谷,也想当个数字游<del>民</del>侠。虚拟分身日常出没于[博客](https://huangxuan.me)[微博](https://weibo.com/huxpro)[知乎](https://www.zhihu.com/people/huxpro/pins/posts)[B站](https://space.bilibili.com/43271611)[Instagram](https://www.instagram.com/huxpro/)[推特](https://twitter.com/Huxpro/)[Github](https://github.com/huxpro) 等。
107

118
##### 演讲与分享
129

10+
- [React Labs: What We've Been Working On – June 2022][12] · React Blog
11+
- [React Without Memo][11] · [React Conf 2021](https://conf.reactjs.org/)
12+
- [Toward Hermes being the Default][11] · React Native Blog · 2021
13+
- React Native 0.64 with Hermes for iOS · [The RN Show Podcast Ep #5](https://www.callstack.com/podcast-react-native-show) · 2021
1314
- [Upgrading to Progressive Web Apps][9] · [JSConf CN 上海 2017](http://2017.jsconf.cn/)
1415
- Building Progressive Web Apps · [CSDI 广州 2017](http://www.csdisummit.com/)
1516
- The State of Progressive Web App · GDG IO Redux 北京 2017
@@ -29,3 +30,6 @@ Hi,我是黄玄,前端娱乐圈 NPC,编程语言/编译器初心者,[Fac
2930
[7]: https://yanshuo.io/assets/player/?deck=593ad6fbfe88c2006a0a0d6d "The State of PWA"
3031
[8]: https://yanshuo.io/assets/player/?deck=594d673d570c357d0698a950 "Building PWA"
3132
[9]: //huangxuan.me/jsconfcn2017/
33+
[10]: https://reactnative.dev/blog/2021/10/26/toward-hermes-being-the-default
34+
[11]: https://youtu.be/lGEMwh32soc
35+
[12]: https://reactjs.org/blog/2022/06/15/react-labs-what-we-have-been-working-on-june-2022.html

_includes/intro-header.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@param {boolean} short
44
{% endcomment %}
55

6-
{% if include.type == 'post' %}
6+
{% if include.type == 'post' or include.type == 'page' %}
77
<style type="text/css">
88
header.intro-header{
99
position: relative;
@@ -20,6 +20,9 @@
2020
}
2121
{% endif %}
2222
</style>
23+
{% endif %}
24+
25+
{% if include.type == 'post' %}
2326
{% if page.header-style == 'text' %}
2427
<header class="intro-header style-text" >
2528
{% else %}
@@ -58,7 +61,7 @@ <h2 class="subheading">{{ page.subtitle }}</h2>
5861
overflow: hidden;
5962
}
6063
header.intro-header .container{
61-
visibility: hidden;
64+
visibility: hidden;
6265
}
6366
header iframe{
6467
width: 100%;
@@ -92,6 +95,7 @@ <h2 class="subheading">{{ page.subtitle }}</h2>
9295

9396
{% if include.type == 'page' %}
9497
<header class="intro-header" style="background-image: url('{{ site.baseurl }}/{% if page.header-img %}{{ page.header-img }}{% else %}{{ site.header-img }}{% endif %}')">
98+
<div class="header-mask"></div>
9599
<div class="container">
96100
<div class="row">
97101
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
@@ -107,4 +111,4 @@ <h1>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</h1
107111
</div>
108112
</div>
109113
</header>
110-
{% endif %}
114+
{% endif %}

_posts/2017-06-25-you-are-slaves.markdown

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,18 @@ date: 2017-06-24 12:00:00
55
author: "Hux"
66
header-style: text
77
catalog: false
8+
published: false
89
tags:
910
- 被夹
1011
---
1112

12-
> 在知乎被删帖,我理解知乎。
13-
> 你说你们做不了什么,我也理解你们。
13+
> 在知乎被删帖,我理解知乎。
14+
> 你说你们做不了什么,我也理解你们。
1415
> <br/>
15-
> 只是,总要有人,还敢说点反对的声音吧?
16-
> 只是,不想让这一切,看起来都变得如此理所应当吧?
16+
> 只是,总要有人,还敢说点反对的声音吧?
17+
> 只是,不想让这一切,看起来都变得如此理所应当吧?
1718
> <br/>
18-
> 你说,你们也抗争了
19+
> 你说,你们也抗争了
1920
> 那就站出来,让我们相信,你们还在吧?
2021
2122
我甚至都不需要写出「刘国梁」这三个顶天立地的大字,你们便知道我今天要说什么了。
@@ -58,10 +59,10 @@ tags:
5859

5960
我是一个程序员,从小就是。在几家公司打过酱油,做过一些小分享。很多人说程序员都是农民,天天干一些重复的事情,加班多,死得早。可是没办法,我就是喜欢,喜欢互联网这个崇尚自由与平等的地方,欣赏那些用互联网让世界变得更加美好的人们。我不是为了谋生而选择了这个职业,我是为了自由与骄傲。
6061

61-
> We will not go quietly into the night!
62-
> We will not vanish without a fight!
63-
> We're going to live on!
64-
> We're going to survive!
65-
> Today, we celebrate our Independence Day!
62+
> We will not go quietly into the night!
63+
> We will not vanish without a fight!
64+
> We're going to live on!
65+
> We're going to survive!
66+
> Today, we celebrate our Independence Day!
6667
6768
**国乒,愿有属于你们的独立日。**

_posts/2021-01-19-the-systematic-failure-of-higher-education-in-china.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ subtitle: "The Systematic Failure of Higher Education in China"
55
date: 2021-01-19 12:00:00
66
author: "Hux"
77
catalog: false
8+
published: false
89
header-style: text
910
tags:
1011
- 被夹
@@ -29,4 +30,3 @@ tags:
2930
只要所处系统里的大部分个体都已经默许了这个游戏规则,无论迟先生是「凡尔赛」还是「理想主义」,改变赛道规则就会被其他个体认为侵害到利益。小孩才分对错,成年人的屁股都是歪得,都是各取所需。
3031

3132
**都是这个时代的缩影。**
32-

about.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
22
layout: page
33
title: "About"
4-
description: "《你是我的梦想》"
5-
header-img: "img/about-bg.jpg"
4+
description: "「可是只有活一次的机会」"
5+
header-img: "img/bg-me-2022.jpg"
6+
header-mask: 0.3
67
multilingual: true
78
---
89

@@ -37,7 +38,7 @@
3738
var disqus_identifier = "{{site.disqus_username}}/{{page.url}}";
3839
var disqus_url = "{{site.url}}{{page.url}}";
3940

40-
(function() {
41+
(function () {
4142
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
4243
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
4344
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);

0 commit comments

Comments
 (0)