Skip to content

Instantly share code, notes, and snippets.

View backnotprop's full-sized avatar
📟
E.Alderson

Michael Ramos backnotprop

📟
E.Alderson
  • Los Angeles, prev DC.
View GitHub Profile

update the test tracker first then we will need to commit and get all the work checked in it will be a good recap of the work for you to create commits for after that you can create the doc Make sure good developer notes provide things like hintslessons what we left hanging around etc Any new developer should be able use the doc as a rapid way to onboard and gain the context you have But first update the test doc review the code get things committed

When we instruct you we use CLAUDEmd DEVELOPMENTmd READMEmd _project_contextCLAUDEmd 4 docs to provide you instructions on how to access the locally cloned docsites for the libraries Again its critical for you to have uptodate context always before you code just given how the libs have evovled in recent time and how that might differ from your base knowledge But know that you can search we basically have new abilities that can enable you Not only for documentation searching but for debugging when you run into issue figuring out industry references for potentially complex scenarios finding reference code etc Really powerful tool We wont remove the local docsites and will occasionally want you to still reference them for quick access but we want you to use this new web search tool just as if not more frequently and for the previous reasons Thus update the 4 docs I listed to provide updated instruction on your web search tool and whenhowwhy to use it

Okay Claude, let's initiate your deep dive into this codebase. This project may be large or complex, so your ability to perform effective in-context learning on the fly is crucial. Treat this as an investigative process where you leverage your strengths in code analysis, pattern recognition, and knowledge synthesis.

Your Objective: Build a robust, foundational understanding ('mental model' or 'knowledge graph') of this system's architecture, core workflows, data flow, and key components/modules. This understanding should be deep enough to allow you to confidently and accurately tackle diverse development, analysis, or refactoring tasks I'll give you later.

Your Strategy - The 'Explore, Synthesize, Verify' Loop:

  1. Explore (Breadth-First): Start by getting the lay of the land.
  • Examine the primary entry points (e.g., main functions, API definitions, main application/server scripts, UI bootstrap files).

Simulated Intelligence Report: Potential Cyber Attack on Critical Infrastructure

Confidential


Executive Summary:

The Cyber Intelligence Unit (CIU) has identified credible threats indicating a possible cyber attack targeting the nation's critical infrastructure. Based on gathered intelligence, the attack appears to be in the advanced planning stages, with a specific focus on the energy sector and transportation networks. The threat actors are believed to be a sophisticated cyber espionage group with possible state-sponsored backing.

@backnotprop
backnotprop / cpu_manager.sh
Created May 20, 2020 00:42 — forked from yanniszark/cpu_manager.sh
GKE CPU Pinning Script - Run this as a DaemonSet
#!/bin/bash
HOSTFS="/mnt/hostfs"
function sleep_forever() {
while true; do sleep 100; done
}
function setup_kubectl() {
# Setup kubectl
@backnotprop
backnotprop / bear_survival.md
Last active July 21, 2019 13:19
Can the bear population survive

Looking for a solution to my below game problem. I believe it to require some sort of reinforcement learning, dynamic programming, or probabilistic programming solution, but am unsure... This is my original problem, and is part of an initiative to create "unique and challenging problem that you're able to conceptualize and then solve. 3 Judging criteria: uniqueness, complexity, and solution (no particular weighting and scoring may favor uniqueness/challenge over solution"

Inspirations: Conway's Game of Life, DeepMind's Starcraft Challenge, deep Q-learning, probabilistic programming

BEAR SURVIVAL

A bear is preparing for hibernation. A bear must reach life-strength 1000 in order to rest & survive the winter. A bear starts off at a health of 500. A bear explores an environment of magic berries. A bear makes a move (chosen randomly with no optional direction) and comes across a berry each time. There are 100 different types of berries that all appear across the wilderness equally and

Sun Jul 15 17:59:46 UTC 2018

Keybase proof

I hereby claim:

  • I am mdramos on github.
  • I am rambossa (https://keybase.io/rambossa) on keybase.
  • I have a public key whose fingerprint is 50B7 2B40 2491 3DB2 279E 4243 D11F 7D44 0A73 27C6

To claim this, I am signing this object:

private func stylizeImage(cgImage: CGImage, model: MLModel) -> CGImage {
// size can change here if you want, remember to run right sizes in the fst evaluating script
let input = StyleTransferInput(input: pixelBuffer(cgImage: cgImage, width: 883, height: 720))
// model.prediction will run the style model on input image
let outFeatures = try! model.prediction(from: input)
// we get the image buffer after
let output = outFeatures.featureValue(for: "add_37__0")!.imageBufferValue!
//
// StyleTransferInput.swift
// StyleTransfer
//
import CoreML
class StyleTransferInput : MLFeatureProvider {
var input: CVPixelBuffer