creation

red-black tree - construction

Recently, I have been going through search trees and I encountered red-black trees, the point confusing me is, In r-b tree, the root node should be black thats fine, now how will I decide whether the incoming node assumes red or black color. I have gone through the wiki article but have not found a solution for this. I might be wrong, b...

How to create a huge Informix database?

Can anyone provide me with a script for creating a huge database (for example, 2 GB of data) in IBM Informix Dynamic Server (IDS) version 11.50.FC4 on a Linux RHEL 64-bit machine? ...

informix huge db creation

how to create huge database in informix ids 11.50 ...

constant visual studio freeze after generating asp.net datasets

Using c# asp.net webforms vs2008 I have a constant problem When i have created a webforms page, then i create a sqladaptor in the component designer area. Then i right-click the dataadaptor to auto create a dataset. Most of the time the dataset is created ok and included automatically to the solution. BUT.... every single time, withou...

Java Object Creation Error

package Sartre.Connect4; import javax.swing.*; public class ChatGUI extends JDialog { public ChatGUI(){ setTitle("Chat"); } } when i do this in another class in the same package: ChatGUI chatGUI = new ChatGUI(); i end up with a situation: Cannot Find Symbol please help? ...

Determine file creation date in Java

Hello, There is another similar question to mine on StackOverflow (How to get creation date of a file in Java), but the answer isn't really there as the OP had a different need that could be solved via other mechanisms. I am trying to create a list of the files in a directory that can be sorted by age, hence the need for the file creat...

What is happening in Crockford's object creation technique?

There are only 3 lines of code, and yet I'm having trouble fully grasping this: Object.create = function (o) { function F() {} F.prototype = o; return new F(); }; newObject = Object.create(oldObject); (from Prototypal Inheritance) 1) Object.create() starts out by creating an empty function called F. I'm thinking that a fu...

Component Creation How-to

I want to create a component that will allow me to install other components, modules, and plugins that i personally use all the time. I will need to be able to change these modules, components, and plugins at anytime but updating the components and etc.. that i use and be able to add more plugins and etc as well. I would like this Com...

SQLite table creation date

Is there a way to query the creation date of a table in SQLite? I am new to SQL, overall. I just found this http://stackoverflow.com/questions/1171019/sql-server-table-creation-date-query. I am assuming that sqlite_master is the equivalent to sys.tables in SQLite. Is that correct? But then my sqlite_master table only has the columns "typ...

Where should I create and get the value of a Cookie which I will be using for my ASP.NET MVC Application?

EDIT : I have another problem..Now I want to get the cookies value...in controllers constructor...does not allow me to do that since HttpRequest is Null...I dont want to do it on every controller action...since want to do it only once...and then every action can access cookie value ORIGINAL : Hi all I want to create a...

On-line business card creator with PDF proof

I'm doing some research, and looking to create a simple on-line business card creator. I need to give users the ability to pick a business card template and then update the text with their own information. Then I need to create a PDF proof for the user to sign off on, as well as create a hi-rez pdf for print. Can anyone point me in the ...

Estimating index creation time in oracle

I have some tables in Oracle enviroment which I have found could benefit from new indexes. However, they are big tables, ranging from 1M registers to 300M registers, so I would first try to estimate how much time it would take for the index creation take place, so I would know at least the order of magnitude it would take (hours, days, w...

[iPhone app] UIButton : managing dynamic creation and touch events

Hello, I'm currently dynamically creating UIButton objects in my view. I have an NSMutableArray containing information about them (id - label). I then create my view objects by doing a for iteration on my MutableArray. I'm trying to use this code on my buttons to catch touche events : [myButton addTarget:self action:@selector(select...

Microsoft Visual C++ 2010 Express - project creation failed

When I try to create a new project, it says: Creating project 'example'... project creation failed. I tried to reinstall, it didn't work, I googled about the error, and all the answers for VCExpress 2008. There are some people who asked about the error for 2010, but nobody answered them. I'm using Vista. ...

Can you modify the Date Created property on Sharepoint 2010 documents?

I'm working on migrating our company's documents from a generic file server to Sharepoint 2010 and was wondering if there was any way to keep the original Created Date property from the documents so it shows up in Sharepoint with the original Creation date rather than the date it was added to Sharepoint. Is this possible? We're current...

create multiple folders in python automatically

i want to create a path like C:\sample\sample1\hello.py It should automatically create the complete path from sample to hello.py Is this possible in python while dealing with file. pls help me ...

JMS Destination creation at deployment with Glassfish 3.0.1

I'm currently trying to 'port' my Java EE 5 Application from Jboss 6 M2 to Glassfish 3.0.1 Jboss used to create my JMS Destination Queues a deployment-time thanks to the -service.xml files. I really liked this feature and I would like to find a way to do the same thing on Glassfish. Is this even possible ? ...

rpm spec file -add new sub package

http://www.rpm.org/max-rpm-snapshot/s1-rpm-subpack-spec-file-changes.html Name: foo Version: 2.7 Release: 1 Source: foo-2.7.tgz License: probably not Summary: The foo app, and the baz library needed to build it Group: bogus/junque %description This is the long description of the foo app, and the baz library needed to build it... %packa...

How do you create a file format?

I've been doing some reading on file formats and I'm very interested in them. I'm wondering what the process is to create a format. For example, a .jpeg, or .gif, or an audio format. What programming language would you use (if you use a programming language at all)? The site warned me that this question might be closed, but that's just...

Creational Pattern: "Bastard Factory", a Abstract Factory spinoff

I am currently trying to figure out what the best way is to create my objects on my current PHP 5.2 project. I basicly have a Registry which returns objects by keys. If the Registry does not have an object with the specified key it will try to create one by calling a factory method that is supplied to the registry by construction. Look a...