storage

HTML 5 DOM Storage in IE6/7

Anyone knows a better way to storage data in IE6/7 using HTML DOM Storage? I found the ExDomStorage But it limits data to 64Kb. ...

Add File Summary tab data in runtime in NTFS in WinXP SP3

Hello, stackoverflowers :) I have given up tryng to figure out the reason of this issue, but here is the story and hope you could give a tip... As I develop unique app ( http://code.google.com/p/sedev ) and therefore I need to polish it. I have to add File Summary ( very useful info in my opinion ) to any created files by the app, so I...

Android special directories

I see that as of API Level 8, you can request a handle to special directories with Environment.getExternalStoragePublicDirectory. This takes a type such as DIRECTORY_MUSIC, DIRECTORY_PICTURES, etc. I'm looking for an equivalent directory for other media types such as documents (Word docs, PDFs, etc.). My HTC Desire has a "/sdcard/My Doc...

Self hosted S3 alternative

Hey guys! I am searching for a service which will provide me with the functionality of S3 but for self hosted use. It seems like something simple which must have been written and perfected a bunch of times. I have these machines with 2000 GB drives in our servers anyways and the connection is good enough for my purposes. Thomas ...

On-Disk database storage, best practices

If this question seems common to you, I apologise, I did a quick search around this site and a few google searches and could not find a satisfying answer. My question is this; I have only been a software developer for 3-4 years now. This may seem like a time long enough to answer this question myself however in all my time, I have nev...

How does SQL Server store a composite primary key?

The limit of my understanding how a database stores a primary key is a btree based on the clustered key with each node storing the rest of the columns. I have not updated this understanding since university last century and would love to know how SQL Server stores a composite primary key compared to a single primary key. Can anyone hel...

How to build an undo storage with limit?

Dear All, I want build a data structure to store limited undo buffer, take store 6 dict data for example with below pseudocode: rawdict1 = {1} buffer = [{1}] rawdict1 = {2} buffer = [{2}{1}] # {1} stored on the postion rawdict1 = {3} buffer = [{3}{2}{1}] ... rawdict1 = {5} buffer = [{5}{4}{3}{2}{1}] # max length limit...

Why is long an issue with Oracle?

Why is long an issue with Oracle? It will be better if some one can tell me what are the issues with using the long data type in oracle? something related to storage? I was asked this in an interview. ...

iphone write to file fails

Heey, I'm writing some data to a plist file but it fails on the device but not in the simulator. Im kinda lost, dont know where to look for a solution. This is my code: NSMutableDictionary *dict = [[NSMutableDictionary alloc] init]; [dict setObject:nameField.text forKey:@"name"]; [dict setObject:emailField.text forKey:@"email"]; BOOL ...

C++ - basic container question

Hello! How should the following cases be handled: I have some geometrical storage, which is a template from vertex type. template <typename T> struct Geometry { std::vector<T>& GetVertices() { ... } const void* RawVertices() const { ... } } This works fine, unless I want to store different types of geometries (for instance, Geome...

Efficiently store easily parsable data in a file?

I am needing to store easily parsable data in a file as an alternative to the database backed solution (not up for debate). Since its going to be storing lots of data, preferably it would be a lightweight syntax. This does not necessarily need to be human readable, but should be parsable. Note that there are going to be multiple types of...

Storage Space/HD space on iPhone via code

How do I get the amount of storage room left on the iPhone? I need to be able to ge the info that you can get with appbox pro, ie. space used, space available, space total, all in GB. How can I access it in-app without the use of private APIs? Thanks ...

How much does it cost to run a social network on average in terms of hardware and bandwidth per user, with a Ruby on Rails average stack?

How much does it cost to run a social network on average in terms of hardware and bandwidth per user, with a Ruby on Rails average stack? ...

Could not load file or assembly 'AjaxControlToolkit'

I have this error on website today Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. There is not enough space on the disk. (Exception from HRESULT: 0x80070070) ...

Plain text vs Database Storage

I need to store a large string that represents music notation in text format. This string could be anywhere between a few lines to several hundred. I need to store meta data about the string (eg artist, instrument etc) in a database. I'm wondering, would it be better to store the large text string in a flat file or in the database? I ...

Apache Solr - are the documents itself stored internally apart from the index?

Hello, I have been trying to research how solr works when documents like doc or pdf are submitted to it. I want to know if I submit pdfs to solr, does it end up storing the pdf file also along with the index generated after parsing the pdf file? Thanks, -Keshav ...

Android: how to delete internal image file

What i want to do: delete an image file from the private internal storage in my app. I save images in internal storage so they are deleted on app uninstall. I have successfully created and saved: String imageName = System.currentTimeMillis() + ".jpeg"; FileOutputStream fos = openFileOutput(imageName, Context.MODE_PRIVATE); bitmap.comp...

Way to storage object without rdbms or plain file with Java

Hello, first of all sorry for my English is not my native language. I have a web form input field and a servlet (Clustered Weblogic AS) which receives the contents of this input. I would like to limit the attempts given the same value without using rdbms or plain text file, eg // Getting value of form String input = request.getParameter...

What kind of file system configuration changes are handled by an RDBMS?

From here, Oracle ASM provides several advantages over conventional file systems and storage managers, including the following: Rebalances data automatically after storage configuration changes What kind of configuration changes are we talking about here? In a database, what kind of configuration changes happen? ...

java file move high performance

Hi, I am writing a media transcoding server in which I would need to move files in the filesystem and till now I am in the dilemma of whether using java renameTo can be replaced by something else that would give me better performance. I was considering using exec("mv file1 file2") but that would be my last bet. Anyone has had similar ex...