The Gathering 1 - The gathering is about to begin#
Tuesday, August 26, 2008 10:02:56 PM (GTB Daylight Time, UTC+03:00) #    Comments [0]  | 

 

www.comiqs.com what a wonderful web site#
As i have mentioned several times before, i love movies & i'm sure i'll shoot mine one day, anyway making a film starts with the script and then the storyboard.I'm not that good @ painting so i serched for a storyboard making software which has templates & pictures in it.Then i found out this beautiful web page.It allows you to create comics with built in templates, conversation boxes, pictures and also it allows you to upload yr own photos.

This is my first comic "The Gathering" ... hope u like it :)


THE GATHERING from lyildiz on Comiqs

Sunday, August 24, 2008 1:59:58 PM (GTB Daylight Time, UTC+03:00) #    Comments [0]  | 

 

Fast SCP for Esx Servers#


Great & wondeful tool for copying files to/from Esx servers to your windows environment.
http://www.veeam.com/veeam_fast_scp.asp

It also has "evaluate to root" option which allows u to access to yr vmfs volumes & copy powered off vm's to local drive.
Friday, August 15, 2008 5:59:08 PM (GTB Daylight Time, UTC+03:00) #    Comments [0]  | 

 

Hack#
AKP'nin sitesi hacklendi...

Bu akşam saat 21:00 civarında...

Friday, August 15, 2008 12:16:38 AM (GTB Daylight Time, UTC+03:00) #    Comments [0]  | 

 

Neden KIZIYORUZ?#
Evet! Bugün bir olay!!! yaşadık.Malum zat Istanbul'a geldi ve aşağıdaki manzaralar oluştu.


Haberleri izlediğimde bütün vatandaşlar şikayet ediyordu.Herkes;
- Böyle yönetim mi olur?
- Vatandaşlarını 3.sınıf vatandaş yerine koyan başka bir yönetim yoktur!!!
- Ankarayı ziyaret etmek istemeyen birisi için vatandaşı bu hale düşürüyorlar ya...
şeklinde konuşuyordu.

Bir tek kişi bile durumdan memnun değildi.Ama bir tek kişi bile...

E o kadar kişi yorum yaptı haberlerde...Bir yorum da benden...
Neden KIZIYORUZ? bu hale düşmeyi kendimiz SEÇMEDİK Mİ?
Friday, August 15, 2008 12:08:44 AM (GTB Daylight Time, UTC+03:00) #    Comments [0]  | 

 

How long did my Query took to execute and what are the statistics?#
As i was just about to code a logging system for a project, i remembered a couple of fine methods which SqlConnection class has.
RetrieveStatistics();

It works with first enabling the stats mode, resetting the stats and when the command is executed, finally retrive the stats.
string strConnectionString = @"Data Source=.\SQLEXPRESS;Initial Catalog=FooDB;Integrated Security=True";
 using (SqlConnection conSQL = new SqlConnection(strConnectionString))
 {
     using (SqlCommand cmdSQL = new SqlCommand("select * from Foo", conSQL))
     {
         cmdSQL.CommandType = CommandType.Text;
         try
         {
             conSQL.Open();
             conSQL.StatisticsEnabled = true;
             
             conSQL.ResetStatistics();
             SqlDataReader drdActiveConfiguration = cmdSQL.ExecuteReader();
             IDictionary idcStat= conSQL.RetrieveStatistics();

             foreach (DictionaryEntry dceItem in idcStat)
             {
                 Console.WriteLine("Key: {0}, Value: {1}", dceItem.Key.ToString(), dceItem.Value.ToString());
             }

             DataSet dsActiveConfiguration = new DataSet();
             dsActiveConfiguration.Load(drdActiveConfiguration, LoadOption.OverwriteChanges, new string[] { "Foo1" });

             dsActiveConfiguration.Clear();
             conSQL.Close();
         }
         catch (Exception excp)
         {
         }
     }
 }
By using this method, you get a quite information about the execution process...

Key: NetworkServerTime, Value: 375
Key: BytesReceived, Value: 224
Key: UnpreparedExecs, Value: 1
Key: SumResultSets, Value: 0
Key: SelectCount, Value: 0
Key: PreparedExecs, Value: 0
Key: ConnectionTime, Value: 390
Key: ExecutionTime, Value: 390
Key: Prepares, Value: 0
Key: BuffersSent, Value: 1
Key: SelectRows, Value: 0
Key: ServerRoundtrips, Value: 1
Key: CursorOpens, Value: 0
Key: Transactions, Value: 0
Key: BytesSent, Value: 388
Key: BuffersReceived, Value: 1
Key: IduRows, Value: 0
Key: IduCount, Value: 0
Press any key to continue . . .


