Skip to main content

Activity for andreruffert.com

Active on:

Loading activity...

Bluesky network4d ago

`Math.sumPrecise()` improves numeric accuracy by reducing rounding errors when summing values. https://syntax.club/profile/andreruffert.com/snap/3mlc5pb52ad2t

Syntax highlighted JavaScript:

const values = [0.1, 0.2, 0.3];

const normalSum = values.reduce((a, b) => a + b, 0);
console.log(normalSum);
// 0.6000000000000001

const preciseSum = Math.sumPrecise(values);
console.log(preciseSum);
// 0.6
Bluesky network5d ago

Good memories 🫰

A pile of colorful conference name badges with lanyards attached.
Bluesky network20d ago

I’ve been hacking on an app to save, share, and discover code snippets, built on #atproto. Super early days, but it’s slowly taking shape.

Bluesky network26d ago

Kicking off day two! #btconf

Bluesky network6mo ago

“The web as a platform is a safe bet. It’s un-versioned by design. That’s the commitment the web makes to you—take advantage of it.” csswizardry.com/2025/01/buil...

Build for the Web, Build on the Web, Build with the Web – CSS Wizardry
Bluesky network6mo ago

Thank you so much for your support, @mjpawlowski.bsky.social! 🙌 github.com/sponsors/pip...

A screenshot of the PiPHero GitHub organization's sponsors activity.
Bluesky network6mo ago
Reply

The DevTools Animations panel is also quite handy to debug view transitions. It is available in Chromium-based browsers. developer.chrome.com/docs/devtool...

Bluesky network6mo ago
Reply

👀 “PiPHero is a macOS menubar app that enables you to picture-in-picture any of your application windows” piphero.app

Picture-in-picture all the things · PiPHero
Bluesky network6mo ago

With the introduction of ES2024, JavaScript now offers native support for grouping data with the new Object.groupBy() and Map.groupBy() methods.

Bluesky network7mo ago