Engineering protip: Solve the problem.

Your fantastic code doesn't matter unless you solve the problem.
You are encouraged to improve code after the problem is solved.

Ensures you don’t waste a bunch of time optimizing a solution that doesn’t work 😉
It’s like moneyball 👉 nobody cares how pretty you are, how charming or popular, how many Twitter followers, the number of talks, or the design of your Emacs theme …

Do you get on base?

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Swizec Teller published ServerlessHandbook.dev

Swizec Teller published ServerlessHandbook.dev Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @Swizec

3 May
Your job as an engineer is to make yourself unnecessary.

A fun story 👇
We built a caching system for a slow 3rd party that our ops team uses to do stuff. Sometimes webhooks take 30min to tell us the cache needs updating.

Eh whatever, they set up well in advance. This isn’t a problem

And then ...
Hey we did this thing and it isn’t instantly showing up!!

Yeah it wouldn’t. Wasn’t designed to.

BUT WE NEED IT!!!!!111one

💩

Okay, we’ll clear the cache for ya. Ping us when you need us
Read 7 tweets
2 May
When Americans don’t understand how Europians can have such strong feelings about ethnicity when “everyone looks the same”

lol amateurs
Racism in Europe is such a tricky topic *because* it's hard to draw a line.

Are Spanish people brown? Of course not
They became brown by creating Mexico ... waitaminute 🤔

Greeks are white yes?
Are Turks white?
Gets tricky because of the christian-muslim divide
I think most people would say Turkey is white.

Okay what about Syria? It's parallel to Cyprus on the map. Is Cyprus white?

What about North Africa in general. Especially Algiers, Tunis, Morocco, etc. White or brown? 🤨
Read 9 tweets
2 Mar
Variants – a quick tip for better React components

A pattern I've seen lots is adding a bunch of booleans to cover different use-cases of a reusable #React component. This makes components hard to use

A variant prop has worked great so far 🧵

swizec.com/blog/variants-…
You start with a smol reusable component

Then it grows, you boolean all the things ImageImage
And your component blows up in complexity. At 3 bools you have 8 different ways to hold your component.

You think you'll get it right every time? Debugging becomes into a game of whack-a-mole Image
Read 6 tweets
19 Jan
Got so close to working Firebase support in useAuth last night I can almost smell it 🤞

here's a recap 🧵

swizec.com/blog/codewiths…
We finished the stream with a broken flow. A callback doesn't callback, very strange.

And we found that Firebase is "hot garbage" as @tannerlinsley called it. Confusing API, strange docs, odd types.

Worst part of working with Firebase is Google's SEO.

Paste error into Google, get the docs. Docs don't even mention the error. 🙊
Read 5 tweets
23 Jun 20
Been having an interesting debate about "managing up" with some friends this morning and interesting patterns cropped up

👇
1) Managing up with a bad manager feels like you're doing their job. You aren't, but it feels like you are.

This is when folks are most frustrated and complain. It sucks for everyone involved.

Manager thinks you're unmanageable. You think manager just gets in the way.
2) Managing up with a great manager feels like Just Communication.

They set direction and talk company priorities.
You decide how to achieve those priorities, communicate blockers and hiccups, proactively say what's up, and keep the manager informed.
Read 6 tweets
17 Feb 19
Some fun stats from product sidehustle land 👇

Since March 2015

2695 hours
1.8 hrs/day average

3-ish products
~2800 sales
$139,208 revenue post fees
$81,767 expenses

$21/hour 🤔

This must be why most people share only the revenue numbers #open
Now the obvious question: Why would anyone do this?

Well for starters it's still better than a coding job back home. My first job building websites was for $7/hour.

That was in high school.
I eventually got better jobs, yes. Mostly thanks to moving into freelancing, being picky about clients, and choosing to work for foreign clients (primarily US startup land) whenever possible.

That got me to about $70,000/year. It was great. Lived like a king.
Read 14 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!