here you goThings I’ve made, read and saved — shared here.

Archive

9,678 entries: 88 from X, 8,928 from Pinboard, saved 1998 to 2026.

Browse by tag, site, author, folder or language

Tags

Sites

Authors

Folders

Languages

Showing 1,651–1,700 of 9,678

2023

Procastination

Why you procrastinate even when it feels bad

(below is the transcript of the above YouTube video with my highlights)

It’s 5 p.m. and you’ve just realized that report you’ve been putting off is due tomorrow. It’s time to buckle down, open your computer... and check your phone. Maybe catch up on your favorite YouTube channel? Actually, you should probably make dinner first. You usually like cooking, though it’s hard to enjoy with this work hanging over your head, and oh— it’s actually pretty late! Maybe you should just try again in the morning? This is the cycle of procrastination, and I promise you, we have all been there. But why do we keep procrastinating even when we know it’s bad for us? To be clear, putting something off isn’t always procrastinating. Responsible time management requires deciding which tasks are important and which ones can wait.

Procrastination is when we avoid a task we said we would do, for no good reason, despite expecting our behavior to bring negative consequences.&

Obviously, it’s irrational to do something you expect to harm you.

But ironically, procrastination is the result of our bodies trying to protect us, specifically by avoiding a task we see as threatening.

When you realize you need to write that report, your brain responds like it would to any incoming threat. Your amygdala, a set of neurons involved in emotional processing and threat identification, releases hormones including adrenaline that kick off a fear response. This stress-induced panic can overpower the impulses from your prefrontal cortex, which typically help you think long term and regulate your emotions. And it’s in the midst of this fight, flight, or freeze response that you decide to handle the threat by avoiding it in favor of some less stressful task.

This response might seem extreme— after all, it’s just a deadline, not a bear attack. But we’re most likely to procrastinate tasks that evoke negative feelings, were more likely to put off tasks they perceived as stressful or challenging. In one experiment, students were given reminders to study throughout the day. While they were studying, most reported that it wasn’t so bad. But when they were procrastinating, Because procrastination is motivated by our negative feelings, and those who struggle with low self-esteem are much more likely to procrastinate, regardless of how good they are at time management.

However, it's a common misconception that all procrastinators are lazy. In the body and brain, laziness is marked by no energy and general apathy. When you’re feeling lazy, you’re more likely to sit around doing nothing than distract yourself with unimportant tasks. In fact, many people procrastinate because they care too much.

Procrastinators often report a high fear of failure, putting things off because they’re afraid their work won’t live up to their high standards.

Whatever the reason for procrastination, the results are often the same. Frequent procrastinators are likely to suffer from anxiety and depression, ongoing feelings of shame, higher stress levels and physical ailments associated with high stress. Worst of all, while procrastination hurts us in the long run, it does temporarily reduce our stress level, reinforcing it as a bodily response for coping with stressful tasks. So, how can we break the cycle of procrastination? Traditionally, people thought procrastinators needed to cultivate discipline and practice strict time management. But today, many researchers feel the exact opposite.

Being too hard on yourself can layer additional bad emotions onto a task, making the threat even more intense.

To short-circuit this stress response, we need to address and reduce these negative emotions. Some simple strategies include

  • breaking a task into smaller elements
  • or journaling about why it's stressing you out and addressing those underlying concerns.
  • try removing nearby distractions that make it easy to impulsively procrastinate.
  • and more than anything, it helps to cultivate an attitude of self-compassion, forgiving yourself, and making a plan to do better next time.

Because a culture that perpetuates this cycle of stress and procrastination hurts all of us in the long term.

notes#productivity

LLM

Introductory Materials

Generative AI exists because of the transformer -- A visual story from Financial Times; Sept 2023.

Large language models, explained with a minimum of math and jargon

A High-level Overview of Large Language Models - Borealis AI

Tiny LLM - LLM Serving in a Week -- uses MLX (on MacOS) to  ... implement an LLM serving project from scratch -- with only matrix manipulations APIs, so that I can understand what it takes to load those LLM model parameters and do the math magic to generate text.

Books

Study Guides

-Mastering LLMs workshop. See Takeaways from Mastering LLMs Course from SwaroopCH.

Blogs and websites

Papers

Videos

An observation on Generalization - YouTube by Ilya Sutskever (OpenAI); Aug 14, 2023.

  • Supervised Learning - precise mathematical condition under which learning should succeed, which is - Low training error + more training data than "degrees of freedom" = low test error

