Paul Smith retweetledi
Paul Smith
220 posts

Paul Smith retweetledi

🚀🚗Yay! We launched a new comedy game: WHAT THE CAR?🔥🔥
It's sort of an absurd racing adventure where you're a car with legs.
It was a lot of fun making it. Hope you like it!
🕹Play it on Apple Arcade: apple.co/what-the-car
English

Just updated express utility packages to be bundled with tsup.☺️
github.com/paulsmithkc/ex…
#typescript #Express #NodeJS #tsup #javascript
English

@acemarke I have experienced this strange behavior as well. 😞 And Jest 26 + TS had a similar issue.
English
Paul Smith retweetledi

@niksavvidis @atcb Per the comments in the thread... The general case is actually just:
{ "main": "./dist/index.js" }
(With tsconfig set to output node/commonjs interop modules, this works for both JS/TS and CJS/ESM.)
English

@atcb Not a one size fits all but for most cases:
{
"types": "./index.d.ts",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"exports": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
}
}
English

Let’s look at each piece of this to go over what it does, why it is (or more often *isn’t*) needed, and why I can tell this package.json is misconfigured just from this small snippet. 🧵
alistair@alistaiir
It is *crazy* how ALL of this is needed to just publish a package in today's JS ecosystem...
English
Paul Smith retweetledi
Paul Smith retweetledi

Paul Smith retweetledi
Paul Smith retweetledi
Paul Smith retweetledi
Paul Smith retweetledi

Taking a one tweet break from Imperial PR -- I'm looking for a literary agent or publisher for a Fantasy novella (27k words) and/or a Middle Grade Fantasy novel.
If you've enjoyed the tweets over the years, any amplification would be appreciated.
Email: deathstarpr@gmail.com
English
Paul Smith retweetledi
Paul Smith retweetledi
Paul Smith retweetledi

@Der_Kevin Once you have those two vectors, the cross product will give the third vector (forward) which is orthogonal to both. And then you just construct a quaternion with the vector basis.
English

@Der_Kevin You need two vectors to orient the board. The normal gives you an up vector. But you also need a right vector which you can choose based on camera direction. (But might want a key to rotate the board.)
English
Paul Smith retweetledi















