Stephen

129 posts

Stephen

Stephen

@StephenIsCoding

Computer Scientist. JavaScript, Python, and more. https://t.co/jQrrBpyy2R

Durham, NH Entrou em Temmuz 2017
99 Seguindo19 Seguidores
Stephen
Stephen@StephenIsCoding·
@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.
English
0
0
2
0
David K 🎹
David K 🎹@DavidKPiano·
@drodsou That's awesome that you're using XState as a planning tool!
English
1
0
2
0
David K 🎹
David K 🎹@DavidKPiano·
What is your equivalent to "making a blueprint" before coding? Is it whiteboarding? Diagramming? Writing a spec? Or do you just jump straight into code?
English
269
35
351
0
Stephen
Stephen@StephenIsCoding·
@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.
English
1
0
2
0
Command E
Command E@getcommande·
@StephenIsCoding Hey Stephen, sorry for the hassle - we temporarily removed that feature for some needed migration work and will be reintroducing it soon. We emailed but should've updated the changelog too - we'll get that updated, apologies again!
English
1
0
1
0
Stephen
Stephen@StephenIsCoding·
@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
English
1
0
0
0
Stephen
Stephen@StephenIsCoding·
@Rich_Harris @BHolmesDev @MattShnoop @slinkitydotdev 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.
English
1
0
2
0
Rich Harris
Rich Harris@Rich_Harris·
Moved some of my smaller libs to JSDoc TS; thoroughly recommend it. Among other things, the resulting code is generally smaller than transpiled code. Building, testing etc all become much less finicky. And .d.ts files are still generated from source code
swyx@swyx

Interesting counter-trend - maintainers of large open source projects like @Sveltejs and @Deno_land are moving *AWAY* from writing their internals in TypeScript Just at the same time when the wider dev world is falling in love with TS. Reasons: build times and code complexity.

English
44
73
553
0
Stephen retweetou
Wes Bos
Wes Bos@wesbos·
🔥 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!
Wes Bos tweet media
English
69
756
4.4K
0
Kent C. Dodds ⚡
Kent C. Dodds ⚡@kentcdodds·
This cracks me up. Does it crack anyone else up?
Kent C. Dodds ⚡ tweet media
English
66
93
1.1K
0
Stephen
Stephen@StephenIsCoding·
@oleg008 @bannier @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.
English
0
0
1
0
Kent C. Dodds ⚡
Kent C. Dodds ⚡@kentcdodds·
Thinking about switching from Pixel/Google ecosystem stuff to iPhone/Apple ecosystem stuff. Tell me why I shouldn't.
English
152
6
353
0
Stephen
Stephen@StephenIsCoding·
@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.
English
1
0
0
0
Jake Archibald
Jake Archibald@jaffathecake·
@AmeliasBrain Someone tweeted me a code example that included the comma operator AND reduce the other day. They were saying it was good and not even trolling.
English
1
0
4
0
Stephen
Stephen@StephenIsCoding·
@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
English
0
0
1
0
Adam Argyle
Adam Argyle@argyleink·
@StephenIsCoding - logitech mouse with scrollwheel does need the vertical scrolling to be done before shift+scroll works arrow keys worked great for me?!
English
1
0
1
0
Stephen
Stephen@StephenIsCoding·
@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-sc…
English
1
0
0
0
Stephen
Stephen@StephenIsCoding·
@ttan_ No worries, I'm having a blast CAD'ing it!
English
1
0
0
0
Stephen
Stephen@StephenIsCoding·
@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!
English
1
0
0
0
Stephen
Stephen@StephenIsCoding·
@argyleink @LCottim 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?
English
0
0
0
0
Adam Argyle
Adam Argyle@argyleink·
#CSS FTW! position sticky + scroll snapping = awesome WOW 🤩
English
2
0
8
0
ThePurpleDrazi
ThePurpleDrazi@ThePurpleDrazi·
@shanselman @langestefan @NvrCast C# is popular, widely supported, reliable, has an great UX. It's the Toyota Camry of languages. And just like Most Gearheads Dislike the Toyota Camry For Just those reasons, some devs prefer a temperamental, dysfunctional, love/hate relationship with their language of choice
English
1
0
3
0
Scott Hanselman 🌮
Scott Hanselman 🌮@shanselman·
👁 nah it’s lovely. Cross platform and open source. c#, f#, Vb, write apps for any OS, raspberry pi, Apple Watch, incredibly scalable and lots of fun
RJ Barman@rjthepigeon

@CodesCarla .NET - I’ve never used it, and have never even really read it, but I’ve got an extremely strong aversion to the idea of using it for anything

English
23
19
336
0
Stephen
Stephen@StephenIsCoding·
@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?
English
0
0
0
0
Stephen
Stephen@StephenIsCoding·
@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?
English
1
0
1
0