A Python project may need some dependent packages. There are multiple ways to
allow projects with conflicting package configuration to run. The central idea
is to set up environments that you can switch among each other and pick the one
appropriate for the project.
[more]
Darktable Mask and Feathering
In Darktable, you can set a mask and then set the feathering on the mask. A mask is, indeed, has the same size as the entire image regardless what you drew. It sets an opacity on each pixel. Feathering modifies the opacity.
[more]
Optimal number of trials
Let $p = (p_1, \dots, p_V)^\top$ with $p_i \ge 0$ and $\sum_i p_i=1$ be a categorical probability distribution over a vocabulary of size $V$. We draw $N$ i.i.d. samples from $p$ to form the empirical probability vector $\hat p$, which should be close to $p$. If we draw again, the...
[more]
GPT-OSS Model
GPT-OSS is an open source, open weight model by OpenAI with Apache 2.0 license. It is an autoregressive mixture-of-experts (MoE) model that specialized in reasoning (chain of thought), tool use, and support structured output. Similar to Llama architecture, it uses pre-norm with RMS norm and each expert is a SwiGLU-based...
[more]
RF603N II for Nikon Z5ii
I have a few Yongnuo RF603N II remote flash units. They are old but works. Their primary use is for remote flash over its hotshoe, but they also allows remote shutter release via the same 2.4GHz radio. It comes with a 10-pin Nikon cable that works for older high-end DSLRs...
[more]
