filesize Questions
2
Solved
I have a folder containing .tcb and .tch files. I need to know what the size of all .tcb files together, respectively of all .tch files is.
I did like this:
1) I created a temp folder and then:
m...
Wellknit asked 17/8, 2010 at 17:30
1
Solved
I'm creating sparse files in python as follows:
>>> f = open('testfile', 'ab')
>>> f.truncate(1024000)
>>> f.close()
when the file is done, it takes up 0 disk space, b...
Koan asked 9/7, 2010 at 11:6
3
Solved
An inexperienced PHP question:
I've got a PHP script file that I need to include on different pages lots of times in lots of places.
I have the option of either breaking the included file down in...
Fiesta asked 19/2, 2010 at 17:10
7
Solved
I'm working on a browser-game and I can't help but wonder about what's the lightest way to make the grid/board on which the game takes place.
Right now, as a mere sample, I'll show you this:
-lin...
Sanborn asked 3/4, 2010 at 15:46
5
Solved
I made a simple function, which get's a file's size.
int file_size( char * filename )
{
int size;
struct stat st;
stat( filename, &st );
size = st.st_size;
return size;
}//file_size
...
1
Solved
I'm storing document information (Word, excel, ...) in a MySQL database.
I have a column "size" where I store the filesize in bytes like 582656, 136260, 383266...
But when I order by size...
1
Solved
I'm writing a PHP page that generates a podcast feed by scraping an existing HTML page. Everything works great, but one of my mp3 files gives a "filesize(): stat failed" error. As best as I can tel...
2
I developed a small program using python and wxwidgets. It is a very simple program that uses only a mini frame to display some information when needed, and the rest of the time it shows nothing, o...
Pender asked 24/10, 2009 at 12:20
3
Solved
Here's what I'm hoping to do:
I want to send an ajax request to a file (preferably with jQuery), and once the file has been loaded, determine the size of the requested file.
After a bit of googli...
6
Solved
I want to keep my app under 10.0MB for easy downloading in both cellular and Wifi network environments. In your experience have you come across any good ways for keeping your apps slim? If so pleas...
7
Possible Duplicates:
How to organize minification and packaging of css and js files to speed up website?
What do you use to minimize and compress JavaScript libraries?
Hi there
Do you...
Euthanasia asked 27/7, 2009 at 8:8
5
Solved
I have this home work where I have to transfer a very big file from one source to multiple machines using bittorrent kinda of algorithm. Initially I am cutting the files in to chunks and I transfer...
5
Solved
I have an file input tag in my web app. I'd like to check that the file isn't too big before sending it to the server. Of course, I still have validation server side. Is there any way to do this wi...
Enigmatic asked 13/2, 2009 at 19:17
11
Solved
As a Christmas gift I have written a small program in Java to calculate primes. My intention was to leave it on all night, calculating the next prime and writing it to a .txt file. In the morning I...
Tenne asked 24/12, 2008 at 16:47
2
Solved
I'm currently in the process of replacing my homebrewn build script by an Ant build script.
Now I need to replace various tokens by the size of a specific file. I know how to get the size in bytes...
1
Solved
What are the advantages and disadvantages of shrinking a database? Are there any performance implications?
Gummite asked 23/10, 2008 at 9:9
© 2022 - 2024 — McMap. All rights reserved.