Below, some excerpts from the Mike <> Claude Code co-work sessions 🙃. ...Developing the work-in-progress Excel-based framework called cabin (that I'm using to better manage my little PV install company, and do energy + electric-bill modeling). Claude Code is a game changer and I love it.
mikeThere should always be a line break before bak's returning line (that returns a
ram)abeI've added the rule as
steez!ruleR18 (scopebak): always leave a blank line before a bak's returning line, the one that returns theram.mikeyes, add ram to kook 2
abeI've added
ramtokook_02at R34...dukis what goes into a bak,ramis what comes out
mikeChanged from arpPoleEat to canPoleEat (and spit). can means it's the historical / actual can data
See fire bam. Why is canPoleEat so high when trup more than covers plug? monitoring error?abeNo, that's not a monitoring error. It's exactly the surplus: when
trupmore than coversplug, the excess goes out to the grid.mikeoh my mistake
abeNo problem. It's an easy one to flip, since high export is the right answer precisely because PV covers the load.
mikein fire cube, return today's date (volatile)
abe
=TODAY()is in atjob.xlsx!env_01R8C7. Volatile, so it rolls over at midnight. Excel auto-appliedm/d/yyyywhen it saw the date. That's not the cab elm lookmikeYes, apply the cab-standard look now and going forward
abe
nowElmnow reads26-09-14under the elm look. Cube only, not the whole cob — cob 7 is a farm's bean cob with mixed oars.
mikeWhy the white? ALWAYS use the default fill color that's used everywhere in cab books — unless directed otherwise. Indicate this in the guide (include the RGB)
abeFixed — the page is dark again:
rgb(30,30,30)cubes,rgb(208,208,208)font, across the whole page so empty cubes match, gridlines off, freeze still at r6c3.mikeThanks. And per the templates from steez, everything should be left aligned unless directed otherwise. Note in guide.
abeIn the guide, next to the fill rule: everything left aligned (
xlLeft, -4131), whole page, never centred or right-aligned unless you ask.
mikeGoing forward, shorthand for referencing a page: [book].[crew].[page name or slot in crew]
e.g. rok.vert is the vert page in the rok book.
If not book is indicated, assume the fire book.abeIt's also in the cab guide's reference rules, so I'll use it whenever I name a page to you.
mikeThat's deliberate. cob 7 (
normCob) has the defaults. they can optionally be overridden in cob 8 (beanCob).abeI've added the norm / bean cob convention to steez, and the brief is regenerated.
mikeI moved plug and eat staks west.
explain banNetabe
banNetis the battery's AC meter, averaged over the 15 minutes. It's the one real measurement on the page;spit,eatandplugare carved out of it.mikeso it's a helper stak? can it be named banHaq? base / chop / bean don't need it right?
abeRenamed to
banHaq, and the three baks that read it now use that name too.
mikeshould there be an if condition that skips westSun / eastSun if not applicable... or is the extra complexity not worth it?
abeIt's already there, one level up. The
sunlambda does the skip.mikeExcellent. I renamed the bok. Please replace westSoks / eastSoks with this one. Remove eastSok from bok lake
abeDone. All 5
eastSoks are now the newsok, and all 5 were in steez.
mikeI want this bok (canonical bak) in cob 3
abeThe bok now lives at
lake_01R5C3, chippedshotTags, spilling right across the lake's cobs.mikeThanks, to be continued later
abeSounds good. Everything's in the guide for next time.
mikeBack to steez book...
Revise fire cube bok to just return shot cob dan (not stak oar)abeThe bok returns just the shot's cob now — 8 for the
danstak, 0 everywhere else — and every vak is a dan, not text. It no longer reads the oar rab, so rab 5 is left alone.
mikeSee slice_03 cost bean. Revise bap stak to just return pucks if cost bean vak is: < 0
abeWhen the
costbean onslice.threeis< 0, thebapstak now returns only the rows with apuck.
mikewrite fire bak, looking at bob.org page
abeWritten.
zorkR5C8orgRum... Its first cube is 0.
mikeRemember to format shotBak staks according to steez
abeThe five shots I built for zork now match steez's shot.
mikeinstead indicate shot format (
look) in steez rule.
See fire cubes. First cube should return 0 unless shot bak. indicate in ruleabeBoth rules are in steez now, and the fire cubes return 0 in their first cube.
mikeadd tweak to kook
abeI added
tweaktocomb!kook_01at R56, after yoke.mikeexcellent.
> Problems in the map itself are abe: notes in the note stak (25 bams)
should we delete those notes — no longer helpful / relevant?abeNot all of them yet. 13 point at cubes that are still wrong, so they matter until those are fixed.
mikeyes, fix them and delete the notes. if / when possible, notes shouldn't refer directly to rabs / cobs (because those change over time)
abeI fixed the map and deleted all 25 notes.
mikeput better note for lopRat (fire cube)
abeI rewrote the stak note on
vertlopRat. It used to saylopHuq vs huq + lopHuq.
mikefire cube beans... make the baks match the cab convention
abeBean cob: each one is
=RC7, pointing at its norm. A vak there overrides it.
mikespot farm: point, tilt, papSize. update look
abe
point,tiltandpapSizenow use thenumlook on both the norm and bean cubes. Before, they were on the elm look and read as dates, e.g.00-09-15.
mikeadd canChip bak to job.xub.2 lake
abecanChip on job.xub.2 is now a bak. It takes each bam's canDub (same page) and looks it up against job.can's canDub shot, then returns that can's
canChipstak.
mikeview.1 indicates that verts are down.
down doesn't.
why?abeThey answer different questions. view_01 is history... down is now.
mikeI see.
Update mint cat for can 1519.
Then load can 1508 into mink
Add a chore bam to can.chore lake for loading a can into minkabe1519 mint cat: it came out byte-for-byte the same as the 10-16 file (396,487.42 kWh, lop 2,448), so the file on disk didn't change.
mikeThanks, I meant comb.chore.
mikeadd sapDub to down lake (first stak) >> sok. then repaste to job book
abe
sapDubis now down's first stak, read off vert'skey. dunk's reads of down followed the shift on their own.
mikeupdate lake.3 to include all group-2 schools
i've changed lake.2 papDaq oar jakabelake.3 now has all 13 group-2 schools... I saw your papDaq oar change on lake.2 and left it alone.
mikeno, update papDaq stak look accordingly
abeI've switched lake.2's papDaq stak to the
d.look,?,??#;-General;"-".
mikecostBak bak. no, follow convention for bak that isn't formal bok
abeI took "costBak" to mean
costSave.
mikeSorry,
shire>>stampabeDone:
shireis nowstampacross bob, job, base and bean (19 cubes).mikeThanks, we'll change the sun stak chip later.
mikeWhy am I still seeing stuk vaks on job.spot.2.noUkeTax. Isn't that stak chief in org lake now?
abeNo, it isn't. I didn't move it to the org.
mikeMove to bob.org
Add ref stak on zork. Remove from spot.2 (at least for now)abe
noUkeTaxnow lives onbob.org, and the typed 1s are gone fromjob.spot_2. Every total is unchanged.
mikeI don't think we need bob.dub.3 and bob.take. Confirm no refs to those (across open books). Confirm unneeded. Then delete
abeBoth pages are still read by other cubes, so I haven't deleted either one. Neither is actually needed, though.
mikeYes, do it
abeI deleted
bob.dub_3andbob.take.
mikejob.tan.takChip stak. New look. See steez.look. apply
abe
job.tanhas notakChipstak, so I took you to meantackChap(cob 8, the true-up pdf paths).
mikeI just added note to doWrap stak. 1 means wrapText = true.
abeGood, that matches what I did:
tackChap's whole cob has wrap on.mikeNo. See related in span lake
abeI'm not sure what the "No" is about, so here's what I found before I change anything else.
mikeAdd canRum to tan lake east side (but west of shots). Then, per loose convention, show rums in cob 2
abeCob 2: R7C2 =
RC26#, same as the other job lakes, so cob 2 shows the rums.mikeNo it's not
abeYou're right. R6C8 is empty now and
shotTagsspills fine, so my last line was stale.
mikeIn the sky book. This is a totally unhelpful note. I know that "lap" means last.
A page / stak note should briefly describe the purpose using more human-readable words.abeI've added it to the cab guide in two places.
mikeYes, rewrite it
abe
lapActElm:abe: when anyone at the company last used sky (its most recent user)
mikeBy default, only chip cob, note cob, and bean cob. No norm cob. Put in / revise steez rule
abeThe steez rule is revised.
mikeDo you think it'd be better to add a new span lake to kurk (with the chaps)... and also pull the
blue[ ]stak vaks from there instead of from the sok (for faster processing)?abeYes to the lake. Mostly no to moving the blue vaks.
mikeyes, build it — call it span_1, rename span to span_2
abe
kurk.span_1is built: a bam per bill for can 1787, 21 bills from 25-01-03 thru 26-10-01. The oldspanpage is nowspan_2.
mike> The ham doesn't see the # corp label.
Yes it does, starting now.
Add label to cube below sek chip cube insteadabeGroup labels: each sek's label sits in the cube under its
#chip:> corp,> cap,> total.mikeYes, rename
abe
capNuPuck/capTakePuckare now the names everywhere.
mikeFYI, I'm on the Max plan.
steez.guide... Does it include all current guides?abe
steez.guidedoesn't hold every current guide. It lists 16; the disk has 22 in use, and 3 of the 16 are stale.mikeYes, fix the list
abe
steez.guidenow matches what's on disk: 22 guides, each with awhatand alapEdittaken from the file's last change.
mikefix isYup stak look. Move west in ponk. replace with check mark (or x)
abe
isYupnow has the sus look (General;-General;"-"), which steez.look gives buks.
mikesteez guide lake... split up whats into what + deets (I just added deets). update deets-stak look
abeI split steez.guide: every
whatis now a short line, and the rest moved into your newdeetsstak.mikeYes, delete it
abeI deleted the empty
deetsstak at C10 on steez.guide.