Alan North
alanscodelog.bsky.social
Alan North
@alanscodelog.bsky.social
Dev / Artist (❤️ rust | typescript | vue | nuxt) | Working on several UI/UX oriented libraries + revolutionary note app.

https://github.com/alanscodelog
https://alanscodelog.github.io/
Pinned
Feels so smooth 🥰
Added auto splitting from the window edges, ironed out some bugs with intersection dragging and drag events.

#ui #ux #frontend #uidesign #buildinpublic #css #vue #webdesign
😱😍
Today we're thrilled to announce our effort to port the TypeScript compiler and language service to native code, gaining a 10x speed boost in build times and editor responsiveness!

devblogs.microsoft.com/typescript/t...
A 10x Faster TypeScript - TypeScript
Embarking on a native port of the existing TypeScript compiler and toolset to achieve a 10x performance speed-up.
devblogs.microsoft.com
March 11, 2025 at 9:25 PM
*accidentally writes a game engine*

I was just fooling around with #ziglang, just trying to write a simple stl viewer, I swear.

I did not think this would be so similar.
March 9, 2025 at 10:33 PM
Me learning #ziglang: How hard could it be not too leak memory everywhere?
a cartoon squirrel with an acorn on his head
ALT: a cartoon squirrel with an acorn on his head
media.tenor.com
March 1, 2025 at 9:44 PM
Have started to dabble with comptime in #ziglang. This is amazing. I can't quite put into words just how nice it feels. It's like someone put all the ridiculous type magic you do in typescript with generics IN the function body. Reads so nice.
February 19, 2025 at 1:44 AM
Me, a typescript dev, trying #ziglang
February 17, 2025 at 9:36 PM
I love zig's syntax to de-reference a pointer: variable.*. It just makes so much more sense. So much easier to think about. #ziglang
February 7, 2025 at 10:15 PM
Fuck, I'm really getting into zig. Help. Must finish other projects first.

Also the naming of some of the libs is killing me : zbgfx, zglfw. Please stop mashing your keyboard (yes I know the z is for zig). I cannot deal with 4+ letter acronyms.
February 5, 2025 at 2:24 PM
🥳 Conditional Return Types!!!!! 👏👏👏 No more crafting a perfectly typed function only to have to cast the return type in the implementation!
We just released the beta for TypeScript 5.8! This release brings support for Node.js' require(ESM), smarter/safer checks for functions using advanced types, a few great optimizations for editor scenarios, and more. Give it a try!

devblogs.microsoft.com/typescript/a...
Announcing TypeScript 5.8 Beta - TypeScript
Today we are excited to announce the availability of TypeScript 5.8 Beta. To get started using the beta, you can get it through npm with the following command: npm install -D typescript@beta Let’s tak...
devblogs.microsoft.com
January 31, 2025 at 12:55 AM
This looks amazing! Will the editing part be open source? Would love to integrate this into my app instead of having a latex block raw+preview block.
corca.io Corca @corca.io · Jan 30
January 30, 2025 at 11:25 PM
Pretty metadata inputs. Done with the basic ones + added random generation for testing.. More advanced + metadata type editor soon.
January 24, 2025 at 2:02 AM
Reposted by Alan North
Want to quickly check NPM package popularity?

✨ I've built a tiny, beautiful terminal tool to check package stats. No setup needed, just run:

$ npx pkg-stats <package>

Let me know what you think!
January 17, 2025 at 11:55 AM
Finally 👏👏👏!!!!!

Had a usecase for this a while back. I have to remember what it was. Was very sad I couldn't get the values as numbers in calc.
attr() is getting an upgrade!

Starting in Chrome 133 (stable rollout happening this month), you'll be able to access attributes in CSS as typed values beyond strings.
January 18, 2025 at 11:43 PM
I just realized, when my pc is borked, I can just throw the logs at an LLM and it can sift through that mess real quick.
January 16, 2025 at 8:22 PM
Am so tired of LLMs being like are you sure you want to do that? Yes jesus, give a warning, but DO THE THING. Do local or maybe less censored models also suffer from this? Can they be trained out of it? I hate it.
January 13, 2025 at 10:35 PM
My two new favorite friends. This makes it way nicer to work in a monorepos in neovim. Need to refactor into proper plugin.
January 12, 2025 at 7:03 PM
This looks amazing. I know nothing about shaders, they've been on my to-learn list. This really makes me want to learn more.
January 11, 2025 at 6:35 PM
Have had to deviate my plans for today to implement dev only auth mocking. Was easier than I thought because I implemented most of the auth logic, but I'm surprised there's so little info on doing this. You'd think it'd be quite a common thing to need to do. Is there a better way?
January 9, 2025 at 1:53 AM
Gotta update my utils.
if you have an list of values you need turned into a sentence, you can use Intl.ListFormat() to clearly and succinctly create human-readable lists instead of the classic array function template strategies

✨ get a load of this: codepen.io/xdesro/pen/d...
January 2, 2025 at 12:50 AM
🎉👏 Can't wait to try!

And they've added docs how to do writes through the db! Have been holding off on implementing the sync for my app for this.

Love the detailed examples on potential write patterns and the freedom to do it however you want.
electric-sql.com/docs/guides/...
December 28, 2024 at 2:59 PM
Have I mentioned how much I love nuxt's devonly component? Yes. Have I mentioned it enough? No.

Here am using it in combination with radix's hover card so I can inspect all the internal data for an item.

#vue #nuxt #radix
December 28, 2024 at 2:32 AM
Is faker.js still the standard or is there something better? #javascript #js
December 26, 2024 at 12:57 PM
I don't need the ai to write commit messages, but can it just like split up my changes into small commits when I get out of control or I haven't linted in ages and then suddenly have hundreds of lint changes mixed in with my real changes. Thanks.
December 26, 2024 at 12:39 AM
Truly cursed javascript. Not the silly IEEE 754 "gotchas" people post all the time.
today's wtf javascript moment brought to you by document.all
December 20, 2024 at 11:54 AM
Finished adding SQL support to my little customizable query parser. SQL is all nice until you get to stuff like `(json->'array') @> '["a"]'::jsonb` 🤮 Absolutely cursed. The only good thing was drizzle makes it super easy to escape user input with prepared statements and it's magic sql function.
a little girl is laying on the floor in a playground with the words status written on the bottom
ALT: a little girl is laying on the floor in a playground with the words status written on the bottom
media.tenor.com
December 15, 2024 at 2:57 AM