|
Depends on the speed of cent rifuging.
In Word you can only store 2 bytes. That is why I use Writer.
|
|
|
|
|
Wow wow wow ! scientific pun !
|
|
|
|
|
Depennies also on the Temp'd of the water
In Word you can only store 2 bytes. That is why I use Writer.
|
|
|
|
|
Yes, but when the wash is done, your pocket contains fifteen.
|
|
|
|
|
Only if you do it yourself. If the missus does the laundry, the entire twenty will magically disappear...
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- Never argue with a fool. Onlookers may not be able to tell the difference. Mark Twain
|
|
|
|
|
Truthfully, given sufficient time, it magically disappears from my pocket no matter what I do. On a really good day, some beer magically appears in exchange!
|
|
|
|
|
True!
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- Never argue with a fool. Onlookers may not be able to tell the difference. Mark Twain
|
|
|
|
|
There is a reason they only launder notes. The coins make too much noise.
|
|
|
|
|
The newer plastic notes makes the process easier (UK). I'm not sure how the us dollar bills handled laundering, but must have been good because that seems like the most laundered currency.
|
|
|
|
|
How do you tell if a UK Bank note is a fake? Look at the picture of the Queen and count her feet.
(not original)
|
|
|
|
|
<joke> I don't get this. none of the uk bank notes show her feet
|
|
|
|
|
C++ say.
I was just looking at the product I am working on and in total it has almost 1.2 GB of data in the project directories (after cleaning)
HOw long would it take one programmer to write that much code?
|
|
|
|
|
Couple of minutes.
using System.Collections.Generic;
using System.IO;
namespace GeneralTesting
{
class MakeCode
{
public static void main()
{
List<string> lines = new List<string>();
lines.Add("using System.Collections.Generic;");
lines.Add("using System.IO;");
lines.Add("");
lines.Add("namespace GeneralTesting");
lines.Add(" {");
lines.Add(" class MakeCode");
lines.Add(" {");
lines.Add(" public static void main()");
lines.Add(" {");
for (int i = 0; i < 1000000; i++)
{
lines.Add(" Console.WriteLine(\"" + i.ToString() + "\");");
}
lines.Add(" File.WriteAllLines(@\"D:\\Temp\\MyCode.cs\", lines);");
lines.Add(" }");
lines.Add(" }");
lines.Add(" }");
File.WriteAllLines(@"D:\Temp\MyCode.cs", lines);
}
}
} Run that, problem solved.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OriginalGriff wrote: Couple of minutes.
couple of minutes! slow machine?
This internet thing is amazing! Letting people use it: worst idea ever!
|
|
|
|
|
Quote: slow machine? Slow typist.
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
I had to write the code to generate that, test it, and then post it up to CP ... and field Herself at the same time.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Give the man a minute or two to write the code ...
|
|
|
|
|
Did you exclude resources like bitmaps, icons, and such? How about static data files? Help and other documentation?
If you exclude that, my team's current product occupies about 100MB in source code. If you add that data in, it's almost 6GB, most of which is static data.
Software Zen: delete this;
|
|
|
|
|
No static data, but there are icons, resource files, which are still hand crafted, so it's OK to include them.
So yeah, 10 GB of code. It is huge.
|
|
|
|
|
What about packages, e.g. NuGet?
"'Do what thou wilt...' is to bid Stars to shine, Vines to bear grapes, Water to seek its level; man is the only being in Nature that has striven to set himself at odds with himself."
—Aleister Crowley
|
|
|
|
|
Nope, this is just our code. All that stuff if in a third party dir.
|
|
|
|
|
Would you include code that's been deleted?
Over time, you can refactor/remove a lot of code that's no longer part of a given project's current codebase. If you factor in the amount of time spent on code that's no longer there, that can easily skew whatever numbers you're looking for.
I'd have to think something like Github has to have tools that let you track things like that and then run queries against it in various ways. I can tell you based on my own usage of TFS that it would provide zero insight into that sort of thing.
|
|
|
|
|
There are 86,400 seconds in one day.
So, if the dev typed one character (of code) / sec then it would take more than 13,888 days to type 1.2 GB of code.
13,888 days = 38 years.
Of course, that is typing constantly for 38 years straight without doing anything else.
EDIT
Oh, you said 1 MB.
Well...
About 11.5 days of solid typing.
|
|
|
|
|
don't forget about indentation.
now we can fight about whether we should use superior tabs or inferior spaces.
|
|
|
|
|
Easy decision...
Tabs: 1 byte
Spaces: 8 bytes
Clearly you want to use spaces.
|
|
|
|