Prompt Engineering

Models

See this page - Models Table – Dr Alan D. Thompson – Life Architect for a visual representation of models, and a table of various attributes of models.

Stuff you can run on your computer

Everything I've learned so far about running local LLMs; Nov 2024.

smol-ai/developer: with 100k context windows on the way, it's now feasible for every dev to have their own smol developer

How is LLaMa.cpp possible? how can we run llama.cpp on local machines when the expectation is that large models need expensive GPUS (eg: A100) to run

Introducing Code Llama, a state-of-the-art large language model for coding Code Llama is a code-specialized version of Llama 2 that was created by further training Llama 2 on its code-specific datasets, sampling more data from that same dataset for longer. Essentially, Code Llama features enhanced coding capabilities, built on top of Llama 2. It can generate code, and natural language about code, from both code and natural language prompts (e.g., “Write me a function that outputs the fibonacci sequence.”) It can also be used for code completion and debugging. It supports many of the most popular languages being used today, including Python, C++, Java, PHP, Typescript (Javascript), C#, and Bash.

Ask HN: Cheapest way to run local LLMs? | Hacker News

See also Perplexity Labs where they have multiple models to try from

 Perplexity labs models  
Perplexity labs models; Apr 2024

LLMs in your language

All languages are NOT created (tokenized) equal

Small Language Models

  • (Eldan and Li 2023)

Building LLMs

Using LLMs

Fine-tuning has one huge advantage though: it is far more effective at guiding a model's behavior than prompting, so you can often get away with a much smaller model. That gets you faster responses and lower inference costs. A fine-tuned Llama 7B model is 50x cheaper than GPT-3.5 on a per-token basis, and for many use cases can produce results that are as good or better! For example, classifying the 2M recipes at https://huggingface.co/datasets/corbt/all-recipes with GPT-4 would cost $23k. Even with GPT-3.5 it would cost over $1k. The model we fine-tuned performs similarly to GPT-4 and costs just $19 to run over the entire dataset. OpenBMB/ToolBench: An open platform for training, serving, and evaluating large language model for tool learning.

Frameworks

LlamaIndex 🦙 0.8.13

Haystack | Haystack Open-source LLM framework to build production-ready applications.

Use the latest LLMs: hosted models by OpenAI or Cohere, open-source LLMs, or other pre-trained models All tooling in one place: preprocessing, pipelines, agents & tools, prompts, evaluation and finetuning Choose your favorite database: Elasticsearch, OpenSearch, Weaviate, Pinecone, Qdrant, Milvus and more Scale to millions of documents: use Haystack's proven retrieval architecture Compare it to LangChainAI

GPT4All A free-to-use, locally running, privacy-aware chatbot. No GPU or internet required.

AI Proxy

an AI proxy that lets you use a variety of providers (OpenAI, Anthropic, LLaMa2, Mistral, and others) behind a single interface w/ caching & API key management.

MLC LLM Machine Learning Compilation for Large Language Models (MLC LLM) is a high-performance universal deployment solution that allows native deployment of any large language models with native APIs with compiler acceleration. The mission of this project is to enable everyone to develop, optimize and deploy AI models natively on everyone’s devices with ML compilation techniques.

Project Overview Project Overview of MLC LLM

Multimodal Learning

todo

Security

OWASP | Top 10 for Large Language Models

Abliteration

Uncensor any LLM with abliteration

Operational Issues

GGUF

GGUF and GGML are file formats used for storing models for inference, especially in the context of language models like GPT

Benchmarking LLMs

LLM Benchmark Report for: NousResearch/Redmond-Puffin-13B

Linkdump

2023

2024

2026

References


See also: Multimodal Learning, Multi Agent Frameworks, AI Agent Framework, generative-ai, smol-llm, transformer-math, LlamaIndex, RAG, local-llm, llm-embedding, AI SaaS, LLM Training, Reward Models, AI Code Assistants, Building LLM Based Systems, LLMs in Data Management

notes#chatgpt#deep-learning#llm

Java

Modern Java - an online book; a 2026 approach to learning Java in bite-sized lessons. Don't have to start in an IDE for one.

Internals

Articles

Interesting libraries

