- The Carrot
CLICK ME
The worst kept secret is that employees are making less on average every year. There are millions of reasons for this, but we’re going to focus on one that we can control. Staying employed at the same company for over two years on average is going to make you earn less over 10 years by about 50% or more.
Keep in mind that 50% is a conservative number at the lowest end of the spectrum. The longer you work, the greater the difference will become over your lifetime.
package main | |
import ( | |
"flag" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"os" | |
"golang.org/x/net/context" |
Original Font | Google Free Font | Usage |
---|---|---|
Scala Sans | Alegreya Sans | Tables, info boxes, examples of play, character sheet |
Scala Sans Caps | Alegreya Sans SC | Table and info box heading, page numbers |
Modesto Bold Condensed | Girassol Red Rose Alegreya SC | Cover |
Mrs Eaves Small Caps | Libre Baskerville | Headi |
Temporal and Watermill solve different problems, or solve problems differently. From a domain perspective, Temporal workflows implement policies and as a result they provide orchestration for the entire process. Nothing stops you from implementing workflows that span through different domains (bounded contexts) though, so if the process is well defined, you can implement it in a single workflow. That gives you the advantage of being able to remediate if any of the steps fail (eg. if the payment fails, the order shouldn't be sent to shipping).
That's not always the case though. Sometimes you need to provide integration points in the system that lets actors outside of a business process to react to events which is when Watermill comes into the picture.
Ultimately, the two can be combined very easily. For example, a Temporal activity can send an event to watermill, or a watermill event can start a new workflow.
As a rule
This is my notes from a few articles:
Some error values are mostly just used for control flow. For example, "Access Denied", or "Authentication Required".
In my opinion, you should only add stack trace to an error which is potentially going to break your program. A logical error like we have seen in the authorization example does not need a track state. But since Wrap method can be used to ammend original error message which is also called as annotating an error, the choice is up to you.
The types of errors that would bubble up to be a 500 Internal Server Error generally require investigation by a developer. In these cases, a stacktrace (and ideally other contextual information) is incredibly valuable.
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
You can think loosely of channels like pipes for fluid - pour it in one end and out at the other.
By including the arrow <- chan
or chan <-
, you are achieving three things:
- You are making it clear that the parameter is one end of a channel.
- You are expressing clearly which end is being supplied.
- You are giving more information to the compiler for checking. If the function body tries to use the wrong end of the channel, the compiler can raise an error. These are good reasons to show the channel end whenever possible.
| when you see | which end is of the channel is it for? |
package main | |
import ( | |
"fmt" | |
"os" | |
"strings" | |
"github.com/go-git/go-git/v5" | |
) |
Hi Steve,
You go to APIs and Services > Credentials in the console and you can either take one of the keys that are already there or you can create a new one with the "Create Credentials" button. This is the only way to create API keys, but they can be reused any amount of times. There is a feature request to create them with a gcloud command, however. You can follow it here if you're interested. https://issuetracker.google.com/76227920
Let me know if you have any other questions or concerns and I'll be happy to help.
Cheers!
The cheapest way to go is to get a table top and some fixed legs. Pick sitting or standing heigh, and then never change it.
Ikea Table tops | Dimensions | Price |
---|---|---|
Ikea Bekant oak veneer | 47 1/4x31 1/2 " | $80 |
Ikea Bekant oak veneer | 55 1/8x23 5/8 " | $90 |
Ikea Bekant oak veneer | 63x31.5" | $100 |
Ikea Gerton beech | 61x29.5" | $100 |