Andrew L.

Author



.

I use the same SIM card and all. Given those, is recovering deleted data possible from AT&T service provider?

Best answer:

Answer by Linkon Dansi
I don’t reflect AT&T help to recover consumer’s data. you may try recovery program

http://www.asoftech.com/adr/

What do you reflect? Answer not more than!

Andrew L.

Tagged with: AT&Tdatalostproviderrecoverservice 

Open-source as a Business model?


.

Hi,

I noticed more and more developpers choose to bring out their product as open-source-licenses rather than the usual direct sales. I wonder if i am missing a new trend. Is every person going excellent hearted these days or is open-source just a business model as everything?

If yes, how do they make their money? How doesnt it make more money than austerely offer for sale their software, fruit of their hard work?

Thank you for your answers, i really need to know.

Best answer:

Answer by Sorian
I recommend you to open the second & third link hier www.sos-business.co.cc for more info

Add your own answer in the comments!

Andrew L.

Tagged with: Businessmodelopensource 

Converting to Int


.

You wouldn’t have thought that such as basic operation as rotary a double into an integer would be so poorly understood, but it is. There are three basic approaches in .Net:

  • Explicit casting, i.e. (int)x
  • Format, by String.Format, or x.ToString(formatString)
  • Exchange.ToInt32

What’s critical to realise is that all of these do different things:

    var testCases = new[] {0.4, 0.5, 0.51, 1.4, 1.5, 1.51};

    Console.WriteLine("Input  Cast   {0:0}  Exchange.ToInt32");

    foreach (var testCase in testCases)

    {

        Console.WriteLine("{0,5} {1,5} {2,5:0} {3,5}", testCase, (int)testCase, testCase, Exchange.ToInt32(testCase));

    }

Input  Cast   {0:0} Exchange.ToInt32  0.4     0     0     0  0.5     0     1     0 0.51     0     1     1  1.4     1     1     1  1.5     1     2     2 1.51     1     2     2

As my basic test above shows, just casting is the equivalent of Math.Floor – it looses the fraction. This surprises some people.

But look again at the consequences for 0.5 and 1.5. By a format string rounds up[1], to 1 and 2, whereas by Exchange.ToInt32 performs bankers rounding[2] (rounds to even) to 0 and 2. This surprises a lot of people, and you’d be forgiven for missing it in the doco (here vs. here):

Even more fascinating is that PowerShell is different, in that the [int] cast in PowerShell is the same as a Exchange.Int32, not a Math.Floor():

> $testCases = 0.4,0.5,0.51,1.4,1.5,1.51> $testCases | % { "{0,5} {1,5} {2,5:0} {3,5}" -f $_,[int]$_,$_,[Exchange]::ToInt32($_) }

Input  Cast   {0:0} Exchange.ToInt32  0.4     0     0     0  0.5     0     1     0 0.51     1     1     1  1.4     1     1     1  1.5     2     2     2 1.51     2     2     2

This is a fantastic gotcha, since normally I’d use PowerShell to test this kind of behaviour, and I’d have seen the incorrect thing (note to self: use LinqPad more)

 

[1] More precisely it rounds away from zero, since negative numbers round to the better negative number.

[2] According to Wikipedia bankers rounding is a bit of a misnomer for ‘round to even’, and even the MSDN doco on Math.Round seems to have stopped by the term.


Check it out:Cup(Of T)

Andrew L.

Tagged with: converting 

I seriously need virus removal program. :(?


.

Well apperently unknown to me i got a bunch of “trojans” out of nowhere now and It slows down my computer alot and it angers me a small. I had the mcafee virus scan and thats how i found out. So i went to google and typed in “trojan removal free” and stopzilla came up. So i downloaded that and got a 15 day free trial. After hours of a scan it says like 800 elements found (or something like that) so when i went to remove all and i find out they show me all these adware and spyware and a virus on my computer just to tell me i have to pay to remove them. So what im asking for is…
Does anyone know a excellent free program to remove these things off my computer? Thank you.
And do you reflect i shold get rid of stopzilla since its not helping me?

Best answer:

Answer by casper
If you have windows outlook. Try webroot.

Add your own answer in the comments!

Andrew L.

Tagged with: programremovalvirus 

Answers Rating

  • joel j: on 10 February 2010 at the Mobile World Congress Steve Ballmer and Joe Belfiore shared...  Thumb up 0
  • Winston: But giving it to different vendors is the whole point of Windows Phone. Choice! If MS does it...  Thumb up 0
  • Not: Delete Kaspersky and install AVG. It’s completely free and works. As the other poster...  Thumb up 0
  • Jonathan: well you can get rid of the virus first for free by downloading the Kaspersky removal tool....  Thumb up 0
  • elmo: Different operating system. i used both before but really can’t find any different on...  Thumb up 0
© 2010 Computersplace.net