Search found 257 matches

by Archgeek
Wed Apr 27, 2016 6:24 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1673: “Timeline of Bicycle Design”
Replies: 69
Views: 15772

Re: 1673: “Timeline of Bicycle Design”

I love how what is defintely a boxcar2d-based gag has promptly veered into disucssions of actual bike design, complete with technical terms. This community is genuinely great. XD I think the actual gag is something else: among all those wacky designs from today's comic, the one labelled "1875&...
by Archgeek
Wed Apr 27, 2016 3:12 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1673: “Timeline of Bicycle Design”
Replies: 69
Views: 15772

Re: 1673: “Timeline of Bicycle Design”

I love how what is defintely a boxcar2d-based gag has promptly veered into disucssions of actual bike design, complete with technical terms. This community is genuinely great. XD
by Archgeek
Fri Apr 01, 2016 4:06 pm UTC
Forum: Coding
Topic: SSL Shenanigans
Replies: 4
Views: 5351

Re: SSL Shenanigans

Okay, this question was poorly constructed, it turns out. The DN thing was a smoked herring used to confuse hounds, and openssl verify was hanging because it was wanting CAchain to verify the server cert against. However, even that's barking up a lamp-post instead of the correct tree, as it turns ou...
by Archgeek
Fri Mar 18, 2016 10:13 pm UTC
Forum: General
Topic: It has Endginned. (Mod Madness 2016)
Replies: 220
Views: 69201

Re: It Begends. (Chocolate chips year of the drunk bobcat)

Woot! I can't wait to see what absurd effects this has on tomfoolery in Coding and the like.
I hope the 2016 Madness has less injury of the buttocks than had 2015.
by Archgeek
Fri Mar 18, 2016 5:26 pm UTC
Forum: Coding
Topic: SSL Shenanigans
Replies: 4
Views: 5351

SSL Shenanigans

So because I'm trying to get a PHP CAS client to trust a CAS server, I'm learning all about SSL now, and am trying to find a way to make an internal-use cert that doesn't read as being self-signed. To this end, I've gone as far as to gin up my own private key infrastructure, here seen with password ...
by Archgeek
Mon Feb 22, 2016 8:28 am UTC
Forum: What If?
Topic: What-If 0146: "Stop Jupiter"
Replies: 60
Views: 30727

Re: What-If 0146: "Stop Jupiter"

Did anybody else notice the tennis ball says Pen 15 (penis)? http://what-if.xkcd.com/imgs/a/146/truck.png Actually, that looks to say "Penn 15", Penn being a common brand of tennis ball (leastways, here in the states). The 15 of course, is for the ancient schoolyard wangerdoodle joke. See...
by Archgeek
Mon Feb 15, 2016 9:42 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1643: "Degrees"
Replies: 147
Views: 25690

Re: 1643: "Degrees"

To be fair, I've heard it argued that round numbers in metric are pretty good ballpark figures for how humans perceive temperatures too: 0 = freezing 10 = cold 20 = comfortable 30 = hot 40 = way too hot Perhaps, however degrees F can be more nuanced. Perspective from a northern Californian: <32 = f...
by Archgeek
Mon Feb 15, 2016 5:57 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1643: "Degrees"
Replies: 147
Views: 25690

Re: 1643: "Degrees"

Remember kids, like my HS physics teacher always said: if no unit is listed, it's always radians.
by Archgeek
Fri Jan 29, 2016 7:50 am UTC
Forum: Individual XKCD Comic Threads
Topic: 1636: "xkcd Stack"
Replies: 37
Views: 9873

Re: 1636: xkcd Stack

Microsoft Bob Server

Utterly reeling in horror at that one. Well played, Randal.

I'll bet it's really dragging down the performance of that Minecraft processor, too.
by Archgeek
Fri Nov 27, 2015 8:19 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1609: "Food Combinations"
Replies: 57
Views: 13637

Re: 1609: "Food Combinations"

da Doctah wrote:You know what's really a great combination? Bell peppers and a catapult.

Mmmm, ranged peppers.
by Archgeek
Mon Nov 16, 2015 7:08 am UTC
Forum: Individual XKCD Comic Threads
Topic: 1604: "Snakes"
Replies: 66
Views: 13437

Re: 1604: "Snakes"

This poem is at least as bad as "30 Days Hath September": If red touches yellow, you're a _____ fellow; If red touches black, you're ____, Jack. How am I supposed to remember which blank is filled with the word that results in me being alive at the end of this? The incantation I learned w...
by Archgeek
Thu Nov 12, 2015 9:48 pm UTC
Forum: Coding
Topic: Very Stupid Javascript Question
Replies: 18
Views: 6098

