Menu

#Bytes

127 posts

Feed·
20 of 127 posts
Fitting a whole game build into a URL fragment, stamped with the patch it was made for
📰
0Read More

Fitting a whole game build into a URL fragment, stamped with the patch it was made for

DEV Community: typescript·Edinamar Luce·about 2 hours ago
#demBfahg
#devtotypescript#devto#dev#version#class

I run a small fan-made build planner for Azeroth Survivors, a browser survivor game. The planner has...

15s
TokenBpe A editorial on how tokenizers can be sped up.
📰
0Read More

TokenBpe A editorial on how tokenizers can be sped up.

DEV Community: cpp·Unica2804·about 7 hours ago
#SCtPKPow
#devtocpp#devto#dev#token#bytes

Introduction Every LLM pipeline starts with a tokenizer and almost no one thinks about it....

15s
Your password reset link is a bearer credential: designing signed, single-use tokens that fail closed
📰
0Read More

Your password reset link is a bearer credential: designing signed, single-use tokens that fail closed

DEV Community: python·MapToSite·1 day ago
#lwhVxyTt
#devtopython#devto#dev#token#time

A link that carries authority needs three properties a page address never needs: unforgeable, bounded in time, spendable once. Anatomy of a versioned HMAC token, a fixed verification order that fails closed, constant-time comparison across languages,…

15s
Every photo on our landing page is a JPEG with a .webp extension, and the CDN announces it as image/webp
📰
0Read More

Every photo on our landing page is a JPEG with a .webp extension, and the CDN announces it as image/webp

DEV Community: nextjs·Daniel Pertu·1 day ago
#SHMcYUH2
#devtonextjs#devto#dev#webp#demo

Three files in public/ are named .webp, contain JPEG bytes, are served as image/webp, carry 89 megapixels and three metadata containers each, and two of the three reach the visitor untouched because they are CSS backgrounds rather than next/image sources.

15s
A Google Place ID finder in 10 lines of JS
📰
0Read More

A Google Place ID finder in 10 lines of JS

DEV Community: tutorial·Axarez·2 days ago
#Lwt6JqQD
#devtotutorial#devto#dev#google#place

Build a Google Place ID finder with no API key. Every Maps link already contains the Place ID; here's the 20-byte protobuf trick, the bugs I hit, and the free Google review link tool I built with it.

15s
How to Inspect JPEG Metadata in the Browser Using JavaScriptHow to Inspect JPEG Metadata in the Browser Using JavaScript
📰
0Read More

How to Inspect JPEG Metadata in the Browser Using JavaScriptHow to Inspect JPEG Metadata in the Browser Using JavaScript

DEV Community: frontend·sgamer宇·3 days ago
#xfrAQmsp
#devtofrontend#devto#dev#metadata#file

When working with images in web applications, we usually focus on the visible content: dimensions,...

15s
What's New in RubyGems/Bundler 4.1, Part 3: Unifying RubyGems and Bundler, and What gem install No Longer Does
📰
0Read More

What's New in RubyGems/Bundler 4.1, Part 3: Unifying RubyGems and Bundler, and What gem install No Longer Does

DEV Community: ruby·SHIBATA Hiroshi·4 days ago
#OumEWrgE
#devtoruby#devto#dev#request#spec

I'm Hiroshi Shibata (hsbt), a Ruby committer and the lead maintainer of RubyGems and Bundler. ...

15s
800 MB of Arrays Nobody Asked For
📰
0Read More

800 MB of Arrays Nobody Asked For

DEV Community: dotnet·Sukhpinder Singh·4 days ago
#XugEgbeE
#devtodotnet#devto#dev#params#values

A params int[] helper allocated a fresh array on every call. Switching to params ReadOnlySpan dropped the allocations to zero and ran the hot loop about 4.5x faster.

15s
My Store Turned Into Wingdings for Exactly One Reason, and It Was 3,410 Bytes
📰
0Read More

My Store Turned Into Wingdings for Exactly One Reason, and It Was 3,410 Bytes

DEV Community: html·AheadKit·5 days ago
#hpDr0MMO
#devto2#devto#dev#charset#bytes

On 7 November 2026 I added analytics to my store and rewarded myself by breaking the entire site's...

15s
Merging CSV and Excel files without breaking them: encodings, leading zeros, and header drift (.NET notes)
📰
0Read More

Merging CSV and Excel files without breaking them: encodings, leading zeros, and header drift (.NET notes)

DEV Community: dotnet·lxb dev·6 days ago
#BcDcjyyb
#devtodotnet#devto#dev#file#bytes

"Just concatenate the files" works until the first real-world export shows up. When I was building a...

15s
4-bit Naive Bayes: symmetric fails on AG News, zero-point rescues it
🖼️
0Read More

4-bit Naive Bayes: symmetric fails on AG News, zero-point rescues it

DEV Community: machinelearning·mycute·6 days ago
#RrQLZo9j

Two minimum-bit experiments: int4 NB keeps 93.2% on SMS at 160 bytes but collapses on AG News; TF-IDF coreset selection wins only at very small budgets.

15s
The Two Scripts Cloudflare Appends to Every One of Our 56 Pages: 1,239 Bytes of Email Decoding and a 31,853-Byte Analytics Beacon
📰
0Read More

The Two Scripts Cloudflare Appends to Every One of Our 56 Pages: 1,239 Bytes of Email Decoding and a 31,853-Byte Analytics Beacon

DEV Community: html·OnePassApps·6 days ago
#IgrJD9Vl
#devto2#devto#dev#beacon#script

The two scripts Cloudflare appends to all 56 pages of app.onepassapps.com, and what our CSP names.

15s
The Link Layer of app.onepassapps.com: 491 Link Tags, Two Shapes and One Preload Set
📰
0Read More

The Link Layer of app.onepassapps.com: 491 Link Tags, Two Shapes and One Preload Set

DEV Community: html·OnePassApps·7 days ago
#lDRYGsQu
#devto2#devto#dev#bytes#pages

491 link elements on 56 pages: two shapes, one preload set, and an ICO with three sizes.

15s