Replying to @DavidKPiano @drodsou
I use the xstate visualizer as a tool to get my complex logic out of my head and into a state machine. It's very helpful for designing intricate UX flows.
Sometimes I use Mermaid-js inside Joplin to get them out too. I like the Mermaid syntax it's just hard when it gets complex.
Replying to @getcommande
No worries, I just thought I was losing my mind. Thanks for all the hard work. The app really speeds up my daily workflow, especially for searching internal repositories with those custom searches.
Replying to @getcommande
@getcommande I feel like I'm being gaslit. I had custom URL searches with injected queries set up, each with their own prefix. Now they're gone and I can't find a single reference to their existence in the docs. Was this feature removed? It'd be nice to see that in the changelogs
I'm wrapping up a med. sized app using this method. I used GraphQL and the Type Generation Tooling to create a TS types file. Then I import from that types file using `@type {import("../types.ts").MyType} MyType` which allows me to use MyType in my code w/o writing it by hand.
Stephen retweeted
🔥 JavaScript's new .at() method lets you pick items based on their index.
This is super handy for grabbing the last item of an array or string because, unlike arrays, it supports negative indexes!
![// 🔥 New .at() method on arrays and strings const toppings = ['pepperoni', 'cheese', 'mushrooms']; // The old way to grab the last item toppings[toppings.length - 1]; // mushrooms // using .at() method with a negative index toppings.at(-1); // mushrooms // works with any index toppings.at(0); // pepperoni toppings.at(-2); // cheese // and with strings! 'Meeting Room: B'.at(-1) // B](https://pbs.twimg.com/media/E-nFweJX0Ac67A4.jpg?name=small&format=webp)
ALT // 🔥 New .at() method on arrays and strings const toppings = ['pepperoni', 'cheese', 'mushrooms']; // The old way to grab the last item toppings[toppings.length - 1]; // mushrooms // using .at() method with a negative index toppings.at(-1); // mushrooms // works with any index toppings.at(0); // pepperoni toppings.at(-2); // cheese // and with strings! 'Meeting Room: B'.at(-1) // B
Replying to @oleg008 @kentcdodds
My Pixel 3 XL is still going strong. I got it in November of 2018. Battery still lasts all day, speeds are decent. The camera lags when it opens, though, I have a feeling a factory reset could clear some of the sluggishness up.
Replying to @jaffathecake @AmeliasBrain
What's so bad about the comma operator and/or reduce? I feel like most people are only confused by them due to lack of familiarity.
Replying to @argyleink
Oh! On Firefox Dev 89.0b15 when I use the arrow keys I can scroll from the left side to the middle, but then I can't scroll back to the edges. Chrome seems to be working fine, except it doesn't appear to be smooth scrolling until it is snapping. I'll search around for an open bug
Replying to @argyleink
@argyleink I'm having trouble with Scroll-Snapping. Any idea why I can't scroll left and right with arrow keys or Shift+Scrollwheel while using 'scroll-snap-type: y proximity;' ? Here's a terse codepen, Forgive my terrible design. codepen.io/itsknob-the-scrip…
Replying to @ttan_
You beat me to it! I'm working on an inline version for my headset with two aux ports. I'm still CAD'ing the case for the components. This will definitely help speed up my process!
Replying to @argyleink
I made a pen two days ago that uses both of those, but not together, I'll have to give it a whirl. When would you reach for these together?
Replying to @syntaxfm
@syntaxfm It looks like BetterTouchTool just got the ability to remap Caps Lock to Hyper as of 3.540. updates.folivora.ai/betterto…
Replying to @AdrianCJax
I've got to say the most impressive part to me is a 2/3 month contract for Bud Light with a technology that isn't listed prior on your resume. Did you do iOS dev before this?
Replying to @gregwhitworth
@gregwhitworth I heard the episode of ShopTalk Show on Control UI recently and it sounded interesting. I looked around for the discord link, but it wasn't in the show notes. The one on the w3.org site seems to be expired. Is there a new link around somewhere?


