Don’t make mistakes with Linkedin. Otherwise you have a chance to be blamed for something illegal, like I did when I accidently sent an invitation to join my network to person who I don’t know.
VS2008 XML/XSD
January 23rd, 2008 by Andrey
It seems like latest version of Visual Studio, I’m talking about VS2008 have some serious problems with generating correct C# datasets from valid (from mine and Altova XmlSpy point of view) XSD files. That’s will be clear tomorrow, so I guess, that I’ll put detailed description of my experiments here shortly.
In general, Perl functions do exactly what you want, unless you want consistency. (c) Programming Perl
erlang, icmp
November 28th, 2007 by Andrey
Funny thing about Erlang is that assuming that language has been designed and implemented with networking programming in mind. Well, it is distributed programming language, so I was expecting some kind of low level networking primitives support, but I was wrong. ICMP, where is it? Raw sockets, nope. Sure, it could be extended via external C routines, but isn’t it an overkill? Disappointed, however this could not stop me from trying to use Erlang in my more or less ambitious attempts to build something usable.
Meanwhile I’m in Plymouth, MN, where I’m planning to stay for the next 2 weeks working on our C#/.NET projects. At the same time I’d like to mention (especially for John D.) that my effort of making something new at the field of tools for Oracle is not dead, far from it. Ozo has been renamed to Database Scout and it’s going forward. Unfortunately I have not too much time to complete first public beta in October, like it was planned, but it seems like November looks pretty reasonable estimation.
C#/Curiously recurring template pattern
May 27th, 2007 by Andrey
It’s funny, but Curiously recurring template pattern works in C#. Well, works, but it’s not possible to implement static methods calls, because C# interfaces does not support them. Anyway, here is a snippet:
using System;
namespace A {
interface IA {
void Test();
}
class Base<T> where T : class, IA {
public void ImplTest() {
(this as T).Test();
}
}
class A : Base<A>, IA {
public void Test() {
Console.WriteLine(“A.Test()”);
}
}
public class _ {
public static void Main(string[] args) {
new A().ImplTest();
}
}
}
XML vs. Scheme vs. Haskell
April 27th, 2007 by Andrey
Found a nice rant about XML/Scheme/Haskell. No comments, I have to think about it.
Somemtimes C# gives me jitters. Sometimes I realize that I’m writing someting abslutely wrong only when method is almost completed. This is applicable when I write something like this at work:
for(Item item : items) {}
or like this at my spare time:
foreach(Item item in items {}
That’s funny, it’s not actually annoying, it’s pure fun, I like my job and I like what I’m doing in my spare time :).
ozo running on linux
March 4th, 2007 by Andrey
Again, a little update, ozo running on linux (Fedora Core 6).
Baby steps of Ozo, Oracle performance tracking and tuning tool, v0.0 running on Windows.
lightdruid.com