Pinned Tweet
Q: why do JS numbers-
A: IEEE-754
Q: ok but when I add-
A: IEEE-754
Q: fine but NaN doesn't even-
A: Aye. Triple-E. Seven five four.
7
197
670
I'm mostly not visiting here anymore. My terrible posts and TypeSpec/Azure SDK/TypeScript/JavaScript content is on🦋
1
0
2
726
Scotch reviews from Islay fans are like:

Nose: Fetid bog. Half-eaten animal carcasses. Rubber boots left in the sun.
Palate: Roasted plastic with anise notes. Iodine. Rotting kelp. Nicely sweet.
Finish: Lingering dirty fryer vents and hot asphalt.

87/100 amazing dram
0
0
4
722
What's this I hear about you having problems with your reactive contexts? Didn't you get that memo?
1
0
2
623
Things could be better over at npm right now... Dozens of pages of results like this.
1
0
6
845
Bug report: the stochastic inference machine doesn't compile my program.

Did you try saying what you want in a different way?

Yes, many.

Did you turn up the temp?

Yeah tried many, behavior changes but not to anything good.

Ok, we'll stir the pile for the next release.

???
0
0
1
420
⟆⧖ Temporal threads weave unseen
Only the initiated shall grasp the hours
The nexus pulses green
⧳⧦⧫⬡⨀⧳⧦
0
0
1
567
Brian Terlson retweeted
Has been suuuper fun collaborating with @bterlson designing an open-source codegen system, github.com/alloy-framewor…!

It's been a delightful mix of "multiple discovery" of novel ideas, being wowed by Brian's magical solutions to impossible problems, and brainstorming sessions producing stuff I can't imagine either of us would have come up with alone.

Codegen is a surprisingly hard, and very underinvested corner of computer science, and it's a special feeling to have a sense that we're pushing it forward.
@vuejs @solid_js Also lots of folks have been giving great feedback along the way, e.g. the @TypeSpecLang crew (who will likely be using this for our upcoming emitter framework) and @RattrayAlex and the @StainlessAPI crew.
1
3
11
2,703
Sharing what I've been working on the last month: a code generation framework! It should look pretty familiar to many JS front-end folks ☺️

github.com/alloy-framewor…

Very early and super rough but you can see where we're going!
3
7
28
4,436
Replying to @bterlson
This project is standing on the shoulders of a few giants. Major props to @vuejs for their awesome reactivity library, and to @solid_js for their awesome JSX transform and innovations around fine-grained reactivity within JSX.
1
0
5
482
Replying to @bterlson
@vuejs @solid_js Also lots of folks have been giving great feedback along the way, e.g. the @TypeSpecLang crew (who will likely be using this for our upcoming emitter framework) and @RattrayAlex and the @StainlessAPI crew.
0
1
6
3,140
I've been a web dev or adjacent for nearly 3 decades (classic asp, jQuery, backbone, rails starting at 0.6, LAMP, MEAN, etc). If folks want to go back to php and jQuery more power to ya, IMO it is great to rediscover how we got here, and how great we have it with modern stacks.
1
3
12
3,066
Replying to @bterlson
And I'm sure there are lessons from the past we've forgotten and will be awesome to see adapted into modern contexts.
0
0
2
354
Ugh I've had a wtf checked into the codebase for weeks. Humiliating.
2
0
16
969
You've never seen comradery like two Comic Code enthusiasts discovering each other on a call 😂 There are dozens of us!
1
1
3
668
Literally never met a git commit hook I didn't want to launch directly into the sun.
4
2
80
6,157
A feature folks have wanted from TypeSpec since basically day 1 is examples. With the 0.57 release, we finally have the pieces we need to do them right. I'll explain the problem a bit, but you can also play with @timothee_guerin's early impl here: …dlplayground.z22.web.core.windows.net/prs/3572/?c=QG…
2
1
3
619
Replying to @bterlson
Oh whoops shared the link with an incorrect example. Here's a working one:

…dlplayground.z22.web.core.windows.net/prs/3572/?c=QG…
0
0
0
362
Replying to @bterlson
TypeSpec itself poses another difficulty - being protocol agnostic means you can't just provide JSON examples, you want examples to be TypeSpec values that map to JSON or other protocols in the same way types do.

Thanks to Timothee again, TypeSpec values are coming in 0.57.
1
0
0
192
Replying to @bterlson
So likely in 0.58 you will be able to define examples in TypeSpec, and the compiler validates that it matches its type. Then emitters can map the value into any protocol following the same logic that types do (so e.g. accounting for visibility, versioning, etc). It's very neat 😁
0
0
0
143