Generalized from Karpathy's autoresearch. Same loop, any domain.
An AI agent runs an infinite hill-climbing loop: modify → run → measure → keep or revert → repeat. No human in the loop. Wake up to a TSV of completed experiments.
Generalized from Karpathy's autoresearch. Same loop, any domain.
An AI agent runs an infinite hill-climbing loop: modify → run → measure → keep or revert → repeat. No human in the loop. Wake up to a TSV of completed experiments.
List of projects that are somewhat related to opencode.
| - name: Overprovision like the pros' | |
| hosts: all | |
| tasks: | |
| - name: Install early OOM killer and zram | |
| ansible.builtin.apt: | |
| pkg: | |
| - earlyoom | |
| - zram-tools | |
| - name: Configure early OOM killer | |
| ansible.builtin.lineinfile: |
| const { spawn } = require('child_process'); | |
| const videoUrls = ["YOUR-TIKTOK-VIDEO-THAT-YOU-WANT-TO-DOWNLOAD"]; | |
| async function downloadVideo(videoUrl) { | |
| return new Promise((resolve, reject) => { | |
| const ytDlpProcess = spawn('yt-dlp', [videoUrl]); | |
| ytDlpProcess.stdout.on('data', (data) => { | |
| console.log(`yt-dlp stdout: ${data}`); |
See the new site: https://postgresisenough.dev
Lecture 1: Introduction to Research — [📝Lecture Notebooks] [
Lecture 2: Introduction to Python — [📝Lecture Notebooks] [
Lecture 3: Introduction to NumPy — [📝Lecture Notebooks] [
Lecture 4: Introduction to pandas — [📝Lecture Notebooks] [
Lecture 5: Plotting Data — [📝Lecture Notebooks] [[
Note on sizes: a lot of those might be inaccurate as there might be many microservices required aside from the core release/docker image. I haven't tested these recently so I'm not sure
There are a myriad of benefits of smaller PRs with smaller line change deltas:
One pitfall to small PRs is people feeling like they can't move ahead or build on top of code that is up for review.
This snippet is a sample showing how to implement CloudWatch Logs streaming to ElasticSearch using terraform.
I wrote this gist because I didn't found a clear, end-to-end example on how to achieve this task. In particular,
I understood the resource "aws_lambda_permission" "cloudwatch_allow" part by reading a couple of bug reports plus
this stackoverflow post.
The js file is actually the Lambda function automatically created by AWS when creating this pipeline through the
web console. I only added a endpoint variable handling so it is configurable from terraform.