|
the piano -among the other- is so what great
It does not solve my Problem, but it answers my question
modified 19-Jan-21 21:04pm.
|
|
|
|
|
It's Saturday dude, chill.
|
|
|
|
|
Plus Christmas is around the corner so everyone is enjoying their holidays
|
|
|
|
|
I DIDN'T HEAR YOU! SAY AGAIN!
|
|
|
|
|
Forget your hearing aids?
If you can keep your head while those about you are losing theirs, perhaps you don't understand the situation.
|
|
|
|
|
Pardon? Could you repeat that?
|
|
|
|
|
|
No longer The Force with Code Project today.
|
|
|
|
|
Well, Darth Vader always knew what Obi Wan was getting for Christmas because he felt his presence...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
And it will be that way until the new year...
But you can call me if you are afraid alone...
"The only place where Success comes before Work is in the dictionary." Vidal Sassoon, 1928 - 2012
|
|
|
|
|
Tell me when I am all alone. I want to remove the plugs from my ears!
|
|
|
|
|
|
OriginalGriff wrote: ... tumbleweed blows slowly past ... Vic must have told a joke, again.
(I'm curious to see how many people will get that)
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Well it was the shortest day, so everyone was probably up late, and back to bed early.
|
|
|
|
|
|
Mr. Cthulhu, please pick up a white courtesy phone in the Lounge.
Sooo... as part of my problem dealing with a "bad" internal web site (PHP donthaknow) -- Ignoring certificate errors with HTTPS[^] -- I spent much of the last week Parsing Html The Cthulhu Way[^] .
It turned out that by using a System.Windows.Forms.WebBrowser and retrieving the Document, I was actually getting a sanitized version of the HTML (and only the body). This is a problem, because when common sense breaks out, there will be no certificate error, no reason to use the System.Windows.Forms.WebBrowser , and I expect that I will then receive the entire nasty pile of HTML in its raw form (fingers crossed).
So, this week I looked into accessing the raw HTML from the System.Windows.Forms.WebBrowser ... I accessed its privates, and grabbed it by the primary Interop assembly. And, by gum, it worked.
"What did you find?" I hear you ask. It's more what I didn't find. The page contains most of a TABLE (as expected), but a few start tags are missing -- unimportant ones, like THEAD, TR, and TH.
Can you then fault me for summoning Cthulhu? What self-respecting HTML parser will deal with such a mess? (Other than IE, of course).
(Deep breath.) I spent today wrestling with HtmlAgilityPack , which dealt pretty well with the errors (TagNotOpened ) and I managed to use the errors to insert the missing start tags where they logically belong. Nifty. Perfect effort for the last day before a week off.
So, provided I can deploy HtmlAgilityPack to the server, I may be able to cancel my summons. In the meantime, I have the RegEx version on the server.
Now, at the risk of asking a Programming Question... does anyone know how to get HtmlAgilityPack to report TagNotClosed errors as well? It has an error type for it, but I haven't gotten it to report any.
|
|
|
|
|
upvoted for eloquent expression of misery
Β«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.Β» Salvador Dali
|
|
|
|
|
...so that anything that contains an emoticon in the subject line gets automatically trashed - period.
That would get rid of most of the junk that still ends up in my Hotmail account these days.
I don't know why the spammers have adopted this lately...they just have, it seems. Nobody I care for includes an emoticon in a subject line.
|
|
|
|
|
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
|
Haven't seen that yet, but would make it easier to identify.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
...I read code and, well, that's it, I see the code I read.
I just had the bizarre experience of reading some code and realizing, wow, someone actually typed this, character by character, with thought about why they were writing this code.
A somewhat disturbing experience, as now I can't stop.
The code, BTW, that triggered this experience was LookAheadEnumerator: Implement Backtracking in Your Parsers[^]
|
|
|
|
|
You've been bewitched!
- I would love to change the world, but they wonβt give me the source code.
|
|
|
|
|
Forogar wrote: You've been bewitched!
Yup!
|
|
|
|
|
Not so disturbing; you're achieving enlightenment.
Zen suggests the same thing when eating (visualizing): from where, by who, how β¦ field to table. One chew at a time.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
β Confucian Analects: Rules of Confucius about his food
|
|
|
|