• 6 Posts
  • 36 Comments
Joined 1 year ago
cake
Cake day: July 10th, 2023

help-circle







  • I understand that the cleanup thing is a bad idea. I had a really simple use case where i have a list of persons fetched from a database with their id, names and a link for each displayed using v-for. The link for each person is a router link which when clicked redirects to respective person/:id.

    I want to display some stuff on this new component but didn’t want to make the api call to fetch the person again from the database. This is why i wanted to pass the name as well in the props through the router link. But as you said maybe I should use pinia or some state management library for use cases like this?




  • pizzahoe@lemm.eetoMemes@lemmy.mlThe Bezos way.
    link
    fedilink
    arrow-up
    23
    arrow-down
    2
    ·
    1 year ago

    They bought the land? They paid the miners?? Mining has a history of forcing native people out of their lands through threats or worse killing people, making slaves out of poor people and forcing them into 12+ hours shifts in horrible and unsafe conditions.







  • Selling drugs can and should in some cases be illegal though

    This still doesn’t help. If you make weed illegal to sell but legal to consume, soon you’ll have poor people selling weed and rich folks buying. Guess who ends up in jail though?

    I think government should sell all kinds of drug, even hard drugs to addicts. In that process identify these hard drug addicts and help them transition to a life without these drugs through rehabilitation. This will also help pull away the drug money from gangs.


  • Because they feel valueless, helpless and can’t see a purpose to going on.

    I strongly believe this has nothing to do with feminism and is just a problem of the capitalist society we live in that only treats labour and hardwork like shit unless it can generate 1000x profits year on year. Building and serving a community isn’t rewarded. Everything is about greed and more profits. Feminism can’t solve capitalism. It can’t stop people from feeling it’s fucked up consequences like loneliness, feeling unvalued and committing suicide.







  • My answer is going to be a bit different but this is what worked for me. I tried many courses, reading books, trying to code etc but never quite understood data structures. I used to get bored halfway.

    What worked for me is literally solving problems. I would pickup a data structure. Implement it in Java on my own with help from internet. Then i would solve 10 problems on it. Then move to next data structure. Once you have familiarity with most used data structures like stack, queue, maps, linked lists, arrays, trees, etc. then it’s time to move to algorithms like graphs, better sorting techniques, etc.