That’s a good thing?

I just saw a video by IBMs A Smarter Planet Blog about some of the things we can expect from cities of the future. The intelligent water system that detects leaks seems neat, but I’m not fond of the use of mathematics and software to prevent diseases from spreading. It seems very easy to use this data and knowledge to quarantine (or worse) people, maybe even before they are infected.

Also, the crime prevention system seems to make it possible to turn thought crime illegal, and making it possible to convict people for crimes they may commit in the future. Sounds like Minority Report, just with statistical analysis instead of mutants able of precognition.

Photo by: Gene Hunt

Tags: , , , , , , , , , , , ,

No comment »

Project Euler

For a long time I have wanted to improve my programming skills. Well, skills might be a overstatement. I have had two short introductory programming courses during my many years at uni, one C++ and one Java. But after the course is over I stop programming, since there are no more hand-ins, and as a result I quickly forget even the basics.

So now my hope is that if I spend one or two hours a week working with some problems (with a math twist to keep my focus) I will pick up the basics and get more familiar with Java (the programming language that I have chosen to start out with).

So I have started working the problems at Project Euler. I haven’t spend that much time working the problems yet, but I have solved the first two (using very brute force and non-elegant code), but it seems I have to do a bit of thinking for the third problem. Somehow working through all the integers from one to 600,851,475,143, check if they are a factor of 600,851,475,143 and then check if that factor is a prime is not the most optimal way to find the largest prime factor of 600,851,475,143. Back to the drawing board…

Of course I could ‘cheat’ and just do

$ factor 600851475143

in a shell, but that way I won’t learn much…

leonhard_euler

I first heard about Project Euler at the xkcd blag, but haven’t had the time to look into it before now.

If you know of other interesting problems useful for brushing up on a programming language, feel free to leave a comment.

And before I forget, a big thanks goes out to Søren, who has been very patient with my basic questions like “how do I check if one or the other condition is fulfilled in my if statement?”. I promise, I’ll pick up a book soon and stop bothering you with trivialities on chat!

Tags: , , , , , , , ,

Comments (7) »

Quantum Field Theory

Yesterday I started what is properly going to become my last course at University. It is an introductory course in Quantum Field Theory (QFT).

I tried following the same course two years ago, but skipped it after about two weeks as I didn’t manage to keep up with the reading and problems. Hopefully this time around things will be different. It is supposed to be a though course, with lots of heavy math – especially lots of nasty integrals to be calculated.

To top it all off the course home page reads

The course in quantum field theory has in the new structure degenerated
to a course lasting 7 weeks. This is probably the shortest course in
quantum field theory given at any university.

Our Minister of Research (who’s main academic credentials seem
to be that he has introduced professional football in Denmark) demands
world class education.

Even with a world class lecturer the combination clearly requires world class students. Well, guys…….

Will I be able to perform like a world class student for the next 7 weeks? Let’s hope so!

Tags: , , , , , , , , , ,

Comments (1) »

I’m pure, oh so pure!

On the other hand, physicists like to say physics is to math as sex is to masturbation.
From http://xkcd.com/435/

Another wonderful comic from xkcd. As a math student (and a math and physics teacher) it does warm my heart!

Tags: , , , , ,

Comments (3) »