Forum: Java 7 Days Ago |
| Replies: 2 Views: 176 Nooooooooooooooooooooooooo! |
Forum: Java 7 Days Ago |
| Replies: 2 Views: 176 I'm making a game and when it starts up I want the game to load a file in it's jar and set the display according to the contents of that file, I can do that just fine. But if the file doesn't... |
Forum: Java 22 Days Ago |
| Replies: 1 Views: 137 To keep things simple I have a spreadsheet that lists x and y values. I'm not sure how many of these data points there are but 13.5 million is a safe lower bound. Anyway, I wrote a program to parse... |
Forum: Java Oct 10th, 2009 |
| Replies: 2 Views: 162 |
Forum: Java Oct 10th, 2009 |
| Replies: 2 Views: 162 I just made a program using JOGL and one problem I'm having is that if I don't include the arguments -Dsun.java2d.noddraw=true and -Dsun.awt.noerasebackground=true then the screen flashes and... |
Forum: C++ Sep 18th, 2009 |
| Replies: 0 Views: 172 When you're done reading this feel free to tell me if I've completely misunderstood .NET
As I understand it on Windows code can be compiled to IL which then allows it to be used from any .NET... |
Forum: Python Aug 28th, 2009 |
| Replies: 2 Views: 308 I tried that and it didn't seem to help, in fact if I plot the error instead of the rms error the network seems to oscillate about zero error when it works properly, and when it doesn't work properly... |
Forum: Python Aug 27th, 2009 |
| Replies: 2 Views: 308 I programmed a a neural network class in python using numpy. I had some trouble getting it to work properly, in my case I wanted to train it with back propagation to approximate XOR, but then it... |
Forum: C++ Jul 10th, 2009 |
| Replies: 3 Views: 490 I've gotten it to work now. I'm really not sure what was wrong with what I did but I also have to admit I was treading programming waters I didn't under stand too well.
I wanted to have a... |
Forum: C++ Jul 9th, 2009 |
| Replies: 3 Views: 490 I don't know if this is drastically simpler, I took almost 70 lines out of brain.h but it is now strictly a single threaded program.
I wanted to make it simpler but I found two simplifications... |
Forum: C++ Jul 9th, 2009 |
| Replies: 3 Views: 490 Basically I'm trying to run a simulation of neurons and this is the code that gets run in the main loop of it.
class Neuron
{
private:
double v, u, a, b, c, d, current, du, dv;
public:... |
Forum: C Jul 9th, 2009 |
| Replies: 3 Views: 623 Well, reinstalling fixed it, thanks. |
Forum: C Jul 8th, 2009 |
| Replies: 3 Views: 623 #include <stdio.h>
int main()
{
printf("hello\n");
return 0;
}
It's all the more frustrating because I've designed stuff MUCH more complicated on this computer. My errors seem to be... |
Forum: C++ Jul 3rd, 2009 |
| Replies: 1 Views: 384 I've made a program in Visual Studio, it's a gui meant to control a camera and the functions of it that my problem rotate about are the functions to open and close the link to the camera. The... |
Forum: Python Jun 29th, 2009 |
| Replies: 3 Views: 295 "Do you know what the over head is?"
I think I'll rephrase that. I'm fairly new to learning about the mechanisms of what makes python work so maybe this is a stupid question, but if a PyObject is... |
Forum: Computer Science Jun 28th, 2009 |
| Replies: 8 Views: 809 Say I have a single floating point number called result equal to 0 and two threads, one thread adds 4 and the other subtracts 2. Is there any possibility that result will be equal something other... |
Forum: Python Jun 27th, 2009 |
| Replies: 3 Views: 295 Do you know what the over head is? Also, using the ctypes module, or anything really, can I get a C function pointer? |
Forum: Python Jun 26th, 2009 |
| Replies: 3 Views: 295 I'm making a module to simulate a neural network, speed is an issue so I've written it in c, basically you build the network in python, and then run call a simulate method that is pure c.
One... |
Forum: C++ Jun 14th, 2009 |
| Replies: 2 Views: 677 Lets say I were to write something on my own, I'd probably try to use wxwidgets. In wxwidgets I assume the IMPLEMENT_APP macro creates the main function. Is there an alternative to this so I could... |
Forum: C++ Jun 11th, 2009 |
| Replies: 1 Views: 441 I'm writing code to control a camera and I'm using boost threads to repeatly get the camera image and write it to a gui among a few other things while everything else runs. It's written with... |
Forum: C++ Jun 10th, 2009 |
| Replies: 2 Views: 677 Are there any C\C++ libraries what will allow me to plot in real time?
If any explanation is needed the perfect example I saw of this was for a API, Swarm, that is used for simulating large... |
Forum: C++ Jun 3rd, 2009 |
| Replies: 2 Views: 358 I don't imagine this will help anyone but I posted the problem and I thought I should post the solution.
my loops in the back_propogation function were such that one the output deltas would be... |
Forum: C++ Jun 1st, 2009 |
| Replies: 2 Views: 358 I've tried several times now to write my own neural network class and I think this is the closest I've gotten, the network seems to run properly but it doesn't seem to learn correctly.
I'm trying... |
Forum: C++ May 24th, 2009 |
| Replies: 4 Views: 511 I fixed the problem, I cast a const char* into const ILstring and it works.
void Face_Catcher_Frame::on_load(wxCommandEvent &event)
{
wxFileDialog * openFileDialog = new wxFileDialog(this);... |
Forum: C++ May 24th, 2009 |
| Replies: 4 Views: 511 I looked at the string in gdb using this guy's script
http://nic-nac-project.de/~skypher/wchar.gdb
and I did it in two situations, I made the string a relative path(test.jpg) and an absolute... |
Forum: C++ May 23rd, 2009 |
| Replies: 4 Views: 511 I'm making a program in Ubuntu with wxwidgets, the goal is to recognize faces but for now I just want to load an image into a frame. I load images by clicking on a load menu item which is linked to... |
Forum: C++ May 6th, 2009 |
| Replies: 6 Views: 931 Before I let this thread die I'll ask one more question.
Until now I'd forgotten the error I got when I followed the instructions at wxwiki for cygwin since I had tried so many different methods... |
Forum: C++ May 5th, 2009 |
| Replies: 6 Views: 931 I tried that when I first started, I just tried it again, and both times(at least I think this happened last time) I got this result
/home/EUNIL/wxWidgets/bk-deps g++ -c -o baselib_appbase.o ... |
Forum: C++ May 5th, 2009 |
| Replies: 6 Views: 931 Tried that and configured without msw and got this when I did make
/home/Jarl/wxX11-2.8.10/bk-deps gcc -c -o wxregex_regcomp.o -D__WXMSW__ -D__WX
DEBUG__... |
Forum: C++ May 5th, 2009 |
| Replies: 6 Views: 931 I configure it like this
./configure --with-msw --enable-debug --enable-debug_gdb --disable-shared --enable-unicode --with-opengl
and when I build it I get this error.
... |
Forum: C++ Apr 27th, 2009 |
| Replies: 8 Views: 568 I seem to be pretty incompetent with string in c++, anyway I've settled on this code.
void Camera_Settings::on_exposure(wxCommandEvent &event)
{
wxString temp = exposure->GetValue();... |
Forum: C++ Apr 24th, 2009 |
| Replies: 8 Views: 568 since I don't say what the camera->command(char* command) I'll just say that I commented out the line and it seems to have to effect on the program. I also took out the string and did everything... |
Forum: C++ Apr 24th, 2009 |
| Replies: 8 Views: 568 I can do that but when I do this I'm told that I can add pointers
final = hex_string + "\r"; |
Forum: C++ Apr 24th, 2009 |
| Replies: 8 Views: 568 The problem seems pretty simple but I haven't figured it out yet.
I'm using wxWidgets to make a gui and this function gets called when I press enter while in a text field.
void... |
Forum: C++ Mar 28th, 2009 |
| Replies: 5 Views: 568 That seems to answer my question well enough. I knew the rule that you free memory made with new with delete but I've seen a lot of examples where this isn't done. They were typically arrays of a... |
Forum: C++ Mar 28th, 2009 |
| Replies: 5 Views: 568 I'm making a game and the game works around a class I call Cyber_State. Every state of the game is a subclass of Cyber_State, for example the title screen you see when you start the game and the... |
Forum: C++ Mar 23rd, 2009 |
| Replies: 0 Views: 418 I'm trying to make a program to view 3d volumes. Basically you start with a bunch of data from an ultra sound or mri and then you load it into a 3d texture. Then you have a cursor made of three... |
Forum: Windows Vista and Windows 7 Mar 13th, 2009 |
| Replies: 0 Views: 478 I've been trying to install numpy(http://numpy.scipy.org/) on my vista computer with no success. Every time I try I get a dialog box saying numpy-1.2.1-sse3.exe has stopped working. My instincts... |
Forum: Python Jan 29th, 2009 |
| Replies: 2 Views: 745 I made a wxPython gui to interact with a camera, however the lab is very matlab centric and the professor wants everything to be controllable from matlab.
I think this is more of a matlab problem,... |
Forum: Python Jan 24th, 2009 |
| Replies: 5 Views: 508 I do hate it when I'm looking for a solution on google and the guy doesn't share his solution.
I removed the loadLibrary function, moved the dll into the same folder as the python script, and I'll... |