All posts with label

Header: Image

Simple PDF Book from Multiple Jupyter Notebooks

2025-02-05

If you want to create a simple PDF book using Jupyter notebooks, you probably don't need advanced tools like Quarto and JupyterBook.

Header: Image

Tips for Creating Academic Figures with Matplotlib

2025-01-28

Creating publication-ready figures with Matplotlib requires careful attention. With tips shared in this post, you can produce professional and polished figures suitable for academic publishing.

Header: nn

神经网络框架调研:PyTorch、TensorFlow、JAX

2024-12-22

从安装到数组运算、自动微分、网络搭建等多个方面,分析 PyTorch、TensorFlow、JAX 这三个神经网络框架的特色和优劣。

Header: nvim-fold

Automatically folding Python docstrings in Neovim

2024-06-22

Python docstrings are extremely suitable to be folded, and folding docstrings makes Python code cleaner. This can be achieved in Neovim without plugin, just with built-in foldexpr and tree-sitter.

Header: markdown-custom-render

Three levels of Markdown custom rendering

2024-05-20

There are many way to customize Markdown rendering, including direct RegExp replacements, remark + rehype, and direct rendering the Markdown AST. The last approach can turn plain Markdown documents to full components and is the most powerfull one.

Reverting changes in Overleaf

2023-05-14

Getting documents older than 24 hours back in Overleaf, discarding changes you just made, without upgrading your Overleaf plan.

Header: pi-sgp30

House air quality monitoring with Raspberry Pi and SGP30

2023-05-06

Connect SGP30 to your raspi and send data to InfluxDB and Grafana with Python. And then set up alerting in Grafana.

Header: influxdb-downsample

Downsampling with existing data with InfluxDB

2023-05-03

Setting up continuous query and retention policy for downsampling with existing data in InfluxDB 1.x.

Header: iot-sensors-setup

Building IoT sensor dashboard with Grafana on Raspberry Pi

2023-04-03

We are going to connect the DHT11 sensor to a Raspberry Pi and send the sensor data to InfluxDB, and build a beautiful dashboard with Grafana!

Header: header in light theme

JupyterLab beyond simple widgets: interactive Lorentzian fitting

2023-02-15

JupyterLab can be interactive with IPython widgets. But we can also make the plot interactive and act like a GUI app!

Header: julia-nvim

Working with and formatting Julia in Neovim

2022-11-16

It requires some effort to make Neovim work pleasantly with Julia, especially the formatting part. But it's possible with null-ls and precompiling.

Too many containers may cause random IPv6 loss on Raspi

2022-08-16

Raspi's IPv6 randomly disappears, but other devices are fine? Maybe you have spun up too many Docker containers!

1 2 3 4 5