Most MCP servers just wrap CRUD JSON APIs into tools — I did it too with scim-mcp and garmin-mcp-app. It works, until you realize a tool call dumps 50KB+ into context.
MCP isn't dead — but we need to design MCP tools with the context window in mind.
Most MCP servers just wrap CRUD JSON APIs into tools — I did it too with scim-mcp and garmin-mcp-app. It works, until you realize a tool call dumps 50KB+ into context.
MCP isn't dead — but we need to design MCP tools with the context window in mind.
| """ | |
| 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 |
Securely connect to Android over the internet using ADB + Tailscale.
You can also copy paste this gist into your agent of choice and have it explain you what to do.
This guide sets up remote ADB access so you can run android-use — an agent skill that lets AI interact with your Android device over ADB.
| const { exec, spawn } = require("child_process"); | |
| const fs = require("fs"); | |
| const { promisify } = require("util"); | |
| import { WebSocket } from "ws"; | |
| async function getWebSocketDebuggerUrl() { | |
| const res = await fetch("http://localhost:9229/json"); | |
| const data = await res.json(); | |
| return data[0].webSocketDebuggerUrl; | |
| } |
| import java.time.Duration; | |
| import java.util.List; | |
| import java.util.concurrent.locks.ReentrantLock; | |
| import java.util.stream.IntStream; | |
| import java.util.stream.Stream; | |
| /** | |
| * Demonstrate potential for deadlock on a {@link ReentrantLock} when there is both a synchronized and | |
| * non-synchronized path to that lock, which can allow a virtual thread to hold the lock, but | |
| * other pinned waiters to consume all the available workers. |
| <script> | |
| var module = WebAssembly.instantiateStreaming(fetch("linked_list.wasm"), {}); | |
| </script> |
By Steve Carey - Last updated Sept 9, 2023.
Super basic app example: Github electron-app-store-example
To Do List app example (contains native node modules): github.com/steve981cr/electron-todo-example
Introduction
Step 1) Start with your completed Electron Application
Step 2) Create icons of your logo
Step 3) Create Microsoft Developer Account and app