which is very handy :)

Thursday, August 14, 2008 9:39:59 PM (GTB Daylight Time, UTC+03:00) #    Comments [0]  | 

 

VmWare Esx 3.5 Update 2 Date Bug#

To those users who has dloaded & installed Update 2 for their Esx 3.5 servers;
Due to an undefined date bug, vmware Esx 3.5 Update 2 servers will not power up VM's by today.
You can find specific info @ here

To solve this problem u need to change the time on Esx servers by typing below commands from service console.

service ntpd stop
date -s 20080811
vmware start
service ntpd start


This is not a total solution by all means, but since there is still no released bugfix for this problem(VmWare says there will be in 36 hrs), these commands will help to power up yr vm's.
Tuesday, August 12, 2008 11:43:19 PM (GTB Daylight Time, UTC+03:00) #    Comments [0]  | 

 

XML Serialization of an Arraylist.#
Today i received a question about how to serialize an arraylist through xmlserialization.
Then i rapidly wrote a class named MyData which has 2 properties
public class MyData
{
public int a;
public string b;
public MyData()
{ }
public MyData(int _a, string _b)
{
a = _a;
b = _b;
}
}
Then generated some instances and added them to an arraylist in the main project.
class Program
{
static void Main(string[] args)
{
RunIt();
}
static void RunIt()
{
MyData v1 = new
MyData(0, "Zero");
MyData v2 = new MyData(1, "One");
MyData v3 = new MyData(2, "Two");

ArrayList al = new ArrayList();
al.Add(v1);
al.Add(v2);
al.Add(v3);

XmlSerializer s = new XmlSerializer(typeof(ArrayList));
string path = @"c:\seri.xml";
TextWriter tx = new StreamWriter(path, true);
s.Serialize(tx, al);
tx.Close();

FileStream fs = File.OpenRead(@"c:\seri.xml");
ArrayList ax = (ArrayList)s.Deserialize(fs);

Console.WriteLine(((
MyData)ax[0]).a.ToString());
Console.WriteLine(((
MyData)ax[1]).a.ToString());
Console.WriteLine(((
MyData)ax[2]).a.ToString());

}
}
When i ran the code i got the error, {"The type ConsoleApplication1.MyData was not expected. Use the XmlInclude or SoapInclude attribute to specify types that are not known statically."} which was the main question.

After some search i found out tht XmlSerializer was not aware of the type of MyData class and thus i got the above error.
To make XmlSerializer aware of a custom type, you should use one of it's constructer methods while u'r creating the object.
While creating XmlSerializer object i just added type type of my arraylist includes.
XmlSerializer s = new XmlSerializer(typeof(ArrayList),new Type[]{typeof(MyData)});
Ps: also i found out tht if u're developing this kind of code and having these type of errors, everytime u run the project make sure u delete the serialization file.Cause previous failed attemps may cause the right code to throw exceptions.

Saturday, August 09, 2008 7:59:02 PM (GTB Daylight Time, UTC+03:00) #    Comments [0]  | 

 

Windows update problem 0x8DDD0018#

Just minutes ago i tried to update my windows xp via ie windows update option.Unfortunately i got a message telling me tht some services (BITS Background intelligent transfer service, Eventlog and Automatic updates) is not running thus windows update is not available unless i start those services.

The interesting thing was all the services mentioned in error message was up & running, so i tried the old & dirty way & restarted windows :)
Believe me if restarting not solves your problem you got a problem.

Then i googled & found an interesting solution & it worked out very well

run "regsvr32.exe wuaueng.dll" command from cmd.

Question was how did wuaueng.dll unregistered?

Thursday, August 07, 2008 10:51:57 PM (GTB Daylight Time, UTC+03:00) #    Comments [0]  | 

 

Upcoming movies "Avatar the last airbender" & "Transformers 2 the revenge of the fallen"#

2009 will be a kickn year for me.

I really must take some place in movie business.Cause every sunday i watch Avatar with my son and wonder why the hell they don't bring it to screen, then i saw the movie "Avatar" is set to be on screen by december,2009 while i was surfing imdb.



Beside there will be many s.f. movies, but i fall of the chair when i read about "Transformers 2 - the revenge of the fallen" will also take place in 2009.


Monday, August 04, 2008 2:20:17 AM (GTB Daylight Time, UTC+03:00) #    Comments [0]  | 

 

All content © 2012, Levent YILDIZ
On this page
This site
Calendar
<February 2012>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910
Archives
Sitemap
Blogroll OPML
Disclaimer

Powered by: newtelligence dasBlog 2.3.9074.18820

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

Send mail to the author(s) E-mail

Theme design by Jelle Druyts


Pick a theme: