Sign in with Twitter

Username:

Axel Rauschmayer @rauschma Munich, Germany

JavaScript: blog @2ality, books @ExploringJS, training, newsletter @ESnextNews https://t.co/h4IxIYLYdk

387 Following   58,134 Followers   35,364 Tweets

Joined Twitter 7/15/09


@YannRenaudin They are mostly the same, yes. IIRC, they initially were more different, but grew closer over time.
5/26
2020
@alexeyraspopov YesBTW: FileCounter (as a type) is an interface! class FileCounter { htmlFiles = 0; extractedImages = 0; copied… https://t.co/D5tQMACBpp @_iotimo It depends on your prior knowledge: If you already know how to program, you can do both at the same time.… https://t.co/V3DHpemxlbTypeScript: class FileCounter { htmlFiles = 0; extractedImages = 0; copiedFiles = 0; } I started with an in… https://t.co/y9Zapep6lVWell, you could also use .find(), but I like the direct support for a start index that .indexOf() provides.I just had a use case for Array#indexOf() that Array#find couldn’t handle: Search an Array for a value, starting at… https://t.co/Za6he4RqEETypeScript: I wish Map#has() worked as a type guard for Map#get(). Alas, this would probably be a complicated addition to the type system. @alexdavidkim @dan_abramov You sound like you might enjoy @getify’s writing: https://t.co/O7J7MRMyUp My books are… https://t.co/6L2V2XlS7j
5/25
2020
Good overview of the status quo: “How To Create A PDF From Your Web Application” by @rachelandrew https://t.co/nZNAKKkWyz @16kbps I agree. For authoring, I use Pandoc: – Input: Markdown – Output: HTML, LaTeX, etc. (highly configurable v… https://t.co/UW3KlN5jJz @16kbps In principle, HTML engines with advanced CSS support should do this, but the decent ones all cost money: https://t.co/nZNAKKkWyz @simonstl IME, societies tend to emphasize certain directions (doubt, positivity, etc.). I think the best approach… https://t.co/Af8BMl5Jd7pnpm v5 is ready to be shipped! We will test it during next week to find any issues. You can help us by installing… https://t.co/8qv99LOeOL
Retweeted by Axel RauschmayerCan this be improved? AFAICT, it’s not possible to define a parameterized helper type for this functionality. https://t.co/wFNCSOmTfV @LisaMillerCool GUI app for static site generation: https://t.co/uc7hA4tubU @sebastiansebald @yawaramin AFAICT, this library only validates, though(?) The other two additionally create static types.Clever: “Finger-counting systems in use in many regions of Asia allow for counting to 12 by using a single hand. Th… https://t.co/sxJ42Ju6klTypeScript—I wanted sth. similar to keyof, but for tuples: const pairs = [ ['one', 1], ['two', 2], ['t… https://t.co/orAu7e4hqV @raganwald @dan_abramov Well, this is about С, not about C. 😁 > 'С' !== 'C' true
5/24
2020
@swyx Formality was what I meant, yes! I also partially made up my own rules (deviating from what my editor sugges… https://t.co/WlHf8hvGHd @yawaramin Have you seen this library? https://t.co/TGzG9UxjNO @swyx @lesliecdubs I’ve been told the same thing in German and kind of like the spelled-out versions (they feel mor… https://t.co/VjlIAQ77oC @slikts True. But the inability to have discussions in good faith is problematic. Sometimes the disinformation is… https://t.co/ICPJA20YhVHuge issue on social media: You can’t be sure that others are real people. Effectively makes it impossible to discu… https://t.co/pMzOflmll2Nearly half of Twitter accounts pushing to reopen America may be bots https://t.co/koCN0iOk4I @neumarcx I’m torn: I love open source. And it’s great to have LibreOffice, but it isn’t always easy to work with.… https://t.co/vpX95BGbTr @fkadev Glad it’s useful, thanks! I initially thought Omelette generated static zsh code. Instead, this code calls… https://t.co/Mr7c7n0vLN @fkadev 2/ – Maybe: copy/paste the step-by-step instructions into the readme (they were quite helpful) @fkadev 1/ It’s absolutely awesome to see Omelette in action! – Instructions for zsh: 👍 – Maybe: explain that the… https://t.co/UBMdYoXYUoI wonder what the thinking is behind this. Will people ever find out that Netflix has done this for them or is it j… https://t.co/cvvuK57AOGSo, I published a package on npm which returns Async Generators https://t.co/glZSUwLDgW I wanted to use streams bu… https://t.co/gW0B9NX9bZ
Retweeted by Axel Rauschmayer @notArianR @olympiawoj @JavaScript @BrendanEich In JavaScript, this was tried with strict mode, but it has consider… https://t.co/RGR9gXABOeGreat library that lets you implement your own shell completions (bash, zsh, fish) in JavaScript (Node.js):… https://t.co/bv3Q0OsueZInteresting @JavaScript history on why: typeof null === ‘object’ // true - a bug according to JavaScript creator… https://t.co/zY4VrRip9u
Retweeted by Axel Rauschmayer @BrendanEich @olympiawoj I found this: https://t.co/VQ7i18Gozk
5/23
2020
@slicknet On one hand, Thunderbolt 3 has made laptops great docking stations because they can drive monitors and be… https://t.co/lOALsnyXio @bluefiddleguy @davefarley77 FWIW: Possibly not completely what you have in mind, but all my code examples are test… https://t.co/A2ho6fbaD5
5/22
2020
@kirilloid_ru 4/ To summarize: I’m not saying everything is rosy w.r.t. humanity. I’m just saying that the narrativ… https://t.co/8qbSxINoCv @kirilloid_ru 3/ – Much of human behavior is heavily influenced by biology. But in addition to the biological need… https://t.co/7LTgEAneZV @kirilloid_ru 2/ – If you are studying economics, you are taught to think in terms of cost-benefit analysis, metric… https://t.co/scxS4OvIHa @kirilloid_ru 1/ – I don’t consider taking care of your own needs to be selfish. It’s healthy. I don’t trust people… https://t.co/KtXHg3fhOCLessons learned from College Board’s (the SAT people) mistake: use `accept` attrib and iPhone will convert the imag… https://t.co/ove9dHtt2w
Retweeted by Axel Rauschmayer @asciidisco I see both pros and cons. It’s possible that these new constructs will mostly replace normal object lit… https://t.co/Vy7whdddXjGood thread arguing that the assumption that people are inherently greedy and selfish, is partly a self-fulfilling… https://t.co/GJ4miq1CfJ @asciidisco 2/ Downside—much more cluttered than: #{ a: #{ foo: "string", }, b: #{ bar: 123, },… https://t.co/W5GxANNNyH @asciidisco 1/ This is an alternative: Record!{ a: Record!{ foo: "string", }, b: Record!{ bar: 123,… https://t.co/Cc8iCu7D2K @asciidisco I agree. Not ideal, but probably the best we can do (especially given the constraint that only ASCII characters can be used).“JS for impatient programmers” did indeed get longer than I originally anticipated! To protect myself against jokes… https://t.co/4hslqx7Pq8 @NarigoDF I don’t. I tell impatient people about it on Twitter! 😸 @NarigoDF @shrutikapoor08 😀 There is an FAQ for people like you: https://t.co/6dp7y5xQLMProposal for records and tuples: https://t.co/ogaP85nXo0 https://t.co/Rh3je0jqlo @hitchcott @brianleroux @xjamundx Same here – I always inline types. This is my proposal: https://t.co/wZvllaV7uJ
5/21
2020
Browser-NativeFS: native file system API for browsers, with legacy fallback https://t.co/TzqMAqXyo3The “Snyder cut” exists: “Justice League” re-shoot coming to HBO Max in 2021 [Snyder’s movies never engaged me emot… https://t.co/D3hHYtD6lO @_developit Perfect! (My personal favorite is “browser-module” (singular).) @_developit The question to me is—which terms will stick? – Will we always call them “ES modules” or switch to “mod… https://t.co/i06iExL954Twitter now allows you to restrict replies to your tweets with the options - everyone - people you follow - people… https://t.co/iFBZsew338
Retweeted by Axel RauschmayerDoes anyone know how to switch on WeakRef in Firefox?Just compare the following two function calls: // Positional parameters selectEntries(3, 20, 2) // Named paramete… https://t.co/8sYdsZU0OMI’m also a huge fan of the named parameters pattern: https://t.co/INy8pPRajM https://t.co/Z0MBDs1tAGThinking of starting JavaScript for impatient programmers. @rauschma writing is amazing https://t.co/Q7g7Ptn8TX
Retweeted by Axel Rauschmayerreveal.js 4.0.0 is out! 🚀 - New docs at https://t.co/UllPXuFMn4 - Auto-Animate - Refactored source to es6/esm - Mu… https://t.co/4VRbNMOdKF
Retweeted by Axel Rauschmayer
5/20
2020
Looking at myself in the mirror, wearing a new mask I had bought: “Why do they have ‘OAT’ written on them?” I could… https://t.co/Mvy8LWAqMo @matijagrcic I don’t know. To me it’s all just JSON values, separated by newlines.Woo! Finally got our latest blog published for React Native for Windows and macOS! #RN4Desktop @ReactNativeMSFT https://t.co/ZjkgZbUmKp
Retweeted by Axel Rauschmayer @styfle https://t.co/9dY9XINuDU @webflow Acquired by Microsoft?Open source proto-governance: putting a project on its own GitHub org instead of keeping it on a user account. /ht @matteocollina
Retweeted by Axel RauschmayerOpen source is usually a step in the right direction. Additionally, it matters who is in control of a project: A co… https://t.co/LYW65jzFZYConvincing folks that we should make TypeScript open source took months. Then came VS Code, .NET, Xamarin, GitHub a… https://t.co/ksIMN2Dq1m
Retweeted by Axel RauschmayerBerlin markiert Pop-Up Radwege, Wien richtet Begegnungszonen ein, London verfünffacht den Fußgängerverkehr. Weltwei… https://t.co/e1msmXMlAE
Retweeted by Axel RauschmayerLove the simplicity of JSONL: one JSON value per line of text. https://t.co/kCkmLoBa7b🌠 I'm in love with the CSS `clamp` function. It lets you clamp a value between a min and max, *across units*. Check… https://t.co/BpIPEJGr56
Retweeted by Axel Rauschmayer
5/19
2020
@yawaramin Yes, ReasonML does this well. If you do the same with JS arrays and plain objects, you often don’t have names. @mirkonasato Yes and no. No, in that you lose interfaces at runtime. But yes, in that you can use discriminated uni… https://t.co/wT1JUaXk1z2/ If you wanted to do sth. similar in JS in a purely functional manner, you’d only work with plain objects and Arr… https://t.co/qkrQHL2oWA1/ I finally figured out why I rarely use a programming style in JavaScript that is purely functional, even though… https://t.co/GKPmrMryvDBack in the day (11 years ago?!), I was trying to do something similar in user-land. https://t.co/5Mq2cZVHCe https://t.co/CyayNU2e0W
Retweeted by Axel Rauschmayer @maggiepint I think that’s how they’ll shoot movies and TV shows for the foreseeable future.After running React Munich for 3 years, I need to take a sabbatical as the main organizer and focus on my company.… https://t.co/Va1q3yvVps
Retweeted by Axel RauschmayerIf you haven't used fish (yet) as your primary shell, what's the reason? https://t.co/c0hBSG8L8Z
Retweeted by Axel Rauschmayer“What is PostgreSQL? How is it pronounced? What is Postgres?” [It’s pronounced Post-Gres-Q-L] https://t.co/ChZuAI6AdW
5/18
2020
Germany has released its Corona warn app architecture on Github. I hope this level of transparency becomes a bluepr… https://t.co/Z5DrTdHlYo
Retweeted by Axel Rauschmayer @alphasahin SSE is nice and simple (see MDN docs), but only one-directional. If you need bi-directionality, you hav… https://t.co/fo5qCAHQoD @newlukai @ditman Many people do indeed like it. Humor is subjective. I didn’t enjoy Discovery either, but liked P… https://t.co/nw8lqs2poXMore information: – This is only for displaying the results. The data for the embedded UI widget will be delivered… https://t.co/NpaTNSh7zwIf a server supports live polls: How would you make them embeddable for clients? I see 2 options: 1. iframe 2. Cust… https://t.co/44bhy2Hlf2
Retweeted by Axel Rauschmayer @kirilloid_ru @jkjustjoshing @Maarteuh To clarify: Submission will be handled via a different channel – a separate… https://t.co/yc3DY3iaEF @Maarteuh The updates will be delivered via server-sent events.If a server supports live polls: How would you make them embeddable for clients? I see 2 options: 1. iframe 2. Cust… https://t.co/44bhy2Hlf2 @pfrazee I don’t think I’m strong enough. @pfrazee I watched all of S1 and decided to stop. Then I wanted to give it another chance with S2E1. Which is a peeing episode. 🙄
5/17
2020
The humor of “The Orville” doesn’t work for me. It looks great and I wanted to like it, but couldn’t. OTOH, I enjoyed “Upload”. @Randemonium @evanplaice @_ericelliott Many functional programming languages work this way.Lenovo’s Ideapad Duet Chromebook: $279 https://t.co/f5Oj3BqINvRelated: Surface Go 2 vs 10.2" iPad – Best Budget Laptop Setup? https://t.co/UHPjLkJM2s [Surface Go 2 + Type Cover: $529.98] @reza__k8 Refurbished is a different topic (opens up much more choice)! As a developer, you definitely want a “rea… https://t.co/uGgCCyWZ0tCheapest laptop-like device from Apple: – iPad 10.2": $329 – Logitech Combo Touch Keyboard Case with Trackpad: $149… https://t.co/9TtWFO4K1i @pesterhazy True!
5/16
2020

0