<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: inaseer</title><link>https://news.ycombinator.com/user?id=inaseer</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Mon, 15 Jun 2026 22:21:22 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=inaseer" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by inaseer in "Ask HN: What are you working on? (June 2026)"]]></title><description><![CDATA[
<p>There are really two separate concerns here.<p>The first is that some effect happens asynchronously, potentially interleaved with other operations. Whether a client observes completion by polling or by receiving an event from a message broker is orthogonal to the specification itself - the model looks essentially the same in both cases. The built-in test executor uses polling, but that's an execution strategy, not a specification construct.<p>If you have a trace containing both requests/responses and observed events, you can use the model to check that the trace conforms to the specification. In practice, it helps if the events can be localized to some interval in the execution (e.g. "this happened after A and before B"); otherwise the checker has to consider many more possible concurrent interleavings.<p>The conformance testing docs hint at how this can be done, but don't yet show an event-driven example. It's a good enough question that I'll write a dedicated doc page on it.<p>Conformance testing page: <a href="https://microsoft.github.io/accordant/docs/concepts/conformance-testing.html" rel="nofollow">https://microsoft.github.io/accordant/docs/concepts/conforma...</a></p>
]]></description><pubDate>Sun, 14 Jun 2026 23:36:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=48534304</link><dc:creator>inaseer</dc:creator><comments>https://news.ycombinator.com/item?id=48534304</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48534304</guid></item><item><title><![CDATA[New comment by inaseer in "Ask HN: What are you working on? (June 2026)"]]></title><description><![CDATA[
<p>Property-based testing and model-based testing are closely related. Both ask the developer to state the expected behavior of a system (whether you call it a property, invariant, model, specification, or contract) and then validate that behavior over arbitrary inputs and arbitrary sequences of operations. Property-based testing frameworks also typically provide fuzzing and shrinking.<p>Where we felt there was a gap was in expressing rich stateful behavior: models involving non-determinism (e.g. a timeout where the write may or may not have committed), concurrency, and eventual asynchronous completion, and then checking that an observed execution trace conforms to that model. Accordant aims to make those kinds of specifications concise and readable.<p>Once you have such a model, it's possible to integrate it with the fuzzing and shrinking capabilities of existing property-based testing libraries. We'll have documentation on that integration soon.</p>
]]></description><pubDate>Sun, 14 Jun 2026 23:28:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=48534207</link><dc:creator>inaseer</dc:creator><comments>https://news.ycombinator.com/item?id=48534207</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48534207</guid></item><item><title><![CDATA[New comment by inaseer in "Ask HN: What are you working on? (June 2026)"]]></title><description><![CDATA[
<p>I've been working on a framework for writing executable specs in .NET called Accordant, developed at Microsoft and open sourced recently.<p>Github: <a href="https://github.com/microsoft/accordant" rel="nofollow">https://github.com/microsoft/accordant</a><p>Docs: <a href="https://microsoft.github.io/accordant" rel="nofollow">https://microsoft.github.io/accordant</a><p>Every API has a contract - the rules for how it should behave. You can't withdraw more than the balance. You can't delete a resource with active references. You can't re-create what already exists. But usually these rules are never written down in one place. Accordant lets you write the contract directly, as executable code. Not documentation that drifts, but code - if the implementation stops behaving according to the contract, you get immediate failures. Not only can you use the executable spec to validate _arbitrary_ scenarios, you can also use the spec - a first class construct - to mechanically explore the state space of a system and generate interesting test sequences. The docs above have examples.<p>Also worth calling out that we've used the framework to model a number of complex, distributed real-world systems: those involving async processes, concurrency, retries and crash consistency. These are non-trivial specs (and they pair quite well with techniques like deterministic simulation testing). Great care has been taken to ensure the specs remain readable and concise despite that richness of behavior. For those of you old timers who might be familiar with Spec#/SpecExplorer and NModel, this model-based testing library is a descendant of that line of work.<p>With the rise in AI-assisted software development, I feel we need richer ways of specifying and validating software and I feel quite excited and bullish about the possibilities here. There's a lot more to say on the topic - follow my twitter feed if interested in more updates ;)</p>
]]></description><pubDate>Sun, 14 Jun 2026 22:08:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=48533346</link><dc:creator>inaseer</dc:creator><comments>https://news.ycombinator.com/item?id=48533346</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48533346</guid></item><item><title><![CDATA[New comment by inaseer in "Bombadil: Property-based testing for web UIs"]]></title><description><![CDATA[
<p>Soon!</p>
]]></description><pubDate>Mon, 23 Mar 2026 21:46:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=47495551</link><dc:creator>inaseer</dc:creator><comments>https://news.ycombinator.com/item?id=47495551</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47495551</guid></item><item><title><![CDATA[New comment by inaseer in "Bombadil: Property-based testing for web UIs"]]></title><description><![CDATA[
<p>Yes, I understand why you made these design decisions. And I also agree that sticking to JS/TS keeps things simple (for humans, and LLMs). I generally default to the s and s' way of specifying things (in a C# property-based testing framework I'm working on) but looking at how you approached things here gives me another angle to think about.<p>Good work!</p>
]]></description><pubDate>Mon, 23 Mar 2026 21:32:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=47495377</link><dc:creator>inaseer</dc:creator><comments>https://news.ycombinator.com/item?id=47495377</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47495377</guid></item><item><title><![CDATA[New comment by inaseer in "Bombadil: Property-based testing for web UIs"]]></title><description><![CDATA[
<p>Bombadil takes a fresh approach to UI testing I haven't seen before: online monitoring through LTL formulas. Unlike model-checking (say by TLC), LTL formulas over here unfold in lock-step with the UI and allow users to express interesting temporal properties during testing.<p>The other intriguing aspect was how state is modeled (or rather, maybe not explicitly modeled?). A lot of the examples show the state extracted from the DOM and temporal properties indicating what the next (or eventual) state _should be_. If we want to look at the existing state (according to the model/spec) when predicting the next state (similar to how you can use s when specifying s' in TLA+), there seems to be no direct way to do that. It should of course be possible to capture the state at an earlier time in a closure and use it in a thunk at a later point, so it should be possible to work around this but that can be a little awkward, maybe. I'm working on a project in this space (primarily geared towards backend API model-based testing) and the state of the _real_ system isn't globally inspectable unlike a web page so took a different route over there. Having said that, this is a very interesting design choice that's very intriguing (in a good way).</p>
]]></description><pubDate>Mon, 23 Mar 2026 20:29:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=47494677</link><dc:creator>inaseer</dc:creator><comments>https://news.ycombinator.com/item?id=47494677</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47494677</guid></item><item><title><![CDATA[New comment by inaseer in "Systems Correctness Practices at Amazon Web Services"]]></title><description><![CDATA[
<p>+1.<p>We have used Coyote/P# not just for model checking an abstract design (which no doubt is very useful) but testing real implementations of production services at Microsoft.</p>
]]></description><pubDate>Fri, 30 May 2025 17:37:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=44138360</link><dc:creator>inaseer</dc:creator><comments>https://news.ycombinator.com/item?id=44138360</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44138360</guid></item><item><title><![CDATA[New comment by inaseer in "Ask HN: Who is hiring? (August 2024)"]]></title><description><![CDATA[
<p>Microsoft Azure Storage | Seattle, WA | Onsite or Remote (US only)<p>Our team in Azure Storage is working on applying automated reasoning and validation techniques to scalably generate hundreds of thousands of tests to check data integrity and durability issues, and scalably validate a combinatorial number of feature interactions to catch regressions and subtle bugs that only happen under rare conditions. As a Software Engineer in this team, not only will you get an opportunity to use tools to specify and check the integrity, correctness and performance guarantees of a large and critical Azure service, you will also get an opportunity to work on building and improving the tools themselves as well as learn about existing state-of-the-art tools in this space. The lessons you will learn will be broadly applicable to any distributed system and will help accelerate your growth as a disciplined and thoughtful distributed systems engineer.<p>Microsoft's mission is to empower every person and every organization on the planet to achieve more. As employees we come together with a growth mindset, innovate to empower others, and collaborate to realize our shared goals. Each day we build on our values of respect, integrity, and accountability to create a culture of inclusion where everyone can thrive at work and beyond.<p>The official job posting is not live yet, so please reach out to me directly at imnaseer@microsoft.com and include "Automated Reasoning and Validation Position" in the subject.</p>
]]></description><pubDate>Thu, 01 Aug 2024 15:14:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=41130029</link><dc:creator>inaseer</dc:creator><comments>https://news.ycombinator.com/item?id=41130029</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41130029</guid></item><item><title><![CDATA[So Farewell, TypeScript]]></title><description><![CDATA[
<p>Article URL: <a href="https://twitter.com/dhh/status/1699427078586716327">https://twitter.com/dhh/status/1699427078586716327</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=37408579">https://news.ycombinator.com/item?id=37408579</a></p>
<p>Points: 5</p>
<p># Comments: 0</p>
]]></description><pubDate>Wed, 06 Sep 2023 17:53:37 +0000</pubDate><link>https://twitter.com/dhh/status/1699427078586716327</link><dc:creator>inaseer</dc:creator><comments>https://news.ycombinator.com/item?id=37408579</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37408579</guid></item><item><title><![CDATA[New comment by inaseer in "Turmoil, a framework for developing and testing distributed systems"]]></title><description><![CDATA[
<p>My team used Coyote to test their distributed service against network race conditions. It requires a little bit of setup to ensure all components that typically run on separate machines can run in a single process, and inter-process communication happens through interfaces that can be stubbed out during testing.<p>I designed a series of workshops to teach these ideas internally at Microsoft. You can find the source code used in the workshop at <a href="https://github.com/microsoft/coyote-workshop">https://github.com/microsoft/coyote-workshop</a> - the repo can use better README files but sharing it nonetheless in case the setup helps inspire your own use of Coyote.</p>
]]></description><pubDate>Fri, 18 Aug 2023 03:27:49 +0000</pubDate><link>https://news.ycombinator.com/item?id=37171126</link><dc:creator>inaseer</dc:creator><comments>https://news.ycombinator.com/item?id=37171126</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37171126</guid></item><item><title><![CDATA[New comment by inaseer in "Learn TLA+"]]></title><description><![CDATA[
<p>TLA+ and Coyote pair quite well actually. Verifying the high level design in TLA+ while checking subtle bugs as you translate that design to an implemention.</p>
]]></description><pubDate>Wed, 28 Sep 2022 21:19:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=33013419</link><dc:creator>inaseer</dc:creator><comments>https://news.ycombinator.com/item?id=33013419</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=33013419</guid></item><item><title><![CDATA[New comment by inaseer in "Learn TLA+"]]></title><description><![CDATA[
<p>Check out Coyote (which is an evolution of P) and allows you to "model check" .NET code to find hard to find race condition-y bugs in your implementation. We have used it very successfully on a number of projects at Microsoft. I should probably do more public talks on it to get the word out. Finding subtle bugs in your implementation using tools like Coyote is easier than most people realize.</p>
]]></description><pubDate>Wed, 28 Sep 2022 21:17:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=33013390</link><dc:creator>inaseer</dc:creator><comments>https://news.ycombinator.com/item?id=33013390</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=33013390</guid></item><item><title><![CDATA[New comment by inaseer in "TLA+ is hard to learn (2018)"]]></title><description><![CDATA[
<p>Coyote (concurrency exploration tool for .NET programs) can be used to do something "similar". My team often writes tests which set up focused concurrency between different APIs, the tests use Coyote to explore different ways that concurrency can unfold and write a strong set of assertions and invariants that must be true at the end. It's not TLA+ but it's still quite effective, very teachable as developers are already familiar with writing C# tests and helps catch safety and liveness bugs in our actual code base (as opposed to a model of it). It's not the same, by design, and does a decent job at finding concurrency and distributed system bugs.</p>
]]></description><pubDate>Sat, 21 Aug 2021 22:15:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=28261039</link><dc:creator>inaseer</dc:creator><comments>https://news.ycombinator.com/item?id=28261039</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28261039</guid></item><item><title><![CDATA[Finding interesting concurrency bugs through relatively simple mocks]]></title><description><![CDATA[
<p>Article URL: <a href="https://twitter.com/coyote_dev/status/1382009083029417984">https://twitter.com/coyote_dev/status/1382009083029417984</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=26797654">https://news.ycombinator.com/item?id=26797654</a></p>
<p>Points: 2</p>
<p># Comments: 0</p>
]]></description><pubDate>Tue, 13 Apr 2021 19:19:56 +0000</pubDate><link>https://twitter.com/coyote_dev/status/1382009083029417984</link><dc:creator>inaseer</dc:creator><comments>https://news.ycombinator.com/item?id=26797654</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=26797654</guid></item><item><title><![CDATA[New comment by inaseer in "TLA+ Graph Explorer"]]></title><description><![CDATA[
<p>Visualizations do help a lot when model checkers and concurrency schedule exploration tools like Coyote find bugs. Coyote include the ability to visualize the traces if you express your concurrency using actors (see <a href="https://microsoft.github.io/coyote/#concepts/actors/state-machine-demo/" rel="nofollow">https://microsoft.github.io/coyote/#concepts/actors/state-ma...</a>)<p>It also allows you to implement your own "logger" through which you can emit enough information to construct some cool visualizations. I had a lot of fun working on visualizing an implementation of Paxos using Coyote (then P#) (screenshot at <a href="https://ibb.co/TTk2hYb" rel="nofollow">https://ibb.co/TTk2hYb</a>)</p>
]]></description><pubDate>Thu, 08 Apr 2021 05:12:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=26735294</link><dc:creator>inaseer</dc:creator><comments>https://news.ycombinator.com/item?id=26735294</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=26735294</guid></item><item><title><![CDATA[New comment by inaseer in "Eliminating Data Races in Firefox"]]></title><description><![CDATA[
<p>Loom's style of exploration (and that of aws shuttle mentioned below) can be quite effective. Coyote is the equivalent library in the .NET world (formerly known as P#) and comes with a bunch of exploration "schedulers" (from random exploration to probabilistic and even an experimental reinforcement learning based one). They released an animation rich video today (see <a href="https://news.ycombinator.com/item?id=26718273" rel="nofollow">https://news.ycombinator.com/item?id=26718273</a>). Worth watching even if you're using Rust as Loom and aws shuttle are conceptually similar.</p>
]]></description><pubDate>Wed, 07 Apr 2021 00:46:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=26719249</link><dc:creator>inaseer</dc:creator><comments>https://news.ycombinator.com/item?id=26719249</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=26719249</guid></item><item><title><![CDATA[New comment by inaseer in "Find those pesky concurrency bugs"]]></title><description><![CDATA[
<p>There has been a bunch of content on Coyote shared before as well but the quality of animations and how they explain how it works under the hood in this introduction was excellent.</p>
]]></description><pubDate>Tue, 06 Apr 2021 23:40:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=26718731</link><dc:creator>inaseer</dc:creator><comments>https://news.ycombinator.com/item?id=26718731</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=26718731</guid></item><item><title><![CDATA[New comment by inaseer in "Finding concurrency bugs in .NET services using Coyote"]]></title><description><![CDATA[
<p>Hi HN,<p>The tweet links to a couple of tutorials showing how to test an extremely simple CRUD service using Coyote to find concurrency bugs. Developers write simple unit tests whose concurrency is explored by Coyote to find bugs. You might be surprised to learn how we can write a number of interesting concurrency tests for even the simplest of CRUD services.<p><a href="https://microsoft.github.io/coyote/#tutorials/first-concurrency-unit-test/" rel="nofollow">https://microsoft.github.io/coyote/#tutorials/first-concurre...</a>
<a href="https://microsoft.github.io/coyote/#tutorials/test-concurrent-operations/" rel="nofollow">https://microsoft.github.io/coyote/#tutorials/test-concurren...</a></p>
]]></description><pubDate>Sun, 21 Mar 2021 18:26:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=26532618</link><dc:creator>inaseer</dc:creator><comments>https://news.ycombinator.com/item?id=26532618</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=26532618</guid></item><item><title><![CDATA[Finding concurrency bugs in .NET services using Coyote]]></title><description><![CDATA[
<p>Article URL: <a href="https://twitter.com/coyote_dev/status/1369441896490209282">https://twitter.com/coyote_dev/status/1369441896490209282</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=26532547">https://news.ycombinator.com/item?id=26532547</a></p>
<p>Points: 1</p>
<p># Comments: 1</p>
]]></description><pubDate>Sun, 21 Mar 2021 18:17:30 +0000</pubDate><link>https://twitter.com/coyote_dev/status/1369441896490209282</link><dc:creator>inaseer</dc:creator><comments>https://news.ycombinator.com/item?id=26532547</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=26532547</guid></item><item><title><![CDATA[New comment by inaseer in "Notes on Paxos"]]></title><description><![CDATA[
<p>Shameless plug: <a href="http://imnaseer.net/paxos-from-the-ground-up.html" rel="nofollow">http://imnaseer.net/paxos-from-the-ground-up.html</a><p>I worked on an explanation of Paxos where we start with a simple but incorrect implementation of the protocol. The bug is then fixed and the protocol refined. Which leads to another bug. Interestingly, after fixing 6 or 7 bugs we arrive at the actual working implementation of Paxos. The reader, having walked the path of arriving at the protocol (hopefully) understands the nuances better than just reading the description of the protocol from the get-go.<p>Bonus: The explanation uses simulated visual runs as well, eg. <a href="http://imnaseer.net/paxos-from-the-ground-up.html?section=3&slide=2" rel="nofollow">http://imnaseer.net/paxos-from-the-ground-up.html?section=3&...</a></p>
]]></description><pubDate>Wed, 04 Nov 2020 21:17:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=24993151</link><dc:creator>inaseer</dc:creator><comments>https://news.ycombinator.com/item?id=24993151</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=24993151</guid></item></channel></rss>