News for hackers. Stuff that matters.

ucarion

Yeah this is really cool! To your point about WorkOS.js -- how would a customer know where to find their SAML metadata? Some of this can be done inline in WorkOS.js, of course.

But no amount of inline docs in WorkOS.js's UI is going to get around the high-level guidance docs, both for your customers ("where do I even start") and your customers' customers ("how do I fit my IdP peg into your SP round hole").

I fully appreciate how difficult this is to do, but I think it would be immensely useful if WorkOS provided the docs that I (the SAML SP, your customer) provide to my customers who are setting up SAML (as an IdP) on their end.

One of the biggest pain points I've experienced with SAML is that people come to me asking for help, but only understanding their IdP; the only IdP I know how to use is Okta, and I don't have access to their IdP to test with.

I'd love it if WorkOS could give me documentation that I can give to my customers about how they can set up Okta/Azure ADFS/whatever with my product. I can edit those docs to account for idiosyncratic stuff my product does (e.g. requiring a particular SAML user attribute or format for user IDs).

Aside: the support burden of SAML is a big part of why the sso.tax exists. Nobody on the SP or IdP end knows how to set this stuff up!

Re:Amazon to hire 100k warehouse and delivery workers on Monday March 16, 2020 @07:14PM (#22599307)
Perhaps an equivalent as in France could help? Macron has stated that no company, regardless of size, will go under merely as a result of this crisis.

To that end, any French company at risk of going under will be allowed to stop paying rent and taxes during the shutdown.

https://translate.google.com/translate?hl=en&sl=fr&u=https:/...

Re:Mary Dash's Writing Tips on Monday March 16, 2020 @03:22PM (#22596479)
I'm guessing it depends on what your users expect:

https://plainlanguage.gov/guidelines/audience/

IBM has some guidance on this too, as part of their design system:

https://www.carbondesignsystem.com/guidelines/content/genera...

Basically IBM's rule seems to be: there's never a need to be _formal_, but you should be less conversational on specific tasks, and more conversational on high-level docs and marketing material.

Re:Mary Dash's Writing Tips on Monday March 16, 2020 @03:06PM (#22596253)
All of plainlanguage.gov is a treasure trove of good advice on writing -- definitely a site worth exploring!
This is not to contradict what you're saying, but it should be clarified that Norway's flag carrier is Scandinavian Airlines, not Norwegian Air:

https://en.wikipedia.org/wiki/Scandinavian_Airlines

Again: I'm aware that you haven't said anything to the contrary. But it's useful context.

In addition to the point made in the article, even some RFCs do not indicate "what the IETF thinks". And I'm not just talking about April 1st RFCs.

The IETF has the "Independent Submission Editor" stream of RFCs, which produces RFCs without getting IETF consensus. These RFCs are considered to be work "outside" of the IETF, but can still be published as an RFC.

A recent example is https://tools.ietf.org/html/rfc8674 from Mark Nottingham:

   The mechanism described in this document does not have IETF consensus
   and is not a standard.  It is a widely deployed approach that has
   turned out to be useful and is presented here so that server and
   browser implementations can have a common understanding of how it
   operates.
Re:What Is Color Management? on Monday January 20, 2020 @01:38AM (#22096782)
A more accessible blog post, also from Netflix, mentioned in the article: https://netflixtechblog.com/protecting-a-storys-future-with-...
Re:On Sharding on Saturday September 28, 2019 @02:09AM (#21098771)
Oh I see! I was misunderstanding what you meant by "quickly"; it seems you're referring to the sensor delay / how tight the feedback loop is.

Thanks for explaining!

Re:On Sharding on Friday September 27, 2019 @06:25PM (#21096811)
This sounds a lot like the control-theory problem of balancing the proportional, integral, and derivative coefficients of a PID controller [1]?

I'm curious how you reached this condition as a requirement:

> The moral of the story here is make sure you pick a metric that reacts to the change in request rate as quickly as your request rate changes!

It makes sense intuitively, but I'm having trouble proving to myself that this is necessary+sufficient.

[1]: https://en.wikipedia.org/wiki/PID_controller

Re:Comparing Database Types on Tuesday September 24, 2019 @12:58PM (#21062228)
Do you have any resources online for how well this approach works in practice? I've been thinking about doing this in replacing a MongoDB database.
Re:Billiards Is a Good Game (1975) on Friday September 13, 2019 @04:57PM (#20966466)
Yes -- although it's rather rare. There's only one place in San Francisco with snooker tables, to my knowledge, but such places do exist:

https://www.yelp.com/biz/legend-billiards-and-snooker-sf-san...

Re:Billiards Is a Good Game (1975) on Friday September 13, 2019 @12:19PM (#20963482)
To "carom" a ball, in America, is to hit the cue ball into ball X, and then after that collision, the cue ball goes on to hit ball Y. In Britain this is known as a "cannon", as in you cannon the cue ball off of X into Y.

In the game of cowboy, which is sort of a novelty game that is intentionally quirky, you can score points merely by making a carom.

Here's an example I got by Google image searching: https://i.makeagif.com/media/10-30-2015/ODVWHH.gif

Re:No Son of Mine Is Going to Be a Benthamite on Thursday August 22, 2019 @12:56AM (#20764766)
Not quite -- if a single poor chap starts off with Very Bad torture, maximin will perscribe that everyone else have Medium Bad torture as long as the single worst-off person does a little better.
Re:CBOR – Concise Binary Object Representation on Sunday August 04, 2019 @02:31PM (#20608362)
Indeed, the RFC says so directly:

   CBOR was inspired by MessagePack.  MessagePack was developed and
   promoted by Sadayuki Furuhashi ("frsyuki").  This reference to
   MessagePack is solely for attribution; CBOR is not intended as a
   version of or replacement for MessagePack, as it has different design
   goals and requirements.
I fail to see what is wrong with having both CBOR and MessagePack, or with trying to bring a MessagePack-like thing to the IETF, if MessagePack's design (lack of extension points, etc.) was problematic for enabling future applications.

Also: CBOR is not one person. The CBOR working group, and the IETF in general, put forward the spec. If you object to how the process went down, your quarrel likely lies with IETF, not any individual.

I am wondering how things like OpenTracing-esque spans and sub-spans fit into the format Stripe describes. Are they just logged as `subspan1`, `subspan2`, `subspan3` in the log format?

It seems like that works, but I'm also unclear if maybe each sub-span is better off as its own log line? But that carries its own problems.

Re:You Don't Need MomentJS on Tuesday July 23, 2019 @01:13PM (#20508358)
Last I checked, the proposed alternative (date-fns) doesn't expose a straightforward way to parse an RFC3339 timestamp, without any further bells and whistles. That's the reason I last used Moment.js, but otherwise I'd be happy to remove that dependency.
Re:Show HN: Catj – A new way to display JSON files on Friday June 21, 2019 @06:05PM (#20246648)
I don't think that leading period is redundant. It indicates that the top-level value is an object, as opposed to an array or some basic value.
Re:Zanzibar: Consistent, Global Authorization System on Saturday June 08, 2019 @01:47PM (#20133856)
https://github.com/ory/ladon is an option. Essentially, it imposes a lot of the fine-grained access control model on you, but then it's up to you to implement the actual database/business-logic layer [1] as well as the API layer to actually expose the service.

[1] You do so by implementing this interface: https://github.com/ory/ladon/blob/master/warden.go

Re:Announcing Rust 1.35.0 on Thursday May 23, 2019 @07:24PM (#19997020)
Yup, that works! It also downloads docs so you can `cargo doc` and then you can peruse the generated docs for all of your dependencies.
Re:Why EU regions are redrawing their borders on Thursday May 02, 2019 @07:24PM (#19813986)
I sort of fail to see why this is such a terrible abuse. Even in France, it doesn't seem absurd to recognize that St. Denis and Paris aren't really operating in the same economic world. It seems that Budapest, Warsaw, and Vilnius are in a similar boat?

Globalization often has a way of dramatically centralizing wealth, and old borders might need updating.

Re:Why to normalize Unicode strings on Wednesday March 13, 2019 @04:25PM (#19383371)
This comes up because many implementations of "UTF-16" are in fact naive, and just operate within the mentality of UCS-2, where everything is just a 16-bit number.

This is relevant within this discussion because we were talking about filesystems, and Windows stores file names as an arbitrary array of 16-bit numbers, but UTF-16 has additional requirements that Windows file names do not satisfy.

When I say UCS-2, I just mean pretending that UTF-16 is short for `[]uint16`, and not worrying about surrogate pairs.

Re:Cookie Warning Shenanigans Have Got to Stop on Wednesday March 13, 2019 @03:34PM (#19382725)
These organizations do have such an incentive. The very essence of GDPR is to create these incentives. The EU's goal with GDPR was to make user data a liability, and to encourage organizations to reconsider their need to hoover and hoard it.

The GDPR is unlikely to be overturned, and there are plenty in the EU who are eager to enforce it. Just because it's not being enforced right this second doesn't mean the law won't catch up to offenders.

Especially if Margrethe Vestager replaces Jean-Claude Juncker as president of the European Commission, you can expect a ton of action on this front.

Re:Cookie Warning Shenanigans Have Got to Stop on Wednesday March 13, 2019 @03:25PM (#19382606)
The sibling comment is right -- and furthermore, thanks to holdovers from colonialism, the EU is a vast area that the sun never sets on. Reunion, French Guinea, and Curacao are just as European as Bruxelles is.
Re:Why to normalize Unicode strings on Wednesday March 13, 2019 @01:54PM (#19381459)
Is running normalization algorithms against UCS-2 -- i.e., where it's possible to have invalid surrogate pairs -- well-defined?
Re:China lands Chang'e-4 on far side of Moon on Thursday January 03, 2019 @02:56PM (#18818632)
Are there any good sources on the Chinese space program's change in naming convention? It seems like the older programs have names like "Long March" or "The East is Red", but they've now converged to the more common tradition of using mythology/mysticism.
Re:How Facebook tracks you on Android [video] on Sunday December 30, 2018 @02:03PM (#18790704)
Perhaps it has use in bot detection, but:

1. Facebook's "need" to prevent bots ought to be subservient to their need to acquire consent. GDPR requires such consent.

2. It seems quite likely that the persons giving this talk aren't on Facebook.

Facebook is a global database of political dissidents, queer persons, apostates, and other categories of people whose physical safety is put in peril when their personal lives are leaked.

Facebook surely must be heavily fined and regulated for their misbehavior, because to fail to keep Facebook data safe is to put lives at risk.

Likely the commenter is referring to development environments, where it is common for infra to be put in bizarre states by actors performing changes. Terraform alone is does not constitute change control.

Older »