Sukima's Avatar

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/

100 Followers  |  52 Following  |  355 Posts  |  Joined: 21.10.2024  |  1.8245

Latest posts by mastersuki.bsky.social on Bluesky


But frozen data is not the reason for Maps or Sets. If you need behavior attached to frozen data use a class. If you need just frozen data use Object.freeze(). Or do something other than data/primitive obsession.

25.02.2026 01:30 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

To damper the trolls. Writing a parser system for an engine like this is awesome. LISP style languages (S-Expressions) is such a grammar that makes parsing and interpreting much easier. I applaud this effort.

24.02.2026 01:30 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image 21.02.2026 21:55 β€” πŸ‘ 2131    πŸ” 766    πŸ’¬ 29    πŸ“Œ 14
Preview
AsyncDisposableStack.prototype.defer() The defer() method of AsyncDisposableStack instances takes a callback function to be called and awaited when the…

πŸ¦– Random MDN: AsyncDisposableStack.prototype.defer() πŸ¦–

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AsyncDisposableStack/defer

The defer() method of AsyncDisposableStack instances takes a callback function to be called and awaited when the…

#webdev #JavaScript

21.02.2026 02:24 β€” πŸ‘ 0    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

Real talk - I’m mostly over functions as a concept. When everything is the same thing factoring, maintainability and composability suffer.

19.02.2026 13:20 β€” πŸ‘ 5    πŸ” 1    πŸ’¬ 2    πŸ“Œ 0

Yup, though I postulate that the need for sync-resolution is unnecessary in all cases where you would need such an abstraction.

18.02.2026 15:28 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
const stateRefs = new WeakMap();

export class State {
  #state = { isLoading: true, error: null, resolved: undefined };

