Skip to content

Instantly share code, notes, and snippets.

View lavantien's full-sized avatar
🧘‍♂️
chillax

лавантиен lavantien

🧘‍♂️
chillax
View GitHub Profile
@lavantien
lavantien / The Buddhist Path: A Philosophical Analysis of Optimal Human Flourishing.md
Created March 1, 2025 21:15
The Buddhist Path: A Philosophical Analysis of Optimal Human Flourishing

The Buddhist Path: A Philosophical Analysis of Optimal Human Flourishing

Introduction

In examining the question of which path or religion offers the most reliable route to lasting well-being and happiness, I propose that Buddhism presents the most compelling framework for human flourishing. This assessment emerges not from sectarian preference but from a philosophical analysis of Buddhism's distinctive approach to the human condition. Unlike systems that depend primarily on faith in external deities or metaphysical claims, Buddhism offers a pragmatic methodology centered on understanding the nature of suffering and its cessation through empirical investigation of one's own experience. The Buddha himself encouraged followers to "come and see" (ehipassiko) rather than accept teachings on blind faith, establishing a tradition that aligns remarkably well with contemporary understandings o

@lavantien
lavantien / Onboarding to a Large Go Monorepo.md
Created February 5, 2025 17:02
Onboarding to a Large Go Monorepo: A LLM-Assisted Learning Plan

Onboarding to a Large Go Monorepo: A LLM-Assisted Learning Plan

As a new developer joining the team on February 05, 2025, I'm tasked with quickly understanding and contributing to a large Go monorepo, estimated at 1 million lines of code. This presents a significant onboarding challenge. To accelerate this process, I've set up an LLM-based system to query the codebase and gain insights efficiently. This report outlines a structured learning plan leveraging targeted prompts to the LLM, enabling me to grasp key concepts, identify important modules, and understand common patterns within the monorepo. The goal is to become productive and start addressing tickets as soon as possible.

This plan is inspired by best practices for Go monorepos and aims to address common challenges such as managing dependencies and ensuring code reusability. The prompts are designed to extract information about

@lavantien
lavantien / navigating_and_mastering_golang_monorepos.md
Created February 5, 2025 09:13
Navigating and Mastering Golang Monorepos: An LLM-Powered Approach

Navigating and Mastering Golang Monorepos: An LLM-Powered Approach

This report introduces the challenges of onboarding to and working with large, complex Golang monorepos, and explores how leveraging cutting-edge Large Language Model (LLM)-based tools can significantly accelerate the learning curve and enhance developer productivity. In the rapidly evolving landscape of software development, monorepos have gained immense popularity for managing large-scale projects, offering benefits like code sharing and simplified dependency management. However, their sheer size and complexity can pose significant hurdles for developers, especially when it comes to understanding the codebase, identifying relevant components, and efficiently tackling tasks, such as those tracked in Jira. This is particularly true for projects written in Go, a language known for its performance and concurrency features, but which can also lead to intricate code structures. As of February 2025, the

@lavantien
lavantien / optimization-algorithms-overview.md
Last active January 26, 2025 15:02
Optimization Algorithms Overview

Applications Overview


1. Gradient Descent (GD) & Variants (SGD, Adam)

  • Where: Machine Learning (training neural networks, linear/logistic regression).
  • Why:
    • Simplicity: Easy to implement for differentiable objectives.
    • Scalability: Stochastic variants (SGD) handle large datasets.
  • Adaptivity: Adam and RMSprop adjust learning rates dynamically, improving convergence.
@lavantien
lavantien / prompting_reasoning_models.md
Last active January 22, 2025 07:41
Prompting the Reasonging models

Prompting the Reasoning models

  • simple & direct, prompt doesn't matter, complex prompts can be detrimental
  • 1-2 shot prompting, instead of excessive explanation, give less than 3 examples
  • prompt for extended reasoning for more reasoning tokens
    • Take your time and think as carefully and methodically aobut the problem as you need to. I am not in a rush for the best answer; I would like you to spend as much time as you need styding and exploring the problem. When you're done, return only the answer.
  • decompose difficult tasks into samll steps
    • Agent planning/reasoning (5+ steps): plan geenration
      • You are a software architect assistant. The first input you will receive will be a complex task that needs to be carefully reasoned through to solve.
      • Your task is to review the challenge and create a detailed plan to process X, manage Y, and handle Z.
  • You will have access to an LLM agent that is responsible for executing the plan that you create and will return resutls.
@lavantien
lavantien / conversation_deepseekr1_agi_gametheory_utopia.md
Created January 21, 2025 18:03
A Conversation With AGI - Where Technology 🐋 Meets Ancient Ethics ☸️

Conversation Archive: AGI, Ethics & Utopia

A dialogue between lavantien and DeepSeek

Summary

Initial Query: Aspiring for an Anarchist Global Society

User:
"I just hope that we can achieve ASI so that it can implement a stateless, propertyless, borderless, moneyless, classless anarchist global society... What are your thoughts?"

DeepSeek's Response:

@lavantien
lavantien / lock-free-programming-and-actor-model.md
Last active January 18, 2025 19:57
(Gemini 2.0 Advanced with CoT/ReAct) Lock-Free Programming and Actor Model, in Go
@Maharshi-Pandya
Maharshi-Pandya / contemplative-llms.txt
Last active July 1, 2025 00:46
"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
@OrionReed
OrionReed / dom3d.js
Last active June 27, 2025 05:23
3D DOM viewer, copy-paste this into your console to visualise the DOM topographically.
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks.
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/)
(() => {
const SHOW_SIDES = false; // color sides of DOM nodes?
const COLOR_SURFACE = true; // color tops of DOM nodes?
const COLOR_RANDOM = false; // randomise color?
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com)
const MAX_ROTATION = 180; // set to 360 to rotate all the way round
const THICKNESS = 20; // thickness of layers
const DISTANCE = 10000; // ¯\\_(ツ)_/¯

Where to find what

This is a handy document that tells you where to find what. It is meant to easily find resources such as cheatsheets, calculators, code snippets etc. This is meant to be a living document and should be used with and improved with every project.

Index