/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
My solar-powered and self-hosted website
(dri.es)
192 points
lightlyused
| 2 comments |
17 Oct 24 10:56 UTC
|
HN request time: 0.454s
|
source
Show context
emdanielsen
◴[
18 Oct 24 17:42 UTC
]
No.
41881733
[source]
▶
>>41868353 (OP)
#
This is so cool! I'm so surprised I've never heard of someone doing this before :)
replies(2):
>>41882853
#
>>41883749
#
mbrizic
◴[
18 Oct 24 21:40 UTC
]
No.
41883749
[source]
▶
>>41881733
#
I did something very similar a while back:
https://mbrizic.com/blog/solarhosting/
replies(1):
>>41887212
#
1.
bantunes
◴[
19 Oct 24 11:29 UTC
]
No.
41887212
[source]
▶
>>41883749
#
What did you use to differentiate green from (I'm guessing) blue links when it's down?
replies(1):
>>41887525
#
ID:
GO
2.
mbrizic
◴[
19 Oct 24 13:00 UTC
]
No.
41887525
[source]
▶
>>41887212 (TP)
#
Each color is a different build running on a different server. And then a load balancer picks which server you'll end up on.
Code-wise, the only difference between the builds is the CSS setting the link color.
↑