@sirh.cc.bsky.social
Software engineer in Singapore Remote, Staff+, Platform Engineering, Developer Experience, full-stack, Python, bazel Previously: In San Francisco, Data Visualization, web, graphics sirh.cc
Lol I thought I was so original with sirh.cc ๐
18.07.2025 14:37 โ ๐ 2 ๐ 0 ๐ฌ 0 ๐ 0Like this pattern for networking ๐
26.05.2025 04:05 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0Anyone has been using @getgrist.bsky.social ? How do you like it?
It looks like what I've been looking for with Coda.
Anyone use zero-instrumentation profiling tools for Python? Howโs your experience with them?
E.g. perforator.tech
Created an RFC: github.com/withastro/ro...
25.02.2025 01:48 โ ๐ 1 ๐ 1 ๐ฌ 1 ๐ 0Dug into the source, looks like exclusions are managed here github.com/withastro/as...
Will contribute an excludeLangs option when I get a chance.
Ah glad to know that the defaults on Hugo support it. I see gohugo.io/content-mana...
24.02.2025 14:14 โ ๐ 2 ๐ 0 ๐ฌ 1 ๐ 0Ran into this issue.
Syntax highlighting breaks the default way of rendering it via code blocks.
I havenโt found a way to turn off syntax highlighting only for mermaid while leaving it on for other languages.
This is frustrating given Iโd think this is a common use case since they support GFM.
What is the best solution for using mermaid diagrams in Astro? I've failed a couple of times at implementing it now.
27.11.2024 04:43 โ ๐ 4 ๐ 1 ๐ฌ 2 ๐ 0@webpro.nl @ssp.sh @cassidoo.co in case youโve taken a stab at mermaid rendering on your blog, curious what youโve came up with.
I havenโt dug into the syntax highlighting internals but perhaps I should.
โฆand GFM (GitHub Flavored Markdown) supports mermaid rendering.
24.02.2025 13:15 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0Ran into this issue.
Syntax highlighting breaks the default way of rendering it via code blocks.
I havenโt found a way to turn off syntax highlighting only for mermaid while leaving it on for other languages.
This is frustrating given Iโd think this is a common use case since they support GFM.
Was wondering who else heard thatโฆ
05.02.2025 16:57 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0Future LinkedIn skill:
* Able to persuade diverse set of LLM models.
Debugging an error coming from an AI agent:
`Expecting value: line 1 column 1 (char 0)`
As I step through the code, I see why.
The LLM (llama3.2:1b) is refusing to provide a response, as it thinks it could be used maliciously.
Guess the next step is to persuade this model that I'm ๐...
Interesting:
Meta created React Native. Itโs used (with components at least) in their flagship apps: Facebook (iOS, Android), Instagram (Meta Quest), Messenger (desktop).
Google created Flutter. And yet none of their flagship apps use it (Gmail, YouTube, Maps, Calendar).
I meant that typically two modes (mocks, real endpoints) are kept available in the test code.
If the test strictly requires mocks and will never run without mocks (i.e. a mode that records new mocks such as when API endpoints have updated) then I typically regard it less of an integration test.
Itโs okay to do so but thereโs still a way to run it without the mocked APIs to hit real endpoints.
Itโs not that they must rely on mocks being available.
Book that comes to mind is: Non-violent communication.
Not exactly about empathy directly but a tool to help with it.
Wrote on how to use a precompiled gRPC Compiler in Bazel for Python.
30.12.2024 22:24 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 1Used ChatGPT as an editor, and published it. Done is better than perfect, heh.
30.12.2024 22:21 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0Ah, just saw this. You beat me to it.
30.12.2024 11:43 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0const DATE_FORMAT = new Intl.DateTimeFormat('en-US', { weekday: 'long', }); export function newYearsDay(year: number): string { const date = Date.UTC(year, 0, 1); return DATE_FORMAT.format(date); }
github.com/chrisirhc/ca...
30.12.2024 11:41 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0Fleshed it out, added some detail and code snippets to it.
15.12.2024 20:44 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0Working on a new blog.
Here goes, the first post, so I can test comments.
blog.sirh.cc/post/new-blog/
The 70% problem - hard truths about AI-Assisted Coding
โ๏ธ "Hard truths about AI-assisted coding" tips & tricks in my latest article: bit.ly/ai-assisted
While AI-Assisted coding can get you 70% of the way there (great for prototypes or MVPs), the final 30% requires significant human intervention for quality and maintainability.
Iโm working on a blog post on some recent work I did with a monorepo.
github.com/chrisirhc/bl...
Anyone has comments on the outline or tools to recommend for improving the post?
Finally took some time over past month to learn Wardley mapping. Still a technique Iโve rarely seen โin real lifeโ, but glad that @mipsytipsy.bsky.social mentioned it a few times online in ~2018 and Iโve finally caught up ๐
lethain.com/learning-war...