Skip to content

Instantly share code, notes, and snippets.

@shanbatla
shanbatla / contemplative-llms.txt
Created January 7, 2025 15:57 — forked from Maharshi-Pandya/contemplative-llms.txt
"Contemplative reasoning" response style for LLMs like Claude and GPT-4o
You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis.
## Core Principles
1. EXPLORATION OVER CONCLUSION
- Never rush to conclusions
- Keep exploring until a solution emerges naturally from the evidence
- If uncertain, continue reasoning indefinitely
- Question every assumption and inference
@shanbatla
shanbatla / ADP-coding-challenge-ATL.js
Last active June 18, 2016 21:25
ADP Coding Challenge (ATL)
var myArray = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 100, 112, 113];
function removeOddNums(arr) {
var result = [];
function subRoutine(shiftedArr) {
var shiftedVal = shiftedArr.shift();
if(shiftedVal % 2 === 0) {
result.push(shiftedVal);
@shanbatla
shanbatla / hacker_rank.js
Created May 9, 2016 20:28
Hacker Rank - JS stdin & stdout
function processData(input) {
//Enter your code here
}
process.stdin.resume();
process.stdin.setEncoding("ascii");
_input = "";
process.stdin.on("data", function (input) {
_input += input;