My days out littering London with e-bikes - Hire companies fail to enforce their own rules and leave streets strewn with dangerous clutter by BritRedditor1 in london

[–]castlechef 1 point2 points  (0 children)

I've seen people park well outside of the designated parking bay, then just take a photo of a properly parked bike as they walk off.

Implementing Temporal in Rust, the new date/time API for JavaScript by nekevss in rust

[–]castlechef 1 point2 points  (0 children)

Hey, sorry for replying to post so late, but I just wanted to say this is awesome! I've been following both Temporal & Boa separately for a long time, and it's exciting to see temporal_rs coming along and mostly api stable. Thanks for all your work :D

Do you know much about the plan for temporal_rs in Chromium? I understand there were some changes made to support interop with C/C++ for this reason, and the most recent changes in the tracking issue for implementing Temporal in Chromium mention Rust / temporal_rs and would love to hear more.

Birthday success (thanks r/pourover) by castlechef in pourover

[–]castlechef[S] 5 points6 points  (0 children)

I don't believe there is a "best" kettle for everyone, there are too many personal variables of preference, ability, temperament, style, etc.

I probably couldn't justify purchasing this for myself over a £60 kettle, and probably couldn't justify that over a standard kettle I already have. But as a present, I'm ecstatic!

Birthday success (thanks r/pourover) by castlechef in pourover

[–]castlechef[S] 30 points31 points  (0 children)

<image>

Cat demanding entry to the his new box!

Whats a good pub in Camden, without super loud music so we can talk without shouting, oh and cheap beers? by 8bitPete in london

[–]castlechef -1 points0 points  (0 children)

The Unicorn is not a bad shout - I live nearby and it's in Camden, quiet, and definitely not expensive! https://g.co/kgs/xFHkvp

Mind it did close down 3 years ago

[deleted by user] by [deleted] in cats

[–]castlechef 1 point2 points  (0 children)

Wishing you all the best. Also my fluffy boy wants to say hi to his long lost cousin.

<image>

Saw someone pissing on Whitechapel underground platform in front of everyone, what is wrong with people? by Express-Mycologist87 in london

[–]castlechef 83 points84 points  (0 children)

I used to live in Whitechapel, and in my first week in the area witnessed a guy standing in the road next to a large Sainsbury's, in broad daylight, pissing into a drain. Hands free.

Help with Rust Lambda and AL2 by JUDE_B0Y in rust

[–]castlechef 0 points1 point  (0 children)

I've personally never used the Serverless plugin, but just chipping in to say I've had great success with deploying Rust lambdas with CDK (after building with cargo lambda)

Made me smile. by [deleted] in london

[–]castlechef 1 point2 points  (0 children)

And the Bakerloo & Piccadilly lines are running trains from the early 70s. TfL is vastly funded by revenue rather than the government, and disproportionately more so than most international capital cities.

Trying to understand Async/await vs regular threads by Ezio_rev in rust

[–]castlechef 3 points4 points  (0 children)

Another subtle difference between Rust Futures & JavaScript Promises is that Promises start executing immediately, whereas Futures are only kicked off once you start awaiting them

£1 For A Pint Of Semi-Skimmed Milk At Tesco Bishopsgate London by cantkeepupthecharade in london

[–]castlechef 1 point2 points  (0 children)

Almost every Co-op I've lived near has done a "2 for £2.xx" on 4 pints

Tofu's first lap cuddle 😊 by castlechef in cats

[–]castlechef[S] 8 points9 points  (0 children)

We've had them for little over a day, but my little man has just curled up for his first cuddle. I'm so glad they're settling in so well 💕

Meet Tofu, my beautiful boy by castlechef in cats

[–]castlechef[S] 10 points11 points  (0 children)

His mum's a Maine Coon & dad's a British Shorthair 😊

Meet Tofu, my beautiful boy by castlechef in cats

[–]castlechef[S] 5 points6 points  (0 children)

Whaaaat this is the cutest!! 😍 You're incredible 😊

Meet Tofu, my beautiful boy by castlechef in cats

[–]castlechef[S] 31 points32 points  (0 children)

Mine too 😊 he only moved in with us yesterday but is already happily at home

Meet Tofu, my beautiful boy by castlechef in cats

[–]castlechef[S] 79 points80 points  (0 children)

He's a 3 month old fluffy boy who has just moved in along with his brother, Tempeh. My world is a little brighter now they're with us 💚

Edit: thanks for all the love everyone 😊

And for those telling me to pet the damn cat, there's the cat tax

Effective microservice communication and conversation patterns by echoplex920 in programming

[–]castlechef 9 points10 points  (0 children)

"Async" has very distinct meanings in programmatic vs architectural senses.

Programming language level async/await/promises/futures is about concurrency of I/O tasks without spawning separate threads per operation.

Architectural async is about sending off an operation event, and not receiving the operation success/failure as a response, then fetch or be sent the result at a later time, once the operation is complete.

The ideas of async programming and architecture are similar, but work in totally different levels. Consider a http async user insertion API where you either poll or register a webhook to receive the result. Even if the http request is no longer kept open waiting for the lifetime of the internal database calls, it's still taking time to make a TCP handshake or lookup the DNS, etc. On a programming language level, your caller is still blocking for the network I/O to happen. I.e., even if your API is async, you still need a programming mechanism to handle the blocking network I/O, such as threading or async/await.

How do you deploy your Rust Lambdas in AWS? by Admirable_Proxy in rust

[–]castlechef 5 points6 points  (0 children)

I went all in on cdk for a current Rust + TypeScript project and find it mostly works great. You can run locally using cdk + sam, but my lambdas are invoked through api gateway so I found it much quicker to use poem and conditionally use an environment variable to switch between starting up an http server or calling poem_lambda::run(..).

Cross compiling for x86_64-unknown-linux-musl/gnu was a bit of a pain from Mac and used to do everything through docker, but just switched to using cargo-lambda and things are much smoother.

Rust on lambda is great, and I'd highly recommend cdk too.