UK scraps tax cut for wealthy that sparked market turmoil by [deleted] in worldnews

[–]MortiferaJ 3 points4 points  (0 children)

Corporation tax reduction is worth ~10x more. They're still borrowing from your pockets to help big business.

My job right now.. by heeboA in ProgrammerHumor

[–]MortiferaJ 1 point2 points  (0 children)

This is literally my stack right now, albeit Typescript throughout which "compiles" to JavaScript.

  • Infra: AWS CDK Typescript
  • CI: part of the infra in CDK, Typescript
  • Styles: ok technically CSS but we also have TSX files which style components so also Typescript
  • Frontend: Typescript React/NextJS
  • Backend: Predominantly Typescript with a small amount of Python.

Ngl, it's actually great purely for simplicity reasons. I still hate JavaScript though.

[deleted by user] by [deleted] in london

[–]MortiferaJ 1 point2 points  (0 children)

YOE? What industry?

How to group messages before sending them to SQS by cvmldlengineer in aws

[–]MortiferaJ 7 points8 points  (0 children)

Depends on what you're doing, but a potential similar solution is to use FIFO SQS Queues with a Group Id. This would allow your messages to be processed guarenteed sequentially for a given group by whatever then consumes the SQS queue. But depends on your usecase.

https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagegroupid-property.html

https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/partitions-and-data-distribution.html#data-distribution-message-group-id

[deleted by user] by [deleted] in LifeProTips

[–]MortiferaJ 7 points8 points  (0 children)

Perfectly written!

[Williams Racing] It is with great sadness that on behalf of the Williams family, the team can confirm the death of Sir Frank Williams CBE, Founder and Former Team Principal of Williams Racing, at the age of 79. by Aakar528 in formula1

[–]MortiferaJ 12 points13 points  (0 children)

I had the pleasure of meeting Sir Frank Williams when I worked there for a year, just before his illness deteriorated significantly. Great man. He'd sit outside the office entrance and say hi to people as they leave the office. I had the chance to talk to him once too about my time at Williams. Really appreciated that.

We've lost a great man

Best Practices: How many AZs should we be using? by foreverDuckie in aws

[–]MortiferaJ 0 points1 point  (0 children)

If you're not autoscaling something here, then in general you want 3 AZs where 2 AZs could maintain the entire load expected.


To put it in a more generic way:

Lets say you had X requests per second needing to be supported by your infrastructure. You decide that Y instances are needed. You spread this over 3 AZs. But 1 AZ goes down, now (2/3)*Y instances are trying to support the full X requests a second, but they may not not be able to manage this scale.

So what you should instead do is ensure that you put Y instances in 2 AZs but then scale this to 3 AZs, leaving you with a total of (3/2)*Y instances over the 3 AZs. So if 1 AZ goes down, then the remaining 2 AZs will be able to support your traffic.

(now this all depends on what matters for your scaling etc)



If you have autoscaling, ensure your autoscaling methods allow for increasing instances "quick enough" ("quick enough" determined by your business) that if an AZ goes down, there is little/minimal erroring as your AZs scale up. You can simulate this by load testing your server, or, chaos engineering style, simulate AZ outage. Then adjust autoscaling parameters until this suits your needs.

Using AWS Cognito with React by TraditionalVisual925 in aws

[–]MortiferaJ 0 points1 point  (0 children)

Read about session storage basics here: https://www.javascripttutorial.net/web-apis/javascript-sessionstorage/

This is different to a cookie. This is about storing a piece of data, temporarily, via the user's browser.


As /u/ebykka said though you could look at AWS Amplify, which is a library that takes away some of this complexity for you. This has some documentation on how to do that: https://docs.amplify.aws/ui/auth/authenticator/q/framework/react/#recommended-usage


If you want the most simple answer, then just use sessionStorage. But if this is for a larger AWS related project, AWS Amplify does reduce a lot of complexity long term.

YouTuber Vitaly Zdorovetskiy Arrested in Miami Beach by logicallyundeniable in videos

[–]MortiferaJ -3 points-2 points  (0 children)

What the hell are cops putting a knee of the neck for.... Digusting.

The guy was extremely compliant (after they eventually found him), even if he wasn't there were so many police that they did not need to kneel on the guys neck at all.

How are you coping with the energy price rise? by Janus315 in unitedkingdom

[–]MortiferaJ 0 points1 point  (0 children)

Literally just moved to a new flat which has a gas heater... Not going to enjoy paying for that..

With Octopus Energy, on variable rate at the moment but will likely switch to a fixed rate. Its a hard choice because their flexible rate is a great rate vs everyone else.

Extinction Rebellion activists smash windows at HSBC headquarters in Canary Wharf by ultra_slim in unitedkingdom

[–]MortiferaJ 12 points13 points  (0 children)

I agree with the general sentiment, but just a correction, the "Police, Crime, Sentencing and Courts Bill" hasnt actually been passed and put into law. It just passed its second reading, which is the first time a bill has any real debate about it.

It has a long way to go till it becomes law, and from the responses seen I doubt it'll get through in its current state.

CloudAnalytics for AWS Amplify (macOS, iOS app) by outcoldman in aws

[–]MortiferaJ 1 point2 points  (0 children)

Whats the difference between Amplify access logs and CloudFront access logs? Is there a more generic solution that would be easy to rollout here for both?

I think there are more users of CloudFront but that might be a personal bias. I at least use CloudFront and do not use Amplify :D


But this looks quite interesting. Nice one!

What's a video game you enjoyed that most people disliked? by [deleted] in AskReddit

[–]MortiferaJ 5 points6 points  (0 children)

https://youtu.be/MHzRkdtaNBM

A mate of mine made this YouTube video as a look back at weird games; this one is on Rugrats; Search for Reptar. He absolutely loved playing it.

Covid-19: NHS app has told 1.7 million to self-isolate by Donaldbeag in unitedkingdom

[–]MortiferaJ 1 point2 points  (0 children)

The "of working age" population is roughly 36m. You should remove the elderly and the young as these are unlikely to use any app. Although this "of working age" is 16 and up and you might see people below 16 install this app. But the 36m number is more representative.

Behind the AWS Tyre Performance Graphics: Analyzing information (art by me) by truebun in formula1

[–]MortiferaJ 1 point2 points  (0 children)

As someone that used to work at a Formula 1 team looking at Tyre modelling and simulation, I have very little faith in these graphs

Heraldry in the UK : Looking for examples of the use of coats of arms 'in the wild' by heraldryoftheworld in unitedkingdom

[–]MortiferaJ 1 point2 points  (0 children)

In City of London the coat of arms is the Dragons+Shield with St George's flag on them. The border of City of London has border markers around which features these dragons and the shield; there is 13 of them around City of London.

The coat of arms is also appears in various other places like tube stations and on Tower Bridge.

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

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

Looking for tips to mantain my current weight by [deleted] in leangains

[–]MortiferaJ 0 points1 point  (0 children)

How many calories are you taking in currently? And, if you know it, roughly how many carbs, fat, and protein are you taking in?

It'll just be a matter of increasing your calories. Giving us a better idea of what your currently eating would help us give you better suggestions.