I think in a language designed around FP ergonomics and expectations there's a lot to like about it. In your second example, as a retrofit, I find myself asking "when does MapErr stop consuming the input list?", "which…
My memory is that once you begin using the alternate screen, you need to turn on mouse reporting, and then you lose native copy. Different terminal emulators also act totally differently when in this state.
I don't think people in this thread aren't really confused about MCP. They are confused that you claimed, or at least insinuated that an LLM might skip the schema validation portion of an MCP tool call request/response,…
I'm not sure whether you're confused, or I'm just having a horrible time understanding your point. The MCP server really does just serve requests with responses via a mechanism that satisfies the MCP spec. The MCP hosts…
I've been using your app for the last 3-4 months very successfully. There are a few niggles here and there but overall it's been exactly what I needed, and I'm very grateful for it!
Just as a note, the GitHub CLI doesn't use bubbletea itself right now, though it does use other charm libraries such as lipgloss and glamour. That said, it's quite likely that at some point we will use huh for our…
Ah, I think you might be pleasantly surprised that this is an area being focused on right now with attestations[1] for example, here are the attestations for the GitHub CLI[2]. 1:…
Recently I've been wondering if there is a "build your own X" for some of these concepts. For example, there is https://github.com/xyproto/vt100 which seems relatively straightforward (though maybe not "simple") to…
I'm a maintainer for the GitHub CLI. When our prompting dependency became unmaintained, the folks from Charm reached out to us looking to collaborate on a replacement (collaborate is a strong word for the amount of work…
Recently, I've been toying with including asciinema in automated tests. Spinning up a TUI or richer CLI experience, sending it keystrokes, asserting on the output, all wrapped up in asciinema so that if it fails I can…
When recording finishes you are given the option to upload or save to local file.
Northern Irish, living in the Netherlands, commenting on hacker news, there must be severals of us!
Years ago when I was starting to interview for Uber in Europe I went through some data structure exercise which I failed at horribly. When I asked the hiring manager whether this was representative of the job, because I…
https://relatedwords.org/ is also pretty neat for this. It's slightly less strict than a thesaurus so it can aid in exploring the semantic space a bit more.
I don't follow this. My assumption for the repository interface is something like (language, error and domain agnostic): interface Repository<T> { FetchAll() T[] Fetch(id) T Persist(T) id } Why would the SQL statements…
Such a thing exists: https://github.com/BurntSushi/go-sumtype
Location: Amsterdam, The Netherlands Remote: Yes Willing to relocate: No Technologies: Go, TypeScript, Rust, Terraform, Kubernetes, Containers, FP Résumé/CV: https://www.linkedin.com/in/william-martin-41400517/ Email:…
I find "A Secret Sleeping in the Deep Sea" really takes me back to my childhood.
Sure, there's many ways to skin a cat. Given the option, I wouldn't choose either of these, and instead use something like filterMap[1] which I think conveys intent better than a fold or flatMap. Btw, I'm assuming that…
They don't want to keep the unmapped value in the resulting collection at all. flatMap allows for removal of an element in one traverse, unlike filter+map with eager behaviour.
tRPC is a good choice for TypeScript: https://trpc.io/
> The only thing that's different is that you get a single value you have to check for errors rather than a separate value.. The type system confines you to a set of reasonable cases that allow a caller to reason about…
Just some anecdotes from an expat: My landlord is 80+ and cycles everywhere. My parents in law are 75+ and are about to get rid of their car altogether since they either cycle or take public transport. My aunt in law is…
Awesome thank you for the clarification. I extra agree with the confusion then since `fmap` sounded exactly like `flatMap` to me!
Seems like this would be a bit confusing though? `fmap` (flatMap) corresponds to `bind` or `chain` (Monad) rather than `map` (Functor) right?
I think in a language designed around FP ergonomics and expectations there's a lot to like about it. In your second example, as a retrofit, I find myself asking "when does MapErr stop consuming the input list?", "which…
My memory is that once you begin using the alternate screen, you need to turn on mouse reporting, and then you lose native copy. Different terminal emulators also act totally differently when in this state.
I don't think people in this thread aren't really confused about MCP. They are confused that you claimed, or at least insinuated that an LLM might skip the schema validation portion of an MCP tool call request/response,…
I'm not sure whether you're confused, or I'm just having a horrible time understanding your point. The MCP server really does just serve requests with responses via a mechanism that satisfies the MCP spec. The MCP hosts…
I've been using your app for the last 3-4 months very successfully. There are a few niggles here and there but overall it's been exactly what I needed, and I'm very grateful for it!
Just as a note, the GitHub CLI doesn't use bubbletea itself right now, though it does use other charm libraries such as lipgloss and glamour. That said, it's quite likely that at some point we will use huh for our…
Ah, I think you might be pleasantly surprised that this is an area being focused on right now with attestations[1] for example, here are the attestations for the GitHub CLI[2]. 1:…
Recently I've been wondering if there is a "build your own X" for some of these concepts. For example, there is https://github.com/xyproto/vt100 which seems relatively straightforward (though maybe not "simple") to…
I'm a maintainer for the GitHub CLI. When our prompting dependency became unmaintained, the folks from Charm reached out to us looking to collaborate on a replacement (collaborate is a strong word for the amount of work…
Recently, I've been toying with including asciinema in automated tests. Spinning up a TUI or richer CLI experience, sending it keystrokes, asserting on the output, all wrapped up in asciinema so that if it fails I can…
When recording finishes you are given the option to upload or save to local file.
Northern Irish, living in the Netherlands, commenting on hacker news, there must be severals of us!
Years ago when I was starting to interview for Uber in Europe I went through some data structure exercise which I failed at horribly. When I asked the hiring manager whether this was representative of the job, because I…
https://relatedwords.org/ is also pretty neat for this. It's slightly less strict than a thesaurus so it can aid in exploring the semantic space a bit more.
I don't follow this. My assumption for the repository interface is something like (language, error and domain agnostic): interface Repository<T> { FetchAll() T[] Fetch(id) T Persist(T) id } Why would the SQL statements…
Such a thing exists: https://github.com/BurntSushi/go-sumtype
Location: Amsterdam, The Netherlands Remote: Yes Willing to relocate: No Technologies: Go, TypeScript, Rust, Terraform, Kubernetes, Containers, FP Résumé/CV: https://www.linkedin.com/in/william-martin-41400517/ Email:…
I find "A Secret Sleeping in the Deep Sea" really takes me back to my childhood.
Sure, there's many ways to skin a cat. Given the option, I wouldn't choose either of these, and instead use something like filterMap[1] which I think conveys intent better than a fold or flatMap. Btw, I'm assuming that…
They don't want to keep the unmapped value in the resulting collection at all. flatMap allows for removal of an element in one traverse, unlike filter+map with eager behaviour.
tRPC is a good choice for TypeScript: https://trpc.io/
> The only thing that's different is that you get a single value you have to check for errors rather than a separate value.. The type system confines you to a set of reasonable cases that allow a caller to reason about…
Just some anecdotes from an expat: My landlord is 80+ and cycles everywhere. My parents in law are 75+ and are about to get rid of their car altogether since they either cycle or take public transport. My aunt in law is…
Awesome thank you for the clarification. I extra agree with the confusion then since `fmap` sounded exactly like `flatMap` to me!
Seems like this would be a bit confusing though? `fmap` (flatMap) corresponds to `bind` or `chain` (Monad) rather than `map` (Functor) right?