Live data from Hacker News

Simple Lasts Longer

newsletter.pnote.eu

11–20 of 35 posts

Re: Simple Lasts Longer

#12
I've recently been making much simpler projects, and simplifying old projects too. I don't have as much time for maintenance as I did during COVID.

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.

Re: Simple Lasts Longer

#13
> This works by default, without any permission prompts.

How come? Is WebStorage exempt from GDPR? (I searched a bit and found both yes and no answers.)

Re: Simple Lasts Longer

#14
post #13

> This works by default, without any permission prompts. How come? Is WebStorage exempt from GDPR? (I searched a bit and found both yes and no answers.)

Why do you think prompts are necessary? If you don't send any data to third parties or let them store data on the users device you don't have to prompt anything GDPR related.

Re: Simple Lasts Longer

#15
> "They can only last if they’re simple to maintain, otherwise keeping them working becomes tedious and the author eventually gives up."

avoiding third-party services/APIs and fickle build tools will get you 99% there. not always possible.

i remember the days when APIs and aggregation was the trend. yahoo pipes was the peak.

Re: Simple Lasts Longer

#16
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!

Same thing with London and Banksy, btw. Of all the things you could see.

Re: Simple Lasts Longer

#17
This reminds me of Hello World Enterprise Edition: https://gist.github.com/lolzballs/2152bc0f31ee0286b722

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.

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.

Re: Simple Lasts Longer

#18

This reminds me of Hello World Enterprise Edition: https://gist.github.com/lolzballs/2152bc0f31ee0286b722 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 requir…

There is, of course, Hello GNU World: https://www.gnu.org/software/hello/manual/hello.html

with versioning and diffs: https://ftp.gnu.org/gnu/hello/

I'm guessing the WebASM Privacy browser equiv must be: Hello Brave GNU World

Re: Simple Lasts Longer

#19
Using offline storage is the approach I use in most of my hobby projects. It's simpler, and faster (in developing and in usage) and there are no loading screens.

In my kindle-clippings-manager (https://github.com/karlosos/kindle_clippings_webapp) 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.

Linear (https://linear.app/) 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: https://news.ycombinator.com/item?id=36519448

Re: Simple Lasts Longer

#20
post #13

> This works by default, without any permission prompts. How come? Is WebStorage exempt from GDPR? (I searched a bit and found both yes and no answers.)

In this context they probably mean browser permissions, like notifications or camera/mic access.
Post reply on HN