@LuchianGrigore Ah, this comes with a calender. So I found that, except for January and February, I have failed to show up at SO for one or more days in every months this year so far.
@Abyx Basically, you're trying to build an argument from popularity (FP languages are not popular, so they suck) on top of an argument from ignorance or from anecdote, your pick (I never saw a program built in an FP language, so they don't exist).
@StackedCrooked Generally wasn't a big problem in the CP/M days. When more memory became common, most Pascal compilers added types with 16 (and later, probably 32) bit counts.
Oh wait... No. I just remember I used to work from home a lot and it was right about the time that I mentored a junior colleague. We ended up pair programming on a shared remote desktop for many hours. We used landline phone connection for voice during the cheap hours
I might have to drop in some time... though I would need to sort my self out with a mic... could use my headset from work... but then I will forget to bring it back in
@TonyTheLion, i like to make it good, instead of "enough good". it hurts my brain to see its having a copy of something, which is waste of memory and time. — Rookie1 min ago
@CatPlusPlus Hah. To my surprise I total ~3 hrs over the last 2 years on my mobile. The 51min of that is to my wife. Makes sense. 42min is to my mom. It turns out it really does show up that she is hard to hang up on :)
I have made a perl script that wraps around another tool (overlapFeatures) so that I can correctly convert my file formats on the fly. The files I am dealing with are all tab-seperated tables of typically 2 million lines or so. On its own, overlapFeatures has no trouble dealing with these.
Howe...
To reserve space without initializing, use std::string::reserve of course. And yes the performance may be a factor if the file was actually a kernel special character device with a zero-copy path or something silly like that. Of course, memory mapped files beat the crap out of all of these approaches. — sehe22 secs ago
@TonyTheLion Why lol? Perl6 has very nice threading support. It beats C++ support for threading, IMO. Just a pity that it comes with a shitty core language :)
What's the point of making it a oneliner? I'd always opt for legible code. As a self-professed VB.Net enthusiast (IIRC) I think you should understand the sentiment? — sehe8 secs ago
@TonyTheLion Yes. I'm always serious
@R.MartinhoFernandes Mmm. Is data() const? Soooo vector<charT> beats string once again
I am trying to implement the C++ code here in C. This is how I wrote it:
double array[5] = { 1.2345, 2.377, 0.1456, 0.6748, 1.23685 };
for (i=0;i<32;i++)
{
unsigned int radix=(1 << i);
double zwarray[5];
int count0 = 0;
int count1 = 0;
...