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

The biggest killer of vector dbs is that normal DBs can easily store embeddings, and the vector DBs just don’t then offer enough of a differentiator to be a separate product.

We found our application was very sensitive to context aware chunking too. You don’t really get control of that in many tools.

comment 1y ago · link · parent

I find Political Currency better these days since Ed Balls and Osborne are at least both people who had very key political roles in their own right (Balls during the Blair government in the Treasury with Gordon Brown, then Shadow Chancellor, Osborne as part of Cameron's rise to power and Chancellor), plus there's the odd tidbit of opinion on the current government which you sometimes wonder whether is coming through from inside knowledge due to Balls being married to Yvette Cooper.

comment 1y ago · link · parent

There are podcasts I like but a lot of the popular ones in the UK are very self indulgent. The Rest Is Politics is definitely one of those. They're also able to be opinionated in a way that the BBC's output obviously can't be as a state broadcaster. I always find the BBC output more professionally scripted, presented and edited as well, even if the content is similar. Some podcasts are horrendous at not balancing the audio - Not Another One (politics) is one of those even though I think it's great.

comment 1y ago · link · parent

I'm British and live in the UK so BBC is a big part of my radio listening anyway, but I agree, the quality both in terms of content and recording quality is largely miles ahead of most podcasts.

Excluding things like political things which wouldn't land the same to international listeners, my favourites are:

The Kitchen Cabinet You're Dead To Me Crowdscience Inside Science Just a Minute The Unbelievable Truth Nature Table Take Four Books Witness History Last Word Gardener's Question Time A Good Read (I wrote a blog post a while ago about scraping the books using LLMs to extract from the text of the descriptions: https://rpep.dev/posts/a-good-read-extracting-books-with-llm...)

comment 1y ago · link · parent

I just came here to say exactly the same. I've also seen it used in C/C++ for Fast Multipole Method / Barnes Hut methods codes, I don't think this is a forgotten trick at all.

comment 1y ago · link · parent

One of the big reasons I'd say is that 90% of Python work doesn't actually benefit from async? Basically nothing in the data science / simulation / etc. world benefits at all. Web development it does, and Django has sprinkled it in (but not DRF), Flask has a fork that's async and FastAPI is async. At work people have suggested we should switch our Flask code to async to 'make it faster' but for us, we're largely using Flask to server ML models and so there's no benefit by being async at all since we're largely compute bound within the request cycle.

comment 1y ago · link · parent

On top of that, the on-device models have got stronger and stronger as the base models + RL has got better. You can do on your laptop now what 2 years ago was state of the art.

comment 1y ago · link · parent

Undaunted Courage by Stephen Ambrose is a great book about the expedition. I picked it up on a trip to the US and really enjoyed it.

One of my favourite things I didn't know was that they kept getting to new 'untouched' villages of Native Americans who would come out to trade and knew perfectly well that white people existed as they'd been visited for years by various fur traders.

comment 1y ago · link · parent

> Britain owes a debt to its colonies. The colonies owe nothing to it, except contempt.

There's pretty clearly a distinction between different individual colonies on this one. Something like the Falkland Islands which had no indigenous population is very very different from Jamaica which was a plantation colony full of slaves, which is yet again very different something like Aden (now part of Yemen) which had about 600 people living there at the time it was annexed and which has had a very very difficult post-independence story.

comment 1y ago · link · parent

Yes, in the use case we're doing it's been diagnosis of issues, and draws on documents in that. the latency doesn't matter because it's all done before the diagnosis is raised to the customer.

comment 1y ago · link · parent

My experience with RAG was that it was oversold, but at the same time, the cost per token means feeding in multiple 200 pages of documents is impossible for many use cases, it gets too expensive too quickly as people start to use it. If the use case you're looking at requires that, then stuffing it all into context is not going to work any time soon.

comment 1y ago · link · parent

Do you not think part of it is just whether employers permit it or not? My conglomerate employer took a long time to get started and has only just rolled out agent mode in GH Copilot, but even that is in some reduced/restricted mode vs the public one. At the same time we have access to lots of models via an internal portal.

comment 1y ago · link · parent

Well, I think to a degree that depends what you're targeting.

Single socket 8 core CPU? Yes.

If you spent some time playing with trying to eke out performance on Xeon Phi and have done NUMA-aware code for multi socket boards and optimising for the memory hierarchy of L1/L2/L3 then it really isn't that different.

comment 1y ago · link · parent

It really isn't that hard to pivot. It's worth saying that if you were already writing OpenMP and MPI code then learning CUDA wasn't particularly difficult to get started, and learning to write more performant CUDA code would also help you write faster CPU bound code. It's an evolution of existing models of compute, not a revolution.

comment 1y ago · link · parent

I still don't see ROCm as that serious a threat, they're still a long way behind in library support.

I used to use ROCFFT as an example, it was missing core functionality that cuFFT has had since like 2008. It looks like they've finally caught up now, but that's one library among many.

comment 1y ago · link · parent

It’s interesting that nvshmem has taken off in ML because the MPI equivalents were never that satisfactory in the simulation world.

Mind you, I did all long range force stuff which is difficult to work with over multiple nodes at the best of times.

comment 1y ago · link · parent

I'm not really sure who LinkedIn is even for anymore.

It is useless for job searching, because the search tools aren't very good.

It is useless for employers since your job gets shown to thousands of people without the right qualifications and thus massively increases the signal to noise ratio of applications, especially if Easy Apply gets turned on.

comment 1y ago · link · parent

I don’t think I’ve ever met full stack people who are equally proficient at both. Even within either of those there are various directions you can go.

Normally when I interview for FS I say I’m strong backend and can do logic work on FE quite happily but I’m not so much a visual person. Never met an interviewer who had a problem with that. If the technical task is something visual then they end up with a solution using MaterialUI or similar, not hand crafted beautiful CSS.

comment 1y ago · link · parent

One reason to own a house in many countries is that there are often large tax and inheritance benefits to doing so. E.g. old age pension benefits related to capital excluding your primary residence.

comment 1y ago · link · parent

Yes although many software engineers try as hard as possible to avoid learning what the business problem is. In my experience though those people never make great engineers.

comment 1y ago · link · parent

Pypi doesn't have any issue distributing binaries either these days? The issue is (a) diversity of CPU/GPU microarchitectures inc. CUDA (b) diversity of OS-es.

I've never had to compile a native Node library on a POWER9 GPU cluster, but I have had to compile Python ones.

comment 1y ago · link · parent

> Windows users are just not going to be able to build that locally.

I think that's being too kind to Linux + Mac users, they are often not generally able to do it either in my experience, especially with Python stuff which tends to need more bleeding edge deps than the local package manager can supply.

comment 1y ago · link · parent

Those are all fine and easy dependencies to install in Python too though, lxml comes in as part of the Python standard lib, and database adaptors like psycopg all bundle the full source code needed.

Where it breaks down in Python is when the dependencies are enormous source code projects with their own dependencies in their own right, that you can't reasonably bundle in with your own project. Conda aimed to solve that by being cross-platform. In the old Python days you'd do 'pip install X' and it would fail because it expected the package to be available, on your system, and in the PATH/LD_LIBRARY_PATH. Then wheels (python packages that could bundle libraries rather than just source code) came along and people started bundling lowest-common-denominator versions that most people could use but at non-optimal performance, and that's roughly still where we are today.

comment 1y ago · link · parent

Come on, React Native is a thing but as a % of JS engineers, the number that will regularly stray into compiled packages is much smaller than with Python. Basically every time you pick up a Maths or ML project which is a huge part of Python's ecosystem, you'll be using C or Fortran code underneath. That library ecosystem in that are is just non-existent in JS, and where it does people are typically using compile-to-WASM anyway.

comment 1y ago · link · parent

It's almost all largely because of compiled packages.

What happens in Go/TS when you want to use a C library underneath that's dynamically linked? Oh wait, there's no mechanism in it's package manager to support this, so it's assumed it's installed already, or in Go, C code is bundled instead. This is the problem all the Python packaging stuff above has tried to solve.

comment 1y ago · link · parent

And Enthought before them...

comment 1y ago · link · parent

Conda said all this as well, and solved the same issues you’re trying to - namely precompiled versions of difficult to build packages. It then went commercial.

In the HPC space there are already Easybuild and Spack which make all the compiler tool chain and C and Fortran library dependency stuff very easy. They just haven’t taken off outside as they aim to solve cluster management problems but Spack is easy to self serve.

comment 1y ago · link · parent

It's not really the same company it was... just a name now.

comment 1y ago · link · parent

Not sure if you're following the news, but almost every university is in financial trouble at the moment.

comment 1y ago · link · parent

I like LRB a lot but it's usually less book review and more 'commentary of the whole field, written by someone who knows it well, and then a paragraph or two in three pages about the contents of this new book on the topic'
1
101112
49