• 0 Posts
  • 47 Comments
Joined 1 year ago
cake
Cake day: June 14th, 2023

help-circle
  • I found this diagram on SO at one point but I can’t find the post and it is the best explanation I have found for how all of the files work for bash and zsh, each color is an individual path of execution (eg, follow the red line).

    Bottom line though, it only really matters if you are overriding something that is already defined, for example I tell my users to use zshrc and I provide defaults and common things in zprofile because zshrc is executed last when they login.



  • So if I understand this right you will need to change the network on the port attached to the synology in your UniFi configuration or set the vlan tag in the synology OS, I would do the former. It sounds like you just added a second network/vlan to the existing interface which means you actually created a trunk and are getting the old network untagged and the new network with vlan tags which the synology is dropping. Synology OS also doesn’t really support trunked ports through the UI (even though it does support a port that only uses a vlan tag) so it’s much easier to just leave them untagged.


  • Yeah I’m with you, I read most of it but I just don’t know where the disdain comes from. At most scales of infrastructure anymore you can use them interchangeably because the difference is immaterial in practical applications.

    Like if I am going to provision 2TB I don’t really care if it’s 2000 or 2048GB, I’ll be resizing it when it gets to 1800 either way, and if I needed to actually store 2TB I would create a 3TB volume, storage is cheap and my time calculating the difference is not.

    Wait until you learn about how different fields use different precision levels of pi.










  • bigredgiraffe@lemmy.worldtoSelfhosted@lemmy.worldWeird 10Gbe networking problems
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    edit-2
    1 year ago

    So then it doesn’t work across the ubiquity switch just to double check? If so, you will need to enable jumbo frames on that for sure and it is not enabled by default and that could also explain the throughput as it is having to fragment then defragment the frames to cross the switch or iperf is using MSS to determine that it can only send 1500 byte frames, your slower speed is about line rate for 1500 byte frames no matter the speed of the actual link.

    ETA: you can verify this by pinging with a large size and setting the “do not fragment” flag, so something like ‘ping -s 2000 -M do ip.addr ’ on Linux, windows uses different flags.




  • Well said, after many years I learned that if I just do what it wants to do then it’s way easier for everyone. I have been lucky (and intentionally worked toward) to have a career that lets me work whenever and wherever I want and management that doesn’t care as long as the work gets done so that has helped a ton. I also have recognized and communicate to my managers that while I do like money it is boredom that will make me quit the fastest so bring me all of the interesting and “impossible” problems and I’ll be a happy engineer hah.


  • I wouldn’t call it a superpower by itself but I have definitely learned how my brain works to my advantage. Programming is a perfect example, I have found that my brain makes connections that others do not when writing code to solve a problem. I have also found that I am able to work through large complex problems when troubleshooting as well which has definitely been a bonus.

    Over the years I have been able to get myself to form habits that make me check my own work or strict work so it’s impossible to miss something. For example, working in and with infrastructure automation etc ended up being a fantastic fit for me because I can hyperfocus and make the automation run flawlessly and then I don’t have to worry about using it because I already know it works.

    Definitely anecdotal and might not apply to you but hope it was at least a little helpful. You are definitely not alone either, those types of things absolutely happened to me all of the time when I was in school. Thank the computer gods for version control, code linters, and unit tests 😃


  • This is sage advice right here, very well said.

    To your point, every job interview I have I tell them that I like money but 11 times out of 10 boredom or micromanaging will make me leave faster than they can blink. For what it’s worth I also write a lot of automation code, mostly Python and Terraform these days.

    OP, one more thing, if you enjoy programming already but it’s not interesting enough I would definitely look into a SRE or “DevOps” style role. Working on automation definitely keeps me interested because there is always a new problem to solve or handy tool to write. It is also very fulfilling because your job is to make other people faster so it feeds my people pleaser brain well too. Also, Some of the best DevOps/SRE/platform/whatever engineers I know are also the laziest people I know as well, so being lazy can be a strength haha!


  • Yeah! Her channel is great overall, watching it definitely made me more aware of my brain, definitely recommend.

    You actually reminded me of something else I do, I make a conscious effort to not compare myself directly to my peers because then I always feel like I am not working as hard as they are. I finally started doing this after like the 5th manager told me to stop working so hard and I realized the times that I would consider myself 50% productive I get more done than the average coworker does at 100% productive.

    Now, I definitely don’t say that as a brag in any way. I am not a classic overachiever I don’t think, I think it just speaks to the way my brain is wired (and lots of ND folks!). I am definitely my own worst critic and I definitely let perfect be the enemy of good when I am building things, I have to keep reminding myself to stop it and that done is not the same thing as matching the “perfect” vision I have in my head.

    Anyway, enough rambling from me!


  • I am not a developer by title but I do write a lot of code and the best thing I did for myself was learned to just work when my mind feels like it. I seem to get way more done when that is the case even with meds. I realize that is way easier to say than to do and it is even harder depending on your job but finding one that has this philosophy as well will make a world of difference.

    That said, it hasn’t and still doesn’t doesn’t always work out that I get to work when my brain feels like it but I try to recognize the times it does and it and capitalize on those moments as much as I can and it has worked out pretty well. It was this video that really helped me learn to recognize when I had just built a wall of awful in my head and that has helped me find things that help get over those walls but there are definitely times when I just can’t work on a thing right now and I just do as much as I can, it’s still not fun.

    I also cannot get actual work done in an office anymore, especially writing any code, and I don’t think I would take a job that required me to be in an office anymore so don’t feel like you are the odd one out there.

    As for meds, they are definitely a game changer for me but I have always found that they give me the opportunity to focus and get to work on something but I still have to be the one that chooses what that is or my brain will randomly pick something and then I know how they make nuclear waste storage containers for some reason. My brain just loves interesting problems and refuses to do anything monotonous so I actively seek those problems out whenever I can to keep it entertained.

    Hope that is useful, unfortunately there isn’t one silver bullet and you kind of have to reverse engineer your own brain so find what works for you.