Brian Terlson(@bterlson) 's Twitter Profileg
Brian Terlson

@bterlson

TypeSpec, JavaScript, TypeScript, Azure

Bluesky: @b.trl.sn

ID:2178685814

linkhttps://github.com/bterlson calendar_today06-11-2013 19:42:08

4,8K Tweets

7,3K Followers

715 Following

Brian Terlson(@bterlson) 's Twitter Profile Photo

Alexa is so maddening. Trying to get cranky baby to sleep. So I whisper: 'Alexa, play pink noise.'

'BY THE WAY DID YOU KNOW YOU CAN PAY A MONTHLY SUBSCRIPTION FOR PINK NOISE WHICH HAS HIGHER QUALITY NOISE AND DOESN'T HAVE GAPS AND IS NOW AVAILABLE FOR THE LOWEST PRICE EVER AFTE

account_circle
Brian Terlson(@bterlson) 's Twitter Profile Photo

Can someone help me understand the pros of GitHub's pagination model where the pagination metadata is sent in structured data packed into the `link` header?

docs.github.com/en/rest/using-…

It seems strange to cram this into the header when you have a perfectly good body available...

account_circle
Brian Terlson(@bterlson) 's Twitter Profile Photo

Great to see! I made the initial commit to this proposal 7 years ago: github.com/tc39/proposal-….

That was after at least a year of noodling with various folks, and probably basic the idea dates back years earlier.

But, 7 years to get to stage 2 must be some kind of record πŸ˜‚

account_circle
Brian Terlson(@bterlson) 's Twitter Profile Photo

After some time on the HN front page, I have learned that TypeSpec is pointless and we should just use YAML, a technology that is beloved by all people.

(Almost all comments are very positive, I just found this one funnyπŸ˜‚)

account_circle
Brian Terlson(@bterlson) 's Twitter Profile Photo

I have a blog again! Going to be writing stuff mostly about TypeSpec and related tech. First up - why TypeSpec is the best way to write OpenAPI: blog.trl.sn/blog/typespec-… (an opinion that should come as no surprise πŸ˜‚)

account_circle
Brian Terlson(@bterlson) 's Twitter Profile Photo

I don't understand why this hasn't happened yet.

My preferred format is anthology, each season a new story, loosely connected to the previous (if at all). Could recreate the books I suppose but honestly new stories from the universe would be amazing. Fertile ground for great TV!

account_circle
Brian Terlson(@bterlson) 's Twitter Profile Photo

Utc+X is not a timezone, it's an offset.

Tz names like EST are ambiguous

A minute isn't always 60 seconds

A day isn't always 24 hours

A day from now and 24 hours from now mean something different

Some times are invalid or ambiguous

Some tzs have fractional offsets

account_circle
Brian Terlson(@bterlson) 's Twitter Profile Photo

Consistency is really important in PL design, and that's why in JS `undefined` shouldn't equal itself just like `NaN`.

🧡

account_circle