I have a VS.NET 2008 project. Is it possible to check for classes that are not used anywere in the project? With FXcop I can find unused variables and unused code, but not unused classes.
Where can I find System.Windows.Controls.dll for Silverlight 3? I need it to be able to use the TreeView control and the AutoCompleteBox control. Toolkit November 2009 is installed but the dll that I need was not included.
What bit of WPF did you
find hardest to understand
or misunderstood for longest
and how did you understand it in the end (please provide links etc).
(I am asking this to guide my learning of WPF)
When I run:
rails generate rspec:install
I get this output:
identical .rspec
exist spec
identical spec/spec_helper.rb
Could not find "autotest" in any of your source paths. Your current source paths are:
(..)/rails_projects/sample_app/lib/templates/rspec/install
(..)/rspec-rails-2.3.0/lib/generators/rspec/install/templates
I'm new to RSpec, Rails and Ruby. Any tips on how make this work?
Hi all,
I am learning TCL and wanted to know how can I find out errors in my code. I mean what line no is error happening or how can I debug it.
Following is the code which I am trying :
proc ldelete {list value}{
set ix [lsearch -exact $list $value]
if{$ix >=0}{
return [lreplace $list $ix $ix]
} else {
return $list
}
}
Following is the error i am getting :
extra characters after close-brace
I will appreciate the help.
Thanks
aditya
I have 2 bmp images.
ImageA is a screenshot (example)
ImageB is a subset of that. Say for example, an icon.
I want to find the X,Y coordinates of ImageB within ImageA (if it exists).
Any idea how I would do that?
I can't find a way to obtain a reference the Window containing an arbitrary View v. I found fromgetWindowToken, but I can't figure out how to use it? Does anyone know how?
Also, does anyone know why it returns an IBinder rather than a Window?
What Anders presents at minute 60 of this video seems pretty cool
http://channel9.msdn.com/pdc2008/TL16/
However, I can't find it.
Is it released? Is there an alternative?
Hello.
I'm trying to install dulwich for bzr-git.
now, I use Python 2.6 based bazaar.
(I use msys.)
My steps are as follows:
$ bzr branch lp:dulwich
$ cd dulwich/
$ python setup.py install
running install
running build
running build_py
creating build
:
:
creating build\lib.win32-2.6\dulwich\tests
:
:
running build_ext
building 'dulwich._objects' extension
error: Unable to find vcvarsall.bat
If you know any hints, tell me please.
Thanks.
Okada.
I was reading the following article and the author made it quite clear that unit tests are NOT used to find bugs. I would like to know what your thoughts are on this. I do know that unit tests makes the design of your application much more robust but isn't it the fact that finding bugs through unit tests that make the application robust, besides its other advantages?
http://blog.stevensanderson.com/2009/08/24/writing-great-unit-tests-best-and-worst-practises/
I have this code:
ServerSocket serverSideSocket = new ServerSocket(1234);
serverSideSocket.accept();
BufferedReader in = new BufferedReader(new InputStreamReader(serverSideSocket.getInputStream()));
And compiler writes me that it cannot find "getInputStream". I do not understand why. In the beginning of my code I do import java.net.*.
Where can I find a working copy of codecampserver? I tried downloading the source code from google project but I can not get it to work or figure out how I should get it working.
You have been given an array of size 2n+1 that have n pair of integers(can be +ve, -ve or 0) and one unpaired element.
How would you find the unpaired element.
I've created a class called Entity this is the superclass. Actor has successfully extended Entity; now trying to do the same with Item results in the Cannot find symbol error.
Here is example code:
public class Actor extends Entity
{
Actor(String filename, int x, int y)
{
super(filename, x, y);
}
}
works just fine but this doesn't:
public class Item extends Entity
{
}
Can I get something like this http://myffi.biz/ , which selects the continents when I hover on the languages? I have searched a lot for this kind of map but have not been able to find any.
Hi all,
i was just wondering how you would use jquery to get the element at a particular x, y coordinate. You can .offset and .position to find absolute and relative position using jquery.
thanks a lot!
When I attempt to run Mercurial diff from within Textmate, I get an error "Couldn't find hg."
hg works from the command line and is in my path.
Any suggestions?
I have a class A { public float Score; ... } and a List<A> items and would like to find the A which has minimal score.
Using items.Min(x => x.Score) gives the minimal score and not the instance with minimal score.
How can I get the instance with only iterating once through my Collection?
I have 5 tables:
- users - information about user with current location_id (fk to geo_location_data)
- geo_location_data - information about location, with PostGIS geography(POINT, 4326) column
- user_friends - relationships between users.
I want to find near friends for current user, but it takes a lot of time of executing select query to know if user is a friend and after that execute select using ST_DWithin.. May be something wrong in domain model or in queries?
How to find maximum occuring integer(Mode) in an unsorted array of integers? One O(nlogn) approach I could think of is to sort. Is there any other best approach?
I am trying to run the CMIS client example on:
http://incubator.apache.org/chemistry/opencmis-api-examples.html
Unfortunately I can't find the "SessionParameter" class that the example uses.
It is nowhere to be found in the whole project's source code:
http://github.com/apache/chemistry
What did I miss?
Or maybe the example is out-of-date?
Hi all, simple question here. Lets say I have two points:
point 1
x = 0
y = 0
point 2
x = 10
y = 10
How would i find out all the coordinates inbetween that programmatically, assuming there is a strait line between two points... so the above example would return:
0,0
1,1
2,2
3,3
...
8,8
9,9
10,10
Thanks :)