Write up a blog post about my recent work on my homelab dev.to/umarov/dynamic-dns-sy…
26
Muzafar retweeted
auto-growing <textarea> without JavaScript!
CSS is getting field-sizing: content; to size inputs by their contents.
Dropped in Chrome Canary today, demo here:
Muzafar retweeted
tests are not a replacement for types
types are not a replacement for tests
if you exist in either of these camps you are wrong
Muzafar retweeted
Hulu is actually now almost entirely built with @nextjs in TypeScript. Type safety has helped us as our engineering team has grown to hundreds of developers.
Gotta love the pivot from "it doesn't scale" to "you can't write real systems without types" as the new ding-dong argument against dynamically-typed languages like Ruby (and vanilla JavaScript and Smalltalk and...). rubyonrails.org
Muzafar retweeted
I helped Twitch move off the Rails codebase due to scaling and maintainability issues. They’re now a Go backend and TypeScript frontend
Gotta love the pivot from "it doesn't scale" to "you can't write real systems without types" as the new ding-dong argument against dynamically-typed languages like Ruby (and vanilla JavaScript and Smalltalk and...). rubyonrails.org
Muzafar retweeted
removing types from your own code is clownish, epically misguided behaviour, but whatever — to each their own. removing types from a library THAT OTHER PEOPLE HAVE TO USE, however, is just user-hostile dickwaddery
"So farewell, TypeScript. May you bring much rigor and satisfaction to your tribe while letting the rest of us enjoy JavaScript in the glorious spirit it was originally designed: Free of strong typing." world.hey.com/dhh/turbo-8-is…
Muzafar retweeted
during a code review, if you leave a nit and your nit is fine to be ignored don't leave it
you clutter the pr
you distract from any real issues
your preferences are just that, stfu and make a prettier / eslint / clangformat rule and move on with your day
Muzafar retweeted
Not a #golang specific tip, but people often give the advice "the best way to get better at any programming language is to write more programs". This is true at the start, but as you begin to get more comfortable with the language, the best way to improve is to read lots of other people's code too.
Every week for 30 minutes I will find a repo on Github and just read it. I tend to start with the entry point (usually main.go) and look for interesting patterns and ideas to see what I can learn from them.
Here are some of my favourites:
- github.com/google/exposure-n…. This was reference server co-authored by Apple and Google during Covid. The way they use the logger inspired the way I have logged ever since. It also looks very similar to Slog that just got released.
- github.com/matryer/xbar by @matryer. This one is really interesting as its just a completely different way to use go.
- github.com/ardanlabs/service by @ardanlabs . The ardan Labs folk run a whole course on how to write this service but kindly make it open source and free. It has examples of tracing, logging, profiling and much more. A really great place to learn.
- github.com/charmbracelet/bub… yields incredibly beautiful TUIs, and does some interesting things with Go to achieve it.
- github.com/Humpheh/goboy a Frigging gameboy emulator written in Go!
Which repos have you learnt a bunch from?
What repos should I read in the next few weeks? Feel free to share your own :)
Muzafar retweeted
It's 2023. You don't always need a whole library or even RegExp to validate email addresses with JavaScript. Instead, create an email input and let the browser handle it natively.

ALT const validateEmail = email => { const validator = document.querySelector('#validator') validator.value = email return validator.checkValidity() } validateEmail('foo') // false validateEmail('[email protected]') // true
Muzafar retweeted
Here it is! Patterns for Reactivity (~18 of them!) with Modern Vanilla JavaScript frontendmasters.com/blog/van…
Muzafar retweeted
Smooth list morphing with view transitions 😎
I'm a convert 💯
codepen.io/web-dot-dev/pen/q…
Muzafar retweeted
We are giving away a few @Michelin hats for #WinItWednesday! #MichelinVIR #LoveVA
How to Enter:
1. Repost this post 🔄
2. Like this post ❤️
@IMSA / @MichelinRaceUSA / @VisitVirginia
Muzafar retweeted
Borel, a typographic system for primary school.
The Borel project by @RosaFF_Wagner is a typographic toolbox which aims to establish a seamless connection between cursive strokes and common typographic structure.
fonts.google.com/specimen/Bo…
Muzafar retweeted
Don't think of your runway as how much time you have left but how many iterations you have left. Lowering your iteration cost will multiply your runway.
Muzafar retweeted
Elon Musk wealth:
2014: $8 billion
2023: $227 billion
Jeff Bezos wealth:
2014: $32 Billion
2023: $161 Billion
Bill Gates wealth:
2014: $76 billion
2023: $117 billion
Federal minimum wage:
2014: $7.25
2023: $7.25
Tax the damn rich.
Muzafar retweeted
how has everyone read "Designing Data Intensive Applications" but no one knows anything still
doesn't that mean the book is bad
Muzafar retweeted
this was a question about implementing multi-tenancy in a single database
basically even though you have many customers, you want to pretend like each customer has their own database
most products get this wrong and then end up missing some useful features
read below
Muzafar retweeted
Vercel tells employees to return to AWS for deployments
Zoom tells employees to return to office for work
Readers added context they thought people might want to know
Employees have been asked to return for 2 days a week
nypost.com/2023/08/05/zoo…
























