TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Maintaining this site fucking sucks

49 pointsby bitfieldabout 2 years ago

24 comments

h4ch1about 2 years ago
It seems like the person is wading in a pool of excrement of their own choosing.<p>1. Node.js or package.json or Vue.js or Nuxt.js issues or Ubuntu C library issues<p>2. Debugging and customizing pre-built CSS frameworks<p>First of all they&#x27;re running a very simple blog, a SSG should be more than sufficient for their usecase. If for some reason the engineer in them decides they want to ship their own, which I completely relate to, all these problems come packaged with that decision.<p>Even then, after browsing their site, it&#x27;s very barebones, nothing more than a router and a md -&gt; html transformer is needed.<p>You don&#x27;t even need a custom CSS framework for whatever this is, all the components on their website are so simple a single CSS file &lt; 300 lines (I&#x27;m being very liberal) including media queries should do the trick.<p>Regarding DNS, in my 15 years of experience building&#x2F;deploying websites there have been very few cases where setting up DNSs was a pain and that was only when I was using shady webhosts to minimise cost.<p>Can&#x27;t comment much on caching, but I remember with Jekyll you can just append `{{ site.time | date: &#x27;%s%N&#x27; }}` to your asset and lo behold ez cache busting.
评论 #35598739 未加载
zackproserabout 2 years ago
Ha - well here we are.<p>This post is, indeed, intentionally hyperbolic.<p>It&#x27;s a reflection on the fact that making all of these mistakes with my own stuff allows me to make better choices at work - and provides a constant canary project where the stakes are lower, but it&#x27;s actually hosted...so it strikes a good balance of continued learning and experimentation for me.<p>It&#x27;s also an experiment in firing blog posts sooner - keeping them &quot;living&quot; in the sense that I can always update them quickly later. Some of the contrived examples I chose didn&#x27;t really hit their mark, for example, so I&#x27;ll probably revise them later.<p>Thanks for the feedback :)
vvillenaabout 2 years ago
This comment section feels like no one bothered to really read the article.<p>&gt; But here&#x27;s the thing: despite all the frustration, the hair-pulling, and the curse words muttered under my breath, there&#x27;s something strangely satisfying about tackling these challenges head-on. In the process of keeping this site running, I&#x27;ve learned even more about full-stack development than I would have otherwise, and, more importantly, I&#x27;ve continued developing callouses as I encounter and solve so many common web-based pain points that are totally relevant to my day job, too.<p>&gt; [...] maintaining this site fucking sucks!<p>&gt; And that&#x27;s exactly why I do it. It&#x27;s one of the best projects I&#x27;ve ever created.<p>It&#x27;s an over-exaggerated rant about the positive effects of over-engineering a basic blog page.
sphabout 2 years ago
Why the hell does a personal blog need CDN caching?<p>Why the hell does a personal blog need Node?<p>Use boring technology and your site will be fast for anyone even on a $5 VPS. You&#x27;re not Google scale, for heaven&#x27;s sake.
评论 #35598870 未加载
CM30about 2 years ago
There are multiple ways you could avoid this though:<p>1. Use a language that isn&#x27;t JavaScript and avoid JavaScript frameworks, since most non JS setups don&#x27;t require managing thousands of dependencies to get something working.<p>2. Use a framework or CMS so that you can update at a reasonable pace, and its someone else&#x27;s responsibility if something in the tech stack breaks. This is why so many people still use WordPress&#x2F;Ghost&#x2F;Jekyll&#x2F;whatever system they feel like using rather than hand coding everything themselves, even if they have the ability to do so.<p>Maintaining a website is as difficult as you make it.
walrus01about 2 years ago
If you have constant headaches with your authoritative DNS for a domain, pointing A records at things you run and self host elsewhere, you are doing it wrong. Or need to go back to fundamentals and study bind9 better. I literally spend maybe 5 minutes a year managing DNS for all my different project domains.<p>Who the hell that has a clue is hosting their DNS with <i>GoDaddy</i>???!?
评论 #35598597 未加载
imafishabout 2 years ago
So what if he over-engineered his blog? Siblings are missing the point here:<p>1) maintaining stuff is a pain in the ass,<p>2) it can still be very fulfilling.
评论 #35598776 未加载
onion2kabout 2 years ago
<i>First, let&#x27;s talk about the DNS management. You would think that something as simple as pointing a domain name to an IP address would be straightforward, but no. There&#x27;s always some bizarre propagation delay or weird caching issue that makes you question your sanity.</i><p>If you think that updates to a globally distributed database can be simple, instantaneous, and free of caching issues then I&#x27;m not going to listen to your opinions on software complexity.
update8887about 2 years ago
Two things, one cents each:<p>- why would you use node.js, and a single page application framework setup for your personal page? Looks like static site generators would work just fine (gohugo, jekyl, astro, <a href="https:&#x2F;&#x2F;jamstack.org&#x2F;generators" rel="nofollow">https:&#x2F;&#x2F;jamstack.org&#x2F;generators</a> etc., emacs org mode?). Maybe &quot;just host that&quot; on github page, gitlab page, cloudflare page, sourcehut page etc.)<p>Many gitlab pages example (easy deploy), <a href="https:&#x2F;&#x2F;gitlab.com&#x2F;pages" rel="nofollow">https:&#x2F;&#x2F;gitlab.com&#x2F;pages</a> (favorite so far, <a href="https:&#x2F;&#x2F;gitlab.com&#x2F;pages&#x2F;org-mode" rel="nofollow">https:&#x2F;&#x2F;gitlab.com&#x2F;pages&#x2F;org-mode</a>)<p>- yes, frontend architecture and tooling hotdamnsucks; it&#x27;s important to learn how to practice it with the fewer dependencies possible.<p>PS: maintaining one site is a pain, imagine when you got hundred in management; you gotta keep things clean and simple
zackproserabout 2 years ago
I couldn&#x27;t take jt anymore, so I redid it again: <a href="https:&#x2F;&#x2F;www.zackproser.com&#x2F;blog&#x2F;maintaining-this-site-no-longer-fucking-sucks" rel="nofollow">https:&#x2F;&#x2F;www.zackproser.com&#x2F;blog&#x2F;maintaining-this-site-no-lon...</a>
gambitingabout 2 years ago
That page looks like it could have been made in HTML 1.1(and that’s actually a compliment, honestly!) - why bother with all those crazy dependencies? Why cache your images at the edge, if you have like 10 images total?
karmakazeabout 2 years ago
I dunno about that. I created a site push to repo, deploys via netlify and has dns&#x2F;cache with cloudflare. Admittedly I haven&#x27;t upgraded Vue version but didn&#x27;t feel I needed to.<p>I do follow the gist of it though. I&#x27;ve remade backends for some services in so many languages, frameworks, and even making frameworks and libraries for them. What I don&#x27;t do is maintain them. After porting to the next, I&#x27;ll abandon the old, or even abandon the current, sometimes even let it bitrot and go out of service having served it&#x27;s purpose. Maintenance is a choice that you can change your mind about it if sucks more than it&#x27;s worth.
vertisabout 2 years ago
I&#x27;ve been running a fairly custom jekyll blog for over a decade without feeling like it&#x27;s painful. Does it run the newest Jekyll? Probably not, but since it&#x27;s just a static generated site it hardly matters.<p>The lighthouse metrics are in the 80s, with a handful of performance things I could address, but let&#x27;s be honest don&#x27;t really need to, this is not after all a multi-million user app.<p>What part about that blog is custom enough that it requires Vue.js? And thereby requires you to keep it updated.
mdrznabout 2 years ago
Next time I encounter the question &quot;Why is Wordpress still so popular?&quot;, I will just share this article as a response. It&#x27;s worth considering that even experienced developers find it exhausting to handle the complex dependencies required to maintain their websites. You can only imagine the challenges faced by those who are new to web development.<p>I will gladly stick with my simple 1-click-update Wordpress blog. Thank you very much.
quickthrower2about 2 years ago
<a href="http:&#x2F;&#x2F;maintainingthissitefuckingsucks.com" rel="nofollow">http:&#x2F;&#x2F;maintainingthissitefuckingsucks.com</a> is available, btw
sneakabout 2 years ago
counterpoint: <a href="http:&#x2F;&#x2F;motherfuckingwebsite.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;motherfuckingwebsite.com&#x2F;</a>
评论 #35598693 未加载
评论 #35598668 未加载
Havocabout 2 years ago
This is partially why I&#x27;m zeroing in on a markdown driven static (astro) site on bunnycdn. Enough opportunities to scratch various technical itches while largely sidestepping the nodejs server garden of weeds.<p>Also happens to be cheaper &amp; faster.<p>Could go for one of the pages-like solutions but that seems a touch too boring.
jpswadeabout 2 years ago
I migrated from Wordpress to Github pages for this exact reason:<p><a href="https:&#x2F;&#x2F;wade.be&#x2F;2016&#x2F;01&#x2F;30&#x2F;welcome-to-jekyll.html" rel="nofollow">https:&#x2F;&#x2F;wade.be&#x2F;2016&#x2F;01&#x2F;30&#x2F;welcome-to-jekyll.html</a>
fpanzerabout 2 years ago
Dude needs to run a static website on apache using debian stable and point an a-record to it. Then enable unattended-upgrades. Done.
TobyTheDog123about 2 years ago
Something about his blog posts, with &quot;Catfacts in NodeJS&quot; right before &quot;Catfacts rewrite in Golang&quot; made me laugh.
nextlevelwizardabout 2 years ago
Why does one need any server side code to run a simple website or a blog?<p>Just browsing through the site it seems to be just links to articles and blog posts. All of that could be &quot;pre-compiled&quot; into plain old HTML pages and pushed to something like github pages and you wouldn&#x27;t need to worry about DNS, the server or any of the software running in the stack.
vr46about 2 years ago
I love over-engineering, you should see my dotfiles.
评论 #35598721 未加载
pavlovabout 2 years ago
TL;DR:<p><i>&gt; &quot;[...] maintaining this site fucking sucks! And that&#x27;s exactly why I do it. It&#x27;s one of the best projects I&#x27;ve ever created.&quot;</i><p>The author has intentionally chosen inappropriately complex tools for a simple task as a learning exercise.
wanabananasceneabout 2 years ago
Use something like this?<p>CMS that generates static html?<p><a href="https:&#x2F;&#x2F;sitecake.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;sitecake.com&#x2F;</a>
评论 #35598620 未加载