
UI/UX designer/prototyper/developer in San Diego. Tennis & automobile enthusiast. π³βπ him/his. @devuxer@mastodon.social
San Diego, CA
Joined January 2012
- Tweets3.4K
- Following253
- Followers129
- Likes4.3K
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`.
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.
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.
Dan M πΊπ¦π¨βπ»πΎππ³οΈβπ retweeted
Replying to @chribjel
Do you feel safe with Vercel Postgres which is in beta ?
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.
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.
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
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?
Found this among the.@ReactMiamiConf photos. I wonder what I was saying π€
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.
Dan M πΊπ¦π¨βπ»πΎππ³οΈβπ retweeted
My take: nitter.cf/dai_shi/status/1650126β¦
Just published Why You Don't Need Signals in React. Because we have Jotai.
blog.axlight.com/posts/why-yβ¦
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?
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β¦
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.
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
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.)











