Recently I returned from a particle physics experiment at the Paul Scherrer Institut, a nuclear research lab in Switzerland. I was one of ten students from the University of Heidelberg and ETH, Zürich who had two weeks of (nearly) free reign to carry out an experiment on the PSI’s proton beam line. To put into perspective how crazy that is, ordinarily the going rate for such a privilege is €10,000s per day!
Our goal was to measure a mysterious number called the
Panofsky ratio”. The ratio is named after Wolfgang Panofsky, first to attempt to measure it, and corresponds is the relative likelihood of two events involving particles called protons and pions occurring. It is important, because historically its value strongly contradicted the expectation of theoretical physicists. The two processes occur by means of two different forces — one by the weak interaction and the other by QED — and so the ratio was expected to be somewhere near the ratio of strengths of these interactions, give or take a few corrections, which happens to be around 30 Continue reading
That passwords are a hassle is a given. They’re a pain to think up and a pain to remember. If you’re anything like me you’ve probably got two or three of varying degrees of strength which you use for everything. But really, you know this isn’t the best solution.
If this sounds a little like you, your passwords – or at least your password policy – probably could do with some improvement.
Here’s why, and what you can do. Continue reading
The Schrödinger equation describes the energy and time-evolution of a particle or system of particles, and is one of the fundamental building blocks of modern physics. In it’s general form, the (time-independent) Schrödinger equation looks like this:
There are relatively few situations in which the Schrödinger equation can be solved analytically, and numerical methods and approximations are one way around that analytical limitation. To demonstrate how this is possible and how a numerical solution works, what better way than to solve a system which can be solved analytically and comparing the results. Continue reading
The general Runge-Kutta algorithm is one of a few algorithms for solving first order ordinary differential equations. Below is a specific implementation for solving equations of motion and other second order ODEs for physics simulations, amongst other things. Continue reading
Well, I never made it mainly because I didn’t understand how. Could this be the best thing my physics degree has taught me thus far? Continue reading
If you’re a part-time developer or you don’t use your computer exclusively for web development, it makes sense for you not slowing things down with Apache and MySql every time you boot up.
Aside from grinning and bearing it, one option to solve this would be to start these services when you need them from the command line. It’s a fairly simple
sudo service apache2 start in most Linux distributions, or the new
sudo start apache2 way for Ubuntu.
An alternative, which has its own advantages, is to install your services in a virtual machine and load up the VM when you’re working.
Actually, it’s perfectly possible to use this set-up for more than just single-person local development, and many developers do this.
One great advantage a virtualized development environment has is that it Continue reading