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

They might have plummeted but it’s worth mentioning that in the UK vehicle taxes have changed this year for electric vehicles. Most EVs are still leased through employer linked things that incur an income tax saving, but that got less generous since a ‘benefit in kind’ charge now applies to EVs, and the road tax is no longer free for EVs from this year. Those things together make people much more price sensitive than they were a year ago.

comment 1y ago · link · parent

Europe doesn’t have the budget.

comment 1y ago · link · parent

> People who stress over code style, linting rules, or other minutia remain insane weirdos to me. Focus on more important things.

I just want to set up a linter that’s standard for the language and let CI deal with it. Anything other than that is mental to me.

comment 1y ago · link · parent

> This might be true for developers that only work for companies and never in their own time maybe.

So most people with young kids then

comment 1y ago · link · parent

Not saying this notation isn’t useful, but the big advantage with index notation is that a large, large number of people are already familiar with it because it’s a core part of many Physics or Maths degrees, so will be using it naturally. If you have to work with such people then it’s useful to “speak a common language”

comment 1y ago · link · parent

And of course writing such a statement will prevent any of that from happening…

When these things are performative they’re worthless. People who are going to do those things are going to write the statement just the same. Even easier now with ChatGPT.

comment 1y ago · link · parent

More importantly it’s the last payment day for the 23/24 tax return!

comment 1y ago · link · parent

I feel like Go falls much into the latter category.

I needed to write some code recently that did DSP. There is not any equivalent for this like SciPy in Go that bundles together lots of the common DSP operations you need. There are lots of partial implementations in different libraries of for e.g. filters, all of which use different interfaces.

A lot of this I think is because of the lack of SIMD, you can't get brilliant performance out of the box with a Go implementation because the standard compiler doesn't support it.

comment 1y ago · link · parent

The issue with Enums is that the "unnecessary" feature means that people have to encode the behaviour with things that aren't suitable. E.g. creating a new type that's a thin wrapper over string or integer means it can be set as some non-valid value, even without some sort of explicit cast that says "I know I'm doing something that might fail". I don't see that that is an improvement over any other language. It's not simpler because, as people have shown by the examples trying to prove that you don't need it, they don't have all the (necessary) behaviour that enums do to prevent this sort of problem.

comment 1y ago · link · parent

I'm well aware of Stringer but I don't again think it's a good replacement of having enums built in!

comment 1y ago · link · parent

I see this suggested all the time as though it’s supposed to be a replacement. It isn’t sufficient, it’s a poor emulation of what enums can be used for and doesn’t offer the same protections, since Status can be set to any integer value without casting or any knowledge that it’s broken.

In your suggested method it doesn’t even catch that case and provide an error if the value isn’t in the range.

comment 1y ago · link · parent

And enums.

comment 1y ago · link · parent

It's really nothing like Django, which is a full stack development framework. This is more akin to Django REST Framework or Django Ninja which are REST API frameworks that sit on top of Django.

comment 1y ago · link · parent

It's also super clunky if you get into certain advanced things because it's built on top of Starlette and piggybacks off much of that. Want to adjust how many background threads you want running? Oh wait, you can't, it's a Starlette setting that's not really exposed.

comment 1y ago · link · parent

Django's magic is that you can set various class variables as either a value or a method. So typing that becomes incredibly hard, everything is effectively Union typed.

comment 1y ago · link · parent

I'm not sure that business model exists personally but good luck to them. It's trivial to spin up an index on AWS or Azure. Usually for a company it's hard for minions dealing with this stuff to get approval to spend money on a new supplier, but easy to set up something with your existing cloud provider.

comment 1y ago · link · parent

The whole point of a password manager is that you can use it to log into things like email.

I have a single password I only use for Bitwarden and nothing else. All of my other passwords are randomly generated. How am I gaining security by enabling MFA? If I lose my phone on holiday now, I’m in a position where I can’t log into anything because I won’t be able to log into my email.

comment 1y ago · link · parent

They're SFT on the chain of thought output of R1

comment 1y ago · link · parent

The interesting part is that distillations based on reinforcement learning based models are performing so well. That brings the cost down dramatically to do certain tasks.

comment 1y ago · link · parent

True, but it makes it much more difficult to get started in the first place.

comment 1y ago · link · parent

Distillations are showing (and have been for a while) though that you don't necessarily need big hardware for decent inference. If that's the case, and you can run it on your Macbook trivially or even your smartphone.

comment 1y ago · link · parent

Microsoft don't have to use OpenAI though, they could swap that out underneath for the business applications.

comment 1y ago · link · parent

Interest rates have an effect too, Uber and Airbnb were starting in a much more fundraising friendly time.

comment 1y ago · link · parent

American cities are some of the least dense in the world! You can't make more land, but you can build up. Taxation can even encourage this with land value taxes.

comment 1y ago · link · parent

> So, while the margins on luxury housing are ~15% and affordable is 4-6% the free market will do what it always does...

Volume isn't something that companies tend to ignore.

In any case, there's a chain of purchasing; if people have to move somewhere then they buy whatever is available at the top of their budget. If there's a shortage of housing then they buy whatever was originally the cheaper housing. You can see this in London where in some areas 2-bedroom terraced houses are well over £1 million.

comment 1y ago · link · parent

The people I know who go out and buy vinyl today are the people who I used to go to concerts with, had a lot of CDs and were the same people who were early adopters of streaming. Basically, the people who actually really like music!

comment 1y ago · link · parent

I used to work in academia with a Chilean guy who added extra articles where they weren’t needed and a Slovakian guy who didn’t put any in at all. I had fun editing the papers we wrote!

comment 1y ago · link · parent

Currently predictive maintenance but previously have worked on simulation software development.

comment 1y ago · link · parent

I think that with C++ there’s a much bigger culture of one big library that does many things.

It’s been a few years but most projects I worked on in C++ pulled in Boost which is more akin to 50 libraries all together in one.

comment 1y ago · link · parent

https://www.pv-magazine.com/2023/03/17/field-data-on-heat-pu...

Some data from a U.K. funded study suggested the median was 2.44 here in winter and 2.8 not in winter.

1
161718
49