High Performance Computing & AI
Practical notes on Python, JupyterHub, Kubernetes and AI for science — from the San Diego Supercomputer Center.
-
How to use Anki flashcards to help kids learn spelling
Now the kid can study the spelling words using the Anki desktop app or the AnkiWeb website or the AnkiDroid Android or IOS app (the IOS app is paid, all other options are free).
-
Generate sample Cosmology data for Cheap and FAIR data portal with PySM
This notebook generates some figures of Galactic and Extra-Galactic emissions using PySM. Mostly for displaying purposes.
-
Export a Confluence page to Markdown
I feel the pain, you have a page trapped in Confluence and you want to set it free. Of course the "Export" features of Confluence are useless.
-
Cosmic Microwave Background data licensing
Some thoughts on how to license and attribute data products from the Simons Observatory. Published data products, like papers and software, should have a license, this is for example required by the FAIR Principles.
-
Ubuntu 22.04 minimal on Jetstream
Update July 2024: Ubuntu 22.04 Minimal image with Generic Kernel Virtual Machine images provided by the Jetstream team are fully fledged and therefore quite large.
-
PEARC24 paper Cheap and FAIR Data Portal
In this blog post, we summarize the key points from our recent paper presented at PEARC 2024, titled "Cheap and FAIR: A Serverless Research Data Repository for the Next Generation Cosmic Microwave Background Experiment."
-
2024-07-29-pysm-point-source-pixell-healpix
Testing the pixell simobjects functionality to create maps of point sources pre-smoothed with a gaussian beam. The purpose is to include this functionality in PySM to be able to generate on the fly maps of source starting from a catalog.
-
Run (part of) healpy in the browser with pyodide
Thanks to the help of @VeerioSDSC and Rick Wagner, I have been able to run part of healpy in the browser. For now only tested reading FITS maps and plotting with projview.
-
Conditional authentication on a single endpoint with FastAPI
Building on my previous tutorial, I have now implemented a toy FastAPI application which requires authentication based on query parameters.
-
Deploy a web server with automatic HTTPS for static website and Django app on Jestream 2
As part of my work to support the Jetstream 2 Openstack deployment at Indiana University, I have developed a tutorial that explains how to create a Virtual Machine that deploys the Caddy web server.
-
Authenticate FastAPI endpoints with a GitHub organization
FastAPI is a framework that simplifies building APIs in Python. Authentication via Google, Github and many more is provided by FastAPI-SSO.
-
Jupyter Notebook frontmatter for Quarto to download source notebook
Quarto is one of the best platforms to create statically generated blogs with Markdown and Jupyter Notebooks. I switched zonca.dev to Quarto back in 2022.
-
2024-05-28-ai-code-assistant-jupyter-nersc
If you are used to Github Copilot on VS Code or on Google Colaboratory as I am, coding without an AI assistant is so slow!
-
Interactive 3D plot of a Planck map with Matplotlib
This is an update of my older tutorial Unfortunately I was not able to make Mayavi properly plot the data, rerunning the same code would give a map that looked like uniform noise.
-
2024-05-20-HEALPix-in-Megapixels
How many megapixels is a HEALPix map? python !pip install healpy