Hiraedd

Mar 16

“Get it down. Take chances. It may be bad, but it’s the only way you can do anything good.” — William Faulkner (via theimpossiblecool)

Dec 31

[video]

Oct 29

http://www.youtube.com/attribution_link?a=s-xmq9O01tUsZTYecsokww&u=/watch?v=CMdHDHEuOUE&feature=share -

Google and NASA’s Quantum Artificial Intelligence Lab

Jun 03

“Silence is dry; sound is wet. Volume is the mass of sound. In silence you can hear people think, but only when their bodies stop making noises. But who cares what people think? The noises their bodies make are more interesting anyway. Listen to your body. Talk to plants. Ignore people.” — Unknown (via q-uote)

Sep 28

Entropy and Biodiversity

Some time ago I stumbled upon a post on n-Category Café (which is, by the way, a blog that is definitely worth reading); here is part 1 and part 2

The post introduces the concepts of entropy and diversity (and cardinality) in the field of biology. While I’m acquainted with the definition of entropy in information theory (and, slightly less, physics), I found really beautiful that those concepts could be applied in a very elegant way in population biology. 

The first part applies the entropy definition to a finite probability space, representing an ecosystem with several species. Each probability shows how a particular species is frequent, namely the probability to encounter an indivual of that species. The entropy represent the diversity of the ecosystem, or, in a very rough language, how in “a good state” is the ecosystem.

The second part extends to a finite probability metric space. In this space, the probability has the same meaning as before. The metric distance among the points in the space grasps the idea of how a species is similar to one another. Thus, a low distance between two species means that these two are quite similar.

From the diversity you could derive the entropy and the cardinality of a probability (metric) space. 

Intrigued by the post, I wrote a small ruby gem to calculate the entropy, the diversity and the cardinality for a probability space with or without a metric. The gem is on rubygems.org,entropy_gem, and the source code is on github.

I’m wondering if, passing from information theory to population biology to computer science again, these concepts could be applied in the field of machine learning, perhaps in genetic programming or any algorithm inspired by the mechanisms on evolutionary biology. 

Tell me if you have any suggestion, comment or correction.

Aug 07

Solar Charger for your smartphone

I recently bought a Guide10 Adventure Kit solar panel from Goal0. The kit includes a Nomad7 solar panel and a battery pack with 4 AA NiMh batteries.

Since I needed it in time for the Chaos Communication Camp, and didn’t found  a vendor in Europe, this was a good chance to test Borderlinx, a forwarding service that provides you an US address if you live outside USA.  So here are my opinions about both the solar panel and the forwarding service.

Goal0 Nomad7 Solar Charger

Pros: The solar panel can charge directly your smarphone or the battery pack. It has an USB 5V output and a 12V output with a standard car charger socket.
The battery pack includes 4 AA NiMh batteries, but you can use any NiMh battery, and an adapter to charge the AAA type. The battery pack can then be used to charge the smartphone by switching it to output mode.

Cons: I wished it had included some adapters, expecially for old phone that require a charger. You can you a car charger, tough, if you have one, but that forces you to use the direct 12V output of the solar panel, instead of the 5V battery pack output.

Bottom line: So far the products seems very good. I used the battery pack to charge my Nexus S, and the solar panel to charge the battery pack, multiple times. The solar panel is water resistant and light, I can recommend it for  backpacking/camping.

Borderlinx

The service of Borderlinx is operated by DHL. It provides a US address, and as a bonus a UK address. You can use this address as a shipping address when you buy from an online shop. Borderlinx then sends your package to your address.

Pros: Creating an account is quite easy, it doesn’t require a credit card. Borderlinx has a retention period of 30 days, during this time you can accumulate your goods, and then send them in an unique shipping, slightly saving some cents. The service calctulates for you all the shipping cost, duty and taxes, so you know almost exactly what you’re going to pay and you don’t have to deal with duty forms and taxes. It offers standard and express delivery. Plus, most online shops offer free shipping inside US.

Cons: the service  isn’t  exaclty cheap.

Bottom line: the shipping was fast and the service overall experience was good, but not cheap. I think it can be used to buy things that you can’t’ find in your country (but beware that some US vendors don’t ship to addresses provided by services like Borderlinx), but for a more casual shopping you should evaluate with attention the cost and whether it is worth. 

Jun 19

Stuxnet: Anatomy of a Computer Virus (on Vimeo)

Jun 05

On wisdom of crowds, or collective intelligence.

A nice introduction to collective intelligence, and why sometime it fails.
[…]

The good news is that the wisdom of crowds exists. When groups of people are asked a difficult question—say, to estimate the number of marbles in a jar, or the murder rate of New York City—their mistakes tend to cancel each other out. As a result, the average answer is often surprisingly accurate.

But here’s the bad news: The wisdom of crowds turns out to be an incredibly fragile phenomenon. It doesn’t take much for the smart group to become a dumb herd. Worse, a new study by Swiss scientists suggests that the interconnectedness of modern life might be making it even harder to benefit from our collective intelligence.

[…]

May 15

Chicago 2

May 10

Chicago