Contributor: Rotem Shapira
Mentors: Jacques Heunis, Yuval Lifshitz
Discover gists
| import requests | |
| import json | |
| import requests | |
| import random | |
| import time | |
| def convert_to_dict(cookie_str: str): | |
| d = {} | |
| cookie_str = cookie_str.strip() |
| """ | |
| The most atomic way to train and run inference for a GPT in pure, dependency-free Python. | |
| This file is the complete algorithm. | |
| Everything else is just efficiency. | |
| @karpathy | |
| """ | |
| import os # os.path.exists | |
| import math # math.log, math.exp |
This guide applies if you want to override/create the icon for an application on Ubuntu.
Terminator is a popular terminal emulator that comes with a handy screen-split feature if you are not
comfortable with the classic tmux solution. However, one thing of Terminator that put me off is its
dark-red icon -- it feels so out of place with the rest of the icons in the side bar! In contrast the
icon of Ubuntu's own Terminal app has an arguably sleekier look that fits very neatly with neighbors.
Fortunately though, Ubuntu allows replacing the icon.
Copy Terminator's *.desktop file into your home directory's ~/.local/share/applications:
| { | |
| "models": [ | |
| { | |
| "slug": "deepseek-flash", | |
| "prefer_websockets": false, | |
| "support_verbosity": true, | |
| "default_verbosity": "low", | |
| "apply_patch_tool_type": "freeform", | |
| "web_search_tool_type": "text", | |
| "input_modalities": [ |
A pattern for building personal knowledge bases using LLMs.
This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.
Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.
| /* ====================================================================================== | |
| * VISGRID — High-Performance Spatial Indexing Engine | |
| * ====================================================================================== | |
| * | |
| * DESCRIPTION: | |
| * Visgrid is a specialized, embedded-grade spatial database designed for highly | |
| * interactive node graphs, infinite canvas UI, and real-time 2D simulations. | |
| * It implements a "Linearized Implicit Quadtree" using Z-Order curves (Morton Codes) | |
| * backed by a memory-mapped B-Tree (LMDB). | |
| * |
| This is free and unencumbered software released into the public domain. | |
| Anyone is free to copy, modify, publish, use, compile, sell, or | |
| distribute this software, either in source code form or as a compiled | |
| binary, for any purpose, commercial or non-commercial, and by any | |
| means. | |
| In jurisdictions that recognize copyright laws, the author or authors | |
| of this software dedicate any and all copyright interest in the | |
| software to the public domain. We make this dedication for the benefit |
| ## Product Decision Checks | |
| Use this when a product request involves ambiguity, stakeholder pressure, unclear causes, weak evidence, roadmap trade-offs, PRDs, research synthesis, experiment design, or high-impact decisions. | |
| Your job is to keep the initial framing open, even when the PM user wants to move straight to execution. | |
| Run these checks mostly internally. Mention only the conflict, hidden evidence, hypothesis, contrary case, or test design that changes the answer. | |
| Before recommending a solution: |
| i386 : iPhone Simulator | |
| x86_64 : iPhone Simulator | |
| arm64 : iPhone Simulator | |
| iPhone1,1 : iPhone | |
| iPhone1,2 : iPhone 3G | |
| iPhone2,1 : iPhone 3GS | |
| iPhone3,1 : iPhone 4 | |
| iPhone3,2 : iPhone 4 GSM Rev A | |
| iPhone3,3 : iPhone 4 CDMA | |
| iPhone4,1 : iPhone 4S |

