News

DEV Community
dev. to > jaspreet_singh_86ae1740ac > remove-duplicates-from-sorted-array-1b0

Remove Duplicates from Sorted Array

2+ hour, 20+ min ago  (234+ words) Given a sorted integer array nums, remove the duplicates in-place such that each unique element appears only once. Return the number of unique elements k. The first k elements of the array should contain the unique elements in their original order....

DEV Community
dev. to > member_250fe3f1 > shrinkray-a-free-100-in-browser-image-compressor-no-uploads-open-source-4fa2

Shrinkray: a free, 100% in-browser image compressor (no uploads, open source)

7+ hour, 31+ min ago  (373+ words) TL; DR " I built Shrinkray: a free, open-source image compressor & converter that runs **100% in your browser. No uploads, no servers, no tracking. Your images never leave your device. The problem Most "free" online image compressors upload your photos to a…...

Symbols: nasdaq:idcc,btc-usd
DEV Community
dev. to > dev-shreyas > i-built-a-stable-sorting-algorithm-that-beats-javas-dual-pivot-quicksort-fck

I Built a Stable Sorting Algorithm That Beats Java's Dual-Pivot Quicksort

2+ day, 8+ hour ago  (266+ words) A few days ago I finished benchmarking something I've been building - a cache-aware, stable, histogram-based sorting algorithm I'm calling Bus Sort. The results surprised even me. At 100 million elements, it runs ~2x faster than Java's Dual-Pivot Quicksort on random data - while…...

Symbols: lse:wrks
DEV Community
dev. to > xiaomei_lu_85e416d898252c > getting-images-actually-web-ready-compress-resize-and-pick-the-right-format-without-opening-an-o24

Getting images actually web-ready: compress, resize, and pick the right format without opening an editor

6+ day, 21+ hour ago  (335+ words) Getting an image "web-ready" is really three decisions made in order: resize first, then choose a format, then compress. Do them in that order and you usually cut file size by 80-95% with no visible quality loss. Here's how to actually…...

Symbols: private:no,node.js,nasdaq:revb,asx:dtr,nasdaq:wgrx,nasdaq:smx
DEV Community
dev. to > sudee_sim > the-safety-workaround-that-worked-until-it-didnt-4hlb

The Safety Workaround That Worked, Until It Didn't

1+ week, 3+ day ago  (675+ words) Power it on, and it's supposed to be ready to go on its own, no operator steps. Then one day, after a couple of restarts, it just. .. wasn't. Here's the clever safety workaround that quietly caused it. The setup I…...

Symbols: asde-x
DEV Community
dev. to > john-rocky > real-time-relighting-of-gaussian-splatting-reflections-on-iphone-metal-3b26

Real-time relighting of Gaussian Splatting reflections on i Phone (Metal)

1+ week, 5+ day ago  (959+ words) I built a Metal viewer on i Phone that re-lights an already-captured 3 D scene with any lighting you. .. Tagged with ios, metal, graphics, 3d....

Symbols: btc-usd,nasdaq:frph,nasdaq:arai,tsxv:wi
DEV Community
dev. to > hugo_vantighem > when-it-works-in-prod-becomes-worse-than-it-works-on-my-laptop-1aji

When "it works in prod" becomes worse than "it works on my laptop"

1+ week, 6+ day ago  (1233+ words) The dangerous moment isn't when the debt appears. It's when everyone agrees it's there " and decides to keep building on top of it anyway. I've seen that shift happen in almost every engineering team I've worked with. It doesn't announce…...

Symbols: btc-usd
DEV Community
dev. to > siliconsignals_ind > challenges-and-solutions-in-high-resolution-camera-design-2jpc

Challenges and Solutions in High-Resolution Camera Design

2+ week, 22+ min ago  (638+ words) This guide explores the five most critical challenges in high-resolution camera design engineering and their technical solutions, with a focus on embedded systems, product design, and real-world deployment scenarios. Chromatic aberration in camera design causes color fringing that degrades image…...

Symbols: btc-usd
DEV Community
dev. to > numbpill3d > inside-the-new-esp32-pocket-computer-underground-533a

Inside the New ESP32 Pocket Computer Underground

2+ week, 2+ day ago  (1308+ words) The guy selling it kept apologizing for the firmware. "Wi Fi crashes sometimes if Bluetooth is enabled." Then he smiled like that was part of the charm. That feeling keeps appearing lately. Not just in electronics circles either. Everywhere. People…...

Symbols: nyse:stm
DEV Community
dev. to > superfunicular > camera2-api-handling-orientation-focus-and-exposure-in-background-how-to-keep-your-android-1612

Camera2 API: Handling Orientation, Focus, and Exposure in Background " How to Keep Your Android Camera Running With the Screen Off

2+ week, 5+ day ago  (1385+ words) If you've tried to build an Android camera app that records with the screen off, you've hit the wall I'm about to describe. The Camera2 session works fine while the app is foregrounded. You lock the screen. A few seconds later…...

Symbols: lloy.l,shel.l,btc-usd,inc.aq,0a9N.0,srvl.aq