Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
daliwali
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
121.
▲
by
daliwali
10y ago
I think rate limiting is the wrong idea. Say for example, a client wants to re-fetch everything that it has cached, it may send a burst of requests in a short amount of time, and some of those requests may be wrongly rejected due to rate li
122.
▲
by
daliwali
10y ago
This seems to be a thin wrapper for the actual Lua VM implemented in Go: https://github.com/yuin/gopher-lua
123.
▲
by
daliwali
10y ago
I both agree and disagree with the premise that programming is a creative process. Donald Knuth calls programming “an aesthetic experience much like composing poetry or painting.” The most creative work can be done when it's not clear
124.
▲
by
daliwali
10y ago
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
125.
▲
by
daliwali
10y ago
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 overstepp
126.
▲
by
daliwali
10y ago
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
127.
▲
by
daliwali
10y ago
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 HT
128.
▲
by
daliwali
10y ago
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 trans
129.
▲
by
daliwali
10y ago
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
130.
▲
by
daliwali
10y ago
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.
131.
▲
by
daliwali
10y ago
>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 sale
132.
▲
by
daliwali
10y ago
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 approa
133.
▲
by
daliwali
10y ago
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 a
134.
▲
by
daliwali
10y ago
The problem with that is there is no practical difference between the two points of view. Both lead to balkanization and isolation.
135.
▲
by
daliwali
10y ago
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 t
136.
▲
by
daliwali
10y ago
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.
137.
▲
by
daliwali
10y ago
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 policin
138.
▲
by
daliwali
10y ago
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 thei
139.
▲
by
daliwali
10y ago
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.
140.
▲
by
daliwali
10y ago
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-violen
141.
▲
by
daliwali
10y ago
>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
142.
▲
by
daliwali
10y ago
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.
143.
▲
by
daliwali
10y ago
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 n
144.
▲
by
daliwali
10y ago
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
145.
▲
by
daliwali
10y ago
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 deca
146.
▲
by
daliwali
10y ago
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
147.
▲
by
daliwali
10y ago
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 mutati
148.
▲
by
daliwali
10y ago
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.
149.
▲
by
daliwali
10y ago
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 someth
150.
▲
by
daliwali
10y ago
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, vide
More ›