3,138 karma · joined Feb 12, 2018 (8y ago) · 1,452 submissions
comment 1y ago · link · parent
Bit like Pydantic. It's a JSON parsing library at the end of the day, and now suddenly that's got a corporate backer and they've built a new thing
Polars is similar. It's a faster Pandas and now suddenly it's no longer the same prospect.
FastAPI the same. That one I find even more egregious since it's effectively Starlette + Pydantic.
Edit: Add Plotly/Dash, SQLAlchemy, Streamlit to that list.
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
Personally though I find it easier to just drop into C extensions at the point that NumPy becomes a limiting factor. They're so easy to do and it lets me keep the Python usability.
comment 1y ago · link · parent
comment 1y ago · link · parent
At the time we were part of the wave I suppose that was trying to convince people that open source Python was a better prospect than MATLAB which was where many people in physics/engineering were on interpreted languages. At least in my view, it wasn’t until much more recently that Julia became a workable alternative to those, regardless of the performance benefits (which were largely workable in Python and MATLAB anyway - and for us at least we were happy developing extension modules in C for the flexibility that the Python interface gave us over the top).
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
You should sit in some academic meetings and paper drafting e-mail chains! There’s a degree of believing the best in people but in my experience that can unfortunately be misplaced in science.
comment 1y ago · link · parent
So if you wanted to write a Python Physics library that included, say, time integration with an implicit solver like those SUNDIALS provides (and SUNDIALS is like the gold standard in this area), you have less well used options for the time integration part if you write the extension in Rust as if you do in C/C++. Or you're using the same library anyway.
comment 1y ago · link · parent
Nothing wrong with that as a starting point of course, but it's easier just to compile it as a dependency and look at the core documentation if you're familiar with C++; you'll need to be reading the C++ examples anyway to write Rust code with it.
comment 1y ago · link · parent
Or they just focused on getting into government with very little plan about what to do when there, and with a particularly inexperienced team (few former cabinet ministers in the elected Labour MPs).
comment 1y ago · link · parent
Part of the issue we're in such a political crisis at the moment is the growth and expansion of the court system to block things that politicians try to do. Just to give an example - the European Court of Human Rights has dramatically expanded through case law the Article 3 from a clause intended deliberately to protect people within their own state from inhumane treatment e.g. torture, indefinite imprisonment, to an absolute clause that blocks extradition or deportation of anyone if they're deemed to be at risk in the country they'd be removed to. This was explicitly rejected by the drafting states. The ECHR claimed not to apply to immigration or deportation decisions, and it was only in the late 80s with this case that they changed their position on that with the decision in Soering v United Kingdom (https://en.wikipedia.org/wiki/Soering_v_United_Kingdom). Prior to this they declined to intervene in cases like this. Whether or not you agree with this, it's my view that it is up to politicians to decide on the law that applies to a country, and it's judicial overreach to expand it. Aside from this, people see problems that they think the politicians should be fixing and the country has sleepwalked into a position where these powers have been delegated to unelected bodies (NHS England being at arms-length from the Health Secretary even though people view this as the government's problem to fix, leading to current government abolishing NHS England entirely to try and take control again) and even totally unaccountable private organisations ("can't disclose due to commercial sensitivity" is commonly trotted out in Freedom of Information requests to avoid embarrassing private companies operating public services).
> But there are practical things which could be done by means of constitutional reforms that would not be easy for an incoming illiberal and radical government to undo, at least not quickly. There could be fundamental reform of the House of Lords to extinguish prime ministerial patronage. The Royal Prerogative could be placed on an entirely statutory basis.
The problem is that mucking about with this and putting it on statutory basis is that that can be changed by an Act of Parliament trivially - no Parliament is legally able to bind it's successors. Look for e.g. at the Coalition - they legislated that Parliament would have fixed terms of 5 years in the Fixed Term Parliaments Act, and then the Dissolution and Calling of Parliament Act 2022 was later passed and everything reverted to the old system.
comment 1y ago · link · parent
That's a likely a fair underestimate because many religious marriages aren't legally valid because of various requirements that the Church of England doesn't have to follow as the state church. In Catholic churches for e.g. they need to register the building, then either appoint the priest as an authorised person or get a registrar to come to every ceremony as in a civil wedding. They do usually do this but most non-Christian religions don't bother with this at all and so the couple end up just having a civil ceremony first and the religious one after.
comment 1y ago · link · parent
It’s therefore not uncommon if it’s local for more distant friends of family, neighbours, etc. to pop along to the ceremony at invitation of the couple or their parents as a result, but not to be invited to the party part. Sometimes older guests will just come to ceremony too.
comment 1y ago · link · parent
I have a young child - he's two and a half. Most people are considerate and ask if it's OK to take a photo - and I generally say yes if it's friends - but we were at a wedding recently and a staff member, total stranger, at the venue was laughing at him running around and asked if they could take a picture, and then got stroppy when I said no. I just think it's quite strange behaviour to want to take photos of a child you don't know. It's quite different to the professional photographer taking photos for the hosts in my mind, which you basically accept by bringing your kids to an event like that.
A mum at a playgroup just took out phone and started filming my son playing with her child. My wife asked her to stop and she again got quite stroppy, even though the group explicitly said that photos should only be taken with consent in that space!
comment 1y ago · link · parent
It's incredibly frustrating. I also think it's really strange that when something happens in public, the default isn't to look to see if the person isn't OK anymore, it's to pull out a camera phone and start filming.