Are there any eclipse plugin available to auto generate sequence diagram for C++ code running in the linux environment? Please letme know the details. Thanks.
Is it possible to let the users choose / change dynamically the columns displayed in a object list in Django administration ?
Things can surely be implemented "from scratch" by modifying the 'change_list.html' template but I was wondering if somebody has already had the same problem and/or if any django-pluggin can do that.
Thanks in advance,
Hello guys.
The topic says it all. In case of my question is not clear enough letme provide you a screenshot ;-)
I am editing ColumnHeadersHeight property. When I finish I want to use some a key to go to ColumnHeadersDefaultCellStyle property or to ColumnHEadersHeightSizeMode property. How to do that without using a mouse?
Can any one please letme know, that, i need to fetch last 4 rows from a result-set using mysql. The result-set returns totally 6 records.
but, i need the records to be fetch from last4...i.e,
Record-3
Record-4
Record-5
Record-6
I'm customizing work item templates in TFS 2008 through the PowerTools and I'm wondering is it possible to hide a field (or it's value) for certain users?
For example, let's say I open TFS to my clients so they can submit feature requests. I'd like them to see the work item created, to see the history, changes etc. but I'd like to keep some of the field private and for our internal use.
Is it possible?
Hi,
i am getting confused with size_t in C.
i know that it is returned by a sizeof operator.
But what exactly it is?Is it a datatype?
let's say i have a for loop
int i; or size_t i;//which one should i use?
for(i=0;i<some_size;i++)
Inspired by this discussion, after some googling I wasn't able to find an answer to a pretty simple question regarding methods in Ruby: are they objects or not?
There are different opinions here and there, and I would really like to hear, let's say, an in-depth explanation.
I'm aware of Object#method method, which takes a method name and returns a Method instance, but, on the other hand, there's a similar thing you can do with blocks to make them into Proc instances, and blocks aren't objects, so what makes methods any different?
Hi,
I'm using php on apache with mysql.
I want to let users enter a url into their browser to see a custom user page for themselves, just like twitter does. For example, they could enter urls like:
www.mysite.com/johndoe
www.mysite.com/janedoe
and see that user's page. How could I do this with php and apache? I don't want to create a folder on disk for every user like above, I'd instead kind of like to catch the url and generate the page on the fly for them,
Thanks
Hi
I have written an chat application in java, now I like to update my application whenever user registers my chat application I should get a sms on my cell.
I am not getting how should I start with messaging service. Letme know any ideas or links.
Thanks
Given that my class looks like this:
class Methods{
function a(){
return 'a';
}
function b(){
$this->a();
}
function c(){
$this->a();
}
}
Is it possible to ensure that function a can only be called from function b?
In the above example function c should fail. I could just include it in function b, but in the future I may want to let a() be called by some new functions (e.g. d() or e())
If anyone knows of any such project that has already been started, I'd prefer not to waste my time by starting up and just go right into helping whoever has this project. But I am fairly new so I'm not sure what help I could provide. Again, please letme know if there is already someone doing this project.
I know it's a basic question but I've tried every combination of propedit propset, etc.
In an existing project, there's a file (let's call it 'error.log) I want to ignore for all future commits. What's the command-line syntax to do so?
I'm getting a specified cast error trying to return a integer, example code below:
results = pipeline.Invoke();
foreach (PSObject ps in results)
{
int diff = 0;
Int32 exchcount = Convert.ToInt32(ps.Members["itemcount"].Value);
diff = itemcount - exchcount;
}
I'm trying to find out what the data type if for itemcount of the Get-Mailboxstatistics but i can't find the information, i assume it's Int, i've tried string but that does not work either. any ideas please letme know!
Thanks
Steve
Having trouble with a challenge.
Let's say I have a theoretical, base 10, floating point calculator with the following characteristics
Only 3 digits for mantissa
1 digit for exponent
Sign for mantissa and exponent
How would this machine compute the following?
300 + \sum_{i=1}^{100} 0.2
The correct result is 320. The machine's result is 300. But why? Can't get where the 20 goes goes missing...
Thanks for your time.
I am trying to install balder - the carrier wave tree
i am getting some errors including:
not seeing the form elements for adding photos.
getting an error message "command exiftool not found"
I think I've installed all the gems and software already.
Anyone here good with troubleshooting code? also - i've got some screenshots handy if you need them. stackoverflow wont letme post images yet :/
also, are there any other alternative photo galleries written for ROR?
let's say I have 2 classes like this:
public class Foo
{
[Required]
public string Name {get;set;}
}
public class Bar
{
// put here [Required] at run-time
public string Name {get;set;}
}
var foo = new Foo();
var bar = new Bar();
//copy the required from foo to bar
is it possible to copy the attributes from foo to bar at run-time ?
Hi,
Is there any function to replace the special characters by null in informatica
if we used replacestr function, i think we should specify all special characters
as follows replacestr(input,'!','~','@','#','$','%','^','&','*',null)
But we dont know what are teh special characters will be coming as input.
can u please letme know that which function will be suitable.
Lets assume I have a file on a CDN (Cloud Files from Rackspace) and a static html page with a link to that file. Is there any way I can force download this file (to prevent it from opening in the browser -- for mp3s for example)?
We could make our server read the file and set the corresponding header to:
header("Content-Type: application/force-download")
but we have about 5 million downloads per month so we would rather let the CDN take care of that.
Any ideas?
After the page has loaded a piece of javascript set focus on window and on a specific input field. I want to prevent this focus on the input field how can I do that with javascript in greasemonkey? Maybe this is not possible because greasemonkey don't execute the code until the entire page has loaded? Then let's say I can run my code at any time how can I prevent the focusing?
In terms that an OOP programmer would understand (without any functional programming background), what is a monad?
What problem does it solve and what are the most common places it's used?
EDIT:
To clarify the kind of understanding I was looking for, let's say you were converting an FP application that had monads into an OOP application. What would you do to port the responsibilities of the monads into the OOP app?
I want my window to always maintain a certain ratio of let's say 1.33333333. So, if the window is width = 800, height = 600 and the user changes the width to 600, I want to change the height to 450 automatically.
I'm already intercepting WM_SIZE but I don't know if it's enough; also I don't know how to change the width or height to maintain my ratio.
$('#columnList').append("<li>" + $(colInProcID) + "</li>");
Obviously, Im doing something wrong...not sure how to say the above so that I dont get [object object] in my list.
**Sorry, letme clarify ... the $(colInProcID) is a DIV that I want inserted into the list. (sorry)
I am gathering small information regarding kernel dll functions.. and I found this function called CopyLZFileName/CreateLZFileName and some other functions related to this LZ.. I googled for it.. I cant find a proper source for it. From the name I guess it copies/creates file but am not sure what kind of file.. does LZ mean something to it. Please letme know.
I need to calculate the time when we touched certain sprite in cocos2D. What I needed is the time elapsed ( after certain action and before the touchesEnded on the sprite. ). Please letme know how we I should do ?
Thank You.
Let's say I have a list of elements
@list=(1,2,3);
#desired output
1,2,3
And I want to print them as comma seperated values. And most importantly, I do not want the last element to have a comma after it.
What is the cleanest way to do this in Perl?