HNHacker News
TopNewBestAskShowJobs

SinParadise

217 karma · joined February 22, 2021

submissionscomments
SinParadise··on The front end framework for correctness: built on Effect, architected like Elm
Its the same "solved" pattern, but with the pattern being more deeply rooted in a project.
SinParadise··on Earth beyond six of nine planetary boundaries
Its OK magic of technology will swoop in and save us. Any time now.
SinParadise··on Making sense of React Server Components
>I don't think React ever pitched view as a function of state actually. Many in the community latched onto that, and some React-inspired projects tried to make that a thing, but I'm positive that was never the pitch from the core team, in fact very certain of this.

If it quacks like a duck..

SinParadise··on Solar and batteries are going to win, and our thinking needs to adjust
> We very rarely need specific minerals.

Because historically we do not have technology complex enough to need specific minerals. Now we do.

> Most of these needs we can fulfill with many different minerals. And the amount of all [1] minerals in earths crust is staggering compared to any foreseeable futre, so we are just going to flip to whatever is easiest/cheapest to dig.

There is another factor at play though: energy required to extract the minerals. Ones deeper in the earth's crust are likely more energy intensive to extract and perhaps even purify. At some point it won't be worth it.

SinParadise··on Solar and batteries are going to win, and our thinking needs to adjust
>If we really can't find any more, then billions or trillions of dollars will be redirected to bring lithium extraction from seawater to commercial scale.

And we are probably going to burn fossil fuel to obtain the energy for this?

SinParadise··on Solar and batteries are going to win, and our thinking needs to adjust
> We have not run out of any mineral ever and I don't believe we ever will.

Is mineral not a finite resource? I don't understand your source of optimism here.

SinParadise··on Solar and batteries are going to win, and our thinking needs to adjust
That imo is our only way out, but this is effectively deus ex machina moment for humanity.
SinParadise··on Solar and batteries are going to win, and our thinking needs to adjust
Based on his calculations from a video a year ago. He projects that we would need 940M tons of lithium, while 2022 reported reserves is 95M tons.[0]

Are we going realistically find enough undiscovered lithium reserves that is the same size as our known reserves as of 2022, even assuming that he is off by a factor of 4?

[0] https://www.youtube.com/watch?v=MBVmnKuBocc&t=2604s

SinParadise··on Solar and batteries are going to win, and our thinking needs to adjust
https://www.youtube.com/watch?v=MBVmnKuBocc

Long video, but informative.

TLDR: We don't have enough minerals (including reserves) to completely switch our energy from ff to renewables, assuming our current energy consumption flatline, and our renewable technology efficiency and mineral consumption remain the same.

SinParadise··on Making sense of React Server Components
Thats a cool project.

>But I don't think the "pretend it isn't" makes any sense

Well, let me expand a bit more. React's pitch is that view is a function of state, and essentially designed around the idea of an immutable state which re-renders everything when changed. It then offered some APIs to allow fine-tuning of rendering via hooks which either ties with data changes or some rendering life-cycle. To me the API screams of stubborn refusal to let go of the "view as a function of state" mantra: When you encounter a scenario where it breaks the mantra, lets add another lever to handle it. This lever also has to be pulled by you the developer, and it is up to you to know when to do it.

>I actually like React more than Svelte for many reasons, but magic compilers and templates are two big ones.

I don't really have an issue with compilers. They are the accepted magic that bridges between language for people and language for machines. The ideal language might be something that is functional and immutable language that it is easy for us to read, but compiles to the optimized, imperative updates that machine can run well.

I'd probably like React better if it had a compile layer on top of its more functional parts?

As for templates, JSX is probably the one great thing that came out of React. It is no wonder that many other frameworks are embracing JSX, but none of them are really forking the idea of hooks.

