Twitter | Search | |
Axel Rauschmayer
JavaScript: blog , books , training, newsletter
35,355
Tweets
387
Following
58,030
Followers
Tweets
Axel Rauschmayer 13h
Good overview of the status quo: “How To Create A PDF From Your Web Application” by
Reply Retweet Like
Axel Rauschmayer 14h
Replying to @16kbps
I agree. For authoring, I use Pandoc: – Input: Markdown – Output: HTML, LaTeX, etc. (highly configurable via “filters”=plugins) LaTeX is currently the only cheap way to produce a decent-looking PDF. My only wish is that I could use a different backend than LaTeX.
Reply Retweet Like
Axel Rauschmayer 14h
Replying to @16kbps
In principle, HTML engines with advanced CSS support should do this, but the decent ones all cost money:
Reply Retweet Like
Axel Rauschmayer 18h
Replying to @simonstl
IME, societies tend to emphasize certain directions (doubt, positivity, etc.). I think the best approach is to recognize where these social customs are forced and to let go. It’s often an unwillingness to allow and sit with certain feelings that causes us stress.
Reply Retweet Like
Axel Rauschmayer retweeted
pnpm🚀 22h
pnpm v5 is ready to be shipped! We will test it during next week to find any issues. You can help us by installing the "rc" version of pnpm pnpm add -g pnpm@rc
Reply Retweet Like
Axel Rauschmayer 18h
Can this be improved? AFAICT, it’s not possible to define a parameterized helper type for this functionality.
Reply Retweet Like
Axel Rauschmayer 18h
Replying to @LisaMillerCool
GUI app for static site generation:
Reply Retweet Like
Axel Rauschmayer 18h
AFAICT, this library only validates, though(?) The other two additionally create static types.
Reply Retweet Like
Axel Rauschmayer May 23
Clever: “Finger-counting systems in use in many regions of Asia allow for counting to 12 by using a single hand. The thumb acts as a pointer touching the three finger bones of each finger in turn, starting with the outermost bone of the little finger.”
Reply Retweet Like
Axel Rauschmayer May 23
TypeScript—I wanted sth. similar to keyof, but for tuples: const pairs = [ ['one', 1], ['two', 2], ['three', 3], ] as const; // "one" | "two" | "three" type component0 = (typeof pairs)[number][0]; // 1 | 2 | 3 type component1 = (typeof pairs)[number][1];
Reply Retweet Like
Axel Rauschmayer May 23
Replying to @raganwald @dan_abramov
Well, this is about С, not about C. 😁 > 'С' !== 'C' true
Reply Retweet Like
Axel Rauschmayer May 23
Replying to @swyx
Formality was what I meant, yes! I also partially made up my own rules (deviating from what my editor suggested) for Impatient JS: – Sentence casing for headings – N-dash with spaces (“ – “) and not m-dash without spaces.
Reply Retweet Like
Axel Rauschmayer May 23
Replying to @yawaramin
Have you seen this library?
Reply Retweet Like
Axel Rauschmayer May 23
Replying to @swyx @lesliecdubs
I’ve been told the same thing in German and kind of like the spelled-out versions (they feel more stylish to me). Perceptually, the brain seems to recognize words as single tokens, so the cognitive load probably does not increase. Loosely related: “gonna” vs. “going to”.
Reply Retweet Like
Axel Rauschmayer May 23
Replying to @slikts
True. But the inability to have discussions in good faith is problematic. Sometimes the disinformation is more subtle, too: Fake immigrants saying hateful things about locals, etc. Difficult not to be influenced.
Reply Retweet Like
Axel Rauschmayer May 23
Replying to @rauschma
Huge issue on social media: You can’t be sure that others are real people. Effectively makes it impossible to discuss mainstream topics. I wonder how this could be fixed. Maybe a social media service where certain aspects of a profile are verified? Has other downsides, though.
Reply Retweet Like
Axel Rauschmayer May 23
Nearly half of Twitter accounts pushing to reopen America may be bots
Reply Retweet Like
Axel Rauschmayer May 23
Replying to @neumarcx
I’m torn: I love open source. And it’s great to have LibreOffice, but it isn’t always easy to work with. I use open software as much as possible, but sometimes proprietary products are worth the money.
Reply Retweet Like
Axel Rauschmayer May 23
Replying to @fkadev
Glad it’s useful, thanks! I initially thought Omelette generated static zsh code. Instead, this code calls JS and everything is much more powerful. A rough overview of the control flow should be enough, no need to explain every detail.
Reply Retweet Like
Axel Rauschmayer May 23
Replying to @fkadev
2/ – Maybe: copy/paste the step-by-step instructions into the readme (they were quite helpful)
Reply Retweet Like