@mattly you know, a few decades ago I did some webdev in the much-maligned Zope where the templating language (ZPT/TAL) is a bunch of namespaced elements/attributes jammed into (X)HTML and ever since I have been convinced that it is obviously true and correct that any templating system you use needs to be language aware.
And then I watch people write Helm charts and I despair because shoving together YAML and Go text/template is the worst possible combination I have ever seen.
(“did someone implement the spec wrong?” yes. of course they did. its oauth 2. its more vibes than a spec to begin with and yet people manage to find new and creative ways to violate the bits that are nailed down all the time)
(I was looking at some OAuth 2 client code and found a fossil of this in the form of still supporting parsing responses in x-www-form-urlencoded format and I was like “what. why. did someone implement the spec wrong?!” and it looks like the answer is “no, the spec was just briefly bonkers”)
2.3.2. Response Format
Authorization servers respond to client requests by including a set
of response parameters in the entity body of the HTTP response. The
response uses one of three formats based on the format requested by
the client (using the "format" request parameter or the HTTP "Accept"
header field):
o The "application/json" media type as defined by [RFC4627]. The
parameters are serialized into a JSON structure by adding each
parameter at the highest structure level. Parameter names and
string values are included as JSON strings. Numerical values are
included as JSON numbers.
For example:
{
"access_token":"SlAV32hkKG",
"expires_in":3600,
"refresh_token":"8xLOxBtZp8"
}
o The "application/xml" media type as defined by [RFC3023]. The
parameters are serialized into an XML structure by adding each
parameter as a child element of the root "<OAuth>" element. [[ Add
namespace ]]
For example:
<?xml version='1.0' encoding="utf-8"?>
<OAuth>
<access_token>SlAV32hkKG</access_token>
<expires_in>3600</expires_in>
<refresh_token>8xLOxBtZp8</refresh_token>
</OAuth>
o The "application/x-www-form-urlencoded" media type as defined by
[W3C.REC-html401-19991224].
For example (line breaks are for display purposes only):
access_token=SlAV32hkKG&expires_in=3600&
refresh_token=8xLOxBtZp8
The authorization server MUST include the HTTP "Cache-Control"
response header field with a value of "no-store" in any response
containing tokens, secrets, or other sensitive information.
@TomF@mcc Intel provided an assembler at one time (ASM86), maybe they still do as part of ICC? And basically “intel syntax” is a descendent of that per oral tradition. It’s Intel syntax because its the syntax that Intel’s asembler used, and that the Intel datasheets use; as opposed to AT&T syntax, the syntax that AT&T’s assembler for Unix used.
When Microsoft made MASM it copied the syntax. Borland’s Turbo Assembler (TASM) copied that. Everything else “intel syntax” is a descendent of those two
In ASM86 and MASM, what mov eax, foo does is not immediately obvious. If “foo” is defined as constant (label EQU 0xf00), it’ll set EAX to 0xf00. If “foo” is defined as a variable, it’ll load the contents of that variable.
TASM added “Ideal Mode”, in which this is always consistent: mov eax, foo always sets EAX to the address of the foo label; mov eax, [foo] loads from that address.
Most other assemblers implementing Intel syntax (NASM, FASM, YASM, GAS w/ .intel_synatx noprefix) are broadly copying Ideal Mode
@sinbad My general rule with USB-C cables is “Is it flexible? -> Its USB 2 only” / “Is it fairly rigid? -> It’s a USB 3 capable cable of some form”
Honestly when split that way (and I only have a handful of devices which need USB 3 cables) I don’t tend to have many compatibility issues.
As for chargers… thanks to several years of working for tech companies which like MacBooks, I have a plethora of 65W Apple USB-C chargers which can handle basically everything except the most demanding laptops.
Equifax was founded as the Retail Credit Company by Cator and Guy Woolford in Atlanta, Georgia, as Retail Credit Company in 1899. By 1920, the company had offices throughout the United States and Canada. By the 1960s, Retail Credit Company was one of the nation’s largest credit bureaus, holding files on millions of American and Canadian citizens
(Maybe the “credit score” is newer? But the credit score is an abstraction to give you an insight on what your credit file says, nothing more)
Overdraft fees meanwhile are basically as old as the cheque.
Remember: If a "second" is 1/86400th of a day, its UT1
If a "second" is "defined by taking the fixed numerical value of the caesium frequency, ΔνCs, the unperturbed ground-state hyperfine transition frequency of the caesium 133 atom, to be 9192631770 when expressed in the unit Hz, which is equal to s−1", its UTC/TAI.
Disadvantages of having a physics degree & being a bit of a timekeeping nerd:
You know that most of the time when programmers are talking about UTC timestamps they actually mean UT1. (Except NTP. NTP is also developed by timekeeping nerds)
@snowfox@equinox yeah, the CLOCK_TAI <-> CLOCK_REALTIME offet is also integer seconds, which is less than ideal because its probably reasonable to leap-smear these days because of the quantity of questionable software.
@puppygirlhornypost2@trwnh@cwebber Object already permits just putting an Object-ID-URI there, Object | Link is a horrible overcomplicated mess (IMO) that should never have made it into the standard >_<
@puppygirlhornypost2 For better and worse Congress has no formal sponsors. (Better: No corporate interests distorting things; Worse: things can be a bit more expensive than they otherwise would if ther were sponsors)
(There are some informal sponsors, but informal in this sense means “they donate some services for free e.g. the fat fat internet pipe without getting their logo anywhere)
immigrant | they/them | software engineer in card paymentsliker of ISO 8583, the 8051, ASN.1 and EBCDIC.I wrote the ActivityPub initial draft, so this social network is in some way my fault.Formerly @erincandescent@queer.af Instance admin, queer.af (2018-07 - 2024-02, RIP)