HNHacker News
TopNewBestAskShowJobs

daliwali

653 karma · joined June 6, 2012

sperging out online

https://daliwali.neocities.org

submissionscomments
daliwali··on Opinionated Comparison of React, Angular2, and Aurelia
The ending is what makes this article:

>Overall, I'm not 100% sure I made the right choice, but I only have to live with it for two years.

People are great at short term thinking, and tend to be terrible at long term thinking. Just some anecdata: I had a look at some source code for a 10+ year old web app before JS libraries were popular. I could understand perfectly how a click on a link resulted in a URL hash change and how the hash change resulted in updates on the page. Nowadays it would be written off as coding your own framework since web developers can't be trusted to code without a framework anymore. But it worked with the least amount of indirection possible and it was simple to understand 10 years later. Web apps today just get rewritten every two years.

daliwali··on Databases have failed the web
Many DBs weren't built to be exposed on the open web. The web didn't even exist at the time some popular databases were invented, and even after the fact, it's still not the purpose.

I would even argue that DBs have overstepped their bounds already with what programming abilities some have built-in. They should be focused on reading and writing structured data efficiently and correctly, not much more than that. Which database to use should depend on access patterns and structural requirements. Let the application logic be handled at a higher layer instead of mixing responsibilities everywhere.

daliwali··on Introducing Twitter Lite
Where do you think that JS in a web page comes from? Not from the network?

Service workers are a cache (and background process), and you still have to consider cache misses. Even if you have a giant JS app and cache it, users still have to download all the JS to actually work offline no matter what.

daliwali··on Introducing Twitter Lite
This comment is getting downvoted but if it's true, it's absolutely a good point. They are optimizing for what is inherently slower: loading JS in the client before anything can be seen or interacted with, rather than rendering HTML and forms so one doesn't have to wait for JS to compile and execute (and all the tracking bloat that comes with it).
daliwali··on EmberConf 2017: State of the Union
It's crazy, sometimes web frontend is an echo chamber and you will get burned to the stake if you suggest doing anything simpler like just writing markup instead of a template language that translates to markup or a language that translates to that language that translates to markup. But it keeps people employed.
daliwali··on We Need a New Deal to Address the Economic Risks of Automation
Likewise, I'm not interested in debating leftism in $CURRENT_YEAR. I'll just leave this quote from Industrial Society and Its Future:

>The leftist is anti-individualistic, pro-collectivist. He wants society to solve every one’s problems for them, satisfy everyone’s needs for them, take care of them. He is not the sort of person who has an inner sense of confidence in his ability to solve his own problems and satisfy his own needs. The leftist is antagonistic to the concept of competition because, deep inside, he feels like a loser.

Armchair psychology, ad hominem, I'll let you decide. Bye.

daliwali··on ZeroNet – Uncensorable websites using Bitcoin crypto and BitTorrent network
I don't see how this could decentralize web applications though. Wouldn't each client have to be running the server software? Someone has to pay for that, too.
daliwali··on Ask HN: Building a side project that makes money. Where to start?
>The tech is just an implementation detail you work out later.

Are so-called "tech" startups even about technology anymore? They are more and more focused on extracting value than innovating anything. Consider the focus on sales, marketing, advertising as of late and ask yourself if the greatest minds of this generation should be spending their efforts on making people buy stuff they don't need.

daliwali··on Ask HN: Building a side project that makes money. Where to start?
To me this sounds boring, it may turn into a profitable business but it's nothing innovative. If you limit yourself to what you currently use and try to incrementally improve it, new ideas will rarely come out of that unless you approach the problem from a radically different angle. Good ideas are underrated in this regard.
daliwali··on Problems with Swagger
An alternative is to just ditch these complicated documentation formats altogether. Put down your pitchforks, I'll explain.

The author of REST, Roy Fielding stated that only the entry URL and media type should be necessary to know in advance. Swagger would be considered out-of-band information, if it's necessary to have this documentation beforehand then it doesn't follow this constraint. Interactions must be driven by hypermedia, an idea which has a very unmarketable acronym.

