Skip to content

Instantly share code, notes, and snippets.

View sksq96's full-sized avatar

Shubham Chandel sksq96

View GitHub Profile

Starting in January 2025, the dynamic between Shubham, Rebecca, and Chandiran was defined by playful banter, inside jokes, and a strong sense of camaraderie. Rebecca was in San Francisco for part of January, joking with Shubham and Chandiran about "tech bros" at SFO airport, fundraising, and launching tongue-in-cheek startup ideas—complete with mock negotiations for 10% equity in exchange for $50 and the occasional “hair removal” clause. Shubham and Chandiran were quick to riff on Rebecca’s quips, and the three frequently layered their messages with multi-level irony, reactions, and meta-commentary about their interactions. The group started riffing on the idea of writing each other's eulogies and holding annual rehearsal funerals, turning dark humor into a bonding ritual.

The group dynamically tracked Rebecca’s globe-trotting: she departed from San Francisco, stopped over in Hong Kong (momentarily losing her passport and nearly missing a connecting flight), before finally arriving back home—each logistical

@sksq96
sksq96 / chandiran.md
Last active May 27, 2025 20:16
who is chandiran and how does he feel being in this group?

Based on my searches through the chat history, I now have a comprehensive understanding of who Chandiran is and how he feels about being in this group. Let me provide you with a detailed analysis.

Who is Chandiran and How He Feels About Being in This Group

Who Chandiran Is

Chandiran is a 25-year-old from Chennai, India who appears to be deeply embedded in this tight-knit friend group with Rebecca and Shubham. Some key aspects of his identity:

Background & Circumstances:

  • Previously worked at Bloomberg where he used to
@sksq96
sksq96 / rebecca.md
Created May 27, 2025 20:01
who is rebecca and how does she feel being in this group?

Based on my searches through the group chat history, I can now provide a comprehensive analysis of who Rebecca is and how she feels about being in this group.

Who is Rebecca

Rebecca emerges as the central gravitational force of this tight-knit group chat with Shubham and Chandiran. She's a social catalyst who lives in Long Island City (LIC) with her dog Latte, and appears to have physically moved away from where the others are based, yet maintains deep emotional connection through this digital space.

"what would i do without you rebecca"

Rebecca is someone who takes care of others - offering practical advice like helping Shubham differentiate between daytime and nighttime Tylenol, providing emotional support during their various romantic and existential crises, and serving as an emergency contact for their meditation retreats. She's intellectually curious, involved in building AI tools with the group, and deeply engaged in psychedelic exploration and spiritual practices.

@sksq96
sksq96 / search.py
Created April 7, 2023 21:49
SentenceTransformer with AutoFaisss
from tqdm import tqdm
from sentence_transformers import SentenceTransformer, util
from autofaiss import build_index
import sys
spacefile = sys.argv[1]
queryfile = sys.argv[2]
WARMUP_UPDATES=15000 # Warmup the learning rate over this many updates
TOTAL_UPDATES=5000000 # Total number of training steps
MAX_TOKENS=1024
MAX_POSITIONS=1024 # Num. positional embeddings (usually same as above)
PEAK_LR=[0.0006] # Peak learning rate, adjust as needed
UPDATE_FREQ=[2] # Increase the batch size 16x
MODEL=bart_large
@sksq96
sksq96 / setup.sh
Last active March 19, 2021 10:13
# zsh
sudo apt install zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
echo "exec zsh" >> ~/.bashrc
# zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
source ./zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
@sksq96
sksq96 / unfollow.js
Created June 4, 2020 07:27 — forked from JamieMason/unfollow.js.md
Unfollow everyone on twitter.com
// Unfollow everyone on twitter.com, by Jamie Mason (https://twitter.com/fold_left)
// https://gist.github.com/JamieMason/7580315
//
// 1. Go to https://twitter.com/YOUR_USER_NAME/following
// 2. Open the Developer Console. (COMMAND+ALT+I on Mac)
// 3. Paste this into the Developer Console and run it
//
// Last Updated: 09 April 2020
(() => {
const $followButtons = '[data-testid$="-unfollow"]';
import pyautogui
import pyperclip
from time import sleep
import sys
message = f"""Hello
I'm in search of fulltime opportunity at {sys.argv[1]}, could refer me, or pass along my CV to a recruiter?
I'm a graduate student at NYU, currently working at the intersection of Reinforcement Learning and Natural Language Processing, under the supervision of Prof. Yann LeCun.
@sksq96
sksq96 / histogram.py
Last active December 2, 2019 16:53
Plot histogram from list
def hist(d, count=True):
import matplotlib.pyplot as plt
if count:
d = list(map(len, d))
n, bins, patches = plt.hist(x=d, bins='auto', color='#0504aa', alpha=0.7, rwidth=0.85)
plt.grid(axis='y', alpha=0.75)
plt.xlabel('Value')
plt.ylabel('Frequency')
maxfreq = n.max()
plt.ylim(ymax=np.ceil(maxfreq / 10) * 10 if maxfreq % 10 else maxfreq + 10)
@sksq96
sksq96 / AdamW.py
Created July 4, 2018 12:54 — forked from thomwolf/AdamW.py
Implements Adam algorithm with weight decay fix in PyTorch (paper: https://arxiv.org/abs/1711.05101)
from torch.optim import Optimizer
class AdamW(Optimizer):
"""
Implements Adam algorithm with weight decay fix in PyTorch
Paper: Fixing Weight Decay Regularization in Adam by Ilya Loshchilov, Frank Hutter
https://arxiv.org/abs/1711.05101
"""
def __init__(self, params, lr, b1=0.9, b2=0.999, e=1e-8, l2=0,
vector_l2=False, max_grad_norm=-1, **kwargs):