Posted by: Dasha on: November 14, 2009
Yesterday I tried coloured pencils. Never thought it was so difficult – now reading tutorials
There are very interesting articles on drawing on http://demiart.ru but mostly in russian.
So this is the same bottle-thing but in colours

Posted by: Dasha on: November 13, 2009
So I started! I found a very-very old film camera Zenit. It belongs to my father and now must be really outdated.
First time didn’t give any extraordinary results but lots of fun and experience for sure
.
So here are some “raw” photos:







Posted by: Dasha on: November 8, 2009
So i just started my drawing lessons today! Woohoo!
My friend Alex said half an hour a day should be enough. Well we will check soon
And we have some sort of photography competition between us – he has an advantage right now but we will see who will win


Please be kind – I am just starting.
Posted by: Dasha on: September 20, 2009
An interesting fact – efficiency of most of Russian organisations nowadays is only 30-50% due to the low productivity of the staff. Which means every full time employee wage is for less than a half of possible work done. And the more money you pay to a worker – the more money you lose. As statistics says the average wage in Russia now is about 18,000 roubles then the employer could lose up to 9,000 per person per month. This turns into 108,000 roubles a year. Huge amount of money if you have, say, 10 employees…
Motivate us!!!
Posted by: Dasha on: September 12, 2009
On the 9th September I did my first public speech at the Microsoft local club. I spoke on ASP.NET MVC framework.
Have to say it was a great experience! And I guess I would want to try it again!
There are also a few pics from there:


Posted by: Dasha on: July 27, 2009
Today looking through the logs of my payment script I found a new response status for myself – OK REPEATED!
I knew SagePay keeps sending posts until they finally reach you (not exectly so but they keep posting for quite a long time) but in the Integration guide I could find only one place mentioning OK REPEATED status.
Though on the SagePay Support forum I found another one – OK FAILED, which I don’t know what could mean even…
Don’t know why SagePay team didn’t describe all the possible statuses and how we should handle them in the manual and in the example files, but it would be a great help if they did. Seems like these two should be treated as an equivalent to OK response.
Please let me know if you know more on the topic. Thanks!
Posted by: Dasha on: July 27, 2009
Weird thing happened to my GData application – it started throwing “Unable to readresponse, or response is empty” error on upload. The only thing to matter seemed to be a file size.
After some time of serching the Internet found the solution – try to increase timeout limit in Zend/Htt/client.php script. It set to 10 seconds by default. I changed to 20 and it solved the problem.
Hope it will help someone too!
Posted by: Dasha on: June 28, 2009
A few days ago I have found out for myself about one more difference between PHP and C# OOP impelentations. Look at the following code snippet in PHP:
class ParentClass {
public $val = 'Parent';
public function GetValue()
{
echo $this->val;
}
}
class ChildClass extends ParentClass {
public $val = 'Child';
}
$a = new ChildClass();
$a->GetValue();
What do you expect it to show – ‘Parent’ or ‘Child’? The PHP manual says the result will be ‘Child’. And it seems quite logical to me as I would expect public property to be overridden.
Now rewrite the same code to C#:
class Parent {
public string val = "Parent";
public void GetValue() {
Console.WriteLine(this.val);
}
}
class Child:Parent {
public string val = "Child";
}
Child child = new Child();
child.getValue();
Run the code and you will get ‘Parent’…
Change access modifier of val to private in the parent class. Now both PHP and C# outputs the same – ‘Parent’. Why?
First thing to mention is that unlike PHP, public identifiers cannot be overridden in C#. Calling GetValue(), this points to parent object and returns “not overridden” value of val as a result. Private identifers inside parent are not accessible for the child and therefore are not overridden so everything becomes clear.
To make C# behavior similar to PHP you should either add a method with the same signature and with override keyword to Child class and mark parent method as virtual:
class Parent {
public string val = "Parent";
public virtual void GetValue() {
Console.WriteLine(this.val);
}
}
class Child:Parent {
public string val = "Child";
public override void GetValue() {
Console.WriteLine(this.val);
}
}
or use overridden public properties to access the val value. This will work correctly as unlike public fields, public properties can be overridden.
class Parent {
private string privateVal = "Parent";
public virtual string val
{
get { return privateVal; }
}
public void GetValue()
{
Console.WriteLine(this.val);
}
}
class Child : Parent {
private string privateVal = "Child";
public override string val
{
get { return privateVal; }
}
}
I couln’t find any “standard” behaviour for this case. So I guess it was up to C# and PHP teams how to implement this.
Posted by: Dasha on: June 27, 2009
Today my client wanted to update a text on the page with DreamWeaver… just a text and it ended up with the whole page screwed up…
There is no reason to blame DreamWeaver of course – it does its job.
My advise for customers – if it’s possible use CMS next time.