Re: Very Stupid Javascript Question

I take it this would work even if the user has disabled scripts? JSON's just a clever little encoding scheme for transmiting arbitrary data structures in the form of a string. I found it to be an insanely superior option to my insane tokenization scheme I bodged up for sending server-side debug inf...
by Archgeek
Fri Nov 06, 2015 11:26 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1599: "Water Delivery"
Replies: 82
Views: 14695

Re: 1599: "Water Delivery"

Misattributed quote pyramid anyone? Could be fun! Last time we did something like that was Klear's "horse in aisle five / house full of traps" madness with the conversation going on in the subject line. Let's not go there again. (Whatever happened to Klear, anyway?) We're not? Crud, what ...
by Archgeek
Fri Oct 30, 2015 2:18 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1597: "Git"
Replies: 51
Views: 13980

Re: 1597: "Git"

NTN wrote:Have you tried to do anything with multiple people without git? I have, and I'm definitely not doing it again.

Yup. Drive is a nightmare, Dropbox is weirdly unreliable, and SVN works out alright, just don't ask me how to properly merge a branch to the trunk using the actual branch merging tools.
by Archgeek
Fri Oct 16, 2015 3:54 pm UTC
Forum: Coding
Topic: Very Stupid Javascript Question
Replies: 18
Views: 6098

Re: Very Stupid Javascript Question

Now, those explanations aside, you've made me curious -- what am I over-engineering and in what manner? Given the choice, I would like to simplify this thing as much as I can before it sees the quivering horrors of production. I'll try be more friendly. Sorry. Let's start with this: There is exactl...
by Archgeek
Thu Oct 15, 2015 10:16 pm UTC
Forum: Coding
Topic: Very Stupid Javascript Question
Replies: 18
Views: 6098

Re: Very Stupid Javascript Question

Most of which aren't really problems. a) a tab doesn't deprecate, reducing the effective max by one, not an issue. b) very much not a problem, as they'll come back with a whole new session. c) also fine, two separate sessions with their own sets of tabs are free to run under the same user ID. The w...
by Archgeek
Tue Oct 13, 2015 3:31 pm UTC
Forum: Coding
Topic: Very Stupid Javascript Question
Replies: 18
Views: 6098

Re: Very Stupid Javascript Question

And it's not feasible to remove whatever limitation you have from the server side? Nope, the tab limit is intentional, to reduce memory usage by crazy users possibly opening a crapload of the same webapp. They're deprecated and recycled where possible, but if they all have data and have deprecated ...
by Archgeek
Tue Oct 13, 2015 2:54 pm UTC
Forum: Coding
Topic: Very Stupid Javascript Question
Replies: 18
Views: 6098

Re: Very Stupid Javascript Question

Like I mentioned here , the server doesn't need to know whether the browser has JavaScript enabled to do this; you can change the error message from JavaScript. Demonstration. Heh, I had that realization just before going home yesterday -- instead of bothering with this, I could just check the DOM ...
by Archgeek
Mon Oct 12, 2015 9:28 pm UTC
Forum: Coding
Topic: Very Stupid Javascript Question
Replies: 18
Views: 6098

Re: Very Stupid Javascript Question

Just what does a browser (IE 10, for instance) actually do under the hood when a user disables javascript? Does it just disable its JS interpreter, preventing it from loading scripts in future requests, or does it bother stopping currently running scripts and their listeners? Depends on the browser...
by Archgeek
Mon Oct 12, 2015 7:18 pm UTC
Forum: Coding
Topic: Very Stupid Javascript Question
Replies: 18
Views: 6098

Re: Very Stupid Javascript Question

I *suspect* it just turns off the interpreter for future pages, but I'm not sure. Using XHR on beforeunload isn't a great idea, because there's no guarantee that the page won't be killed before the XHR completes. Drat, 'sounds like I may be stuck in fencepost land. That makes sense, though I've alr...
by Archgeek
Mon Oct 12, 2015 4:16 pm UTC
Forum: Coding
Topic: Very Stupid Javascript Question
Replies: 18
Views: 6098

Very Stupid Javascript Question

Just what does a browser (IE 10, for instance) actually do under the hood when a user disables javascript? Does it just disable its JS interpreter, preventing it from loading scripts in future requests, or does it bother stopping currently running scripts and their listeners? I inquire in part due t...
by Archgeek
Fri Sep 25, 2015 6:56 am UTC
Forum: Individual XKCD Comic Threads
Topic: 1582: "Picture a Grassy Field"
Replies: 86
Views: 17834

