And the NYSE should be shut down, too - come on, it's CLEARLY a slave market :)
ekolis
Posts
-
Harassment online -
Harassment onlineMore than in the past? More than in most other countries, I'd believe, but not more than in the past...
-
Harassment onlineOops, guess it's off to Butt Rape Land (tm) for me then! :)
-
cancelling microsoft account...Why is it so important that you cancel it? Storing child porn on SkyDrive or something? :P Just let it lapse and forget about it - best case, they push out a ToS change and since you never agreed to it, it's inactivated, worse case, Microsoft gets bought out by NigeriSpamCo when the value of the dollar collapses! :P
-
Harassment onlineSpeaking of libel, if I say that Apple makes iPhones using Chinese slave labor, is that libel? Because it's only NOT libel if it's true, and they DO pay the Chinese workers...
-
Harassment onlineI still think that corporate buyouts should be illegal under the 14th Amendment, which prohibits slavery...
-
Harassment onlineFreedom of speech? Hey, with the amount that's left, it might be worth giving it up for getting rid of ads...
-
iPhone 5: HTC, Samsung to sue AppleMaster plan: Patent the icosahedron, then sue Wizards of the Coast and everyone else who uses the d20 system!
-
Evolution of tech logos...Huh, and all this time I thought "Haloid" was a Metroid/Halo crossover fan film...
-
Server is kredit to team!Whenever anyone mentions TFS, I have to remind myself that it stands for Team Foundation Server, not Team Fortress Server... Though from what I hear, it is kind of like a fortress when you try to get data out of it! :rolleyes:
-
Visual Studio 2012 - an awful burritoReally? I thought they got rid of the per-language versions, so now there's just a VS Express for Windows, Web, and Mobile...
-
Experimentation - Would Like FeedbackI'd recommend using a generic
List
for the questions instead of a plain old List. That way you don't have to worry about casting the questions to IQuestion, or having someone add something that's not an IQuestion to the list!
-
Contact Us - here, have our email addressesHey, some people LIKE using their own email client to compose emails! I know it must be a foreign concept to you, since you use Outlook Express... ;)
-
1337haxx0rd00d casts Kaspammle! You struggle under the weight of all the spam!Bibble bubble bobble babble!
-
1337haxx0rd00d casts Kaspammle! You struggle under the weight of all the spam!I've been getting a lot of spam lately advertising "Vigara"... hmm, is that a magic spell that Cloud casts in Final Fantasy VII to increase his Vigor stat by enlarging his sword? ;P
-
The Dawn of the Stupid NetworkBut if we just let anybody send data over our pipe, then TERRORISTS could stream CHILD PORN over your internet connection! And then you'd go to JAIL! :P
-
Can you call a method on an object that is null?If only you could have extension... parentheses... or whatever you'd call it... seriously, Microsoft, WHY did you have to choose null to represent an event that has no handlers?! Now instead of
MySpecialPropertyChanged();
I have to do
if (MySpecialPropertyChanged != null)
MySpecialPropertyChanged();or have the program crash if nothing's listening to the event!:mad:
-
Security - You're doing it wrong!Andrei Straut wrote:
On the other hand, I'm having fun now with LINQ parsing the list of products from suppliers (didn't get to play with LINQ so far, but I'm quite liking it. Heard it's pretty slow compared to the other alternatives, but in my case speed is not that much of an issue)
One thing that can make LINQ slow is not caching query results appropriately. (Not saying it's not slow to begin with; I really don't know!) For instance:
// this method is very slow, it uses the database and network and maybe the TARDIS too
public IEnumerable GetLotsOfData() {...}// this method is *extremely* slow since it calls the database and network over and over again
public void CrashYourServer()
{
var data = GetLotsOfData(); // this just saves a QUERY! not the data!
// so far so good...
foreach (var item in data)
{
item.DoFancyBusinessOperation();
}
// wait, iterating over the enumerable again? uh-oh!
foreach (var item in data) // going to call the database and network and TARDIS again!
{
item.DoOtherFancyBusinessOperation();
foreach (var otherItem in data) // what, now we need an O(N^2) operation? NOOOOOO!
{
ComparisonResults.Add(item.CompareTo(otherItem));
}
}
}// this method is more efficient!
public void PlayNice()
{
var data = GetLotsOfData().ToArray(); // this actually loads and caches the data, yay!
foreach (var item in data)
{
item.DoFancyBusinessOperation();
}
foreach (var item in data)
{
item.DoOtherFancyBusinessOperation();
foreach (var otherItem in data)
{
ComparisonResults.Add(item.CompareTo(otherItem));
}
}
} -
Ran across my old code... Must have been tired...And I thought the WTF was a "maximum" function which takes a string and an int, until I saw the comment...
-
Cincinnatian in hellA Cincinnatian dies and goes to hell. After a while, Satan notices that he doesn't seem to mind the heat, so he sends one of his minions to check on him. The minion reports, "Lord Satan! This Cincinnatian you have here says that the weather isn't too bad compared to Cincinnati in June!" So Satan cranks up the heat. A while later, the man's still not fazed by the heat, so again Satan sends a minion, and this time the minion reports that the man thinks the weather reminds him of Cincinnati in July. Still later, the man has decided to invite some of the neighbors over for a barbecue. Satan sends yet another minion, who reports that the man says the weather's like Cincinnati in August - perfect for a cookout! At this point Satan is fed up with this man, and so he turns off the heat, and cranks up the AC to full blast. Soon enough, it starts snowing... and then Satan hears an elated cry: "Looks like the Bengals finally won the Super Bowl!"