I studied computer science, so now I apply it everywhere, even to this blog.
Tuesday, October 04, 2011
Why I'm not a physicist but I still read physiscs books
Although I participated in physics contests in secondary school, I was not really into it until I started high-school where, at physics, Mr. Bararu was the best professor I ever had. He was funny, but also inspiring and his teaching methods (e.g. open books exams, grading by the Gaussian curve) were revolutionary at that time. He tried hard to lure us into physics, as there was already a mathematics gang in the class (as the contests in math start much earlier, in the fourth grade as opposed to those in physics which start in seventh grade) and on the other hand we were a computer science intensive class. I still remember his arguments that we study math in order to apply it in physics and that chemistry it's just about mixing stuff and checking its color and smell. All went very well until one day he tried to solve a problem in front of us and he just failed. He put all the forces in the described situation, did the computation, but the result was different than the one in the book. Then he tried some different settings of forces until he found one that matched the expected result. That was really odd for me, as I was used to the way of solving problems logically, starting from premises and applying different logical techniques to reach the conclusion. That annoyed me so much that I gradually started loosing interest and by the eleventh grade I didn't even go to physics contests anymore. I was back to mathematics just in time for the highly abstract algebra with groups, rings and corps which I liked most. Only much later on when I read the Objective Knowledge of Sir Karl Popper I fully realized how physics works, how we are constantly make educated guesses (i.e. theories) so that they fit our observations of the surroundings as much as possible. On the other hand, the reality around us is so complex to describe that one needs to use highly simplified models to ever compute something about it. So if mathematics is the poetry of science, the physicists are the story tellers that describe what happens around us. And these stories of big bang, black holes, curved space-time, vibrating strings and quanta are always fascinating me. So here I am again, this time with a book that tells the story of quantum mechanics theory, the building blocks which led to it and its huge impact on our civilization: In Search of Schrödinger's Cat: Quantum Physics and Reality by John Gribbin. The story telling of this author is good, with the drama of various people involved and their struggle to get a grip on this weird phenomena they were unfolding. Quantum mechanics is still a mister as the given interpretations are far away from what we normally expect from the world to behave like, but that's all we have for now: a grand casino where at every point in space and time dice are rolled to determine the next step. You just have to play the game!
Saturday, October 01, 2011
Computer science on paper
Blogger changed its interface and templates and when I tried to migrate I lost some of the settings I had on the old one, so I decided to use a new template. The new one it's a tribute to the good old days when we did computer science on paper. You just had to think carefully on the algorithm, write it down on paper, run it in your head again and then eventually get your turn to work on a computer to implement it (punch card or even keyboard version cause we were kind of short on computers). I think that being able to write down the algorithm and run through it really makes one understand it better, so actually in the year when I was a teaching assistant at University of Bucharest I asked many of my students to explain a few steps of their basic algorithms (back-tracking, divide et impera and the like) on paper in order to make sure they understood them and didn't just copy the project from a coleague. Some of them even liked it :)
Tuesday, September 27, 2011
Hug a developer today...
...ability to work under pressure and meet deadlines, flexibility to changing priorities, be able to learn new technologies (like every other month), ability to express ideas in technical and non-technical terms, most unpaid overtime than almost any other profession...
Pouvre, pouvre developers :)
The Economist on carbon tax
I wrote a while ago here about a paper with various proposals to put a cost on CO2 emissions and how I like the idea of a carbon added tax. This evening I read the first complete endorsement of a carbon tax in The Economist. The blog post dismantles various arguments against such a tax and explains the incentives it will bring about. It's worth reading it on Free Exchange.
So if most economists agree on this issue, why is it not happening, what is politician's position on this issue? One the one hand the likes of the tea party don't wont any kind of tax whatsoever and another big group would prefer to spend money on their pet green projects, than to have a generic tax that would make the good and cheap technologies winners. Apart from being captive to special interests, their chronic lack of vision in handling various aspects of current economic challenges is disappointing.
So if most economists agree on this issue, why is it not happening, what is politician's position on this issue? One the one hand the likes of the tea party don't wont any kind of tax whatsoever and another big group would prefer to spend money on their pet green projects, than to have a generic tax that would make the good and cheap technologies winners. Apart from being captive to special interests, their chronic lack of vision in handling various aspects of current economic challenges is disappointing.
Friday, September 23, 2011
Caught speeding?
Apparently, not only that God plays dices (in the game called quantum mechanics), but he is also speeding. In an experiment performed at CERN it appears that neutrinos travel at a speed greater that the speed of light which is the theoretical ultimate speed limit postulated by Einstein in his relativity theory. The results are still up for review, the researchers say they want to eliminate every possible chance that they made a measurement or design error and would be glad to see their experiment replicated by another team, but I can't stop thinking what the venerable Einstein would think about this?
If this experiment turns out to be right, we have to re-write all our theories on physics. Again! So should I stop trying to understand the current ones? :)
More details on this story here.
If this experiment turns out to be right, we have to re-write all our theories on physics. Again! So should I stop trying to understand the current ones? :)
More details on this story here.
Monday, September 12, 2011
Midnight in Paris
Midnight in Paris is a magic movie about a magic city. Of all the cities I visited, I remember Paris as having the best atmosphere on its streets. Summer is not terribly hot, winter is not very harsh, so the coffee shops are always there, everywhere, inviting you to sit and relax, and watch the time passing by. That probably attracted all those artists in the early 20th century, cause they were flooding to Paris from allover Europe and America alike. So what could possibly happen at midnight in such a city? It's just another walk, drink or party, or what? I'm not gonna spoil it for you, so go see the movie.
Saturday, September 03, 2011
Poate o sa va placa...
Eram la vanatoare de melodii si asta m-a sedus :)
Tuesday, August 23, 2011
Party in my mind
This story goes back to the years when I studied at UMD. One day one of my housemates passed by the open door of my room and saw me laying in bed and staring at the ceiling. He asked me if I'm ok cause he felt I had a strange look fixing that wall. In fact I was doing my homework for advanced algorithms class, but he found it hard to believe that this was a proper way of doing a homework. Staring at the ceiling became a hallmark of the way I am, it feels for me just like a big screen where I can project my imagination :) So I felt vindicated when Sheldon introduced Flatland to Raj in my favorite sitcom The Big Bang Theory (you can watch the scene here). And now there's even a song about having a party in one's mind:
It's easy to join this party, just stare at the ceiling above you wherever you are (blue sky also accepted) :)
It's easy to join this party, just stare at the ceiling above you wherever you are (blue sky also accepted) :)
Monday, August 15, 2011
Was Marx right in the end?
In a recent interview Nouriel Roubini (also known as the prophet of the crisis) said that capitalism could auto-destroy itself when too much capital accumulation takes place and the agregate demand becomes in turn very weak. The original declaration can be seen here:
First I'd like to note that in general any system involving human beings can self-destroy by simply commiting suicide. If somebody wants to give credit to Marx she should prove somehow that capitalism will always lead to a self-destruction stage. My second observation is the focus on consumption that appears in current macro-economics world. We need to keep increasing our consumption in order to match the ever increasing producing capacity and this is the only way we can advance the global GDP (here domestic is planet Earth :). I think the real trap in today's economics is this focus on consumption that creates the demand. We can live a happy life without this exacerbated consumption and in the end this is a matter of what we value, isn't it?
P.S. By comparing the subjective theory of value and labour theory of value one can understand the fallacy of Marxism, but more on this in another post.
First I'd like to note that in general any system involving human beings can self-destroy by simply commiting suicide. If somebody wants to give credit to Marx she should prove somehow that capitalism will always lead to a self-destruction stage. My second observation is the focus on consumption that appears in current macro-economics world. We need to keep increasing our consumption in order to match the ever increasing producing capacity and this is the only way we can advance the global GDP (here domestic is planet Earth :). I think the real trap in today's economics is this focus on consumption that creates the demand. We can live a happy life without this exacerbated consumption and in the end this is a matter of what we value, isn't it?
P.S. By comparing the subjective theory of value and labour theory of value one can understand the fallacy of Marxism, but more on this in another post.
Wednesday, August 03, 2011
Division by zero
I bought this book (the original title is "Stories of Your Life: And Others") a few weeks ago because I liked its name with mathematical connotations and I read on the back cover that two of the stories were awarded Nebula Award (it's like an Oscar for SciFi literature). The interesting fact is that this is the whole opera of this author so far (two awards out of eight stories is an impressive rate, isn't it?). His stories are rather some kind of parables set in a slightly different universe, but far from the standard SciFi galactic clashes between races and/or robots. There are even some notes at the end of the book explaining how the author got the idea of each particular story, sometimes that would be just a mathematical or physical principle he wanted to illustrate. Yet the reading is entertaining, especially "Stories of Your Life" which reminds me of the feeling from "Chronicle of a Death Foretold".
Sunday, July 24, 2011
Amy Winehouse
"I don't ever wanna drink again, I just need a fried", so sad she didn't find one...
Monday, July 18, 2011
Carbon tax proposed in Australia
Australian government proposed a carbon tax that will be paid by all companies emitting CO2. If this will be devised this kind of tax has the potential to drive a "green" behaviour from all sides, since a reduction of VAT is also proposed in order to offset the total amount of collected taxes. For example, let's say a KW of energy costs 10 dollars, the VAT will be reduced by 1 dollar, but the energy produced from coal will be taxed supplementary by 2 dollars, as opposed to wind energy which will not be carbon taxed. So the coal energy will end up costing 11 dollars, but the wind one will cost 9 dollars (this is a pure imaginary example, I don't know the exact amount of VAT and the proposed tax, or the cost of energy). So greener products will become cheaper, thus the incentive to consume those ones. Note that Australia is one of the developed countries that didn't sign the Kyoto treaty (they consume a lot of coal), so the change in policy is significant. In my opinion, taxing all the types of pollution is the best way to obtain a reduction in the ecological pressure we put on the planet.
The original news can be read here.
The original news can be read here.
Tuesday, July 12, 2011
Funky business and funky bac
I'm reading "Funky Business" a book written around 2000 that tries to describe the new business model that will take over all of us as the use of technology continues to rise. I have some mixed feelings about this book: on one hand I totally agree with their vision of empowered individuals that will challenge more and more all sorts of institutions of our society. The description of internet use and the possibilities it opens look already outdated today, after only a few years since they wrote the book. On the other hand, I don't like the extreme consumerism ideas they induce, where sky is the limit and the consumer is king. I guess the severe recession we still experience in Europe and U.S. and the prices of oil and other raw materials just show to all of us that we don't have unlimited resources and unlimited supply of money.
So once one understands the importance of education, it may be a good idea to try to improve the education system. An important part of any kind of improvement process is in my opinion a way to measure the results of your efforts. In the case of education the best way to measure the results of the system are national (or even international) tests, that's why I'm glad that this year the widespread fraud that plagued the high-school graduation exam (aka bacalaureat) was stopped. The results were not good at all, less then 50% of the students took the exam, but unless we face the truth of what the education system in Romania produces at this moment there is no chance to ever improve it.
Update: Gabi pointed out one of the best quotes from the book: "if you think education is expensive, try ignorance"
So once one understands the importance of education, it may be a good idea to try to improve the education system. An important part of any kind of improvement process is in my opinion a way to measure the results of your efforts. In the case of education the best way to measure the results of the system are national (or even international) tests, that's why I'm glad that this year the widespread fraud that plagued the high-school graduation exam (aka bacalaureat) was stopped. The results were not good at all, less then 50% of the students took the exam, but unless we face the truth of what the education system in Romania produces at this moment there is no chance to ever improve it.
Update: Gabi pointed out one of the best quotes from the book: "if you think education is expensive, try ignorance"
Monday, July 11, 2011
Bubble-sort with Hungarian ("Csángó") folk dance
If you ever got bored while studying sorting algorithms, this is a fun way to do it:
Now in order to evaluate complexity you need to see how tired the dancers are in the worst case scenario :)
Now in order to evaluate complexity you need to see how tired the dancers are in the worst case scenario :)
Wednesday, June 29, 2011
The story of a tree
I have few memories with my grandfather from my father's side, as he died when I was 8 years old, but one I remember clear is when he took me and my cousin to plant a walnut tree in front of his house. Years after, in the freedom induced madness from Romania people starting cutting down the trees in the streets. I don't know the exact reason, maybe they were making room for parking their cars, or they were annoyed they had to clean the leaves, but I could see it on many streets in my home town and elsewhere. One day my uncle said that he also plans to cut the walnut tree in front of my grandma's house giving me some stupid reason. I told him to don't even think about it as that is me and my cousin's tree and we want that tree to stay there. He eventually gave up and you can still see this beautiful walnut tree if you go in Constanta on Razoare street.
Having this story in mind and countless more about the massive deforestation that takes place in Romania I was very glad when I discovered the Tree-Nation community. They are dedicated to planting trees, as this is the most effective way to have a sound ecosystem on our planet. Forests prevent desertification and soil erosion, enhance bio-diversity, reduce CO2 and thus global warming and also provide important economical resources if managed wise. Tree-Nation organization has three big projects: one in Niger where they plant a huge forest aimed at stopping desertification and two others in Columbia and Nicaragua where they are doing re-forestation of some areas in order to stop the soil erosion and conserve the local flora and fauna.
So next time you have the opportunity to plant a tree don't miss it. Remember that is one of the three things a man has to do in his life.
Having this story in mind and countless more about the massive deforestation that takes place in Romania I was very glad when I discovered the Tree-Nation community. They are dedicated to planting trees, as this is the most effective way to have a sound ecosystem on our planet. Forests prevent desertification and soil erosion, enhance bio-diversity, reduce CO2 and thus global warming and also provide important economical resources if managed wise. Tree-Nation organization has three big projects: one in Niger where they plant a huge forest aimed at stopping desertification and two others in Columbia and Nicaragua where they are doing re-forestation of some areas in order to stop the soil erosion and conserve the local flora and fauna.
So next time you have the opportunity to plant a tree don't miss it. Remember that is one of the three things a man has to do in his life.
Monday, June 13, 2011
Orange channel and more
This time it was the other way around: I heard a very nice song (see below) on the radio that sounded so familiar that made me think I heard it before somewhere else.
One of the obvious places to look for was in the latest Orange commercials. While searching on YouTube for the commercials from this year I discovered that these guys finally decided to create an YouTube channel (Orange Romania) where to post their commercials and more. For example this astonishing video of a building (Institute of Architecture from University Plaza in Bucharest) that goes alive:
One of the obvious places to look for was in the latest Orange commercials. While searching on YouTube for the commercials from this year I discovered that these guys finally decided to create an YouTube channel (Orange Romania) where to post their commercials and more. For example this astonishing video of a building (Institute of Architecture from University Plaza in Bucharest) that goes alive:
Tuesday, May 31, 2011
Open the gate to the sun
Music was part of my life from the very beginning. I grew up in Mangalia and our apartment was right next to the first restaurants and hotels from Saturn resort. So all the summer you would here the music from the restaurant across the street. I was so used to it, that I couldn't fall asleep without that music. My mom told me that I woke up one night after the restaurant closed and I was very puzzled that the music was not there, I started saying: let the music play! Later on while in elementary school I always paused from doing my homework (not a huge fan of homework, but at that time I still tried :) ) to listen to the "song on request" program on the radio. In those years appeared the song "Deschideti poarta soarelui" (Open the gate to the sun) describing a serene and peaceful atmosphere of the communist Romania while the capitalists were decaying (now I see why Thriller was such a hit, they were mocking us :) ). The voices were good, as they gathered some of the great Romanian singers to record this song (I realize this was a replica for the much well known We are the world), but the message was rather cryptic to me. Looking back I understand now what the poet wanted to say: probably the action was set after a harsh winter with electricity cuts and freezing temperatures in peoples apartments so they were begging the rulers to open the gate to the sun so we could warm up a little bit. A punk version would describe that feeling much better though, so here it is the much needed cover:
Tuesday, May 17, 2011
The dream of a final theory
We now for some time what androids may dream of electric sheep from Philip K. Dick, but did you ever know what physicists dream about? Well, at least the ones specializing in particle physics (like Steven Weinberg) apparently dream of a final theory that will explain all that happens in our universe. He tells a history of the theories in physics (and also in natural sciences like chemistry and biology) in his book and how they converge to a still elusive final theory. The book is entertaining not only for the history of ideas in physics, but also for the discussion of the interference that various philosophical ideas had in the progress of science for better or for worse and also for the exposition of the reductionist argument, i.e. that chemistry and biology can be reduced to physical phenomena (that reminds me on how our physics teacher from high-school tried to lure us to his subject: he was telling us that after the discovery of the atom's structure chemistry was reduced to colors and smells of various substances and that we study math to apply it in physics).
Unfortunately our common sense is far behind these theories (although our gadgets rely on these advances in physics), as most people can barely imagine a curved space-time, so these dreams remain quite obscure: imagine that everything around is formed from tiny uni-dimensional strings and their various vibrations result in the matter and energy as we know it. That (string theories, cause there are many of them) is their main dream theme for the last 20 years.
Unfortunately our common sense is far behind these theories (although our gadgets rely on these advances in physics), as most people can barely imagine a curved space-time, so these dreams remain quite obscure: imagine that everything around is formed from tiny uni-dimensional strings and their various vibrations result in the matter and energy as we know it. That (string theories, cause there are many of them) is their main dream theme for the last 20 years.
Tuesday, May 10, 2011
A cartel of a different kind
According to Webster an economic cartel is "a combination of independent commercial or industrial enterprises designed to limit competition or fix prices". Usually a group of companies conspire to have higher prices on their products (like the recent case of detergent market in E.U., or the infamous notarial price lists from Romania) or to deter other parts to enter their market (what Vodafone and Orange were charged in Romania), but in this case a group of companies tried to fix the price of labour. Well, labour is a special market anyway, with a lot of social implications, but this market usually has an important asymmetry of information over salaries between the employer and the employee, as many private companies require their employees not to disclose their income (the study of asymmetry of information in markets and its implications was developed by Joseph Stiglitz and he was awarded the Nobel prize in economics for it) . Even in these conditions some companies (namely Apple, Google, Adobe, Intel, Intuit, Lucasfilm and Pixar) allegedly engaged in even more anti-competitive practices (like an agreement not to try to hire employees of one another)? I understand that the competition for talented engineers is tough in Silicon Valley, but these companies are among the most profitable on this planet. It's always nice to save some pennies though, isn't it?
See the full story here with a nice diagram showing the suspected bilateral agreements between various companies.
See the full story here with a nice diagram showing the suspected bilateral agreements between various companies.
Friday, May 06, 2011
Pseudofabula
I recently listened a cover of a nice Romanian classic rock song, here it is:
I wonder is the mouse, the cat, the dog, the wolf and the hunter and the man with rats read the same book, or all of them are that scary? I would say the book I read now is rather fascinating than scary, but that's for another story. However, for those who find alternative rock scary there is also the original version from Rosu si Negru (that would be Red and Black):
I wonder is the mouse, the cat, the dog, the wolf and the hunter and the man with rats read the same book, or all of them are that scary? I would say the book I read now is rather fascinating than scary, but that's for another story. However, for those who find alternative rock scary there is also the original version from Rosu si Negru (that would be Red and Black):
Subscribe to:
Posts (Atom)