James
@43081j.com
1.4K followers 220 following 1.9K posts
@e18e.dev - chaijs.com - tinylibs - parse5 - unjs - @lit.dev core contrib - github.com/43081j / Focusing on ecosystem perf & tooling 🥳
Posts Media Videos Starter Packs
43081j.com
It is difficult to describe 😅 it will mostly be done already for sure, somewhere. Just a way to render an "image" as ASCII. But the image is any "canvas" (just data of pixels or something)
43081j.com
Heading to Amsterdam for @viteconf.org 🥳

Come find me if you're going and say hi!
43081j.com
That's how it was in my old place too. An API for the UI, and various APIs that connects to
43081j.com
I was playing with rendering things to ASCII 😅 so basically wanted an engine that does all the math but leaves the output to me
43081j.com
I wish JS had a concept of symbol servers

Source maps are usually not loaded but are often the largest part of a package. It would be better if dev tools lazy loaded them

I did try to build this but node didn't support remote source maps at the time 😕
43081j.com
With this popular pattern of mixing your front-end and backend logic into one file - how many real world projects are architected that way?

Isn't it still true that most companies have a separate backend, usually not the same repo, and often not the same language?

Or has that changed? 👀
43081j.com
Congratulations 🙌
43081j.com
working on a zero-dependency lock file parser if anyone's interested!

this will likely be used in the e18e CLI and GitHub action.

useful where you don't want to pull a YAML parser in but do want to delve into a lockfile generically
GitHub - 43081j/lockparse: A tiny zero-dependency lockfile parser.
A tiny zero-dependency lockfile parser. Contribute to 43081j/lockparse development by creating an account on GitHub.
github.com
43081j.com
no worries! you are correct. i'll update when i can 👍
43081j.com
parsing lock files today - lot of repetition in them to say the least 😅
43081j.com
good feedback! i'll open a PR for it when i can 👍
43081j.com
Just in case you missed this

Still, that was this year some time. Change log doesn't seem to mention it
43081j.com
It turns out we were running a somewhat old Firefox (131). At some point between then and 141, the stack traces changed

But afaict chrome is the odd one out in that the at-format is some kind of standard
43081j.com
It turns out we were running a somewhat old Firefox (131). At some point between then and 141, the stack traces changed

But afaict chrome is the odd one out in that the at-format is some kind of standard
43081j.com
We went from 132 to 141. Big jump! That explains a lot

So 132 must have chrome stacks and 141 has standard ones
43081j.com
I also asked copilot 😅 and apparently the at-format is the standard. So Chrome is the odd one out!

This is good to know

The chai tests have been this way for a while I think but we haven't updated Firefox for several months. So not sure what happened there 😄
43081j.com
In Firefox the stack traces are `name@loc` format now but used to be the same as Chrome: `at name (loc)`

Should be fine but was a surprise!
43081j.com
I can't seem to find much. It could have happened a while ago too. I'm not sure if playwright automatically pulls the latest one
43081j.com
fortunately in our case, only in our tests it seems :D
43081j.com
ouch

firefox shipped a change that means stack traces no longer say `at {fn} {location}`

some libraries were relying on that pattern 👀
43081j.com
may be possible, i think my idea is a lot more difficult than i expected now anyway 😅
43081j.com
does anyone know of an agnostic render/animation lib in JS?

basically given a matrix as if thats an "image", apply some transition/animation to it (e.g. scale it up) and give me the mutated matrix

someone somewhere must've already done all of this math im sure 😅
43081j.com
I think we're better off curating it
Quite a lot of things are not replacements, they are new capabilities
As soon as you start generating things too, I think lists like this become less useful and more like a link dump
43081j.com
Community building is good fun 🩵
43081j.com
Got some top winds here too. It's great fun seeing trees flying by 😅