Better HN
topnewbestaskshowjobs
Log inSign up

physicsguy

3,142 karma · joined Feb 12, 2018 (8y ago) · 1,452 submissions

Former Physicist. Now developer. Have worked in academia, scientific software development.
Submissions

comment 4y ago · link · parent

Gilts are relatively risk free, in that they’re backed by government to pay some value out at a time in the future.

Derivative products based on the price of gilts where you might have to put up collateral are not.

comment 4y ago · link · parent

The strategy was nuts.

Pension funds were loaning gilts to banks, and then using the money to buy gilts which they then loan to banks, and then using the money to buy gilts…

comment 4y ago · link · parent

If you think it’s bad in the US, it’s going to be a total catastrophe in the UK.

* Similar problems with house prices going up

* If you default on a mortgage in the UK, you still owe the difference between what the bank are able to sell it for and your original loan.

* The period over which people have fixed interest rates is most commonly two years, and at that point, people have to remortgage, or go onto a “variable rate”. Many people will not be able to remortgage, so they’ll end up at the Bank of England’s interest rate plus an additional 3.5-4%.

comment 4y ago · link · parent

Similarly, some of these are just style. Using Path(x).read_text() rather than a context manager for opening the file for e.g.

comment 4y ago · link · parent

> In most programming languages, the linear algebra handling for these kinds of standard operations is performed by underlying libraries called the BLAS and LAPACK library. Most open source projects use an implementation called OpenBLAS, a C implementation of BLAS/LAPACK which does many of the tricks required for getting much higher performance than "simple" codes by using CPU-specialized kernels based on the sizes of the CPU's caches. Open source projects like R and SciPy also ship with OpenBLAS because of its generally good performance and open licensing, though it's known that OpenBLAS is handily outperformed by Intel MKL which is a vendor-optimized BLAS/LAPACK implementation for Intel CPUs (which works on AMD CPUs as well).

Much of this is more complex than this. Most open source software doesn’t ship with any assumptions about a particular BLAS/LAPACK implementation at all - and on HPC systems you are generally expected to choose one as appropriate and compile your code against it. It is generally only when you download a precompiled version that you’re given a particular implementation, but it doesn’t mean you can’t use another one if you compile from source as the BLAS and LAPACK libraries just present a standard API. Generally, for performance reasons, you want to compile specifically for your platform, because precompiled wheels from Conda, PyPI, etc. will leave performance on the table.

On forward thinking cluster teams these days, sysadmins use tools like Spack and Easybuild and to some degree software is made available to available to users either directly or by request, so it’s usual to log into a cluster and have multiple implementations available to choose from and compile your code against. More often than not, it’s still on you however to compile against what you need as dependencies. It’s a worthwhile exercise in HPC to try different ones and check the performance characteristics of your code on the particular machine with multiple implementations.

comment 4y ago · link · parent

Blanket statements like this just show that people don’t understand why people stuck with a language.

I worked in C/C++ for a long time, though it’s been a while now. I just went to look at whether Rust had any bindings for MPI. It does - rsmpi. But they’re not fully implemented, and only support a restricted subset of MPI implementations which are pretty much the latest versions. Some others might work, but it is not explicitly tested against them. Without that, there’s a whole class of distributed applications that you’d be ill advised to write in Rust using that library, because it’s such a fundamentally core library for distributed applications, which needs to be compiled differently and with specific versions to handle the specialist interconnects on HPC systems. If you only support the latest versions, your code is not very portable to other machines.

comment 4y ago · link · parent

The profitability of a GPU miner has dropped by about 2/3 with this overnight. So it remains to be seen where they actually go.

comment 4y ago · link · parent

It is only worth it though if the shitcoin is worth more than the cost of electricity used to generate it. At the moment and for many miners, that just won’t be the case.

comment 4y ago · link · parent

You get CVE’s inside Django because it’s a large and widely used target, and because in Flask, FastAPI, etc. you end up implementing a lot more stuff yourself instead of using built in things. That doesn’t necessarily mean your code is more secure!

comment 4y ago · link · parent

In the UK they're making it so that from Jan-March all bus journeys will be £2. I live just outside of a city (in a different county) and a single ticket is about £4 at the moment to where I work. I'll definitely be getting the bus for that period.

comment 4y ago · link · parent

I guess the world will know that I like cooking videos, home renovations, and ladies in bikinis.

comment 4y ago · link · parent

It's not uncommon, especially in ORMs. For e.g. if I use django and call my app X then all my DB tables are by default prefixed with X

comment 4y ago · link · parent

> People without computer literacy and/or basic programming skills won't be able to pull this off.

Yet. This is a huge leap forward, to get more basic prompts generating things will be a much smaller leap IMO.

comment 4y ago · link · parent

> In Britain, people from both places will leave their shoes on indoors at home

This is by no means a universal thing here!

comment 4y ago · link · parent

