Sukima
banner
mastersuki.bsky.social
Sukima
@mastersuki.bsky.social
I am a passionate software developer specialized in Ember.js & JavaScript. I dabble in Photography, 360 panoramic tours, interactive fiction, and geek culture. https://tritarget.org/
If you want start and ending indices try the “d” flag for RegExp. developer.mozilla.org/en-US/docs/W...
November 7, 2025 at 1:54 PM
Hmmm. Oh dear.
November 5, 2025 at 12:27 AM
For the curious, to do what "newExample" is doing WITHOUT the "using" keyword it would look like "oldExample".

Have I got your attention about Explicit Resource Management in #JavaScript yet?
October 24, 2025 at 12:11 AM
How about this one? Uses built-in libs and common APIs. Same result.
October 23, 2025 at 1:55 AM
A common patter I use is to destructure class fields. Private fields cannot destructure in the same way forcing one line per private field to assign to a const.
October 23, 2025 at 1:48 AM
October 10, 2025 at 12:36 AM
Today I learned there is a subtle foot-gun when extending ReadableStream. #JavaScript
October 9, 2025 at 12:13 PM
I would expect you need to at least cancel the other requests with an AbortSignal right? Also, not sure what kind of API/service would need this. Clever, but also feels like a solution looking for a problem.
October 3, 2025 at 12:54 PM
This works in #JavaScript also.
August 13, 2025 at 1:42 PM
Or in cases where start and stop are separate async functions:
August 5, 2025 at 12:23 AM
Curious, but why not have the services resolve to an AsyncDisposable which can get called when it is time for it to be cancelled? I think that would cover the issue presented in the Blog post. developer.mozilla.org/en-US/docs/W...
August 5, 2025 at 12:18 AM
If NaN === NaN returned true, invalid data would silently pass through filters and contaminate calculations. The special comparison behavior forces developers to explicitly handle invalid numeric conversions, preventing subtle bugs where bad data corrupts entire datasets.
August 3, 2025 at 3:34 PM
July 18, 2025 at 4:37 PM
Linters fight me ALL the time.

Also, may I code golf?
July 12, 2025 at 8:52 PM
Look how nice Explicit Resource Management + AbortController makes adding multiple event handlers without memory leaks! #JavaScript
July 12, 2025 at 12:04 AM
@davidkpiano.bsky.social I discovered your FLIP animation technique works amazing well with the new Explicit Resource Management in #JavaScript/#TypeScript s.tritarget.org/l
July 11, 2025 at 8:09 PM
June 5, 2025 at 9:02 PM
May 30, 2025 at 12:16 AM
Did you know this is doable in modern #JavaScript ?
May 25, 2025 at 3:25 PM
If you wanted to go to the extreme edge I found that using generator functions + Object.fromEntries() to be quite the fascinating and declarative approach to converting form data to API JSON.
May 8, 2025 at 12:15 PM
If only someone taught those devs about statecharts!
April 23, 2025 at 5:34 PM
#JavaScript devs, find you are missing out on Explicit Resource Management? You can fake it. 2/2
February 27, 2025 at 3:54 PM
#TypeScript devs, find you are missing a defer keyword like Go has? Explicit Resource Management has you covered. 1/2
February 27, 2025 at 3:54 PM
Did you know this is possible in modern #TypeScript?
February 26, 2025 at 8:27 PM
Need a debouncer in #JavaScript? Here ya go:
February 4, 2025 at 12:59 PM