Log inSign up
Matt Kane šŸ¦‹ @mk.gg
20.8K posts
Image
user avatar
Matt Kane šŸ¦‹ @mk.gg
@ascorbic
Frameworks at @cloudflare ā˜ļø Astro core maintainer šŸš€ Prev Netlify, Gatsby. Made Unpic. šŸ¦‹ bsky.app/profile/mk.gg 🌳 unpic.pics
Imber
mk.gg
Joined November 2007
3,525
Following
4,068
Followers
  • Pinned
    user avatar
    Matt Kane šŸ¦‹ @mk.gg
    @ascorbic
    Nov 2, 2024
    I'm going to try and spend less time here. You'll find me over there:
    bsky.app
    Matt Kane (@mk.gg)
    šŸš€ Astro core team 🧔 Frameworks and dev tools at Cloudflare Building EmDash, Unpic, Cirrus. @ascorbic in most other places
    1.7K
  • user avatar
    Matt Kane šŸ¦‹ @mk.gg
    @ascorbic
    Oct 26, 2023
    Why do I feel like I'm 18 again, in the queue for the club, wearing the wrong shoes
    Me attempting to sign up to Next conf using my netlify.com email address, and getting a "Please enter a valid email address"
    Error message "Please enter a valid email address"
    Error data saying "email_not_reputable_company"
    460K
  • user avatar
    Matt Kane šŸ¦‹ @mk.gg
    @ascorbic
    Feb 1, 2022
    Replying to @_callumknight
    I once had to cancel a holiday because I couldn't find my passport, even after a full day of searching. I found it three months later when I moved house. It was under the little box I keep passports in.
  • user avatar
    Matt Kane šŸ¦‹ @mk.gg
    @ascorbic
    Feb 8, 2024
    Now this is interesting: AWS has just open-sourced their own JavaScript runtime, called LLRT (low-latency runtime). 10x faster startup than Node. Aiming to be WinterCG and Node compatible.
    Image
    GitHub - awslabs/llrt: LLRT (Low Latency Runtime) is an experimental, lightweight JavaScript...
    From github.com
    287K
  • user avatar
    Matt Kane šŸ¦‹ @mk.gg
    @ascorbic
    Nov 5, 2023
    Fire up the Lambos and meet usePHP. Run PHP in React, with edge SSR. Extracts your PHP code, executes it in WASM, and injects the result into your React code.
    const php = await usePHP(request, h);

<div>
  {await php`
      <?php
          echo "Hello world";
          phpinfo(); 
      ?>
    `}
</div>
    367K
  • user avatar
    Matt Kane šŸ¦‹ @mk.gg
    @ascorbic
    Mar 10, 2020
    Sometimes Twitter is nazi trolls, but sometimes it's asking a question about mouse-flavoured cat food and getting an answer from a cat food flavour researcher
    user avatar
    Darren Logan
    @darrenlogan
    Mar 9, 2020
    Replying to @ChrisLangWriter
    My job is to research cat-food flavour, so I can answer your question: the species on the packet is not the flavour, but the principal source of protein. Pet food protein must be human food grade, so is sourced from the human supply chain, hence only human-friendly flavours.
  • user avatar
    Matt Kane šŸ¦‹ @mk.gg
    @ascorbic
    Jun 26, 2023
    Helicopters collecting people from Glastonbury this morning
    A map showing a great many traces of flights in the area between Bath and Westbury
    629K
  • user avatar
    Matt Kane šŸ¦‹ @mk.gg
    @ascorbic
    Feb 11, 2023
    I helped create gatsby-image, and now spend a lot of time looking how all web frameworks handle images. I'm now convinced that basically everyone should just be using an image CDN and an img tag. You don't need complicated components with wrapper and spacers and loaders...
    171K
  • user avatar
    Matt Kane šŸ¦‹ @mk.gg
    @ascorbic
    Dec 12, 2020
    Who wants to know how fast Apple Silicon is for web dev? I've seen loads of different benchmarks but couldn't find anything that compared performance for things like Babel and Node. I decided to risk it and bought a Mac mini and ran the tests myself. Here's a 🧵with the results:
  • user avatar
    Matt Kane šŸ¦‹ @mk.gg
    @ascorbic
    Apr 28, 2024
    Oh React
    Warning: invalid DOM property `fetchpriority`. Did you mean `fetchPriority`?
    React does not recognize the `fetchPriority` prop on a DOM element. Spell it as `fetchpriority` instead.
    40K
  • user avatar
    Matt Kane šŸ¦‹ @mk.gg
    @ascorbic
    Jul 31, 2021
    Replying to @BrentToderian
    Avoncliffe aqueduct in England carries a canal over a river and railway line. Proper victorian engineering.
    Aerial photo of avoncliffe aqueduct
  • user avatar
    Matt Kane šŸ¦‹ @mk.gg
    @ascorbic
    Feb 25, 2023
    Replying to @kylenabecker and @geronl
    "There's no footage" "Here's the footage" "No, not that footage that I've decided is bullshit. I mean footage that confirms my prejudices"
    3.4K
  • user avatar
    Matt Kane šŸ¦‹ @mk.gg
    @ascorbic
    Dec 14, 2023
    I've been playing with Kotlin a bit recently and there's a lot in there that JavaScript should steal, but none as much as "if expressions". A few languages have these, and the difference from if statements is that they return a value. Much more readable than ternaries!
    val message = if (happy) "hello" else "go away"

val action = if (happy) {
  "clap your hands"
} else {
  "sulk"
}
    103K
  • user avatar
    Matt Kane šŸ¦‹ @mk.gg
    @ascorbic
    Jul 18, 2021
    Did you know that Stringer Bell watched so much Peppa Pig he now sounds like Luther

New to X?

Sign up now to get your own personalized timeline!

Create account

By signing up, you agree to the Terms of Service and Privacy Policy, including Cookie Use.

TermsĀ·PrivacyĀ·CookiesĀ·AccessibilityĀ·Ads InfoĀ·Ā© 2026 X Corp.
Don't miss what's happening
People on X are the first to know.
Log inSign up