He means “conflicts of interest”

comment 4y ago · link · parent

Probably put an authorisation on the card at booking time, similar to how hotels do

comment 4y ago · link · parent

When low percentages went to University it was less competitive. Going to University was enough to get a good job, and now it isn’t.

comment 4y ago · link · parent

With super low interest rates for a long time and government financial support during COVID, the number of zombie businesses surviving longer than they probably should has been enormous.

But with that said, it’s not something to celebrate, people’s lives are hugely affected when they lose employment.

comment 4y ago · link · parent

… no it isn’t?

Someone with the default tax code would take home £ 25,539.52 which means they pay 20.2% in tax. It’s quite low by many countries standards but certainly not 15%.

comment 4y ago · link · parent

I’m Germany, that’s the way it works, once you choose to go private you cannot opt back into the public system. People sometimes do it if they don’t plan to stay in Germany though, usually if they are immigrants.

comment 4y ago · link · parent

The supply side limit is purely because the government chooses not to train sufficient staff. We have a government imposed cap to train 7500 doctors per year at University. Then when they finish, they do two years at FY1 and FY2 level, but there are not then sufficient places for all doctors to go onto a training programme. A friend of mine is applying for the January intake of anaesthetics this year for e.g. and there are something like 25 places in the entirety of the UK for that specialty. So people end up working as locums, working to fill gaps in rotas, which has a high hourly rate. Then, when they do finally manage to get a training place, they take a big pay cut and work more hours. That’s if we’re lucky - because plenty of them just go to Australia where the standard working week for a Dr is 40 hours, and many of them don’t bother coming back. But this is a problem created entirely by the government’s choices.

We also have a hugely archaic system in the Royal Colleges. In no other profession do we expect people to sit regularly very expensive professional exams, and expect the staff to fund them out of their own salary rather than them being funded by their employer. £600 a go is not unheard of.

comment 4y ago · link · parent

They do, but they’re fairly advanced level courses. For e.g. if you go down the Theoretical Physics or Applied Maths routes you’ll do perturbation theory and asymptotic analysis, probably in Master’s level or grad school.

Most people will do some computational courses that at least have them solving basic PDEs in their first or second year of undergrad now.

(This reflects the state of those in the UK at least)

comment 4y ago · link · parent

There’s such a diversity of systems it’s easier to pull data out of the SCADA system and build genetic analytics normally. That’s the approach that’s happened in many industries anyway from what I’m seeing.

comment 4y ago · link · parent

Transaction fees are much lower in Europe, there are some laws about it. That means that credit card rewards are nowhere near as generous.

comment 4y ago · link · parent

To give you the comparable situation - in the UK we have two numbers associated with every bank account (historically one identified the branch of the bank the account was held with, and the other identified the account, but nowadays there’s no real link between a branch anymore). For me to send money to another person or company’s bank account, I just those two numbers, and I can send up to £25k and it will be in their bank account almost instantly. In the last couple of years they introduced a system where it goes to the other person’s bank account to check whether the name you have given for them matches the name on the account, so it warns you if there is a mismatch that there might be fraud.

You can also schedule in advance “standing orders” which pay money to an account on a certain day. This is how pretty much everyone pays rent. We have direct debits where you can pay companies on a regular basis and almost everyone uses this for bills like for local government taxes, energy, water. With this, the company asks for permission to withdraw money for your account on a recurring basis with your details and you have to approve it. Guarantees are built into this system though, so if the company takes more money than they are supposed to, you can call your bank and they are able to pull back the funds.

Both of these have been around since the 60s so when online banking came along it was just implemented in that. It got faster at some point I don’t remember - it used to take about a day for UK transfers but it’s usually seconds now.

You can also send money abroad but it has slightly different limits and takes a bit longer. You just need the IBAN of the account though and can still all be done online in a few clicks.

comment 4y ago · link · parent

In what sense? I've worked with people around the world from a base in the UK and to be honest, don't find staff in other countries are much different. Certainly the quality of output doesn't seem any better.

comment 4y ago · link · parent

That's really interesting. Here in the UK you can set up a limited company (i.e. if the company goes out of business, you are not personally liable for any debts) in about a day and there's no collateral requirement at all.

comment 4y ago · link · parent

It’s worth noting that Siemens licenses the CGM kernel from Dassault for some of their products too though. At least they used to when I worked there…

I think they don’t need to market them - but that’s because they’re aimed at a different market segment. The licensing costs for these tools individually are very high, but big companies buy them as a package along with things like TeamCenter. Inertia is very strong so if a company uses a tool, they’re unlikely to migrate unless they’re forced to for some reason.

comment 4y ago · link · parent

It’s not even just patents, most of these software share solid modelling kernels. The Siemens tools mostly use ParaSolid. Dassault’s use CGM. There’s all sorts of inter licensing deals in this space.
1
343536
49