框架完成
This commit is contained in:
4
.gitattributes
vendored
Normal file
4
.gitattributes
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jpg filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.JPG filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.svg filter=lfs diff=lfs merge=lfs -text
|
||||||
BIN
DSC_0210.JPG
LFS
Normal file
BIN
DSC_0210.JPG
LFS
Normal file
Binary file not shown.
154
main.typ
154
main.typ
@@ -1,122 +1,72 @@
|
|||||||
#import "@preview/minimal-presentation:0.6.0": *
|
#import "@preview/minimal-presentation:0.6.0": *
|
||||||
|
|
||||||
//#set text(font: "Lato")
|
// 中文使用思源宋体,英文使用 Times New Roman
|
||||||
//#show math.equation: set text(font: "Lato Math")
|
#set text(font: ("Times New Roman", "Source Han Serif SC"))
|
||||||
//#show raw: set text(font: "Fira Code")
|
#show raw: set text(font: "Fira Code")
|
||||||
|
|
||||||
#show: project.with(
|
#show: project.with(
|
||||||
title: "Minimalist presentation template",
|
title: "在科学计算中使用Nix",
|
||||||
sub-title: "This is where your presentation begins",
|
sub-title: "非CS专业人士的使用经验与困难",
|
||||||
author: "Flavio Barisi",
|
author: "陈浩南",
|
||||||
date: "10/08/2023",
|
date: "2025-08-09",
|
||||||
index-title: "Contents",
|
index-title: "目录",
|
||||||
// logo: image("./logo.svg"),
|
logo: image("./nix-snowflake-colours.svg"),
|
||||||
// logo-light: image("./logo_light.svg"),
|
logo-light: image("./nix-snowflake-white.svg"),
|
||||||
// cover: image("./image_1.jpg"),
|
cover: image("./DSC_0210.JPG"),
|
||||||
main-color: rgb("#5ec7a7"),
|
main-color: rgb("#3e5c98"),
|
||||||
lang: "it",
|
lang: "zh",
|
||||||
)
|
)
|
||||||
|
|
||||||
= This is a section
|
= 背景介绍
|
||||||
|
|
||||||
== This is a slide title
|
== 个人Linux使用经验
|
||||||
|
|
||||||
#lorem(10)
|
- 桌面:2018年起主力使用Linux,Deepin #sym.arrow Arch #sym.arrow Gentoo #sym.arrow NixOS (2023-05-28)
|
||||||
|
- 服务器(VPS):差不多时间,OpenWRT #sym.arrow Ubuntu #sym.arrow Arch #sym.arrow Gentoo #sym.arrow NixOS
|
||||||
|
- 科学计算(HPC):2020年硕士入组开始接触,Gentoo + Ubuntu #sym.arrow NixOS (2023-09)
|
||||||
|
|
||||||
- #lorem(10)
|
== 科学计算现状
|
||||||
- #lorem(10)
|
|
||||||
- #lorem(10)
|
#columns-content(colwidths: (1fr, 1.8fr))[
|
||||||
// - #lorem(10) @harry @electronic.
|
#figure(
|
||||||
|
image("meme.jpg", width: 100%)
|
||||||
|
)
|
||||||
|
- *复古*的包管理:手动修改Makefile指定编译器/参数/库路径。
|
||||||
|
- *随意*的编程:无视标准、能用就行,C/C++不分,Fortran/MPI只有特定编译器能编译。
|
||||||
|
- *闭源*的编译器:Intel OneAPI / NVIDIA HPC SDK。
|
||||||
|
- *混乱*的用户权限:超算共用账户,小组随意`sudo make install`。
|
||||||
|
]
|
||||||
|
|
||||||
|
== 我们需要更多的可复现!
|
||||||
|
|
||||||
|
|
||||||
== One column image
|
#figure(
|
||||||
|
image("更多的.png", width: 120%)
|
||||||
|
)
|
||||||
|
|
||||||
// #figure(
|
= 切换到Nix/NixOS后解决的问题
|
||||||
// image("image_1.jpg", height: 10.5cm),
|
|
||||||
// caption: [An image],
|
|
||||||
// ) <image_label>
|
|
||||||
|
|
||||||
== Two columns image
|
== 切换到Nix/NixOS后解决的问题
|
||||||
|
|
||||||
// #columns-content()[
|
- 方便打补丁、魔改软件,无需研究具体软件的编译流程:
|
||||||
// #figure(
|
```
|
||||||
// image("image_1.jpg", width: 100%),
|
xxx = prev.xxx.overrideAttrs (prev: patches = prev.patches or [] ++ [ ./my.patch ])
|
||||||
// caption: [An image],
|
```
|
||||||
// ) <image_label_1>
|
- 编译/运行环境可复现:
|
||||||
// ][
|
- “你遇到的问题,网上肯定也有人遇到过。Gentoo除外。”
|
||||||
// #figure(
|
- 再也不会忘记自己去年配置的服务是怎么配置的了。
|
||||||
// image("image_1.jpg", width: 100%),
|
- 跨服务/跨机器共享配置
|
||||||
// caption: [An image],
|
|
||||||
// ) <image_label_2>
|
|
||||||
// ]
|
|
||||||
|
|
||||||
== Two columns
|
// TODO:举个例子
|
||||||
|
|
||||||
// #columns-content()[
|
// TODO: highlight code
|
||||||
// - #lorem(10)
|
|
||||||
// - #lorem(10)
|
|
||||||
// - #lorem(10)
|
|
||||||
// ][
|
|
||||||
// #figure(
|
|
||||||
// image("image_1.jpg", width: 100%),
|
|
||||||
// caption: [An image],
|
|
||||||
// ) <image_label_3>
|
|
||||||
// ]
|
|
||||||
|
|
||||||
= This is a section
|
|
||||||
|
|
||||||
== This is a slide title
|
= 尚待解决的问题
|
||||||
|
|
||||||
#lorem(10)
|
== 尚待解决的问题
|
||||||
|
|
||||||
= This is a section
|
- 闭源编译器和 stdenv
|
||||||
|
- 无root权限安装nix
|
||||||
== This is a slide title
|
- FHSStdenv?
|
||||||
|
- impermanence /home-manager 与共享文件系统
|
||||||
#lorem(10)
|
|
||||||
|
|
||||||
= This is a section
|
|
||||||
|
|
||||||
== This is a slide title
|
|
||||||
|
|
||||||
#lorem(10)
|
|
||||||
|
|
||||||
= This is a very v v v v v v v v v v v v v v v v v v v v long section
|
|
||||||
|
|
||||||
== This is a very v v v v v v v v v v v v v v v v v v v v long slide title
|
|
||||||
|
|
||||||
= Subtitle test
|
|
||||||
|
|
||||||
== Slide title
|
|
||||||
|
|
||||||
#lorem(50)
|
|
||||||
|
|
||||||
=== Slide subtitle 1
|
|
||||||
|
|
||||||
#lorem(50)
|
|
||||||
|
|
||||||
=== Slide subtitle 2
|
|
||||||
|
|
||||||
#lorem(50)
|
|
||||||
|
|
||||||
== Slide title 2
|
|
||||||
|
|
||||||
#lorem(50)
|
|
||||||
|
|
||||||
=== Slide subtitle 3
|
|
||||||
|
|
||||||
#lorem(50)
|
|
||||||
|
|
||||||
=== Slide subtitle 4
|
|
||||||
|
|
||||||
#lorem(50)
|
|
||||||
|
|
||||||
#set-main-color(blue)
|
|
||||||
|
|
||||||
= You can change color
|
|
||||||
|
|
||||||
== Slide title
|
|
||||||
|
|
||||||
#lorem(50)
|
|
||||||
|
|
||||||
// #bibliography("bibliography.yaml")
|
|
||||||
|
|||||||
BIN
nix-snowflake-colours.svg
LFS
Normal file
BIN
nix-snowflake-colours.svg
LFS
Normal file
Binary file not shown.
BIN
nix-snowflake-white.svg
LFS
Normal file
BIN
nix-snowflake-white.svg
LFS
Normal file
Binary file not shown.
Reference in New Issue
Block a user