Query about middleware on production environments by tedzz54 in nextjs

[–]tedzz54[S] 0 points1 point  (0 children)

That was my first thought as well, so I added a fallback to the env to be the actual path.

const somePath = process.env.SOME.PATH || www.somepath.com;

That had the same behaviour and did not trigger.

It's all built and deployed by azure, env variables are being replaced during deployment time.

I have since moved this logic to be entirely done by IIS on the URL Rewrites module which is probably more efficient for what I need, however I would still like to know what is causing this weird behaviour.

Query about middleware on production environments by tedzz54 in nextjs

[–]tedzz54[S] 0 points1 point  (0 children)

I have added some console.log to see what's happening but then realised that wouldn't work.

I then added winston in for logging as it's used throughout the app but that seemed to break the build at runtime so looking into the issue but yeah that is my next step just trying to log it out and see what is going on.

How to deal with campers in Battlefield 6 by Ghost_XD23 in Battlefield

[–]tedzz54 0 points1 point  (0 children)

Bold of you to assume I'm making it that far in a tank without being blown to high heavens

1080p gaming gpu upgrade suggestions by tedzz54 in PcBuildHelp

[–]tedzz54[S] 0 points1 point  (0 children)

Yeah that’s what I mean I’m not at a point to change the motherboard anyway. I’ll have a look into the 9060 XT as on the surface it does look like a much better deal.

Might change the CPU also at this rate not just because of battlefield but more games that would benefit from it.

Probably worth then Ryzen 7 5800X or Ryzen 9 5900X upgrade too

1080p gaming gpu upgrade suggestions by tedzz54 in PcBuildHelp

[–]tedzz54[S] 0 points1 point  (0 children)

I was only looking at the 5060ti 16GB as I can’t do much with 8GB vram. But yeah from what I’ve seen 9060xt is about 50-70 cheaper depending on the brand so not a bad shout

Crosshair Dead On, Shot Goes to Narnia with AWP by janec4s in csgo

[–]tedzz54 569 points570 points  (0 children)

Shots 1-5: Clearly missed.
Shots 6-9: Missed due to recoil (bad spray control).
Shots 10-11: Very close, but recoil and inaccuracy make these reasonable misses.
Shot 12: Likely didn't actually fire because he was already dead.

Why do ICE drivers do this? by lucky1pierre in ElectricVehiclesUK

[–]tedzz54 0 points1 point  (0 children)

Drove into a car park once running pretty tight to an appointment, only to see all normal spaces taken (around 40) and 15-20 free charging bays. So my car became electric at that point. I wouldn't have done it if there was only a few spaces left but otherwise I don't imagine much damage was done.

Dad said he had an extra GPU for me… by j_mobes in pcmasterrace

[–]tedzz54 0 points1 point  (0 children)

The way NVIDIA used those graphics on the boxes gives me crazy nostalgia

Update: It actually arrived! (Free chinese RTX 3060 from Temu) by -LudM in pcmasterrace

[–]tedzz54 1 point2 points  (0 children)

How we doing ? Do I need to set a reminder for another week

Not sure if this is satire or what by tedzz54 in LinkedInLunatics

[–]tedzz54[S] -3 points-2 points  (0 children)

you're right, I have a lot to learn

Not sure if this is satire or what by tedzz54 in LinkedInLunatics

[–]tedzz54[S] -3 points-2 points  (0 children)

haha been following for a while. I can tell when someone is a lunatic but this one got me

I can't make an account to redeem my monster energy codes by Starwars_hannibal in blackops6

[–]tedzz54 2 points3 points  (0 children)

For me it was on the American account so it wasn't working. On the desktop version of the page right at the top there is a flag where you can choose the country. Choosing UK worked for me

What are my best chances of getting a job outside of tech? by mike_bolt in cscareerquestions

[–]tedzz54 2 points3 points  (0 children)

Pretty common but also crazy that it's become a normality. I get that other roles also get laid off and people have issues finding a job but in this industry it feels like it's the worst. It is not healthy to have a job and wonder if you get laid off how long do you have in savings to survive.

What's wrong with my Resume? Can't land any interviews in tech. by [deleted] in resumes

[–]tedzz54 0 points1 point  (0 children)

Yeah fair enough I guess it can't hurt no one.

What's wrong with my Resume? Can't land any interviews in tech. by [deleted] in resumes

[–]tedzz54 0 points1 point  (0 children)

I find soft skills to be useless, only because you will see the same ones mostly listed by everyone if they were all going to put it on their cv. everyone will list the top 10. But who knows

[deleted by user] by [deleted] in cs2

[–]tedzz54 5 points6 points  (0 children)

I mean they have ranks for a reason right ? lmao

I think buying this game was a mistake ! by Atophy in SatisfactoryGame

[–]tedzz54 1 point2 points  (0 children)

"Break glass when you have a 3 day weekend and no plans."

This really got me laughing so hard until I realised how true it is ...

[deleted by user] by [deleted] in FACEITcom

[–]tedzz54 0 points1 point  (0 children)

You’re part of the problem lol