Permazen Permazen is a ground-up rethink of Java persistence. It has been in production use in commercial software since 2015.

 Instead of starting from the storage technology side, it starts from the programming language side, asking the simple question, "What are the issues that are inherent to persistence programming, regardless of programming language or database storage technology, and how can they be addressed at the language level in the simplest, most correct, and most language-natural way?"

notes#java#programming-language

JAX

JAX is a Python library which augments numpy and Python code with function transformations which make it trivial to perform operations common in machine learning programs. Concretely, this makes it simple to write standard Python/numpy code and immediately be able to

Compute the derivative of a function via a successor to autograd Just-in-time compile a function to run efficiently on an accelerator via XLA Automagically vectorize a function, so that e.g. you can process a “batch” of data in parallel. learn more ... "You don't know Jax" (2019)

Jax's website - google/jax: Composable transformations of Python+NumPy programs: differentiate, vectorize, JIT to GPU/TPU, and more

JAX and Equinox: What are they and why should I bother?

notes#deep-learning#python

Git

Learning Git

Why Git is hard Confusing git terminology; Nov 2023 by Julia Evans.

Things I wish everyone knew about Git ) and (Part II) by Mark Dominus ( plover.com )

Inside Git by jvns.

eficode-academy/git-katas, A set of exercises for deliberate Git Practice

Oh My Git, learn git through playing games.

Artisanal Handcrafted Git Repositories | drew's dev blog -- "I’m going to talk about how to handmake your git repositories without using these silly git commands. You might also learn a bit more about how git works under the hood during the process, or whatever."

So You Think You Know Git - FOSDEM 2024 - YouTube by Scott Chacon, now creator of Git Butler

USEFUL CONFIG STUFF

$ git config --global alias.staash 'stash --all'
$ git clean

https://gist.gihub.com/schacon

$ git config --global alias.bb !better-branch.sh

Conditional Configs
[includeif "gitdir:~/projects/work/"]
    path = ~/projects/work/.gitconfig
[includeif "gitdir:~/projects/oss/"]
    path = ~/projects/oss/.gitconfig

OLDIES BUT GOODIES

$ git blame -L
git blame a portion of the file

$ git log -L 15,26:path/to/file
works the same way with git log

$ git blame -w
ignore whitespace

$ git blame -w -C
.. and detect lines or copies in the same commit

$ git blame -w -C -C
.. or the commit that created the file

$ git blame -w -C -C -C
.. or any commit at all

$ git log -S files_watcher -p
the pickaxe

$ git reflog

$ git diff --word-diff

$ git config --global rerere.enabled true
REuse REcorded REsolution

NEW STUFF

$ git branch --column

$ git config --global column.ui auto
$ git config --global branch.sort -committerdate

$ git push --force-with-lease
This one is better than using --force by default

signing commits with ssh
$ git config gpg.format ssh

$ git push --signed
github and gitlab do not support it.

$ git maintenance

gc(disabled),
commit-graph and prefetch (hourly),
loose-objects incremental-repack (daily)
pack-refs (none)

BIG REPO STUFF

Half a million files in working directory

windows rpeo - 300gb, 3.5 million files
linux kernel - 4.5gb in comparison

prefetching
$ git for-each-ref | grep prefe

commit-graph
$ git config --global fetch.writeCommitGraph true

filesystem monitor
$ git config core.untrackedcache true
$ git config core.fsmonitor true

partial cloning
$ git clone --filter=blob:none
$ git clone --filter=tree:0

GITHUB STUFF

auto merge

merge queue

$ git ls-remote

"all mypull requests are actual refs"

$ git config remote.origin.fetch '+refs/pull/*:refs/remotes/origin/pull/*'

$ git fetch


GITBUTLER

virtual branches

Tools

jesseduffield/lazygit: simple terminal UI for git commands

https://gitless.com -- A Git-compatible VCS that does away with the staging area (and stashes), and instead has separate working dirs for every branch (branch = automatically stashed). They have a detailed analysis of Git that explains their design: What's wrong with Git? A conceptual design analysis #pdf

chshersh/zbg: ✨ Zero bullshit git, porcelain for git in ocaml

Git man page generator; funny.

Jujutsu/jj - A Git-compatible DVCS that is both simple and powerful -- It combines features from Git (data model, speed), Mercurial (anonymous branching, simple CLI free from "the index", revsets, powerful history-rewriting), and Pijul/Darcs (first-class conflicts), with features not found in most of them (working-copy-as-a-commit, undo functionality, automatic rebase, safe replication via rsync, Dropbox, or distributed file system). Basic jj Workflows

