I'm working on a data mining research project and use code from a big svn.
Apparently one of the methods I use from that svn uses randomness somewhere without asking for a seed, which makes 2 calls to my program return different results. That's annoying for what I want to do, so I'm trying to locate that "uncontrolled" randomness.
Since the classes I use depend on many other, that's pretty painful to do by hand. Any idea how I could find where that randomness comes from ?
I'm tinkering with an open source project that uses OpenGL for rendering in 3D. In the construction of the materials I see code like this:
// set ambient material reflectance
glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT, mAmbient);
In other examples, this is used:
glMaterialfv(GL_FRONT, GL_AMBIENT, mAmbient);
So my question is, what is the difference here? Under what circumstances would it look different and, if my volume is enclosed with all normals pointing outwards, is there any performance difference?
I have a linking problem. It can be solved by specify in msvc8 project properties - Linker - Input - Ignore Specific Library: msvcrtd.lib. That library conflicts with libcpmtd.lib. But can't find how to do the same thing in qmake's .pro file that is used to generate the .vcproj file. Grateful for any hint /LG
I have to create a module in a specific project, which already uses PrototypeJS.
What I have:
- An XML File with information
What I want:
- A simple div, which displays the (with XPath filterd) Content of the XML-File.
I am complete new to PrototypeJS and dont know where to begin, so I appreciate your help.
Blessing
chris
Where would I find a list of locale name abbreviations for my project localization folders? (Such as en for English, fr for French).
I am looking to do German, Spanish and others.
Have you actually "tried" (means programmed in, not just read an article on it) Erlang and decided against it for a project? If so, why? Also, if you have opted to go back to your old language, or to use another functional language like F#, Haskell, Clojure, Scala, or something else then this counts too, and state why.
Hi all
I am new to Php and working on a project which needs to generate sitemaps from URLS which stored in MySQL database. how can I do this?? Is there any one have any idea??
site maps can be in php extension too and only requirement is list of sites display in each page
Hello,
I am working on Silverlight project.
I added a custom user control (Say, control1) which has a text box and button to a xaml page (Say, Page1).
Now what I want to do is when users clicks on the button, i want to pass the value in the textbox to Page1 and do something.
So basically, I am looking for a way to pass back a value from child to parent page in Silverlight.
Thank you.
It seem that the only implementation that provide Safe Cross-Thread Signals for both the Signal class and what's being called in the slot is QT. (Maybe I'm wrong?).
But I cannot use QT in the project I'm doing. So how could I provide safe Slots call from a different thread (Using Boost::signals2 for example)? Are mutex inside the slot the only way? I think signals2 protect themself but not what's being done inside the slot.
Thanks
I want to send an email if the build fails to the developers, with the fail details. I'm also wants to send a success email to the project admins, etc with the address to the new test application.
What is the proper tool to send the actual mail, TeamCity or NAnt?
hey..
i'm working on my html and javascript project and i wanted to add music for the website..
i was wondering is there anyway i can put more than one song in the code to be played, if there is please write the code
and is there anyway that the song will continue when openning the next page??
please help
thanks alot
Hello everyone,
I am using MacBook Pro Mac OS 10.5 with related version of XCode. I am new to this development environment. I am developing C++ console/terminal applications (File-New project, then from the list on the left "Command line utility", and on the right "C++ tool".).
For C++ source code file, I want to print source file content with line number. Any ideas how to do this?
thanks in advance,
George
I have issue where i want to create Dynamic function which will do some calculation based to values retrieved from database, i am clear with my internal calculation but question in how to create dynamic class:
My Structure is something like this :
class xyz:
def Project():
start = 2011-01-03
def Phase1():
effort = '2d'
def Phase2():
effort = '3d'
def Phase3():
effort = '4d'
Now want to generate those all PhaseX() function dynamically so can any one suggest me
how to achieve such thing using Python Code
Waiting for Positive reply
Regards
Thank You
Is there a way to save a cookie that is available on other site ?
For instance I have my django project on http://www.example.com and I want that django saves a cookies for a site written in PHP on http://site.Idontknow.com .
Is this possible ?
Hi all,
I'm new to Objective C and Cocoa - and I'm having a really hard time changing the title on one of my windows. Usually I would press the outside of the window, and then in Window Attributes Inspector there's the title area - however for this particular project it has a name in that box and when I run the application, the title bar still says untitled. Am I missing something? I haven't binded the title to a data source or anything.
I'm working on a school project and we want to implement a right click pop-up menu in the gui.
Currently we are doing something like creating a JMenu on right click and setting its location to that of the mouse's position...
This seems really ugly and is very buggy, is there any better way of doing this? I'm sure there must be.
can I run C# built-in unit test in build machine which doesn't have Visual Studio installed?
We are thinking add unit test to our Visual Studio 2008 C# project. Our build machine doesn't have VS installed and we want to integrate the new unit test with our auto-build system. Is MSTest the executable to launch the Team Test unit test?
This is a simple Question (lets see)
I want to bind bitmap image to Image. For doing this in cs code u must write this line.
this.leftImage.Source = new BitmapImage(new Uri(@"C:\a.bmp"));
But I want make Binding from resources. Because In release time resources became part of project.exe file and if you make binding from file(Mean set Image.source with Image file address), you must always put image file in the same address(disaster programing) :)
Hi,
I developed an application for my Image gallery.now, i need to make a slideshow for those images with Previous & Next buttons to switch between images. Do anyOne of you tried to develop with such functionality.
Can any one of you provide me sample XCode project for my requirement?I would like to test it using iPhone-simulator.
Any kind of help would be greatly appreciated.
Thank You,
Ramya.
I have searched on google about how to get started with the dependency property used in WPF/silverlight but didn't get any idea of the dependency property, can any one tell me about it , from beginner point of view, so that I get some idea about it and use it in my project
thanks in advance.
I tried to find out how to move my working copy. I know SVN move can be used to move files and folders inside your working copy but what about the working copy itself? I want to move it because I created a branch in a folder location that's different from my branch and had updated therefore all my .NET project references. So when I go to merge back to the mainline trunk I get a bunch of tree conflicts.
I want to allow users add files to the application document folder, so I used the iTunes file sharing. The problem is they can only add single files with a flat structure. I want to drag and drop whole folder (even with sub folders) and keep the structure.
Questions I have:
is it possible with iTunes file sharing?
if not, is there an open source project that helps me with writing a pc side app that talks to the iPhone side app and pushes the files into it?
I am looking for an automatic class diagram generator in Eclipse. It will look at a project and automatically create a class diagram without needing to run the code.
What is your favorite class diagram generator for Eclipse?
Have to use free WPF DataGrid (I thought Infragistics libraries are bad, I take it back after this) for this project of mine.
Looks like DataGrid doesnt have clean MVVM Friendly way of getting the list of selectedRows ?
I can data bind to SelectedItem="{Binding SelectedSourceFile}" but this only shows the 1st selected row. Need to be able to get all selected rows.
Any hints to do it cleanly via MVVM ?