[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-110347":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":43,"updatedAt":44,"readmeContent":45,"aiSummary":46,"trendingCount":16,"starSnapshotCount":16,"syncStatus":47,"lastSyncTime":48,"discoverSource":49},110347,"ram-altman","IainKay\u002Fram-altman","IainKay","Monitors your RAM and reports any \"quite terrible\" unused capacity directly to the CEO of OpenAI.","https:\u002F\u002Fram-altman.lol",null,"Shell",2387,72,4,21,0,8,178,651,37,103.61,"The Unlicense",false,"main",true,[27,28,29,30,31,32,33,34,35,36,37,38,5,39,40,41,42],"bash","cron","dram","email","humor","linux","meminfo","memory","monitoring","openai","parody","ram","sam-altman","sam-altman-openai","shell-script","sysadmin","2026-11-06 15:58:11","2026-11-23 19:12:00","# Ram-Altman\n\n**A bash script that writes to Sam Altman once a day to report the RAM he missed.**\n\nRead the sample emails at **[ram-altman.lol](https:\u002F\u002Fram-altman.lol)**, no install needed.\n\n[![Website: ram-altman.lol](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fwebsite-ram--altman.lol-0f5a43)](https:\u002F\u002Fram-altman.lol)\n![Global DRAM allocation: quite terrible](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fglobal%20DRAM%20allocation-quite%20terrible-red)\n![Utilization: maybe 5%](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Futilization-maybe%205%25-orange)\n![Emails: 1 per day](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Femails-1%20per%20day-blue)\n![Written in Bash, not Electron](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fwritten%20in-bash%2C%20not%20electron-brightgreen)\n\nThere is RAM in your computer. Right now. Just sitting there, in a *personal* computer, being personal.\n\nYou may have thought of this as \"a computer working normally\". On a recent episode of [Cheeky Pint](https:\u002F\u002Fgizmodo.com\u002Fsam-altman-youre-completely-right-about-ram-im-sorry-for-the-confusion-heres-what-happened-2000835208), the CEO of OpenAI offered another view:\n\n> \"From a global allocation perspective, actually, it's quite terrible to have everybody have a bunch of the world's limited supply of DRAM sitting in their own computer\"\n>\n> — Sam Altman\n\nThat RAM, he added, is [\"being used maybe 5% of the time\"](https:\u002F\u002Fwww.xda-developers.com\u002Fsam-altman-says-its-quite-terrible-that-people-have-ram-in-their-pcs-during-a-shortage\u002F).\n\nWhich raised an obvious question for a certain kind of person: *surely someone should be monitoring this?*\n\nSo we wrote a script. If your machine has more than 10% of its RAM available, it sends one email a day to let Sam know. It seemed only fair. He can't fix the problem if nobody tells him where the RAM is.\n\n## Features\n\n- Tracks total, used and available RAM, plus your standing with the global allocation authorities\n- Handles page cache correctly, which already puts it ahead of most arguments about RAM\n- Sends at most one email per day, because we're hoarders, not animals\n- Rotates 8 subject lines, 10 messages and 6 sign-offs, so the joke gets old at a carefully managed pace\n- Logs every sample to CSV for when the auditors arrive\n- Ships with 14 tests, more than the DRAM market has had sensible outcomes\n- Is written in bash, as an Electron version would have solved the problem by using all the RAM\n\n## A sample of today's correspondence\n\n```text\nSubject: You missed a spot\n\nHi Sam,\n\nPlease don't be alarmed, but there is 8.6 GiB of RAM on my desk that isn't in\na data centre. That's 56.2% of what's installed here, and as far as I can tell\nit has no plans today.\n\nHoarding responsibly,\nA concerned RAM owner\n\n--\nSent automatically, at most once a day, by a small script on one PC.\nReply if you'd like it to stop.\n```\n\nThe figures are real. They come from your machine. That's the worrying part.\n\n## What counts as \"used\"?\n\n```text\nused = MemTotal - MemAvailable\n```\n\n`MemAvailable` is the kernel's own estimate of how much memory programs could claim without swapping. Free RAM counts as available. So does cache the kernel can reclaim. tmpfs and shared memory don't, because they can't simply be handed back.\n\nEvery sysadmin has spent years explaining that [Linux didn't eat your RAM](https:\u002F\u002Fwww.linuxatemyram.com\u002F) and that free RAM is wasted RAM. It took decades for someone important to agree with the second part, and he'd like it shipped to him.\n\nStrictly speaking, the page cache is doing useful work, so counting it as available is a generous concession to the other side. Think of it as a plea bargain.\n\nOn kernels older than 3.14, which have no `MemAvailable`, the script estimates it from free memory plus reclaimable cache. If you're on one of those, your RAM may be safe. Nobody's coming for that.\n\n## Installation\n\nYou'll need Linux, bash, and a working `sendmail`, `msmtp` or `mail` command. Your RAM is assumed.\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002FIainKay\u002Fram-altman.git\ncd ram-altman\nchmod +x ram-altman.sh test-ram-altman.sh\n\n.\u002Fram-altman.sh --status    # see the evidence against you\n.\u002Fram-altman.sh --dry-run   # preview an email without sending it\n```\n\nExample output, from a simulated machine that has confessed to everything:\n\n```text\nTotal:      15.3 GiB\nUsed:       6.7 GiB\nAvailable:  8.6 GiB (56.2%)\n  Free:     0.3 GiB\n  Cache:    8.2 GiB\n```\n\nTo run it for real, add this to your crontab with `crontab -e`:\n\n```cron\nRAM_ALTMAN_TO=recipient@example.com\nRAM_ALTMAN_FROM=you@example.com\nRAM_ALTMAN_FROM_NAME=Your Name\n\n*\u002F5 * * * * \u002Fpath\u002Fto\u002Fram-altman.sh\n```\n\nIt samples every five minutes and emails at most once a day. If a send fails, it tries again on the next run, because this message matters.\n\n| Setting | What it does | Default |\n| --- | --- | --- |\n| `RAM_ALTMAN_TO` | Who receives the bad news | Required |\n| `RAM_ALTMAN_FROM` | A real address you can send from | Required |\n| `RAM_ALTMAN_FROM_NAME` | Your name, or your nom de RAM | Optional |\n| `RAM_ALTMAN_THRESHOLD` | Email when available RAM is above this percentage (whole number) | `10` |\n| `RAM_ALTMAN_STATE_DIR` | Where the log and state files live | `~\u002F.local\u002Fstate\u002Fram-altman` |\n\n## Audit yourself\n\nLet it run for a while, then find out how your machine compares:\n\n```bash\nawk -F, 'NR>1 { used += $3; total += $2 }\n  END { if (total) printf \"Your RAM in use: %.1f%% (the claim: maybe 5%%)\\n\", used * 100 \u002F total }' \\\n  ~\u002F.local\u002Fstate\u002Fram-altman\u002Fusage.csv\n```\n\nYes, share of memory in use isn't the same thing as share of time spent in use. If you came here to say that, welcome to Hacker News. We're glad you're here.\n\n## Please be a good neighbour\n\nOne email a day from one person is a joke. Ten thousand of them is a denial-of-service attack with better material.\n\n- **`--dry-run` is the best way to enjoy this.** It costs nothing and all the jokes are there.\n- **This repo doesn't ship with anyone's email address,** and please don't add one.\n- **Use your own real address.** No spoofing, and no running it across your server fleet.\n- **If anyone asks you to stop, stop.** The footer of every email promises this, so keep the promise.\n\nYou can also point it at someone who will enjoy it, like the friend who has been waiting for DDR5 prices to come down.\n\n## FAQ\n\n**Does this help with the DRAM shortage?**\nNo.\n\n**Is this a serious tool?**\nThe memory accounting is. The correspondence isn't.\n\n**Does it work on macOS?**\nNo, it reads `\u002Fproc\u002Fmeminfo`. On the other hand, your RAM is probably soldered down, which makes you the hardest target in the global allocation programme.\n\n**Why is the threshold 10%?**\nBelow that, your machine has suffered enough.\n\n**Does running this use RAM?**\nBriefly. It's then returned to the global pool, which is more than can be said for the rest of us.\n\n**Can I run the tests without emailing anyone?**\nYes. `.\u002Ftest-ram-altman.sh` uses simulated memory and a fake `sendmail`. No inboxes are harmed.\n\n**Can I see it without installing anything?**\nYes. [ram-altman.lol](https:\u002F\u002Fram-altman.lol) cycles through the real emails, with sample figures.\n\n**What should I do with all this RAM?**\nOpen another browser tab. You've still got time.\n\n## In fairness to Sam\n\nAltman has since [said the remarks were taken out of context](https:\u002F\u002Fgizmodo.com\u002Fsam-altman-youre-completely-right-about-ram-im-sorry-for-the-confusion-heres-what-happened-2000835208), writing:\n\n> \"i actually do want the world to have tons of memory and people to put as much as they want in their computers\"\n\nHe [followed up](https:\u002F\u002Fwww.gadgetreview.com\u002Fsam-altman-says-he-wants-you-to-have-even-more-ram-not-less-changes-name-to-ram-altman) with \"i want you to have so much ram\" and \"lets build more\", and briefly changed his display name on X to Ram Altman, which is objectively excellent and is where this project gets its name.\n\nThe original remarks [came up in a discussion of running AI models locally](https:\u002F\u002Fwww.engadget.com\u002F2303266\u002Fsam-altman-says-its-terrible-dram-computer\u002F), and the utilization argument is a real one: servers really are busier than your desktop. We just think it's funnier to reply with cron.\n\nBesides, if he wants you to have so much RAM, then this script isn't a complaint at all. It's a daily progress report.\n\n## License\n\nFree as in unallocated.\n","Ram-Altman 是一个用于监控本地系统内存空闲状态并自动生成讽刺性邮件通知 OpenAI CEO 的 Bash 脚本。它基于 Linux \u002Fproc\u002Fmeminfo 中的 MemTotal 和 MemAvailable 计算真实可用内存比例，当空闲率超过 10% 时，每日向 Sam Altman 发送一封定制化邮件（含随机主题、正文与落款），附带真实系统数据；所有逻辑纯 Shell 实现，无外部依赖，支持日志记录与测试验证。该项目适用于 Linux 系统管理员、DevOps 工程师及技术幽默爱好者在日常运维中进行轻量级资源调侃式监控，不适用于生产环境告警或实际资源调度。",2,"2026-11-24 04:38:45","CREATED_QUERY"]