Web Developer by day, and aspiring Swift developer at night.

  • 2 Posts
  • 137 Comments
Joined 1 year ago
cake
Cake day: July 1st, 2023

help-circle
  • dohpaz42@lemmy.worldtoAsklemmy@lemmy.mlHow to deal with exhaustion?
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    3 days ago

    Obligatory: this is not medical advice. This is merely my personal experiences. In fact, the only thing I will advise anyone on is that if they feel overwhelmed, they seek advice from a licensed therapist.

    So I’ve had a similar problem for the past 9 years. For me, I have to come to the conclusion that I’m in a freeze-state of my dysregulated nervous system.

    I’m in weekly talk therapy, and have been working on recognizing the things that have been causing me the most stress, and ways I can deal with or mitigate those things.

    And that’s been all fine and good, but I still struggle with getting started on actual activity to help deal with my compounding responsibilities. It’s hard, and some days are better than others.

    I used a combination of calendars and reminders to help break down and organize my tasks. I give myself grace if I can’t get them all comply when I initially wanted to finish them, and I try to do at least 2 or 3 things a day ( o matter how small).





  • In my experience, this amount of conflicts typically occurs because 1) most people mass commit a bunch of (mostly unrelated) changes at once, which leads to 2) inexperienced/impatient devs to clobber incoming merge conflicts without doing proper merges (mostly because they can’t make heads or tails of the diffs).

    This is very easily mitigated if all developers would make small, related commits (with descriptive commit messages and not “committing changes”). This makes everybody’s life easier because 1) diffs are smaller and readable for conflicts, 2) the dev can see the progression of code through commit history, 3) broken code is more easily revertable (and traceable) if something goes wrong, and 4) it’s easier to cherry pick specific changes if the whole changes cannot be published all at once.

    Also, git pull --rebase is your friend and not scary at all. It applies all incoming changes first, then applies your new commits last. 9 out of 10 times it avoids conflicts.

    Lastly, use a GUI. There are plenty out there to suit your tastes, and I feel they are a safer and easier alternative than CLI. Some GUIs are very safe and even allow undo operations on most things.



  • Sometimes it takes a little unintentional embarrassment to drive a point home. It’ll make them think twice next time.

    What I mean by that is that as long as you’re not intentionally or maliciously trying to embarrass them, then you shouldn’t feel bad. You cannot always control how somebody receives information; nor should you. The best you can do is to be clear and polite in your communication. If someone’s feelings get hurt, that’s on them to reconcile, not you.

    This is genuinely like parenting a child: they need to develop their critical thinking skills, and to gain their own confidence. So they must be left to make their own mistakes to learn from. Your job is to give show them the tools to use, give advice when necessary, and be there to catch them when they fall; because they will fall.

    Doing this will help bolster their self-confidence and make them better mid-/senior-developers later in their career. Coddling them and constantly holding their hand will make them reliant on other people and prevent them from learning anything.

    Edit: also remember KISS. 😊




  • dohpaz42@lemmy.worldtoProgrammer Humor@lemmy.mlI may not be the brightest
    link
    fedilink
    English
    arrow-up
    18
    arrow-down
    1
    ·
    16 days ago
    sudo echo "# FYI quotes(") must be escaped with \ like \"
    

    👆 that is not a comment. That is a command that says to echo the text “# FYI quotes(” and then to do ) must be escaped like \ \" which is invalid syntax.

    I assume that startup script is reading the contents of the file and trying to echo them into another file? i.e., using the original file as a template, but is not escaping the input, hence the error — which you’re lucky that’s the problem you’re encountering and not something actually destructive like sudo echo "# foo" && rm -rf /*.


  • Story time: back in 2004-5 I dug myself so deep into debt that I ended up filing for bankruptcy. At the time I was also jobless and had no money in my bank account; I believe I owed the bank money too. This was right before the Bush bankruptcy law changes, so I was able to file for a chapter 7 (released me completely from my debt obligations).

    Before I filed I had creditors calling me every day, making all kinds of threats about all of the bad things that would happen to me if I ruined my credit. It scared the shit out of me. I was 27 years old, broke af, lived at home with my parents, and had nothing going for me.

    It was amazing how good it felt the moment the court discharged my debt. All of those scary stories about how my life would be over were just that: stories. I started getting offers for mortgages and new cars. I learned my lesson though, so I ignored them. I lived the next 10 years using cash only. Life got so much better too. I wasn’t always stressing about payments, I was able to save up money, and I even moved out of my parent’s house.

    TL;DR Ruining your credit is not the end of the world.





  • dohpaz42@lemmy.worldtoLinux@lemmy.mlThis $149 RISC-V Tablet Runs Ubuntu 24.04
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    2
    ·
    edit-2
    17 days ago

    The ram options available for this tablet are better than what the iPad had when it first came out, and are pretty on par with more modern versions. Source

    The idea of using a tablet as a computer is not exactly a selling point for me. What id love to see is an app market space for tablets like this. Something that competes with Apple and Google; especially if it had a focus on home automation and security. Gaming would be a close second.


  • Banning members on their username. Locking down an entire community because of a small group of people spamming. Deleting posts because an account isn’t old enough?

    Why not throw in the system to have to approve posts before they get published? Really make the community welcoming.

    It was said in another comment above that this tool is easily abused by “overzealous mods”, but I believe the real problem are overzealous programmers.

    Reddit failed for reasons, and I believe automod was one of them. But you’ll do you, and nothing I say can change that.





  • Why the hell do rockers need subscription services? This should be illegal. A rocker, which has absolutely zero maintenance upkeep from the company, should not be gouging their customers for money to use features they’ve already paid for.

    No, I get it. CapITaLiSm. That’s why this is posted here. Yes, the above is rhetorical. It still pisses me off. I don’t typically advocate violence, but the people who made this business decision need to go take a very long walk off a short pier, with cinder blocks chained around their throats.

    My apologies. I needed to vent. Carry on.

    PS. This thing costs almost $1400 on Amazon, which is boasting a 20% discount, and the inventor Harvey Karp is complaining the company is not making enough money. You know who else is not making enough money right now? The Pitchfork and Torches store. That’s who.