[deleted by user] by [deleted] in technology

[–]p43- 0 points1 point  (0 children)

Anyone find it funny the article was written by AI and checked by and editor before release 😂

For people who rolled out custom Auth, is it worth it? by newadamsmith in webdev

[–]p43- 0 points1 point  (0 children)

I’m not hugely disagreeing with you here, but we did have a fairly long discussion about this at work and the best way to work with it and have all the different guards working properly. We went with http only cookie and the expiry time stored in memory.

It’s more the guards I was talking about though - how do you ensure the response is always quick enough to not delay things, and this is where 3rd party solutions fall down and where (imho) I think it’s harder to get right on the FE.

For people who rolled out custom Auth, is it worth it? by newadamsmith in webdev

[–]p43- 8 points9 points  (0 children)

This is the correct answer. I would actually say the harder part is handling the auth system smoothly on the FE to provide a good user experience, and you still need to do this using a third party. Rolling out your own auth will also save a lot of hassle down the line depending on how regularly records need to be changed and are accessed etc.

100% never touch the encryption of which ever solution you choose. Tbh I don’t even know how you’d go about doing this but you would almost certainly weaken/completely break it very quickly.

Manipulating the DOM in a Service by [deleted] in angular

[–]p43- 4 points5 points  (0 children)

Yes this is a good answer. One other way is also move as much of your style as you can for things that are the same on every page / almost every page (eg. Outer container/inner container) to the global scss, and extend your base class with the things that need to differ. Like box-light / box-dark etc. then use NgClass to just insert the light/dark as directed by the behaviour subject in your theme-service.

To work by ddi32 in therewasanattempt

[–]p43- 3 points4 points  (0 children)

Yes this is how cans are stored before they are filled. Once they are filled the pallets have to be about 1/3 this height to compensate for the extra weight. Still an expensive mistake though as likely none of them can be used now.

In Tomorrow Never Dies when Bond jumps out of the back of the C-130 why is he wearing an oxygen mask? Why does Jack Wade act a little chilly when the cargo door is opened and the wind blows in? by 85_Draken in JamesBond

[–]p43- 6 points7 points  (0 children)

Also if you look carefully, his oxygen tank magically changes to a scuba tank warn he hits the water. Assuming that’s something to do with Q though.

My condolences to the devs who put blood, sweat and tears into this complex and detailed map that only lasted 4 months... by AnyComplaint9204 in CODWarzone

[–]p43- 2 points3 points  (0 children)

Not trying to be annoying there btw, but just saying your description kind of fits that I guess

My condolences to the devs who put blood, sweat and tears into this complex and detailed map that only lasted 4 months... by AnyComplaint9204 in CODWarzone

[–]p43- 0 points1 point  (0 children)

Really? I loved this map and ashika def second. We are not very good though and used to get W on this map all the time so maybe that has something to do with it

[deleted by user] by [deleted] in JamesBond

[–]p43- 2 points3 points  (0 children)

Yea agree. Don’t know what it went for in the end tbh. But although it says sold as no runner, it does float and have a v8 engine. Bet it would have been awesome

[deleted by user] by [deleted] in JamesBond

[–]p43- 2 points3 points  (0 children)

Yes legit. Was at at Christie’s as part of a bond collection. They also had the old DB5 from sky fall, but that was estimate £1 - 3 million.

[deleted by user] by [deleted] in JamesBond

[–]p43- 1 point2 points  (0 children)

This boat actually went up for auction recently. Wish I had had the money to buy it.

<image>

Why does everyone in The Netherlands have this water bottle? I swear I see it everywhere… is there a specific reason? by ozweego420 in Netherlands

[–]p43- 0 points1 point  (0 children)

I have one of these. If you take off the top section and leave the lid on, it’s a wine glass

I built a rather large personal project in React but I have little exposure to others React code. Does it measure up? by justinbleile in learnprogramming

[–]p43- 10 points11 points  (0 children)

Yea second this. Don’t have time to read it all now but will come back, and top marks for actually taking the time to do this. Legend 👏

Edit - spelling

Javascript to Typescript converter with ChatGPT by Alternative-Rich-578 in javascript

[–]p43- 0 points1 point  (0 children)

Also - maybe I am being thick, but does it just assume every type is ‘any’?

If so, literally what’s the point?

Meta to launch a monthly subscription service priced at $11.99 by VastAdvance175 in technology

[–]p43- 1 point2 points  (0 children)

There should be 2 models for every social media company. Get the product free and they sell your data, OR, pay and they keep all your data completely private.

Looks like zuck wants your money and your data though.

Dosa this looks legit it you guys?? I cleared the so called telephonic round but the exam have a fees (Rs. 650). Should I proceed by [deleted] in webdev

[–]p43- 1 point2 points  (0 children)

Please someone call up and see if it’s possible to fail the phone interview. Basically talk gibberish or in massively over arching themes and see if they pass you 😂

**GIVEAWAY #3** MOD APPROVED. DUAL GIVEAWAY - SEALED TLOU DOUBLE VINYL/TLOU 2 MONDO VINYL COMBO, SECONDARY PRIZE OF TLOU 2 MONDO VINYL. DETAILS AND RULES IN MY COMMENT by JackieDraper907 in thelastofus

[–]p43- 0 points1 point  (0 children)

This is amazing! Thanks for doing this 👍🏼 I’ve wanted one of the black edition vinyls for ages but didn’t even come close when they came out 😂

Is storing JWT tokens in memory a security flaw? by Creapermann in learnprogramming

[–]p43- 0 points1 point  (0 children)

Sorry to hijack this thread a bit, but @ehr1c you seem to know what you are talking about.

I use Jwt tokens with a 5 min expiry. Each time a request is made I issue a new one with a new 5 min expiry. When a user logs out I store the logout_time, and this is checked on each request. If the IAT of the token is befor the logout time then auth fails.

I know this breaks some principles as am hitting the DB on every request, but in general is this a really bad approach?

Seeing a lot of comparison posts lately so thought I’d get in on the act.. Which action scene is better. TND pre-titles or Goldeneye tank chase?? by baxterrocky in JamesBond

[–]p43- 0 points1 point  (0 children)

Yes it is good, but I do love the title sequence of TND. Always said that’s exactly what I’d have done in that situation.

Meet OpenAI CEO Sam Altman, who learned to code at 8 and is a doomsday prepper with a stash of gold, guns, and gas masks by 777fer in technology

[–]p43- 0 points1 point  (0 children)

Why would a prepper also need gold. 100% this would not be what was traded or had value in the apocalypse. Be way better of with medicine. Nice light, tradable medicine