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

Can you not do this using the CPU affinity environment variables and just ignoring the efficiency codes? I was under the impression you could bind to specific cores with:

GOMP_CPU_AFFINITY=“1 2 5 6”

With thread 1 bound to core 1, thread 2 on core 2, thread 3 on core 5, thread 4 on core 6. I don’t have an M1 to play around on but I’d have assumed that the cores are fixed IDs.

Aside from that, if the workload is predictable in time, using a more complex scheduling pattern might help. You could perhaps look at how METIS partitions the workload, but see if it’s modifiable by adding weights to the cores reflective of their relative performance. Generally, to get good OMP performance I always found it better to treat it almost like it’s not shared memory, because on HPC clusters, you have NUMA anyway which drags performance down once you have more threads than a single processor has cores in the machine

comment 4y ago · link · parent

And on better timezones

comment 4y ago · link · parent

I feel like many things that do this don't make the trade offs clear enough, in the idea of making it more usable. But structuring your data across multiple processes is hard. Getting good performance in MPI can be very difficult, and even the topology of your processes across servers and the physical network can have an impact. I'm never convinced hiding this complexity is a good idea...

comment 4y ago · link · parent

A large issue with this will be that Rosetta doesn't support AVX, AVX2 extensions, which are increasingly commonly used in games.

https://steamcommunity.com/discussions/forum/0/2976275080122...

comment 4y ago · link · parent

“We don’t need native apps, use bookmarks”

“Here is the App Store! Use native apps!”

“We don’t need native apps!”

comment 4y ago · link · parent

Just wondering what you think about the progression routes for RSEs?

A big problem as I see it is that someone not in the first wave of RSEs (who are now mostly in leadership positions across the various research intensive Universities groups) basically gets stuck with no appreciable career growth. You can probably get to a permanent job in the 42-50k salary band as a “Senior RSE”, which seems to be used for people even without that much experience to try and bump up the salary, but beyond that it would be very difficult to jump to the band above without staying in the same role for ~5+ years and hoping that someone left. At that point you’re obviously at top of automatic increment band and don’t get a meaningful pay rise for a potentially number of years. I thought it was very unlikely that there would more jobs at that level because when bidding for time on grants, academics don’t want to pay someone external to their team more than they pay their own post docs, and heard comments to that effect from academics themselves. For centrally funded positions it’s even harder, having seen my old group lead battling to try and get even 32-40k positions approved.

So in my mind, there’s a big problem where someone ambitious could job hop into an easier and better paid job in industry. Why wait a really long time to get promoted when you could leave and get paid more than the top of the next salary band anyway?

comment 4y ago · link · parent

So, I was an RSE? Know why I left?

Money. It’s all very well being an RSE but there are two ways of being funded (at least here in the UK). One is centrally funded by the University - universally this means being shoved into the IT hierarchy which is not a good fit. The other is on an ongoing basis by doing 1-2 year contracts. So no job security.

The salaries for both of these are very poor. On leaving I took a 35% pay rise and do basically the same work but in industry. The only difference is that instead of working for engineers in academia, I do work for engineers in companies. Since I jumped, I negotiated another 20% pay rise. If I’d stayed, I’d have got a 3% pay rise. That’s not including the fact I get bonuses, private health insurance, don’t have to pay to park at my own office…

The issue is that the skill set demanded to be an RSE is highly desirable in industry - able to write code well, often mathematical, familiarity with much of devops type work.

On top of that, researchers don’t truly value your contributions. They don’t want to put you on papers that couldn’t have happened without your work. On top of that, they’re hugely demanding about timescales that are unrealistic. I got put onto one project which had contractual commitments to deliver to a major governmental agency to run a live service, and the guy running the project handed me a 5000 line Python 2.7 script that wouldn’t even run and basically said “get it working”. He couldn’t even supply the input files needed to run it for 2 months after that, just ignored emails. I quit before it got any further.

Edit: forgot to add, my boss was a grade higher than me on the national academic salaries scale. He had technical responsibility and also had to line manage 10 people. Even if I could have gotten promoted (impossible - no budget), I didn’t want the line management responsibility. I earn more than the top of that salary band now, and line manage nobody.

