Thomas Sandberg retweeted
Because it’s raining again, I updated the #ChatGPT doodle that I originally made in February.
Thomas Sandberg retweeted
I quit my job a few years ago so I could be an independent consultant.
The difference in my daily routine is amazing.
Before, as a full-time dev:
6am - Wake to alarm
630 - Drive to work
7-4 - At work. Eat breakfast and lunch at desk while working.
430 - Home. Fam time and dinner.
7-10 - Build my consulting biz
After, as an independent:
7ish - Wake to sunlight - No alarm
730 - Breakfast
8-930 - At gym with my wife
930-4 - Client work in my home office. Lunches with friends and fam. Afternoon walk with my wife.
4-9 - Relax. Fam time. Read.
Independence is amazing. Getting here was hard, but worth it.
Thomas Sandberg retweeted
🔥 These are 5 of my favorite tips for creating, moving and renaming files/folders in VS Code. File utils extension is 👌
Thomas Sandberg retweeted
Vite Tip: Seeing weird behavior? Run the build. Here's why:
Today I taught a team React with Vite. Someone's changes weren't applying on save.
Vite would load the latest file changes successfully on startup, but then fail to show any updates upon save.
Super confusing... 👇
Thomas Sandberg retweeted

Living Large by Living Little 🎼🎸🌊⛵️🌈 (he/him)@large_by12 Feb 2020
United States
United StatesConnected via United States App StoreAccount-level information, not a live location or per-post device.
Did you know that the phrases uppercase and lowercase came from the box the printers used to set the type? The caps were in the upper case and the smaller letters were in the lower case. #WritingCommunity #Print
Thomas Sandberg retweeted
⚛️ React context tip that I didn't learn until recently:
The Provider is *optional* – you might not need it!
This makes working with React context simpler for singleton-like ("global") usage.
Thomas Sandberg retweeted
ECMAScript excitement 😉
These proposals achieved stage advancement during this week's 90th TC39 meeting 🎉
4️⃣ findLast/findLastIndex
3️⃣ Symbols as WeakMap keys
3️⃣ JSON.parse source text access
3️⃣ RegExp modifiers
2️⃣ String.dedent
1️⃣ Import Reflection
1️⃣ RegExp Atomic Operators
Thomas Sandberg retweeted
Your mistakes don't define who you are. It's what you do after you have made the mistakes that makes all the difference.
Every mistake you make is a learning experience. They don't make you less capable. But it's how you correct them or learn from them that defines you.
Thomas Sandberg retweeted
The publishers of my book Code That Fits in Your Head are giving away three free copies of the DRM-free eBook.
For your chance to win retweet this tweet. Entries will close by the end of the week. Good luck!
informit.com/seemann
Thomas Sandberg retweeted
I love the Russian people. That is why I have to tell you the truth. Please watch and share.
Thomas Sandberg retweeted
You cannot get educated by this self-propagating system in which people study to pass exams, and teach others to pass exams, but nobody knows anything.
You learn something by doing it yourself, by asking questions, by thinking, and by experimenting.
Thomas Sandberg retweeted
The difference between a good student and a great one is that a good student is concerned more about the outcome while a great one is fascinated by the process of learning.
Thomas Sandberg retweeted
Performance tip: did you know you can make a fast function for relative time strings with ~30 lines of code and 0 dependencies?
Code in 🧵:
Thomas Sandberg retweeted
Performance tip: do you know about `overflow: clip`?
It is a modern alternative to `overflow: hidden` with better performance
Thomas Sandberg retweeted
For all its evil,war sometimes has a tiny silver lining. It can clarify the mind and reboot our ethical compass. It puts less serious things in perspective. It nudges us towards our neighbor and reminds us that our needs and interests are intertwined. It reignites our compassion.
Thomas Sandberg retweeted
5 key developer skills:
1. Decomposition: Break big problems down into small problems.
2. Grouping: Store related things together.
3. Naming: Describe things well.
4. Communication: Speak, write, and read well.
5. Grit: Don't give up easily. Be resilient.
Thomas Sandberg retweeted
Just learned about Ky, an elegant alternative to fetch or Axios.
github.com/sindresorhus/ky
Ky requires VERY little code to make HTTP calls. 👍
Here's a comparison making the same call with Ky vs fetch:
Thomas Sandberg retweeted
I find myself copying code, a “logger”, into a new repo. It’s the third time I do this. The logger is too tiny to even bother package as a library, but useful in many projects.
“I wish we had Polylith in Python” 🤔
We have that now! #Python #Monorepo
davidvujic.blogspot.com/2022…






















