Sign in

Cole Lawrence

@colelawrence.com
544 followers 568 following 123 posts

End user programming & AI tool designer. 🛠️ CTO at phosphor.co & @forethink.ai 🦀 Rust NYC / RustEastCoast.com organizer 🙋🏻‍♂️he/him

PostsRepliesMedia
Cole Lawrence @colelawrence.com · 16/11/2025
How to pass each interview stage for the first 5 hires at our startup: 1. If you appear to be good => Intro 2. If we enjoy chatting about work experiences => Technical interview (pairing) 3. If we work well together => Trial period 4. If we align on impact<>desired comp => You're permanent 🙂
110
Reposted by Cole Lawrence
Rust NYC @rust.nyc · 30/10/2025
First annual Rust NYC Unconf registrations are open! rust.nyc/unconf
Illustration for RustNYC Unconf 2025 featuring three versions of Ferris, the Rust programming language mascot, as cartoon crabs in orange, red, and verdigris green (wearing a Statue of Liberty crown and holding a microphone) arranged above the text 'Unconf 2025'. The event details show 123 William Street, 26th Floor, FiDi, December 5th. Sponsor logos for Materialize, Lawrence Harvey, Empathic, and Antithesis appear at the bottom.
0105
Reposted by Cole Lawrence
Nicolas Roman Posner @nrposner.com · 09/10/2025
Finally wrote up my slides/notes for my presentation at the last #RustNYC meetup. Thanks to @busysp.bsky.social, @colelawrence.com, @statisticsftw.bsky.social, Ross, and the whole team over there for making it possible! nrposner.com/blog/rust-py... #rustlang
nrposner.com
Rust-Python Interop for Scientific Codebases — nrposner
032
Reposted by Cole Lawrence
Nicolas Roman Posner @nrposner.com · 09/07/2025
Announced the RustQuest community project at the @rust.nyc meetup yesterday! I hope this can grow as a resource to effectively teach young students #rustlang + CS concepts in tandem! special thanks to @colelawrence.com and @busysp.bsky.social for support! github.com/nrposner/rus...
github.com
GitHub - nrposner/rust_quest: An incremental, gamified introduction to Rust and computer science fundamentals
An incremental, gamified introduction to Rust and computer science fundamentals - nrposner/rust_quest
1197
Cole Lawrence @colelawrence.com · 06/04/2025
using LLMs to refactor and my new favorite prompt is becoming: "Ask me clarifying questions about any uncertainty you have about the refactoring." This is saving me so many little headaches where the LLM changed the approach in subtle ways.
030
Cole Lawrence @colelawrence.com · 30/03/2025
Absolutely killer combination for system architecture design: - Gemini 2.5 Pro for preparing interview questions - ChatGPT Voice mode for interview - Gemini 2.5 Pro for writing a technical write-up + updated overview instructions file for ChatGPT
120
Cole Lawrence @colelawrence.com · 18/03/2025
This is our first month to have two events in a long time! Check it out if you're in NYC
031
Cole Lawrence @colelawrence.com · 07/03/2025
Any tips on hiring AI product engs for a startup? Practical experience designing and troubleshooting tool-loops. $300k-$450k remote if they connect product thinking and AI pipeline setup, design, and devops experience. This is a hypothetical role at the moment, just looking for advice.
110
Cole Lawrence @colelawrence.com · 24/02/2025
I started working on an open-source todo "UI" that syncs with a markdown file, since all my TODOs are in markdown for AI editing context. Also has a - Pomodoro timer - Customizable sound cues for break start, end, task completion, etc github.com/colelawrence...
Shows how the same TODO markdown file is synchronized in the "floating tracker view", "planner view", and the editor
000
Cole Lawrence @colelawrence.com · 04/02/2025
Made a fun little helper for React to make it possible to "click" buttons without clicking when you have a input focused. Was having some trouble with debugging some focusout issue gist.github.com/colelawrence...
030
Cole Lawrence @colelawrence.com · 08/01/2025
Sometimes I fall back into the habit of writing code with a keyboard, and I have to fight that habit formed from the last 10+ years For LLM coding to pay off, you gotta learn how to keep the context/session "on the rails", and getting "on the rails" is the hardest hurdle to get over
030
Cole Lawrence @colelawrence.com · 08/01/2025
with AI, I seem to spend more of my time than ever designing the codebase's framework in a composable + testable way, because the payoff is huge when you know how each individual file is more complicated, but the total codebase is at a fixed complexity even with added features
020
Cole Lawrence @colelawrence.com · 06/01/2025
I'm excited to be launching this new website for the next phase of @forethink.ai 🎉 I hope this page better communicates how we can amplify teams working in the browser by enriching the webpages they visit with private information from their company and peers–all with extreme care for data privacy!
forethink.ai
Forethink
Transforming yours and your team's scattered data into enrichments on every page you visit. All data is private and flows directly between your computer and your trusted apps.
020
Cole Lawrence @colelawrence.com · 29/12/2024
Great little write-up of today's best toolset for local LLMs Thanks for writing, Abishek ❤️
000
Cole Lawrence @colelawrence.com · 11/12/2024
I’m noticing a trend in “AI fatigue” that comes 10x with independent agents (like Devin) compared to human in the loop agents (like Windsurf/Cursor) Oddly enough, I first started noticing it with o1 pro, because the answers take a long time and are so rich with information, that I lose track
030
Cole Lawrence @colelawrence.com · 11/12/2024
Really enjoyed this write up on the new Devin AI tool. It looks like today, it might be annoying to use, but LLMs for coding were annoying to use at the start, too.
030
Cole Lawrence @colelawrence.com · 10/12/2024
🦀 Do you have a Rust project to share? Are you doing anything in four hours? Join the #RustEastCoast "Show and tell" at 2pm ET today in our Discord! #RustLang #BuildInPublic Get feedback on your work and share your successes!
discord.gg
Join the Rust East Coast Discord Server!
Check out the Rust East Coast community on Discord - hang out with 736 other members and enjoy free voice and text chat.
071
Cole Lawrence @colelawrence.com · 10/12/2024
Bernard is working on a durable executions workflow engine similar to Temporal / Inngest, but for #Rustlang This is a really nice demonstration of how the idea of code “time traveling” complements durable execution!
072
Cole Lawrence @colelawrence.com · 08/12/2024
Thoroughly enjoyed this write up of the recent ultralytics compromise
031
Reposted by Cole Lawrence
Emily Liu @emilyliu.me · 25/11/2024
By popular request, here's how to add Bluesky replies as your blog's comment section! This requires some technical know-how for now, but I'm hoping that we see some no-code solutions for this pop up soon, like Ghost or Wordpress plugins. emilyliu.me/blog/comments
emilyliu.me
Using Bluesky posts as blog comments
1431338274
Cole Lawrence @colelawrence.com · 27/11/2024
Throwback to Feb 2020 👀, when I first started designing StoryAI–a textual low-code editor. After struggling to explain how the editing should "feel", I ended up having to dust off my After Effects skills one weekend to draw this up! #buildinpublic #design #nocode #toolsforthought #rip #storyai
140
Cole Lawrence @colelawrence.com · 22/11/2024
Two things I didn't realize @windsurfai.bsky.social was going to do so well: 1. Quickly fall into a rhythm of writing impl, writing tests, testing, and iterating (using `vitest run [filename]` 2. Analyzing `.d.ts` files to try to understand how to use my deps bravo 👏 #ai #llms #dev #typescript
Screenshot of Windsurf's Cascade window (AI writing chat)
---
Edited
memoize.ts
+4
-4
 78
