Muzafar (@mumarov) header
Muzafar (@mumarov) profile picture

void

Washington, DC
Joined May 2009
Photo by Muzafar (@mumarov)Photo by Muzafar (@mumarov)Photo by Muzafar (@mumarov)Photo by Muzafar (@mumarov)Photo by Muzafar (@mumarov)Photo by Muzafar (@mumarov)Photo by Muzafar (@mumarov)Photo by Muzafar (@mumarov)Photo by Muzafar (@mumarov)Photo by Muzafar (@mumarov)
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:
31
245
28
1,920
203,665
Muzafar retweeted
you've made this mistake at least once.
228
70
61
1,625
486,275
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
82
63
13
1,032
121,170
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
30
92
27
1,939
462,463
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
124
168
52
4,147
1,163,051
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…
69
257
38
2,592
449,114
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
45
42
8
643
53,280
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 :)
38
212
15
1,206
179,327
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.
86
182
32
1,949
329,808
Muzafar retweeted
Smooth list morphing with view transitions 😎 I'm a convert 💯 codepen.io/web-dot-dev/pen/q…
15
84
3
664
86,939
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
9
100
3
122
5,470
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…
23
272
56
2,660
202,030
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.
1
5
2
55
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.
558
1,796
101
5,845
298,582
Muzafar retweeted
how has everyone read "Designing Data Intensive Applications" but no one knows anything still doesn't that mean the book is bad
45
12
3
379
99,855
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
another challenge, SQL edition suppose you are building a b2b application with the concept of workspaces you have a column on most tables called `workspace_id` eg. the user table would have `workspace_id, id, email` how could you structure primary keys/additional indexes?
45
45
4
493
203,886
Muzafar retweeted
Unpopular opinion: Python has a terrible readability
68
34
15
637
83,844
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…
25
91
6
1,862
174,615