|
|
Ravi Bhavnani wrote: pl. email me - thx! OMG! plz ayfkm.
It was broke, so I fixed it.
|
|
|
|
|
I didn't txtspeak. I used a properly terminated abbreviation.
Edit: No, you're right - I did use "thx".
/ravi
|
|
|
|
|
|
CP Lounge: now the equivalent of the letter rack at school.
|
|
|
|
|
Try to forget him.
Peter Wasser
"The whole problem with the world is that fools and fanatics are always so certain of themselves, and wiser people so full of doubts." - Bertrand Russell
|
|
|
|
|
That won't be easy. On the bright side, at least I have my sig back.
/ravi
|
|
|
|
|
Very strange; it's been years since I've seen (I assume it's spam) pop-up in me browser: [^].
I do use heavy-duty EmsiSoft AV and filter-watch-block software, and, in Chrome, I use AdBlock Plus, and also I use the hugerific custom Hosts file from MVPS.org. However, CP, and DeveloperMedia, are the only sites I have white-listed in AdBlock ... out of a desire to support CP.
I really wonder how this one got through the defenses.
... mmmm ... after-thought: I decided to try-out using the ZenMate free extension for Chrome, and I picked a server in the UK in hopes of accessing some high-quality UK teevee: could that be how the little Tesco beastie swam up the river-digital to spawn on my screen ?
“The best hope is that one of these days the Ground will get disgusted enough just to walk away ~ leaving people with nothing more to stand ON than what they have so bloody well stood FOR up to now.” Kenneth Patchen, Poet
|
|
|
|
|
BillWoodruff wrote: ut of a desire to support CP
CP is one of the sites with the less intrusive advertisement presence.
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Do not feed the troll ! - Common proverb
|
|
|
|
|
I don't find CP's web-site "intrusive" in any way, although occasionally I accuse myself of intruding upon it
“The best hope is that one of these days the Ground will get disgusted enough just to walk away ~ leaving people with nothing more to stand ON than what they have so bloody well stood FOR up to now.” Kenneth Patchen, Poet
|
|
|
|
|
BillWoodruff wrote: in hopes of accessing some high-quality UK teevee
You'll be lucky! I can't find any and I live here!
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
OriginalGriff wrote: You'll be lucky! I can't find any and I live here!
That's because you live in Wales.
Wait - We are talking about the resolution, don't we?
The scariest moment is always just before the Start - Stephen King Die Frauen warten auf die Liebe, und die Männer warten auf die Frauen - Wolf Wondratschek
|
|
|
|
|
No, no we have HiDef TV in Wales.
Sometimes up to 64 by 128!
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
That looks like a standard JavaScript alert() dialogue.
|
|
|
|
|
BillWoodruff wrote: I decided to try-out using the ZenMate free extension for Chrome, and I picked a server in the UK in hopes of accessing some high-quality UK teevee: could that be how the little Tesco beastie swam up the river-digital to spawn on my screen ?
Sometimes we are our own worst enemies.
The report of my death was an exaggeration - Mark Twain
Simply Elegant Designs JimmyRopes Designs
I'm on-line therefore I am.
JimmyRopes
|
|
|
|
|
There is a big kick now about making free code as a part of a resume. Everywhere you go, every tool online, skimps (eschews for sat prep) documentation and instead provides code for various languages. And you know what? In many cases it is totally crap!
Unholy nightmares, testing for cases that never exist. Not returning error messages, using complex LINQ commands embedded in massing hierarchies of generics. Missing explicit tests, hard-coding the wrong things, including massive numbers of (n>0) third-party libraries to do trivial things. Really? Is this code the bar for excellence?
This post was prompted by a "library" that used the new System.Net.Http.HttpClient because its new, and wait for it:
<a href="http://msdn.microsoft.com/en-us/library/system.net.http.httpclient%28v=vs.110%29.aspx">http:
HttpResponseMessage response = await client.GetAsync("http://www.contoso.com/");
response.EnsureSuccessStatusCode();
string responseBody = await response.Content.ReadAsStringAsync();
Used the MSDN which is wrong! Can anyone that has used Rest Services tell me why the above won't work? (This isn't a programming question, just a comment on the shear lunacy of public .NET projects.
|
|
|
|
|
|
Lol, why is it the programmers can't see past snippets that don't compile. When I look for code samples, personally, I don't want a 50 class project with interactive user interfaces for three different devices, 6 databases, custom deploy scripts, mono-support, and advanced graphics just to show me how to open a file stream : )
Point is the snippet I provided, as it is, which is from MSDN, and surprisingly from the project I was looking at, has a fundamental flaw when being applied to rest methods or generally speaking services on the interwebs.
This isn't a code lounge so I am not going to go over it.
|
|
|
|
|
I've noticed some of their samples do have flaws.
I think they are written by interns.
I usually post a comment when I find and fix a problem.
|
|
|
|
|
Here's what I found today:
public void GenerateDiffGram(string originalFile, string finalFile,
XmlWriter diffGramWriter)
{
XmlDiff xmldiff = new XmlDiff(XmlDiffOptions.IgnoreChildOrder |
XmlDiffOptions.IgnoreNamespaces |
XmlDiffOptions.IgnorePrefixes);
bool bIdentical = xmldiff.Compare(originalFile, newFile, false, diffgramWriter);
diffgramWriter.Close();
}
|
|
|
|
|
Ennis Ray Lynch, Jr. wrote: Unholy nightmares, testing for cases that never exist. Not returning error messages, using complex LINQ commands embedded in massing hierarchies of generics. Missing explicit tests, hard-coding the wrong things, including massive numbers of (n>0) third-party libraries to do trivial things. Doesn't this apply to all code?
|
|
|
|
|
|
Ennis Ray Lynch, Jr. wrote: skimps (eschews for sat prep) documentation and instead provides code for various languages
Just noting that the fact that someone can code (or even can't code) doesn't mean that they are capable of creating documentation much less something that is suitable as a tutorial.
|
|
|
|
|
Ennis Ray Lynch, Jr. wrote: GetAsync("http://www.contoso.com/");
Did they really use that URI?
Marc
|
|
|
|
|
Not in the open source solution but in the MS documentation, why/
|
|
|
|