Even numbers as sum of 2 primes

A very old unsolved problem in numbers theory, known as Goldbach’s conjecture, says that any even number greater than 5 can be written as the sum of 2 prime numbers. It hasn’t been solver yet, not I will try to solve it. But I decided to write some F# code to display all the possibilities … Read more

Writing UTF-8 files in C++

Let’s say you need to write an XML file with this content: < ?xml version=”1.0″ encoding=”UTF-8″? > < root description=”this is a naïve example” > < /root > How do we write that in C++? At a first glance, you could be tempted to write it like this: #include < fstream > int main() { … Read more

Google Chrome Beta

According to the official Google Blog, Google is set to release today a beta version of a new web browser, called Chrome. They say that: Like the classic Google homepage, Google Chrome is clean and fast. It gets out of your way and gets you where you want to go. There is a comic book … Read more

Vacation in Croatia

I recently spent a two weeks vacation in Croatia, plus a couple of days in Slovenia, visiting different locations, such as Ljubljana, Postojna, Split, Brela, Mlini, Dubrovnik, Plitvice Jezera and Zagreb. Here are some impressions from this vacation (an perhaps things to know). Roads & Traveling Roads are great, especially the motorways. The infrastructure is … Read more

100 Years Since Tunguska

Today we mark 100 years since the Tunguska explosion that occurred near the Podkamennaya Tunguska River, Russia. The energy blasted from the explosion is estimated to 5 to 30 megatons, with 5 to 15 the most likely. It wiped out an estimated 80 million trees on 2150 squared kilometers. The cause of the explosion, is, … Read more

Last Day in Office for Bill Gates

Today is the last day for Bill Gates as executive president at Microsoft. Some months ago he released this clip about him looking for a new job. The ending words from a news presenter are quite funny too. And all tech markets remain steady as Bill Gates completed his last full day at Microsoft. Personal … Read more

Manning’s .NET Daily Drawing

Manning Publications, for which I reviewed a couple of books, opens today a promotion called .NET Daily Drawing, that will be available until July 17th. During this time they are giving away one free .NET e-book each day and a final grand prize consisting of a Manning .NET Library. If you want to take part … Read more