Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
azangru
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
49 ms
·
661.
▲
by
azangru
4y ago
> Alternatively the government could just tax carbon emissions and let people make their own decisions about how to spend their money. Then, I am sure, those taxes would just be part of the price tag. Just as tobacco duties are. In which
662.
▲
by
azangru
4y ago
> What has a bigger carbon footprint: driving from London to Brighton or eating an eight ounce steak? Is this really the kind of question you expect people to be asking themselves? Especially if they need to drive from London to Brighton
663.
▲
by
azangru
4y ago
Much better! I miss _why.
664.
▲
by
azangru
4y ago
Does anyone else get frustrated when they see, in blogs, articles, or books, introductions such as this: > Computers are common in today's world, as they are able to perform a wide variety of tasks quickly and accurately. They are u
665.
▲
by
azangru
4y ago
Thousands of companies that have openings for positions that match your skills, that advertise at a time when you are looking for a job, and that are roughly within your reach (geographically or sponsoring a visa)? I don't believe you.
666.
▲
by
azangru
4y ago
> I still commonly can't predict what the behavior of some aspects of my code is going to be Commonly? Could you give an example? > or what the state of the application is at a given point That's not a criticism of a languag
667.
▲
by
azangru
4y ago
> But then as you get into it, you realize that you just can't do that if you want to make money How do other networks survive? Gettr, Rumble, Truth.social? Locals? Is parler still around by the way? Arent these crowds sufficiently
668.
▲
by
azangru
4y ago
> So is anyone around still willing to defend Elon Musk's “freedom of speech includes speech I don't like” promise, or has everyone admitted that that was all a farce? Not that I want to defend Musk - I've heard of (not ex
669.
▲
by
azangru
4y ago
Who decides what's unnecessary?
670.
▲
by
azangru
4y ago
Dang, this is so sad.
671.
▲
by
azangru
4y ago
> But as a tech savvy user I don't actually have anything that makes me desire PWAs. Storage space? The knowledge that the app you installed runs inside a browser sandbox, with certain safety guarantees (I've never quite learnt
672.
▲
by
azangru
4y ago
> we seriously do need to discuss the capabilities of the average user and how allowing PWAs to bypass the app store review process is likely to be harmful to them We have at least two kinds of users. One is the non-technical user you ar
673.
▲
by
azangru
4y ago
This is such a misrepresentation of the open-source landscape. Yes, there are people working on open-source projects who beg for donations; but there also are open-source projects maintained by full-time employees (Eleventy, paid by Netlify
674.
▲
by
azangru
4y ago
I want browser developers to be on the side of everyone who uses web browsers, and who builds for the web platform.
675.
▲
by
azangru
4y ago
> That is literally what useEffect is for! No, sorry; for useEffect to fire, a prop or a state needs to change; which means that the component is going to re-render. My point is that sometimes we want to observe properties passed to the
676.
▲
by
azangru
4y ago
> what exactly is so hard about using hooks Oh, this I can tell. For one thing, it's very easy to get stale closures if one isn't careful. For another, hooks are a reactivity mechanism that is tied to the re-rendering of the wh
677.
▲
by
azangru
4y ago
I don't get it. From the example on Stackblitz[0], Pinia looks pretty much like redux, only with multiple stores instead of a single one. As far as I recall, Zustand is similar. What are the advantages of these libraries over redux (es
678.
▲
by
azangru
4y ago
> Andreesen wanted to implement Scheme I thought Eich did?
679.
▲
by
azangru
4y ago
> just pick up Excel Pandas are free; Excel is not.
680.
▲
by
azangru
4y ago
> So what happens when one of your dependencies no longer exists on the Internet for one reason or another? Can I rephrase it to something more realistic? "So, what happens when one of your dependencies is no longer maintained, for
681.
▲
by
azangru
4y ago
> instead of wasting time trying to make UI behave properly across a plethora of browsers, OSes and platforms Cross-browser compatibility was the problem that jquery was trying to solve back in 2008 or thereabouts. Not a problem that rea
682.
▲
by
azangru
4y ago
> I might finally invest some time into what it looks like to create front ends independent of any of the existing frameworks that exist today, which I think is probably controversial This is a great idea. Nothing controversial about it.
683.
▲
by
azangru
4y ago
> But if you’re already familiar with TypeScript, have no fear! 5.0 is not a disruptive release, and everything you know is still applicable. Do you know what caused the typescript team to make it a major release? Has the decorator api c
684.
▲
by
azangru
4y ago
> The journal accepts that some readers may wrongly have inferred I am confused. What is the Lancet blaming its readers for? Why was this inference wrong?
685.
▲
by
azangru
4y ago
Vulkan, I suppose.
686.
▲
by
azangru
4y ago
Yes, this is my understanding. If the browser client and the server are both written in typescript, tRPC has a very attractive story of bridging the two. No protobufs though; so whatever performance wins gRPC brings, are absent from the tRP
687.
▲
by
azangru
4y ago
> What does this get me that gRPC + Protobuf to generate a Typescript client wouldn't? Have you tried running gRPC in the browser? How was the experience?
688.
▲
by
azangru
4y ago
The ides, you say?
689.
▲
by
azangru
4y ago
Calling useEffect an escape hatch is as much of a recent fad as shitting on react. How can it be an escape hatch, when it is the only api provided by react to perform side effects during the rendering cycle, which do not themselves pertain
690.
▲
by
azangru
4y ago
With this interpretation though, the statement about the UI being a (pure) function of the state loses any concrete meaning. Because what you are in fact saying is that you just want your UI to be in sync with your state. Which any framewor
More ›