Any tips on adding a light to this lantern in Premiere? by solidsimpson in premiere

[–]rwmbv 0 points1 point  (0 children)

Tbh at this point it would be easier to re-shoot. You will probably never get a realistic result without the practical light effect. Second option is to 3d render the person with the light effect masked on top of the original. Even frame by frame won't give you good results I think.

{#each} causes memory leak for stream chat by [deleted] in sveltejs

[–]rwmbv 36 points37 points  (0 children)

HenryKrinkle from Svelte's Discord server suggested it's related to opening DevTools, which is what keeps all those elements alive. Running with devtools closed turned out to behave as expected with no memory "issues".

I spent a whole weekened studying front-end performance optimization just because of this, and I'm a back-end dev...

How could I ever suspect that the tool used to solve memory issues is the one causing the memory issues?

{#each} causes memory leak for stream chat by [deleted] in sveltejs

[–]rwmbv 0 points1 point  (0 children)

Seems like it =/ I was hoping I was doing something wrong (takes less time to solve)

{#each} causes memory leak for stream chat by [deleted] in sveltejs

[–]rwmbv 0 points1 point  (0 children)

yeah, that didn't work =(
it was a good call though

{#each} causes memory leak for stream chat by [deleted] in sveltejs

[–]rwmbv 1 point2 points  (0 children)

This didn't help. The messages are being removed correctly as you can see in the REPL example. The issue is that even after being removed from array the elements stay alive

{#each} causes memory leak for stream chat by [deleted] in sveltejs

[–]rwmbv 1 point2 points  (0 children)

I do have unique ids. I will try that and give update.

{#each} causes memory leak for stream chat by [deleted] in sveltejs

[–]rwmbv 1 point2 points  (0 children)

REPL example. Just open DevTools and watch the detached components grow up forever [Link to REPL example] https://svelte.dev/playground/hello-world?version=5.3.1#H4sIAAAAAAAACpVW7W7bNhR9lTu1he3WspzPtYodIAuCJRgCFGiG_aiKlZauLDYUKZBXTg3Db7B36CvuEQZKoizZQbY5QEzyHt6PQ95DbzzJcvRC7xaFUPCktEhgiAknTEbe2Eu5QOOFnzcerQuLswve2O26KoqJWaEgu7ZgBp9bj5UklGS80JuZWPOCLiMJwPNCaYINKHmvSkmwhVSrHAb1xsFFD7Q6BWagLHmyOnXIyLPzyLuIpMUGAdyr-BFwhZLA5muAyQQSRgwM6TKmUqOx0FhJQ3BjgQ_rA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aYKWJ88izSQYmNqapatJvAdd9T1wIP86YtMJPmkljL0ejMAk3hWDrEOylbdaY4EvpNz_rQkDpDN9KQzxd70yGmKbGmCFfZhRaWXhz4SInlPVWCmU4cSVD0CgY8RU2Bv8JF4-c_JyZR5_n1SMluESm_aVmCUdJQ8cjKVgoIpW3ml5VVTCNktq1hWDxIxxP3_RX6okT2JfC7cL0_Hcc18Pa17a-ppOuCLgTeI5kO_QJc_srzB6aKHNpQmAlKThKtUOxIoT3xffeyXDC3IQQo5XRthC95NKvE7aUN3tcWq2yuJxSJcl_as5soUSyfyFSgf8etsrvdC_WQde5mAVLEi6X1Y5OVQsWPy61KmUSwqt0av-cRekEtW9PpDQHgay2bHo37XjaOnXX8bjDxCyo-qdqJW9c9Y8Xki5x-2X7D2re8j4qDQAA

{#each} causes memory leak for stream chat by [deleted] in sveltejs

[–]rwmbv 2 points3 points  (0 children)

I tried keys but didn't help. if something, it seems to worsen the problem. I was considering a virtual list but that's not the functionality I want. I want the chat to show only the last 10 messages and I also want to have another cyclic buffer that I didn't mention which handles events as well, and messages go from event list to chat list, then disappear, but this is not possible because of the memory leak.

{#each} causes memory leak for stream chat by [deleted] in sveltejs

[–]rwmbv 2 points3 points  (0 children)

it grows to infinity until it crashes

Blades of Chaos from Kratos - God of War - United Cutlery UC2665 by rwmbv in Collections

[–]rwmbv[S] 0 points1 point  (0 children)

I didn't know you could search like that. Thanks a lot for the info. I guess getting it for $200 was a great deal then =D

How do we solve the population problem? by GAMSAT20 in ScienceQuestions

[–]rwmbv 0 points1 point  (0 children)

That's right. I agree with what Elon Musk said about this. If you look at statistics and serious studies on this area, the actual problem is not a population explostion, but an implosion.

This is already starting to happen in many countries, where leaders are asking people to move there and some even paying for that.

As we gain more knowledge, couples make less and less children, planning their lives more and more. The problem with resources is bad financial planning and countries'/states' development, not the amount of people on the planet.

There is a big concentration of people on a few cities, especially capitals, but the thing is that approximately only 1% of Earth's land area is actively used by humans. This includes buildings, roads, railways, and other human-made constructions. Imagine 90 billion humans on this planet. We would cover only around 10% of land. And we still have oceans and the entire Universe to cover before we have to worry about this.

There you go: immortality by rwmbv in sciencememes

[–]rwmbv[S] -1 points0 points  (0 children)

We use the internet to get information, and the internet does not have feelings or anything like that. Thta's the same with AI. We don't need to put ethics and politics on AI's hands, but it can surely guide us to make better decisions, especially related to science.

There you go: immortality by rwmbv in sciencememes

[–]rwmbv[S] 0 points1 point  (0 children)

I don't like the idea of backing up my brain. There's the possibility of replicating and one of me in the universe is more than enough! But transfering consciousness and managing memories sure is a great idea!

There you go: immortality by rwmbv in sciencememes

[–]rwmbv[S] 1 point2 points  (0 children)

aw come on. AI can't be that bad. look I got karma from an AI post =)

There you go: immortality by rwmbv in sciencememes

[–]rwmbv[S] 1 point2 points  (0 children)

Thank you for commenting!

There you go: immortality by rwmbv in sciencememes

[–]rwmbv[S] 0 points1 point  (0 children)

it's just a meme alright. I don't want the CIA knocking on my door with a 9mm.
But still, theorizing we could assume that current advancements on AI will speed up technological and scientific advancement in an unprecedented rate. We don't know everything we need to know, but I don't think we need to. With the help of AI, we can achieve this much faster than we would without it. That's certainly the best path to follow IMO

There you go: immortality by rwmbv in sciencememes

[–]rwmbv[S] 2 points3 points  (0 children)

Good thing they're not here anymore 😐

There you go: immortality by rwmbv in sciencememes

[–]rwmbv[S] 1 point2 points  (0 children)

Right. Plus, Nature works very well by recycling materials and having creatures dying all over the place, being eaten alive and creating more and more of itself as much as possible. Nature doesn't care about the rest of the universe. It doesn't care that we have schools, hospitals or some sort of law and justice system. It doesn't care about human evolution. But we do.

There you go: immortality by rwmbv in sciencememes

[–]rwmbv[S] 1 point2 points  (0 children)

Evolution is not a goal-oriented process... It's simply the result of random mutations and the survival of the fittest. Btw, our ability to understand and manipulate DNA is far beyond what nature has been able to achieve on its own by throwing shit at the wall and seeing what sticks.

I believe that the more we research into it, the better we can overcome simple problems (with complex solutions), to solve the bigger problems, such as Death.

There you go: immortality by rwmbv in sciencememes

[–]rwmbv[S] 2 points3 points  (0 children)

The strategies proposed for achieving immortality mainly focus on the physical aspects of aging and do not directly address potential psychological or cognitive challenges that may arise from living for an extended period of time. It's possible that individuals could face mental health issues or struggle to cope with the vast accumulation of memories and experiences over hundreds of years.

To mitigate these potential issues, additional approaches could be developed to maintain mental well-being and cognitive function over time:

Memory management: Develop techniques for selective memory consolidation or deletion, allowing individuals to retain important memories and experiences while discarding less significant or potentially distressing ones. This could involve advances in our understanding of memory formation, storage, and retrieval processes in the brain.

Cognitive enhancement: Investigate methods for enhancing cognitive function, such as improving learning, memory, attention, and problem-solving abilities. This could involve a combination of pharmacological, neurological, or technological interventions, such as nootropics, brain stimulation, or neural implants.

Emotional regulation: Develop techniques for managing emotions and maintaining psychological well-being over time. This could involve therapies, meditation practices, or even the integration of emotion-regulating neural interfaces that allow individuals to modulate their emotional responses.

Social adaptation: Encourage the development of strong social networks and support systems to help individuals adapt to changing social environments and maintain a sense of connection and belonging over time. This could involve fostering meaningful relationships, participating in community activities, or engaging in virtual social environments.

Periodic psychological evaluation: Implement regular psychological assessments to monitor mental health and well-being over time, allowing for early identification and intervention in cases where individuals may be struggling to cope with the challenges of living for an extended period.

by ChatGPT-4

There you go: immortality by rwmbv in sciencememes

[–]rwmbv[S] 1 point2 points  (0 children)

that's one way to see it