getack

Pretoria, South Africa

daniel@dline.co.za

Age: 24

3m
asked Tokenize array of numbers in Excel
Sep
17
comment Binary Search Tree segfaults
This is for a research paper comparing various pair-matching algorithms with each other to see who is the fastest. And the paper is concerned with duplicates, not triplicates etc. If there are four instances of the number 2, then the duplicates counter should be equal to 2 at the end. Also, unfortunately, performance is critical. The original code is peppered with instrumentation that I removed for this post. I actually compare a BST that deletes the original element with a BST that leaves it in. Hence the checking for a flag before deletion is initiated.
Sep
17
asked Binary Search Tree segfaults
Jul
28
awarded Teacher
Jul
28
answered Why does the sound keep going out of sync in VLC?
Jun
5
awarded Teacher
Jun
2
comment Start daemon after specific samba share is mounted
Oh and yes, Deluge starts with Upstart. It's got a simple start on networking-up and somethingelse stanza. I will amend this with the event that the emit in my mount script fires.
Jun
2
comment Start daemon after specific samba share is mounted
I have tried exactly this sans the --no-wait switch. I was under the impression that emit is non-blocking anyway? When I tried it my mount script simply hanged at I assume this new change. I will try your suggestion tonight and report back.
Jun
1
asked Start daemon after specific samba share is mounted
Jun
1
answered How to create a virus signature from decompiled source
May
29
comment Array Based Binary Search Tree C++
Is there a reason why item contains an index? If it is implemented using an array then we know exactly where it is... Or am I missing something?
May
29
comment high_resolution_clock's highest resolution is 1000ns
I use the new auto type everywhere. The only place that I use the cast is for display purposes.
May
24
answered Accurate Temp with Johnson A419 & Freezer
May
24
comment high_resolution_clock's highest resolution is 1000ns
It's not affecting me in any way, I was just curious. I was initially working on Windows and was really pissed when I realised the resolution was milliseconds or something (It's an acknowledged bug). After I ported all my code over to GCC I thought lemme try the test again, and then I came here out of frustration. I was just under impression that duration_cast<chrono::nanoseconds> would actually give me nanoseconds and not just whatever that specific implementation's maintainer decided to do as in MSVC++'s case.
May
24
comment high_resolution_clock's highest resolution is 1000ns
What does the -O3 flag do?
May
24
comment high_resolution_clock's highest resolution is 1000ns
Thought as much - thanks! I was just curious. I forgot about the RT kernel thing! One day I will experiment with a RT kernel and see what differences there are.
May
24
accepted high_resolution_clock's highest resolution is 1000ns
May
24
asked high_resolution_clock's highest resolution is 1000ns
May
17
comment Different Execution Times for separate runs
I suspected as such. Thanks! Your mention about RDTSCP put me on the track to reading Intel's white paper on performance measurement. I will implement what is noted there and see if I get more consistent results.
May
17
accepted Different Execution Times for separate runs
1 2 3 4