Re: 1582: "Picture a Grassy Field"

Picture a triangular yellow hazard sign with a black lightbulb. Now imagine the field cordoned off with those signs to warn the unwary against the dang memetic hazard within.
by Archgeek
Wed Jun 03, 2015 2:34 pm UTC
Forum: Coding
Topic: Single Sign-on Shenanigans
Replies: 20
Views: 5553

Re: Single Sign-on Shenanigans

No actual reason, it's just how the original code was built here: http://siphon9.net/loune/2007/10/simple-lightweight-ntlm-in-php/ My modifications were stuff like changing the headers to actually work on the php server I'm working with, little shunts to $_POST and $_SESSION from the debugging proce...
by Archgeek
Tue Jun 02, 2015 10:12 pm UTC
Forum: Coding
Topic: Single Sign-on Shenanigans
Replies: 20
Views: 5553

Re: Single Sign-on Shenanigans

Just following up on this in case anyone else has such a specific problem as to need a windows username in PHP. Looking further into the IIS case, I tried to find out what makes an IIS 401 header. 'Turns out it's pretty much just NTLM. So, by pretending to be an NTLM authentication function and enga...
by Archgeek
Wed May 27, 2015 3:03 pm UTC
Forum: Coding
Topic: Single Sign-on Shenanigans
Replies: 20
Views: 5553

Re: Single Sign-on Shenanigans

