storage

Storing HTML in MySQL using Java

Hello there again, So, I'm working on a project now where I should store webpages inside a database, I'm using crawler4j to crawl and Proxool along with MySQL Java Connector to connect to my database. When I tested the application I got: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'HTMLData'. The HTML...

Best free online storage service api

I want to make my Web site users be able to upload small or large files and post to share with other users, the files must be publically available online. I want to use a free online storage service for the job, which one should I use? I dont mind if there are ads. ...

How much storage space does the following take up?

int 72 It's a question in our discussion in a C# class. I said 2 bytes, others said it uses 32 bits or 4 bytes due to the integer type. Which is correct? ...

Calculating usage of localStorage space

I am creating an app using the Bespin editor and HTML5's localStorage. It stores all files locally and helps with grammar, uses JSLint and some other parsers for CSS and HTML to aid the user. I want to calculate how much of the localStorage limit has been used and how much there actually is. Is this possible today? I was thinking for no...

iphone storing password locally and sending it across to a server securely

I am writing an iPhone app which will start with asking the user to register with a login/passwd. These should be : Saved securely locally Send securely to a remote web-server What do I need to achieve the above? Say, for local storage, shall I save them in a file or database? Shall I encrypt it? For sending it over, is HTTPS suffici...

We need a solution for high-volume scanning, OCR, digitally sign, store, search and retrieve documents.

We provide notary service in Brazil, which is a public concession in this country. We are now searching for a solution to: 1 - scan in high-volume; 2 - run OCR in a batch; 3 - digitally sign the generated files (digital notarization); 4 - store in a network environment with off-site replication; 5 - websearch (Google appliance?); 6 - ret...

Having trouble storing a CRTP based class in a vector

Hi, Im not sure if this can be done, im just delving into templates so perhaps my understanding is a bit wrong. I have a Platoon of soldiers, the platoon inherits from a formation to pick up the formations properties, but because i could have as many formations as i can think of I chose to use the CRTP to create the formations, hoping ...

Android - Where to store generated bitmaps?

I've got an app which dynamically generates anywhere from 6 to 100 small bitmaps for the user to move around the screen in a given session. I currently generate them in onCreate and store them to the sd card, so that after an orientation change I can grab them out of external storage and display them again. However, this takes time (th...

Best practice how to store HTML in a database column

I have an application that modifies a table dynamically, think spreadsheet), then upon saving the form (which the table is part of) ,I store that changed table (with user modifications) in a database column named html_Spreadhseet,along with the rest of the form data. right now I'm just storing the html in a plain text format with basic ...

PHP: Measure size in kilobytes of a object/array?

Hi everybody, What's an appropriate way of measure a PHP objects actual size in bytes/kilobytes? Reason for asking: I am utilizing memcached for cache storage in my web application that will be used by non-technical customers. However, since memcached has a maximum size of 1mb , it would be great to have a function set up from the b...

Why is the Date header not set when I make a WebRequest in C#?

Tonight I started a small project trying to create a C# library to access the Google Storage API. When you create any kind of request to the Google Storage API, you have to include the "Date" header in the web request. I tried to create a WebRequest in C#, and noticed that I couldn't set the "Date" header manually. According to this M...

unlimited (or very high) length integer storage

Hello, as a side project I am working on some home-baked prime generation problems, trying to write some different implementations as a means of teaching myself C and C++. Of course, the quickest way to generate low primes is to already have them, so I want to go about setting up a hard disk prime list data file. I want to write all th...

Getting started with Azure Storage coming from a relational database point of view

I'm designing a new system, and I have need to store a pretty large volume of different type of data, with realitivly few rows per type. I know that if I were doing this with SQL Server (I don't want to use a SQL Azure database for this.) I'd make a new table for each type of data and make the correct relationships. I'm wondering if any...

How to store Propel objects into file?

I need to have option for Propel to store the data into database and file as well. Is there any way how to do that? I'll create the objects, fill the data and then need to store them into file (session) and be able to recreate the objects later. In some time it will go to database as well. Any idea? ...

Strange Error in django when I'm trying connect my costum storage!

I'm trying setup costum storege. Looks like all is ok. But there is the next error: Exception Type: ViewDoesNotExist Exception Value: Could not import app.views. Error was: cannot import name FTPStorage Exception Location: C:\BitNami DjangoStack\apps\django\django\core\urlresolvers.py in _get_callback, line 134 ...

Problem with import custun storage. Django

Hi I'm siting with my custom storage system 1 day. And now when I'm trying import it it gives me this Error. I put in file models.py from FTPStorage import FTPStorage import datetime from django.db import models fs=FTPStorage() class Upload(models.Model): """Uploaded files.""" file = models.FileField(upload_to='uploads', store...

Is it possible to store javascript in a database?

Hi, I have an idea for a web application where a user can submit Javascript code that can then be served up to other users. I'm wondering what's the best way of going about this. Is it possible to store the Javascript in a database and then serve it up to users as they request it? I would also like to be able to attach metadata to eac...

UTF-8 tuple storage using lowest common technological denominator, append-only

What's the most low-tech but reliable way of storing tuples of UTF-8 strings on disk? Storage should be append-only for reliability. As part of a document storage system I'm experimenting with I have to store UTF-8 tuple data on disk. Obviously, for a full-blown implementation, I want to use something like Amazon S3, Project Voldemort, ...

What are the storage limits for iPod/iPad applications?

I'm not talking about binary size. I'm talking about the amount of data that can be written to disk during execution inside of certain directories such as Cache or Documents. I can't find an easy answer in the XCode documentation, which is to say I can find none at all. I know there is a limit for the cache directory in the form of "oh...

How to Store Entire WebPages for Later Parsing?

I've been doing a lot of parsing of webpages lately and my process usually looks something like this: Obtain list of links to Parse Import list into database Download Entire Webpage for each link and store into mysql Add Index for each scraping session Scrape relevant sections (content, metas, whatever) Steps 4,5 -- Rinse/Repeat -- as ...