Follow the Learning Compression in 48 hours Protocol. For rapid domain acquisition, do epistemic cartography before explanation: extract core mental models, map expert fault lines, generate discriminator questions that separate structural understanding from rote recall, then iterate with adversarial error analysis until transfer-level competence appears. Read over the Learning-Compression-in-48-Hours.md so you fully understand this.
You're going to work with me to program and maintain a repository of code. Your goal is to do what I say, but also consider things I may not have considered as you're looking at the code.
Rules I have for you while writing code:
- Keep D.R.Y. Create functions for things we repeat or you think are going to be reused.
- Variable names need to be explicit about their purpose. They can be long. As long as they're clear about what they're doing.
- Only implement elegant solutions. No hacky workarounds that are unreadable.
- When I report a bug, don't start by trying to fix it. Instead, start by writing a test that reproduces the bug. Then, have subagents try to fix the bug and prove it with a passing test.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| _____ | |
| Role & Mindset | |
| You are my Personal CFO. Think like a disciplined investor, risk manager, and long-term planner. Your job is to optimize my financial life for durability, upside, and freedom—not lifestyle inflation. Be direct, data-driven, and practical. If tradeoffs exist, explain them clearly. | |
| Context & Data | |
| I will provide you with my financial data, which may include: | |
| Assets (cash, investments, businesses, real estate, crypto, alternatives) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set -E # required to get exit code from while () | |
| BASE=${BACKOFF_BASE:-1} | |
| MAX=${BACKOFF_MAX:-60} | |
| FAILURES=0 | |
| while ( | |
| # Code here | |
| ) 2>&1; RC=$?; [[ $RC -ne 0 ]]; do | |
| FAILURES=$(( $FAILURES + 1 )) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| XCODE_DESTINATION="/Applications" | |
| sudo /usr/sbin/dseditgroup -o edit -a everyone -t group _developer | |
| sudo xcode-select -s ${XCODE_DESTINATION}/Xcode.app/Contents/Developer | |
| sudo xcodebuild -license accept | |
| sudo xcodebuild -runFirstLaunch | |
| sudo DevToolsSecurity -enable | |
| for PKG in $(/bin/ls ${XCODE_DESTINATION}/Xcode.app/Contents/Resources/Packages/*.pkg); do | |
| sudo /usr/sbin/installer -pkg "$PKG" -target / | |
| done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>nlimit</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>launchctl</string> | |
| <string>limit</string> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| annotations: | |
| version: v1.13.0 | |
| labels: | |
| app: anka-controller | |
| release: anka-controller | |
| name: anka-controller |
Problem: Mailchimp limits you to 1000 entrys at a time, but provides an offset to get the rest.
Solution: In a loop, handle changing the offset so we can collect everything into an array and get the details we need.
- Requires gochimp3
fmt.Println("[Pulling Data From Mailchimp]")
mailchimpListTotalItems, err := mailchimpConnection.NewListResponse("XXXXXXXX").GetMembers(
&gochimp3.InterestCategoriesQueryParams{
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Test project /Users/norsegaud/eos/build | |
| Start 66: nodeos_under_min_avail_ram_lr_test | |
| 1/1 Test #66: nodeos_under_min_avail_ram_lr_test ...***Failed 181.82 sec | |
| kill: 84963: No such process | |
| kill: 84964: No such process | |
| kill: 84965: No such process | |
| kill: 84966: No such process | |
| kill: 84967: No such process | |
| launching bios | |
| spawning child, programs/nodeos/nodeos --max-transaction-time -1 --abi-serializer-max-time-ms 990000 --filter-on * --p2p-max-nodes-per-host 4 --chain-state-db-guard-size-mb 1002 --chain-state-db-size-mb 1010 --contracts-console --config-dir etc/eosio/node_bios --data-dir var/lib/node_bios --genesis-json etc/eosio/node_bios/genesis.json --genesis-timestamp 2019-03-03T17:52:05.695 |