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 6y ago · link · parent

EasyJet in the UK is a prime example of why these restrictions are necessary. Paid out £160 million in dividends, now wants loans on favourable terms...

comment 6y ago · link · parent

This kind of thing is fine for solo-developers but it does not scale well to a team. When there's a testing framework in place, people's tests fit a standard pattern. I can go and look at someone elses test cases and I understand what they're doing to test it, because there's a standard way of doing it. There are methods in pretty much every testing framework for doing things like floating point comparisons correctly; with your way, you have to build up methods to do that yourself (i.e. creating your own framework anyway), or do that inline every single time.

comment 7y ago · link · parent

No, that's a US English meaning that isn't widely used in other English speaking countries.

comment 7y ago · link · parent

'Not really sure why anyone would wanna do that, but that's what you can do!'

Web technology in a nutshell...

comment 7y ago · link · parent

Almost certainly these are mostly business travellers. Increasing the cost would probably deter them from allowing travel where it's not really necessary.

I probably flew twice a year for 8 years and then started a job where I needed to attend events abroad, and flew something like 40 times in 3 years.

comment 7y ago · link · parent

It’s not a subsidy; the companies which sell package holidays need to put the cash up.

It was done because of financially unstable package holiday companies setting up and then failing leaving people stranded. Most people in the UK know to buy an ‘ATOL Protected’ holiday if they go for a package deal.

comment 7y ago · link · parent

If you want to add your own project to Conda, you need to use conda forge, because Anaconda itself is a curated distribution.

Maintaining a conda forge package has been, for us, a complete nightmare. If you depend on another conda-forge package you can have the issue that the library is configured to suit whoever first wrote the conda-forge package - i.e. by disabling parallelism or providing only shared/static libraries, and have that maintainer be completely unresponsive or unwilling to change it.

comment 7y ago · link · parent

There’s nothing wrong with dropping the clock speed when the whole point of SIMD instructions is that they execute on multiple data. As long as the clock speed drop beats the multiplicative speedup from doing 4x/8x/whatever operations in parallel, it’s fine

comment 7y ago · link · parent

I think the CDT programmes in various fields are also pretty good at preparing people for industry careers. A lot of PhD projects are either aiming to address industrial concerns and are industry funded or are tangentially related, and people who aren't industry funded benefit by getting exposure to that world through their colleagues.

comment 7y ago · link · parent

Oh look, yet another project I’ve not heard of (pipx) that I’m being told to use to manage the clusterfuck of Python package management.

comment 7y ago · link · parent

Boots have started doing paper bags now - I got one last week when I went there.

comment 7y ago · link · parent

Also around Universities in my experience.

comment 7y ago · link · parent

I find travelling to Germany a nightmare for cash.

In the U.K. it’s almost at the point of being cashless - indeed I ate at a restaurant on Saturday night which didn’t accept cash.

In Germany it’s like going back to the UK in the early 90s in that regard. Charges to withdraw money from ATMs, the newly built canteen at the office of a large experiment doesn’t accept card, but also wouldn’t take a €50, which was also what the ATM gave me!

comment 7y ago · link · parent

It’s cool, but the circulation for these notes is really low - I only ever used to see £50 notes when working in a shop that sold timber to builders!

comment 7y ago · link · parent

Lush sell bar soap and shampoo bars nowadays which are nice!

comment 7y ago · link · parent

I think it's a lot less common for authors of packages to put them on to PyPi vs CRAN (mostly due to the absolute mess of Python packaging) so it doesn't surprise me that his searches turned up not much there. On GitHub there are those packages:

https://github.com/search?q=poisson+regression

I've not used Rcpp, but Pybind11 is pretty mature, and works well, so I'm not sure why he's saying it's under development; by the same measure there was an update to Rcpp last week, so that is too. He mentions Cython which allows you to compile Python code, but my main use case for that is exactly what he says - wrapping up C/C++ libraries, which is very easy in it.

"Python is currently undergoing a transition from version 2.7 to 3.x. This will cause some disruption, but nothing too elaborate."

This is pretty out of date; in Jetbrain's survey, 84% of devs had transitioned.

comment 7y ago · link · parent

I’ve been coding in Python for about 8 years now and this is the first time I’ve even heard of Poetry.

comment 7y ago · link · parent

In my field it’s standard that if you don’t show up, your paper is not published in proceedings - and normally those proceedings are in an IEEE Transactions journal.

comment 7y ago · link · parent

I've found as a graduate student that lots of things I've wanted access to are out of print, and there's been no digitisation other than bad scans that you can only access through LibGen and which I end up printing out anyway.

Journal access is also a pain - digital subscriptions are amazing, but my University is not subscribed to some journals I need access to, or they only have a subscription for papers after a certain date, which is when they stopped buying the print copy.

