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

Documentation is mixed but it’s usually similar between clusters.

You typically write a bash script with some metadata in rows at the top that say how many nodes, how many cores on those nodes you want, and what if any accelerator hardware you need.

Then typically it’s just setting up the environment to run your software. On most supercomputers you need to use environment modules (´module load gcc@10.4’) to load up compilers, parallelism libraries, and software, etc. You can sometimes set this stuff up on the login node to to try out and make sure things work, but generally you’ll get an angry email if you run processed for more than 10 minutes because login nodes are a shared resource.

There’s a tension because it’s often difficult to get this right, and people often want to do things like ´pip install <package>’ but you can leave a lot of performance on the table because pre-compiled software usually targets lowest common denominator systems rather than high end ones. But cluster admins can’t install every Python package ever and precompile it. Easybuild and Spack aim to be package managers that make this easier.

Source: worked in HPC in physics and then worked at a University cluster supporting users doing exactly this sort of thing.

comment 2y ago · link · parent

Fastest publicly known supercomputer…

comment 2y ago · link · parent

Rather than go to all this hassle, I think it’s much easier to use Cython, or even to write C and just wrap it with Cython/Ctypes. Performance is so much better.

comment 2y ago · link · parent

Networking, it’s rare a recommendation is bad because people put themselves on the line to make it in the first place. They might have friends who are looking for work but they’re unlikely to recommend them if they think they might be a liability…

comment 2y ago · link · parent

They've not set up the structures for it to be not-for-profit here, they're just an ordinary registered company.

Typically you'd form a Charitable Trust or Charitable Incorporated Organisation, and Exercism isn't listed as either on the Charity Comission website.

comment 2y ago · link · parent

This is the problem with ed-techs. Nobody wants to pay. Those that do (Universities, schools) are also competing with the platforms to some degree.

comment 2y ago · link · parent

Nice idea, amusing that there's so little in the Peak District looking at the map. Most popular national park in the UK so actually very little that is nearly wild!

comment 2y ago · link · parent

> Fusion reactors would produce only short-lived waste.

One of the biggest problems with fusion reactor designs is that the typical elements we add to steel absorb neutrons and become radioactive. So no, this isn’t correct, unless you have no containment vessel or a totally new approach to metallurgy.

comment 2y ago · link · parent

> just as we have water today that's too cheap to be metered

This is amusing to me as it’s very common to have metered water in Europe

comment 2y ago · link · parent

Saw DHH post this on Twitter under this: https://x.com/dhh/status/1830374290359021605

701.

Ruby has been fast enough for 13 years (2016)(signalvnoise.com ↗)

4 points · by physicsguy · 2y ago · 1 comment

comment 2y ago · link · parent

Customers don’t generally want to manage many many small products that don’t talk to each other when they reach a certain size.

You might have a cohesive set of customers but the vast majority of micro startups just don’t get enough customers to sustain themselves which is why they move to attract larger customers.

comment 2y ago · link · parent

It depends on whether you’re transforming data out of files or whatever to get it into these libraries to start with to be fair. Overall I wouldn’t expect that to have an effect on a long-running computation but when starting up a project it can be a bit slow.

comment 2y ago · link · parent

A 100 miles is a long distance in the UK, a 100 years in the US is a long time.

comment 2y ago · link · parent

There's really not much difference in the architecture ultimately.

The key thing is the data + compute resources. If you can afford to run a big H100 cluster, even temporarily, it's accessible.

The critical question though is: to what end is it profitable? If you're company X who's built one of these, it's obvious that another company could knock you off peak position next week. If that's the case, is there the incentive to continue ploughing money into training? For some big companies the answer is obviously yes because they want to dominate the ecosystem. But I'd question whether there's a large market for it in the medium-term.

comment 2y ago · link · parent

How many of those are free users is the critical point.

comment 2y ago · link · parent

> because the API is just bad and unintuitive

What effect does changing the API have on other existing drivers?

comment 2y ago · link · parent

Designing Data Intensive Applications is a great book.

I read this years ago and regularly recommend it, especially when people are all over talking about some special queue or database technology. I find so many people don’t understand even how databases work and it’s crucial to application performance and structuring. Adding queues works to relieve server load but if you get swamped by messages you need to make an active decision on how to handle that - and maybe a queue isn’t the best idea if you can’t lose them.

comment 2y ago · link · parent

