Better HN
topnewbestaskshowjobs
Log inSign up

hansenzhang

44 karma · joined Mar 10, 2014 (12y ago) · 11 submissions

Submissions

comment 5mo ago · link · parent

Very cool to see. I've been vibecoding a side project as well for learning/using the cloud-native geospatial stack (https://sylveapp.com/, quite rough around the edges) that focuses solely on processing and hosting tiles. I'm still working on getting a usable demo for my example map but seeing this helps to refine what I'm working; to focus on hosting/publishing vs visualizing/analysis.

It's fun to see all other projects that also use a similar stack (MapLibre + DuckDB + PMTiles).

comment 1y ago · link · parent

> That said, a lot of European bread is also trash.

Yes thank you for pointing this out. I've noticed even the bakeries around me (in Switzerland) aren't that great; for me the best are from the farmers markets and even still you have to be discerning for which are actually good. On the other side I've had some fantastic bread in the US from specialty bakeries.

comment 6y ago · link · parent

Thanks! So did I :)

comment 6y ago · link · parent

Good reminder, I do have one on each page but realize it’s a bit hard to see with all the photos on the first page.

https://hansenzhang.com/copyright

comment 6y ago · link · parent

Nice! I found Hugo about halfway through working on this and it seemed like a great solution as well. The jhead utility would save me a ton of time as I ended up cross referencing my negatives to find processing dates which is all in the metadata.

I ended up using sharp [1] since it was so easy to integrate into my workflow.

1. https://github.com/lovell/sharp

comment 6y ago · link · parent

Thanks! My next quarantine project is to put in a sink in my basement so I can start printing again!

comment 6y ago · link · parent

Good point I hadn't thought of that. Still have to troubleshoot it a bit in Firefox but it looks like its working in Chrome.

The resolution scaling is a good idea as well. I used the picture tag initially as a fallback for browsers that don't support webp images. More importantly I need to actually create scaled images which I have been putting off...

Thanks for your comments/advice!

comment 6y ago · link · parent

Ok thanks for the heads up!

comment 6y ago · link · parent

https://hansenzhang.com/

I finally put my photos up on my personal website. The only constraint I gave myself was to build a site that doesn’t need Javascript to load.

In the end I ended up using Next.js as a static site generator that pulls all the routes from my directory structure, making it possible to add new photography collections and filters as I go.

Might be overkill for the use case but it was fun to learn. The irony is I had to write a bunch of JS to produce it.

Still need to optimize the image sizes and I am thinking about adding filters for b&w/color/format.