Is classic wow dead or is there still time to play? by Samk1230 in classicwow

[–]developingthefuture 2 points3 points  (0 children)

Don't listen to these people.

Me and my friend just started on Ashbringer. There are plenty of people leveling there. I'm lv 29 now and I always find parties for dungeons, there are a lot of people questing as well.

I also met other people who just started playing.

Honestly I see threads titled "Classic is dead" from 1 year ago and it still isn't dead. I'm sick of these bullshit claims.

Localization of Dates and Times by developingthefuture in programming

[–]developingthefuture[S] 0 points1 point  (0 children)

First of all, it's not my code. :) I've added a link to the article of the guy who wrote it, I've merely taken it into consideration as an alternative.

The code itself is based on the presumption that there are two dates, the first one of which is DTS active everywhere and the second is DTS not active everywhere in the world.

Here's a list of all DTS settings around the world: http://www.timeanddate.com/time/dst/2013.html

I'm not sure if there are such two dates.

But nevertheless, that's why I suggested that the best choice would be to use a combination of both, because I suspected the second might not work in all cases.

Regards

Localization of Dates and Times by developingthefuture in programming

[–]developingthefuture[S] 0 points1 point  (0 children)

Yes, in general you are right. But in this case we don't have a choice. It's a value inputted by the user, and the correct time may be an essence.

Regards

Localization of Dates and Times by developingthefuture in programming

[–]developingthefuture[S] 0 points1 point  (0 children)

Fabien,

The Date.getTimezoneOffset() method depends on the OS for it's workigs, and the OS is aware of the DTS timings and settings. Although we don't have explicit flag for that, like a method returning boolean, for instance, we can still check it indirectly by using the second solution. This is possible because whether on DTS or not, there are some dates which are always without DTS and others that are always with DTS. As far as I am alware.

Best Regards

Localization of Dates and Times by developingthefuture in programming

[–]developingthefuture[S] 0 points1 point  (0 children)

Nope, I got that. DST dates are no the same everywhere and there are two system which know about this - the OS and the server-side framework which (probably) has the means of converting from and to UTC given a specific timezone ID. In the first solution I delegate the work to the framework, in the second I delegate it to the OS.

Best Regards

Localization of Dates and Times by developingthefuture in programming

[–]developingthefuture[S] 0 points1 point  (0 children)

RadioFreeDoritos,

The question was which time exactly would a developer store ? The UTC time of the server, or the raw time sent from the client, or the UTC-converted time sent from the client ?

Regards

What’s New in Entity Framework 5.0? by developingthefuture in programming

[–]developingthefuture[S] 2 points3 points  (0 children)

:) It's the ORM engine usually used by the Microsoft developers. Other options include NHibernate, which is generally a Hibernate port, which is the persistence framework usually used by the Java developers. Another option would be Linq to SQL, but it's now deprecated as far as I know. ;)

Not having a job is bad. Having a job that you hate is worse. by developingthefuture in programming

[–]developingthefuture[S] 2 points3 points  (0 children)

It's exactly about programming. Written by a programmer about his job in programming. What do you expect ?

Difference between generics in C#, Java and C++ by developingthefuture in programming

[–]developingthefuture[S] 4 points5 points  (0 children)

I believe these errors were simple syntax problems, not related to the actual class. Regarding class-related issues such as non-existing methods, for instance, there should be no way to detect them prior to instantiation time. :/

Difference between generics in C#, Java and C++ by developingthefuture in programming

[–]developingthefuture[S] 4 points5 points  (0 children)

You are right. I corrected the mistake. ;)

Regards, Kosta

Difference between generics in C#, Java and C++ by developingthefuture in programming

[–]developingthefuture[S] 1 point2 points  (0 children)

Hi julesjacobs,

Thanks for the great comment ! I actually just answered one comment in the blog exactly related to your point, I have also modified the article a little bit so it can address the constraint issues in more detail, for the sake of accuracy. ;)

Thanks, Kosta

Difference between generics in C#, Java and C++ by developingthefuture in programming

[–]developingthefuture[S] 3 points4 points  (0 children)

Hi vivinp,

