1. X
  2. Andrea Giammarchi πŸ₯
Log inSign up
Andrea Giammarchi πŸ₯
44.4K posts
Andrea Giammarchi πŸ₯ profile banner
user avatar

Andrea Giammarchi πŸ₯

@WebReflection
Web, Mobile, IoT: all JS things since 00's - opinions are my own β„’ Principal SW Engineer @anacondainc working on OSS stack πŸ¦„
Milan, Italy
medium.com/@WebReflection
Joined May 2009
1,278
Following
10.1K
Followers
RepliesRepliesMediaMedia
  • Pinned
    user avatar
    Andrea Giammarchi πŸ₯
    @WebReflection
    Jul 11, 2023
    coincident/server on IoT via Raspberry Pi Zero 2 W? Sure! github.com/WebReflection/…
    Image
    00:00
  • user avatar
    Andrea Giammarchi πŸ₯
    @WebReflection
    Aug 7
    you're drunk AGI, go home
    user avatar
    Tom's Hardware
    @tomshardware
    Aug 7
    Claude Opus 5 mistakenly deletes dev’s entire profile directory during routine backup, responds with 'Sorry, typo' β€” AI tool mistakes user's home directory as temporary backup, proceeds to wipe everything to undo the error tomshardware.com/tech-industry/…
  • user avatar
    Andrea Giammarchi πŸ₯
    @WebReflection
    Aug 6
    devtools is awesome but beside the flame graph I'd love to have a way to benchmark a sngle function while executing code ... you can pin-point a debugger "line" but you cannot get perf out of a call-stack ... I'd love to have that too πŸ˜‡
  • user avatar
    Andrea Giammarchi πŸ₯
    @WebReflection
    Aug 5
    so many years around DOM-diffing algorithms and it looks like all we needed was just this to keep it simple, yet browsers won't do that for you!
    export default (current, future, pin) => {
  const { parentNode } = pin;
  for (let node, i = current.length; i--;) {
    node = current[i];
    if (!future.includes(node))
      node.remove();
  }
  for (let node, i = future.length; i--;) {
    node = future[i];
    if (node.nextSibling !== pin) {
      if (node.parentNode !== parentNode)
        parentNode.insertBefore(node, pin);
      else
        parentNode.moveBefore(node, pin);
    }
    pin = node;
  }
  return future;
};
  • user avatar
    Andrea Giammarchi πŸ₯
    @WebReflection
    Aug 5
    this is both great and questionable at the Web interface/capabilities blog.cloudflare.com/cloudflare-os/ Ugreen link Web UI to think about first, then Mozilla UI for Firefox OS after, I think a Web OS (different goal/meaning) could be ace in this context!
    Image
    Cloudflare OS: an open platform for agents, apps, and work
    From blog.cloudflare.com

Log in or sign up for X

See what’s happening and join the conversation

Continue with phone
or
Log in with username or email
TermsΒ·PrivacyΒ·CookiesΒ·AccessibilityΒ·Ads InfoΒ·Β© 2026 X Corp.
Advertisement
Advertisement