Readit News logoReadit News
iron4o commented on Go's embed.FS and http.FileServer interact unexpectedly   listen-to-euterpe.eu/blog... · Posted by u/iron4o
is_taken · a year ago
Maybe wrapfs.WithModTime(... should not use time.Now() but get the mod time of the running binary?
iron4o · a year ago
Well, this is left to the application developer to decide and the library should not make the choice for them. In my own application it makes sense to use time.Now(), for example.
iron4o commented on Go's embed.FS and http.FileServer interact unexpectedly   listen-to-euterpe.eu/blog... · Posted by u/iron4o
iron4o · a year ago
I've noticed that browser caching with Last-Modified and If-Modified-Since is not working on my projects where embed.FS and http.FileServer are used. Which is quite a lot of them.

I guess that my investigation and solution may be helpful to others.

iron4o commented on Show HN: Simpler access to your music from the web that looks nice   github.com/ironsmile/eute... · Posted by u/iron4o
piaste · 4 years ago
My current solution is Navidrome[0], which is a similarly lightweight music server (also written in Go and FOSS [1]), with a similary nice Web UI that works well as a responsive webapp / PWA.

Probably the biggest difference however is that, instead of a custom API, it supports the somewhat-standard Subsonic API, which makes it usable via a large collection of native clients. It also has a few more features like multiple user accounts, etc.

TBH, the overlaps are big enough that I'm not seeing the space for Euterpe. I suppose the installation is a little bit simpler if you don't use Docker?

[0] https://www.navidrome.org/about/

[1] https://github.com/navidrome/navidrome/

iron4o · 4 years ago
Wow! Even the website looks the same. With the vinyl in the background and everything ;D
iron4o commented on Show HN: Simpler access to your music from the web that looks nice   github.com/ironsmile/eute... · Posted by u/iron4o
dusted · 4 years ago
Definitely looks nicer than mine! ^_^ (but not simpler)
iron4o · 4 years ago
I couldn't resist the play ;D
iron4o commented on How I made a 3D game in 2 KB of JavaScript   frankforce.com/?p=7427... · Posted by u/pjmlp
iron4o · 6 years ago
Why are there trees in them middle of the road? ;D

u/iron4o

KarmaCake day54November 10, 2017View Original