Wow, more than a year.

June 8, 2011 Leave a comment

There is almost 1.5 years since I last published a new blog post. Lots of stuff has happened in my life. Will share them soon 🙂

Stay tuned!

Advertisements
Categories: Crap, Personal, Thoughts

Goodbye NOD32, Welcome BitDefender.

March 24, 2010 1 comment

For years, I’ve been trusting, using and recommending NOD32 to my customers, and everyone around me. But today, it failed to clean Sality.NAY (Sality.AX for BitDefender) virus. Core system components are infected, so I was unable to delete them. It all begin with flash memory virus detection problems, and it still fails to detect these.

I hvae installed BitDefender, and it did clean every instance of Sality instantly.

I’m leaving NOD32, and will start using BitDefender after now. It has a free version, and I’ll install it to my customers’ computers.

Thank you ESET, for leaving me in the dust. I won’t recommend any of your products after now. If you are into serious IT business, do not recommend it to your customers. You’ll regret it.

The return of a legend: Delphi.

December 28, 2009 2 comments

Just check the screenshot below. The guys at Embarcadero worked really hard, started listening us and this is the result:

Delphi 2010 is a piece of art, a sunshine in the middle of an ocean. It is a gift from heaven, from holy coders at Embarcadero. This time, Delphi is really done right, and backed by a dedicated company. Speed, stability, feature set, everything is perfect.

I personally want to thank everyone who is involved in the process of creating Delphi 2010. You guys rock.

ICC Virus Cleaner

September 8, 2009 1 comment

Recently, one of my computers got infected with this Internet Counter Check virus. When it infects a pc, the virus traces any ftp client for saved passports, and simulates an ftp client. It logs on automatically and infects every php and htm file it finds.

Yesterday, I cleaned 1800 pages of infected files via an automated tool I wrote. You can grab it from the following URL:

http://www.filefactory.com/file/ah682h4/n/Cleaner_rar

I made it quickly, so it doesn’t have an auto-search function. You can use windows search function for php and html files, and drag it to window for processing.

Creating a PostgreSQL Database with TUniScript

August 8, 2009 Leave a comment

Amazing, just amazing. Some software and some developers can not be praised enough. I’m talking about PostgreSQL Database Server, and its excellent features, and its price.

I newly started using PostgreSQL, and believe me, it is one of the most advanced database server in the world.

Combined with a form of fusion (Universal Database Access Components – UniDAC), the Delphi coders found all the energy the would ever need.

I’m to explain how to create a PostgreSQL Database with TUniScript component. I am unable to find a real world example when I first started using UniDAC components.

So here we go. Drop TUniConnection, TPostgreSQLUniProvider and TUniScript components to a form.

Set TUniConnection’s properties, but leave the Database property blank. Set UniScript’s NoPreconnect property to True, and paste this into the SQL property of UniScript component.

DROP DATABASE IF EXISTS "mydatabase";
CREATE DATABASE "mydatabase"
WITH OWNER = postgres
ENCODING = 'UTF8';

Because we didn’t specify a database while setting properties of UniConnection component, we should set it in our code after our database is created:

UniScript1.Execute;
Sleep(5000); // Delay for database creation
UniConnection1.Database := 'mydatabase';

I have added another TUniScript component for adding tables, and it includes table creation data and referential integrity information. After database is created, I’m calling it to create tables:

UniScript2.Execute

And that’s it. We have created a PostgreSQL with Delphi and created tables at runtime. UniDAC is an extremely powerful native component set for Delphi.

A must for a serious programmer.

An update system with an idiotic approach.

June 13, 2009 Leave a comment

Let me introduce you an update approach for disturbing your users, make them suffer and increase potential murder count in your userbase:

1. Make the updates hidden.
2. Require registration for updates. Who cares public usage?
3. Use InstallAware for your software and update distribution platform.
4. Expect all of your users to have broadband internet connection.
5. Force your users to redownload 500 mb’s of update everytime with a new installation. Yes, there are no computers in this world which are part of a development team, and there is nothing called as a network installation.

If a huge company like Embarcadero (CodeGear?) follows this approach, probably it is a right thing, and you should follow them too.

Do anything you want, but stay away from me.

Delphi 2009 Update 1: Now we’re talking

January 19, 2009 11 comments

The guys at CodeGear have a habit of providing unstable products for a long time now. Delphi 2007 was not an exception. But I can assure you that, with the latest update to Delphi, it became really beautiful.

With update 1 for Delphi 2009, the IDE itself became extremely stable and robust. I really like it.

For the old-heads like me, forget about component palette. I did, and I do not regret this decision. I got lots of “wow” effect with the new features came with this version of Delphi.

Delphi 2009 is a really beautiful product. Delphi has really returned this time.

Try it, buy it, use it. The future is bright for us, Delphi developers.