SShortSingh.
Back to feed

Project Brings 16-bit Windows Versions Back to 64-bit Windows

0
·9 views

A GitHub project called winevdm enables 16-bit Windows software, including Windows 1.x, 2.x, 3.0, and 3.1, to run on 64-bit Windows systems. The source is a Hacker News post that drew a small amount of attention, with 4 points and one comment at the time it was listed. The article text provided is limited to the project link and discussion metadata, so details on implementation and compatibility are not included here. The tool addresses the fact that 64-bit Windows cannot natively execute 16-bit code. Interested readers can consult the linked repository for specifics.

Read the full story at Hacker News

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Shrinking a 1.6 MB Hero JPEG to Under 200 KB Without Visible Loss

A marketing site's mobile Lighthouse score was dragged down by a single 2400×1600 hero photo of about 1.7 MB, which pushed largest contentful paint to 4.8 seconds on throttled 4G. The author needed a solution that required no build step, kept customer photos off third-party APIs, and still looked good at full size on large displays. Plain quality reduction caused gradient banding, so resizing to 1600 pixels wide combined with optimized, progressive 4:4:4 encoding did most of the work, bringing the file to roughly 197 KB. Switching to Node's sharp library with mozjpeg, along with WebP and AVIF variants, cut sizes further, with AVIF at about 43 KB. The author still serves JPEG and WebP fallbacks alongside AVIF, since browser support is not universal.

0
ProgrammingDEV Community ·

Choosing DALL-E 3, SDXL, or Flux for Web Image Generation Quality

The article recommends choosing among DALL-E 3, SDXL, and Flux based on the job: DALL-E 3 for exact text and prompt fidelity, SDXL for high-volume low-cost previews, and Flux for a fast, polished balance. It proposes routing requests through a single adapter, with a fast preview lane and a premium export lane rather than one model for everything. The author notes that generation latency and cost ranges are planning estimates, not guarantees. It also advises logging tenant, model, latency, and cost separately from candidate scores so images never alter the hiring rubric. The piece briefly compares OpenAI Images, Stability AI, Black Forest Labs, and alternative aggregators, noting trade-offs in vendor concentration and additional integration boundaries.

0
ProgrammingDEV Community ·

Developer's naked trading bot lost $4,232; a risk-limiting wrapper cut losses to $900

A developer reports that a deliberately aggressive dip-buying trading bot lost $4,232 in a simulated 25-day crash when run without restrictions. The same strategy, run inside an open-source Python library called cagerail, which enforces order caps, daily-loss and drawdown halts, a cooldown after losing fills, and an approval gate, ended with a $900 loss and a 14.9% maximum drawdown. The author argues that the danger in AI trading agents lies in unchecked permissions rather than the models themselves. The library is MIT-licensed, has no dependencies, and is hosted on GitHub. The author cautions that such limits only slow losses and that strategies should be tested on paper first.

0
ProgrammingDEV Community ·

Exact per-call metered billing without rounding losses

The article explains how a billing backend prices metered API usage to the cent, counting request and response bytes for live-key calls that succeed or fail on the customer's side. Because rounding each tiny call individually would either bill nothing or overcharge heavily, the system instead computes the cycle's total overage cost and debits each call the difference. This telescoping approach keeps fractional cents from being lost, so the cycle total is exact. A worked example with 50 GiB included and an overage rate of 600 cents per GiB shows a 51 GiB cycle costing exactly 600 cents. The method also supports tiered pricing, where each tier charges only for the bytes within its range, and discounts are applied before the single final rounding.