I am new to more advanced bash commands. I need a way to count the size of external libraries in our codeline. There are a few main directories but I also have a spreadsheet with the actual locations of the libraries that need to be included.
I have fiddled with find and du but it is unclear to me how to specify multiple locations. C...
Hello,
First, excuse my english :)
I've read on apple developer website that video playback provides by the framework supports only full screen mode.
I will need to develop an application where video can be played in reduce screen mode. I've see that Orange TV make something which looks like what i need to do.
http://img218.imageshac...
I have a feeling that I'm putting rather much data in my ASP.NET session, but I've no idea how much and if I should be concerned. I found a similar question, but that relies on serializing objects and checking their serialized size. In my case the majority of data in the session is in objects from another library which doesn't have its c...
I'm planning to add openid support for a web application I'm building. I can't seem to find the maximum length of a valid openid so I can store it in my database. I've seen some vague references to 255 but I'd rather be sure.
In addition is it useful to use the openid as the username (recommendations)?
...
I have an XML file of size 31 GB. I need to find the total number of lines in that file. I know the command wc -l will give me the same. However it's taking too long to perform this operation. Is there any faster mechanism to find the number of lines in a large file?
...
Hi guys just wondering if u can help me modify this script that ive been playing around with, i cant get it to accept wildcard charcters '*'
@echo off
setLocal EnableDelayedExpansion
set /a value=0
set /a sum=0
FOR /R %1 %%I IN (*) DO (
set /a value=%%~zI/1024
set /a sum=!sum!+!value!
)
@echo Size is: !sum! k
Its in a batch file calle...
I have been asked to give a metric as to the size of a corporate application. The application in question is a web based application and I am not sure how to quantify its size. Obvious but not useful metrics would be lines of code, number of files etc. What are some suggested means of determining the size of an application that will prov...
Sorry if this is a noob question :( .
Piece of C code.
int array[5];
int cnt;
for(cnt = 0; cnt <= 10; cnt+=1)
{
array[cnt] = cnt;
}
Should give an error, right? No! Works fine!
But why is that? It seems that -in the first line- an array of more than the double size (11) is defined. You can even access array[5 to 10] later on....
Hello,
I am using the following code to loop through my websites in IIS:
DirectoryEntry root = new DirectoryEntry("IIS://localhost/W3SVC");
foreach (DirectoryEntry directory in root.Children)
{
if (directory.SchemaClassName.Equals("IIsWebServer"))
{
// ...
}
}
What I would like to do is use the available information ...
I have an input PDF file (usually, but not always generated by pdfTeX), which I want to convert to an output PDF, which is visually equivalent (no matter the resolution), it has the same metadata (Unicode text info, hyperlinks, outlines etc.), but the file size is as small as possible.
I know about the following methods:
java -cp Mult...
I have an arraylist of items that only have maybe ten variables in them. But the items have a good bit of code, and I'd like to add more. I'm curious how this will effect the size of my structure. My intuition tells me each one has a stack, but with arguments getting passed around and stuff I've probably not considered I'm unsure. So rou...
For HTML, CSS, and JavaScript files, what's a good tool to run on source directories and get KSLOC?
...
I know that there is no single "ideal" size of a class file, but still...
Are there any data (like studies, not like opinion) on what is the optimum size for a class file?
...
I have a structure named WaveSize to represent both an amount of samples or an amount of time, but I'm also using this structure to represent a position or an offset within a wave.
While it's pretty common to represent both sizes and positions within a coordinate system with a Vector2d type, I'm unable to find a good name abstract enoug...
In Python,
how big can an array/list get? I need an array about 12000 elements large... is that okay? - will I still be able to run array/list methods such as sorting, etc?
Thanks so much,
Ed
...
I'm using a ProgressEvent in Flash to determine how long something will take to download. I've got this:
progress = event.target.bytesLoaded/event.target.bytesTotal;
to set a percentage.
After some scratching of my head, I did a trace on the two values - and it turns out that "event.target.bytesTotal" is always equaling zero.
I ca...
Hi guys,
I was wondering if there is a way to find the size of a reference type in C#. I've done some googling and the general idea on the forums seem to be that this isn't possible. I thought I'd ask you guys and see if anyone here knew better ;) ([cough] Jon Skeet [cough])
After all, profiling tools must have a way of doing this? ...
As the title asks, I wonder if the size() method in the LinkedList class takes amortized O(1) time or O(n) time.
Thanks!
...
Is there any way to get the size of an instance (or the class I don't mind) in C#?
For example, I know in Delphi every object has a pointer to the Virtual Method Table of the class, a pointer for each interface it implements plus of course the fields of the class.
According to this basic object size is 12 bytes in x86, but, is there an...
I have some interesting problem for an hour.. In my flex project, all width and height properties returns as zero.. i tried this :
private function onEnterFrame(e:Event):void
{
trace(stage.width, parent.width, this.width, root.width);
}
and results :
0 0 0 0
using Flex, sdk 3.2
Anybody could help me?
Thank you..
...