physics Syndicate content

warning: Creating default object from empty value in /www/htdocs/w0065fc9/milianw/modules/taxonomy/ on line 33.

» End of an Era

Wed, 02/04/2015 - 20:52

Hey all,

last week, I handed in my Master’s thesis. I was studying Physics for about 7.5 years now. I started using KDE 3.5.x while still in school and in my first student job as a web developer. At university, I taught myself C++ while working as a sysadmin at the faculty, in order to contribute to Kate, Quanta and KDevelop. I quickly discovered that Physics wasn’t so much my thing but the German education system doesn’t make it easy to switch fields. Thus, I endured and continued. And I kept coding though, mostly in my spare time, but also while working part-time for KDAB. Now, all these years later, I’m one of the official maintainers of KDevelop, and also contribute to KF5, esp. KTextEditor regularly. I created tools such as Massif-Visualizer and heaptrack. I became a Qt approver and maintainer of the Qt WebChannel module. And, starting from May this year, I’ll finally be working full-time for KDAB. Oh, how things have changed! Just compare Plasma 5.2 today to the KDE 4.0 alpha 1 or whatever it was that I tried in 2007 - a difference of night and day!

Thanks KDE, for heavily contributing to who I am today! Numerous people within the community have taught me so much about so many things. Without you all, I might still be programming websites in PHP or sitting in a lab… I’m so grateful this is not the case!

Starting this friday I’ll be gone on a long vacation to Ecuador and Columbia. I’ll try to sieve through my email when I come back on the 10th of April. I’m super excited to see what will happen to me, but also to all my favorite software projects during this time!

Cheers, see you soon :)

» Maxwell distribution in C++11

Tue, 07/29/2014 - 11:51

Hey all,

I recently needed to generate values following a Maxwell distribution. Wikipedia gives the hint that this is a Gamma distribution, which in C++11 is easily useable. Thus, thanks to <random>, we can setup a Maxwell distribution in a few lines of code:

  1. #include <random>
  2. #include <chrono>
  3. #include <iostream>
  5. using namespace std;
  7. int main()
  8. {
  9. unsigned seed = chrono::system_clock::now().time_since_epoch().count();
  10. default_random_engine generator(seed);
  12. // Boltzmann factor times temperature
  13. const double k_T = 0.1;
  15. // setup the Maxwell distribution, i.e. gamma distribution with alpha = 3/2
  16. gamma_distribution<double> maxwell(3./2., k_T);
  18. // generate Maxwell-distributed values
  19. for (int i = 0; i < 10000; ++i) {
  20. cout << maxwell(generator) << endl;
  21. }
  23. return 0;
  24. }

Pretty neat, I have to say!

» The Beauty of our Universe

Mon, 11/20/2006 - 22:06

Granted, the sky we can see in a clear night with its thousands of visible stars and the bright moon is vast and very beautiful. But this tiny glimpse is nothing compared to what Hubble has brought us: Take a look into the colorful, jaw-dropping and mindpopping universe.

My favourites:

And don’t forget to take a closer look at the “highest quality” pictures. I found a new wallpaper there.

Also keep in mind just how huge these things have to be! A ray of light must travel for millions of years to cross these images. Utterly mind blowing!