diff options
author | Yuchen Pei <me@ypei.me> | 2021-06-23 23:07:44 +1000 |
---|---|---|
committer | Yuchen Pei <me@ypei.me> | 2021-06-23 23:07:44 +1000 |
commit | 4f5ad1a70089365c5b6949d06386930433e09193 (patch) | |
tree | 0284b527b6de539ff70a7a3e6591568474d3e0dd | |
parent | f1e60d7a09d1c2b77869435e99603f1c8b41fe71 (diff) |
Updated.
-rw-r--r-- | css/default.css | 18 | ||||
-rw-r--r-- | pages/about.md | 12 | ||||
-rw-r--r-- | posts/2019-03-14-great-but-manageable-expectations.org | 2 | ||||
-rw-r--r-- | publish.el | 18 |
4 files changed, 37 insertions, 13 deletions
diff --git a/css/default.css b/css/default.css index 3195780..672d469 100644 --- a/css/default.css +++ b/css/default.css @@ -35,6 +35,17 @@ header { background-color: #f3f3f3; } +div#fsf-banner { + width: 40rem; + margin: auto; +} + +div#fsf-banner center { + margin-top: 2rem; + padding: 1rem; + background-color: #ff000014; +} + div#content { width: 39rem; margin: auto; @@ -46,7 +57,7 @@ footer { width: 40rem; margin: auto; padding-top: .5rem; - border-top-color: black; + border-top-color: grey; border-top-style: solid; } @@ -77,3 +88,8 @@ ul.postlist{ list-style-type: none; padding: 0; } + +footer center { + margin: auto; + line-height: 1.6; +} diff --git a/pages/about.md b/pages/about.md index 9635c27..7bc3b57 100644 --- a/pages/about.md +++ b/pages/about.md @@ -4,13 +4,15 @@ title: Yuchen Pei name: index --- -In my past life I was a mathematician. I did a PhD at the [MASDOC program at Warwick](https://warwick.ac.uk/fac/sci/masdoc), and spent two years in a postdoc position at [CMSA at Harvard](http://cmsa.fas.harvard.edu) and another one and a half years at the [KTH RMSMA group](https://www.math.kth.se/RMSMA/). These days I am a software engineer and steadily forgetting mathematics, not cool, and a problem I am trying to fix. +Hello! I am Yuchen. -I am an advocate of free software and an associate member of [Free Software Foundation](https://fsf.org), and have applied the philosophy of free software to knowledge and research. For example I shared my research in Robinson-Schensted algorithms as a [wiki](https://toywiki.xyz) under a free Creative Commons license. I believe anyone can be an academic, seeking truth and sharing their findings with the public. +I am a programmer, mathematician and free software advocate. + +I did a PhD at the [MASDOC program at Warwick](https://warwick.ac.uk/fac/sci/masdoc), and spent two years in a postdoc position at [CMSA at Harvard](http://cmsa.fas.harvard.edu) and another one and a half years at the [KTH RMSMA group](https://www.math.kth.se/RMSMA/). After that I spent two years working as a full stack web developer. + +I am an associate member and licensing volunteer of the [Free Software Foundation](https://fsf.org), and have applied the philosophy of free software to knowledge and research. For example I shared my research in Robinson-Schensted algorithms as a [wiki](https://toywiki.xyz) under a free Creative Commons license. I believe anyone can be an academic, seeking truth and sharing their findings with the public. I can be reached at: hi@ypei.me. Feel free to email me, whether you know me or not. -This website is made using a [handmade static site generator](https://github.com/ycpei/ypei.me/blob/master/engine/engine.py). - -Unless otherwise specified, all contents on this website are licensed under [Creative Commons Attribution-NoDerivatives 4.0 International License](https://creativecommons.org/licenses/by-nd/4.0/). +Unless otherwise specified, all contents on this website are licensed under [Creative Commons Attribution ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/). diff --git a/posts/2019-03-14-great-but-manageable-expectations.org b/posts/2019-03-14-great-but-manageable-expectations.org index 68e757a..119290f 100644 --- a/posts/2019-03-14-great-but-manageable-expectations.org +++ b/posts/2019-03-14-great-but-manageable-expectations.org @@ -26,7 +26,7 @@ privacy guarantees for composed subsampling queries in general, and for DP-SGD in particular. I also compare these privacy guarantees. /If you are confused by any notations, ask me or try -[[file:/notations.html][this]]./ +[[file:../notations.org][this]]./ ** Rényi divergence and differential privacy :PROPERTIES: @@ -1,3 +1,5 @@ +(package-initialize) + (require 'ox-publish) (defvar this-date-format "%Y-%m-%d") @@ -79,9 +81,10 @@ PUB-DIR is when the output will be placed." (org-html-publish-to-html plist filename pub-dir))) (defun my-blog-local-mathjax () - '((path "/js/MathJax.js?config=TeX-AMS-MML_HTMLorMML") - (scale "100") (align "center") (indent "2em") (tagside "right") - (mathml nil))) +; '((path "/js/MathJax.js?config=TeX-AMS-MML_HTMLorMML") + '((path "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS_HTML") + (scale "100") (align "center") (indent "2em") (tagside "right") + (mathml nil))) (setq org-publish-project-alist '(("posts" @@ -101,7 +104,8 @@ PUB-DIR is when the output will be placed." :html-self-link-headlines t :author ("Yuchen Pei") :html-postamble me/html-postamble - :html-mathjax-options ((path "/js/MathJax.js?config=TeX-AMS-MML_HTMLorMML")) + :html-mathjax-options ((path "/js/mathjax/MathJax.js?config=TeX-AMS_CHTML")) + :html-mathjax-template "<script type=\"text/javascript\" src=\"%PATH\"></script>" ) ("microposts" :base-directory "microposts/" @@ -119,7 +123,8 @@ PUB-DIR is when the output will be placed." :html-preamble me/html-preamble :author ("Yuchen Pei") :html-postamble me/html-postamble - :html-mathjax-options ((path "/js/MathJax.js?config=TeX-AMS-MML_HTMLorMML")) + :html-mathjax-options ((path "/js/mathjax/MathJax.js?config=TeX-AMS_CHTML")) + :html-mathjax-template "<script type=\"text/javascript\" src=\"%PATH\"></script>" ) ("pages" :base-directory "pages/" @@ -133,7 +138,8 @@ PUB-DIR is when the output will be placed." :author ("Yuchen Pei") :html-postamble me/html-postamble :html-prefer-user-labels t - :html-mathjax-options ((path "/js/MathJax.js?config=TeX-AMS-MML_HTMLorMML")) + :html-mathjax-options ((path "/js/mathjax/MathJax.js?config=TeX-AMS_CHTML")) + :html-mathjax-template "<script type=\"text/javascript\" src=\"%PATH\"></script>" ) ("css" :base-directory "css/" |