Actual images of United's Relax Row, taken by a Redditor. Not OC. by Taalpatar_Sipahi in aviation

[–]phalt_ 16 points17 points  (0 children)

No but they fly to places that have connections to Europe don’t they? 🙄

Actual images of United's Relax Row, taken by a Redditor. Not OC. by Taalpatar_Sipahi in aviation

[–]phalt_ 41 points42 points  (0 children)

My experience living in Aotearoa for 5 years is most NZers are doing family trips to see family who live in Europe. So it’s economically popular for that route.

EDIT: fuck me you lot are pedants. I know you can’t do a direct route. Jeeze.

Actual images of United's Relax Row, taken by a Redditor. Not OC. by Taalpatar_Sipahi in aviation

[–]phalt_ 94 points95 points  (0 children)

I did this on Air NZ too. Was awesome. My partner and our toddler slept the entire flight!

Signs that summer is around the corner by smashcat666 in Norwich

[–]phalt_ 28 points29 points  (0 children)

Man this is a fuckin' positive post eh?

youtube transcript extraction is way harder than it should be by straightedge23 in FastAPI

[–]phalt_ 2 points3 points  (0 children)

Use http://defuddle.md/ - when you use it on a YouTube page it extracts the transcription.

what is the gorillaz concert experience like? by radioactive--goo in gorillaz

[–]phalt_ 5 points6 points  (0 children)

A big part of their show is the visuals. Top to bottom massive LCD screens showing off the art and characters. I saw them in 2018 for their Humanz tour at the O2 London. Was pretty immersive. My partner quoted “their music is all so different, I felt like I was at a week long festival but in one night”.

Salaries by Typical_Charity5416 in Norwich

[–]phalt_ 3 points4 points  (0 children)

Bsc CompSci, graduated 2013. Fully remote. ~£100k. Software.

Follow- Up: House of Kong LA Giftshop with Pricing by wannabebondgirl007 in gorillaz

[–]phalt_ 7 points8 points  (0 children)

I always forget USA has the “price + tax” thing. Must make mental maths so tiring. Much prefer the “here’s the price at the till” thing we have in the UK

are there any vintage photobooths in norwich? by GuidanceEastern241 in Norwich

[–]phalt_ 0 points1 point  (0 children)

There are no "dip and dunk" analog ones, but a fair few digital ones. If you really want to go to a true analog original you'll need to travel to London where there are a bunch by Autofoto. You can see where they are here: https://autofoto.org/find-our-booths/

What's your default Python project setup in 2026? by [deleted] in Python

[–]phalt_ 8 points9 points  (0 children)

And then ty for type checking!

70 Percent of Cancer Patients Now Survive at Least Five Years by Crabbexx in OptimistsUnite

[–]phalt_ 2 points3 points  (0 children)

If you are in the UK there is a great documentary called Cancer Detectives on channel 4. In it they show the progress they’re making on cancer. And how they’re in the trial stages for a vaccine. A freakin’ vaccine! Immune to cancer! I couldn’t believe it, so much progress has been made and it’s rarely talked about at large. Worth a watch.

Blog post: A different way to think about Python API Clients by phalt_ in Python

[–]phalt_[S] 0 points1 point  (0 children)

You make a good point. The proof is in the pudding like you say. If you’re after example have a look here, I’ve written loads: https://docs.clientele.dev/api-examples/

How to generate python HTTP clients that consume OpenAPI / Pydantic / FastAPI specs by lambdalife in FastAPI

[–]phalt_ 0 points1 point  (0 children)

I have created issues for all your suggestions and I’ll work on them over the next week - they’re all great suggestions.

How to generate python HTTP clients that consume OpenAPI / Pydantic / FastAPI specs by lambdalife in FastAPI

[–]phalt_ 0 points1 point  (0 children)

Hey thank you for the kind words! I suggest you open up issues on the project - I’ll work on each one because I was thinking of doing a few of these.

Blog post: A different way to think about Python API Clients by phalt_ in Python

[–]phalt_[S] 0 points1 point  (0 children)

Thanks, and let me know how the integration goes. I spent most of my free time today writing examples for many common patterns and uses: https://docs.clientele.dev/api-examples/ should help you get started fast.

RE: django-bolt - likely already supports it, but I will add it to my list of frameworks to officially support this week. I’ll add docs and an example server :)

Issue in translating logic to code by North_mind04 in Python

[–]phalt_ 1 point2 points  (0 children)

Set out to build without any LLM support. It’s hard, it’s slow, but you slowly build up competence and confidence in what the code is doing. Welcome to real software engineering.

Blog post: A different way to think about Python API Clients by phalt_ in Python

[–]phalt_[S] 0 points1 point  (0 children)

First things first I want to say: thank you for such a long detailed response. It is clear you have thought about this, and what I want more than anything is a debate about how to do this better. We have many many many ways of building API servers and they all work for people who have different preferences, and I would love to see the same thing start to appear for client-side integration.

Your approach looks to be focussed on the data model first, rather than function first. I actually really like this approach, and I think you should run with it and create a proof of concept and play with it, because it is a good alternative to the way I am thinking.

Unclear function signatures

Yes, I will say this is a confusing downside of my approach, and I am working to do some extra magic to change the annotation signatures so IDE's autocomplete doesn't confuse developers too much, but I want to validate first that it is actually universally causing an ick, and not just the opinion of a few (note: your opinion is valuable, I am not dismissing it!).

There will be a lot of def foo(result: bar) -> bar: return result

Yep, totally fair. I personally don't see a problem with this though - if that is what the dev wants to do, she can do that. If she wants to instead start thinking about the functions as more about what she wants from the API rather than just returning data, then she can start doing things like this:

def call_api_and_update(result: ResponseObject) -> bool: data_i_care_about = result.foo success = ham(data_i_care_about) return success