HN user

gcpwnd

79 karma
Posts0
Comments40
View on HN
No posts found.

And how do I build offline-first web applications with HTML over the wire?!?

I can't give you an perfect answer, because I am not aware of a practical example. But I think its quite doable. In a very naive way you can just store the results locally and use them when requested while offline. That potentially increases the storage size of individual items due to the HTML overhead of course. A fairly small app with little offline content could be quite simple. An advanced approach could be to push template parsing to the frontend. HTML fragments could use i.e. micro formats to retrieve data from the HTML and store it for later use. The question in this case how much logic you have to duplicate. I.e. template parsing should be very simple, unless you can share the template engine.

What I've feel is ignored in the community is that actual backend development never reached a point of wide adoption with javascript/node. Certainly node and alikes are used to deliver front end code, as front end api or api layer in between. But the vast majority of backend development remained in the power of established tech. The (natural) attempt of JS tech to push into backends, led to some accidental constructs, a mix of JS and other techonologies which may act more like walls then bridges. Tech stack responsibility is blurred because of JS's omnipresence, which leads to several problems. I think some people start to realize that JS is a useful front end platform but must not be the default tool for a backend platform.

Reread your and the previous post. You make hardly a point towards it. What is new with streaming is that music is much faster produced, consumed and forgotten. Streaming is part of the Problem. You cannot expect capitalist in the industry to step back and prefer quality over quantity and the streaming industry neither. As long there is cash on the table some one will grab it. Actually everyone is part of the problem from consumer to artist. It's just the question whether you perceive it as problem or not.

I remember that my suggestions were pretty obscure the last time I tried the spotify algo. But actually it is pretty natural that they suggest niche or less known artists because those have shittier deals and are less expensive to stream. Also, in that position you don't want to promote the top artists for free.

Don't wonder. Just be realistic. Did you ever work in an IT business environment? Remember the situations when good taste slowly morphed into business interests? Yeah, that's natural in a capitalist environment. By no chance spotify dodged that bullet. Positivity and goodwill is fine but don't spare anyone from corruption.

Without public pressure it is not going to happen. German politicians have been positive towards this move recently (althought without mentioning it is already in progress). Sadly politics think it is the easiest solution to counter torrorism.

This discussion just cares about the extremes. Maybe there are lonely people that get milked on behalf on parasocial relationships. Maybe there are rich people that like streaming and honor it with money. There are probably a lot people with unknown financial and social status that just lurk on and off (like me). Unless we conduct research that indicates that this is massively negative to the society we should not speculate and try to make up stigmas.

You missed the point. He said games do not generate anything materially useful. His intend here was to trivialize the true value of games and still giving them the honor of being worthwhile. Read between the lines or just don't at all.

As usual. People have criticism. Counter critics say get smarter. The problem is that we are dealing with largely unproven concepts. We have no facts, not even meaningful empiric insights. It is a battle of religions but it should be an academic challenge.

Auto translation is probably a big deal for yt/google long-term. If they maintain/achieve dominance in this field they're practically the only one to have detailed insight and anlysis about video content. Fostering an alternative market would be negative and cause more uproar as soon they expand their auto translation services.

Slightly OT: I use private tabs and write my banks URL by hand and log in via 2FA. Are there cases or have there been attempts to poison the users address bar history with malicious URLs for fishing?

This is happening because we’re reaching the end of the current stage of capitalism and need a new paradigm for the 21st century.

Can anyone explain how to find the end of capitalism? Is there a finishing line or is there just a theme which suggest I am getting close?

DRY is not very useful as a concept. It doesn't define any rules how to identify bad repeated code, nor how to change it and doesn't define limitations of the concept or it's application.

I know this sounds wild and harsh but we have to overcome the habit of explaining non trivial or even unsolved problems with truisms.

Pick a web app that can render without JS. Then remove all JS and they will render 5x faster.

Some aspects of computers got better, sure. But the web is at an super shitty state. I mean were here posting on a website that has bare mininum design and features. Why is that? Twitter and reddit are absolutely horrible in terms of usability and performance. If you know that they could do better makes tham even worse. It is an attack on humanity. You can try to find excuses in unrelated things like noted, but that wont change anything.

Sorry that is a crazy thing to say. With node (front end tech at heart made by front end people) programmability invaded the frontend. Which gave myriads of new ways to solve problems and given that all the front end problems are new and the community is fairly young the whole thing is pretty wild currently. No backend dev would care about SPA madness is he had the choice.

New in PHP 8 6 years ago

The OO model is superficially adapted from Java. The open source community is pretty much following the SOLID / clean code cult. There are of course huge differences but the community acts like we're building a second java and there is no scepticism about it.