This. I am a programmer with a physics degree. I taught myself the basics of coding and I can learn what my co-workers know while on the job. But I can also do shit they can't even begin to do and there's no way they're gonna learn it on the job. You can't replace 3 years worth of rearranging and manipulating equations. Maths is a super power when you've had to use it for a physics degree.
As a PhD student in physics with a CS background I can say that physicist tend to code incredibly well in short term projects. We are smart and innovative, but we tend to be terrible at writing long term maintainable and scalable code.
Yeah I can totally see that. I was recently tasked with writing code that will generate a toroidal mesh and I absolutely loved it. I wrote something very efficient and leveraged my electromagnetism experience but God help any CS grad who wants to modify my code in future. Also, if someone wants to add different shaped meshes that can be generated they will need to refactor my code or just copy and paste it to some new architecture. I am also terrible at logging errors.
I wrote something very efficient and leveraged my electromagnetism experience but God help any CS grad who wants to modify my code in future.
This kinda shit is how I become waaaaay too knowledgeable in shit I'll never touch again. I'll shriek in horror, take a deep breath, go down a horribly deep rabbit hole, resurface 1-15 days later and write my 1-15 lines of code. LOL.
Amen, there's a big difference between writing code and writing software. I work with a lot of Engineers (mechanical, electrical, etc.). Super smart people, I love working with them, but they can't see the forest through the trees. They usually write pretty shitty software with little forethought.
Globals? Let's do it. Testing? Not needed, my other Engineer buddy reviewed the code, he confirmed it's perfect. Code spits out a negative Kelvin temperature? It's fine, the user will use engineering judgement and see that's not important. (For reference, zero Kelvin is absolute zero, the lowest possible temperature. The point at which atoms stop moving. Kelvin cannot be negative, it's physically impossible.) Etc.
Edit: I stand corrected. I'm not a physicist, I should stay in my lane.
Code spits out a negative Kelvin temperature? It's fine, the user will use engineering judgement and see that's not important. (Zero Kelvin is absolute zero, the lowest possible temperature. The point at which atoms stop moving. Kelvin cannot be negative, it's physically impossible.) Etc.
Fun fact: by the statmech definition, you can't have zero Kelvin, but you can go negative. You get there by going around the other side, through positive infinity, which wraps around to negative infinity. Oh, and as a side note, all negative temperatures are "hotter" (i.e. transfer energy into) than all positive temperatures.
It means that an increase in system energy is associated with a decrease in system entropy. While physically possible, such a system is... "uncommon".
Interesting, thanks. Has this phenomenon ever been witnessed or is it purely theoretical? Temperatures I've seen justified by Engineers are around -4000 K and infinity plus/minus anything is still infinity, at least mathematically. Keep in mind they're usually modeling real systems that exist on Earth...
Neat, thanks. I stand corrected to some degree (a billionth of a degree, according to the article). However, I don't think their systems are intended model dark energy/matter
FWIW: Those are almost definitely wrong. You're not going to legitimately see negative temperature in a "normal" system. Chances are if you're doing something like that, your title involves the word "Physicist", rather than "Engineer".
Depends on how you define "witnessed".
The key to make negative temperature work is an energy state maximum. This means that anything normal (i.e. temperature based on kinetic energy) is excluded: you can always go faster. So you end up with systems like "A collection of atomic spins" and such. Nothing you can stick a thermometer into, that's for sure.
I have a colleague with a physics degree who is brilliant on small projects but as soon as we have to maintain and expand them, we start finding problems.
Architecture is my favorite part of programming, though.
Creating large scale maintainable things is the opposite side of the coin of extremely malleable code.
I had the foresight to start pushing my current project toward modularity two years ago, and now when management came back around and is starting to ask to use older things in unforeseen ways. Turns out, all I've had to do to make it work was decentralize some code. Like, 95% of the code changes I've had to make were just moving A' out of A so it can be accessed by B. Nothing new, just moving.
Being able to make abstractions of logic that can form as black boxes like legos with other black boxes, is where the magic starts to happen.
A vast majority of programming is just utilizing the stuff that already works, like what physics code would process. Once you have that isolated and reusable, now you just have your Math library.
This .. I went into computer science and have mad respect for people that are comfortable with that level of maths. I dabble out of interest, but I also know that that is not at all enough.
Sadly in my experience someone with a PhD in physics is virtually allergic to learn software engineering and often completely blind to their shortcoming in that field. Not to disparage their work, but while coding was a big part of their daily work, they were script kiddies, plain as day.
EDIT: Just remembered that I did in fact have one coworker who had it all - a PhD in physics and both the discipline and proficiency to write great software. When that guy took a day off, his team was running at 20% efficiency. On the other hand the physics PhDs I had the pleasure to work with more intimately could easily give my team a 20% efficiency boost just by staying home.
As a physics student myself, I've got to say we might be smart about maths, but most of us can't write any readable code at all. I corrected homework assignments for a bunch of undergrads in C++, and it was horrifying.
Over here we have Informatics, the science of coping with information storage and processing on modern computers. They also have to study a lot of math. If anybody specializes in computer graphics there is no getting around heavy linear algebra and quaternions. Physics grads k ow what I am talking about.
273
u/ts_m4 May 09 '21
Mathematics baby!!