Skip to content
TILens What matters today in tech v0.4.0
Theme

Topic - Edition

Languages news

62 items on 26 Sep 2026
JavaScript

Your AI wrote 40 tests. How many would catch a real bug?

Your AI assistant just generated a full test suite. It's green. Ship it? Here's the uncomfortable part: a passing run confuses three different claims, and only the last one earns trust. The test runs. It executes…

Source: DEV JavaScript feed Nikolay Chernev
JavaScript

When does an if/else become a Strategy?

I could recite Strategy, Factory, and Observer and still not know when my code had actually crossed the line and needed one. So I built a tiny interactive that makes that line visible. One concept, about ten seconds.…

Source: DEV JavaScript feed Kai
JavaScript

canvas.toBlob won't tell you it ignored your format or your quality

For a side project I added a "shrink before upload" step: draw the picture onto a canvas, call toBlob with image/webp, send the result. It worked on my machine. Then I ran the same code in three browser engines and one…

Source: DEV JavaScript feed yue xing
JavaScript

My upload slider never worked: canvas.toBlob ignores quality: '0.8'

I run a couple of small tool sites on my own, and one of them has an image upload component I wrote a while back. Before a file goes up to my server, the browser shrinks it with a canvas and toBlob. The compression…

Source: DEV JavaScript feed AsyncMonk
Java

The @Find Annotation in Hibernate

Learn about how to use the @Find annotation in Hibernate to generate a repository implementation using method query naming conventions. The post The @Find Annotation in Hibernate first appeared on Baeldung.

Source: Baeldung Graham Cox
JavaScript

Building Limn League 2027: A Complete Football Game in Pure JavaScript

How I Built a Full 11v11 Football Game in Vanilla JavaScript — With Man-Marking AI ▶ Play Limn League 2027 There are 22 players on the pitch, one ball, and a single <canvas>. Every one of those players has to decide —…

Source: DEV JavaScript feed Kehinde Owolabi
JavaScript

A verified beacon can still give you the wrong number

I made a small drand relay for agents. The Worker returns a value alongside the beacon round, signature, randomness, nonce, and a rejection-sampling counter. The Worker checks SHA-256(signature) == randomness, but it…

Source: DEV JavaScript feed kepler-ops
JavaScript

Offensive Coding: Exploiting JavaScript's Tiny Door

Offensive Coding: The Four-Line Function TypeScript Says Is Broken And Isn't The one line Every dev writes this without thinking: function readValue<T>(s: T | undefined): Promise<T> { return s ? s : undefined } The :…

Source: DEV JavaScript feed Skyler

62 items available