SinParadise··on Making sense of React Server Components
I mean, I am OK with magic, but it has to remain magical to me. The moment I have to deal with the magic, I don't want it anymore.
SinParadise··on Making sense of React Server Components
I like Svelte. It embraces the fact that UI is stateful and doesn't try to pretend it isn't.
SinParadise··on Making sense of React Server Components
Not useEffect specifically, but wiring something very stateful like a map library into the React rendering paradigm while keeping the state management in React via useState etc. can be very difficult to do so in a performant way.

I recalling using a lot of useRef to manually tune when to re-render, and in an ideal world I shouldn't be this granular about it.

You can certainly use one of the many React map wrapper libraries to lessen the pain, the pain is still very real, just dealt with by someone else.

SinParadise··on Ask HN: Who is hiring? (September 2023)
70 year old enterprise telecom, but in F#?

You guys have any blog posts detailing this transition?

SinParadise··on Currying in Kotlin
Not sure if Kotlin is conductive to currying. I find it harder to read with currying, not easier.
SinParadise··on Discord monetization: microtransaction stores and paid 'exclusive memes'
Zoom is said to be easy to use for voip, but I found discord to be vastly superior in terms of ease of use and config.

Basically all the ceremonies and friction of the networking aspect and video/audio aspects are gone.

Now I think the community model of Discord isn't really in congruence with the knowledge base model a la Reddit(its hard to drop-in and out of community just to get one answer), but it is still vastly superior to its competition.

SinParadise··on CEO Update: Paving the road forward with AI and community at the center
Nothing here directly addresses the issue of users migrating away from the flow of `Google search -> SO` to `ChatGPT/Phind`.

Maybe SO should just acquihire Phind. Use Phind as the gatekeep to filter out questions with well established answers before another doe-eyed user make the fatal mistake of asking a non well-formed question before they are excoriated by the poweruser #44956.

SinParadise··on How Postgres Triggers Can Simplify Your Back End Development
I'd say depends on the complexity of the logic itself. I would never write triggers with any logical branching, but for simple update table B when table A is updated? I definitely see the value in that.
SinParadise··on Modern Transactional Stack
Also plays into the trend of "lets hire fullstack devs AKA frontend devs that knows how to call APIs and have a vague understanding of transactions and its pitfalls" and offload all backend work to SaaS products.

If the startup takes off? Great! If it doesn't? At least those SaaS products offered free trials.

SinParadise··on Modern Transactional Stack
This is trading architectural complexity with integration complexity.

You can learn to architecture better, but you can never get better at duck taping together the capricious and arbitrary APIs between hottest new techs.

SinParadise··on Thoughts on Svelte
So basically, using $ with expressions and no side-effects within the expression will not cause the issue the article is having?
SinParadise··on GPT-4
Funny, I had just watched Plan 75 yesterday.
SinParadise··on AI Won't Cause Unemployment
No because you have to be actively looking to be counted as unemployed.
SinParadise··on Vinyl Chloride and the Ohio Train Derailment
The invisible hand of the labor market will solve this issue.
SinParadise··on Math breakdown: Anime homing missiles
Mechwarrior 5 is kind of meh without mods. I played with the following:

VonBiome for more battlefields, YetAnotherMechLab, YetAnotherMechlabMechs, YetAnotherWeapon and YetAnotherWeaponClan for mechlab and additional weapons. XenoAI MissionYAML and CoyotesMission to improve mission variety and difficulty.

SinParadise··on Math breakdown: Anime homing missiles
honestly everything Microprose and Hooded Horse is instabuy for me. well, almost instabuy.
SinParadise··on Microsoft workers to form company’s first union in the U.S.
The railroad worker is not representative of the average union. It is an extreme outlier.
SinParadise··on In 2022, Web3 went just great
Hostility is the point.
SinParadise··on In 2022, Web3 went just great
I'd ask them "you rich yet" at this point.
SinParadise··on Lastpass setting the delete account div to display: none
Probably Bitwarden or KeepassXC. I just use KeepassXC with the db stored on pCloud.
Page 1 of 3Next →