WTF Bites
-
@ben_lubar Ooh, thanks, bookmarked. (Finding an HTTP-only page that my browser doesn't remember wants HTTPS is easier said than done sometimes...)
-
Status: Why, oh why, is this even a thing?
-
different argument order.
This happens so often in PHP I kinda just gave up on memorizing and just have the docs handy whenever I want to use any function.
-
@unperverted-vixen said in WTF Bites:
Finding an HTTP-only page that my browser doesn't remember wants HTTPS is easier said than done sometimes...
There are fewer and fewer of them. I used to use WSJ, but then they went to HTTPS-only. Now I use my local radio station's online streaming page; I wonder when it will go to HTTPS...
-
@anotherusername said in WTF Bites:
Every network with a login page that I have ever tried to use did that.
Well, Burger King Wi-Fi can somehow do it right, and so can my shitty Netgear home router. There are many ways to do redirect without triggering SSL error.
-
Worst part of the problem: explaining it to my mom, and teaching her the workaround...
-
Worst part of the problem: explaining it to my mom, and teaching her the workaround...
The joys of family tech support.
-
Well, Burger King Wi-Fi can somehow do it right, and so can my shitty Netgear home router.
With a login page that users have to complete before they're given an unblocked connection?
I've never seen a home router that had that feature.
-
The whole login page bullshit is a serious for me. Like, if I connect to a WiFi network with a login page on my phone, it immediately opens a browser frame for login. There's no 'go to a page and hope'. There's no SSL from Chrome. It just immediately opens the login page, and closes it once you've logged in. Simple. Why the hell can't my laptop do the same thing? What's so special about a phone?
-
@pie_flavor That's your phone's OS checking some special (HTTP-only) page upon connecting to a wifi network, and opening a browser to that page if it doesn't match the expected result (thus was intercepted).
Nothing stopping Microsoft from adding that to the OS, asides from all the people who will yell about Microsoft tracking them and recording each time they go online...
-
-
@pie_flavor said in WTF Bites:
The whole login page bullshit is a serious for me. Like, if I connect to a WiFi network with a login page on my phone, it immediately opens a browser frame for login. There's no 'go to a page and hope'. There's no SSL from Chrome. It just immediately opens the login page, and closes it once you've logged in. Simple. Why the hell can't my laptop do the same thing? What's so special about a phone?
Actually, it can. Windows 10 gives you notification that you have to log into Wi-Fi network.
-
@gąska Mine gives me that notification, but it doesn't actually do anything when I click it. So its usefulness is on the order of a notification telling you the computer is on.
-
@pie_flavor said in WTF Bites:
@gąska Mine gives me that notification, but it doesn't actually do anything when I click it. So its usefulness is on the order of a notification telling you the computer is on.
Well, that may be something on your end. If I click the notification on mine it opens the Web browser to the network authentication page.
If you have a browser other than IE or Edge, I don't know how the notification does that invocation so I don't know whose fault it is for not working.
-
@pie_flavor said in WTF Bites:
Why the hell can't my laptop do the same thing? What's so special about a phone?
Let me guess, you're one of those people still using Windows 7 and also asking "why can't Windows do this (new thing)?"
The answer is: it can, and does. If you're running the current version.
-
@blakeyrat said in WTF Bites:
still using Windows 7
Seriously? Where would you get that idea? I am always at the latest version.
-
@unperverted-vixen said in WTF Bites:
@pie_flavor That's your phone's OS checking some special (HTTP-only) page upon connecting to a wifi network, and opening a browser to that page if it doesn't match the expected result (thus was intercepted).
Nothing stopping Microsoft from adding that to the OS, asides from all the people who will yell about Microsoft tracking them and recording each time they go online...
It already has it.
http://blog.superuser.com/2011/05/16/windows-7-network-awareness/
It appears that on any connection, the first thing [Network Connectivity Status Indicator] does is requests [http://www.msftncsi.com/ncsi.txt]. NCSI expects a
200 OK
response header with the proper text returned. If the response is never received, or if there is a redirect, then a DNS request fordns.msftncsi.com
is made. If DNS resolves properly but the page is inaccessible, then it is assumed that there is a working internet connection, but an in-browser authentication page is blocking access to the file. This results in the pop-up balloon above. If DNS resolution fails or returns the wrong address, then it is assumed that the internet connection is completely unsuccessful, and the “no internet access” error is shown.It just doesn't pop up a login page like your phone does.
-
-
-
@pie_flavor people who use latest software are like people who are testing side effects of experimental drugs, except for free. Every software update has a risk of taking away some important feature you're using all the time (see: removal of "Print" from Firefox's context menu) and maybe even stopping working at all, for the doubtful benefit of maybe having new features you didn't ask for and fixing bugs you've never encountered. So unless there's a change that actually affects your life, there's no benefit to updating anything, and so I call it stupid.
-
@gąska All right, not 'latest'. . Latest release. i.e. the one that was already vetted thoroughly by Windows Insider subscribers. But yes, I like my security updates, etc. as soon as possible.
-
@tsaukpaetra said in WTF Bites:
Status: Why, oh why, is this even a thing?
There's an option to turn off HTML parsing.
-
@ben_lubar It even handily mentions it right in the error message.
-
@ben_lubar said in WTF Bites:
@tsaukpaetra said in WTF Bites:
Status: Why, oh why, is this even a thing?
There's an option to turn off HTML parsing.
Yeah, apparently it's
-UseBasicParsing
.My problem is that it's not HTML that's being returned, it's a JSON object. So, why is it asking Internet Explorer to thunk it out when it has a perfectly good JSON functionality already?
-
@tsaukpaetra said in WTF Bites:
@ben_lubar said in WTF Bites:
@tsaukpaetra said in WTF Bites:
Status: Why, oh why, is this even a thing?
There's an option to turn off HTML parsing.
Yeah, apparently it's
-UseBasicParsing
.My problem is that it's not HTML that's being returned, it's a JSON object. So, why is it asking Internet Explorer to thunk it out when it has a perfectly good JSON functionality already?
Because the command doesn't look at remote data to determine what local DLLs it should load?
-
@pie_flavor said in WTF Bites:
@blakeyrat said in WTF Bites:
still using Windows 7
Seriously? Where would you get that idea?
YMBNH.
-
@pie_flavor people who use latest software are like people who are testing side effects of experimental drugs, except for free. Every software update has a risk of taking away some important feature you're using all the time (see: removal of "Print" from Firefox's context menu) and maybe even stopping working at all, for the doubtful benefit of maybe having new features you didn't ask for and fixing bugs you've never encountered. So unless there's a change that actually affects your life, there's no benefit to updating anything, and so I call it stupid.
The real key is to avoid x.0 releases, generally.
-
@boomzilla Pic unrelated, I'm guessing?
-
-
@boomzilla
Then I'm afraid I don't get it
Dammit. Just got it while writing this post. That was a good one.
-
@ben_lubar said in WTF Bites:
@tsaukpaetra said in WTF Bites:
@ben_lubar said in WTF Bites:
@tsaukpaetra said in WTF Bites:
Status: Why, oh why, is this even a thing?
There's an option to turn off HTML parsing.
Yeah, apparently it's
-UseBasicParsing
.My problem is that it's not HTML that's being returned, it's a JSON object. So, why is it asking Internet Explorer to thunk it out when it has a perfectly good JSON functionality already?
Because the command doesn't look at remote data to determine what local DLLs it should load?
I have no clue what you mean.
-
@tsaukpaetra said in WTF Bites:
@ben_lubar said in WTF Bites:
@tsaukpaetra said in WTF Bites:
@ben_lubar said in WTF Bites:
@tsaukpaetra said in WTF Bites:
Status: Why, oh why, is this even a thing?
There's an option to turn off HTML parsing.
Yeah, apparently it's
-UseBasicParsing
.My problem is that it's not HTML that's being returned, it's a JSON object. So, why is it asking Internet Explorer to thunk it out when it has a perfectly good JSON functionality already?
Because the command doesn't look at remote data to determine what local DLLs it should load?
I have no clue what you mean.
Would you rather have this error message now or in three months when something changes upstream and you're not looking at your server?
-
@ben_lubar said in WTF Bites:
@tsaukpaetra said in WTF Bites:
@ben_lubar said in WTF Bites:
@tsaukpaetra said in WTF Bites:
@ben_lubar said in WTF Bites:
@tsaukpaetra said in WTF Bites:
Status: Why, oh why, is this even a thing?
There's an option to turn off HTML parsing.
Yeah, apparently it's
-UseBasicParsing
.My problem is that it's not HTML that's being returned, it's a JSON object. So, why is it asking Internet Explorer to thunk it out when it has a perfectly good JSON functionality already?
Because the command doesn't look at remote data to determine what local DLLs it should load?
I have no clue what you mean.
Would you rather have this error message now or in three months when something changes upstream and you're not looking at your server?
I... still have no idea what you're talking about.
I control the web server. I control the powershell script that's asking for the login token. If something manages to change "upstream", I definitely expect there to be a need to change the downstream.
What are you trying to ask me here?
Are you insinuating that in the unforeseeable future, JSON might magically not be JSON and HTTP as we know it will transmogrify into something new and completely different?
-
@tsaukpaetra said in WTF Bites:
@ben_lubar said in WTF Bites:
@tsaukpaetra said in WTF Bites:
@ben_lubar said in WTF Bites:
@tsaukpaetra said in WTF Bites:
@ben_lubar said in WTF Bites:
@tsaukpaetra said in WTF Bites:
Status: Why, oh why, is this even a thing?
There's an option to turn off HTML parsing.
Yeah, apparently it's
-UseBasicParsing
.My problem is that it's not HTML that's being returned, it's a JSON object. So, why is it asking Internet Explorer to thunk it out when it has a perfectly good JSON functionality already?
Because the command doesn't look at remote data to determine what local DLLs it should load?
I have no clue what you mean.
Would you rather have this error message now or in three months when something changes upstream and you're not looking at your server?
I... still have no idea what you're talking about.
I control the web server. I control the powershell script that's asking for the login token. If something manages to change "upstream", I definitely expect there to be a need to change the downstream.
What are you trying to ask me here?
Are you insinuating that in the unforeseeable future, JSON might magically not be JSON and HTTP as we know it will transmogrify into something new and completely different?
I'm saying that it doesn't make sense for the program to decide whether to load Internet Explorer's HTML parsing engine depending on the content of the remote site you're requesting. Remote changes shouldn't affect what gets loaded on your server locally.
-
@ben_lubar said in WTF Bites:
@tsaukpaetra said in WTF Bites:
@ben_lubar said in WTF Bites:
@tsaukpaetra said in WTF Bites:
@ben_lubar said in WTF Bites:
@tsaukpaetra said in WTF Bites:
@ben_lubar said in WTF Bites:
@tsaukpaetra said in WTF Bites:
Status: Why, oh why, is this even a thing?
There's an option to turn off HTML parsing.
Yeah, apparently it's
-UseBasicParsing
.My problem is that it's not HTML that's being returned, it's a JSON object. So, why is it asking Internet Explorer to thunk it out when it has a perfectly good JSON functionality already?
Because the command doesn't look at remote data to determine what local DLLs it should load?
I have no clue what you mean.
Would you rather have this error message now or in three months when something changes upstream and you're not looking at your server?
I... still have no idea what you're talking about.
I control the web server. I control the powershell script that's asking for the login token. If something manages to change "upstream", I definitely expect there to be a need to change the downstream.
What are you trying to ask me here?
Are you insinuating that in the unforeseeable future, JSON might magically not be JSON and HTTP as we know it will transmogrify into something new and completely different?
I'm saying that it doesn't make sense for the program to decide whether to load Internet Explorer's HTML parsing engine depending on the content of the remote site you're requesting. Remote changes shouldn't affect what gets loaded on your server locally.
You're right. It shouldn't be loading Internet Explorer's HTML parsing engine unless you ask it to.
In fact, I expect Invoke-WebRequest to be functionally equivalent to calling
wget
. The fact that you get fancy object interpretation of the result is bonus functionality that shouldn't require you to have opened a (from the script's point of view) third-party application beforehand.It's the equivalent of installing trialware as a system utility, then when you call it it errors out saying "You didn't activate your trial license yet!".
It's a core function. Using core features shouldn't require user interaction to use.
If I have time, I'm going to spin up an instance of Server 2016 Nano and see if it has the same problem, because it definitely doesn't have Internet Explorer installed (or a GUI for that matter) to do the "first-launch configuration", much less instantiate an instance of it to do parsing.
-
@tsaukpaetra Great news - all of the functionality you state is easily possible!
Just add-UseBasicParsing
and you're good to go.
-
@pie_flavor said in WTF Bites:
@tsaukpaetra Great news - all of the functionality you state is easily possible!
Just add-UseBasicParsing
and you're good to go.And already done. We're not arguing that.
Actually, no, I'm arguing that whatever is happening when
-UseBasicParsing
is used should be the default, and instead a-UseInternetExplorerParsing
should be provided, since I guarantee there's a lot of unneeded overhead from this design decision, when in most cases you don't need the advanced parsing.
-
I'm one of those crazy people who's actually ok with activating software, as long as it's not too much of a pain in the ass. I bought the Magix bundle from the HumbleBundle site, and Vegas Pro activated in just a few seconds, awesome. So surely Magix Video Sound Cleaning Lab will activate too, right?
And... nope. Locks up at this point every time. There's no close box or cancel button. (Sidenote: how fucking AUDACIOUS do you have to be as a software developer to assume the user will never need a close box or a cancel button? Goddamned.) So I have to kill it. After 3 tries, I gave up and put in a support request. What an ass-pain.
To be a pedantic jerk, I'll also point out that if you buy the software from the Humble Bundle your key is neither on a CD sleeve nor in your email; it's on your Humble Bundle profile page. I also hate software that lies to users.
-
Our build server is acting up a “bit”. It hung for hours, because it couldn't delete some files that don't exist any more (it disappeared after restart). Now it's failing to run builds, but still doing the checkins that should have been gated on those builds, re-runs gated builds for the changes it already checked in. ¿QUE KURWA?
-
@pie_flavor explain it to me, then, because I still haven't got it.
-
@anotherusername said in WTF Bites:
@pie_flavor explain it to me, then, because I still haven't got it.
On their shoulders are depictions of Aliens. Thus, shoulder aliens. Took me a while too.
-
@anotherusername said in WTF Bites:
For all it knows, they're doing a MITM attack.
Because that's precisely what they're doing.
-
@benjamin-hall said in WTF Bites:
@anotherusername said in WTF Bites:
@pie_flavor explain it to me, then, because I still haven't got it.
On their shoulders are depictions of Aliens. Thus, shoulder aliens. Took me a while too.
-
Coming soon: New security holes in Excel
-
@timebandit why not javascript?
-
@bb36e
They tried, but it turns out the coding standards for JavaScript are too stringent to work with Excel macros.
-
Values in the input array with numeric keys will be renumbered with incrementing keys starting from zero in the result array.
Yeah, string keys as well, it seems.
What about PHP's type coercion?
-
@timebandit why not javascript?
I dunno, Lua seems more in line with what VBA was for...
-
@timebandit why not javascript?
You want "undefined" instead of "#VALUE" ?
-
@timebandit said in WTF Bites:
@timebandit why not javascript?
You want "undefined" instead of "#VALUE" ?
Or
[object Object]
.