Every week at the end of the (work) week.
10 minutes.
- Determine what are the most important tasks to be done next week
- Determine the next step for each task
- Determine how much work can reasonably be accomplished next week
Every daily at the end of the (work) day.
5 minutes.
- Determine what are the most important tasks to be done tomorrow
- Determine the next step for each task
- Determine how much work can reasonably be accomplished tomorrow
Gitlab SSH post-quantum key exchange
History / Edit / PDF / EPUB / BIB / 1 min read (~159 words)A small PSA for Gitlab users who use SSH to connect to their Git repositories.
If you get the following warning when trying to connect:
** WARNING: connection is not using a post-quantum key exchange algorithm.
** This session may be vulnerable to "store now, decrypt later" attacks.
** The server may need to be upgraded. See https://openssh.com/pq.html
You should upgrade your Gitlab instance to the latest.
If you need to upgrade, you can use Gitlab's upgrade path tool which is very helpful to identify the correct upgrade steps to take.
You may also have to upgrade your operating system.
In my case I was still on Ubuntu 20.04 LTS it did not support post-quantum key exchange.
Note that if you do a release upgrade, you also should update the apt sources to point to the new release (e.g., going from focal to jammy) and upgrade gitlab using the updated source.
My client-side only AI web application workflow
History / Edit / PDF / EPUB / BIB / 4 min read (~786 words)Over the past month I've started building client-side only AI web applications (e.g., ai-text-editor, a private ai-language-assistant to teach myself Chinese Mandarin).
I've gone with this approach because it lends itself very well to vibe coding with vibe-kanban.
I've configured the Dev Server Script option to open the index.html file in my browser and it works immediately, no need to build assets or start a backend server.
This speeds up iteration cycle considerably.
This approach is also great because it produces a tool that can then be used directly in the browser from any device, without needing to install anything.
I can run what I built on my phone, on my work computer, one someone else's computer easily by pointing them out to the project's GitHub Pages URL which serves the application and is "production" ready.
I haven't really picked any frontend libraries or frameworks, just vanilla HTML/CSS/JS.
That is something I need to explore (e.g., react, svelte, solid, tailwind, vue.js, etc.) but for now I want to keep things simple.
For the past few projects I've used Claude Code.
I ask Claude to create the common CLAUDE.md using /init.
Additionally, I ask Claude to maintain a SPEC.md file that describes the features of the application.
In many cases the database relies on the browser's localStorage API and IndexedDB to store data, which is sufficient for my needs.
I ask Claude to maintain a DATABASE_SPEC.md file to describe the database schema.
Claude typically goes for a index.html, app.js, and styles.css file structure.
While it is ok for the first few iterations of the project, I usually ask Claude to refactor the code to split it into multiple files and modules as the codebase grows.
Doing so speeds up some of the iteration process since it doesn't end up reading large irrelevant chunks of the file when making edits.
It also makes it easier to review changes since I use the files modified as an indication of whether it worked on the right part of the codebase.
The main downside of this approach is that generally the app.js file ends up being quite large (e.g., 1000+ lines of code) since it contains all kind of global state and logic.
With this approach I've been able to fairly effectively work on small projects (~40 hours of work) and get something functional out the door that would have taken me weeks and where I'd probably have given up mid-project due to all kind of minor problems.
In index.html I have the following code to load llm.js and my application code:
<script src="https://cdn.jsdelivr.net/gh/tomzxforks/llm.js@main/dist/index.min.js"></script>
<script type="module" src="app.js"></script>
In app.js I have the following code to configure the LLM options:
const applicationId = "my-ai-application";
function getConfigurationValue(key, defaultValue) {
// Try to get configuration from applicationId key
try {
const appConfig = localStorage.getItem(applicationId);
if (appConfig) {
const config = JSON.parse(appConfig);
if (config && config.hasOwnProperty(key)) {
return config[key];
}
}
} catch (error) {
console.warn(`Error parsing ${applicationId} configuration:`, error);
}
// Fall back to llm-defaults key
try {
const defaultConfig = localStorage.getItem('llm-defaults');
if (defaultConfig) {
const config = JSON.parse(defaultConfig);
if (config && config.hasOwnProperty(key)) {
return config[key];
}
}
} catch (error) {
console.warn('Error parsing llm-defaults configuration:', error);
}
// Use provided default
return defaultValue;
}
const llmOptions = {
service: getConfigurationValue("service", "groq"),
model: getConfigurationValue("model", "openai/gpt-oss-120b"),
extended: true,
apiKey: getConfigurationValue("api_key", "LLM_API_KEY_NOT_SET"),
max_tokens: parseInt(getConfigurationValue("max_tokens", "8192")),
};
I set a key in localStorage called llm-defaults that contains a JSON object with default values for the LLM service, model, and API key.
For example:
{
"service": "groq",
"model": "openai/gpt-oss-120b",
"api_key": "sk-xxxxxx",
"max_tokens": "8192"
}
This way I can easily change the LLM configuration for all my client-side AI applications by updating this single localStorage key.
If I need to override the configuration for a specific application, I can set another key in localStorage with the name of the applicationId (e.g., my-ai-application) that contains the specific configuration for that application.
In the event that neither key is set, the code falls back to hardcoded default values.
The LLM.js I use is forked from themaximalist/llm.js.
The main changes I've made was to enable IIFE (Immediately Invoked Function Expression) builds that can be loaded directly in the browser via a <script> tag instead of using modules.
I also disabled minification since jsdelivr automatically minifies the code if you have min in the filename.
I recently moved to Windows 11.
I had created only a local account during creation but at some point I configured OneDrive to use my wife's account.
This resulted in her account being bound as the "primary" account of the computer.
This is not what I wanted.
I looked online for a solution but all the instructions I found didn't have the screen I had.
I initially tried a regedit fix but it didn't work.
Here is how I fixed it:
- Go to Settings > Accounts > Your info.
- This is the "weird part", click on "Sign in with a Microsoft account instead".

- Follow the instructions using a different account.
- The previous account will be "detached" from the computer and you will now be using a local account.
- If you go in Settings > Accounts > Email & accounts, you will see that the previous account is still listed under "Accounts used by other apps" but that you can now remove it (which you couldn't do previously).
Hope this helps!