Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
4
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
0 Endorsements
Ranked #1K
~7K People Reached
Interests
Reading, writing, AI, being a code monkey, training to be a code monkey, thinking about being a code…
Favorite Tags

37 Posted Topics

Member Avatar for swinefish

Hello all I'm working on a project for next year, and I've decided to be a little ambitious. One of the features I would like to have is the ability for my project to analyse an area of the earth (from Google Earth or a good atlas) and determine the …

Member Avatar for m7mud.mustafa
0
145
Member Avatar for flasp

I did functional programming first semester this year, and we also did SML... don't know anything about MatLab, but I'll answer everything I can. arkoenig was right in what he told you about values never changing, it's very different to what we usually use. However SML has implemented certain kinds …

Member Avatar for flasp
0
145
Member Avatar for Kakashi Hatake

Linked lists end up in a huge range of different application - anywhere you need to store a large number of objects, but don't know exactly how many items you need - as such, you can't really use an array. C# has a List<T> class which allows you to build …

Member Avatar for griswolf
0
1K
Member Avatar for celiz45

As far as I know, protein folding is an NP-Complete problem - that is, there is no algorithm for predicting the structure that runs in polynomial time. There's a lot of work going on in the field right now, but Momerath is right, this isn't really the place to look. …

Member Avatar for swinefish
0
66
Member Avatar for Anika123

Hi, I don't really have much experience in game development, but I'd like to get into it. One place I have seen something similar done is in the Legend of Zelda: Twilight Princess (on the Wii). If you swim, after you get out of the water your clothes look dark …

Member Avatar for fansi099
0
100
Member Avatar for prishe

Well one of the most common problem to attempt for projects like this is making a game playing agent. If you don't have a lot of time, see if you can solve something small, like tic-tac-toe. Take a look at the minimax algorithm, it's very useful for game playing agents. …

Member Avatar for Dhruv Gairola
0
273
Member Avatar for sulantha2007

Personally I'm a big fan of C#, I especially like using WPF for my user interface. However I don't know how well it interfaces with the hardware. Take a look at Microsoft Robotics Studio, you might be able to find some tutorials there that give you an idea of how …

Member Avatar for swinefish
0
176
Member Avatar for tiramisu10

I agree that the problem is probably your random initialisation. A quick and dirty solution would be to make your Random object in the Dice class (I assume that is rnd1?) a static variable. Then all instances of the dice class will share the random generator, meaning the numbers should …

Member Avatar for tiramisu10
0
111
Member Avatar for monu952

Depends on what kind of technologies you are personally interested in, and whether they want the physical technologies or the programming aspect. I would look into one of the following: 1) Cloud Computing 2) Immunological Computations (aka Artificial Immune Systems) Those are two of the most interesting new fields in …

Member Avatar for swinefish
0
78
Member Avatar for swinefish

Hello all Does anyone know of any interesting problems that can be solved fairly easily with particle swarm optimisation? I need to do a project for this, but I can't think of any good ideas. I know the travelling salesman problem can be solved this way (especially with ant colony …

Member Avatar for agugglez
0
86
Member Avatar for RehabReda

A simple method for drawing binary trees can be generalised to non-binary trees. Okay, so for binary trees, do an inorder traversal of the tree, and draw each node as you visit it. Each node is placed at (x, y) as follows: how many nodes were visited before this one, …

Member Avatar for swinefish
0
176
Member Avatar for swinefish

Hello all I'm having a major problem with instantiating objects across threads in WPF. For example, if I have the following: [icode]Line l = new Line[/icode] I get the following error: 'InvalidOperationException: The calling thread must be STA, because many UI components require this.' While I understand that in general, …

0
98
Member Avatar for swinefish

I'm having an odd issue with reading the output of a process in VS2010. I have redirected all the necessary streams as I should ([icode]p.RedirectStandardOut = true[/icode] etc) and getting hold of the standard output and placing it in a another stream is no problem. However, when I read from …

Member Avatar for swinefish
1
122
Member Avatar for swinefish

Hey all I'm trying to write a Multiple Document Summary (MDS) system as proposed by Chali et al. (2009), see attached. And after a lot of reading I've managed to wrap my head around a lot of the concepts. However, one of the things I need to make is a …

Member Avatar for jk451
0
147
Member Avatar for swinefish

Hey All I'm working on a graphics project at the moment, and although the details themselves are a little tedious (I won't bore you with them all) I am having some problems. My app was working beautifully, rendering my shapes with ease. But in an attempt to make it more …

Member Avatar for quuba
0
294
Member Avatar for swinefish

Hey all I'm writing a rasterizer at the moment, and one of the basic transformations you can perform is rotation. This demands the use of trig functions. However, when rotating a cube, my cube slowly shrinks. Is this s result of loss of accuracy in Math.sin() and Math.cos()? Or is …

Member Avatar for mrnutty
0
129
Member Avatar for swinefish

Hey all I'm gonna be taking graphics next year and I've been kinda thinking ahead. One of the things we have to do is make either a ray tracer or a rasterizer. However I can find almost no info online about how to actually write a rasterizer. There's a fair …

Member Avatar for swinefish
0
111
Member Avatar for swinefish

Hello all In my studies next year, I'm gonna be taking AI as one of my courses, and as one of the requirements we must create an intelligent agent/multi agent simulation. I was wondering if anyone has any cool ideas that I could try out. It's something that must be …

Member Avatar for Nick Evan
0
169
Member Avatar for swinefish

Hey All I'm having a tad of trouble with a couple of WCF services I've built, and it's with LINQ. Having written the service, which uses LINQ to SQL classes, I am now trying to test it. Now the Service builds perfectly, but Whenever I try to use any of …

