abbadon420

joined 1 year ago
[–] [email protected] 1 points 3 days ago* (last edited 3 days ago)

It's not really abstraction though. It is more like syntactic sugar. In stead of 1000111011 you say ADD, but it is still the exact same thing. There is no functional, prgrammatical benefit of one over the other. It's just that asm is readable by humans.

At least thats as far as I understand asm. I haven't gone beyond NandToTetris

[–] [email protected] 3 points 3 days ago

Cows are usually very curious and nice. You have to remember that they are wild animals though and unpredictable. They could kill you by sitting on you.

If you act natural, don't make any sudden movements, than you're good. Also get out of the way, because they will just run over you. Especially in spring, when they get out of the barn for the first time since fall. They're blinded by the light and a little spring crazy.

Bulls are a different matter. You they're less sweet.

[–] [email protected] 1 points 4 days ago (1 children)

Stacks are for idiots, racks are what we need and blades are the real deal.

[–] [email protected] 1 points 5 days ago

There has always been a margin for failure, but the margins need to change with climate change and that is something they're working on all the time. At least where i live.

[–] [email protected] 7 points 5 days ago (3 children)

Yes they do. At least they're working on it, like more and bigger basins, less waste and spilage, better throughput, etc.

[–] [email protected] 49 points 5 days ago (12 children)

This might be true, but it's rapidly changing due to a collaborative effort from big gaming companies, streaming services and hollywood. People are relearning the art of torrenting.

[–] [email protected] 73 points 5 days ago (15 children)

The second frame could also read "It sounds like a dying animal screaming in pain and agony"

[–] [email protected] 9 points 5 days ago (1 children)

Dit is wat nederland wil. Hier hebben we voor gestemd. Ik ben blij dat ik niet afhankelijk ben van de overheid voor mijn persoonlijke financien. Mijn vertrouwen in de overheid neemt de laatste jaren ook alleen maar af. Ik begin zelfs een lichte neiging te krijgen om politiek actief te worden in het kader van "als je wilt dat het goed gebeurt, moet je het zelf doen".

[–] [email protected] 3 points 5 days ago

Also, mobile idle games like clash of clans or simcity. Maybe some tactics like "I'll build this now so I can do that tomorrow" but that's not a puzzle, that is just choices.

[–] [email protected] 1 points 5 days ago

Het is wel een trent bij de rechtse partijen

[–] [email protected] 2 points 6 days ago (1 children)

Well.. it's saturday night and I ain't got anything better to do

[–] [email protected] 4 points 6 days ago (3 children)
 

I get postman exports from students which I use to check their work. The authorisation of those requests now often contain hardcoded jwt tokens that are invalid by the time I get to checking them and I have to change every individual request with a global variable.

I do instruct my students to use variables, but there's always a couple who just don't, but that's a whole different issue.

Right now I'm using a regex find and replace to remove the Request authorization header in the json export file (which than defaults to 'inherit from parent'). This sort of works, but isn't ideal.

Do any of you know if postman offers an easier solution for this?

 

The world has always been going the shit and will continue to go to shit until the end of time. It takes mountains to influence the tides of nations. You should take the responsibilities you can bear, but no more.

 
33
submitted 5 months ago* (last edited 5 months ago) by [email protected] to c/lemmyshitpost
 
 

The added image is a screenshot of how I see gifs in connect. There's supposed to be buttons in the bottom right corner, I've been told. But I can't see them. Do I need to add them in some setting somewhere?

 

I know how to implement basic oauth. My problem is that if I make a simple security filter like:

` @Bean

public SecurityFilterChain configure(HttpSecurity http) throws Exception {
    http
            .authorizeHttpRequests(authorize -> authorize
                    .anyRequest().authenticated()
            )
            .oauth2Login(withDefaults());
    return http.build();
}`

Than I can adress @GetMappings in my browser and get prompted a oauth login screen and login there, but I can't adress a PostMapping or GetMapping in postman, because it doesn't redirect to a login screen (you get the html for the login screen as the ResponseBody in postman)

I can get a valid acces token from auth0 via 'https://{yourDomain}/oauth/token', but if I simply pass that jwt along as a "Bearer token" in postman, it doesn't work. It still shows me the login-screen-html in the response body.

It seems to me there's two things I can do:

  • Make sure postman bypasses the login screen. I maybe don't really want to do that, since I want my backend and frontend to communicate their security through jwt. Or else I have to convince other people (from a different department) to change the way they implement frontend security, which is a pain for everyone. (If it needs to happen, it needs to happen though)
  • Make sure the backend parses the jwt somehow. Maybe an extra Filter that checks the jwt's validity with the provider? I'm not sure how to tackle this.
 

P.s I'm not gonna handwash. That's too much

 
 

For me it's definitely the Dark Tower, but the Golden Compas was also a huge letdown.

view more: ‹ prev next ›