Sukima
@mastersuki.bsky.social
93 followers 40 following 260 posts
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/
Posts Media Videos Starter Packs
Pinned
mastersuki.bsky.social
Please Internet, stop trying to shun and mock JavaScript and instead just write good JavaScript! It is not that hard. Use a cattle prod if your peers need you to.
mastersuki.bsky.social
What aspect of @emberjs.com would pique your interest in learning more about it? What changes could be made to the framework to enhance its credibility within the #JavaScript community?
Reposted by Sukima
davefarley77.bsky.social
Learning TDD is a SKILL and takes TIME.

I've put together some FREE advice on how to get started, and how to succeed with TDD.

You can download your free guide HERE ➡️ www.subscribepage.com/cd-guide-tdd

Build better software, faster.
mastersuki.bsky.social
What LSP are you using?
Reposted by Sukima
nullvoxpopuli.com
How fast can you type JavaScript?

mastersuki.bsky.social
Checking types with TypeScript using JavaScript and JSDoc is really nice but I have to wonder what could that look like if the comment-based syntax was not JSDoc? If we were to invent a different comment-based type syntax today, what would that look like?
mastersuki.bsky.social
I see a lot of FUD coming from the JavaScript trope of type coercion. The thing is in these tropes their comparison is non-sensical. You would not write code that blindly accepted both a string or an array for the same variable. And if you did, you’d be explicit with type narrowing. Why the FUD?
mastersuki.bsky.social
Me: I need to track mutations to objects — I know, I can use a Proxy!

App code: The hell you will! — assertDeepEqual(…)

#JavaScript
mastersuki.bsky.social
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.
using stack = new DisposableStack();
const { signal } = stack.adopt(
  new AbortController(),
  (controller) => controller.abort(),
);
const apiUrls = […];
const res = await Promise.any(
  apiUrls.map((url) => fetch(url, { signal })),
);
const data = await res.json();
console.log(data);
mastersuki.bsky.social
I’ve felt that most talks/confs focus on the wrong thing. Learning a framework is easy. It is the higher level coding skills that are lacking. I’d love to see something like WarpDrive in a VanillaJS™ context first and I can apply it to any framework I need on my own.
mastersuki.bsky.social
@emberjs.com How can we get the C-suites excited about Ember.JS? Dev experience is one thing but having leadership support could really jumpstart Ember into the limelight!
mastersuki.bsky.social
Sorry for being daft; what is ”renderComponent API”? A quick search was not informative.
mastersuki.bsky.social
Ugh, and we wonder why JS gets a bad rep. Darn Node.
mastersuki.bsky.social
Can anyone explain why the world overwhelmingly voted for this?

Actually, never mind, I’ll likely find the answer sickening and traumatic.
mastersuki.bsky.social
I just tried mine on an Ember project in Vim classic: ~29 Mb
mastersuki.bsky.social
I agree, the error messages from the runtimes typically feel like they are off by one context frame. Which significantly impact their usefullness.
mastersuki.bsky.social
Is it ironic that the act of replicating human behavior—at least in the context of language—has driven the tech industry to reframe their world view around being «anti-human»?

What should we do about that? #AI
mastersuki.bsky.social
Just in case that was not rhetorical, use the stack to find the fromEntries call. See what is being passed as the argument. Then inspect how that thing is implemented and see why it would include an entry that was not in the [key, value] or Iterator<key | value> format.
mastersuki.bsky.social
But it doesn’t need to be an array, just array-like!
Reposted by Sukima
davefarley77.bsky.social
Refactoring isn’t optional. I hear teams talk about "refactoring sprints" or treating it as a luxury. That’s completely backwards.

1/6
mastersuki.bsky.social
Because it should never have been about resources but about expressive code and locality of behavior. I think the real value is lost if the only perspective is about cross-scope lifetimes. Here are some examples: gist.github.com/sukima/11545...
I’m working on a blog post over the next month.
Examples of ERM in JavaScript
Examples of ERM in JavaScript. GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
Reposted by Sukima
jasongorman.bsky.social
"We use coding agents like junior developers".

Cool. So you get the dual benefits of it being slower than an experienced developer to get a half-decent result *and* it never learns.

Bargain!
Reposted by Sukima
planetoffinks.bsky.social
It turns out this whole time that the Turing Test was the wrong way to think of it. Thinking a chatbot is alive is not a test of how good the chatbot is, but of your own ability to think of other human beings as real and complete people