comment 4y ago · link · parent

The thing I hate most of it is that every community turns into a caricature of what it is like in real life.

The UK ones are all bizarre in-jokes about stereotypes that are not at all realistic of people in the real world. It’s like people feel they have to say weird things so they fit in.

“Does anyone else love tea? Ho ho ho, I really don’t like the television programme Miranda that hasn’t even been on for 9 or 10 years. Oh god, when people try and talk to me on the tube I just die?!”

comment 4y ago · link · parent

High interest rates mean it’s no longer profitable to charge no interest?

comment 4y ago · link · parent

PhD projects are about going and finding out something that’s not known. Adequate supervision is important, but it dries up very quickly if you’re working on something novel. You cannot expect an academic to be on top of the fine details of everything in all of the sub areas of what their PhD students and post docs work on - they’re coordiators more than active researchers normally at that level.

comment 4y ago · link · parent

Finally!

comment 4y ago · link · parent

So what happens on the day my kindle updates? Do I lose access to anything in Mobi format already on my kindle? That’s a PITA

comment 4y ago · link · parent

37.5 is standard in UK as well.

comment 4y ago · link · parent

If you add bounds checking, then what happens is that on every index into the array, a line of code gets called that says "is the index the user specified less than the length of the array". On it's own, that's not a problem, but when you're doing this repeatedly millions of times, it's a performance killer.

comment 4y ago · link · parent

I'm actually not surprised at all by this, because I was born in the early 90s. We got a Windows 98 computer when I was about 5, and I used to play DOS games on it all the time which had to be booted up by rebooting into DOS mode.

comment 4y ago · link · parent

It comes across as very passive aggressive to me (native British English speaker).

comment 4y ago · link · parent

It’s time - now I’m here, we’re training existing people up, but if they’ve not god a good mental model of backend development then it’s going to be a challenge.

comment 4y ago · link · parent

I think people massively underestimate “being in the right place at the right time” factor in their lives.

My current job - company gets big contract m, desperately needs to scale up. I was fed up with previous job, and just happened to have used Django. Got headhunted and got a huge pay rise. Got to company to find that they literally couldn’t find Django developers for love nor money locally. I’d only really taken on a tiny side project in the last job - had I not used it, they probably wouldn’t have been interested in me here.

comment 4y ago · link · parent

Another disadvantage: the specific package you want might not be packaged by your distro, and may not be compatible with the versions of dependencies that your distro does package.

comment 4y ago · link · parent

They said £150 on Radio 4 this morning!

comment 4y ago · link · parent

Is she? People couldnt afford to buy houses in the 1980s, which is why 40% of the population lived in council housing. High rates of home ownership are a generational anomaly, not the norm.

comment 4y ago · link · parent

I’ve seen this before and I’m really not convinced that it’s not just another attempt to spread another negative story about Thatcher. As others have pointed out - hugely expensive project with limited benefit at the time, and not clear the technology choice then would have actually made a cost effective broadband project now.

comment 4y ago · link · parent

I like type hints, but trying to retrofit it into an existing project I’ve found difficult, because you end up with Union[type1, type2, type3] in some places.

comment 4y ago · link · parent

Was anyone actually still using this with the dearth of hardware for years?

comment 4y ago · link · parent

Same, literally everyone I talk to in the UK uses WhatsApp

comment 4y ago · link · parent

I used all of C + Python + NumPy a lot, just didn't know about this feature. Would have helped prototyping various bits and pieces at the Python level.

comment 4y ago · link · parent

Oh god why did I not know about this when I did my theoretical physics PhD

comment 4y ago · link · parent

They can only do it if it was not publicly disclosed. You cannot patent something which has been kept a trade secret.

comment 4y ago · link · parent

We did exactly the same, tried to uneject from CRA recently and just could not get it to work in PNPM, switched to Yarn and it just worked.

comment 4y ago · link · parent

I work in Python, but I might restart, create new sessions, etc anywhere between 1-100 times a day depending on what I am doing.
1
373839
49