comment 7y ago · link · parent

You need to think about funding. Most U.K. funded PhD opportunities will not be open to you as a US citizen.

Most U.K. PhD funding is now being routed through what are called ‘Doctoral training centres’ and these generally only have funded places for students from the U.K. or the EU, unless it’s an industrially funded one in which the scope of the project will generally be very strictly defined.

Most non-EU students come in on special programmes where their country pays for the PhD I.e. Chile has a programme called CONICET that a colleague of mine was funded through.

In all my time in research heavy (look for the “Russell Group”) Universities I’ve not met a couple of PhD students from the US for that reason.

comment 7y ago · link · parent

I like Mayavi, but I wouldn’t say it was a ‘great’ Python application; it’s a pain in the install for e.g. Something like NumPy or AstroPy are clearer successful scientific Python projects to my mind.

comment 8y ago · link · parent

My experience with 40 core Xeons is that the memory bandwidth makes it too difficult to get really good performance out of them as it is.

comment 8y ago · link · parent

I really like it but the lack of a native Linux client is what stopped me using it.

comment 8y ago · link · parent

> Often much easier to find a domain expert and a programmer and have the programmer rework the code done by the domain expert. In fact that used to be my job for a while (working with physicists), and it was actually quite fun.

It's basically what people are now calling 'Research Software Engineers'

comment 8y ago · link · parent

The other thing is that they're a nightmare to programme and they're expensive!

comment 8y ago · link · parent

Massively depends on what you're doing as to whether it's possible, straightforward or useful to be honest. For many people it's fine, but there are plenty of people where the time investment is not worth it for a variety of reasons. It's nowhere near as simple as just porting things quickly unless you have a very simple code.

For example, I work on coupled finite-element/boundary-element calculations in magnetics. Porting our finite element calculations to GPU is possible but pointless because the memory requirements are too high - we just got some V100s on our University supercomputer but they're only the 16gb versions, and the compressed boundary element matrix of the simulation I was running just yesterday was 22gb alone, let alone all of the other data! It's nothing like people who do simulations in, for example, fluid dynamics, because the interactions they look at are generally local, whereas in our field we have a dominating non-local calculation.

If you instead use finite differences to tackle the problems we look at, then it's much less of a problem, but if you try and get into multi-GPU things you quickly run into the same memory issues because one of the calculations requires repeated FFT accelerated 3-D convolution to run in a reasonable amount of time, and in-place FFTs on multi-GPU can only be done on arrays that are < (memory on each GPU)/(Number of GPUs) because there needs to be an all-to-all communication. If you have 4 x 16gb V100s (which is $36k in my country), then that means the array you need to transform must be at most 4gb, and in practice it's less than that because we need to store other data on the GPU. That hugely limits the problems you can look at.

comment 8y ago · link · parent

> Meanwhile a professional programmer has to become good at things that mathematicians and scientists don’t have to care about, like version control or the idiosyncrasies of a specific language.

Really depends on what kind of mathematician or scientist you are to be honest though. How good is someone's data analysis of an experiment if they can't reproduce it? Or if they've got 6 different versions of an application with 100k lines of code in a single file, each labelled "code_working(1).f90", "code_not_working.f90", etc... These are real problems with what people actually do in science; software development skills are poor and people do things badly.

There're organisations like Software Carpentry globally and the Software Sustainability Institute in the UK which exist to try and promote some thought about developing software as researchers, and making the software sustainable in the long term rather than letting it die every time a PhD student leaves.

comment 8y ago · link · parent

Ha, I'm in a similar position - I'm a scientist and I work with two people who speak Slavic languages, and they miss out 'the' and 'a' everywhere, because they don't exist in that language family. I also work with a Chilean, and he's the opposite - he adds in 'the' and 'a' everywhere, even when it's not necessary! The Germans I've worked with have generally been the best I've found both at speaking and writing.

comment 8y ago · link · parent

It can be quite difficult though; we had a Chinese PhD student in our research group and while his coding ability was amazing and everything 'just worked', decoding what he actually meant in many cases was very difficult.

comment 8y ago · link · parent

I'm a native (British) English speaker, and I actually can find it quite hard to communicate with non-native speakers, because they don't understand my accent. It's not particularly strong as British accents go (nothing like Glaswegian or Geordie for example), but it really caused problems when I moved to a research group which was made up of primarily English-as-a-second-language speakers. The other thing I found was that while their speaking ability was good, their written grammar was generally poor; I'm the resident proof reader in each of the places I've worked.

Many of the people spoke what is apparently described as 'Euro-English' which has many borrowed phrases from other languages, or what native English speakers would see as mistakes but which are relatively easy to understand between non-native speakers.

1
4546474849