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.

Simple Lasts Longer

158 pointsby przem8kover 1 year ago

15 comments

edfletcher_t137over 1 year ago
&gt; They can only last if they’re simple to maintain, otherwise keeping them working becomes tedious and the author eventually gives up.<p>This, x1000.<p>I cannot count how many hobby projects I have outright abandoned at the first failure, never to return. The fix may have been simple too! I&#x27;ll never know, though: the startup effort required to re-contextualize myself with the complex mess I&#x27;d made was never worth it at the time, and the longer you let them languish the less-likely you are to return. RIP, projects.<p>Simple Lasts Longer.
DeathArrowover 1 year ago
This reminds me of Hello World Enterprise Edition: <a href="https:&#x2F;&#x2F;gist.github.com&#x2F;lolzballs&#x2F;2152bc0f31ee0286b722" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;lolzballs&#x2F;2152bc0f31ee0286b722</a><p>Sometime people really like to complicate instead of keeping things simple. Not just for show off but they genuinely believe something more complicated is better. Better such as it has better security, it has better extendability and is more generic. Even if those features were never in the actual business requirements.<p>I am amazed no one has written Hello World Microservice Edition. So you can have a fancy React UI, a Gateway, an User service, an Authorisation service, a Notification service, an Audit service, a Pricing service and a Printing service.
评论 #38924343 未加载
评论 #38923724 未加载
评论 #38927168 未加载
评论 #38924478 未加载
评论 #38927406 未加载
schemescapeover 1 year ago
Local Storage falls apart on iPad&#x2F;iPhone, unfortunately. The data is deleted if you don’t visit the site often enough. I lost my Wordle stats over a vacation this way.<p>Even worse, if you have an HTML game hosted on itch.io (which uses a cross-domain iframe, for security), Safari just silently discards all Local Storage when you close the tab, with no option to disable this behavior on a specific site.<p>I know Local Storage is supposed to be just a cache, but I really wish we had opt-in durable storage…
评论 #38931006 未加载
fardoover 1 year ago
Cookie clicker does something similar for importing and exporting saves, and it is an absolute joy to not have to fiddle with accounts and be able to backup your own data. I’d love to see more applications move to this model, it’s very user-friendly.
xnxover 1 year ago
Are there any ideas &#x2F; draft proposals about browser access to shared cloud storage? (Google Drive, Dropbox, OneDrive, etc.) The ability to store data on the user-side in a way that they control and is still cloud-available to multiple devices may be a feature that&#x27;s just too user-empowering to be supported.
评论 #38922051 未加载
评论 #38922036 未加载
评论 #38921802 未加载
评论 #38922464 未加载
HermanMartinusover 1 year ago
This is the philosophy behind Bear Blog. It’s built to last longer than me.<p><a href="https:&#x2F;&#x2F;herman.bearblog.dev&#x2F;building-software-to-last-forever&#x2F;" rel="nofollow">https:&#x2F;&#x2F;herman.bearblog.dev&#x2F;building-software-to-last-foreve...</a>
karlososover 1 year ago
Using offline storage is the approach I use in most of my hobby projects. It&#x27;s simpler, and faster (in developing and in usage) and there are no loading screens.<p>In my kindle-clippings-manager (<a href="https:&#x2F;&#x2F;github.com&#x2F;karlosos&#x2F;kindle_clippings_webapp">https:&#x2F;&#x2F;github.com&#x2F;karlosos&#x2F;kindle_clippings_webapp</a>) I import highlights from Kindle and store them in localStorage. The major drawback is a size limitation (10MB). This should not be a problem in most cases but if you need to store more data then indexedDB (with bigger limits but more complexity) can solve the issue.<p>Linear (<a href="https:&#x2F;&#x2F;linear.app&#x2F;" rel="nofollow">https:&#x2F;&#x2F;linear.app&#x2F;</a>) uses its sync engine to store the data in Web Storage. With optimistic updates, it feels like an offline app. You can read more about the sync engine here: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=36519448">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=36519448</a>
评论 #38930970 未加载
jauntywundrkindover 1 year ago
It&#x27;d be excellent if Export&#x2F;Import has a standard format.<p>Especially if we see adoption on the Storage Buckets standard, sites will be able to partition up their storage into different concerns. Maybe there&#x27;s some users data (xdg config[1]), some cache (xdg cache[1]), some app state ([1]), and each can be saved into a different bucket. Then a standard export&#x2F;import standard would let folks save and load data easily? Maybe in interesting cross-site ways, where we import&#x2F;export data? <a href="https:&#x2F;&#x2F;specifications.freedesktop.org&#x2F;basedir-spec&#x2F;basedir-spec-latest.html" rel="nofollow">https:&#x2F;&#x2F;specifications.freedesktop.org&#x2F;basedir-spec&#x2F;basedir-...</a><p>I was super scared this article was going to glorify an impractical disconnected imo useless &quot;simple.&quot; Very glad to see import&#x2F;export handled; simple, but very much in users power to let connectivity happen, to spread their data, as connected apps have so powerfully let us do.
mouzoguover 1 year ago
&gt; &quot;They can only last if they’re simple to maintain, otherwise keeping them working becomes tedious and the author eventually gives up.&quot;<p>avoiding third-party services&#x2F;APIs and fickle build tools will get you 99% there. not always possible.<p>i remember the days when APIs and aggregation was the trend. yahoo pipes was the peak.
fiddlerwoaroofover 1 year ago
This technique is used by a lot of idle games to preserve progress. E.g. the kittens game exports its state as a base64 encoded string.
Dalewynover 1 year ago
&gt;Hobby projects are fragile. They can only last if they’re simple to maintain, otherwise keeping them working becomes tedious and the author eventually gives up.<p>Literally why I always choose Windows over Linux, Intel&#x2F;Nvidia over AMD, air cooling over water cooling, etc. for all my computers.<p>Life is short, ain&#x27;t nobody got time for jank no more.
nicbouover 1 year ago
I&#x27;ve recently been making much simpler projects, and simplifying old projects too. I don&#x27;t have as much time for maintenance as I did during COVID.<p>On the other hand, my most complicated project ran just fine for 3 years. I dreaded touching it because it was too hard to reason about, but it worked.
thriftwyover 1 year ago
I wonder if you do not have more interesting things to see in Paris than crude Space Invader pixel art. That would be really neat if it was all over Chelyabinsk or Sao Paolo, or maybe some derelict US suburbia. But Paris? Come on!<p>Same thing with London and Banksy, btw. Of all the things you could see.
评论 #38926689 未加载
stevageover 1 year ago
Yeah, I use this solution.<p>A next level up is to use Glitch, running something like PocketDB.
gnivover 1 year ago
&gt; This works by default, without any permission prompts.<p>How come? Is WebStorage exempt from GDPR? (I searched a bit and found both yes and no answers.)
评论 #38925534 未加载
评论 #38923489 未加载
评论 #38923873 未加载