June 6, 2009

Middle East Conflict in One Picture

The Middle East conflict is a complicated phenomenon and the number of points of view on it probably exceeds the number of people involved. But if I had to describe it one picture, it would be this:

May 23, 2009

TFS

Since I work mostly with big corporate clients, I am at the mercy of their company policies. TFS had been released a while ago, but only now it makes its way into mainstream corporate world. Here are some things I have to say about TFS after a couple of months of usage.
[read more...]

February 20, 2009

An ORM Layer in Roundup

Roundup, an bug/issue tracker has a nice approach to ORM. It is written in Python, they have a file called schema.py where you define your database schema in Python. It then automatically generates the tables in MySQL, PostgreSql, Sqlite, or AnyDbm (you get to choose), and keeps them in sync with your schema when you change it!
[read more...]

NHibernate — continued

So, I am still looking for that hbm2ddl tool. I have opened the source project and built everything there. No hbm2ddl in sight. I could, of course, just write an executable that calls SchemaExport class, but this is ridiculous, don’t you think? :-) Asked the question on the NHibernate forum. Will see what comes up.

February 19, 2009

Trying NHibernate

I was recently doing and small research project and got kinda tired of mechanically spitting out all those boring chants like

using (var cmd = new SqlCommand("SELECT foo, bar FROM abc", conn)
{
...
}

I felt like my ride on the ORM train is long overdue. I’ve been planning to try NHibernate too long, and now I have finally found free time to do that.
[read more...]

February 5, 2009

How I lost name resolution

One not so bright day I connected my laptop to the home network and discovered that I lost name resolution. I.e., I could ping other computers by IP address, but not by name. I.e. ping 192.168.0.100 would work, while ping mymachine would not. It used to be fine before! What happened?
[read more...]

January 2, 2009

Merging Configs (WCF and otherwise)

Following up on the WCF config theme. Back in April I wrote a config merger for our CAB application. General scenario was as follows: we had a central “shell” application that was loading “plug-ins” based on a dynamic config file. The shell and the plug-ins were developed by different teams with different release schedules, etc.
[read more...]

WCF Configuration

Thoughts from one of my last projects. It is difficult to create a well-isolated component that uses a WCF client under the covers. WCF reads end-point configuration settings from the app.config, and there is only one app.config per application. This creates a classic “leaking abstraction” problem. I can’t just use the component by doing new MyComponent(), I also need to worry about some scary XML mambo-jumbo in the config file. And if I don’t get it right, the component may fail in mysterious ways. [read more...]

Is .NET a Java clone?

One of my friends said that he admires Microsoft marketing genius for creating a Java clone and bringing it to commercial success. But is .NET really a Java clone? On the surface it definitely seems like it, similarities are numerous. But important differences are numerous as well. I once did a presentation on this at work, and now I am thinking of creating an article to that effect. So, hold on :-)

December 25, 2008

Spam :-(

I was lately inundated by spam comments. I was getting literally dozens of spam comments a day, and the number was ever growing. Requiring users to log in did not help. I had to install the akismet plugin to keep the spam in bay. This is so sad…