NEW on ConTejas Code
@jescalan
: How to Build and Run Effective Engineering Teams
Summary
In this episode, Jeff Escalante (Director of Engineering at
@ClerkDev
) discusses his shift from web development to management, emphasizing replacing oneself as an IC, expanding vision, and…
NEW on ConTejas Code
@biilmann
: How we built
@Netlify
Summary
In this episode, Matthias Biilmann, co-founder and CEO of Netlify, discusses the evolution of Netlify and inventing the term "Jamstack" in the serverless landscape. Throughout this conversation, Matt shares essential…
🔥 MAJOR CAREER ANNOUNCEMENT!
I wanted to:
- solve problems at massive scale,
- do open source full time,
- have it be related to a hobby,
- work with people I enjoy and admire.
Excited to start my new job at...
REMOTE WORKERS!
👂🏻 I’ve been hearing y’all speak about struggles with routine working remotely.
Here’s what helps me:
🔋 Start on a fully charged laptop
🔌 Work unplugged
🏋🏾♂️ When the battery is very low, that’s my cue for self-care or to go for a walk
⚡️ Charge it
♻️ Repeat
🔥 HTML has native support for autocomplete-style dropdowns attached to inputs via the <datalist> element.
This input behaves like a <select> but you can type text in it and choose a specific value.
Incredible. 😍
🎨 Play on
@codepen
:
🔥 Did you know that you can observe CSS media queries in JavaScript and respond to them?
This works with any media query, including the one to detect dark mode!
🎨 Play on
@codepen
:
git tip:
if you've been frustrated by not being able to pull or rebase because you have existing changes,
say hello to my little friend:
`git pull --autostash`
“We made a mistake hiring you”
“Omg your Indian code sucks”
“You should kill yourself! You don’t understand code!”
All things I heard in old work experience. I cried a lot and never thought I’d make it. If I can do it, so can you 😁❤️
One path to becoming a web developer:
• Learn HTML
• Build a basic page/document
• How do we make it pretty?
• Learn CSS
• Make it pretty with CSS
• How’s it look on mobile?
• Learn responsive web
• Make it universally pretty
• I want it interactive
• Learn JavaScript
Want to be great at code? JavaScript? React? Web Development?
Heck, even more – want to be better at life? Successful? Happy?! Do not give up and consistently practice!
But how do you keep going? You need to be a little bit delusional – and optimistic. (1/8)
I recently spoke to an engineer who mentioned he doesn’t bill contracts hourly but per project.
I asked why and he said “I don’t want to be penalized for being efficient”. I found this to be astonishing and have been thinking about this ever since.
If anyone has been “let go” from their non-IT job because of the pandemic and has a hard time finding another one,
I will personally teach you to code if you want to learn and help you find a coding job at any age.
The only important factor is your desire.
🔥 HTML’s <q> element is a BEAST.
• Locale-aware
• Nests correctly
Incredibly useful for when you wonder how to write “quotes ‘nested’ in quotes”, or when you want to display quoted text IN THE LOCALE OF YOUR READER. 😍🔥😍🔥😍🔥
🎨 Play on
@CodePen
:
Hire more entry-level developers. I've seen companies flourish when they have 1 (or a few) "senior" (experienced) developer(s) + a large team of entry-levels.
The seniors provide direction and the eager entry-level developers run fast in those directions, learning along the way.
Today, I am a published author.
Honored, privileged, and thankful for the opportunity and support from so many of you including
@phry
,
@ythecombinator
,
@danieljcafonso
,
@SergiiKirianov
and more.
Pick up your copy anywhere books are sold, like on Amazon.
import MyComponent from '../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../components/MyComponent';
🙃
We think working too much leads to burnout. This is scientifically incorrect. If it was true, Einstein, Jobs,
@elonmusk
et al would’ve burned out a long time ago.
Burnout doesn’t come from working a lot.
Burn out comes from working a lot wherein the work has no meaningfulness.
Today I turn 30.
These are my life goals:
- be patient
- be kind
- hold no envy or hubris
- be the first to come last for others
- be gentle, not forceful
- be slow to anger
- trust without keeping score
- be honest even if it’s uncomfortable
- above all, genuinely love people
Claire is THIRTEEN YEARS OLD and writing code! 🤯 This is just a glimpse of the mind-blowing nature of things I've seen from Nigeria's developer community at
#oscafest22
. It's unbelievable! 🔥
🎉 I am honored and privileged to announce that I have officially joined
@g2i_co
as the Head of Vetting (Engineer Evaluation).
Together, we’re going to build incredible things and empower coming generations of engineers in ways that greatly excite me. 😍
I built an entire online streaming platform as a PWA sans video infrastructure (because I don't have datacenters or my own global CDN) with live chat + emoji reactions + photo/video upload + markdown support + i18n sync as a side project outside of my full-time job in 12 days.
In JavaScript, I have an Array that renders fine when I do
- 1
- 100
- 100000
rows until I try 300K, and then it randomly stops around 294773 in a map function.
Is this some known issue or have I found myself in a new JavaScript hell?
Carefully consider how you choose your data structures, my friends! Access on the left snippet here is ~70% faster than the one on the right because the left one requires no iteration. The right does.
I've seen the slow style (right) quite often.
JSPerf:
This is the week of my wedding.
I will not be tweeting that much about tech.
Things might get a little cheesy.
You’ve been warned.
Unfollow if needed.
Love you.
Presenting danGPT: I pulled every post *ever* from
@dan_abramov2
and built a RAG-based GenAI.
It’s a silly side project that may be helpful. Let me know if it is, and if you’d like it open sourced and taught in a YouTube video or similar.
👉 Try it:
Sadly, I don’t have time to make this but can someone please build a Dan chatbot with all his RSC tweets for the last couple years?
Then when there’s an RSC question we can just see if Dan’s already explained this. Ideally results can reference tweets to read in context.
I am officially a
#1
best selling author in the category of JavaScript on
@Amazon
.
I can’t believe it, and am eternally grateful for this milestone and the incredible community of peers, friends, and family that got me here.
Thank you all. I will not forget this.
My hot take is that rich text editors on digital media needs to be phased out and Markdown needs to become the standard. Not just for developers, for everyone.
🔥 Did you know about the HTML <details> and <summary> elements that give you expand/collapse style stateful behavior out of the box?
Here’s a common UI pattern, fully accessible, with ZERO JavaScript.
🎨 Play on
@codepen
:
🔥 Web performance tip: you can "tree-shake"
@googlefonts
imports by adding a `text` query param; it will only load the glyphs you need. You can also use unicode ranges.
❌ Before: 36.5 kB 😦
✅ After: 8.3 kB 😍
Pen:
More in my talk at
@viewsourceconf
!
🔥 In case you missed it, we have a media query that supports checking if a user can hover, and then styling things accordingly.
Useful if you want to provide pleasant user experiences for both touch and non-touch devices.
🎨 Play on
@codepen
:
[Content warning: blood]
I do this every Monday around 9:30am without a choice, because if I don’t, I will be dead a few hours later.
Having my life hang by this type of thread for 29 years has taught me to be thankful for every moment I have here while making the most of it.
🔥 Did you know that you can access HTML attribute values from CSS?
Here’s a single <div> card component with a title and content area. Its title is populated by CSS. 😍
🎨 Play on
@codepen
:
This layoff trend is so savage. My heart hurts especially this week, as 3 people dear to me and my family were completely blindsided by being laid off and now have to reshuffle their entire lives.
This is evil and inexcusable, first *how* people are laid off, and second, that…
If anybody wants to get into:
- open source
- React
- TypeScript
and is (or feels like) a newcomer, I'd like to invite you to fix this with us:
We'll personally mentor you and help you land the PR. 💞
I made this for my content creator friends: multilanguage, AI-generated subtitles.
`npx gen-subs for [video]`
🔒 Works offline with on-device machine learning models. Zero dependency on OpenAI/others.
🌐 Supports a wide variety of languages.
🎨 Customizable.
Try it yourself!