logoalt Hacker News

xnorswapyesterday at 5:30 PM3 repliesview on HN

At 600DPI that's over a marathon in each dimension.

I do wonder if there are any DOS vectors that need to be considered if such a large image can be defined in relatively small byte space.

I was going to work out how many A4 pages that was to print, but google's magic calculator that worked really well has been replaced by Gemini which produces this trash:

    Number of A4 pages=0.0625 square meters per A4 page * 784 square miles   =13,200 A4 pages.
No Gemini, you can't equate meters and miles, even if they do both abbreviate to 'm' sometimes.

Replies

threeducksyesterday at 5:40 PM

> I do wonder if there are any DOS vectors that need to be considered if such a large image can be defined in relatively small byte space.

You can already DOS with SVG images. Usually, the browser tab crashes before worse things happen. Most sites therefore do not allow SVG uploads, except GitHub for some reason.

Intralexicalyesterday at 9:17 PM

"Google's magic calculator" was probably just a wrapper to GNU Units [0], which produces:

  $ units
  You have: (1073741823/(600/inch))**2 / A4paper  
  You want:  
         Definition: 3.312752e+10
Equivalent tools: Qalc, Numbat

0: https://news.ycombinator.com/item?id=36994418

show 1 reply
fwipyesterday at 5:33 PM

Wolfram alpha is the better calculator for that sort of thing.