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

It won't burst, it'll just eke out over a few years as people realise it's harder to implement than it is to talk about. Some things will be successful, a lot won't. People will move onto the next thing, marketers will market.

See: digital twins, cryptocurrencies, semantic web...

comment 2y ago · link · parent

I prefer going the other direction in practice, autogenerating the spec from the code e.g. with drf-spectacular for Django.

comment 2y ago · link · parent

We have some of these in the UK tax system, some of which are being resolved (or at least improved) but many which aren't.

Currently, if you have a child, you're entitled to a cash payment called child benefit. For a first child it's worth £26 per week and then any subsequent children you'd get £15.90 per week. However, you only get this if the highest earner's income is below £50,000. Between £50k and £60k, it's on a sliding scale, so at £55k you get 50%, £57.5k you get 25%, etc.

Side effects of this are that if you have two earners both on £49999, you get the full amount, and one earner on £60000 you get nothing. It means there's a crazily high effective marginal rate on people. If you put money into your pension, it can bring you down below the threshold again, so many people (if they can afford to) will do this.

From next month, they're changing the threshold to £60-80k over which it drops off, which is a big improvement, but the marginal tax rate effect is still there.

comment 2y ago · link · parent

And being cheaper too.

comment 2y ago · link · parent

It is a single file, but when you include header files which get dropped in they can get to many hundreds of thousands of lines of code in practice per corresponding .o file.

comment 2y ago · link · parent

Numba replaces ops with LLVM byte code equivalent so the compiler will optimise out and coalesce the operations as part of the optimisation stage.

If you want to look at the sort of things compilers do though, take a look at “common subexpression elimination”

comment 2y ago · link · parent

So, this happened somewhere I worked, and I disagreed with it too, but it happened because the time consuming processes were taking months for basic things from the wildly unreasonable and unqualified 'devops' guy who had a lock on the whole system.

What made a difference was getting people in my team to stop doing it, and making it clear when things were requested and timescales and why we were not able to do it. When deadlines started getting missed, the guy got put under a lot of pressure to change the processes, and eventually the business hired someone that ultimately diminished the original guy's role.

comment 2y ago · link · parent

At Chatsworth House not far from where I live there's a 'pinetum' (which was a word I'd never heard before) which has quite a few redwoods planted in Victorian times.

comment 2y ago · link · parent

I don't think it's particularly exceptional for the sorts of people that are still using C++ (and making a conscious decision to do so over Rust for e.g.).

If you're writing 'standard' C++ these days, you're probably already making use of std::array, std::vector, etc. anyway. The only area where people are working on modern codebases I've not seen so much of that is in HPC stuff and embedded.

comment 2y ago · link · parent

Whether it's trivial or not depends totally on the workflow. A 5% runtime cost can be enormous - when I was in academia I was running thousands of simulations on big clusters like ARCHER, some of which could take up to a fortnight to run. In those cases, a 5% cost can add a whole other working day to the runtime!

comment 2y ago · link · parent

The reason they don't communicate their bounds is also a performance optimisation. You can certainly do it in C++; use a std::vector for e.g. and use the .at() method to index on it and it'll throw an exception unless you disable that with a compiler flag.

The thing is, it's fine to take that risk if you're writing HPC simulation software, but it's much less fine if you're writing an operating system or similar.

comment 2y ago · link · parent

> The increasing use of third-party providers within our network, some of which has been due to capacity and capability constraints within Technology and elsewhere in the Library, was noted by the Library’s Corporate Information Governance Group (CIGG) in late 2022, and the increasing complexity of managing their access was flagged as a risk. A review of security provisions relating to the management of third parties was planned for 2024; and the tightening of access provisions that would be enabled by improvements to underlying computer and storage infrastructure and the migration of storage to the cloud, which is currently being implemented. Unfortunately, the attack occurred before these necessary pre-requisites for this work were completed.

Price of everything and value of nothing. Outsource everything, underfund everything from systems renewal to staff salaries.

comment 2y ago · link · parent

Said it before and said it again, the issue with AMD GPUs is not individual kernels which are easy to translate, but the libraries. From the release notes saying 'Add minimal support of cuDNN, cuBLAS, cuSPARSE, cuFFT, NCCL, NVML' it looks like this project was going towards this which is great. Whether it'll have momentum after AMD stop funding it... who knows.

comment 2y ago · link · parent

There's a lot more content too though, and the attention span of the average viewer has gone down dramatically with TikTok, which is why YouTube launched Shorts and Instagram launched Reels.

comment 2y ago · link · parent

No, of course not, it's just me parodying Stephen Wolfram every time he speaks/writes. He wrote a book called 'A New Kind of Science' claiming all this stuff in about 2002 which was widely criticised by scientists as overstating it's claims and much less important than he thinks it is, but he's been talking like that ever since pretty much.

comment 2y ago · link · parent

Last time I ran a Linux desktop, I had to reinstall my graphics drivers in a tty console every time I wanted to do a kernel upgrade, because the distro ones were ancient and that was the only way to get the latest from NVidia.

comment 2y ago · link · parent

"It all started when I invented cellular automata, this thing that will revolutionise computing... at some point."

comment 2y ago · link · parent

It’s a weird time as a developer when it’s now easier to install WSL2 on an enterprise machine and use that for development than it is to use an actually Unix based OS

comment 2y ago · link · parent

In 2012, Airbnb had already had it's 10 millionth booking and a big investment round. Not saying future growth wasn't there for it, but I'm not sure this played as big a part as it's giving itself credit for.

comment 2y ago · link · parent

Interesting perspective.

As someone who’s used GitLab, it always felt like he says - too much focus on random features that weren’t that interesting, while core functionalities that needed a bit of refinement got left in the dust.

comment 2y ago · link · parent

"Eight years ago, our engineers drafted our products in scripting languages in frameworks like Django or Rails, and we had a product up and running in a few months"

vs

"Eight years ago, our engineers decided to settle on Rust, and six years ago we went out of business, because it was much harder to write web services quickly that met what customers actually wanted"

comment 2y ago · link · parent

... or is constrained to doing a single logical thing (perhaps many times).

comment 2y ago · link · parent

There's also django-reversion, but I can't say I loved using it.

comment 2y ago · link · parent

Octopus don't have deep enough pockets to do that really. They're still making a loss despite the hype they get.

comment 2y ago · link · parent

https://news.yahoo.com/wasted-wind-power-could-add-151805433...

https://www.thenational.scot/news/23532508.wind-farm-curtail...

comment 2y ago · link · parent

The curtailment periods in the UK are already a problem, particularly in Scotland where there is now not enough grid capacity. There's no point building massive farms up there now without corresponding National Grid investment, which isn't happening anywhere near fast enough.

comment 2y ago · link · parent

I think that's at least partly due to most people who've tried a VR headset before saying "that's kinda cool but I don't think I'd buy one"

comment 2y ago · link · parent

I live in the UK in a small village next to a large city. Just had a quick look and there are tons of issues within the 1 mile radius, that don't have issues on Google Maps.

* A pub that doesn't exist - there is one about 15 miles with that name, but there's never been one called that here.

* The local church is in the wrong place

* The opening hours of the local cafe are wrong (11:30-3:30 instead of 10:00-3:00)

* Business names aren't correct

839.

Post Office plan to sack Horizon IT reviewer kept secret, documents reveal(bbc.co.uk ↗)

187 points · by physicsguy · 2y ago · 90 comments

comment 2y ago · link · parent

> In the same way NoSQL forced us to rethink databases.

Did it? After using Mongo in my current job (not my choice), I'd choose Postgres again for my next project.

1
272829
49