It looks like on the recently released s3, they've taken the "never twice same color" approach. Whether the green has been sucked out or the way around, who knows, the most ridiculous moment (s3e1) was when Troi first appeared and she looked like a clown on a visit from a circus. Season 1 looked not too far off how I remember the series.
Apr 14, 2013 at 11:33 AM
Apr 12, 2013 at 5:38 AM
edit: looks like the workaround I had earlier has some issues
Apr 12, 2013 at 5:14 AM
The problem I'm trying to solve is:
I use a serialization lib which wants this:
public static void Serialize<T>(Stream destination, T instance);
and I want to call Serialize(stream, ????);
Such that the ???? part is not manually typed in but inferred from the type of the list variable.
How to do this?
Apr 12, 2013 at 5:10 AM
var list = new List<KeyValuePair<string, decimal>>();
I'm pretty sure C++11 had something like this, why doesn't C# have it?
I came across this quite bit accidentally, it's a pattern that's been going on for years. Didn't someone claim the markets are a random walk? I think this proves that to be incorrect.
I haven't really investigated but I doubt whether you can get the quoted rates - as they seem to be a key part of the scam explained in the link, used by the bankster mafia to skim money, in addition to various fees they take in addition of the bid/ask spread (according to the article they skim/rob you atleast 4 different ways). The trick is that when you exchange money they pick a date from now to few days back that gives you the worst possible exchange rate or something along those lines according to the link.
I've never seen this before but I just noticed when opening an email message in gmail that I had already read previously that it didn't open the message and IE8 status bar displayed that was trying to load an image from gmail host just when it hung, the HDD was quite active while IE was frozen up to terminating it (Ideally I'd have suspended it but there's no easy way to suspend just the frozen IE without going to look it up in the task manager while it might be doing bad things, when IE hangs I just terminate immediately as it could be some attack trying to escape the browser given some time). I had to terminate the process and then when I went back to gmail to load the same message it loaded just fine and I noticed there was an image on the right side -
Is Google allowing 3rd party bitmaps in their advertisements but hosting them on the gmail server?
I could speculate that it was perhaps some 0day attack from a 3rd party bitmap data hosted by gmail, but I opt not to speculate such things, so lets leave that theory at that.
Interesting "CS101" paper about efficient dynamic arrays:
I'm using IE10's old preview and for some reason that preview is abysmally slow, must have been fixed since as the other IE10 results aren't that bad.
I'd be very interested in speculation of whether you think AVX2 with its new bit manipulation (bit scatter/gather, shifts etc) instructions would speed up operations related compressed suffix arrays / tries. I skipped over the Ivy Bridge upgrade and preliminary Haswell tests @ Toms suggest the most interesting speedup would be from AVX2 optimizable code.