Open diff
The key change is that we now cache the Promise itself rather than waiting for its resolution. This ensures that concurrent calls will get the same Promise instance, and thus the function will only be called once.

Let's run the tests again:

Ran terminal command
application/ui
$ pnpm vitest run memoize

Stdout
CopyInsert

 RUN  v2.1.3 /Users/cole/dev/forethink-web-extension/application/ui

 ✓ src/core_application/js/__tests__/memoize.test.ts  (7 tests) 4ms

 Test Files  1 passed (1)
      Tests  7 passed (7)
   Start at  16:20:41
   Duration  707ms (transform 80ms, setup 119ms, collect 17ms, tests 4ms, environment 189ms, prepare 76ms)

Great! All tests are now passing. Here's a summary of what we've done:

Created comprehensive tests for both memoize and memoizeWithExpiration functions
Fixed the concurrent calls handling in memoizeWithExpiration by:
Caching the Promise instead of its resolved value
Using ExpiryCache to handle expiration timing
Properly handled time-based tests using Vitest's fake timers
The test suite now verifies:

Basic caching functionality
Expiration timing
Custom key functions
Zero expiration cases
Concurrent calls
All functionality is working as expected, with proper handling of async operations and cache expiration.

Your modified files:
memoize.ts
application/ui/src/core_application/js
+3
-3
Me: Update tests to handle null expiration time on set
030
Cole Lawrence @colelawrence.com · 21/11/2024
Immediately pinned these new 🦋 lists from @simonwillison.net bsky.app/profile/simo... - LLM Labs (folks from OpenAI, Anthropic, etc) bsky.app/profile/simo... - AI Journalists #ai #llms #bluesky
020
Cole Lawrence @colelawrence.com · 21/11/2024
🦀 Calling all #rustacean and passionate #rustlang friends to join our virtual community at rusteastcoast.com! We have a recently started reading club started by a member, a monthly show-and-tell, and occasional talks! And there are active location channels for NYC, Boston, and others!
rusteastcoast.com
Rust East Coast | Twitch | Linktree
Linktree. Make your link do more.
062
Cole Lawrence @colelawrence.com · 20/11/2024
Another cool starter pack for local-first people to follow! 🦋
030
Cole Lawrence @colelawrence.com · 19/11/2024
Just found @mxb.dev's whimsical.club - a curation of websites with small joyful interactions. I love all these little handcrafted interactions #webdev #webdesign
whimsical.club
The Whimsical Web
A curated list of sites with an extra bit of fun.
160
Cole Lawrence @colelawrence.com · 19/11/2024
🧵 Trying out @windsurfai.bsky.social for a few days - here are my initial thoughts on this new AI-powered editor (1/6) #windsurf #vscode #ai #cursor #programming
Windsurf for macOS after fixing a bug with "Cascade" mode
170
Cole Lawrence @colelawrence.com · 19/11/2024
Great collection of accounts for all of you who are getting started! 🦋
062
Cole Lawrence @colelawrence.com · 19/11/2024
Thinking about how to create personalized vignettes like this with my browser extension for teams
010
Cole Lawrence @colelawrence.com · 17/11/2024
I'm looking for other programmers sharing their prompt workflows and experiences trying new AI tools on here! I need a few more to create a starter pack. #llms #cursor #ai #vscode @swyx.io + @wesbos.com + @simonwillison.net + @stevekrouse.com to start
140
Cole Lawrence @colelawrence.com · 17/11/2024
📝 New guideline prompt `feature-doc-guideline.md` helps you create `docs/new-feature-feature.md` files. Every new feature starts with this guideline which provides a stable understanding for all other parts of the implementation phases. #ai #cursor #vscode #llms gist.github.com/colelawrence...
gist.github.com
Feature doc guidelines example
Feature doc guidelines example. GitHub Gist: instantly share code, notes, and snippets.
020