Am about to do a homework, and i need to store quite a lot of information (Dictionary) in a data structure of my choice. I heard people in my classroom saying hash-tables are the way to go. How come?
Does anyone out there have a create script for aspnet_membership table?
I found a data structure for it on MS site but cannot find a script to create it anywhere on the web.
Many thanks in advance
J
I have a static class with a few methods that just take in a byte array, parses it, and returns a structure. I need to call these methods from many separate threads. Do I need a lock() or some kind of thread-safety within the methods? I can't get my head around it.
If I have a cube divided into 8 smaller cubes, each of which may be subdivided into a further 8 cubes, ad infinitum, what is the name of my system?
I know that it's a special case of a tree, where each brance contains exactly 8 other leaves/branches.
I remember the name starting with "Oct", and there was a wikipedia article on it, but I honestly can't find it!
Does anyone know what such a data structure is actually known as?
Here is my problem: I export a database A_DB using "export" function of Phppgadmin. The dump file A_dump.sql includes both the database structure and data. Then I try to create another blank database B_DB, and import A_dump.sql into it.
Every time I do that, the transaction failed with no error reported:
SQL error:
In statement:
Is there some logs that I can find in phppgadmin that would allow me to investigate this problem? I have tried searching for an hour, but still not find anything.
Hello, How can I get current time (I need hours, minutes, seconds) crossplatform in c++? I saw here make structure of values but there are a lots of another stuff that I don't need. And memory is very important here.
I have a structure where the main table is USER, other tables include CATEGORY (contains user_id).
What I got after the standard reverse engineering procedure was:
the class User contained a collection of categories,
the class Category didn't contain the foreign key (user_id) but it did contain the User object.
Why did it not contain the foreign key as a class property?
And how do I join these two tables in HQL without that glue?
HQL - please explain this part.
Somebody knows an example of this? an application made with JSF 2.0 and EJB 3? directory structure, etc, those kind of things, I’m trying to approach the best way to create a Java EE app using those technologies.
I could set up the environment in my local host, But i have no choice like deploying my war file as its shared server, my admin ask me to extract the war file and upload through ftp. Now the problem is I am new to remote server. Please guide me with the remote environment file system and complete directory structure in remote tomcat. And how to use FTP for deployment ?
Thanks in advance
Hrushi
I have a prefix trie. What is the recommended schema for representing this structure in a relational database? I need substring matching to remain efficient.
I am trying to make a real-time data collection application that has timed task. Each task can have a different or the same update period. I would like to store the task with the common update period in a list where I can iterate through it and call the function that I registered in the list. How would I go about adding callbacks to a data structure like a list or vector? Can I store slots in them?
How can I do a multi-level parent-child sort using Linq if I have a table structure like the one below:
[Table: Sections]
Id Seq Name ParentSectionId
1 1 TOP NULL
2 1 AAAA 1
3 2 SSSS 1
4 3 DDDD 1
5 1 SectionA1 2
6 2 SectionA2 2
7 1 SectionS1 3
8 3 ASummary 2
Expected sort result:
TOP
AAAA
SectionA1
SectionA2
ASummary
SSSS
SectionS1
DDDD
i am writing an ide using qt (on c++) and i need to add auto completion feature to it
so i want to know :
how to do that (i am using qtPlainTextEdit) ?
what the data structure i should use ?
I am exploring a structure of folders with C# projects such as the following:
Projects
ProjectA
ProjectB
ProjectC
ProjectD
Scattered around in the same folders as the .csproj files, there are several solution (.sln) files. Is there a fast way to find all the solutions that contain ProjectD.vsproj? I can open them one by one and see what they contain, but I would like a feature such as "find all the solutions containing this project".
By textbook based i mean the author asks the reader questions/mini projects after every section/chapter of the book. And the book includes background info on php 5, like what kind of language, its use, syntax/semantix/structure etc. Any suggestions?
Hi, i've recently done a migration from a really old version of some application to the current version and i faced some problems while migrating databases.
I need a query that could help me to compare columns in two tables. I mean not the data in rows, i need to compare the columns itself to figure out, what changes in table structure i've missed.
In many projects, I check out the complete repository and have then the standard directory structure:
project/
branches/
tags/
trunk/
If I do an svn up project, it's all fine with the branches and trunk folders, but, of course, the tags folder is updated, too, and filled with (mostly) lots of tagged versions that are of no value for my work and only occupy disk space.
How can I except the tags folder from an svn update? Especially, how can I do this locally only, that is, without committing that back to the repository, as a solution with the svn:ignore keyword would do?
how can i write program in java to find the transpose of the graph G, where the input and the output of the program are represented as adjacency list structure.
for example:
input:
12341
outout:
1432
We have a database setup that consists of two parts: a static structure, and dynamic additions. For each database, the dynamic can be different, and sometimes we don't have data for all the dynamic fields. Rigt now, we check for empties by looking at the total count of records in the entire table, but we want to move to a more refined method of checking for empties if possible. Is it possible to quickly check through several hundred fields and see which ones are empty and which ones are populated?
Server 1 is connected to Server 2 via SSH.
We know this:
I can execute a command such as
" ssh server2 "cp -rv /var/www /tmp" "
which will copy the entire /var/www dir to /tmp. However inside of /var/www we have the following structure(sample LS output below)
$ ls
/web1
/web2
/web3
file1.php
file2.php
file3.php
How can I execute a cp command that will exclude /web1, /web3, file1.php and file3.php (obviously just copying web2 and file2 is not an option since there are significantly more files than just 6)
I was wondering if anyone new how to get access the metadata (the date in particular) from jpg, arw and dng files.
I've recently lost the folder structure after a merge operation gone-bad and would like to rename the recovered files according to the metadata.
I'm planning on creating a little C++ app to dig into each file and get the metadata.
any input is appreciated.
( alternatively, if you know of an app that already does this I'd like to know :)
I have an application with existing data, that has Zero in the date column.
When I look at it from sqlplus I see:
00-DECEMB
when I use the dump function on this column, I Get:
Typ=12 Len=7: 100,100,0,0,1,1,1
I need to work with the existing data from .Net (no changes to the data,or the data structure or even existing sql statements)
How the hack do I read this value, or write it.
The db version varies, from 8 to 11.
Help would be appreciated
I have a need to load an entire LINQ-to-SQL object graph from a certain point downwards, loading all child collections and the objects within them etc. This is going to be used to dump out the object structure and data to XML.
Is there a way to do this without generating a large hard coded set of DataLoadOptions to 'shape' my data?
Hi,
With the following entity relationship structure I'm struggling to figure out if the relationship between the LOAN and ITEM is valid?
The weak entity of Loan uses a partial key of 'loan_dateLeant' and the primary keys from CUSTOMER and ITEM to form its primary key.
However LOAN has a 'one to many' relationship with ITEM as a loan can consist of more than one item.
But surely this means that if more than one item is loaned, then the loan record will have two item_id values for part of its primary key?
hello
i have been asked to do a project where client can create php plugins and add it to the website ... same concept like wordpress plugins.
what is the best way to make a software that do that? i'm not ask for the solution i'm asking for the concept or structure.
Thanks