Semantic Kernel Function Calling in C#: Native vs Prompt Functions Explained
When building AI applications with large language models, function calling is one of the most powerful capabilities -- letting the LLM invoke your code to retrieve data, perform calculations, or take real-world actions. Semantic Kernel function calling in C# makes this straightforward by bridging natural language and your .NET code, exposing C# methods or prompt templates as tools the AI can intelligently execute. Understanding the distinction between native functions and prompt functions is key...
Take me to this post.
March 06, 2026
Colorado SB26-051 Age Attestation
Colorado is presently considering a bill, SB26-051, patterned off of California’s AB1043, which establishes civil penalties for software developers who do not request age information for their users. The bills use a broad sense of “Application Store” which would seem to encompass essentially any package manager or web site one uses to download software—GitHub, Debian’s apt repos, Maven, etc. As far as I can tell, if someone under 18 were to run, say, a Jepsen test in California or Colorado, or u...
Take me to this post.
March 06, 2026
logger.error or logger.exception in Python
Consider this Python code:
try:
1 / 0
except Exception as e:
logger.error("An error occurred while dividing by zero.: %s", e)
The output of this is:
An error occurred while dividing by zero.: division by zero
No traceback. Perhaps you don't care because you don't need it.
I see code like this quite often and it's curious that you even use logger.error if it's not a problem. And it's curious that you include the stringified exception into the logger message.
Another common pattern I...
Take me to this post.
March 06, 2026
When ReadDirectoryChangesW reports that a deletion occurred, how can I learn more about the deleted thing?
It's already gone. If you need more information, you should have been remembering it.
The post When ReadDirectoryChangesW reports that a deletion occurred, how can I learn more about the deleted thing? appeared first on The Old New Thing....
Take me to this post.
March 06, 2026
When to Use Strategy Pattern in C#: Decision Guide with Examples
When to Use Strategy Pattern in C#: Decision Guide with Examples
The Strategy pattern is a powerful behavioral design pattern, but knowing when to use Strategy pattern in C# is just as important as knowing how to implement it. This guide provides clear decision criteria, real-world scenarios, and code examples to help you determine when to use Strategy pattern in C# for your application.
Understanding when to use Strategy pattern prevents over-engineering while ensuring you apply it in scenarios...
Take me to this post.
March 06, 2026
Obys: The Small Studio Designing Big Digital Narratives
An inside look at Obys and how a small team creates award-winning digital experiences through storytelling, structure, and intentional design....
Take me to this post.
March 06, 2026
Error'd: That's What I Want
First up with the money quote,
Peter G.
remarks
"Hi first_name euro euro euro, look how professional our marketing services are!
"
"It takes real talent to mispell error" jokes
Mike S.
They must have done it on purpose.
I long wondered where the TikTok profits came from, and now I know. It's
Daniel D.
"I had issues with some incorrectly documented TikTok Commercial Content API endpoints. So I reached out to the support. I was delighted to know that it worked and my reference num...
Take me to this post.
March 06, 2026
You'll never see my child's face
I became a dad recently, and I’m not publishing a bunch of photos of my kid
like most parents do.
Some people started asking me why, so here it is....
Take me to this post.
March 06, 2026
The Agentic Hacking Era: Ramblings and a Tool
A few weeks ago I wrote about how AI is going to impact bug bounty. That post was mostly predictions. This one is about what’s actually happening right now....
Take me to this post.
March 06, 2026