Mo pfp

Mo

@meb

641 Following
614 Followers


Mo pfp
Mo
@meb
How I would define an AI agent at the start of 2025: In abstract, a piece of software that can achieve a certain goal, and uses AI to navigate the fuzzy path of achieving that goal. More specifically, a combination of - Goal - Context management - Underlying model - Tools (datastores and functions with effects) - Prompting & self-prompting strategies (including delegating to other agents) Example: A geocoding agent Goal: Parse content from a sentence and geocode it Context Management: Trimmed sliding window. We only need the very most recent messages to get the job done. Underlying model: A simple model like 4o mini is more than enough Tools: A function to search cities with inbuilt query match ranking, and a function with access to a Google Maps geocoding API Prompting: Single turn. The agent should be able to get the job done in a single exchange, or ask the user to clarify the location if needed
0 reply
0 recast
10 reactions

Mo pfp
Mo
@meb
Regex, new wacky and weird combos everyday That said; I’d prefer the original explicit not notation Uppercase and lowercase w would be easy to mix up when reading
0 reply
0 recast
0 reaction

Mo pfp
Mo
@meb
Today I learned, ^ inside a [ ] js regex section means NOT. So, ^\w means "match where the start is an ascii character" [^\w] means "not an ascii character" Thank you for coming to my ted talk
1 reply
0 recast
4 reactions

Mo pfp
Mo
@meb
Agree. I’ve always explained this as “encapsulated badness” If a function goes on for 400 lines (not ideal but an example), that can be fine as long as - there is a clear input / output interface - tests are in place to ensure desired functionality Clean code isn’t just pretty files and lines, it’s also about systems thinking
0 reply
0 recast
0 reaction

Mo pfp
Mo
@meb
100%. I’ve worked with amazing really good testing in the past. Kept velocity up over multiple years and made really big migrations possible.
0 reply
0 recast
1 reaction

Mo pfp
Mo
@meb
I’ve read this idea recently that code quality isn’t that important, since the cost of throwing away a file and rewriting it is now super low. Can totally see that being true. That said, a good suite of regression tests helps you keep that lovely vibe coding velocity
1 reply
0 recast
0 reaction

Mo pfp
Mo
@meb
Testing is pretty damn important
2 replies
2 recasts
6 reactions

Mo pfp
Mo
@meb
Random question; What are some good ways to learn about making pixel art?
1 reply
0 recast
0 reaction

Mo pfp
Mo
@meb
Looks good lgtm
0 reply
0 recast
1 reaction

Mo pfp
Mo
@meb
Can it also perform actions on my behalf?
1 reply
0 recast
0 reaction

Mo pfp
Mo
@meb
Congratulations to the newlyweds
0 reply
0 recast
0 reaction

Mo pfp
Mo
@meb
Will test it out. What’s your favourite feature of this browser, and why?
1 reply
0 recast
0 reaction

Mo pfp
Mo
@meb
Definitely, and now with these new modern more compact nvidia chips you can do really nice form factors since you’re just running inference, not training. A few terabytes of SSD and RAM is not like it was in the 90s space-wise
0 reply
0 recast
1 reaction

Mo pfp
Mo
@meb
+9000 on local Alexa, which also can become hub for future complimentary hardware and is also very commercially viable (the Box from Silicon Valley, but running at home)
1 reply
0 recast
1 reaction

Mo pfp
Mo
@meb
0 reply
0 recast
2 reactions

Mo pfp
Mo
@meb
You'd be surprised how much of an advantage agentic coding gives to experienced software engineers, compared to normies
1 reply
0 recast
1 reaction

Mo pfp
Mo
@meb
Interesting! I’m still more of a typing input person, for some reason audio doesn’t appeal to me. I think it’s because in writing I can be word level precise and adjust what I’m saying before sending through a command d
1 reply
0 recast
0 reaction

Mo pfp
Mo
@meb
On a scale of 1 (old school line by line) to 10 (full on chatting with cursor agent for mostly all) where do you sit? I’ve been at an 8 this week on average, with some very manual moments
1 reply
0 recast
1 reaction

Mo pfp
Mo
@meb
Based cursor; Finally adding syntax highlighting for TODO comments
1 reply
0 recast
5 reactions

Mo pfp
Mo
@meb
Legacy code has paid lots of bills tho
0 reply
0 recast
1 reaction