« first day (100 days earlier)      last day (4851 days later) » 
00:00 - 18:0018:00 - 00:00

6:05 PM
Hum?
 
6:17 PM
@sbi s/fours spaces/four spaces/
 
6:47 PM
I have a question
 
hey all
@DeadMG Good one. I'm not aware of how the current implementation works.
 
why use std::set over a binary sorted vector?
seems to me that noncontiguous storage is way down over logn insert
especially since you know the vector is mostly sorted beforehand and can insertion sort it
 
@DeadMG I have another question, were my comments too harsh on this question? stackoverflow.com/q/4751091/176769
I want Brutal Honesty, people.
Any inputs?
 
@DeadMG I guess keeping a std::set in order is more efficient than using insert sort on every element on a std::vector? Dunno.
 
sure, but noncontiguous storage
@karlphillip: I didn't find them bac
bad
 
6:54 PM
@DeadMG They're not good also..
 
std::set insert is O(log n), whereas inserting into a std::vector at the right position is O(n). Why don't you do just measure?
 
what about a sorted deque? :)
 
@karlphillip Not directly related, but I just installed opencv for MingW g++. First use CMake to generate make files, then build the whole shebang, in umpteen configurations. With mysterious warnings here and there. And again I'm reminded of this question: when C++ is meant to support programming in the large, why is it so darned difficult to just use a library?
Brad Cox: yes. Alf: no.
 
@AlfPSteinbach On Windows, I use OpenCV for Visual Studio. Sorry.
 
7:24 PM
@karlphillip Yes, they have binaries for Visual Studio 10.0. Not for g++, though, as far as I could see. So had to build from source.
 
sbi
7:38 PM
@FredOverflow Thanks. I've given up for now. This turned out to be a very bad day.
@DeadMG If you don't have many insertions deletions, use a sorted vector instead of a set. I think this was covered in Effective STL.
 
8:10 PM
never read it
 
8:38 PM
0
Q: Evolution of the Win32 API

FredOverflowHas the Windows 32 API changed much over time? Does the Charles Petzold book "Programming Windows, 5th Edition" from 1998 still contain relevant information, or is most of it obsolete/outdated? What are some prominent examples of recent additions to the Windows 32 API (if there are any)?

Was it right not to post that question on SO?
 
8:55 PM
@FredOverflow I personally wouldn't see anything wrong with asking that on SO, but then others may disagree.
 
9:05 PM
I posted an answer, by the way
 
9:44 PM
Out of interest, do people like "Windows Via C/C++"? (Currently 5th ed, ISBN10: 0735624240)
 
I never read any Windows or C++ programming books
 
9:56 PM
@FredOverflow Inserting into a set may have better big-o complexity than inserting into the middle of a vector, but it also may be far slower in practice. For example, if you have 32 char elements in a container, inserting into a vector will be orders of magnitude faster than inserting into a set.
Or maybe that should have been @DeadMG. I don't know.
@sbi Oh, that is a bummer. About a year ago I worked days, nights, and weekends for three weeks straight to rewrite a major feature (basically a lightweight parser and query engine for an arcane database format) so that it was correct. I finished it in time and we released with it.
Within a month the customer had come back and told us that none of it worked. After investigation, we learned that they had totally changed the data format and knew at least six months beforehand that they were going to change to a different data format, but neglected to tell us...
 
anybody here work for the London Stock Exchange?
 
sbi
10:12 PM
@JamesMcNellis Oh, I know that, too. See my comment here.
That feature, we later learned, was canceled due to legal issues.
 
@JohnDibling Hmmm; I don't see the "Frontrunning for Dummies" guide there...
 
@James: If you have to ask...
 
Yeah, I suppose so.
 
10:25 PM
So the LSE is going live with their new exchange feed, Millennium, on the 14th of feb
This is a replacement for the old feed, simply calledLSE
The formats are as different as is possible. there is new data, some old data is no longer there, etc.
in other words, it is ground-up new implementation for an entire exchange feed. you might say non-trivial implementation
 
Sounds like fun!
 
They are doing a "hot-cut". Turning off the old feed, and turning on the new one. Just like that. Poof.
 
That sounds like a great idea. If something goes wrong, you get screwed.
 
Incredibly dangerous. If something catastrophic goes wrong -- say, nobody's code works right -- quite literally the world's entire economy will be at risk.
And I'm not even kidding.
Such idiots.
 
So, I should short everything on Valentine's Day.
 
10:30 PM
Or move everything in to gold
I am more than a little nervous
 
they're hot-cutting it?
you must be kidding
that's insane
 
i know, right?
 
Surely you can't be serious!
 
I am serious. And don't call me Shirley. :)
2
 
10:32 PM
he died, ya know
 
well
that can't possibly go wrong in any way at all
 
lol
they were supposed to go live weeks ago, before christmas. but the dress rehersals were such a disaster, they delayed the go-live until feb
and then didnt announce the new go-live date until last week
oh, and this new code is for our biggest client. no pressure. :)
 
so the code was a disaster in rehearsal, and now they want to hot-cut
that's even more insane than I previously thought
 
rip the band-aid off seems to be thier philospohy
 
Good luck.
We're all counting on you.
 
10:37 PM
@James: Thanks, lol
 
@JamesMcNellis Not everything should be shorted on Valentine's Day...
 
@Charles: I'm trying, but I just am not getting it :)
 
@JohnDibling I know the feeling.
 
LOL OK that I get!
alright, i'm going home to pack. getting ready to move this weekend
 
Ha ha ha
@JohnDibling You have a few weeks before you have to flee the country.
 
10:45 PM
@James: Flee which country? LOL
Maybe I'll become a Canadian. I like bacon & beer.
 
Bacon, fried brioche, maple syrup. Canada has all the answers. (At least where breakfast is the question.)
2
 
10:59 PM
Great. Now I'm hungry again... :|
 
@JamesMcNellis Me too, and in my timezone I'm supposed to sleep for at least 7 hours before breakfast.
 
@CharlesBailey Oh, the rules for how long you must sleep before you can eat vary depending upon what time zone you are in? Interesting.
 
@JamesMcNellis That's probably not what I meant. Just trying to give an impression of how far away my next meal is supposed to be.
 
I know :-)
 
11:19 PM
Bit of a quiet day on SO, unless I missed something interesting. (Wait, what am I thinking, it is SO.)
 
Well, this was somewhat loud:
21
Q: Top user's answer victim of Reddit mob behavior

Rafe KettlerI don't know Hans Passant, but he's the 5th highest rep user on SO, and I'm sure that's no fluke. He clearly is very active and knows what he's talking about. His answer to the question at vb.net - Interrupt form loop and end form did not satisfy the OP. He asked for the answer to be accepted an...

 
11:37 PM
They think that comment was more than just slightly offensive? They should hang around the c++ tag a bit. Reminds me why I avoid meta.
Which also makes me an inadequate moderator candidate, apparently.
 
00:00 - 18:0018:00 - 00:00

« first day (100 days earlier)      last day (4851 days later) »