Member Avatar for kvprajapati
0
90
Member Avatar for swinefish

Hey All WCF is being a pain. I've finally got some of my services working, but it seems that they struggle to return complex entities. For example, I have the following function in a service: [code] List<Pair<DateTime, Double>> getInfo(...); [/code] where [icode]Pair<T, V>[/icode] is defined via a data contract in …

0
62
Member Avatar for swinefish

Hey all I have a number of WCF services that I've written for a project I'm doing at university. Unfortunately, my services are being stubborn (or maybe my firewall or something related). Whenever I try to add a service reference to another project, apparently 'the remote computer actively refused the …

0
34
Member Avatar for AnnA.B

I suspect the problem is what's called 'integer division' (you can read up on it). Basically, the situation is that when dividing an integer by an integer, the result is always an integer. So 4/8 = 0 (since this is the closest integer smaller than the answer) while 4.0/8.0 = …

Member Avatar for FlamingClaw
0
153
Member Avatar for avirag

As far as I know the general rule on this forum is not to give full code, but rather to help you on your way. And It's my personal rule as well. Anyway, I should be able to help out a bit. You're looking for the modulus operator, represented by …

Member Avatar for avirag
0
104
Member Avatar for Hiroshe

Hmmm... That does sound very interesting. Let me get this straight - the files used to determine possible plays are the "cells" which evolve right? So only the best strategies - the "strongest organisms" - survive through to the next generation right? I must say I like this idea. The …

Member Avatar for Hiroshe
0
206
Member Avatar for deepugtm

How are the tanks represented? May I assume you have 2D grid of the Battle field with the tanks each having x and y coordinates, or something in that vein? (That's how I did it when I was learning c++. And I've never played battle rush). AI is a very …

Member Avatar for deepugtm
0
730
Member Avatar for Kracus

I remember having a similar problem with something like this. As Far as I remember, true and false cannot be properly interpreted. Try something like [icode]lblOnIms.Visibility = Visibilty.Visible [/icode]. That's how I got mine working :) Hope that helps M

Member Avatar for jeremy.adamich
0
114
Member Avatar for Silvershaft

Another very simple utility for making games (it's pretty basic, but lots of fun) is a programme called GameMaker. Last time I checked GameMaker 6 was out, it might be further by now. It actually abstracts the programming so you don't need to know the language behind it (Delphi as …

Member Avatar for swinefish
0
104
Member Avatar for metalclunch

The power function is one of the first examples of a recursive function. Basically recursion breaks the problem into smaller and smaller problems, until something can be easily solved. The first if statement is the "base case" - it's what ensures that the recursive function eventually ends. x^1 = x, …

Member Avatar for metalclunch
0
90
Member Avatar for arj19

Software development is a big thing. Do you have a specific customer, or or do you just want to make a generic product for general use? First step (as much as I hate it) is design. You have to set out exactly what every part of the programme is going …

Member Avatar for swinefish
0
92
Member Avatar for swinefish

Hey all I'm looking for a nice simple password encryption algorithm. I'm not looking for anything amazingly military type secure, but If I could do something irreversible, I'd be happy. I've looked at a couple of google searches, but found nothing particularly interesting. Any help would be greatly appreciated. Thanks …

Member Avatar for swinefish
0
288
Member Avatar for swinefish

Hey all I'm having trouble updating my ui across threads using WPF. Having learnt a fair deal about thread yesterday, I find myself stumped now by the Dispatcher. I've already used the dispatcher once, to check the status of a radio button, as follows: [code=c#] if ((Boolean)this.Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Normal, new noArgsDelegate(productIsChecked))) { …

Member Avatar for swinefish
0
188
Member Avatar for Skyforger

Hey What language are you guys developing in? I don't have a lot of time at the moment, but game development has always been a dream of mine, and I'll help if and where I can. Got some experience in c# and c++, but generally I'm a Java man. And …

Member Avatar for shadwickman
0
83
Member Avatar for swinefish

Hey all I'm having a problem with invoking methods through my dispatcher. Not all methods, just the one. Here's the problem code: [code=c#] private delegate void oneArgDelegate(Chart arg); ...Do Work... c = new Chart(); ....Set some properties.... this.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new oneArgDelegate(setGraph), c); private void setGraph(Chart c) { GraphArea.Content = c; MessageBox.Show("Graph …

0
296
Member Avatar for swinefish

Hey all I've been developing in c# for a few months now, but to my shame have only recently started looking at threads. And now that I do look at them, I'm having issues... Here's a sample of my code: [code] private void cmdNext_Click(object sender, RoutedEventArgs e) { ... Thread …

Member Avatar for swinefish
0
132
Member Avatar for swinefish

I'm having an issue on a vast scale with WPF Expanders. I have an expander, which contains a stack panel, which contains labels and comboboxes. However, when I run my application, clicking the expander button does nothing :( I click, the direction of the button changes, but nothing displays. What …

Member Avatar for swinefish
0
146
Member Avatar for swinefish

I'm busy working on a simple XML formatter. Now I've got the app doing everything I want, except that I have to give it the absolute path of the XML file I'm using. Is there any way to get te relative path of such a file if it is known …

Member Avatar for swinefish
0
85
Member Avatar for swinefish

Hey Guys I'm kind of a newbie to C#. Now the syntax and the like don't bother me because I love java, so the actual programming is no problem. However, I'm trying to do something I can't figure out. I want to write a module in Visual C# (Visual Studio …

Member Avatar for swinefish
0
128

The End.