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 please share. What are some good guidelines for keeping iPhone app file-size under 10.0MB?
...
A weekly mp3 is uploaded to an external server.
I manually copy this to my server and link it for podcasting and archive etc.
The external file is then replaced the following week.
I can copy the file directly to my server when available:
copy("http://source.com/file.mp3", "newfile.mp3");
I need to know when the file is available b...
In terms of performance and efficiency, is it better to use lots of small files (by lots I mean as much as a few million) or a couple (ten or so) huge (several gigabyte) files? Let's just say I'm building a database (not entirely true, but all that matters is that it's going to be accessed a LOT).
I'm mainly concerned with read performa...
I need to create a site that is very graphics-heavy (torn paper backgrounds with transparent shadows over textured graphics, etc.) One way that I was thinking of saving on file size was to drop all my background elements into one PNG. The issue is that this file is now 180k. If I break it up into various GIFs and a couple PNGs then it ...
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 know any tool/method which can help me to minimize the size of a javascript file?
...
I want to have a batch file which checks what the filesize is of a file.
If it is bigger than %somany% kbytes, it should redirect with GOTO to somewhere else.
Example:
[check for filesize]
IF %file% [filesize thing Bigger than] GOTO No
echo Great! Your filesize is smaller than %somany% kbytes.
pause
exit
:no
echo Um... You have a big ...
This is a simple one (I think).
Is there a system built in function, or a function that someone has created that can be called from Delphi, that will display a number of bytes (e.g. a filesize), the way Windows displays in a file's Properties box?
e.g. This is how Windows property box displays various sizes:
539 bytes (539 bytes)
35....
Hi All,
I have a large set of directories for which I'm trying to calculate the sum total size of several hundred .txt files. I tried this, which mostly works:
find . -name *.txt | xargs du -hc
But instead of giving me one total at the end, I get several. My guess is that the pipe will only pass on so many lines of find's output at...
I need a way to get the size of a file using c#, and not the size on disk. How is this possible?
Currently I have this loop
foreach (FileInfo file in downloadedMessageInfo.GetFiles())
{
//file.Length (will this work)
}
Will this return size or size on disk?
...
Whenever I import an MP3 into Flash CS4, I see massive file size increases within the FLA. Not only does the file size of the MP3 in the Library bloat, but the file size and export time of the FLA increase dramatically as well. This leads to all sorts of memory errors and slow performance.
MP3 File in Windows Explorer:
MP3 File in Fl...
I was wondering if there was a way to use jQuery to find out the file size for a PDF that i'm linking to a webpage.
I want to make it so that on hovering over the download link, a modal box pops up saying the file size of the PDF. I can do the second bit, the only thing i'd like to know is how to find out the file size. I dont know if ...
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 googling, it's clear that I don't even have a good idea of the right question to ask to figure this out. Any help would be greatly appreciated.
...
Hi,
So, at my workplace, they have a huge access file (used with MS Access 2003 and 2007). The file size is about 1.2GB, so it takes a while to open the file. We cannot delete any of the records, and we have about 100+ tables (each month we create 4 more tables, dont ask!). How do i improve this, i.e. downsizing the file?
thanks.
...
I've got a mac application that I've developed.
I use it to create sqlite files that are bundled with my iphone app. The mac app uses Core Data and bindings and is working fine except for one "weird" issue.
I use an NSImageView (or Image Well) to allow me to drag and drop jpg files.
This is bound through to an optional binary attribu...
Hello, I am using c++ to look through 256 counts and write the ASCII representative to a file.
If i use the method of generating a 256 character string then write that string to the file, the file weighs 258bytes.
string fileString = "";
//using the counter to attach the ASCII count to the string.
for(int i = 0; i <= 256; i++)
{
file...
What really happens when cookies file exceeds maximum size?
...
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, only an icon in the taskbar.
When I build the exe using py2exe (single file exe mode, optimized), I get a 6Mo size file!
I tried not includin...
Hi guys,
I'm working on a high-end flash site (AS3) with lots of video, hi-res graphics, and sound effects; needless to say, the initial preloader's got a lot of work to do (just to get the site to a point where additional assets can be loaded on the fly as needed). Because it'll be displayed for a while on most connection speeds, it's...
Hi guys,
I'm working on a big flash site with lots of component swfs and a ton of heavy multimedia (video, audio, image) content. File sizes are quickly getting ridiculous and I'm looking around for solutions--I want to minimize user wait time as much as possible (and my art direction is such that minimizing multimedia isn't an option)...
This is a bit more of a fun question than a serious one, but how does the Adobe PDF format make documents so... portable?
I just created a small Word document, 235kb in size, containing multiple color photos and a few textual phrases. A PDF created using CutePDF (which I understand isn't the most efficient method of PDF creation) is o...