- Shall i implement it?
- No ...
| object YAML: | |
| apiVersion: | |
| apps/v1 | |
| kind: | |
| Deployment | |
| metadata: | |
| name: | |
| "my-app" | |
| namespace: | |
| "my-app" |
I'm going to do something that I don't normally do, which is to say I'm going to talk about comparative benchmarks. In general, I try to confine performance discussion to absolute metrics as much as possible, or comparisons to other well-defined neutral reference points. This is precisely why Cats Effect's readme mentions a comparison to a fixed thread pool, rather doing comparisons with other asynchronous runtimes like Akka or ZIO. Comparisons in general devolve very quickly into emotional marketing.
But, just once, today we're going to talk about the emotional marketing. In particular, we're going to look at Cats Effect 3 and ZIO 2. Now, for context, as of this writing ZIO 2 has released their first milestone; they have not released a final 2.0 version. This implies straight off the bat that we're comparing apples to oranges a bit, since Cats Effect 3 has been out and in production for months. However, there has been a post going around which cites various compar
| package de.janhicken.cfwithscala | |
| import scala.scalajs.js.annotation.JSExportTopLevel | |
| object CloudFunctions { | |
| @JSExportTopLevel("helloWorld") | |
| val helloWorld: CloudFunction = (request, response) ⇒ { | |
| response.status(200).send("Hello World!") | |
| } | |
| } |
Here is the looks and feel of your terminal once the tutorial has been applied on your system:
Using Homebrew:
This means, on your local machine, you haven't made any SSH keys. Not to worry. Here's how to fix:
- Open git bash (Use the Windows search. To find it, type "git bash") or the Mac Terminal. Pro Tip: You can use any
*nixbased command prompt (but not the default Windows Command Prompt!) - Type
cd ~/.ssh. This will take you to the root directory for Git (LikelyC:\Users\[YOUR-USER-NAME]\.ssh\on Windows) - Within the
.sshfolder, there should be these two files:id_rsaandid_rsa.pub. These are the files that tell your computer how to communicate with GitHub, BitBucket, or any other Git based service. Typelsto see a directory listing. If those two files don't show up, proceed to the next step. NOTE: Your SSH keys must be namedid_rsaandid_rsa.pubin order for Git, GitHub, and BitBucket to recognize them by default. - To create the SSH keys, type
ssh-keygen -t rsa -C "your_email@example.com". Th