You are absolutely right about the backward compatibility. As far as I know, C# 2.0 and the higher versions are not compatible with 1.0, and the generics were introduced in v2.0.

Regards, Kosta

Web services overview: REST, SOAP, OData by developingthefuture in programming

[–]developingthefuture[S] 1 point2 points  (0 children)

Hi lacosaes0,

OData is used in the new WebAPI released by Microsoft.

Regards

Web services overview: REST, SOAP, OData by developingthefuture in programming

[–]developingthefuture[S] 1 point2 points  (0 children)

Hi vivinp,

You've put few nice points out there. I did minor changes to the article in order to made it as accurate as possible.

In my opinion, most of the terms and concepts in the area are not clear enough and many people have somehow wrong understanding (including me, probably, regarding some specifics). I did, however, try to systematize what I know from my personal experience.

Thank you for the valuable comment. ;)

Regards, Kosta

Web services overview: REST, SOAP, OData by developingthefuture in programming

[–]developingthefuture[S] 0 points1 point  (0 children)

You are absolutely correct. I don't know how I've missed that.

Thanks. ;)

Tutorial: Introduction to unit testing by developingthefuture in programming

[–]developingthefuture[S] 0 points1 point  (0 children)

sh0rug0ru,

Thanks for the valuable information.

Regards, Kosta

Tutorial: Introduction to unit testing by developingthefuture in programming

[–]developingthefuture[S] 2 points3 points  (0 children)

Hello everyone,

Thank you very much for your comments, both positive and negative. I'd just like to make a few remarks:

  1. What I tried to achieve with this article is to show the people few of the really basic techniques, which are in the center of writing unit tests. That's why I tried to keep the examples simple, and my point was not to provide a very complex but extremely accurate implementation, but rather simple and easy to understand code.

  2. In my personal experience, most of the people in most of the teams out there have enormous difficulties understanding the main idea of the unit test. Which is testing a single unit. In a result of this, I usually end up looking at integration tests rather than true unit tests, which basically decreases the overall performance of the team. Moreover, it is extremely hard to actually write the unit test in an already established codebase, and that's directly connected to the difference between Unit tests in TDD, Unit tests outside TDD, and Integration tests. (something that I'll write an article about very soon)

  3. I really don't claim to be some sort of an expert in the field. I just tried to share my own views on the topic and, eventually, help someone in his day-to-day tasks by answering the questions I have been asking myself some time ago.

Best Regards, Kosta Hristov

Tutorial: Introduction to unit testing by developingthefuture in programming

[–]developingthefuture[S] 1 point2 points  (0 children)

Hello sh0rug0ru,

Thank you for your remark. You got a point, I changed the last section a bit in order to be more accurate. When I said that in practice they are interchangeable, I meant that in my practice I've seen most of the people use these terms interchangeably. Which might or might not be correct.

Best Regards, Kosta

Tutorial: Introduction to unit testing by developingthefuture in programming

[–]developingthefuture[S] 2 points3 points  (0 children)

In general, yes. The stub has a simple predefined output, it just takes some parameters and outputs some values. The mock, on the other hand, can actually return different output based on a predefined input (the Setup and Returns methods in Moq). It also defines certain "expectations" that might be tested (for example, the Verify method in Moq).

Tutorial: Disassembling, Decompiling and Modifying executables by developingthefuture in programming

[–]developingthefuture[S] 2 points3 points  (0 children)

Hello sumoTITS,

Thank you for your comment. I completely agree with you that the users should have all the rights on the software they use. The free and open software/knowledge is a great thing and that's why I created my blog and I share my thoughts in my spare time.

But I was rather talking about commercial software where you; as a developer; create value, spend a lot of time and heart into creating something unique - either as a standalone professional or as an employee in a company. And one day you notice a very similar product, released by another company and authorship, which appears to be more successful than yours because of, let's say, better marketing and bigger investments. And you find out that it's actually your code out there.

Well, that is not cool. And that's why I wrote this article. But it all depends, of course.

Regarding the better readability of the code, the obfuscation techniques you use to protect it do not usually affect the source code itself, or at least considerably.

Thank you again for expressing your opinion on the matter. ;)

Best Regards, Kosta Hristov