GitHub - jnsahaj/lumen: Beautiful git diff, Instant AI Git Commit message, Git changes summary from the CLI (no API key required) -- A command-line tool that uses AI to streamline your git workflow - generate commit messages, view diff and explain changes, all without requiring an API key.

Git workflows

Hosted git

Cloudflare Artifacts --

notes#git

GPT

GPT = Generative Pre-trained Transformer

See: AutoGPT

References

notes#deep-learning#gpt#llm

Computer Science Education

The Missing Semester of Your CS Education -- You should do this self taught course from MIT whether if you have a degree in CS or not. This is my top recommendation for learning the craft of programming/development.

Classes teach you all about advanced topics within CS, from operating systems to machine learning, but there’s one critical subject that’s rarely covered, and is instead left to students to figure out on their own: proficiency with their tools. We’ll teach you how to master the command-line, use a powerful text editor, use fancy features of version control systems, and much more!

Open Source Society University - computer-science: Path to a free self-taught education in Computer Science! -- links to various MOOCs for pretty much all the topics covered in a CS undergraduate curriculum.

A Functional Introduction To Computer Science (Part I) and Part II

CS Primer Courses (This is a paid course) -- The TL;DR is:

  • Start wherever looks interesting
  • Focus on solving problems
  • Use as much or as little of the problem walkthroughs and explainer videos as you need to keep making progress and having fun
  • Keep going!

notes#computer-science#learning

Archive.org

Some links from Archive.org

notes#books#website

Deep learning

Books

Papers

Articles

Learning Paths

Courses

Sargur Shrihari at Uni Buffalo

Videos

Blogs

People

References

  • Liquet, Moka, Nazarathy (2024). Mathematical Engineering of Deep Learning.

notes#deep-learning

System Design

Attention Conservation Notice

This specifically refers to software systems. Perhaps even more narrowly to Distributed Systems that involve Data, Web etc., Very unlikely hardware/embedded etc., because I do not deal in those.

Everything I know about good system design by sean goedecke. This article links to a few others he has writte on the topic.

software design is how you assemble lines of code, system design is how you assemble services. The primitives of software design are variables, functions, classes, and so on. The primitives of system design are app servers, databases, caches, queues, event buses, proxies, and so on.


Popular Service Level Indicators (SLIs):

  • Correctness
  • Availability
  • Throughput
  • Response Time ( p50, p99, etc)
  • Functional requirements describe the SLI for correctness.
  • Non-functional requirements describe the SLIs for availability, throughput, response time etc.

Service Level Objective (SLO):

  • A target value (or range) for an SLI. (e.g.: SLI <= target).
  • non-functional requirements for scaling, like - data size, bulky service time, geolocation, and data hotspots, to satisfy SLOs.

Service Level Agreement (SLA) is a contract with users on what the SLOs are, including the consequences of meeting/missing the SLOs. (e.g.: penalty/rebate).


videos on system design

Distributed Systems in One Lesson by Tim Berglund

Google Systems Design Interview With An Ex-Googler

My System Design Template - LeetCode Discuss

ByteByteGo | Ace Your Next System Design Interview

How to crawl a quarter billion webpages in 40 hours – DDI

CS 329S - Machine Learning Systems Design; "an iterative framework for developing real-world machine learning systems that are deployable, reliable, and scalable."

notes#system-design

ML Ops

MLOps Requirements

MLOPs reqs from abacus.ai


visenger/awesome-mlops: A curated list of references for MLOps

MLOps References

Papers

Operationalizing machine learning: An interview study (Shankar et al. 2022)

The process of operationalizing ML, or MLOps, consists of a continual loop of (i) data collection and labeling, (ii) experimentation to improve ML performance, (iii) evaluation throughout a multi-staged deployment process, and (iv) monitoring of performance drops in production. When considered together, these responsibilities seem staggering -- how does anyone do MLOps, what are the unaddressed challenges, and what are the implications for tool builders? We conducted semi-structured ethnographic interviews with 18 MLEs working across many applications, including chatbots, autonomous vehicles, and finance. Our interviews expose three variables that govern success for a production ML deployment: Velocity, Validation, and Versioning. We summarize common practices for successful ML experimentation, deployment, and sustaining production performance.

