English · العربية · Español · Français · 日本語 · 한국어 · Tiếng Việt · 中文 (简体) · 中文(繁體) · Deutsch · Русский
Knowledge + skill, unrushed.
PocketPolyglot/LinguaLeaf builds pocket-size interlinear readers with ruby, pinyin, grammar coloring, and maximum available language layers.
PDF repository: lachlanchen/LinguaLeaf · Source repository: lachlanchen/PocketPolyglot
![]() |
![]() |
![]() |
|---|---|---|
| How to Speak and Write | Justice with Michael Sandel | Leonard Susskind Book Repo |
How to Speak and Write is now the most prominent published book from this repo.
First-page cover preview. Available as a full-size multilingual edition and as English pocket editions in 1.0x and 1.2x.
- Read the English local edition: how-to-speak-and-write/how-to-speak-and-write.pdf
- Read the Traditional Chinese local edition: how-to-speak-and-write/how-to-speak-and-write-zh.pdf
- Read the Japanese local edition: how-to-speak-and-write/how-to-speak-and-write-jp.pdf
- Read the pocket-size 1.0x edition: how-to-speak-and-write/how-to-speak-and-write-pocket.pdf
- Read the pocket-size 1.2x edition: how-to-speak-and-write/how-to-speak-and-write-pocket-1_2x.pdf
- Read the website edition: learn.lazying.art/how-to-speak-and-write-reader.html
Justice with Michael Sandel is also finished and published from the completed lecture pipeline.
First-page cover preview. Available as a full-size English edition and as English pocket editions in 1.0x and 1.2x.
- Read the English local edition: justice-with-michael-sandel/justice-with-michael-sandel.pdf
- Read the pocket-size 1.0x edition: justice-with-michael-sandel/justice-with-michael-sandel-pocket.pdf
- Read the pocket-size 1.2x edition: justice-with-michael-sandel/justice-with-michael-sandel-pocket-1_2x.pdf
- Read the website edition: learn.lazying.art/justice-with-michael-sandel-reader.html
There is also a separate repository dedicated to the Leonard Susskind lecture-note book collection.
- Browse the repo: lachlanchen/leonardsusskind
- Use that repo for the larger physics catalog, including classical mechanics, advanced quantum mechanics, particle physics, entanglement, and string theory
The book now has a strict split between source and publication:
- canonical editable lecture-note source lives in generated_course_notes/lazylearn/how-you-speak-and-write
- the curated multilingual book source lives in generated_course_notes/lazylearn/how-you-speak-and-write/how-to-speak-and-write
- the root-level publication shelf lives in how-to-speak-and-write
Current behavior:
generated_course_notes/...keeps the editable source, cover assets, chapter structure, and translation source treeshow-to-speak-and-write/keeps only the published PDFs:- English
- Traditional Chinese
- Japanese
Layout note:
| Focus | What this repo does |
|---|---|
| Workflow type | Reproducible physics + chemistry learning workspace |
| Deliverables | Scripts, notebooks, generated figures, and static docs |
| Collaboration model | Root experiments + public site publishing |
| Translation coverage | README mirror files in i18n/ |
This repository is the code + notebook half of LazyLearn: an intentionally slow, practical learning log for knowledge and skill building. The living notes, wins, and TODOs are published at learn.lazying.art (served from docs/ in this repo), while runnable artifacts stay here so experiments always have a reproducible home.
- Home base: learn.lazying.art - the public-facing site with weekly focuses, backlog, and highlights.
- Source of truth: everything the site links to lives in
examples/,comp_physics/,comp_physics_python/,multiwfn/, orfigures/. - Update flow: ship code/notebooks first, regenerate plots if needed, and then add an entry to
docs/so the site reflects the latest work.
This repository is intentionally mixed-format, not a single packaged app. It combines executable scripts, notebooks, references, and a static docs site under one versioned workspace.
- Quantum example scripts (QAOA + VQE) that run on commodity laptops.
- Computational physics notebooks and helper solvers (e.g., Numerov-based workflows).
- Chapter-by-chapter Python ports of textbook computational physics programs.
- Multiwfn source/manual bundle for local quantum chemistry post-processing reference.
- Versioned generated figures for reports/slides (
figures/). - Built-in multilingual README set under
i18n/. - Static microsite in
docs/(custom domain:learn.lazying.art).
| Path | Purpose |
|---|---|
examples/ |
Focused Python scripts (QAOA + VQE) that run with Qiskit or PennyLane. |
comp_physics/ |
Computational physics notebooks, helper scripts like numerov.py, and supporting data/figures. |
comp_physics_python/ |
Python ports of Jos Thijssen's Computational Physics, organized by chapter (see comp_physics_python/README.md). |
multiwfn/ |
Multiwfn 3.8 developer source bundle plus manuals for local reference. |
figures/ |
Static PNG/SVG outputs used in reports/slides and README. |
figs/ |
Logo and banner assets. |
docs/ |
LazyLearn microsite content (served by GitHub Pages or any static host). |
i18n/ |
Localized README files. |
generated_course_notes/ |
Canonical generated lecture-note source trees, chapter TeX, figures, compiled course artifacts, and book-source wrappers. |
how-to-speak-and-write/ |
Publish-only shelf for the featured English, Traditional Chinese, and Japanese PDFs. |
Representative layout:
LazyLearn/
|- README.md
|- docs/
|- i18n/
|- examples/
|- comp_physics/
|- comp_physics_python/
|- multiwfn/
|- figures/
|- figs/
|- Gaussian -> ../Gaussian/ (symlink)
|- ComputationalPhysics -> ../ComputationalPhysics/ (symlink)
|- leonardsusskind -> ../leonardsusskind/ (symlink)
`- the_theoretical_minimum -> ../the_theoretical_minimum/ (symlink)
Important
Several top-level entries are symlinks to directories outside this repository. Editing under those paths affects external targets.
| Requirement | Notes |
|---|---|
| Python 3.x | Required for root scripts and most notebook work. |
pip (or Conda) |
Package/environment management. |
| Jupyter Lab/Notebook (optional) | Needed for notebook workflows. |
| Gaussian 16 + GaussView (optional) | Needed for Gaussian workflows. |
python -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install qiskit pennylane numpy matplotlib| Step | Command | Goal |
|---|---|---|
| 1 | python -m venv .venv |
Create an isolated environment |
| 2 | source .venv/bin/activate (or OS-equivalent) |
Avoid dependency conflicts |
| 3 | pip install --upgrade pip |
Ensure current package tooling |
| 4 | pip install qiskit pennylane numpy matplotlib |
Install the core experimental stack |
| 5 | Run one script in examples/ |
Validate installation end-to-end |
Jupyter notebooks inside comp_physics/ use the same environment. Launch with:
jupyter lab
# or
jupyter notebook# conda activate quantum # common local env name in subproject docs
pip install numpy scipy matplotlib- QAOA with Qiskit
python examples/qaoa_qiskit_maxcut.pyNo Aer dependency; uses a pure statevector backend.
- QAOA with PennyLane
python examples/qaoa_pennylane_maxcut.pyUses default.qubit.
- VQE for H2
python examples/pennylane_chemistry_h2_vqe.pyReproduces figures/pennylane_h2_vqe_convergence.png.
All scripts log intermediate metrics so you can reuse plots or extend to new molecules/graphs.
The comp_physics/ directory mirrors working notes:
comp_physics_textbook_code/- reusable routines extracted from notebooks.- Standalone notebooks such as
chapter1.ipynb,chapter2.ipynb,numerov.ipynb, andnumpy_1ddft.ipynb. - Topic folders (
bosonscattering/,lensless/,lightscattering/, etc.) with data and helpers per experiment.
If extra dependencies are needed, record them in comp_physics/environments.yaml.
comp_physics_python/ is a growing Python translation of the classic Fortran programs from Computational Physics. Example chapter mapping:
ch4/: Hartree-Fock examples.ch8/: molecular dynamics solvers.ch10/: Monte Carlo samplers.
Refer to comp_physics_python/README.md for full chapter coverage and CLI commands.
multiwfn/ keeps Multiwfn_3.8_dev_src_Linux plus the PDF manual and quick-start guide. No compiled binaries are committed.
Generated PNG/SVG assets live in figures/ so outputs are versioned alongside producing scripts/notebooks.
- Root scripts assume the venv shown above.
- Notebook environment details are distributed across project docs; no single lockfile currently exists at repo root.
Gaussian/run_gaussian.sh supports:
Gaussian/run_gaussian.sh [--no-view] [--g16 <path_to_g16>] [--gview <path_to_gview.sh>] <input.com|input.gjf>Behavior:
- Writes
<basename>.lognext to input. - Uses
GAUSS_SCRDIRif set, otherwise defaults to~/gaussian/scr. - Detects
%chk=...in input; if checkpoint exists, GaussView opens.chk, otherwise.log. - If available, prefers
~/gaussian/gv/gview_safe.sh, thengview.sh.
Recommended GaussView wrapper:
#!/usr/bin/env bash
set -euo pipefail
GV_SH="$HOME/gaussian/gv/gview.sh"
export QT_QPA_PLATFORM="${QT_QPA_PLATFORM:-xcb}"
export LIBGL_ALWAYS_SOFTWARE="${LIBGL_ALWAYS_SOFTWARE:-1}"
export __GLX_VENDOR_LIBRARY_NAME="${__GLX_VENDOR_LIBRARY_NAME:-mesa}"
exec "$GV_SH" "$@"Use this as a launchpad for daily work:
| Area | Start here |
|---|---|
| Quantum demos | examples/ |
| Physics notebooks | comp_physics/ |
| Textbook translations | comp_physics_python/ |
| Quantum chemistry tools | multiwfn/ |
| Published outputs | docs/ |
| Figures and illustrations | figures/, figs/ |
- Heavy paths are ignored via
.gitignore, includingbooks/, external symlink targets (Gaussian,ComputationalPhysics,leonardsusskind,the_theoretical_minimum), and local artifacts such as*.chk. - Keep contributions focused on tracked folders for lightweight clone/update workflows.
- For website updates: edit
docs/, preview locally, then push.
Local docs preview:
python -m http.server --directory docsdocs/CNAME is configured for learn.lazying.art.
- Gaussian success criterion:
Normal termination of Gaussiannear the end of the.log. - If GaussView fails under Wayland/remote sessions, use
gview_safe.shand pass--gviewexplicitly. - If Gaussian scratch errors occur, verify free disk and permissions in
GAUSS_SCRDIR. - If notebook dependencies drift, treat subproject READMEs as source-of-truth and capture missing packages in environment files before sharing.
comp_physics/environments.yamlappears to be a placeholder in the current repo state; rely on explicit install commands until it is corrected.
- Continue expanding
comp_physics_python/chapter coverage (transfer matrices, DMC/PIMC, FEM, and beyond). - Harmonize output/plot conventions across scripts and notebooks.
- Add lightweight, repeatable validation checks for key examples.
- Keep
docs/and multilingual READMEs aligned with new experiments.
Issues and pull requests are welcome, especially for:
- Numerical correctness checks and reproducibility improvements.
- Better environment specifications for notebooks/scripts.
- Additional textbook chapter ports and CLI refinements.
- Documentation clarity across languages in
i18n/.
Before submitting major content updates, keep generated figures in figures/ and ensure commands are runnable from repository root unless otherwise documented.
| Donate | PayPal | Stripe |
|---|---|---|
No root LICENSE file is currently present in this repository. Until a license is added, treat usage/redistribution rights as unspecified and request clarification from the maintainer before reusing substantial content.








































































