Better HN
topnewbestaskshowjobs
Log inSign up

andyroid

663 karma · joined Dec 7, 2012 (14y ago) · 126 submissions

Submissions

comment 6y ago · link · parent

That would be microservices. Like you said there’s rarely a need to break apart services beyond that, and that’s fine.

comment 6y ago · link · parent

That says nothing without knowledge about the next largest financial penalty. It could just as well be the _first_ financial penalty dealt in the history of the company.

comment 6y ago · link · parent

Those are features of Apple Monopoly rather than Apple Music.

34.

OAuth 3(oauth.net ↗)

413 points · by andyroid · 6y ago · 208 comments

comment 6y ago · link · parent

We use OPA for use cases ranging from kubernetes admission control, to microservice authorization and CI/CD pipeline policies. It's one of those tools you can't realize you could have lived without once you start using it.

comment 6y ago · link · parent

From a Nordic country myself and have never experienced that effect, nor heard of anyone who would eat it for that. We just like it for the taste. Getting a little more cautious from reading all the comments here though!

comment 6y ago · link · parent

So instead of we’ve got rampant racism, conspiracy theories, fake news and attempts to sway elections in that direction all over the world. If that’s the good experience, bring back the midis!

comment 6y ago · link · parent

Pretty much any language running on the JVM will make it dead simple to import and use libraries written in Java - in fact one of the main reasons to choose the JVM is the huge amount of high quality libraries available. So while true that Java != JVM, it’s not as simple as that either.

comment 6y ago · link · parent

From my friends in Poland I hear many of them are considering moving after the latest election and the direction the country seems to be heading. Good to know there are tech workers from Belarus to step into their positions.

comment 6y ago · link · parent

Swede here. Like you say our isolation is pretty much volountary, with only larger groups gathering being banned - though I very much doubt that would happen anyway should it be allowed. Our neighboring countries who opted for total lockdown are slowly starting to open up too. I think the death toll in pretty much any country will be primarily depending on how well you’ve protected your elderly. We’ve done OK but could certainly have done better. Though still very far from the “devastatingly wrong” claim above.

comment 6y ago · link · parent

> Releasing a product before it is done is can of worms in itself

Perhaps, but a programming language which is released when “done” is essentially dead on arrival. I’d guess the people who created amazing things with Odin helped the language move forward, right? Nothing wrong with keeping something to oneself, but promising for a long time to move something into an open source model with no set date.. I’ve rarely seen that end well. Hope I’m proved wrong though!

comment 6y ago · link · parent

Sounds more like some companies you’d rather not deal with then.

comment 6y ago · link · parent

This implies that time not spent using their software is time wasted doing nothing. Not that reducing boot times would be a bad thing, but that sounds more like a marketing gimmick. As kids we would wait for forever for our Commodore 64 games to load - knowing this we planned accordingly.

comment 6y ago · link · parent

So, no choice of language and no choice of the libraries used. What’s “everything else” exactly? Sounds like missing out on the more interesting parts of a micro service architecture.

comment 6y ago · link · parent

Network latencies and round trips will almost certainly be the primary source of performance issues in any larger microservice environment. If you don’t need that level of scale, that’s great. But once you do, JWTs are perfect for carrying information across the network that may be verified without extra network calls involved.

comment 6y ago · link · parent

JWTs and sessions are not in any way orthogonal in a system as a whole. We use JWTs primarily for scalable backends - if a session is setup or not in the front end is not a concern for the API backend services. In a microservice environment there could be many of these - that’s the whole point after all. And with JWTs being sent to these they can simply verify the integrity of the caller without asking a central authority. Coupled with OAuth2 and OIDC as protocols for delegation/federation and you have a system that scales extremely well. Of course, it might not be the first concern that needs to be addressed in a small startup but that doesn’t mean it doesn’t have a place.

comment 6y ago · link · parent

It’s not the lookup that is the cost but the network call.

comment 7y ago · link · parent

11.8k stars on GitHub doesn’t qualify as popular?

comment 7y ago · link · parent

The incident described did not result in loss of tons of user data, and neither will most incidents, whether you choose to be open about them or not.

comment 7y ago · link · parent

This happens everywhere. You just don’t know about it precisely because companies are normally not public and honest about it.

comment 7y ago · link · parent

Huh? GitHub’s company culture has been described as toxic way before they were acquired - not at least here. The problem seems to be exactly that they’ve managed to preserve that. Kudos to the employees speaking up though!

comment 7y ago · link · parent

You just described OpenID Connect.

comment 7y ago · link · parent

That’s a point, and I agile development would not be possible without the internet. But working incrementally based off of customer/user input is only possible after the first release. What was observed here was the huge number of projects that would previously fail without ever getting that point.

comment 7y ago · link · parent

The difference is that of ivory tower planning and the following phases of development, testing and a “big bang” release (waterfall) vs working with an MVP with the purpose of releasing as soon as possible and then work in iterations based off of actual feedback and demand (agile). If you manage to nuke your budget or create a monster of a code base already at the MVP stage no methodology is going to save you.

comment 7y ago · link · parent

Huh? The ID token and it’s claims is one of the core concepts of OIDC. Are you thinking of OAuth? That spec says nothing about token formats.

comment 7y ago · link · parent

But this is not an issue of Apple vs. OpenID Connect, but one between Apple’s flawed implementation of the OpenID Connect standard vs. the actual OpenID Connect standard. If they would have just gone with some proprietary implementation I very much doubt the OIDC people would have bothered. That happens pretty much daily after all.

comment 7y ago · link · parent

The UI was what kept us from Zulip last time we evaluated chat at my employer. When maximizing the window not even half of it was covered by the actual chat but by meaningless white space on both sides. We could not figure out how to change this either. Is this addressed with the new release?

comment 7y ago · link · parent

Definitely agree on how annoying that is, but as far as I know no one has really pulled off client side rendering in any way looking even close to equal on all browsers and platforms. I know I spent years on another project trying to do just that before resigning to render the final result (PDF in this case) server side - so at least _that_ was consistent, albeit unfortunately not with the expectations one has from having seen the client side rendering before.

comment 7y ago · link · parent

The actor most likely to make mistakes is the one reporting the numbers in the first place, i.e. the employer. And yes they would be held accountable for that just as the government, could you show that the numbers your employer reported is not what shows up on your tax report. This is how it’s like in many European countries and it pretty much just works.

comment 7y ago · link · parent

So not a blind test at all then, and just as easily biased as the expensive wooden knob that subjectively was so much better.
12345