Unsolved Problems in MLOps - ACM Queue by Niall Murphy and Todd Underwood

Platforms

Frameworks

Chronon  is an open source end-to-end feature platform that allows Machine Learning (ML) teams to easily build, deploy, manage and monitor data pipelines for machine learning. It’s currently used to power all major ML applications within Airbnb, as well as major use cases at Stripe. Airbnb and Stripe jointly manage and maintain the project.

Chronon Schematic
Chronon Schematic
[via ](https://docs.google.com/document/d/10o75QTLfkaHCiiT2BftBld8ImuTojefZ03AYm__L9yw/edit) / [HN](https://news.ycombinator.com/item?id=41709547)

Blog posts

References

notes#machine-learning

Drop whatever you are doing, and watch this superb discussion between @sanjeevsanyal and Arnab Goswami! The…

@RMantri

Drop whatever you are doing, and watch this superb discussion between @sanjeevsanyal and Arnab Goswami!

The Real Story of the Freedom Struggle https://t.co/jbD89vMmzM

Pre-order the book Revolutionaries : The Other Story of How India Won Its Freedom: https://t.co/zTuRu18vSH

@RMantri Rajeev MantriXPermalink96 likes, 23 reposts, 5 replies

Csharp

Why Tracebit is written in C#; Jan 2025. "Tracebit deploys and maintains tailored security canaries, proactively detecting intrusions across your organization.  From cloud infrastructure, to identity and endpoints."


bflat - C# as you know it but with Go-inspired tooling (small, selfcontained, and native executables)

  • Comes with two standard libraries: one (DotNet) that is compatible with .NET and supports everything from console to JSON, and another (Zero) that is stripped to bare minimum and doesn't even have a GC.
  • Run C# with no operating system, on bare metal
  • Build native code or .NET bytecode
  • Based on parts of the .NET 7 SDK
  • Invoke bflat directly from terminal, integrate with a shell script, Makefile, or even MSBuild.

notes#dotnet#programming-language

2022

I end this year with Victor Serge Diaries 1936-47. They were not written for publication, were found by accident in the 1960s, published in French and then rece…

@BrankoMilan

I end this year with Victor Serge Diaries 1936-47. They were not written for publication, were found by accident in the 1960s, published in French and then recently translated into English. Will write more when I finish the book.
https://t.co/tS1CXqQgSk

@BrankoMilan Branko MilanovicXPermalink8 likes

Deno

Deno — A modern runtime for JavaScript and TypeScript. Learn it -- Deno by Example

How Deno works especially the bits about Extensions, web workers, and building your own runtime.

Why Deno

Applications written in Typescript

Libraries

Tooling

Frameworks

notes#deno#javascript#typescript

Webhosting

Show HN: SinglePage – Quickly and anonymously publish a page to the web | Hacker News; see some interesting options to publish single pages on the web -- telegra.ph, carrd.co, Write.as, Neocities, nekoweb, mmm.page — Dead Simple, Drag & Drop Websites. Of these carrd, and mmm* have visual tools, and the rest are simple text publishing tools.

I recommend Neocities if all you want to do is upload HTML files (whether handwritten or produced by an editor).

If you are someone familiar with using git, you also have the option of using github pages, and codeberg pages, of these github will give you CI/CD system in case you want to build a website from source files (eg: markdown -> HTML)

Cloudflare pages also has the CI option, in addition giving lot more features in dealing with DNS, caching, routing etc.. This is what I would recommend to a technical savvy person.

None of the above systems support (afaik), any kind of dynamic server side programming (eg: PHP, Python, Node), nor do they have traditional databases like MySQL support.


pgs.sh -- A zero-install static site hosting service for hackers

notes#webhosting

Podcasts

A note on various podcast episodes I have heard (partially or fully). Starting in Aug 2025, I will try to make an attempt to note what I have heard.

Recommendations to check out

Episodes Recommended by others from the CoRecursive Podcast:

Corecursive episodes by topic: Episodes organized by theme. - CoRecursive Podcast

Podcast Tech

  • Transistor - podcast hosting for creatives, brands, professionals; about $190/yr. Found via Oxide and Friends
  • 2025-08-02I recently got curious about how popular podcasters host thier shows, specifically after listening to Naval Ravikant's short 3-5 minute episodes. I noticed that he hosted the podcast on Libsyn. It does appear to be quite affordable for $5/mo for the "bare essentials".

notes#podcast