StackOverflow is one of the most hostile sites I've ever tried to use.

I vividly remember asking a question before was different in a subtle but important way from existing ones (which I'd seen) and it got marked as a duplicate.

comment 2y ago · link · parent

It wasn’t ´created’ for the three languages at all.

Originally the whole project was ‘IPython’ and then ‘IPython Notebook’. It came out of Fernando Perez’s attempt to make interactive Python a better experience.

They renamed it Jupyter to reflect that it was no longer a pure Python project as kernels were written in even before it rebranded as Jupyter. Those three were the most popular at the time but by no means the only ones.

I used to work with one of the core team about the time they changed this!

comment 2y ago · link · parent

Think people missing the point.

The vast majority of people don’t get professional headshots. They’re expensive and I’ve only ever had one when my employer has had a photographer come in for them.

They’re also a signal only for people you don’t know, not ones you do. I don’t know this guy but for some of these images, I couldn’t tell by looking at them that they are AI generated, and for the ones that are, I doubt a lot that when you have a tiny thumbnail of it on LinkedIn that you would be able to tell.

I think like many things, if they’re good enough but not as good as the best, it’ll still be enough for most people in the market for this.

comment 2y ago · link · parent

Implementing SSO is a nightmare, particularly if customers want controls on their side.

My view is that you should use Cognito (simple) or Auth0 (simple but expensive) and build a self-setup page for it. Then if customers want it, it's on them to deal with configuring.

Oh, and push them all to OpenID because it's a lot less hassle than SAML.

If you're selling to big businesses (and you generally want to be), they'll pay for it anyway because this sort of security thing falls under various box ticking exercises for ISO certifications.

comment 2y ago · link · parent

Semantic web suffers from organisational capture. If there's a big org they get to define the standard at the expense over everyone else use cases.

comment 2y ago · link · parent

I think for smaller companies, you can get a long way towards a lot of this with judicious use of docker-compose, and convenience scripts in a Makefile. As long as you don't do anything stupid like try and spin up 100 services when you're a team of 8, most laptops these days are sufficiently capable of handling a database, Redis, your codebase, and something like LocalStack.

comment 2y ago · link · parent

My previous companies CEO was barely in but decided to link bonuses to office attendance 3 days a week, and made his secretary secretly take a register of when people were in the office or not.

comment 2y ago · link · parent

Depends what it is; some of the print newspapers in the UK have moved to online subscription. It worked for the 'premium' ones with longform articles, it has not worked for the 'red top' newspapers, and they've gone back to ad-supported models and have enormously declined in quality of journalism.

comment 2y ago · link · parent

I think one thing people are missing the point on is that it's quite addictive to have live up to date news. Twitter is constantly debating the latest talking point, you can get instant notifications. But it's actually quite exhausting after a while, you're no better off knowing something minutes after it happened when all the analysis is very shallow because nobody's had time to look at the bigger picture around an event.

I've been trying to digital detox a bit and I've found it's quite enjoyable switching off from a lot of that and buying a newspaper on a Saturday. I usually either pick The Observer (weekend version of The Guardian) or The Times.

comment 2y ago · link · parent

I had bad experiences trying to productionise Julia code in the past. I realise the pre-compilation JIT-ing story is now quite different but it left a bad taste in my mouth with the community basically saying that it wasn't a problem when it quite clearly was.

comment 2y ago · link · parent

I downloaded it in the UK.

Here, there's not that much high quality TV content on it that isn't available on the free VOD providers (BBC iPlayer, ITVX, Channel 4) for the free-to-air TV channels. If I click on to the 'Series Spotlight' and look at the TV series on offer, they're all strange low budget things ('Bad Girls Club', 'Evil Killers', 'Z Nation'...) and I've not heard of the first 19 of them. The 20th one is a 'Gordon Ramsey: Uncharted' National Geographic show that I have access to through Disney+.

For films the picture is much better in that there are popular ones that if not blockbusters were at least things I'd heard of, but it's still mostly older stuff (Donnie Darko, Kick-Ass, Pacific Rim: Uprising, Twilight, Saw, Kill Bill).

comment 2y ago · link · parent

Within Fargate you even get different capabilities too, we were having mixed performance between instances and eventually stuck a log statement in to `cat /proc/cpuinfo`. We got different generations of Intel CPU between containers, from Broadwell to Haswell. You had no control over this when provisioning it.
1
232425
49