Log inSign up
Jake Archibald
82.8K posts
user avatar
Jake Archibald
@jaffathecake
Developer of sorts at @firefox. No thought goes unpublished. He/him. Also jaffathecake on Mastodon, bsky, Threads etc.
Haywards Heath
jakearchibald.com
Joined July 2008
2,007
Following
107.3K
Followers
  • user avatar
    Jake Archibald
    @jaffathecake
    Nov 9, 2016
    In history class I remember thinking "how did German people let that happen?" Now I know.
  • user avatar
    Jake Archibald
    @jaffathecake
    Nov 15, 2022
    lol, Musk deleted the "he's fired" tweet. Does that also undo the firing, @EricFrohnhoefer?
  • user avatar
    Jake Archibald
    @jaffathecake
    Oct 14, 2022
    Me looking at my own code after 6 months
    00:00
  • user avatar
    Jake Archibald
    @jaffathecake
    Jan 23, 2020
    It's unfair that I can typo 'console' three times in a row, whereas other people:
    00:00
  • user avatar
    Jake Archibald
    @jaffathecake
    Nov 9, 2021
    I laughed at this GitHub Copilot suggestion until I remembered it's based on real code.
    A div with class "site", then Copilot recommends adding a child with class "site-content", then a child with class "site-content-inner", then a child with class "site-content-inner-inner" and so on until there are over 12 inners.
  • user avatar
    Jake Archibald
    @jaffathecake
    May 9, 2019
    aye thanks google good job
    "6mb over 3g" returned calculation for 6 megabytes divided by 3 grams
  • user avatar
    Jake Archibald
    @jaffathecake
    Dec 20, 2018
    My dickhead cat wakes up at 4am every day and he's yet to receive VC backing.
    user avatar
    Inc.
    @Inc
    Dec 17, 2018
    The world's most successful people start their day at 4 a.m. on.inc.com/vvbCaaD
  • user avatar
    Jake Archibald
    @jaffathecake
    Jan 17, 2018
    Modern JavaScript is great
    // Creating a new object that's a combination of
// `state` and `changes` objects.
// Old JavaScript:
var newState = {};

[state, changes].forEach(function(obj) {
  for (var propName in obj) {
    if (obj.hasOwnProperty(propName)) {
      newState[propName] = obj[propName];
    }
  }
});
    // Modern JavaScript:
const newState = {...state, ...changes};
  • user avatar
    Jake Archibald
    @jaffathecake
    May 12, 2022
    I've been dying to share this for weeks now… Introducing the page transition API! It's still in-development, but you can play with it today. I'm really happy with where this API is heading. I hope you like it too!
  • user avatar
    Jake Archibald
    @jaffathecake
    Jan 5, 2021
    Replying to @Joanna__Hardy
    Last night my other half rolled over and whispered "probably not going to need all these parachutes".
  • user avatar
    Jake Archibald
    @jaffathecake
    Jun 12, 2018
    HTTPS = "Is the response untampered & from the expected sender?" CORS = "Can I access the content of this resource?" CSP = "Only allow requests that look like this…" SRI = "Only allow content that looks like this…" CORB = "Don't allow my data into another origin's process"
  • user avatar
    Jake Archibald
    @jaffathecake
    Jan 15, 2023
    If people with "unlimited" time off tried to actually take unlimited time off, they'd quickly discover what they actually have is "undefined" time off.
    user avatar
    Tom Warren
    @tomwarren
    Jan 11, 2023
    scoop: Microsoft employees are getting unlimited time off. Microsoft will no longer require US employees to formally record vacation later this month, and they're getting a payout for any unused days. Details here: theverge.com/2023/1/11/2355…
    391K
  • user avatar
    Jake Archibald
    @jaffathecake
    Jan 5, 2021
    Replying to @jaffathecake and @Joanna__Hardy
    Although the best one is when she woke me up, shaking me and shouting my name again and again. Her: JAKEJAKEJAKEJAKEJAKE Me: What? What is it? Her: I think we should go to sleep now [rolls over and starts snoring]
  • user avatar
    Jake Archibald
    @jaffathecake
    Apr 19, 2021
    NASA: Achieves first helicopter flight on Mars Whereas I:
    Error: consloe is not defined

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 of Service|Privacy Policy|Cookie Policy|Accessibility|Ads info|© 2026 X Corp.
Don't miss what's happening
People on X are the first to know.
Log inSign up