In my code base I find that two modules have structures with the same name. It is giving a name conflict error. Is there a way to resolve it without changing the code?
I have two eclipse projects on an SVN repository that I feel should be merged into one.
The easiest way that I can think of doing this is to copy the contents of both projects into a new local project, commit it, and nuke the old ones.
Is there a better, SVN-ish way of doing things?
I'm using the Eclipse Subversive plugin, for what its worth
What is the fastest way to create a hash function which will be used to check if two files are equal?
Security is not very important.
Edit: I am sending a file over a network connection, and will be sure that the file on both sides are equal
I tried searching on the net, but there are hardly any resources. A small example would suffice.
EDIT
I mean, two different C programs communicating with each other. One program should send "Hi" and the other should receive it. Something like that.
I want to publish two different websites one in JSP and another in ASP.net with same domain name because I am working on asp.net site and i want to add some features of jsp so i will design these features in jsp.
I have two ListViews in Compact Framework 2.0 positioned vertically next to each other. Each of the ListViews occupies half of the screen. How can I dock/anchor them so when the orientation changes for landscape they grow equally and do not overlap each other.
From
-------- --------
| | | |
| | | |
| | | |
-------- --------
Into
-------------- -------------
| | | |
| | | |
| | | |
-------------- -------------
I'm looking for a way to determine the differences between two strings, and highlight them in both strings.
I would suspect that most 'diff' programs won't work since they show differenes in lines (I believe).
Thanks,
Mark
I have an html table with say 5 columns. Three of the columns I want to have a fixed width (for example, td width=30,50,30). How would I divide the remaining horizontal space between the two remaining columns? I thought I would do it by just setting each of the "width" properties for those columns to "50%", but that didn't seem to work.
I just found out that I can write a really simple web server using Python. I have already an Apache web server I would like to try the Python based web server on this machine. But I am afraid that I can get some kind of conflict if I try it. I mean how two web server will "decide" who needs to server a request from a client?
I used this query URL
http://maps.google.com/maps?q=from+A+to+B&output=kml
,which is given in the answer to this question. But after I tried it, it doesn't work with coordinates. It works with address names tho. I guess I could use google's geocoding to get the addresses first. But I wonder if there is another way to get the walking distance between two coordinates?
Hi guys
I have two Pocket PCs and I want write an application that be able to send a file via Wi-Fi , as you know the Pocket PC's OS is Windows-mobile ;
1)Can I use J2SE ?(Because windows-mobile) or I must write J2ME Application?
2)please kindly advice me, with a sample source code about that.
Thanks a lot ...
Total records in table are 10.
Select count(ID) from table1 where col1 = 1 (Result is 8)
Select count(ID) from table1 where col2 = 1 (Result is 2)
So its a same table but count is based on different condition. How am i gonna get two results (counts) using one select statement?
Also Performance is a big concern here.
PS: I am using Stored procedure...
Sir,
We are working on a project.Here we encountered with a problem ie we are unable to include more than two panels on the same frame .What we want is one panel above the other. Can you please help us with this?
http://www.akben.com/The%20Winton%20Group/contact_us.php
I have a set of five divs sitting side to side. The last two move down approximately 20px in IE8 when the page is made smaller from the right hand corner... can anyone point out what I am messing up?
Thank you!
I can use something like:
cvs.exe rdiff -D2010-03-23 -D2010-03-24 -s "ProjectName"
to get the changes which occurred on the 23rd.
But I want to get the changes that were checked in on the 23rd on a specified branch - and if I add in a -v branchv1-0-0-0 into that it tells me I can't have more than two dates/revisions in one query.
Any suggestions?
Suppose I have a block of memory as such:
void *block = malloc(sizeof(void *) + size);
How do I set the first two bytes to a pointer or NULL while still being able to access the rest of the block of memory? For this reason, I do not want to simply assign 'block' to another pointer or NULL.
Given two absolue paths, e.g.
/var/data/stuff/xyz.dat
/var/data
How can one create a relative path that uses the second path as its base? In the example above, the result should be: ./stuff/xyz.dat
Is there any easy way to calculate the number of lines changed between two commits in git? I know I can do a git diff, and count the lines, but this seems tedious. I'd also like to know how I can do this, including only my own commits in the linecounts.
I have an object (Contacts) which has two has_many relationships: Campaign and Company
When I am in the Campaign view, I want to add a Contact.
But without a Company_Id, Controller says cannot find company_id (which needs to be there if I add a Contact through the Company).
What should I do?
Suppose there are two exe's . It is my own and the other is some other application.now If the other app is running and my app is also running till other one is not exit or stopped
Idle for more than two weeks! all my team is idle! no more coding, just editing few lines of code, no real development, what shall I do?
if(idle){
// Please advise ...
}
Are these two function declarations effectively different?
If not, why do they have different toString values?
scala> def f: (Int) => Int = x=> x*x
f: (Int) => Int
scala> def f(x: Int) = x*x
f: (Int)Int