Dan M πŸ‡ΊπŸ‡¦πŸ‘¨β€πŸ’»πŸŽΎπŸš˜πŸ³οΈβ€πŸŒˆ (@devuxer) profile picture

UI/UX designer/prototyper/developer in San Diego. Tennis & automobile enthusiast. πŸ³β€πŸŒˆ him/his. @devuxer@mastodon.social

San Diego, CA
Joined January 2012
Photo by Dan M πŸ‡ΊπŸ‡¦πŸ‘¨β€πŸ’»πŸŽΎπŸš˜πŸ³οΈβ€πŸŒˆ (@devuxer)Photo by Dan M πŸ‡ΊπŸ‡¦πŸ‘¨β€πŸ’»πŸŽΎπŸš˜πŸ³οΈβ€πŸŒˆ (@devuxer)Photo by Dan M πŸ‡ΊπŸ‡¦πŸ‘¨β€πŸ’»πŸŽΎπŸš˜πŸ³οΈβ€πŸŒˆ (@devuxer)Photo by Dan M πŸ‡ΊπŸ‡¦πŸ‘¨β€πŸ’»πŸŽΎπŸš˜πŸ³οΈβ€πŸŒˆ (@devuxer)Photo by Dan M πŸ‡ΊπŸ‡¦πŸ‘¨β€πŸ’»πŸŽΎπŸš˜πŸ³οΈβ€πŸŒˆ (@devuxer)Photo by Dan M πŸ‡ΊπŸ‡¦πŸ‘¨β€πŸ’»πŸŽΎπŸš˜πŸ³οΈβ€πŸŒˆ (@devuxer)Photo by Dan M πŸ‡ΊπŸ‡¦πŸ‘¨β€πŸ’»πŸŽΎπŸš˜πŸ³οΈβ€πŸŒˆ (@devuxer)Photo by Dan M πŸ‡ΊπŸ‡¦πŸ‘¨β€πŸ’»πŸŽΎπŸš˜πŸ³οΈβ€πŸŒˆ (@devuxer)Photo by Dan M πŸ‡ΊπŸ‡¦πŸ‘¨β€πŸ’»πŸŽΎπŸš˜πŸ³οΈβ€πŸŒˆ (@devuxer)
Hey @mattbierner Not sure if this is a TS or VSCode issue, but are you aware of any recent changes to the way type information is displayed when hovering an item? For complex types, I find myself scrolling endlessly to get to the very end, where I finally land on: `} | null`.
1
43
While I'm on the topic of type hovering, has your team ever considered the possibility of showing type names (as it does with interfaces) instead of only definitions? There are times the definitions are just overwhelming (even with ellipsis shortening them somewhat). Thx!
19
If you’re vaguely familiar with Flight Control and would like to learn more, check out yesterday’s @syntaxfm. @flybayer gives a nice deep dive. Also find out why you should code while sitting on a bench!
1
1
3
960
Dan M πŸ‡ΊπŸ‡¦πŸ‘¨β€πŸ’»πŸŽΎπŸš˜πŸ³οΈβ€πŸŒˆ retweeted
Oh boy, I sure hope this one gets added to JavaScript. Would cut down on a lot of my current .reduce() usage. Currently stage 2, Array grouping would make it easy to group items of an array. Works with Maps too, so you could use any type as a key.
48
165
8
1,428
199,344
Just asked ChatGPT to explain a regex pattern to me, and it was tremendously less brain and eye strain than doing it myself. Basically, I can write regexes but I can't read them.
49
Dan M πŸ‡ΊπŸ‡¦πŸ‘¨β€πŸ’»πŸŽΎπŸš˜πŸ³οΈβ€πŸŒˆ retweeted
Replying to @chribjel
Do you feel safe with Vercel Postgres which is in beta ?
1
1
1
1,116
Hey @reactroundup, re Adobe and Figma, the two companies definitely entered into a merger/acquisition agreement, but it seems they have not actually merged yet. There are potential antitrust issues to be settled in both the US and EU, and that may be holding things up.
1
68
Dan M πŸ‡ΊπŸ‡¦πŸ‘¨β€πŸ’»πŸŽΎπŸš˜πŸ³οΈβ€πŸŒˆ retweeted
Passwords made my mother cry again. It's unreasonable to expect people to remember varying usernames and passwords for as many as 100 sites, most of which are infrequently used. Password managers can help, but they often fail to catch reset flows. In cross-device scenarios, you're often forced to use multiple password managers due to how systems operate. Typically, passwords are about 10 characters long. If these passwords are unique and random, we're asking people to remember an ever-changing set of characters, maybe as many as 1000, across numerous sites. To rely on password managers, we're expecting regular users to understand how these systems work and to manually verify they are living up to expectations. This reliance on complex password systems isolates older people from technology, the communities they engage with, and the supporting infrastructure. We need the web to standardize on WebAuthN and Passkeys. They promise to greatly simplify the experience for users. By adopting these technologies, we can make the web more user-friendly and inclusive, reducing the burden of password management and increasing accessibility for all.
17
10
3
107
21,817
Why is the container holding the SVG taller than the SVG even though the container has zero padding, and the SVG has zero margin? The answer is probably that the line-height of the container is not zero. #CSS
51
Chat GPT just taught me that JS has a ** exponentiation operator. This whole time I've been using Math.pow. How did I not know this?
89
My biggest pet peeve with @MicrosoftTeams is the lack of tabs. It's like going back to the pre-Firefox days of browsers where all you had was a forward/back button. This causes too much friction when switching between conversations, threads, file listings, meetings, etc.
1
229
Glad @syntaxfm did an episode on signals, but still waiting for someone to answer this question: Isn’t Jotai just signals by a different name?
1
404
Dan M πŸ‡ΊπŸ‡¦πŸ‘¨β€πŸ’»πŸŽΎπŸš˜πŸ³οΈβ€πŸŒˆ retweeted
Today the TypeScript team is releasing a new VS Code extension named Deopt Explorer! This tool can help find polymorphism and deoptimizations in your code, and it's already helped us speed up TypeScript itself. Check out what we've built! devblogs.microsoft.com/types…
26
606
29
2,920
424,794
Dan M πŸ‡ΊπŸ‡¦πŸ‘¨β€πŸ’»πŸŽΎπŸš˜πŸ³οΈβ€πŸŒˆ retweeted
Problem: JavaScript's sort method mutates the existing array. Solution: The new toSorted method. It returns a new array, and doesn't mutate the existing array.
11
72
7
619
101,487
This is interesting and reminds me of something I’ve been wanting to ask: I have a menu bar component in React that has two completely different forms depending on browser viewport width (hamburger vs multiple menus). I’m currently using resize detector and conditional logic 1/1
πŸ‘€ An early look at transitioning to and from `display: none` in CSS πŸ‘€
1
125
to render the correct from, but I could potentially render both and just set display: none on the one that doesn’t apply. I’ve resisted this out of concern for the cost of the unnecessary rendering logic, but I’m now questioning this. Is the pure CSS solution better? 2/2
1
1
32
Wait a second, does @github really not have something like this? (Insights > Network seems like it's trying to do this, but I can't make heads or tails of what it's trying to tell me.)
50