Search:

Type: Posts; User: wy125

Page 1 of 10 1 2 3 4

Search: Search took 0.19 seconds.

  1. Replies
    1
    Views
    806

    Re: Question about returning an object

    I figured it out. The compiler is ignoring the whitespace. Each method there is returning in there is returning an object. Is it a convention to do this in java?
  2. Replies
    1
    Views
    806

    Question about returning an object

    I was reading an Android tutorial and came across this block of code:


    protected Dialog onCreateDialog( int id )
    {
    return new AlertDialog.Builder( this )
    .setTitle( "Planets"...
  3. Re: [RESOLVED] Unmanaged DLL problem in my Asp.Net application

    Sure, I should have included it in my previous reply. The program I used to find my DLL's dependencies is called 'Dependency Walker' and can be found here: http://www.dependencywalker.com

    I did...
  4. Re: Unmanaged DLL problem in my Asp.Net application

    Okay, I finally got it working on the remote server. I was missing a dependency... Using a program called dependency walker I noticed a dll that my c dll needed. In my case it was, msvcr100d.dll. ...
  5. Re: Unmanaged DLL problem in my Asp.Net application

    No, I never registered the dll.
  6. Re: Unmanaged DLL problem in my Asp.Net application

    Thanks for your feedback. I enabled impersonation on my local site and ran it under my own account and it worked. So you were right about permissions. I couldn't figure out how to get it to work...
  7. [RESOLVED] Unmanaged DLL problem in my Asp.Net application

    Hi,

    I'm having a problem with my ASP .NET application. My web site uses 2 unmanaged DLLs (gsl.dll, cblas.dll). I put these dll's in the bin folder along with some other managed dll's. On my...
  8. Replies
    1
    Views
    3,172

    Re: BadImageFormatException using C DLL

    Nevermind, I found the problem. I stupidly named the project that contained the c DLL the same name as the c DLL itself. When I changed the project name to something else the problem was solved.
  9. Replies
    1
    Views
    3,172

    [RESOLVED] BadImageFormatException using C DLL

    Hi,

    I'm having trouble tracking down the source of a BadImageFormatException that is being thrown in my application. I have a solution with several projects. One project, GSL, uses P/Invoke to...
  10. Replies
    0
    Views
    509

    Accessing const data from a c dll

    I'm working on a project that utilizes a c dll and was wondering if someone knew how to access a constant that was defined in the dll. The constant is a pointer to a rather complicated struct that...
  11. Replies
    6
    Views
    1,316

    Re: Multidimensional Root Finders in .NET

    It's part of a web application. It's a simulation of a process. The root solver is for the shooting method portion for solving a boundary value problem for a system of ODEs.
  12. Replies
    6
    Views
    1,316

    Re: Multidimensional Root Finders in .NET

    Well the application I am working on is a web app and we're using .NET so it's easiest just to use a .NET library. It can be a pain to wrap dll's but I still may end up doing so. My primary concern...
  13. Replies
    6
    Views
    1,316

    Re: Multidimensional Root Finders in .NET

    I'm not surprised. I've seen plenty of implementations in C but nothing in .NET. I am thinking of trying to port one but even that is a pretty big job as there are a lot of utility libraries that...
  14. Replies
    6
    Views
    1,316

    Multidimensional Root Finders in .NET

    I was just wondering if anyone knows of an implementation of a multidimensional root finder in .NET that is free and preferably open source. I have found implementations in C but haven't found...
  15. Replies
    18
    Views
    3,942

    Re: Mono -- where to start?

    If you are familiar with Visual Studio you might want to have a look at monodevelop. It's a great IDE and will simplify things for you a great bit. If I remember correctly it supports VB.net.
    ...
  16. Replies
    75
    Views
    3,183

    Re: What's your favorite conspiracy theory?

    Are you suggesting that sea levels will not rise from melting ice? Not all the ice is floating. A lot of it is on land...

    But back to the topic at hand. My favorite is that man never landed on...
  17. Replies
    10
    Views
    1,371

    Re: Authorize.Net .....Help ?

    Hi. I've implemented credit card authorization for an Authorize.NET account. Are you running the sample code they gave your for .net? You do not need any dll references.
  18. Replies
    81
    Views
    4,753

    Here's the 'Simple' Solution

    Okay so for those of you who have been following this thread I think it's time to post the so-called 'simple' solution. Here it goes. I'm putting it in white so you don't have to read it if you...
  19. Replies
    81
    Views
    4,753

    Re: Hungry Wolf Vs Scared Chicken

    Yeah both fizziii and jemidiah are right.
  20. Replies
    10
    Views
    820

    Re: Marbles, Just for fun...

    What I like about this problem is that the number of measurements required to determine the culprit for N marbles goes by the power of 3. So, if it takes M measurements to figure it out for N...
  21. Replies
    81
    Views
    4,753

    Re: Hungry Wolf Vs Scared Chicken

    haha I dunno. Let's think on that. There may be something there. I think the real question is how does this 'straight-line' distance vary with respect to a linear path chosen by the chicken.
  22. Replies
    81
    Views
    4,753

    Re: Hungry Wolf Vs Scared Chicken

    agreed from the perspective of the wolf it's a straight line....
  23. Replies
    81
    Views
    4,753

    Re: Hungry Wolf Vs Scared Chicken

    Just compute the distance...

    Use the x,y coords of the wolf and chicken and compute the distance each iteration to see how it changes.
  24. Replies
    81
    Views
    4,753

    Re: Hungry Wolf Vs Scared Chicken

    hmmm... let me think about this... what do you mean exactly by the curved distance? Do you mean the path that the wolf ends up taking? If so, let's call it s. The rate of change with respect to...
  25. Replies
    81
    Views
    4,753

    Re: Hungry Wolf Vs Scared Chicken

    That has to be true since they are moving at constant speeds. I don't know how that helps. Does the other guy in the other forum really know? I hate going down dead ends....
  26. Replies
    81
    Views
    4,753

    Re: Hungry Wolf Vs Scared Chicken

    I don't think it makes it obvious either. Did you tell them the answer first or did they figure it out? If it's the former, then I'm guessing they're just speculating.
  27. Replies
    81
    Views
    4,753

    Re: Hungry Wolf Vs Scared Chicken

    187 is almost right on the money. So your sim is pretty accurate
  28. Replies
    81
    Views
    4,753

    Re: Hungry Wolf Vs Scared Chicken

    What numbers did you use? The chicken should have been caught a lot sooner...
  29. Replies
    81
    Views
    4,753

    Re: Hungry Wolf Vs Scared Chicken

    Nick. Yes our equations are the same. My coords were just set up differently.

    The simple solution does not give you the path; it only gives the distance/time it takes to get the chicken. The...
  30. Replies
    81
    Views
    4,753

    Re: Hungry Wolf Vs Scared Chicken

    Congratulation to Jemidiah and Nick who both got the correct answer. I've attached my solution, which was basically setting up the differential equation and burning through it. This pursuit stuff...
  31. Replies
    13
    Views
    2,187

    Re: Probability question

    No, if you want only aces, then you only have 1 rank to choose from

    First Triple: (1) (4,1)(4,3)
    Second Triple (1)(3,1)(4,3)
    ...

    so basically same answer just divide it by 5

    I missed the...
  32. Replies
    81
    Views
    4,753

    Re: Hungry Wolf Vs Scared Chicken

    Are you sure your DE's are wrong? They look correct to me. I'll take a look at the Puruit problem link you posted. Looks good so far. There may be something there we can exploit to get the simple...
  33. Replies
    81
    Views
    4,753

    Re: Hungry Wolf Vs Scared Chicken

    Whoa.... Okay this is a big development... I've never seen that before. I wonder if some insight can be gained from that to get the 'simple' solution.

    P.S. I think your DE's were correct. I...
  34. Replies
    81
    Views
    4,753

    Re: Hungry Wolf Vs Scared Chicken

    Okay your DE's look okay... Do you have an answer
  35. Replies
    81
    Views
    4,753

    Re: Hungry Wolf Vs Scared Chicken

    Nick, can you elaborate on dx/dt an dy/dt represents? And how did you get x(t) and y(t)? It looks like you just integrated by separating the variables. Is that right?

    Also, how far does the...
  36. Replies
    81
    Views
    4,753

    Re: Hungry Wolf Vs Scared Chicken

    Hi guys, looks like you guys are keeping busy :) When I said the solution was simple i didn't mean to imply that it was easy to figure out. I don't understand the rationale behind the easy solution...
  37. Replies
    13
    Views
    2,187

    Re: Probability question

    yes, that's exactly right. Your simulation is showing a much lower frequency about a factor of 10. If my estimation of probably is correct then you will probably need to run your simulator for a...
  38. Replies
    81
    Views
    4,753

    Re: Hungry Wolf Vs Scared Chicken

    Hi guys, looks like you guys are keeping busy :) When I said the solution was simple i didn't mean to imply that it was easy to figure out. I don't understand the rationale behind the easy solution...
  39. Replies
    13
    Views
    2,187

    Re: Probability question

    I find it confusing too :) I tried to calculate what you have above but making sure that it could occur in any order.

    Do you need them to be an a specific order? If not then my calculation...
  40. Replies
    13
    Views
    2,187

    Re: Probability question

    Okay this is a bit tricky for me. Jemidiah is definitely one guy who knowss how to do this. Hopefully he'll chime in, but here's my attempt:

    okay so the way I see it is first we need to choose...
Results 1 to 40 of 396
Page 1 of 10 1 2 3 4



Click Here to Expand Forum to Full Width