HTTP/3 is coming closer to being implemented in all modern browsers and enabled on most of popular hosting platforms.

But what are the differences between it and the older HTTP/2 (HTTP/1)

Probably the biggest difference is in the transport layer protocol that is being used — in HTTP/1 and HTTP/2 it was TCP protocol but now one called QUIC will replace it.
It was developed originally by Google and published in 2013 and passed over to IETF in 2015.

This directly translates to savings in latency, time to interactivity, quicker buffering of videos etc. Google recently did some testing and they got pretty good results while still using draft version of the implementation:

search latency decreased by over 2%…


Photo by Austin Distel on Unsplash

Should you pay your interns? Should you look for paid internship?

Let’s make some assumptions at the beginning — we aren’t discussing any particular job market, as these tend to differ a bit depending on the country. I myself, because I’m living in Poland will have a bit different experience when looking for internship or trying to hire interns than somebody doing the same on the US or India job market for example.

Let me make a statement — all internships should be payed PERIOD

I’ll explain in the few key points below why I think so:

  1. People have different circumstances, not everybody has parents / family that can provide for…

*free tier is available

Just recently AWS has started offering their new developers and devops oriented service CodeArtifact — which basically allows anybody to create artifact repository for free or later pay as you go if you go over free allowance (cheapest in US regions)
[free tier: a generous 2GB-month file storage and 100k requests/month — actual for Oct. 2020]

I will quickly guide you trough configuring it for usage with NPM, but as a matter of fact you can use also with many others like: Gradle, Maven, npm, yarn, pnpm, twine and pip.

Prerequisites:

  1. configured AWS CLI (a must)


Quick and readable, but is it fast?

There are myriads of solutions to Fizz Buzz online, some are super clever, some are hardly readable, some are fast and some are slow (looking at you “for loop” ;) but in my opinion the usage of reduce or map would be the most efficient in terms of workload vs. performance (the most performant would be the one that reduces amount of iterations to 28 as far as I know).

So why reduce over map?

In theory the answer is simple — reduce returns string in aggregated value when you pass empty string as second parameter .reduce(callback, …


Open in Visual Studio Code in Finder

While most of us will just launch VSC from our cozy command line using the code . command there is also a use case to be able to launch visual studio code from finder. Here’s how: (fyi: I’ve added also instruction to install code command if you don’t know how to do it at the bottom)

  1. Open Automator.app
  2. Choose “Quick Action”


Photo by Christian Wiediger on Unsplash

This is also the answer to “where to keep credentials for lambda functions” ;)

Good practice while working with AWS is to keep your sensitive data in the right place. Some people would say that ie: keeping that in environment variables in Lambda is secure enough and I would say why not utilize a more secure way with Secrets Manager? The argument would be that it adds a lot of additional boilerplate code to just get some “string”… yeah, it adds, but I would not say its unnecessary. Accessing Secrets Manager is super simple.

I will use a simple lambda…


First of go to AWS management console and create new lambda function, pick Node.js Runtime (this article was written on Node.js 12.x as runtime).

https://console.aws.amazon.com/

You will get something that looks like this:

exports.handler = async (event) => {
// TODO implement
const response = {
statusCode: 200,
body: JSON.stringify('Hello from Lambda!'),
};
return response;
};

O.K. let’s switch for a second to getting needed data from Shopify. Log in to your account go to Settings → Notifications → Scroll down, you will see Webhooks section. If you haven’t created any webhooks, you will not have integrity validation hash displayed…


They won’t write the code for you though… yet ;)

Foreword
This is the list of extensions for VSC that I use daily. They help me to keep the code high in quality and at least to some extent bug-free. They will be focused around web development but will not be limited to (especially the multilanguage tools list that follows… Hope this helps you in your day to day adventure in coding.

TLDR; for those who want names and links: 1. SonarLint (Javascript, TypeScript, Python, PHP) 2. Code Spell Checker (well checks your spelling) 3. ESLint (Javascript) 4. Gremlins tracker for Visual Studio Code (Unicode characters) 5. W3C Validation (HTML…

Damian Pieszczyński

Got more than 16+ years of experience in software development. https://www.linkedin.com/in/damian-pieszczynski/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store