News for hackers. Stuff that matters.

legym

Re:Hydration is pure overhead on Wednesday April 20, 2022 @03:48PM (#31101997)
The company I work for is making a big deal about client-side hydration. We use nextjs for our sites. My director was asking about Svelte.

"Something i wanted to mention is both the React team and nextjs team are aware of this and are working on a solution to address needing to load Javascript on the client. Its called React Server Components

React Server Components Documentation https://reactjs.org/blog/2020/12/21/data-fetching-with-react...

Nextjs Blog on Server Components https://vercel.com/blog/everything-about-react-server-compon...

Nextjs Documentation on Server Components (Alpha) https://nextjs.org/docs/advanced-features/react-18/server-co...

We can try it out today on a platform that supports a node environment. This is from nextjs docs. I have a few thoughts on Svelte, but just wanted to point this out!"

With Server Components, there's zero client-side JavaScript needed, making page rendering faster.

Re:Concrete: The material that's 'too vast to imagine' on Tuesday June 29, 2021 @10:03AM (#27675896)
Been looking into graphene and it can reduce the amount of concrete and increase the strength. Of course, can graphene be made at a commercial level and out of the lab

https://www.graphene-info.com/graphene-based-concrete-used-c...

Just switched over from lastpass and very happy with it. Glad i made the jump
Re:Money Creation: 344% in the Last 12mo (Fed, M1, $) on Wednesday February 24, 2021 @11:13AM (#26251506)
From what I read, it sounded like a lot of the money was printed but fell into areas of the economy where it didnt get distributed. i.e large corporations
Re:Coinbase announces proposed direct listing on Thursday January 28, 2021 @03:43PM (#25948907)
What are the odds of this.

The cofounder of reddit, Alexis Ohanian, owns a capital firm called Initialized Capital. That firm owns coinbase.

https://blog.coinbase.com/coinbase-announces-proposed-direct...

Re:Firefox 85 cracks down on supercookies on Tuesday January 26, 2021 @12:02PM (#25918234)
In Javascript how are they able to retrieve something from the cache? Local, session, and cookies are domain locked.
Re:Could giant SPACs be next? on Sunday January 24, 2021 @04:31PM (#25896288)
I've been following other boards, but saw this website floating around. Many of them have active excel sheets monitoring which ones have announced

https://spactrack.net

Re:Could giant SPACs be next? on Sunday January 24, 2021 @04:28PM (#25896249)
Been trading SPAC's recently. Seeing a huge influx of SPACs in renewable energy. Jump in at the beginning and the most you can lost is 10$ if the SPAC fails. When it receives a letter of intent(LOI) you'll see a big boost to the stock price. When the definitive agreement (DA) is announce there is another 20% jump. After the merge and symbol change, the price drops and then slowly comes up.

With so many coming out, just keep jumping to new SPACS as the LOI or DA is announced. Just wanted to share my experiences.

EDIT: Nikola and QuantumScape (NKLA/QS) are the big ones that got attention. Every SPAC is hoping to make a run like QS; 10$ went all the way up to 100$ at one point. NKLA was a scam, but brought a lot of attention

Re:Persisting React State in LocalStorage on Friday February 28, 2020 @01:28PM (#22445055)
The Apollo React client does this for us
Re:Flash Is Responsible for the Internet's Most Creative Era on Sunday October 13, 2019 @07:30PM (#21244022)
I didn't know anyone else knew albino black sheep. Browing miniclip and playing flash games was the peak of middle school for me
Re:Ask HN: Why don't you plant a Giant Sequoia today? on Saturday August 10, 2019 @01:50AM (#20660442)
I'm very torn with this. Empress trees are invasive.
Where does one buy one ton of olivine in the US?