I'm trying to run the unit tests from the gflags project, and I'd like
to know how to run them and what unit testing framework it is using to
do this.
I'm using Visual Studio 2005.
I'm working on a project where I need to add some functionality to a service object and using a decorator to add it in seems like a good fit. However, I've only ever used decorators with simple beans, never on a singleton like a service object. Has anyone ever done this before and what are the pros and cons? In this case I don't think creating a subclass will work so a decorator seems to be a good fit. What are your thoughts on doing this?
my tomcat server is showing error 500 exception. actually i am not able to get connected to the table created in the pg admin3 postgresql database to the project deployed in the server.
can u please tell me the method to modify query in the table created?
Hello,
I am creating a reusable component in C#.net.
For that i have started a Control Library project and added a Control.
Class MyControl : Control{}
My user control just displays some images which will be used in many Windows Applications.
Can you please tell me which design pattern i am using here.
I am unable to decide which pattern they belongs.
Thanks
I'm starting a new project. I familiar with TortoiseSVN, and all its downsides. Shell I start using Mercurial instead? What are the pros and cons using Mercurial over Subversion?
I saw these lines in a demo project, but I couldn't understand why it did that.
[self willChangeValueForKey:@"names"];
[self didChangeValueForKey:@"names"];
It called didChangeValueForKey immediately after willChangeeValueForKey.
Does it make any sense?
Furthermore, when should be the right time to call this two methods?
Thanks a lot!! :)
I'm trying to write a small script to change the current directory to my project directory:
#!/bin/bash
cd /home/askgelal/projects/java
I saved this file as proj, changed the chmod, copied it to /usr/bin. When I call it by:
proj, it does nothing. What am I doing wrong?
I have used Microsoft.SqlServer.Smo.dll and Microsoft.SqlServer.ConnectionInfo.dll in a number of VS2008 projects but they don't appear in the VS2010 Add Reference dialog. Why did they disappear and how can I add them to my VS2010 project?
hi
i have buield my project on VS2008 under FrameWork 3.5
now i need to move to FrameWork 2.0
when i done this, i got this error:
Error 1 The type or namespace name 'TypedTableBase' does not exist in the namespace 'System.Data' (are you missing an assembly reference?) C:\Documents and Settings\xxx\Desktop\demo2005\demo\MyDB.Designer.cs 391 68 demo
in this line:
public partial class DO1TblDataTable : global::System.Data.TypedTableBase<DO1TblRow> {
i think that it something with the crystal-report
thank's in advance
I am new in phonegap development and i am developing one project for iphone application with use of phonegap framework.
I am setting http://www.wallpaperbase.com/wallpapers/computer/mac/mac_8.jpg image as a background of my iphone application but its showing problem with image means image not properly displaying on my iphone Device like as given image example below.
Please solve my issue ASPS.
Please check my code and let me know what's wrong in it.
Hi,
In the Makefile.in of an existing project, it has this:
EXPORTS = \
gtkmozembed.h \
gtkmozembed_glue.cpp \
gtkmozembed_internal.h
Can you please tell me what does EXPORTS mean?
Thank you.
In my project i have created a file upload.Now it is required that any exe file or exe file in a zip folder having .zip as extension, be prevented from being uploaded.
Can someoe suggest me a solution?
i have got 24 buttons in my project.I need to manage them but I don't want to get my MainViewController polluted by 24 declarations of pointers, properties & synthesizes.
i was thinking about using buttonPushed functions and do it like:
-(IBAction)buttonPushed:(id)sender{
UIbutton *button=sender;
[buttons addObjectAtIndex:[sender tag]];
}
my question is:is sender a pointer to the IBObject?
Hi Friends i am using uploadify for my project.. in that i need to pass some data to upload.php to insert it in database. i am using the below code for sending data and getting it using $_POST in that upload.php file but its not getting those values.
$("#fileupload").fileUpload({
'uploader': 'uploadify/uploader.swf',
'cancelImg': 'uploadify/cancel.png',
'script': 'uploadify/upload.php',
'scriptData' : {'name':'name','status':1}
Can anyone help me on this ..
I've created a Dynamic Data project with an Entity Framework model. It works nicely. But, right now it shows all my database tables with the db column names - which aren't always the most friendly (e.g. address_line_1). How can I got about giving these more friendly column titles that will display to the end user?
Just wondering if there is any easy way to start a debugging session that lauches the server and the client by simply pressing F5.
As it stands I have to F5 to debug the server, then find the client project and right click-Debug, which is a bit fiddly.
Any tips to get this to work more smoothly?
I have a project that involves recording data from a device directly into a sql table.
I do very little processing in code before writing to sql server (2008 express by the way)
typically i use the sqlhelper class's ExecuteNoneQuery method and pass in a stored proc name and list of parameters that the SP expects.
This is very convenient, but i need a much faster way of doing this.
Thanks.
http://plugins.jquery.com/project/semantictabs
What is the means of this
Status - Recommended for 1.0.x
I'm using this plugin code as it is http://plugins.jquery.com/files/jquery.semantictabs.js_4.txt
then this ( I'm also using prototype.js onsite)
jQuery.noConflict();
jQuery(document).ready(function(){
$("#mytabset").semantictabs({
panel:'.mypanelclass', //-- Selector of individual panel body
head:'headelement', //-- Selector of element containing panel header, i.e. h3
active:':first' //-- Which panel to activate by default
});
});
I'm building a new site that consists entirely of:
8-10 pages of static content that rarely changes (like once every few months or once every year)
An image gallery
Since I don't plan to be the primary maintainer of the site, I'd like to use a CMS with some security and a WYSIWYG editor so non-web-savvy people can tweak the site when necessary.
I started out using Drupal, but started wondering if it was overkill. So, two questions: 1) is it overkill? 2) What CMS would you recommend for a project this simple?
We're using Trac as the task management tool at the project we work in. However, Trac search is maybe not the most intuitive search out there, and we end up having multiple duplicates as the reporters can't effectively find if there already is a reported ticket of the question he or she found.
Stack Overflow's "Related Questions" concept is great and works magnificently! I was wondering if someone has heard of some similar plugin to Trac, or if you have solved this problem some other way.
Hi Guys,
I have Visual 2010, I am trying to generate dal from my database.
I create a classlibrary project
I add reference to Subsonic
I add reference to mysql
create generated file in directory
I add a App.config file and fill it as this:
I create the external tools button and run it,
it generates the CS files, but doesnt appear in generate files,
what to do next to use these files in my application??
thanks
How do I know when a project is just to big for MySQL and I should use something with a better reputation for scalability?
Is there a max database size for MySQL before degradation of performance occurs? What factors contribute to MySQL not being a viable option compared to a commercial DBMS like Oracle or SQL Server?
What's the main point behind putting variables and method signatures inside ApplicationDelegate.h in Objective-C ? By doing this, all those methods and variables are seen by another view controller classes? Is that the point?
And also: is there only one application delegate class inside each project?
We have a Scala project with few source files (in Scala and Java) and quite some dependencies in various binary formats (jar and DLL). I'm wondering what should go into our shared git repo. Only the source files (developers have to download or somehow resolve the dependencies themselves) or the both the source files and the dependencies?
I may add that dependencies are all third parties and available for download for free.