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

so I can run X GUI inside my Asahi on my macbook air?

nice.


I think I'd want the original air date of everything, on the website.

it's gotten much better - but yes the internet is inherently slower in it. some places build intentionally for it so can be fast (duckduckgo in particular)


okay, but what clients work with this approach?


You can use the pmtiles:// protocol in Maplibre GL, requires protomaps.js and a few lines of setup [1]

My experience with it is ... ok. It works. But going directly to cloud storage (s3 in my case) is unpredictable latency and neither the browser nor most servers really cache HTTP range requests granularly, so every tile is another high-latency round trip. Not worth it - I ended up putting Martin tile server in front of it.

I assume someone could write a protomaps adapter in WASM with some smart caching? Until then, Standard GET requests are just easier to cache and perform much better in practice. The downside being you have to run a server or statically generate files.

[1]- https://docs.protomaps.com/pmtiles/maplibre


I've had success with using a cache in front of my buckets for great performance. In my case I have raster tiles so they get turned into z/x/y tile filenames and a cloudflare worker pulls that from the full file and caches the result in the region.


> turned in z/x/y filenames and a cloudflare worker

So you settled on the same solution I did. Run a web service to translate ZXY tiles to HTTP range requests.

The OP was talking about HTTP range requests directly from the client.


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?


we use pmtiles on s3 behind cloudfront, and it seems to work pretty well. maybe not a 100% solution compared to what you'd get from google maps, but good enough that i've got no reason to be looking for another solution.


> pmtiles on s3 behind cloudfront

https://docs.protomaps.com/deploy/aws perhaps? That's a nice setup but worth noting you're running a web service (Lambda) to translate and cache ZXY HTTP requests to s3 range requests. Much like the Martin web server I settled on.

The OP was talking about making HTTP range requests directly from the client, which is a much different beast.


Protomaps, pmtiles, are actually pretty ubiquitous. Even has a GDAL driver https://gdal.org/en/stable/drivers/vector/pmtiles.html


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


A quick search showed that this should work with HTTP range requests: https://maplibre.org/


Aphyr does great work, Jepsen always kicks it out of the park :)


citation needed. you have an alternative?


no, it is not enabled by default.


isn't the other part of this that you'd have to enable the SSH part per node? it's not like the tailscale control plane can uniformly turn that on.


Okay - so... they're saying... don't use p384? :3


As far as I know, P384 has never been a “right answer.”


my line for "self hosted" isn't "must be on my own hardware", but "must be on my own linux VPS"


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

Search: