Skip to content

Instantly share code, notes, and snippets.

View minrk's full-sized avatar

Min RK minrk

View GitHub Profile
channels:
- conda-forge
dependencies:
- jupyterlab
- jupyter_server_documents
@minrk
minrk / .gitattributes
Last active August 7, 2026 21:09
jupyter-server-documents test
# SCM syntax highlighting & preventing 3-way merges
pixi.lock merge=binary linguist-language=YAML linguist-generated=true
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/usr/bin/env python3
# (c) 2026 Min RK
# License: BSD-3-Clause
# /// script
# requires-python = ">=3.11"
# dependencies = [
# "click",
# "rich",
# ]
# ///
channels:
- conda-forge
dependencies:
- python=3.12

mamba 2.6 performance test

this is a replication of the repo2docker tests/conda/downgrade test (environment files are unmodified), which is dramatically slower after upgrading mamba to 2.6.

Two stages:

  1. install initial frozen environment (@explicit file, no solve):

apiVersion: batch/v1
kind: Job
metadata:
name: s3-clone
spec:
parallelism: 1
template:
metadata:
labels:
app: cloner
FROM python:3.13-slim
RUN pip install boto3
COPY s3rmrf.py /usr/local/bin/s3rmrf.py
apiVersion: batch/v1
kind: Job
metadata:
name: s3-delete
spec:
parallelism: 1
template:
metadata:
labels:
app: deleter
<html>
<head>
<title>test</title>
</head>
<body>
<div id="out"></div>
<script type="text/javascript">
function onMessage(evt) {
const msg = JSON.parse(evt.data);
console.log(msg);