That's sort of my point. Something has to initiate that, and it's the web server sending a 401 with a particular WWW-Authenticate. Browsers (most of them) implement the Negotiate protocol. So this involves doing something outside of the bounds of the browser (i.e. obtaining that "user id"...
by Archgeek
Tue May 26, 2015 10:11 pm UTC
Forum: Coding
Topic: Single Sign-on Shenanigans
Replies: 20
Views: 5553

Re: Single Sign-on Shenanigans

I believe the magic words, or in this case magic word (singular), is: SSPI (Security Support Provider Interface) SSPI is the mechanism by which an AD authenticated user (Windows) AND an AD authenticated web server (difficult under Linux) talk to each other and the domain controller to do a transpar...
by Archgeek
Fri May 22, 2015 8:46 pm UTC
Forum: Coding
Topic: Single Sign-on Shenanigans
Replies: 20
Views: 5553

Re: Single Sign-on Shenanigans

Now that sounds like something I might be missing. But, what exactly are you refering to as the HTTP server and the client? There are three principal actors in play here: the user agent (the user's browser), the web server (likely from the perspective of an application php script and anything it mig...
by Archgeek
Fri May 22, 2015 6:42 pm UTC
Forum: Coding
Topic: Single Sign-on Shenanigans
Replies: 20
Views: 5553

Re: Single Sign-on Shenanigans

Nope. No IIS (it's not even enabled), running old Zend server 5 on Apache (probably tomcat), no access anything remotely administrative, (save for the POSIX powers in the PHP file API). SESSION's flat empty, REQUEST has a newly forged session ID, but those aren't useful. Server data includes [HTTP_U...
by Archgeek
Fri May 22, 2015 4:56 pm UTC
Forum: Coding
Topic: Single Sign-on Shenanigans
Replies: 20
Views: 5553

Re: Single Sign-on Shenanigans

Yes, it should and does store it somewhere, but that's just it, the application server has to have it some how. The issue is that it lacks the ID at the time of first interaction. Windows and AD have it, but the server just has whatever the browser decided to pass along in the page request.
by Archgeek
Fri May 22, 2015 4:08 pm UTC
Forum: Coding
Topic: Single Sign-on Shenanigans
Replies: 20
Views: 5553

Single Sign-on Shenanigans

I'm attempting to do a bit of homespun SSO at work featuring PHP and ActiveDirectory, due to persons wearying of CAS's tomfoolery, and I've come across a conceptual quandary that's probably just highlighting some missing information. The goal is to let users on the internal network who've logged int...
by Archgeek
Wed Apr 29, 2015 6:27 am UTC
Forum: Individual XKCD Comic Threads
Topic: 1518: "Typical Morning Routine"
Replies: 126
Views: 18813

Re: 1518: "Typical Morning Routine"

A floor vent in a home? Is this a US thing? Does it have something to do with Thanksgiving? Where do the vents lead? Are the grills not user-removable? I too can vouch for the existence of vented floors. I once lived in a house bearing such vents, and with a foundation of the sort that animals can ...
by Archgeek
Fri Dec 05, 2014 4:01 pm UTC
Forum: Coding
Topic: PHP/Javascript -- weird times with AJAX responseXML
Replies: 10
Views: 4967

Re: PHP/Javascript -- weird times with AJAX responseXML

bittyx wrote:Yeah, perhaps this might not have been the best place for my "XML vs JSON" comments, as "Religious Wars" is better suited for that - I didn't really mean to initiate such a discussion :)

No worries--this has been a shard edifying.
by Archgeek
Wed Dec 03, 2014 10:51 pm UTC
Forum: Coding
Topic: PHP/Javascript -- weird times with AJAX responseXML
Replies: 10
Views: 4967

Re: PHP/Javascript -- weird times with AJAX responseXML

Out of curiosity, is there a reason why you aren't just using JSON? Largely because I've had experience editing XML messing with the FFXI windower plugin SpellCast, as well as rogue configuration/part trees in Kerbal Space Program. Also, I did not know JSON was that simple. Now that I know I can ju...
by Archgeek
Wed Dec 03, 2014 6:42 am UTC
Forum: Individual XKCD Comic Threads
Topic: 0936: "Password Strength"
Replies: 893
Views: 314392

Re: 0936: "Password Strength"

.DL wrote:A password for a flash game with mice and cheese won't need to be so complex, and if its not an important game you probably won't even remember it!


Transformice, eh? Gotta love those lousy french physics.
by Archgeek
Wed Dec 03, 2014 1:08 am UTC
Forum: Coding
Topic: PHP/Javascript -- weird times with AJAX responseXML
Replies: 10
Views: 4967

PHP/Javascript -- weird times with AJAX responseXML

So in the course of still working on the same application as the one in my dumb "Javascript - Slicing up AJAX uploads, now with progress bar" thread, I've seen fit to refactor my big long token-delimited AJAX responseText (status*msgType|message*msgType|message...) and change it to a respo...
by Archgeek
Tue Dec 02, 2014 5:16 pm UTC
Forum: Coding
Topic: Just what does it actually do when a user disables cookies?
Replies: 25
Views: 10530

Re: Just what does it actually do when a user disables cooki

...can't you just detect JavaScript on the error message page? In particular, have the server send the non-JavaScript-enabled error message always, and then have a script on the error page change it to the JavaScript-enabled error message. Ooof, now there's an idea. There is no error page as the er...
by Archgeek
Thu Nov 20, 2014 3:30 pm UTC
Forum: Coding
Topic: Just what does it actually do when a user disables cookies?
Replies: 25
Views: 10530

Re: Just what does it actually do when a user disables cooki

That won't work out because the script in question is Javascript, which is client-side, and the index page server-side in PHP. I need to get the answer to "is JS enabled?" sent from the client to the server. I could do this using AJAX, but I needed that information in a PHP class that's al...
by Archgeek
Mon Oct 13, 2014 7:27 pm UTC
Forum: Coding
Topic: Funniest/Most Annoying Code Comments
Replies: 662
Views: 142533

Re: Funniest/Most Annoying Code Comments

Ack, this hilarious thread filled with sigbait is drying up? I refuse to accept that! So here's some of my own Thomas Foolery: On a CSS trick for triangular arrows-- /*Blackest Sorcery: arrows are conjured from the aether by using the interior-facing borders of a zero-hight block with the thickness ...
by Archgeek
Fri Sep 19, 2014 9:58 pm UTC
Forum: Coding
Topic: Javascript - Slicing up AJAX uploads, now with progress bar
Replies: 10
Views: 5696

Re: Javascript - Slicing up AJAX uploads, now with progress

Oh neat, these forums are back up. I haven't been able to connect since a couple of days ago. So declaring the listener in the loop generates separate instances for each xhr? Nice. I'll have to try that, since it seems less dumb than a solution I stumbled upon via the crime of having the progress ha...
by Archgeek
Mon Sep 15, 2014 9:01 pm UTC
Forum: Coding
Topic: Javascript - Slicing up AJAX uploads, now with progress bar
Replies: 10
Views: 5696

Re: Javascript - Slicing up AJAX uploads, now with progress

Ocelots and chicken lamps, I'm becoming a real pest around here. I apologize for bumping this thread with a new question, but the code above is mostly relevant to the new issue. I unfortunately am now trying, having gotten the above to work swimmingly, complete with dynamic chunks every 8MB or 10 fi...

Go to advanced search