  get isLoading() { return this.#state.isLoading; }
  get error() { return this.#state.error; }
  get resolved() { return this.#state.resolved; }

  constructor(fn) {
    const result = typeof fn === 'function' ? fn : () => fn;

    new Promise(resolve => resolve(result()))
      .then((resolved) => (this.#state.resolved = resolved))
      .catch((error) => (this.#state.error = error))
      .finally(() => (this.#state.isLoading = false));
  }

  static for(fn) {
    const state = stateRefs.get(fn) ?? new this(fn);
    stateRefs.set(fn, state);
    return state;
  }
}

const stateRefs = new WeakMap(); export class State { #state = { isLoading: true, error: null, resolved: undefined }; get isLoading() { return this.#state.isLoading; } get error() { return this.#state.error; } get resolved() { return this.#state.resolved; } constructor(fn) { const result = typeof fn === 'function' ? fn : () => fn; new Promise(resolve => resolve(result())) .then((resolved) => (this.#state.resolved = resolved)) .catch((error) => (this.#state.error = error)) .finally(() => (this.#state.isLoading = false)); } static for(fn) { const state = stateRefs.get(fn) ?? new this(fn); stateRefs.set(fn, state); return state; } }

I don't think this needs to be more complex than this.
697 Bytes (334 Bytes gzip)

18.02.2026 14:16 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I was thinking this same thing just the other day!

15.02.2026 16:05 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Snake oil gonna snake oil. πŸ€·β€β™‚οΈ

15.02.2026 16:02 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

You missed the point. HTML was designed to give data structure so that sharing that data can be understood by computer systems. We just happened to use it for human consumption via styling. The idea of throwing out the semantics because our computers (AI) need markdown is going backwards. IMHO

13.02.2026 22:23 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Did we all just blindly forget the entire point and purpose behind Hyper Text Markup Language?!?!!

13.02.2026 11:38 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Thank you for this. TIL about valibot and I’m really impressed. The docs are really good! And the ergonomics are great. I want this in my next project!

12.02.2026 12:25 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

Spotted

04.02.2026 20:42 β€” πŸ‘ 95    πŸ” 23    πŸ’¬ 1    πŸ“Œ 1

Explain more. Is this a linter design issue or a language syntax issue? Could it be the whole jsx concept was a bad idea in the first place? I mean Lit seems to do just fine without needing special compilers to support it.

04.02.2026 20:36 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Video thumbnail

Remember her name: Aliya Rahman

Her testimony is everything and it deserves to be heard, by everyone. Decide for yourself.

It’s powerful. It’s gut-wrenching. And no one should have to survive what she did.

ICE MUST GO‼️

03.02.2026 22:10 β€” πŸ‘ 25671    πŸ” 12020    πŸ’¬ 999    πŸ“Œ 1094

The bigger concern is if the farmers themselves didn’t get sick and hospitalized. If they are not using their own product then selling that product is a malicious act rather than an oops-a-daisy.

04.02.2026 11:25 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
WritableStream The WritableStream interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink. This object comes with built-in backpressure and q…

πŸ¦– Random MDN: WritableStream πŸ¦–

https://developer.mozilla.org/en-US/docs/Web/API/WritableStream

The WritableStream interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink. This object comes with built-in backpressure and q…

#webdev

04.02.2026 06:55 β€” πŸ‘ 0    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

Now I know enough about AI to grok what MCP is, it irritates me because fundamentally:

Make a cli tool instead! Then a human can use it too.

It’s not stateless? That’s what unix sockets are for!

Once again we’re reinventing stuff from the 70s and making it worse.

01.02.2026 19:27 β€” πŸ‘ 30    πŸ” 4    πŸ’¬ 9    πŸ“Œ 2

Why is the YouTube app so bad at playing videos?

30.01.2026 23:07 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Tools don’t make great software, thinking does, and every time we outsource understanding to a tool, whether it’s a framework or an AI, we quietly accept worse outcomes later.

30.01.2026 11:47 β€” πŸ‘ 25    πŸ” 11    πŸ’¬ 1    πŸ“Œ 0
We Studied 150 Developers Using AI (Here’s What's Actually Changed...)
YouTube video by Modern Software Engineering We Studied 150 Developers Using AI (Here’s What's Actually Changed...)

AI coding tools like Claude Code, GitHub Copilot, Cursor, and ChatGPT are changing how we write software... but are they actually improving long-term software quality, or just accelerating short-term output?

We ran a study of 150 software engineer's to find out...

WATCH ➑️ youtu.be/b9EbCb5A408

28.01.2026 19:01 β€” πŸ‘ 24    πŸ” 6    πŸ’¬ 1    πŸ“Œ 3
// Use String.raw to prevent processing of escape sequences!

let str1 = `c:\pictures\cats`; // c:picturescats

let str2 = `c:\\pictures\\cats`; // c:\pictures\cats

let str2 = String.raw`c:\pictures\cats`; // c:\pictures\cats

// Use String.raw to prevent processing of escape sequences! let str1 = `c:\pictures\cats`; // c:picturescats let str2 = `c:\\pictures\\cats`; // c:\pictures\cats let str2 = String.raw`c:\pictures\cats`; // c:\pictures\cats

Frustrated with having to escape escape sequences in #JavaScript strings? Try String.raw, the only built-in template tag in the entire language! It processes template tag substitutions like ${foo}, but no escape sequences.

πŸ‘‰ developer.mozilla.org/en-US/docs/W...

#webdev

29.01.2026 08:21 β€” πŸ‘ 1    πŸ” 3    πŸ’¬ 0    πŸ“Œ 0

If the general/popular opinion on the backend is Β«JavaScript sucksΒ» and we need Β«less JavaScriptΒ» why do so many APIs require forms to be preprocessed through JavaScript to convert the FormData into a JSON payload before calling fetch?

29.01.2026 12:26 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Off topic but… it bothers me when pull requests are pitched as a way to engage maintainers of OSS only to discover they don’t facilitate that engagement well. β€œWant to help? Send a PR” then crickets or β€œthanks but declined”
OSS progress/engagment seems to happen more often after hostile forking. πŸ€·β€β™‚οΈ

29.01.2026 12:22 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 2    πŸ“Œ 1
Preview
Anthropic’s Claude Code Platform Looks Like a Software Killer Claude Code promises to create any type of software β€” from analyzing specific data sets to building websites and editing photos.

β€œ[O]ne said the platform has made him five times more productive.”

Going to need numbers here, not vibes. I don’t care β€” at all β€” about developer feelings, about their perceptions.

If this is such a ground-shaking development where are the illustrative studies? Show me numbers.

27.01.2026 19:27 β€” πŸ‘ 7    πŸ” 1    πŸ’¬ 2    πŸ“Œ 1

It doesn't vibe because it is one way and one wrong button press of guess and I'm a million convoluted call stacks deep into some bonkers framework code I'll never recover from. Honestly, it is easier for me to use my editor as the info I need is already there instead of having to hunt for it. πŸ€·β€β™‚οΈ

21.01.2026 02:33 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

For you maybe, never been unbeatable for me. debugger never worked for me. It sucks in my experience.

20.01.2026 23:45 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
a close up of a statue of yoda with the words `` learning you are '' written above him . ALT: a close up of a statue of yoda with the words `` learning you are '' written above him .

It is up to us to hold our industry to a higher standard, not just relying on AI tools to write the future of software, while we passively sit by. It has always been crucial for engineers to evolve their understanding of the fundamental principles and now is no different.

20.01.2026 10:39 β€” πŸ‘ 14    πŸ” 3    πŸ’¬ 2    πŸ“Œ 1

When I need to move my conditional log all I do is `dd`, jump to new spot `p`. 😜

18.01.2026 00:41 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Can you imagine the fallout if C-Suites had to go through the same mountain of red-tape software developers go through to make a change to their Word Documents?!

15.01.2026 21:03 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

@mastersuki is following 19 prominent accounts