News for hackers. Stuff that matters.
Re:The theory versus the practice of “static websites” by Santosh83 on Saturday July 15, 2023 @05:10AM (#36734982)
Indeed. These days we have 24x7 net connections on both our mobiles as well as home LAN/desktop whatever, but you still can't get a single, 1-click, drop-dead simple program that you can use to both author as well as serve web-pages and images right from your own device. Thanks largely to dynamic IPs, NAT, firewalls, ISP upstream throttling and developer apathy (since their livelihood may depend on the complexity of this), Joe wanting to publish his thoughts or photos still either has to sell his soul to FB/Insta/whatever or fork over significant cash for the likes of Wordpress/Squarespace, OR spend days to teach himself the nitty-gritty of buying a domain, fiddling with your DNS, setting up dynDNS, connecting all this to GitHub pages or whatever, fronting the whole thing with Cloudflare.
Re:The theory versus the practice of “static websites” by CrampusDestrus on Saturday July 15, 2023 @05:29AM (#36735073)
This reply is plain baffling. Exactly which type of devices could we use to host our own content 24/7?

You talk about mobile devices but it seems obvious that I would never want my phone to constantly serve content online. Not only it would saturate my mobile plan but would drain my battery life and grind the device to a halt. Same thing would be true for laptops, which could not even function outside wifi or cable range.

The is actually one single device that could serve this role: the smart home manager. Be it a homepod or a nest hub. It's basically the only powerful and well connected device people have on 24/7 in their houses. But then again, what about NAT and dynamic IPs?

Re:The theory versus the practice of “static websites” by lsp_trw on Saturday July 15, 2023 @05:13AM (#36734997)
Freenet has been doing this since the 00s.
Re:The theory versus the practice of “static websites” by nonameiguess on Saturday July 15, 2023 @05:43AM (#36735123)
This isn't the only reason. People who are trying to get attention will flock to where attention is directed. For better or worse, centralized platforms are a good place to do that. It's the same reason protestors, charity drives, people handing out free tickets to a new concert venue, do this in downtown parks and public squares, not their front yards. Popular photographers hold shows in galleries, not their own living rooms.
Re:The theory versus the practice of “static websites” by tenebrisalietum on Saturday July 15, 2023 @12:10PM (#36738161)
A really popular photographer might hold a show in their own house and invite people. People who matter would go.
Re:The theory versus the practice of “static websites” by crote on Saturday July 15, 2023 @06:31AM (#36735318)
Exposing your home devices to the internet is a really bad idea, because it exposes you to doxxing, DDoSing, whatever security issues your 5-year-old smartphone may have, and a plethora of other risks.

People used to do this in the 90s and early 2000s, but it turned out to be a hilariously bad idea security-wise. Even the enthusiasts these days use a dedicated server somewhere in a datacenter. Services like Github Pages and Cloudflare exist for a reason, and it isn't because anyone is trying to gatekeep web hosting.

Re:The theory versus the practice of “static websites” by detourdog on Saturday July 15, 2023 @06:55AM (#36735446)
Some of us have been doing this since the 90's and don't see and end in sight. The issues are not bad compared to your average customer service call. I prefer knowing what is going on with the technology I manage. Most websites are way over complicated on the backend. It's very easy to self-host.
Re:The theory versus the practice of “static websites” by Santosh83 on Saturday July 15, 2023 @07:46AM (#36735678)
Other than DDoS, all other issues you mentioned apply equally to all internet facing apps like Whatsapp etc. A static file server can be hardened to the point where only DDoS remains a significant threat and that hardly applies to an average Joe. IF my little site of a few boring pages & pics gets DDoS'ed, then I can move to Wordpress, Cloudflare or whatever.
Re:The theory versus the practice of “static websites” by shortcake27 on Saturday July 15, 2023 @08:53AM (#36736205)
There’s also a nice middleground - you can just proxy your site through Cloudflare. This masks your IP and protects against DDoS, the only caveat being you need to move your DNS to Cloudflare.
Re:The theory versus the practice of “static websites” by detourdog on Saturday July 15, 2023 @09:08AM (#36736337)
My usual model is to configure the servers to be hosted locally and rsynced anywhere else. I'm currently going through this exercise right now. I start by making everything good local and then can publish anywhere.

I love having a completely independent working local copy. My environment is perfect for my needs or I change it.

Basically my deployment plans and disaster recovery are indistinguishable.