Robert Cooper (@RobertCooper_RC) header
Robert Cooper (@RobertCooper_RC) profile picture

Software engineer @Shopify

Montréal, Québec
Joined September 2011
Photo by Robert Cooper (@RobertCooper_RC)Photo by Robert Cooper (@RobertCooper_RC)Photo by Robert Cooper (@RobertCooper_RC)Photo by Robert Cooper (@RobertCooper_RC)Photo by Robert Cooper (@RobertCooper_RC)Photo by Robert Cooper (@RobertCooper_RC)Photo by Robert Cooper (@RobertCooper_RC)Photo by Robert Cooper (@RobertCooper_RC)Photo by Robert Cooper (@RobertCooper_RC)Photo by Robert Cooper (@RobertCooper_RC)
Got my habit tracking RaspberryPi project working. ✍️ Record daily habits in Notion ⏲️ Every 30 seconds, the RaspberryPi pings the Notion API to check for new data ♻️ The e-paper display refreshes with the latest data I've got an overall month view showing progress for a given day (e.g. a bit like GitHub's contribution graph). I can also decide the change which new habits I want to track and which ones I want to stop tracking all via Notion (without needed to update the code).
1
2
381
Robert Cooper retweeted
We believe voice is the most natural way to interact with intelligence, so we created Dessa, the most authentic full-duplex speech model ever built. Talking with it feels like talking with a person…full of emotion, nuance, pauses, and a natural cadence. block.xyz/dessa
4,151
7,144
4,768
69,037
13,823,884
“remember, you are in the reputation-building business, and software is actually downstream of that” -> good take
new post: the senior engineer death spiral sunilpai.dev/posts/the-senio… a friend just started a big job and asked for some advice. so I braindumped a monologue about a super common failure mode I see with engineers and posted it here, hope it helps whoever it can.
2
173
Cool integration of Shopify into a game like marketplace 🤯
This is a real Shopify store. A storefront you play like a game: walk around, step into shops, and buy real products with others shopping right next to you. Built this with @v0 using the new native Shopify integration. Fork the template and build your own storefront game.
1
72
First project I'm a part of at Shopify is now live 🛍️
Replying to @mcfazeli
Buyers can now choose shipping for some items and store pickup for others in a single checkout, instead of placing a separate order for each delivery method with Ship and Pickup in one order now live.
2
61
One of the best internal tools we've got at Shopify. Incredibly useful for demos and prototypes. I've recently been getting my AI to generate HTML instead of markdown for more complicated explanations that I want to share with me team, and I throw i up as a quick site and it's instantly shareable.
Everyone's talking about AI-generated HTML. But have you tried giving your sites a zero-config API for saving data, file storage, AI, websockets, etc? We did this at Shopify. Runs on a single VM that costs $200/month, and it's changed the way we work. We call it Quick 👇🧵
1
70
Wild
🚨 How the TanStack npm attack actually happened: 1. Attacker opened a normal-looking pull request (#7378) on the TanStack repo. 2. GitHub automatically ran CI tests on that PR. 3. Code inside the PR stole the workflow's GitHub Actions Cache write token during the test run. 4. The attacker used that token to plant poisoned files in the shared build cache. The PR could be closed afterwards. The poisoned cache stays. 5. The official release workflow later pulled from the cache, baked the malicious files into the build, and signed and published 84 malicious package versions to npm.
107
Oof, good laugh 😂 . Sound on 🔊
Claude Code vs OpenCode github comments hit different this way (im so sorry)
1
349
One of the most satisfying keyboards i’ve ever typed on.
19
19
4
836
122,775
I’m happy to share that I’m starting a new position as a Software Engineer at @Shopify! Been reading lots of cool stuff recently about their engineering culture, especially as it pertains to their usage of AI, so i'm excited to get started.
1
10
223
"We have notified law enforcement". Damn, sounds serious.
Vercel got pwn’d. Here’s what I’ve managed to get from my sources: 1. Primary victim here is Vercel. Things like their Linear and GitHub got hit with majority of it 2. Env vars marked as sensitive are safe. Ones NOT marked as sensitive should be rolled out of precaution 3. The method of compromise was likely used to hit multiple companies other than Vercel. # of customers impacted is believed to be limited, but hard to know just yet. Will share more updates as I get them.
1
2
156
How to shard your database to more evenly distribute data between shards. TL;DR: Hash user identifiers and then have each shard correspond with a range of hashes.
Sharding is: 1) The foundation of database scalability 2) Super interesting architecturally If you want to Design Data Intensive Applications (at scale) you must learn it, and learn it well.
136
Good stuff here. Had to migrate from alpine over to debian-slim recently to get DuckDB working properly since it relied on glibc.
unpopular dockerfile takes (that actually work) 1 - stop using alpine — yes, it's tiny. but musl libc ≠ glibc. your python/node app will rebuild native deps from scratch or just... silently be slower. use -slim (debian-slim) instead. same size win, zero grief. 2 - layer order is your cache strategy. COPY your lockfile first, run install, then copy source. invalidating the install layer on every code change is a skill issue ngl 3 - multi-stage builds aren't just "best practice" — they're the actual reason your prod image doesn't ship gcc and 400mb of build tools. builder stage = bloat zone. final stage = lean mean container. 4 - COPY . . is fine actually — if your .dockerignore is correct. most pain here is from forgetting to ignore node_modules/, .git, *.log. fix the ignore file, not the COPY. 5 - one process per container is a vibe, not a law. if your app needs nginx + app server and you're not at k8s scale — just use supervisord. the "one process" dogma costs more complexity than it saves sometimes. 6 - pin your base image by digest, not tag. node:20 today ≠ node:20 in 6 months. prod broke because of a tag? that's a you problem tbh. 7 - BuildKit cache mounts (--mount=type=cache) will change your life. pip/apt/cargo cache between builds without it ending up in the final layer. nobody talks about this enough fr there's no "best practice" in a vacuum. alpine is great for Go binaries. slim is great for Python. scratch is great for static bins. know your workload, then choose. btw if you want something to catch all this stuff automatically - check out dockerfile-roast — a linter written in Rust that literally roasts your Dockerfile. 63 rules, brutally honest output (but it can also provide just dry facts, no roast), runs on any OS or as a docker container github.com/immanuwell/docker… #docker #devops #kubernetes #backend #linux #rust #sre #containers
136
Today is my last day at Basedash. I never expected to spend 5+ years at one company, but this chapter has meant a lot to me. Joining as the first engineering hire and getting to help build alongside the team has been a pretty incredible experience. I’m grateful for everything I learned, and I’ll be cheering Basedash on as they continue building. I’m very optimistic about what’s ahead for the company.
4
1
10
361
Agreed, killer blog post. Learned a ton.
*Finally* read through @samwhoo's blog on LLM quantization. It's incredible. For many (even in tech) the understanding of how LLMs work stops at the surface level. Sam is helping us all go deeper, digging into the interesting facets of how AI models truly work. Read it!
1
121
Latest tips from @dexhorthy for better results with AI agents: - You should be prompting your agents to go back and forth with you with questions about your design - Avoid long running conversations that will bloat the context and have your AI go into the "dumb zone" Another "hot" take: you should actually read the code at the end of it all 🤣 Some skills and agent markdowns to can be used to help (notably the research and plan skills and the agent markdowns): github.com/humanlayer/humanl… Talk discussing things in more detail: youtube.com/watch?v=YwZR6tc7…
1
1
56
AI reviewer acting like a dev colleague that loves to nit pick on PRs.
2
90