Tuesday, March 6, 2012

Asteroids Missing Earth: What Means “Close Call”?

Every now and then you read about asteroids passing Earth in a certain distance but nobody gives you a feeling of how close such an encounter is. Allow me to fill in this gap.

Say an asteroid passes in a distance x from Earth, the radius of which we will call r. We now can ask how likely it is that an object that hits a disk of radius r+x also hits a disk of radius r provided that it any point on the larger disk is hit with equal likelihood.

The likelihood then is p = A(r)/A(r+x) where A is the area of a disk of the given radius, In other words p = πr²/π(r+x)² = 1/(1+x/r)². If we now define ξ=x/r (which is the distance in units of Earth's radius we get a quite simple formula: p = 1/(1+ξ)².

Using ξ is advantageous as it is a value you actually find in tables. Let’s try a couple of values; LD means Lunar distance and is the distance in terms of the average distance between Earth and Moon:

Distance inξp in %
LDkm
1.65614636619.77100 0.098
0.49684190985.93 30 0.104
0.16561 63661.98 10 0.826
0.04968 19098.59  3 6.250
0.01656  6366.20  125.000
0.00497  1909.86  0.359.172
0.00166   636.62  0.182.645
0.00050   190.99  0.0394.260
0.00017    63.66  0.0198.030

Please note that the closer an encounter is the less meaningless this rough estimate becomes as the asteroid by no means randomly hits the disk of radius r+x but follows a clearly determined path.

Sunday, March 4, 2012

Termtter, a terminal-based Twitter client

Termtter is a terminal-based Twitter client written in Ruby that can be installed as a Ruby gem. In the easiest case you simply type in
gem install termtter
and you are done with installing the program, otherwise see How to Install.

Once termtter has been installed you can simply  run it provided that you do not need to use a proxy; in that case see Configuration. However, like any other Twitter application, termtter needs to be authorised in order to function properly.

Therefore, at the initial run, termtter will provide you with an authorisation URL.

First launch of termtter

Once you visit this URL, you will be asked whether you want to authorise termtter to use your Twitter account.

Visiting authorization URL

If you choose to authorise the application (i.e. termtter) you will provided with a PIN.

Obtaining PIN

After having obtained the PIN you need to enter it in termtter. Copy and paste will not work because the PIN is shown as an image.

Entering PIN

Now that termtter has been authorised you can use it at your liking.

Termtter at work

Michael Geist at INTA Workshop

If you want a brief explanation what is wrong with ACTA this video is an absolute must.


The full text of the report can be found at http://www.michaelgeist.ca/content/view/6350/125/

Friday, March 2, 2012

Easily Brighten Underexposed Areas of a Photo

In Overlay an Inverted Layer Onto a Photo to Brighten Underexposed Areas, PetaPixel shows how to do precisely that. I applied the method to a quite arbitrary underexposed photo and this is what I got:

Original image

Lit up using overlay method

Lit up, white balance applied

White balance only

A nice method indeed and it should work with any image processing program that's worth being used – in the article it's Photoshop while I have been using the Gimp.

Friday, February 24, 2012

Send in the Copyright Demolition Squad!

A video detailing what a scientist faces if he wants to publish a scientific article made me share some short, rather polemic thoughts on copyright on Google+. I then realized that they are worth being put on this blog. So here we go:

It is a well-established lie that copyright is a means for creators of art, music, scientific papers and other works to protect their intellectual property against people who want to prey on it. Little could be farther from truth. Copyright is regularly and habitually being perverted into a means to dispossess creators of their intellectual property so that they do not obtain a fair payoff.

In my opinion, those who fight the ever worsening, dreadful state of copyright are no enemies of the authors. They surely are enemies of those parasites who prey on these authors' works but fighting this vermin definitely is a just cause.

Joe Scientist comes face-to-face with
the scientific publication business

Friday, February 3, 2012

Copyright Claims vs. Hatsune Miku Youtube Videos

As you may know, I am a member of the German pirate party. An important reason for joining was that I disapprove a system where the mere claim (without the need for providing any evidence) that certain content infringes copyright is sufficient for its takedown. Not only does this approach collide with my view that guilty until proven guilty should be a universal principle not just for penal codes, it also makes the abusive use of false claims way to easy.

In the case of YouTube’s automated system things are even worse. Not only can false claims be made – they can made by anybody, not just by persons who are authorized by the copyright holder to do so. I am a huge fan of vocaloids in general and Hatsune Miku in particular and while I have an account at nicovideo (the site where most vocaloid music is uploaded), I prefer accessing them on youtube because there you can build a virtually infinite number of playlists.

I now learned that there seems to be a concerted action to have high-ranked Hatsune Miku videos removed from youtube by making false claims of copyright infringement which not only results in those videos being removed but also in accounts being closed due to such claims and the three strikes rule.

The Disappearance of Hatsune Miku from YouTube
This is incident is sad in may ways including:
  • A means created for a just cause is abused for a hidous one (first and foremost copyright is not about making money but about empowering creators of content so that they have a say in how it is used – this is so central that German law does not even allow you to give up this right).
  • Damage is done to the community because many Hatsune Miku songs usually are happy ones that brighten your day.
  • As vocaloids allow every hobby composer to use vocals without having to paying quite a lot of money on a singer or having to find people willing to sing without payment, they allow talents that would otherwise have been lost to give a world-wide audience delight.
For more please visit Recent Copyright Claims Affecting Miku Youtube Videos at Vocaloidism. Please help spread the word about this attack on wonderful music created for what likely is the oldest reason to make music: the fun of making it and listening to it.

Fittingly, the song that you hear as BGM for the above video is The Disappearance of Hatsune Miku.

I wonder if the incident may have to do with the top position at Singers You'd Like to Perform at the 2012 London Olympics Opening Ceremonies

Wednesday, January 18, 2012

I can't has lolcats?

Do you love lolcats? If so, the following image is for you.

I has a sad tewdai

PIPA, SOPA and other FU-KYA ideas may mean that you will no longer be able to see any more lolcats.

The Day The LOLcats Died
For more see cheezburger’s This is Your Internet … after Congress passes new censorship laws. For tweets and the like there is a short URL you may like to use: http://j.mp/lifeaftersopa+