|
True
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
OriginalGriff wrote: wanted to give others a chance.
It seems we needed much more than just a chance 
|
|
|
|
|
Does anyone here know of a very good article that can get someone started with writing automated unit tests for an ASP.NET web forms application (C#) using selenium?
Their documentation seems to be throwing me in different places.
|
|
|
|
|
For my sins, I am Secretary of a cricket club.
Having some spare time today, I decided I could no longer put off reading the latest Covid-safety info from the governing body, just to make sure we have every safety measure in place.
So, the main page lists 7 documents to read. I open the first one. It is 31 pages long. It contains links to 71 other documents and, from experience, I would guess that on average they all contain links to 10 more documents, and so on.
That was just one out of 7 "top level" documents. I haven't opened the rest.
So, officials are covering their a***es by claiming you've been given all the information whilst no sane human being could possibly read it all let alone take it all in. I'm guessing someone gets paid a lot more than I do to waste their time producing this rubbish.
If I was five years younger, I'd probably have decided to write a little program to follow all the links in all the documents and find how how many words you'd have to read to get the full info. Alas, that would probably mean having to read some Microsoft documentation which I suspect would be a circular process - leaving me fuming at that too...
|
|
|
|
|
Rich Leyshon wrote: which I suspect would be a circular process
Oh pretty much definitely: these people don't like to write their own stuff in case they make an mistake which can be traced back to them. Hence they quote and reference each others documents in the certain knowledge that you won't find an original thought in any of them ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Rich Leyshon wrote: no sane human being could possibly read it all The question that arises is: Are these copying T O S agreements or vis-versa ?
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Just tell the boys and girls, "no kissing". You may want to tell the non-binaries, transes, trannies and other new genders also. 
|
|
|
|
|
Apologies if this gag came from this site (can't remember where I saw it).
I have been making great efforts to improve my equality and diversity awareness. I've been asking everyone I see what LGBTQ+ stands for, but nobody will give me a straight answer.
|
|
|
|
|
|
MAP
Included in the ideology, fully part of the fundamental transformation movement, but not quite ready to tell everyone about it.
|
|
|
|
|
Written by lawyers for use by lawyers to protect the power elites and stomp on anyone who isn't. Shakespeare had it right - kill all the lawyers.
|
|
|
|
|
As the old gag goes (and I did once tell this to a lawyer!)
What do you call 100 lawyers at the bottom of the sea?
A promising start.
|
|
|
|
|
What's red and black and looks good on a lawyer?
A doberman ...
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
The "fun" part is when you follow the links and find they are eventually circular and self-referential.
|
|
|
|
|
Twitter revealed ? this pattern (9)
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
MORONS'R'US?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Yay you are up tomorrow
Nope
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
|
Nope
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
Well, it should be! Pro-to-type with pattern as the definition.
|
|
|
|
|
I've always been an early adopter, being one of the first to try out one of those fancy 300 baud modems. True to tradition, I pulled the trigger on trying Elon Musk's Starlink product this month. The concept is really cool - bolt the antenna on the roof, plug it in, let the antenna find the best satellite to capture and move itself into position, and you're on. So far it's working great. Yes, it's a beta product, and there are frequent outages (brief ones), and it's slower and more expensive than my cable provider (but much more reliable and honest). But overall, I'm liking it.
One unexpected side effect of changing, though, was that all ad content now assumes that I live in Los Angeles, PRC. This even applies to my streaming TV service; all of the ads, and all of the news stations I can receive are Los Angeles sources and services. It's annoying, but since they're all liars, it really doesn't matter. Still, I'm curious about how they do that. It appears that the site architects have a way to chase down the locale of every user IP address, and modify content to match. The last time I made websites for a living, it was done in Notepad; things have changed a bit since then.
Can someone give me a brief tutorial on how they're able to track me down like this? I'd really like to understand how this is done.
Will Rogers never met me.
|
|
|
|
|
Presumably, Starlink is your ISP, which means they allocate your IP address from their pool. Since they are located in California, that's where your IP is registered, and that determines your geolocation according to the data servers such as ads, news, Google, and so forth.
This may help: Using IP based Geolocation - and why it's pretty much useless.[^]
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Hi Paul I just tried your code out of curiosity and it failed at
if (sections.Length != freegeoipDataSectionsCount)
throw new ArgumentException("Data returned from FreeGeoIP has changed format!");
so I assume something has changed at their end.
Edit
looks like they've parked freegeoip
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
modified 19-May-21 5:12am.
|
|
|
|
|
Oh yes - they closed it a few years back (that was a 2014 article!)
I modified the app some months ago when I switched ISP:
private void FillInDetails(string host)
{
Timestamp = DateTime.Now;
IPAddress addr = IPAddress.None;
try
{
if (string.IsNullOrWhiteSpace(host))
{
host = "http://whatismyipaddress.com/";
}
HtmlWeb web = new HtmlWeb();
HtmlDocument doc = web.Load(host);
HtmlNode node = doc.DocumentNode.SelectSingleNode(@"//span[@class='address'][@id='ipv4']");
if (node != null)
{
addr = IPAddress.Parse(node.InnerText);
HtmlNodeCollection info = doc.DocumentNode.SelectNodes(@"//p[@class='information']");
ISP = info[0].ChildNodes[2].InnerText;
City = info[1].ChildNodes[2].InnerText;
Region = info[2].ChildNodes[2].InnerText;
Country = info[3].ChildNodes[2].InnerText;
}
}
catch (Exception ex)
{
Debug.WriteLine(ex.Message);
addr = IPAddress.None;
}
Address = addr;
}
I'll put updating the article on my ToDo list ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I'll cut n paste and see how it goes
Edit
I think I'll wait for you to update the article - getting this error in FillInDetails
HtmlWeb web = new HtmlWeb();
HtmlDocument doc = web.Load(host);
"The request was aborted: Could not create SSL/TLS secure channel."
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
modified 19-May-21 5:53am.
|
|
|
|