Hacker Newsnew | past | comments | ask | show | jobs | submit | bcye's commentslogin

> I'd argue that the vast majority of HN has always been against tracking, and against obtrusive ads. Ad blocking is only necessary because the former and latter seem to be the only way of doing ads.

So where is the popular ad-blocker that exempts "good" ads and analytics?


I use uBlock Origin and sites that use non-spyware ads still have ads show up.

Example site: https://theweekinchess.com/

If you inspect those ads on this site they are just images wrapped in a hyperlink. Those types of ads do not bother me. I block ads because Google has no right to know what I do on sites they do not control.



Thank you :)

Not sure satellite data is as freely available as OpenStreetMaps, I thought the imagery is mostly copyrighted/propietary.

True I guess NASA blue marble and other datasets only exist for a few higher zooms.

You can get 10m Sentinel-2 for free but it is going to be a couple of TB too many if you want to host all of it.

Here is a commercial one: https://cloudless.eox.at/preview#map=14.00/-80.77673438/-33....


Wow this is a great dataset. Wouldn't be that crazy to host either. Approx $400/mo on r2 but that would accommodate millions of users per month.

Last entry on this page says you can have it all for about 260GB. Note that it is mostly about landcover but the conversion seems to have been done with the RGB datasource as well. (see last part of the post)

https://www.pascalspoerri.ch/blog/2026-03-14-processing-esa-...


I think PM tiles are quite a bit larger. Just loading at a low zoom level a view of the world triggers requests of ca. 500kB on my site, though that might also overscan a bit or include the file header. From my calculations, for Bunny to be cheaper the avg request should be at most 660kB at $0.01/GB which should probably hold true (I think just the worker invocations alone are already equivalent to 300kB of traffic on Bunny)

Huh yeah you're right, I was off by about 100 orders of magnitude. pmtiles.io shows tile sizes with "Show tile bounds" checked and they're mostly in the 30-100 kB range.

Bunny's volume tier costs $5/TB served, i.e. $1 gets you 2~6.7 million tiles served, probably closer to 3.

But Cloudflare also allows public R2 buckets so we could potentially ignore the Workers cost, i.e. $1 gets you 2.8 million tiles served. I think caching just works in front of R2? So you get significant gains if your visitors are mostly looking at the same areas and not zooming in all the way to their house every time.

So they come out pretty evenly or with Cloudflare a bit on top depending on the scenario. Bunny does has the advantage of easy data replication across regions (I don't know of a good way to achieve this with R2, although D1 has some kind of replication feature in beta).

Both are still far, far cheaper than almost any vector tile subscription I've come across. And, of course, more expensive than self-hosting (at least at the hobbyist level).


When you have a CDN in front of object storage it's not so easy to compare as the origin requests go out in chunks. For caching in front of R2, you need the worker, as Cloudflare only permits file sizes of up to 512MB regardless of the range requested. And then there's the latency difference of working directly with R2 (Protomaps calls out latency up to 500ms and on a previous blog post I measured 300-600ms on HEAD requests against R2[0])

[0]: https://bruceroettgers.eu/blog/benchmarking-r2-head-requests...


From my understanding it is still limited by the overall file size though or has this changed too?

https://developers.cloudflare.com/cache/reference/range-requ...


I didn't know they just served it straight from disk, that's pretty cool!

It's my API endpoint for Plausible (private website analytics), not sure why it would get flagged

Yeah, me neither. I opened the link along with several other article links from the front page so it sat idle in a separate private tab waiting for me to get to it and just as I clicked on it MWB popped the warning. I'm using LibreOffice with container tabs and MWB Pro under Win10 Pro. Probably nothing.

Thanks for the explanation.

Protomaps sounds interesting.


For what it's worth I think latency/reliability varies a lot with provider. Bunny Storage has quite good latency in my experience (100-300ms) and their CDN supports Range caching (from my understanding Cloudflare does too they just limit the size of the file regardless of the Range)

Cloudflare and most CDNs "support" range requests in that they will download the entire 130GB file for you. Does Bunny do something smarter? Does it deal with overlap? What about cache control? eviction?

There is an npm library that integrates the format into MapLibre (fork of Mapbox) and Leaflet.

You're already trusting them with their proprietary cloud products, whose code you can't read. Why wouldn't you trust them with their client SDK code.


Because their client SDK might crash the entire app if the server does something funky. We saw it before with Facebook, and now it's Firebase's turn.

A dependency on code you can't read reaching out to servers you don't control is a recipe for disaster. If you can control the server, you can try to add fixes, redirect DNS to a backup cluster, you name it. If you implement the client, you can write the code in a way that doesn't cause full crashes when the remote server does something weird. If you can do neither, you're handing over your business flow and uptime to a third party that doesn't care about you in the slightest.


Well your database crashing isn't much better for your uptime really


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: