tariqkb

Results comments of tariqkb

> This is easy to do with a plugin or overriding a subtask. I know that that approach has way more friction than having this as a built-in feature, but...

https://book.getfoundry.sh/cheatcodes/parse-json#how-to-use-stdjson Follow the steps outlined before that code snippet. Notably you need to add `using stdJson for string;` to your contract

I'm still new to typescript, but I have a feeling that it's because every time you call the getter, it creates a new observable. Try something like this? ``` typescript...

Trying the example here https://docs.anthropic.com/en/docs/claude-code/sdk/sdk-typescript#creating-custom-tools but it doesn't seem to work either: ``` [ERROR] MCP server "my-custom-tools" Failed to connect SDK MCP server: Error: Stream closed ```

Found a workaround ```js import { createSdkMcpServer, query, tool } from "@anthropic-ai/claude-code" import { z } from "zod/v3" const options = { name: "my-custom-tools", version: "1.0.0", tools: [ tool( "calculate_compound_interest",...

> Personally, I've always disagreed with the notion that slices are "pointers". They are not. They are simply a view into a region of memory. > The fact that they...

That's excellent, thank you. I haven't seen ziglings before, that's a very helpful resource

@fvictorio I am able to reproduce this issue with the following minimal steps 1. `hardhat init` 2. `npm install @nomicfoundation/hardhat-foundry` 3. Add `require("@nomicfoundation/hardhat-foundry")` to hardhat.config.js 4. `hardhat init-foundry` (coverage will...

@grandizzy I'm not sure I understand. It's not consistent that the following works without using stopPrank: ```solidity vm.startPrank(alice); counter.setNumber(0); //

I started getting this error after upgrading as well. I narrowed it down to version v5.66.4 introducing this behavior.