Live data from Hacker News

This website has 81% battery power remaining

solar.lowtechmagazine.com

61–70 of 365 posts

Re: This website has 81% battery power remaining

#61

Earlier quoted context omitted.

a lot of the web would probably be better off if it were

I think so, WordPress that isnt cached to a frozen state on the backend is kind of silly in my eyes, the only exception would be comments, but you could hack around that by using Disqus or something, voila.

Forcing people to use disqus is a fantastic way to fuck over your userbase

Re: This website has 81% battery power remaining

#62

I think this also shows how inefficient modern website hosting is. The fact that this person was able to get a raspberry pi to host the #1 website on HN powered by a small 50 watt solar panel is very cool (meaning maybe 10w average power budget), but also shouldn't be as uncommon as it is today. To put this in perspective, a modern server uses 50-100 watts idle doing nothing, and many more under load. To handle the t…

It's mostly static files, if it was a modern SPA with APIs and such, it would probably crash having to fetch the same data for what is quite literally a static site.

I think I've mentioned this before, but nothing about SPAs require that level of bloat. My personal site (https://chadnauseam.com/) uses React and SPA-type features like preloading internal pages so they load instantly when you click a link, but almost all of it works fine with js disabled. It used to get a perfect score on lighthouse too but it doesn't anymore :(

Re: This website has 81% battery power remaining

#63

Earlier quoted context omitted.

>and bloated with JS crap? CSS animations too , especially the ones that use infinite.

Nothing to do with site hosting. css animations don't eat the server's CPU; nor does JS bloat (other than bandwidth).

JS bloat can have significant server overhead when data is loaded dynamically. It’s generally more efficient to have one GET request that can be heavily optimized than a lot of tiny XMLHttpRequest that need to be parsed separately. That may flip around when someone spends a long time interacting with a SPA, but there is plenty of truly terrible code in the wild.

Re: This website has 81% battery power remaining

#64

They haven't yet responded, but I wonder if it would make any difference in power consumption (CPU usage, to be more specific) if redbean[1][2] could be used instead of nginx. [1] https://news.ycombinator.com/item?id=26271117 [2] https://redbean.dev

I doubt it for two reasons:

1. nginx has had many more years of performance tuning (it's 17 years old) than a project made in the last few years.

2. redbean is x86 only if I'm not mistaken (it's using x86-64 from αcτµαlly pδrταblε εxεcµταblε), whereas lowtechmagazine runs their server on an ARM CPU. I think switching to a lower powered x86 chip might be costly or still draw too much power, but I don't have as much experience in that regard.

Re: This website has 81% battery power remaining

#65

I think this also shows how inefficient modern website hosting is. The fact that this person was able to get a raspberry pi to host the #1 website on HN powered by a small 50 watt solar panel is very cool (meaning maybe 10w average power budget), but also shouldn't be as uncommon as it is today. To put this in perspective, a modern server uses 50-100 watts idle doing nothing, and many more under load. To handle the t…

[deleted]

Re: This website has 81% battery power remaining

#66
post #41

Earlier quoted context omitted.

I hate to be that old foggy but, aren’t websites just getting worse and bloated with JS crap? I’ve had a couple websites I use daily for work just get flashy new interfaces which causes 1/3 to 1/2 second delays in the interface which used to not exist, previously they just had normal page load delays. For example, SalesForce Lightning, their UI overhaul. Old UI is mainly just flat HTML with some loading on fields. Ne…

it's gotten out of hand imo. page load times take longer than when I was browsing the web on dialup in many cases.

What a false equivalence. You are comparing static sites of the past to dynamic sites of today. Apples to oranges.

Re: This website has 81% battery power remaining

#67

Earlier quoted context omitted.

I hate to be that old foggy but, aren’t websites just getting worse and bloated with JS crap? I’ve had a couple websites I use daily for work just get flashy new interfaces which causes 1/3 to 1/2 second delays in the interface which used to not exist, previously they just had normal page load delays. For example, SalesForce Lightning, their UI overhaul. Old UI is mainly just flat HTML with some loading on fields. Ne…

>and bloated with JS crap? CSS animations too , especially the ones that use infinite.

I like a good clean CSS animation! They can be very short and meaningful. Maybe not for daily driver UI but somethings I like them.

Infinite scrolling could be annoying with animations though, I grant you that.

Re: This website has 81% battery power remaining

#68
post #17

I think this also shows how inefficient modern website hosting is. The fact that this person was able to get a raspberry pi to host the #1 website on HN powered by a small 50 watt solar panel is very cool (meaning maybe 10w average power budget), but also shouldn't be as uncommon as it is today. To put this in perspective, a modern server uses 50-100 watts idle doing nothing, and many more under load. To handle the t…

The key here is that it's just a very simple website with very low computational requirements.

And yet it provides the same amount of information as other websites 10 or 100 times it's weight.

Re: This website has 81% battery power remaining

#69
post #66
post #41

Earlier quoted context omitted.

it's gotten out of hand imo. page load times take longer than when I was browsing the web on dialup in many cases.

What a false equivalence. You are comparing static sites of the past to dynamic sites of today. Apples to oranges.

The vast majority of sites don't need to be dynamic though.

Re: This website has 81% battery power remaining

#70

My own battery + solar powered blog [0] is 100% inspired by lowtechmagazine. I am based in The Netherlands and due to my sub optimal location, I have to cheat in the winter by recharging from mains about weekly. I still do get some sun, but nowhere nearly enough to get through the day, let alone the night. [0]: https://louwrentius.com/this-blog-is-now-running-on-solar-po... And lead acid is also terrible for solar ap…

> And lead acid is also terrible for solar applications because no matter the capacity, recharging is very slow. Even solar could recharge the battery, the slow adsorption rate prevents it from doing so.

This doesn't make sense to me. Surely you can reach a sufficient rate by adding more lead-acid cells in parallel? You're kind of forced to do this anyways since they don't like being discharged below 50% of their actual capacity. So you end up building in a shitload of excess capacity in parallel, in the process attaining high aggregate discharge/charge rates.

It's just annoying because you waste a lot of physical space on underutilized batteries. But for a stationary system, it's not such a big deal, assuming you're not trying to fit it into a studio apartment. You end up with a dedicated battery shed or cellar, at least they're cheap.

Post reply on HN