Posts by lambdageek@mastodon.social
(DIR) Post #AaCcQr5GSku4E99T04 by lambdageek@mastodon.social
2023-09-27T17:29:03Z
0 likes, 0 repeats
Accidentally installed two copies of some internal app `/Applications/Foo.app` and `/Applications/Foo 2.app` and now whenever I drag one of them to the trash, the other one stops working.#enterpriseSoftware #macOS #macAppsByWindowsProgrammers
(DIR) Post #AcHTnaTMRniExgq0OG by lambdageek@mastodon.social
2023-11-28T23:07:04Z
4 likes, 2 repeats
A guide to diagnosing weird pauses in apps on modern runtimes:10ns: atomics10ms: GC10s: DNS, it's always DNS1m: still DNS1h: locking1d: you messed up the TTL in DNS 1w: still DNS, you forgot to bump the serial number in a zone file last week
(DIR) Post #AcSUX6tAuMk3GlB6ps by lambdageek@mastodon.social
2023-12-04T03:04:09Z
1 likes, 0 repeats
New way to steam a ham just droppedhttps://www.youtube.com/watch?v=dgvzDzXtVYE#steamedHams #ytp #shitPost #youtube
(DIR) Post #Ad5J4ao0q0usNwrWnA by lambdageek@mastodon.social
2023-12-23T00:38:38Z
0 likes, 0 repeats
@niconiconi @lanodan @not2b > shell scripts are inherently sequentialFunny you should say that...https://www.usenix.org/conference/osdi22/presentation/kallasThis research group wrote a JIT(!) for bash(!!) that also automatically parallelizes the code (!!!)
(DIR) Post #Ad5K5Fdj7M5Uz4vfdI by lambdageek@mastodon.social
2023-12-23T00:52:37Z
1 likes, 0 repeats
@niconiconi @lanodan @not2b This thread seems to suggest that pash isn't quite there yet https://www.spinics.net/lists/ac/msg14049.html 😞
(DIR) Post #AwPd2p6mP6M90fSsoS by lambdageek@mastodon.social
2025-07-23T02:11:15Z
0 likes, 0 repeats
@mcc I'm mostly fine with rust error handling when it's just this error and .into()? all over the place, but then I'm forced to interact with some Option<Result<T>> async monstrosity or handle an io::Error and I just...
(DIR) Post #AwPd2r2FEvuuzBMI1Q by lambdageek@mastodon.social
2025-07-23T02:25:15Z
0 likes, 0 repeats
@mcc oh I thought of another thing that is unpleasant: impl Iterator<Item = Box<dyn Error> > is like never good enough when I want to walk a chain of errors.
(DIR) Post #AwPd2uP2icw5Ql32TQ by lambdageek@mastodon.social
2025-07-23T02:35:42Z
0 likes, 0 repeats
@mcc yeah this comes up when you have some extra trait that all of your own errors implement and you want to walk through a chain of causes and do your special trait things and the std Error trait only gives you an impl Error not an impl Error + YourTrait miette (and I think anyhow) end up basically making their own traits have a whole duplicated traversal thing for this exact reason.I don't have a solution, but the status quo is sad
(DIR) Post #AwPd2wRF9PstkA5pBI by lambdageek@mastodon.social
2025-07-23T02:58:02Z
0 likes, 0 repeats
@mcc I didn't mean to imply that miette solves my particular problem (walk a chain of types that implement Error/Diagnostic and do some special other trait to them).I think std should do two things: 1. Provide building blocks for other crates to build frameworks2. Provide a lingua franca so that creates that use different frameworks can still interoperate. Things like async feel like they strike this balance much more deliberately. Whereas the std Error trait feels more haphazard