The files tag has no wiki summary.
0
votes
0answers
25 views
Read and write files in android [migrated]
I have an ordinary java class SvmPredict within my android project that contains a method that takes two files as parameters - reading from the first and writing to the second.
public class ...
1
vote
2answers
152 views
All images in one folder for a website?
When creating websites, is it better to have a lot of images in one folder, or have them separated?
It's something that has always been in my mind but I never researched enough about it, and googling ...
0
votes
0answers
44 views
Watching file changes/additions/removal, but with an eye on partial transfer
I would like to monitor the filesystem in python, so that my application gets warned of the new file addition, file removal, or file change. Once the file is detected, the application starts ...
-3
votes
0answers
58 views
best programming language for processing large files [closed]
I am designing the architecture for my tool that is supposed to download large files, process them and upload them again. Java is my priority language but it seems not the best choice for this.
What ...
3
votes
1answer
158 views
Reading from a file and inserting into a database, a good practice
I am making an Android application which reads several JSON files and inserts the read information into tables in my database.
For instance, there are three files:
countries.json
{
...
-1
votes
1answer
94 views
How to store other file types within a file type using Java (cross-platform) [closed]
I'm writing a program that runs/plays songs and videos. I need there to be two options, one where it stores the addresses of the files/media and another where it stores all the dependencies in its ...
1
vote
1answer
289 views
Using assembly to write to a file
I am working with a trading application (reading data from the exchange) which generates a bucket load of data on a per second basis. We have different "log-levels" but even the minimal log-level ...
0
votes
3answers
348 views
Is there a manageable way of keeping track of loose code? [closed]
I program simple tasks everyday, but I have a hard time finding the scripts, and code snippets I write. Is there an manageable way to keep track of this sort of thing?
0
votes
1answer
248 views
Increase the size of a memory mapped file
I am maintaning a memory mapped file to store my tree like datastructure.
When I'm updating the datastructure ,I got this problem.
The file is limited on it's size and can't be too long or too small.
...
1
vote
4answers
261 views
Implementation ideas to store multiple files within a single file for faster access?
My requirement is to store a large number of files within a single file.The files stored could be anything like images, videos or simple text files as well. I want some ideas to implement the same. I ...
0
votes
2answers
177 views
Ideal “intermediate” file format to use for structured/styled text?
I have files that I want to make available in an variety of formats:
HTML
PDF
EPUB
Plain Text (maybe)
Most of the files will be sourced in doc, docx, or rtf format, so that needs to be considered.
...
6
votes
6answers
376 views
Should I continue teaching old Java input methods alongside the new ones?
I've been imparting a Java introduction course for several years. Some slides explain how to read from files and keyboard using BufferedReaders, InputStreams, FileInputStreamReaders etc.
I'm adding ...
1
vote
3answers
233 views
How can I add the version of a file to the file name with Tortoise-SVN?
I would like to start giving unique names to "cache-able" files - i.e. *.css and *.js - in order to prevent caching, without requiring changes to the web-server settings (as is currently done in IIS).
...
0
votes
0answers
196 views
Should I use a heredoc or an external template file in my bash script?
I realise that this question may be down to personal preference but I'm pretty new to bash/shell scripting so thought it'd be worth some research to see if there's some sort of standard/best practise ...
2
votes
2answers
109 views
What is the best strategy for transforming unicode strings into filenames?
I have a bunch (thousands) of resources in an RDF/XML file. I am writing a certain subset of the resources to files -- one file for each, and I'm using the resource's title property as the file name. ...
1
vote
9answers
443 views
What is a widely accepted term for a string variable that would probably contain a file path and file name?
For functions that need to index files in a directory and rename them FileName0001, FileName0002, etc... I often need to write a function that splits the file name from the file path and rename the ...
2
votes
3answers
343 views
How do programs like subversion detect when a file has been edited as opposed to created/deleted?
This is my first question here so I hope it is not off topic. Although I am using the Linux inotify library to listen for changes to files, and I compare use of that against the Subversion program, I ...
2
votes
1answer
86 views
File Processing Times
I have a very simple program in Ruby that opens a dictionary file, sorted-words.txt and prints out all the words in pig-latin. I tested its speed, and the first time I ran it, the program finished in ...
-2
votes
1answer
83 views
How do you solve large dependencies among files?
So basically I make several programs. Of course one program often used code from another. So I have my own personal "library"
Well, I do write jerk codes. Then When I open a project, the project will ...
6
votes
4answers
1k views
What are binaries?
I see very often people using term binaries in different context. What are binaries? Collection on binary files, installation files, .dll files or what? Or is it just an general term for some ...
3
votes
4answers
215 views
Randomly Accessing Data Packets in a Compressed File
In my line of work I deal with very large files, hundreds of Gigabytes in size. The nature of the data in these files is such that compression would greatly reduce their size. The problem is, the ...