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
Joined July 2008
  • user avatar
    In history class I remember thinking "how did German people let that happen?" Now I know.
  • user avatar
    lol, Musk deleted the "he's fired" tweet. Does that also undo the firing, @EricFrohnhoefer?
  • user avatar
    Me looking at my own code after 6 months
    00:00
  • user avatar
    It's unfair that I can typo 'console' three times in a row, whereas other people:
    00:00
  • user avatar
    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
    aye thanks google good job
    "6mb over 3g" returned calculation for 6 megabytes divided by 3 grams
  • user avatar
    My dickhead cat wakes up at 4am every day and he's yet to receive VC backing.
    The world's most successful people start their day at 4 a.m. on.inc.com/vvbCaaD
  • user avatar
    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
    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
    Replying to @Joanna__Hardy
    Last night my other half rolled over and whispered "probably not going to need all these parachutes".
  • user avatar
    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
    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.
    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…
  • user avatar
    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
    NASA: Achieves first helicopter flight on Mars Whereas I:
    Error: consloe is not defined