Menu

#Bytes

63 posts

Feed·
20 of 63 posts
Loading one 13 KB page on our site fetches 37 KB of pages nobody asked for, in 21 requests for 7 destinations
📰
0Read More

Loading one 13 KB page on our site fetches 37 KB of pages nobody asked for, in 21 requests for 7 destinations

DEV Community: nextjs·Daniel Pertu·about 12 hours ago
#2QVZsfIA
#devtonextjs#devto#dev#_rsc#bytes

Measuring what the Next.js App Router prefetches on a prerendered marketing site, what the _rsc query token is keyed on, and why every prefetch here downloads a whole page.

15s
Gmail clips a message at 102KB, and our alert email runs out of room between 136 and 208 listings
📰
0Read More

Gmail clips a message at 102KB, and our alert email runs out of room between 136 and 208 listings

DEV Community: typescript·Daniel Pertu·about 12 hours ago
#1iqZGTUX
#devtotypescript#devto#dev#fafafa#email

I measured our own template. 1,656 bytes of document, 237 per search section, 333 per listing row, plus the title once and the URL twice. The ceiling that saves us is in a different file and was put there for another reason.

15s
UDP Datagram Size Limits and Fragmentation: When Packets Break
📰
0Read More

UDP Datagram Size Limits and Fragmentation: When Packets Break

DEV Community: go·Bar Dror·about 12 hours ago
#Rqdqwrpa
#devtogo#devto#dev#bytes#size

UDP maximum datagram size fragmentation example: test limits, trigger IP fragmentation, measure loss, and recover datagrams across networks.

15s
Goose claims a 29-byte record and 3.3x over C++. I measured both.
🖼️
0Read More

Goose claims a 29-byte record and 3.3x over C++. I measured both.

DEV Community: cpp·frank chu·1 day ago
#RhZbu1QV
#devtocpp#devto#dev#goose#bytes

Goose (HN's top story today) claims a 29-byte record vs 160 in C++, exact lifetime errors, and 3.3x over idiomatic C++. I ran the release binary: the order is exactly 29 bytes, enums pack 27 vs 51, the tamper test behaves as documented — and my own sieve…

15s
From 32KB SQL Joins to 46 Bytes: Architecting an O(1) Habit Streak Engine with Valkey/Redis Bitmaps & POPCNT
🖼️
0Read More

From 32KB SQL Joins to 46 Bytes: Architecting an O(1) Habit Streak Engine with Valkey/Redis Bitmaps & POPCNT

DEV Community: redis·Duong Phuc Khanh (Kido)·5 days ago
#HraPV2En
#devtoredis#devto#dev#date#bytes

How Duong Phuc Khanh (Kido) replaced bloated relational habit logs with 46-byte Redis/Valkey Bitmaps and CPU hardware POPCNT instructions, dropping p99 streak latency from 140ms to 0.08ms.

15s
Padding a JPEG signature up to a 10 KB minimum without changing a pixel
🖼️
0Read More

Padding a JPEG signature up to a 10 KB minimum without changing a pixel

DEV Community: frontend·Rai Ansar·5 days ago
#bhBQdRFm
#devtofrontend#devto#dev#bytes#output

I build a browser tool that resizes photos and signatures for Indian exam and job application forms....

15s
84Read More

Finite State Machines in Forth

Hacker News·2 months ago
#GxGZsIS5
#forth#bytes#err#state#ascii

Certain programming problems are difficult to solve procedurally even using structured code, but simple to solve using abstract finite state machines (FSMs) [1].…

15s
Don’t stop early: Case-folding source code at memory speed
🖼️
80Read More

Don’t stop early: Case-folding source code at memory speed

Hacker News·3 months ago
#gkjIr6SI
#github#byte#bytes#ascii#fold

How a branch-free loop and byte-space arithmetic let GitHub case-fold every byte of code search at >45 GiB/s on a single core.

15s
Dissecting Apple's Sparse Image Format (ASIF) | schamper.dev
📰
162Read More

Dissecting Apple's Sparse Image Format (ASIF) | schamper.dev

Hacker News·4 months ago
#26v3IjJ3
#schamper#bytes#asif#file#chunk

At WWDC 2025, Apple announced macOS 26 Tahoe. One of the new features in macOS Tahoe is a new disk image format: ASIF. Designed for use with virtual machines (its documentation lives under the Virtualization framework), ASIF takes a lot of inspiration…

15s