The alternative that is suggested is to document media types, not APIs. If HTML were not a standard and every web page had to define its own technical specifications, the web wouldn't have taken off, because it wouldn't have been interoperable. Interoperability is key, it reduces friction from transitioning between web pages on different servers. How HTTP APIs are built today is wasteful, there are vendor-specific tooling costs up front and it doesn't scale.

daliwali··on Mastodon Is Like Twitter Without Nazis, So Why Are We Not Using It?
The problem with that is there is no practical difference between the two points of view. Both lead to balkanization and isolation.
daliwali··on We Need a New Deal to Address the Economic Risks of Automation
It's disingenuous to claim that what you're saying is not a rehash of Marxist rhetoric: class struggle leading to violent revolution towards a classless society, derailing the discussion towards a defense of communism.

>It is therefore possible for multiple sides of a violent and bloody conflict to all be acting in a manner that they consider to be morally correct.

So violence is always correct when I do it, but not when my opponent does it against me, right? What an infantile way of thinking.

>It would be better for everyone, all around, if civilization did not choose to stratify itself such that a permanent underclass exists.

Sounds like you believe in a utopian ideal of a classless society.

To me it's just empty words you are saying, you won't take risks for your ideals, like every other middle-class ideological leftist. Move to a low-income neighborhood, experience first-hand what a robbery feels like, or to be on the business end of a gun. Remember that the Red Guard were the first to be executed.

daliwali··on Mastodon Is Like Twitter Without Nazis, So Why Are We Not Using It?
It would defeat the purpose of federation if there's a different server for each political persuasion. Why bother with federation if you don't want to see anything you disagree with? Each server would be its own hugbox.
daliwali··on Mastodon Is Like Twitter Without Nazis, So Why Are We Not Using It?
Since it's decentralized that means there wouldn't be an effective way to ban someone from the network without consensus. Anyone, "Nazi" or not, would be free to post offensive content without a central authority policing users as is the case with Twitter. I don't think this is actually a solution that certain users and most advertisers want.
daliwali··on We Need a New Deal to Address the Economic Risks of Automation
Cast aside the revolutionary rhetoric for a moment and reconsider what you are saying. Isn't that the same rationale of spree killers, rapists, and other violent low-lives?

A few in recent history have been moderately wealthy, but their poverty lies not in the economic but rather sexual market. Society has denied their right to reproduce, and did not arrange a marriage for them which could have prevented their killing spree. Were they morally justified to harm others?

You are saying that gives them a license to kill. Society denied them something, so you are saying that a justifiable response is to lash out at others. You see there is no point negotiating with people like that, that's when violence is justified.

daliwali··on Men Without Work
It has much less to do with money than you think. There are people who would be very dangerous if they had leisure time, rich or poor, for we're all the mob.
daliwali··on We Need a New Deal to Address the Economic Risks of Automation
Ok, what I said had nothing to do with violence though. Sounds like you are trying too hard to role-play as an outlaw or a revolutionary. Consider the homeless, they may be out of a job through no fault of their own, and most are non-violent. Even as a last resort, it is not justified for the homeless to hurt people. Violence as a first principle is the folly of ideologues.
daliwali··on We Need a New Deal to Address the Economic Risks of Automation
>does being born make you worthy of survival?

Does the world owe you a living? Most would answer "no".

Civilization is often in direct opposition to nature, which is cruel and unforgiving. A civilization in collapse will revert to natural selection, in which the fittest survive and reproduce.

I believe that we are witnessing the breakdown of the social contract as the atomic unit of society shifts from the family to the individual. Atomized individuals are much more vulnerable, and replacing the family with the state will further alienate people. Entire novels have expounded on this idea.

daliwali··on We Need a New Deal to Address the Economic Risks of Automation
There is no need to censor the data, as long as one can present it in a way that is favorable to a particular viewpoint. The fallacious argument being made with the unemployment rate lends itself to misinterpretation.
daliwali··on We Need a New Deal to Address the Economic Risks of Automation
Because the unemployment rate is a lie. It is denominated by the "labor force", which, if one excludes those who are no longer seeking work or chronically unemployed, it's basically being dishonest with statistics. One does not have to feign ignorance as to why there is a disconnect between the statistics and the reality.
daliwali··on Men Without Work
Reminds me of George Orwell:

