I always had this strange gut feeling that pure drawinism wasn't going to be an acceptable explanation for our world. I agree that in theory it could work, but I was never able to believe that the results we observe in nature could be justified from a numeric point of view only by natural selection. With this I mean that in my opinion natural selection simply couldn't have enough strength to make the human body (just for example) such an impressive machine.
Recently when my mother had a thrombosis problem I discovered things about how our blood works that I didn't know. Just the explanation of how our body reacts to an injury trying to prevent the losing of too much blood is impressive. Just that little bit is incredibly sophisticated and requires a very precise equilibrium... too much of a value and your blood is going to coagulate when there's no injury, and you die; a value too low and your body will not be able to stop losing blood from a little cut and you also die. Thinking that such a perfection comes by mere natural section doesn't seem to me reasonable.
Yesterday I stumbled in a page that explained that exactly the machinery required to coagulate our blood when needed is a part that is hardly justifiable by natural selection. It's a chain reaction of activations of proteins where no mistake and no misregulation is allowed, and so it's hard to justify how such a system could have been evolving one step after another because in that system you can't change just one variable, you have to change several at the same time to keep the balance. In other words the idea that the system has been reached by casual mutations that produced a sequence of organisms every one better than the previous one simply doesn't work; the intermediate ones would have been not better, and so they've no reason to survive. I don't know if I like the position of Intelligent Design (even if admittedly would make things a lot easier to explain; especially if you don't make the big jump of assuming the existence of a god but just that of someone - necessarily non-human, but not necessarily super-human - that is directing or has been directing the evolution) but I'm happy to see that at least to someone else the pure theory of evolution doesn't seem plausible.
Another doubt I always had since I was a kid is about glacial periods, I wonder if indeed even that area is seriously under discussion.
Monday, December 26, 2005
Tuesday, December 20, 2005
where is the common sense ?
Today I downloaded a program that allows you to design reports with data extracted from an SQL database. About 600MBytes. Then the received file was indeed just self-extracting itself in a setup directory of roughly another 600MBytes. Then from this second directory you can install the program that it takes around 600 MBytes.
Oh... and just after downloading the file (only minutes later) you may want to download the service pack 1... about 140Mb.
I'm the only one that finds this just outrageous ?
Why downloading a program that then unzips in a bunch of files that then can be used for setup? Is this passage really needed ? Why asking your users to download a big outdated program from the site and then asking them to download another big chunk of corrections ? wouldn't be better to have just the version patched on the first download ? And the size itself of the program is IMO an offense to the art of programming.
Bah.
Oh... and just after downloading the file (only minutes later) you may want to download the service pack 1... about 140Mb.
I'm the only one that finds this just outrageous ?
Why downloading a program that then unzips in a bunch of files that then can be used for setup? Is this passage really needed ? Why asking your users to download a big outdated program from the site and then asking them to download another big chunk of corrections ? wouldn't be better to have just the version patched on the first download ? And the size itself of the program is IMO an offense to the art of programming.
Bah.
Sunday, October 23, 2005
dad's back to the hospital
Sometimes life sucks. My dad has been following the diet almost perfectly and indeed the diabet last year looked under much better control. But apparently he had another serious problem and now he's back to the hospital with blood pockets attached to his body. Be nice and do your part, and you'll be run over by a truck anyway.
There must be a reason if they said that the most important thing is being healthy.
There must be a reason if they said that the most important thing is being healthy.
Monday, October 10, 2005
i know who i won't vote for
I'm not really into politics; but the last day I almost involuntarily listened to Romano Prodi talking on TV. First of all it was, or it was supposed to be, a popular protest against the financing law and the electoral law but was indeed just a showcase for red flags and an electoral spot for Prodi; almost nothing was said in the specific about the two issues that were supposed to be the reason for the protest.
What it was really shocking for me was however that only one message was clear... they hate Berlusconi and every single thing the current government made: the situation is dramatic and is getting worse every single minute and it's all a fault of the current government. Nothing, literally nothing, was proposed as an alternative. They never said what they would have done if being in charge... Prodi just stopped to the much easier position of "they did it wrong". Is such a pathetic non-program enough to win ? I hope not... I think not.
But this is Italy...
What it was really shocking for me was however that only one message was clear... they hate Berlusconi and every single thing the current government made: the situation is dramatic and is getting worse every single minute and it's all a fault of the current government. Nothing, literally nothing, was proposed as an alternative. They never said what they would have done if being in charge... Prodi just stopped to the much easier position of "they did it wrong". Is such a pathetic non-program enough to win ? I hope not... I think not.
But this is Italy...
Monday, October 03, 2005
i hate mondays
... or, actually, I think Mondays hate me
my idea was to start the week with a positive mindset but even from the very moment I woke up I knew everything wasn't going to be perfect. It was raining like hell, and it was also damn cold in my house. Ok... it happens. While having breakfast the TV forecast said the bad weather will last until next weekend. Yay! My sneezing made me realize I'm not going to be 100% operative. My original plan was to subscribe to the swimming pool this week, but it would mean just waste a week... so I decided to postpone the subscription.
Then, with still some residual positive mindset, I went down to the box to pick up the car. I was just a bit late, as usual, not something I like but I think that counting how late I stay at work no one will even think about. Flat tire. Double Yay!. It wasn't even the same tire that gave me problems in the past... So I replaced the tire with the emergency one (getting dirty has as one can get) and drove to the tire shop. There I told them what happened and also about the other tire that slowly deflates continuously (it was used to take around 8/10 days to get to the point of being visibly deflated). That, and the current situations of the tires, made me decide to change them all. 220 euros. Triple yay!
I got to work one hour and half late on my usual late schedule, and it wasn't a really wonderful workday (but not that bad either). When coming home I burnt the topping for my pasta (and I burnt it after removing it from the fire just because I left it in the pan and took care of the cat that decided it was a nice moment to go to its bathroom - hint, if you've a persian long hair cat then try to avoid feeding it with food that implies almost liquid feces). Yay... overcooked pasta with just olive oil as topping.
When driving back to work I was kind of in a hurry... and I saw a flash on my rear mirror. It was raining as hell, of course, so *may be* it was just a lightning at distance... but I wouldn't be surprised to discover I got yesterday the first autovelox ticket in my life: I've heard it's becoming more and more common to use those devices in town and not only on extratown streets. I'm really looking forward in the mailbox for the ticket.
I hate mondays, and I'm going to spend on mondays roughly 1/7 of my life...
my idea was to start the week with a positive mindset but even from the very moment I woke up I knew everything wasn't going to be perfect. It was raining like hell, and it was also damn cold in my house. Ok... it happens. While having breakfast the TV forecast said the bad weather will last until next weekend. Yay! My sneezing made me realize I'm not going to be 100% operative. My original plan was to subscribe to the swimming pool this week, but it would mean just waste a week... so I decided to postpone the subscription.
Then, with still some residual positive mindset, I went down to the box to pick up the car. I was just a bit late, as usual, not something I like but I think that counting how late I stay at work no one will even think about. Flat tire. Double Yay!. It wasn't even the same tire that gave me problems in the past... So I replaced the tire with the emergency one (getting dirty has as one can get) and drove to the tire shop. There I told them what happened and also about the other tire that slowly deflates continuously (it was used to take around 8/10 days to get to the point of being visibly deflated). That, and the current situations of the tires, made me decide to change them all. 220 euros. Triple yay!
I got to work one hour and half late on my usual late schedule, and it wasn't a really wonderful workday (but not that bad either). When coming home I burnt the topping for my pasta (and I burnt it after removing it from the fire just because I left it in the pan and took care of the cat that decided it was a nice moment to go to its bathroom - hint, if you've a persian long hair cat then try to avoid feeding it with food that implies almost liquid feces). Yay... overcooked pasta with just olive oil as topping.
When driving back to work I was kind of in a hurry... and I saw a flash on my rear mirror. It was raining as hell, of course, so *may be* it was just a lightning at distance... but I wouldn't be surprised to discover I got yesterday the first autovelox ticket in my life: I've heard it's becoming more and more common to use those devices in town and not only on extratown streets. I'm really looking forward in the mailbox for the ticket.
I hate mondays, and I'm going to spend on mondays roughly 1/7 of my life...
Sunday, September 18, 2005
music time
I decided to refresh a bit the who-am-I section in my homepage and even added a first recording from my piano to it. The recording is supposed to be Chopin waltz op 64/2, and excluding a few evident absences it should have almost all notes in it and the extra ones shouldn't be that many.
Once the notes are ok I'll try to work on the playing :-))
Once the notes are ok I'll try to work on the playing :-))
the world is not so bad
When coming back from my vacation I lost my wallet on the train; I'm not sure if it fell in the crowded aisle of the train or if I indeed forgot it on the seat (I'd say the former, but being me I can't exclude the latter). Anyway I had everything in it, my credit card, a couple of cash cards, my driving license, ID, other cards and a somewhat big amount of cash (about 400 euros).
When, at home, I realized I didn't have it I immediately blocked the cards as I thought that someone stolen it in that aisle... well... it turned out that someone that didn't even leave enough information to be reached gave it to the police at the central station in Milan and so the very next day I was able to get back all my stuff, including all the cash!
Also given that it took me more than an hour to get it back from the police I suppose that even for just giving it to them that person had to spend some time providing explanations for the official record. Add to this that the train I was in was also half an hour late on the schedule and that the evening was approaching (the train arrived in the central station after 8pm; as you probably understand the central station in Milan is really not the best place to stay in the evening) and you'll probably agree that I've certainly to say a *big* thankyou to who gave me back my stuff.
This world is not so bad after all...
When, at home, I realized I didn't have it I immediately blocked the cards as I thought that someone stolen it in that aisle... well... it turned out that someone that didn't even leave enough information to be reached gave it to the police at the central station in Milan and so the very next day I was able to get back all my stuff, including all the cash!
Also given that it took me more than an hour to get it back from the police I suppose that even for just giving it to them that person had to spend some time providing explanations for the official record. Add to this that the train I was in was also half an hour late on the schedule and that the evening was approaching (the train arrived in the central station after 8pm; as you probably understand the central station in Milan is really not the best place to stay in the evening) and you'll probably agree that I've certainly to say a *big* thankyou to who gave me back my stuff.
This world is not so bad after all...
Saturday, August 27, 2005
vacation time!
I'll be leaving tomorrow morning for my yearly week vacation at the chess tourney of Imperia. Last year I prepared a lot for the tourney and (with some luck) won my division; it was also the first time I won a tourney. This year I did basically nothing... so it's gonna to be a quite terrible performance :-D
I actually don't care much... it's more just sleeping a bit more, going around in a nice place near the sea and getting very good even is somewhat excessive food for a week. I also decided I won't go running every morning this year; I'll just chill out a bit more.
I finally finished Chopin waltz op 64/2 and I just started looking at nocturne op 9/1. It actually looks much harder than I thought by hearing the piece: the dreamy out of time part for the right hand is accompanied by left hand broken chords I can barely take; I've no idea if with exercise I'll be able to get them easy enough to forget about them and have them playing themselves... we'll see.
Also I didn't notice hearing the piece the acciaccatura with a two octave and half interval. I actually wonder what that really means; for what I know I'd say that such a thing is impossible to play for a human being...
I actually don't care much... it's more just sleeping a bit more, going around in a nice place near the sea and getting very good even is somewhat excessive food for a week. I also decided I won't go running every morning this year; I'll just chill out a bit more.
I finally finished Chopin waltz op 64/2 and I just started looking at nocturne op 9/1. It actually looks much harder than I thought by hearing the piece: the dreamy out of time part for the right hand is accompanied by left hand broken chords I can barely take; I've no idea if with exercise I'll be able to get them easy enough to forget about them and have them playing themselves... we'll see.
Also I didn't notice hearing the piece the acciaccatura with a two octave and half interval. I actually wonder what that really means; for what I know I'd say that such a thing is impossible to play for a human being...
Monday, August 22, 2005
you lose!
Whoops... in the second competition on TopCoder I slipped badly and fell on my back. I only "solved" the two easy problems but the first solution had a off-by-one error ('<' instead of '<=') and in the second I was way too slow.
Actually it was shocking to see how many failed the first problem and not by off-by-one errors like I did but with true broken logic (missing cases) or doing redundant illogical tests (that didn't harm, however... melius abundare quam deficere has never been my view in programming, but apparently it pays off).
It was anyway fun... I want more of those :-). There's also an italian that performed extremely well (about the time taken to complete the "easy" tests... even if it's one of the many cases of pointless checks).
On the second problem I was lucky to have it actually correct. I implemented a working solution, but slowly and an horrible one compared to a few cooler ones I saw. Do this kind of sloppy reasoning in a more complex problem and the 2-secs limit on running time will look like as unsormountable barrier.
It's a pity the online competitions happen at those strange times, but this is what we pay for not living all in the same place. Many italians I know wouldn't be able to compete just because of that problem and the schedule is a problem for me too even if I work close to where I live.
I hope Pisky (the only surviving italian in TCO05) can make it further... he won also $75. From now he'll have a thougher path, including the need to put an alarm at 2.30am to compete (!).
The kind of round that we faced however is exactly what I wouldn't like about real programming. Easy problems and you've to code them in a hurry; and even if the solution is ugly from all points of views, if it works then it's ok. Exactly favoring "do it badly but do it now"; what I think is an horrible philosophy.
There was also an interesting hard problem... i wasn't able to complete it on time and it was probably even more complex than I thought as only 11 of about 650 partecipants were able to provide a working solution.
Actually it was shocking to see how many failed the first problem and not by off-by-one errors like I did but with true broken logic (missing cases) or doing redundant illogical tests (that didn't harm, however... melius abundare quam deficere has never been my view in programming, but apparently it pays off).
It was anyway fun... I want more of those :-). There's also an italian that performed extremely well (about the time taken to complete the "easy" tests... even if it's one of the many cases of pointless checks).
On the second problem I was lucky to have it actually correct. I implemented a working solution, but slowly and an horrible one compared to a few cooler ones I saw. Do this kind of sloppy reasoning in a more complex problem and the 2-secs limit on running time will look like as unsormountable barrier.
It's a pity the online competitions happen at those strange times, but this is what we pay for not living all in the same place. Many italians I know wouldn't be able to compete just because of that problem and the schedule is a problem for me too even if I work close to where I live.
I hope Pisky (the only surviving italian in TCO05) can make it further... he won also $75. From now he'll have a thougher path, including the need to put an alarm at 2.30am to compete (!).
The kind of round that we faced however is exactly what I wouldn't like about real programming. Easy problems and you've to code them in a hurry; and even if the solution is ugly from all points of views, if it works then it's ok. Exactly favoring "do it badly but do it now"; what I think is an horrible philosophy.
There was also an interesting hard problem... i wasn't able to complete it on time and it was probably even more complex than I thought as only 11 of about 650 partecipants were able to provide a working solution.
Monday, August 15, 2005
fight!
Recently a friend of mines introduced me to the world of pure programming competitions on TopCoder. I'm not really the fight-at-all-costs type, but I've to say that I like the idea. I tend most often to see the battle (in chess, or in karate, or now in programming) as a fight against imperfection more than as fight against someone else, but I regretfully discovered that looking at standings to see where I ended up is an important part.
May be indeed that in addition to a fight against imperfection there is a component that is the fight against all others, a fight for distinction (but never a fight against someone specific; even in chess I don't see my opponent as an enemy, and this is probably one of the reasons for which I'm not that good).
Anyway I found myself much weaker than I would have expected ... I need to get better at coding (deep inside I know I'm #1 hehehe).
There are parts of TopCoder that I don't like but still it looks to me a wonderful system and a pretty cool way to exercise. It's not like real coding, of course, but I think it's good. A lot of the emphasis is on the speed, but write incorrect code and you are simply out, as you should deserve.
Also it's funny the challenge part where you are allowed to kick out opponents by proving their solution is incorrect (I don't think this happens often, the submitted code will go through a more serious test anyway so there's just no point in submitting a wrong solution - unless you happen to have a fake account and kick it out from a real account to gain points).
I don't like there's no premium for readability and hence the top solutions are sometimes snippets that would get your ass fired being me the one in charge of quality control, but it would be difficult to place an objective measure for readability (readability depends on the reader, probably it's just that I'm too dumb to understand those programs).
Oh... I would have loved to be surprised on another aspect, but it didn't happen. As one could probably guess there is almost no girl even there. It's because of the fight or because of programming ?
May be indeed that in addition to a fight against imperfection there is a component that is the fight against all others, a fight for distinction (but never a fight against someone specific; even in chess I don't see my opponent as an enemy, and this is probably one of the reasons for which I'm not that good).
Anyway I found myself much weaker than I would have expected ... I need to get better at coding (deep inside I know I'm #1 hehehe).
There are parts of TopCoder that I don't like but still it looks to me a wonderful system and a pretty cool way to exercise. It's not like real coding, of course, but I think it's good. A lot of the emphasis is on the speed, but write incorrect code and you are simply out, as you should deserve.
Also it's funny the challenge part where you are allowed to kick out opponents by proving their solution is incorrect (I don't think this happens often, the submitted code will go through a more serious test anyway so there's just no point in submitting a wrong solution - unless you happen to have a fake account and kick it out from a real account to gain points).
I don't like there's no premium for readability and hence the top solutions are sometimes snippets that would get your ass fired being me the one in charge of quality control, but it would be difficult to place an objective measure for readability (readability depends on the reader, probably it's just that I'm too dumb to understand those programs).
Oh... I would have loved to be surprised on another aspect, but it didn't happen. As one could probably guess there is almost no girl even there. It's because of the fight or because of programming ?
Wednesday, August 10, 2005
better than real ?
Recently we got a tapis roulant (treadmill) for my mother as the doc told her she should walk at least 3Km per day and she doesn't like the idea of going around like a drone for no reason (except at home I mean).
Of course I ended up giving it a try and I've the impression that running on it is harder than running on the street. I did a 10Km run at 10Km/h and I was really almost dead when finishing (no kidding I was counting the last minutes one by one and telling myself "you can do it.... c'mon! don't give up!").
Actually I'm used to run quite longer at about that speed so this puzzles me... I've no idea if it's the missing of the fresh air flowing in the front of you or if it's being *forced* to keep a constant speed. Anyway I like not having to worry about bad streets any I felt my shoulder and back ok even if I noticed my left knee "feeling" the run a bit at the end anyway.
What was also shocking was the price we paid for it. In the company I work for I think that we wouldn't be able to get such a thing out on the market for five times the price we paid to have it delivered to hour house. Ok the huge numbers they produce in China, ok for the really low labor cost over there... but still there is something that looks wrong to me in that price.
Of course I ended up giving it a try and I've the impression that running on it is harder than running on the street. I did a 10Km run at 10Km/h and I was really almost dead when finishing (no kidding I was counting the last minutes one by one and telling myself "you can do it.... c'mon! don't give up!").
Actually I'm used to run quite longer at about that speed so this puzzles me... I've no idea if it's the missing of the fresh air flowing in the front of you or if it's being *forced* to keep a constant speed. Anyway I like not having to worry about bad streets any I felt my shoulder and back ok even if I noticed my left knee "feeling" the run a bit at the end anyway.
What was also shocking was the price we paid for it. In the company I work for I think that we wouldn't be able to get such a thing out on the market for five times the price we paid to have it delivered to hour house. Ok the huge numbers they produce in China, ok for the really low labor cost over there... but still there is something that looks wrong to me in that price.
Tuesday, August 02, 2005
my school is dead :(
While doing some research for increasing the force of our software department I contacted a few local schools, including the one I got my high school diploma from. At the time that school was very famous and students were coming from distant. I for example was coming from more than 100Km, but there were people coming even from further. In my opinion was a very nice school, with good teachers (oh, well, many of them were good, I mean ;-) ) and good labs; the location is also very nice.
From the lists I got however looks like that in last ten years it lost all of his special qualities, or at least lost all of the students, as the only (few) ones are from very near locations. Probably that is the consequence of the opening of a lot of other schools and of the decision of the parents that traveling shorter is much more important than getting good teachers and good labs.
From the lists I got however looks like that in last ten years it lost all of his special qualities, or at least lost all of the students, as the only (few) ones are from very near locations. Probably that is the consequence of the opening of a lot of other schools and of the decision of the parents that traveling shorter is much more important than getting good teachers and good labs.
Friday, July 29, 2005
where are the programmers ?
Lately I've been asked to find someone to expand our software department, and this turned out to be quite a difficult task. We'd be happy to find someone from our local area (we're looking for someone to become part of our team "forever", the focus has always been on people more than on processes) but apparently programmers are basically non-existent today at least around here. When I say programmers I'm talking about real code... of course it's easy to find someone that self-defines him/herself as a programmer, but for which the only "programming language" is HTML.
I find this quite disappointing, but even worse is the impression I get when looking at the projects made in high school; I keep bouncing in stupid "multimedia projects" that are just HTML and may be some form (wow!). The suspect then becomes that the problem is not that the good ones actually flew away from this place, but that they indeed never existed.
I keep seeing people doing their final thesis at university that in newsgroups about C / C++ ask questions or show code snippets that are by themselves a crystal clear proof they suck *horribly* at writing code. And when they get out of university way too many think that the key is to be able to draw an UML diagram, the rest are boring details for the bozos.
But seems to me that in this picture there's something wrong, high school guys will do the nice websites, and university guys will draw nice powerpoint slides about wonderful projects. But where's the meat ? Who is going to actually write the code ?
I find this quite disappointing, but even worse is the impression I get when looking at the projects made in high school; I keep bouncing in stupid "multimedia projects" that are just HTML and may be some form (wow!). The suspect then becomes that the problem is not that the good ones actually flew away from this place, but that they indeed never existed.
I keep seeing people doing their final thesis at university that in newsgroups about C / C++ ask questions or show code snippets that are by themselves a crystal clear proof they suck *horribly* at writing code. And when they get out of university way too many think that the key is to be able to draw an UML diagram, the rest are boring details for the bozos.
But seems to me that in this picture there's something wrong, high school guys will do the nice websites, and university guys will draw nice powerpoint slides about wonderful projects. But where's the meat ? Who is going to actually write the code ?
Thursday, July 21, 2005
huh.... looks like i got older
All of a sudden I feel very old deep inside. I have all those little pains, I can't sleep well, I forget things. I can't see anything clear without my glasses.
May be this is how one should feel when turning 39 :-). Bah. Sometimes it sucks getting older, but the alternative doesn't look that interesting either.
I started wondering if I'll ever run the New York marathon or not; now I always feel a pain on the side of my left knee after running a few miles.
But something that really made me feeling older was chat I had with a friend. It all started with a discussion about the new electronic piano I bought (an entry-level one, for about 1000 euros; I'm still terrible at the piano and I probably forever will, a 7000 euros piano wouldn't change that) and on how crappy it is (like how crappy is my computer, my graphic card, my shoes, my chair, Chopin and basically my whole life) and right after that I happened to get a chat message that wasn't meant for me... followed by a rather shocking "whoops... oh well, take a look you too... it could help".
The mistyped message was a link to someone that makes strange noises and burns CDs to sell them. I suppose that's meant to be music but I cannot avoid to compare what Chopin (forced to use more or less just twelve frequencies on a percussion instrument) was able to do compared to what that guy can do now with the total exact control of the waveform. The total control in those hands just produced crap. Stinking distilled crap. *THAT* made me feeling older. I'm sure that "music" will be forgot at the speed of light even from the relatives of the author.
Probably what my grandpa thought about rock.
I also felt offended. Really truly offended. Offended only like a very old person can get. I'm not going to get over it without excuses. I'd say this is also a sign I'm old... but indeed I used to get offended easily even when I was a youngster.
May be this is how one should feel when turning 39 :-). Bah. Sometimes it sucks getting older, but the alternative doesn't look that interesting either.
I started wondering if I'll ever run the New York marathon or not; now I always feel a pain on the side of my left knee after running a few miles.
But something that really made me feeling older was chat I had with a friend. It all started with a discussion about the new electronic piano I bought (an entry-level one, for about 1000 euros; I'm still terrible at the piano and I probably forever will, a 7000 euros piano wouldn't change that) and on how crappy it is (like how crappy is my computer, my graphic card, my shoes, my chair, Chopin and basically my whole life) and right after that I happened to get a chat message that wasn't meant for me... followed by a rather shocking "whoops... oh well, take a look you too... it could help".
The mistyped message was a link to someone that makes strange noises and burns CDs to sell them. I suppose that's meant to be music but I cannot avoid to compare what Chopin (forced to use more or less just twelve frequencies on a percussion instrument) was able to do compared to what that guy can do now with the total exact control of the waveform. The total control in those hands just produced crap. Stinking distilled crap. *THAT* made me feeling older. I'm sure that "music" will be forgot at the speed of light even from the relatives of the author.
Probably what my grandpa thought about rock.
I also felt offended. Really truly offended. Offended only like a very old person can get. I'm not going to get over it without excuses. I'd say this is also a sign I'm old... but indeed I used to get offended easily even when I was a youngster.
Sunday, June 12, 2005
ssssssst... keep quiet please...
I decided to start studying piano again; so the first move was finding the time (my plan is to find one hour per day) and the second move was to get an instrument that would allow me to survive to the anger of neighbors. I already have an acoustic piano, but I'm normally home only at weird hours when playing it would be annoying for the others. One thousand euros for a digital piano with a decent GH keyboard and reasonable piano synthesis. So far I'm happy of it...
May be I'll try to put some recording on the webpage when they'll be good enough to not have people running away screaming in deep disgust :-D
May be I'll try to put some recording on the webpage when they'll be good enough to not have people running away screaming in deep disgust :-D
Friday, May 20, 2005
PERL ? what's that ?
It really surprised me, but I forgot almost all about PERL. After just a few months hacking with Python I do not even remember basic syntax (and I've used PERL for long... even writing non trivial web-based applications that in retrospect do not fit in what I think is PERL target). I was able to get the job done but I had to resort to documentation (and it was a really trivial script to convert a text file with some hex data into a format suitable for importing in excel). I'm just getting old, I suppose.
Tuesday, May 03, 2005
and i want it NOW
Yesterday I watched on history channel the a documentary about the match Kasparov/Deep Blue, and I was impressed by an intermezzo that was added between that show and the next one (that was a biography of Bobby Fischer).
It was a collection of small news of the "Week of Incom" ... something dated 1943 that was sort of a TV news when there was no television yet here in Italy. The week of incom was added before movies and there were newsreports about the war, but also about other aspects like exhibitions, fashion, sport.
I stopped wondering why it's so important for the news to be fresh... even more... for them to be instantaneous. The TV channels are always fighting for who delivers something FIRST, not who delivers the better report. They even get to the absurd level of talking about something they don't have yet the faintest idea... something that may be it won't even deserve a place in the news... even just to be able to say "we'll report about this next in next edition".
Why is this really important ? For some news it's of course important being timely, but I would say not for most of them, especially if you're reporting news from other parts of the world.
May be it's the usual problem of the time resource... time looks so important to every single individual while it's probably the only resource we're not going to run out as a collectivity. Our society gives big prizes to who does it first, not to who does it better. Even if there's a common saying here in italy that goes more or less "well and quickly don't go together" few are the ones that can take their time.
It was a collection of small news of the "Week of Incom" ... something dated 1943 that was sort of a TV news when there was no television yet here in Italy. The week of incom was added before movies and there were newsreports about the war, but also about other aspects like exhibitions, fashion, sport.
I stopped wondering why it's so important for the news to be fresh... even more... for them to be instantaneous. The TV channels are always fighting for who delivers something FIRST, not who delivers the better report. They even get to the absurd level of talking about something they don't have yet the faintest idea... something that may be it won't even deserve a place in the news... even just to be able to say "we'll report about this next in next edition".
Why is this really important ? For some news it's of course important being timely, but I would say not for most of them, especially if you're reporting news from other parts of the world.
May be it's the usual problem of the time resource... time looks so important to every single individual while it's probably the only resource we're not going to run out as a collectivity. Our society gives big prizes to who does it first, not to who does it better. Even if there's a common saying here in italy that goes more or less "well and quickly don't go together" few are the ones that can take their time.
Monday, April 18, 2005
law of committees
What is the cumulative intelligence of a committee ? I've read somewhere that you can compute a good approximation of it starting from the lowest IQ among the participants and subtracting a 10% for each of them.
Recently in the news I've heard that an european commission forbidden to use wood ovens for cooking and I started believing that 1) the EU commission on this must be huge, 2) that there is at least a not very bright person in it, 3) that the 10% of the law should probably be increased.
Luckily enough on the internet I found that to be an "euromyth", so only the law describing the intelligence of news reporters is playing a role here. Of course in the internet you can find everything, both real and fake, hence I can't tell for sure who is lying and who is telling the truth (I'm way too lazy to investigate further and I can't use common sense to see where the truth is especially because of others real regulations that came out of EU commissions: may be that the regulation outlawing good pizza ovens is not real, but for sure it could have been ... and this is the problem).
Probably a good solution would be to have those journalists talk only about the european commissions, and those EU commissions regulating just journalists; we would end up with a better world.
Recently in the news I've heard that an european commission forbidden to use wood ovens for cooking and I started believing that 1) the EU commission on this must be huge, 2) that there is at least a not very bright person in it, 3) that the 10% of the law should probably be increased.
Luckily enough on the internet I found that to be an "euromyth", so only the law describing the intelligence of news reporters is playing a role here. Of course in the internet you can find everything, both real and fake, hence I can't tell for sure who is lying and who is telling the truth (I'm way too lazy to investigate further and I can't use common sense to see where the truth is especially because of others real regulations that came out of EU commissions: may be that the regulation outlawing good pizza ovens is not real, but for sure it could have been ... and this is the problem).
Probably a good solution would be to have those journalists talk only about the european commissions, and those EU commissions regulating just journalists; we would end up with a better world.
Wednesday, April 13, 2005
i got infected
Yeah, no kidding. And I'm not talking about my computers (they're safe)... I'm talking about my physical body! Recently I've started going to the swimming pool and I kinda like it; after the very early days in which I could barely get to the other side of the pool now I've reached the point in which I can swim for almost as long as I like (not really... but I can do 40 times the swimming pool without stopping, and that is what I normally do in a session).
I'm not a fast swimmer but I also have problems when swimming too slow so I prefer going when the pool isn't too crowded: being like in a traffic jam when swimming is something I really hate. While swimming I think a lot (like when running), but the net result here is that often I forget to count how many times I did the pool and I've to start again.
What I didn't know about swimming pools is this horrible thing of fungus. I've noticed a part of my skin just below my shoulder that changed and that wasn't back to normal after a couple of weeks (so I excluded a temporary irritation). Today I checked the doctor and I've got the bad news. Now I'll have to use a cream for one month to get rid of that uninvited guest.
I'm not a fast swimmer but I also have problems when swimming too slow so I prefer going when the pool isn't too crowded: being like in a traffic jam when swimming is something I really hate. While swimming I think a lot (like when running), but the net result here is that often I forget to count how many times I did the pool and I've to start again.
What I didn't know about swimming pools is this horrible thing of fungus. I've noticed a part of my skin just below my shoulder that changed and that wasn't back to normal after a couple of weeks (so I excluded a temporary irritation). Today I checked the doctor and I've got the bad news. Now I'll have to use a cream for one month to get rid of that uninvited guest.
Tuesday, April 12, 2005
lovely windows API
Here we go... after winning a bit of laziness I implemented a windows' version of my mandelbrot zoomer. It's 20K (about 30 times bigger than then DOS version) and does more or less the same thing.... ok... I'm a bit unfair to windows; this new version has a better palette and a better image quality and also it was written in a C/asm mix because I'm way too lazy to write under windows in pure assembler.
NEWS: I've to eat my words about how fat windows executables must be; it turned out that it's the standard C initialization code inserted by default by VC++ that is fat. Removing that initialization code the program size went down to a 16Kb that UPX is able to shrink into less than 5Kb.
NEWS: I've to eat my words about how fat windows executables must be; it turned out that it's the standard C initialization code inserted by default by VC++ that is fat. Removing that initialization code the program size went down to a 16Kb that UPX is able to shrink into less than 5Kb.
Tuesday, April 05, 2005
two days in the wind of internet
I'm not kidding. The home PC of my boss that I reinstalled from scratch last week is probably already compromised (just my suspect from a few reported symptoms). May be this will cost me the job... but I'm going to refuse to reinstall it again, when it's too much it's too much.
Why can't people sue Microsoft for damages due to design errors (especially when they don't get corrected) ?
Is it really that difficult to make a browser that doesn't give your computer, your money and your daughter to pirates just because you view "malicious" pages ? Can this really be just the consequence of stupidity ?
I've always been on the non-paranoid side... thinking to stupidity instead of a plot; but after reading a few security bulletins I'm starting having doubts. In retrospect is absolutely crystal clear to me that allowing a web page to add a bookmark or change what is the home page of the browser is not something that can happen by mistake of a programmer. It requires work, and a damn stupid deliberate decision.
Why can't people sue Microsoft for damages due to design errors (especially when they don't get corrected) ?
Is it really that difficult to make a browser that doesn't give your computer, your money and your daughter to pirates just because you view "malicious" pages ? Can this really be just the consequence of stupidity ?
I've always been on the non-paranoid side... thinking to stupidity instead of a plot; but after reading a few security bulletins I'm starting having doubts. In retrospect is absolutely crystal clear to me that allowing a web page to add a bookmark or change what is the home page of the browser is not something that can happen by mistake of a programmer. It requires work, and a damn stupid deliberate decision.
Sunday, April 03, 2005
lovely fractals
Every now and then I get back on doing very stupid things for no reasons at all. The two last weekends it was trying to code an animated mandelbrot zoomer in assembler using no more than 256 bytes (failing miserably, so far I'm around 600 bytes and I want still to add something). Do I have useful and interesting stuff to do instead of just exercising on pointless code snippets ? Plenty indeed ... but somehow I need to waste time on something completely different.
Probably it's because of all the bad stinking strings attached to the nice stuff I'm asked to do for a living.
Last Friday it was like hell ... guys from the marketing running demos with important customers without trying the machine first. Net result was everyone running around in circles screaming about why things were not working nicely (and, of course, it was something absolutely stupid). Meanwhile the Novell server disk got full right in the middle of some accounting operation... we got corrupted indices and the like so I had to recover from the nightly backup. And as the last Friday drop was the a switch in our LAN that at around 7 pm decided to stop working... which one ? the one in the servers room, of course, so I was forced to replace it immediately because otherwise it was going to be a problem for the night backup jobs.
I've still a couple of hours... may be I'll add antialiasing to my mandelbrot zoomer...
Probably it's because of all the bad stinking strings attached to the nice stuff I'm asked to do for a living.
Last Friday it was like hell ... guys from the marketing running demos with important customers without trying the machine first. Net result was everyone running around in circles screaming about why things were not working nicely (and, of course, it was something absolutely stupid). Meanwhile the Novell server disk got full right in the middle of some accounting operation... we got corrupted indices and the like so I had to recover from the nightly backup. And as the last Friday drop was the a switch in our LAN that at around 7 pm decided to stop working... which one ? the one in the servers room, of course, so I was forced to replace it immediately because otherwise it was going to be a problem for the night backup jobs.
I've still a couple of hours... may be I'll add antialiasing to my mandelbrot zoomer...
Saturday, March 26, 2005
looking for a tunnel
It's sad to see someone in real big trouble... and it's even worse when you can't think anything that could help. I saw the owner of an local small industry related to shoe production that was terribly afraid of current situation. China is biting big chews on market shares with prices that are just impossible to match; even if someone babbles that quality is not very good that would be anyway just a temporary mitigating factor: I can't think they're all stupid and will not be able to catch on if they're really behind. And even if now there's clearly a form of dumping (you can see here prices that are absolutely unreal even considering their tiny monthly salaries) IMO this is isn't the key issue because their "real" prices would be just as impossible to match even without the currency tricks that are apparently being played by their government.
Also I don't think that having laws for protecting our market is a viable option. To me all this means there's no light at the end of the tunnel for a shoemaker here ... ours shoemakers are all closing because this is the Right Thing for the world. Better looking for another tunnel... this one goes nowhere.
Also I don't think that having laws for protecting our market is a viable option. To me all this means there's no light at the end of the tunnel for a shoemaker here ... ours shoemakers are all closing because this is the Right Thing for the world. Better looking for another tunnel... this one goes nowhere.
Saturday, March 19, 2005
in medio stat virtus
I recently started playing chess also on www.gameknot.com and I normally play games with time limit of three days per move. I must say that I sort like this kind of chess variation because sometimes I really need a lot of thinking to find a reasonable move and may be I even need a rest before continuing analyzing the same position. Of course I didn't give up playing the other variation of chess I like a lot... bullet chess (i.e. one minute for the whole game with no increment) on ICC.
May be this is the one of the reasons for which I'm basically a chess no-one :-) if in medio stat virtus probably in extrema stand idiots like me ...
May be this is the one of the reasons for which I'm basically a chess no-one :-) if in medio stat virtus probably in extrema stand idiots like me ...
Thursday, March 17, 2005
money isn't that important, probably
I've made a mistake complaining about yesterday; because (as often happens) today it was worse. What is the thing I hate most ? Re-installing windows (in any flavour) for people that are unable to do that but that are able to get the system trashed with viruses, useless bad-written software and you say what. It's true I get paid anyway ... but this sucks.
I wonder if the problem is that my hourly cost is too low ... I would say not, but apparently my boss values money less than I do.
I wonder if the problem is that my hourly cost is too low ... I would say not, but apparently my boss values money less than I do.
Wednesday, March 16, 2005
reclassification
Ok ... it's official, today has been reclassified as a Monday
I got disturbed to implement urgent stupid fixes that there's no time to test, I've discovered that something I've to do and that is apparently trivial is indeed a rather hard problem (and that's not good for how you're seen by management) and last, but not least, of our five servers the newest one that is also the one less stressed decided to crash with data CRC errors on the hard disk so tomorrow morning will be devoted to re-installing the machine from scratch.
Sometimes I hate Mondays...
I got disturbed to implement urgent stupid fixes that there's no time to test, I've discovered that something I've to do and that is apparently trivial is indeed a rather hard problem (and that's not good for how you're seen by management) and last, but not least, of our five servers the newest one that is also the one less stressed decided to crash with data CRC errors on the hard disk so tomorrow morning will be devoted to re-installing the machine from scratch.
Sometimes I hate Mondays...
Sunday, March 13, 2005
we're doomed
While looking for old HTML experiments I made to try to change a bit the template of this blog I stumpled in a document I dowloaded a few years ago from an italian university; they're the notes for computer programming courses for students of engineering.
Re-reading it I couldn't avoid to feel deep disgust for all the errors and uglyness of those notes; it would be funny if those notes were a joke and not the actual material used to destroy the minds of newcomers in the IT world.
I can only cry for the situation in which sits our fourth-world nation from an information technology point of view. We're going to die (from an information technology point of view), and we deserve it.
We're doomed.
Re-reading it I couldn't avoid to feel deep disgust for all the errors and uglyness of those notes; it would be funny if those notes were a joke and not the actual material used to destroy the minds of newcomers in the IT world.
I can only cry for the situation in which sits our fourth-world nation from an information technology point of view. We're going to die (from an information technology point of view), and we deserve it.
We're doomed.
there are many ways to skin a Python
I keep being undecided about what to use for writing Python extensions for those (few) parts where this very nice language happens to be too slow. I tried the handmade C way, C++ with sip, and now Pyrex.
For now seems to me that Pyrex should be the winner, but I've yet to give a try to boost::python that I was told is quite interesting (the scary part is that boost is huge and I'm using a compiler that's probably considered out ... VC++6).
For now seems to me that Pyrex should be the winner, but I've yet to give a try to boost::python that I was told is quite interesting (the scary part is that boost is huge and I'm using a compiler that's probably considered out ... VC++6).
Saturday, March 12, 2005
to blog or not to blog ?
I saw this site because a friend of mines happens to use it. Lately I was thinking to reinvent my homepage (www.gripho.it) because it became obscenely outdated... so i was thininkg to dropping the double language (in favor of just english) and about a huge simplification (from a tree to a mere sequence). It seems that with blogger is even better... I'd need to just put content and everything else is already done in the form I was about to use.
Will I be able to keep on ? No way. It will probably last a month or so.
But let's give it a try :-)
Andrea "6502" Griffini
Will I be able to keep on ? No way. It will probably last a month or so.
But let's give it a try :-)
Andrea "6502" Griffini
Subscribe to:
Posts (Atom)