Live data from Hacker News

Show HN: Lofi.cafe

lofi.cafe

131–140 of 237 posts

Re: Show HN: Lofi.cafe

#131
Nice concept, love the aesthetic! It was too CPU intensive for me on a laptop so I sourcedived to find the list of svideos which appear to be the following https://rentry.co/txqrq . I personally use

    mpv --no-video --vo=null --ytdl-format='bestaudio/best'
for listening to such streams. Unfortunately, as "youtube-dl --list-formats" will tell you, the live streams don't have separate audio tracks (which normal YouTube videos do) so this only helps with CPU savings but not bandwidth (you can choose a lower bitrate stream though).

Re: Show HN: Lofi.cafe

#132

Earlier quoted context omitted.

Video cheaper than animated gif?

Yeah, lower bandwidth requirements and most computers/all smartphones have dedicated video decoding hardware, especially for h264.

Hinted at with lower bandwidth requirements, but the biggest win with video is their stellar compression. GIFs store every single color value, which is why they get so huge so quick.

Re: Show HN: Lofi.cafe

#133

Could the CPU load be reduced? If I am only on the page, not even playing any music yet (probably because something is blocked), I get 1 core up at 100% CPU load. This can't all be for an animated background image, can it?

Gotta pay for hosting with some monero mining

Re: Show HN: Lofi.cafe

#134

It's all fun and games 'til you learn that YouTube's terms don't allow you to embed their player in any way that disables/hides their UI and logos. Source: A similar project I made like 8 years ago. Edit: But don't get me wrong, I like it nonetheless!

yep, I was trying to make some recreations of DVD menus a few years ago and decided to host on youtube so it could be easily added to.

Iirc my hack to hide the UI was replacing pausing videos with an infinite loop of a millisecond (which was buggy as hell). VideoJS with the youtube plugin was able to hide most everything else.

Re: Show HN: Lofi.cafe

#138
post #111

Earlier quoted context omitted.

If it's only a few frames you might be able to arrange them vertically in a PNG and animate background-position to get the same effect for cheaper. Correction: you want to use transform to force creation of a new rendering layer, then when adjusting the rendered position of the element using transform will not cause a repaint.

Ouch. What's wrong with APNG? https://caniuse.com/apng

[deleted]

Re: Show HN: Lofi.cafe

#140
post #98

Earlier quoted context omitted.

Show hn posts are already self-promotion so isn't it reasonable for other people to also be able to promote similar things they've created?

I think there's a line where it stops being reasonable. If I know every comment on a Show HN is going to be blatant self promotion, I'm not going to view those posts even if the OP is interesting to me.

There are guidelines for what Show HN is supposed to be. This site pretty much fits the bill.

https://news.ycombinator.com/showhn.html

> Show HN is for something you've made that other people can play with. HN users can try it out, give you feedback, and ask questions in the thread.

> On topic: things people can run on their computers or hold in their hands. For hardware, you can post a video or detailed article. For books, a sample chapter is ok.

I am glad to see work from other hacker news members. When it isn't interesting to me, I find something else on the internet or IRL that is.

Post reply on HN