First touch on Windows PowerShell Written on September 28, 2007, by akafazov.
I was trying to convert an in-house data format into SQL inserts and used the opportunity to see how PowerShell works. The following script does the job
Input format:
"AYPY";"POM";"638";"PG";"";"Pt.Moresby";"Port Moresby";"Port Moresby";"";
Output:
INSERT INTO dbo.airport
(icao, iata, timezone, country, city, alias, alias2, alias3, [desc])
VALUES ( ‘AYPY’,'POM’,'638′,’PG’,”,’Pt.Moresby’,'Port Moresby’,
‘Port Moresby’,'Port Moresby’);
The script:
$scldata = get-content airport.scl
new-item [...]
Windows Live Writer Written on September 27, 2007, by akafazov.
(snapshot taken while writing this post)
I’ve been using the Writer for a while now and I am really impressed with the tool. WordPress is great platform but as far as posting is concerned it has some drawbacks. For example the visual editor sucks. Now using the writer I don’t have this problem any more. [...]
Pure Energy Systems video Written on September 16, 2007, by akafazov.
It’s quite a good video on using water as fuel via production of hydrogen. Pure Energy Systems (pesn.com) is also a great source of information on the latest discovery in science in areas like alternative fuels, zero point energy, anti-gravity motors, etc. This is the kind of stuff you won’t see on the news and [...]
John Doerr: going green but not fast enough Written on September 9, 2007, by akafazov.
Very interesting talk about green technologies, green future and the global impact on the world. I see many people and institutions trying to do something about the issue. But is this all good enough? I guess it isn’t. But I know, it can be.
Everybody is talking about getting an EV or hybrid car, switching to [...]
John Doerr: going green but not fast enough Written on September 8, 2007, by Angel Kafazov.
Very interesting talk about green technologies, green future and the global impact on the world. I see many people and institutions trying to do something about the issue. But is this all good enough? I guess it isn’t. But I know, it can be.
Everybody is talking about getting an EV or hybrid car, switching to [...]
Новини Written on September 7, 2007, by akafazov.
Днес прегледах новините и се оказва че от доста време не е имало толкова интересни наведнъж.
Apple свалят цената на iPhone с $200 и пускат нов iPod със браузър и WiFi възможности.
Google Reader вече има функция за търсене
Microsoft най-накрая направиха първата версия Silverlight 1.0 и обещаха бъдеща съвместимост с Linux.
AMD са решили да отворят спековете на [...]
Closing TCP connection in .NET 2.0 Written on September 5, 2007, by akafazov.
I was writing a .NET 2.0 module which open a TCP connection and then closed it on per request basis. I noticed that the connection was not being closed after calling the TcpClient.Close() method. It turns out this behaviour is by design. The NetworkStream.Close() method should be called before that.
Reference: http://support.microsoft.com/kb/821625
Perceiving Reality Written on September 2, 2007, by Angel Kafazov.
I stumbled upon this video on Kabbalah in YouTube and it turns out it perfectly illustrates my beliefs about the world and reality. It is called “Perceiving Reality”.