>I believe that this instinct to perpetuate useless work is, at bottom, simply fear of the mob. The mob (the thought runs) are such low animals that they would be dangerous if they had leisure; it is safer to keep them too busy to think.

The desire to keep people employed is driven by fear, as its known that idle hands are the Devil's workshop.

daliwali··on Is GraphQL the Next Frontier for Web APIs?
Having a specification that tells you exactly how to do a particular thing can be more expedient than being open to interpretation. But short-term benefits aren't exactly a goal of REST:

>REST is software design on the scale of decades: every detail is intended to promote software longevity and independent evolution. Many of the constraints are directly opposed to short-term efficiency. Unfortunately, people are fairly good at short-term design, and usually awful at long-term design. Most don’t think they need to design past the current release. [0]

There isn't anything about REST that is opposed to flexible querying or fetching multiple resources in one request. Isn't that what web pages do already? I've used very complicated search forms and fetched lots of related data on the same page. What makes it possible is the use of standards like query strings, x-www-urlformencoded, multipart/formdata, and HTML itself. Machine clients may just need their own media types.

[0] http://roy.gbiv.com/untangled/2008/rest-apis-must-be-hyperte...

daliwali··on Is GraphQL the Next Frontier for Web APIs?
By Betteridge's Law of Headlines, the answer is "No".

REST describes the architecture of the web, which most websites already conform to. Developers could design web APIs more like web pages, but standard media types must be adopted first. JSON-LD is a strong contender at that.

daliwali··on Apollo Client 1.0: A flexible, community-focused JavaScript GraphQL client
This is not a knock on Apollo in particular, but I am wholly underwhelmed by what gets hyped up in this industry. There isn't anything novel here. A new generation of programmers rediscovers Remote Procedure Call (they call them mutations), schemas (NoSQL was so last year), and various older concepts and rehashes it while putting down a strawman they claim is Representational State Transfer (which if they read the thesis, they would realize that their concerns are nitty gritty details which are only tangentially related to the architecture described).

Also the community-focused angle is disingenuous. It's backed by venture capital of the Meteor Development Group and based upon a single vendor specification, GraphQL by Facebook.

daliwali··on Don’t build apps that encrypt customer data
Don't encrypt your user's data that is stored hardware you do not own. If you have nothing to hide, you have nothing to fear. This is all in order to improve the user experience of course.
daliwali··on Ask HN: Is Accidental Complexity Growing Faster Than Essential Complexity?
Server side rendering can be done with any JS framework, though often one must compromise performance by using a more heavyweight implementation like jsdom, or some custom implementation if the framework provides it.

Also I have done something similar using domino: https://simulacra.js.org/#server-side-rendering

daliwali··on Ask HN: Has attracting a blog audience become harder?
There are a variety of reasons why I think blogging is no longer as visible as it used to:

- People don't read long form as much as they used to. Especially considering the content that gets popular on the Internet are now images, videos, short messages, there is less of an audience for long form writing and content producers are more focused on the lowest common denominator.

- Hyperlinks used to be a valuable social currency, not as much anymore. People are more inclined to use search engines or social media to find content, which is kind of lame because recommendations via links from the authors themselves are much more relevant than algorithms.

- Social media and large corporations have made it much harder to get people to leave their platforms. Instead of being an entry point, they want to be the destination for content.

- There is simply too much garbage out there, and curation/aggregation for quality content is nearly non-existent unless you already know the right places to look. Otherwise you get fed the same garbage as everyone else, or trapped inside an algorithmic filter bubble.

daliwali··on Lisp Quickstart
If you are really in a hurry and can't commit to learning the hundreds of forms in Common Lisp, Scheme is a minimalist alternative. The entire language has only a few forms on which make up everything else.
daliwali··on Angular 4.0.0 Now Available
How ironic is that comment coming from a throwaway account... Given that both frameworks are products of multi-billion-dollar corporations, used mostly in commercial applications, and keep a fair number of people employed, I think it's a bit more than just getting riled up.
daliwali··on Modern JavaScript for Ancient Web Developers
Those weren't accessible to begin with, not even back then :)
← PreviousPage 5 of 8Next →