Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.
…or why one-dimensional two-way cellular automata operating in linear time are likely more powerful than their real-time counterparts.
The evacuation platform creaks in the waves — a long, narrow beam with a line of shipwreck survivors standing shoulder-to-shoulder, all facing the distant lights of the rescue ship.
Each survivor sees everyone ahead, but the chaos behind them is a mystery.
Over the roar of the storm, a rescue helicopter swoops in from behind.
To lift the platform without capsizing it, the hoist rope must be attached to the one survivor standing exactly in the middle.
Attach it anywhere else, and the whole platform will flip like a seesaw.
| #!/usr/bin/env bash | |
| # Enable or disable Intel Turbo-Boost | |
| # Requires msr kernel module to be built and loaded | |
| # Will ask for root privileges when the time comes | |
| # Copied, with love, from: | |
| # https://notepad2.blogspot.com/2014/11/a-script-to-turn-off-intel-cpu-turbo.html | |
| if [[ -z $(which rdmsr) ]]; then | |
| echo "msr-tools is not installed. Run 'sudo apt-get install msr-tools' to install it." >&2 |
| import { loadEnvFile } from 'node:process' | |
| export function loadEnv() { | |
| const nodeEnv = process.env.NODE_ENV || 'development' | |
| // Load in order of precedence | |
| const files = [ | |
| `.env.${nodeEnv}.local`, | |
| nodeEnv === 'test' ? null : `.env.local`, | |
| `.env.${nodeEnv}`, | |
| `.env`, |
| /** | |
| * Retry-status object type, for use with RetryCB. | |
| */ | |
| export type RetryStatus<D = unknown> = { | |
| /** | |
| * Retry index, starting from 0. | |
| */ | |
| readonly index: number, | |
| /** |
Update all outdated dependencies in this Elixir project, handling both safe updates and breaking changes.
Run mix hex.outdated to get a list of all outdated dependencies. Parse the output to identify:
| #### --------------------------------------------- | |
| ## Edit via: RStudio > Tools > Edit Code Snippets | |
| # Released under a MIT license | |
| snippet fragment | |
| [${1:text}]{.${2:type}} | |
| snippet aside | |
| [${1:text}]{.aside} | |