storage

How do i emulate a storage card in Windows Mobile 6?

I have seen in many programs such as FreeOTFE that they can emulate a storage card in WinMo. It will be shown in Windows Mobile just as a storage card is inserted and i can interact with it just like a SD Card. How do i implement that? Any tips/tricks/guides/samples? I am using WinMo 6 Professional with Dot Net Framework :) I know i ...

Accessing functions bound to event handlers with jQuery

With jQuery you can bind functions to an event triggered on a DOM object using .bind() or one of the event handler helper functions. jQuery have to store this internally somehow and I wonder if is it possible given a DOM object, to find out which events have been bound to the object, and access those functions etc. The desired return re...

How should I design my iPhone app's storage architecture? Small lists, dates etc

Hey everyone, I have an app in dev that involves a small list of people, a small list of places, and dates and times. What is the best way to save this data? People - list will be < 30 people, with simple name fields and other small string feilds. Should i save them as property lists? Is there any way to simply create a pointer to a ...

Alternative to Amazon’s S3 service?

Just wondering if there is good alternative to Amazon's S3 service? I like S3 but the bandwidth cost is high. I looked at CouldFiles from Rackspace but the cost is even higher. I don't mind prepaying or having monthly payment in order to reduce the bandwidth cost greatly. Thank you for any help ...

dynamic array pointer to binary file

Hi guys, Know this might be rather basic, but I been trying to figure out how to one after create a dynamic array such as double* data = new double[size]; be used as a source of data to be kept in to a binary file such as ofstream fs("data.bin",ios:binary"); fs.write(reinterpret_cast<const char *> (data),size*sizeof(double)); Whe...

Storing images for multiple web sites

I've got two web sites (written in c#) which are pretty common: One is an admin site (cms) where you add images into content as needed, through editor pages. Second is the site where the content with images is shown. Images should be stored outside these two sites but where and how? ...

Compressing large text data before storing into db?

Hello, I have application which retrieves many large log files from a system LAN. Currently I put all log files on Postgresql, the table has a column type TEXT and I don't plan any search on this text column because I use another external process which nightly retrieves all files and scans for sensitive pattern. So the column value c...

How to programmatically get info about storage drives in linux? (C# MONO)

I need programmatically get all storage drives available in a linux system with the following fields: Path File System (FAT32, NTFS, etc) Containing Physical Disk It need to support all common storage types: hard disks, Disk-On-Keys, CdRom, Dvd, etc. How to do this from C# to run well from MONO? ...

How can I build something like Amazon S3 in Perl?

I am looking to code a file storage application in perl similar to amazon s3. I already have a amazon s3 clone that I found online called parkplace but its in ruby and is old also isn't built for high loads. I am not really sure what modules and programs I should use so id like some help picking them out. My requirements are listed below...

How can I find the memory available on an SD card on a wince device (C++)

I'm looking for a way (on a pocketPC) to interrogate the size/remaining size of an SD card. I have to create some files on the SD card and I want to make sure there's enough room before I write to it. ...

Problems Mapping a List of Serializable Objets with JDO

I have two classes Invoice and InvoiceItem. I would like Invoice to have a List of InvoiceItem Objets. I have red that the list must be of primitive or serializable objects. I have made InvoiceItem Serializable. Invoice.java looks like import java.util.ArrayList; import java.util.Date; import java.util.List; import javax.jdo.annotatio...

Storing uploaded content on a website

For the past 5 years, my typical solution for storing uploaded files (images, videos, documents, etc) was to throw everything into an "upload" folder and give it a unique name. I'm looking to refine my methods for storing uploaded content and I'm just wondering what other methods are used / preferred. I've considered storing each item ...

Efficiently storing a list of prime numbers

This article says: Every prime number can be expressed as 30k±1, 30k±7, 30k±11, or 30k±13 for some k. That means we can use eight bits per thirty numbers to store all the primes; a million primes can be compressed to 33,334 bytes "That means we can use eight bits per thirty numbers to store all the primes" This "eigh...

How to Store Cookies in Ruby?

I am programmatcally accessing authenticated content in my CDN on Google App Engine, and it's returning a cookie that I'm supposed to store: {"set-cookie"=>"ACSID=cookie-hash; expires=Mon, 12-Apr-2010 01:56:06 GMT; path=/"} What do I do with that? This is my first time dealing with Cookies. I can put in the header of the next reques...

Storing URLs while Spidering

I created a little web spider in python which I'm using to collect URLs. I'm not interested in the content. Right now I'm keeping all the visited URLs in a set in memory, because I don't want my spider to visit URLs twice. Of course that's a very limited way of accomplishing this. So what's the best way to keep track of my visited URLs?...

C Question: How to store data inside the executable file

Hello all, complete newbie here, I need to find a way to store 250 KB of plain text numbers inside my program's executable file. Usually, I would put the data in a separate file and let the program read it while it is running, but that's not an option here. Instead, the program and the data need to be in one executable file. I have ab...

Single Instance Storage layers

Hi, I have a data storage requirement which is an excellent candidate for single instance storage and deduplication. Can anyone suggest any .Net compatible libraries or systems which handles SIS and deduplication, either with SQL Server as an actual back end or its own high performance storage engine? What have peoples experiences bee...

Programming an IE-Toolbar: Where to save user-related files (IsolatedStorage does not work!)?

Hi, I am programming an IE-Toolbar. Now I have the problem that I want to save some user specific and application specific data First I have tried to use IsolatedStorage but I am only getting a ComException. Which is the recommended way to save some files when programming IE-Toolbars? Thanks in advance for your advice! Best regar...

How to synchronize HTML5 local/webStorage and server-side storage?

I'm currently seeking solutions for transparently and automatically synchronizing and replicating across the client-side HTML5 localStorage or web storage and (maybe multiple) server-side storage(s) (the only requirement here that it should be simple and affordable to install on a regular hosting service). So do you have any experience ...

Ideas on how to save space with Windows 2008 R2 server on Hyper-V?

I've got this question awhile ago, but it still bothers me. I work with a few virtual machines running Windows 2008 server, mostly demo VMs and test machines. Since most devs use them, I prefer to not have individual setups here and there and maintain a catalog of exported VMs and hard drive images instead. Thanks to side-by-side asse...