• 0 Posts
  • 110 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.



  • I mean sure but that’s a lot of words to say “I didn’t read the directions and no one caught it in a merge request review because no one else read the directions either.”

    Their documentation and examples are pretty easy to read and the site parameter is explained in the getting started guide and even linked from the readme for the JavaScript sdk, and in lots of sample configurations so I’m not sure how this made it into a release and then no one noticed the missing metrics for eleven days, sounds like lots of issues in that shop.

    The behavior of the sdk isn’t great but the proposed solution wouldn’t work because you can use custom endpoints for all of the components using endpoints on domains you own anyway.





  • Well 5ghz requires more power, has less range, and needs its own antenna so for microcontrollers this makes it pretty pointless for devices that need range and low bandwidth for sending sensor updates, especially those that are battery powered. 5ghz can also have its own issues in cities if you have a lot of use of the DFS bands as well as being worse at traversing reinforced concrete.

    Also, a 2.4ghz radio can also sometimes support other things like zigbee, BT, and BLE which can be used for other functions.

    For what it’s worth, I have probably 50 WiFi devices and the majority of them are 2.4ghz sensors or switches and other low bandwidth tasks and I don’t have any issues, even when living in an apartment complex. If you are having issues you might need different hardware or more access points or something.

    Anyway, all that to say that 2.4ghz definitely still has a lot of utility today.


  • I have found the best way to cope is to surround yourself with people that understand and help you out when you fall short. Easier said than done for sure and it hasn’t always been that way for me but at this point I have a bunch of ADHD friends so they all get it, and my wife saves me usually, she is the best at that hah. Other than that I have been just leaning into it lately, for example find a job that has a lot of tasks that work well with your brain, choose wisely.

    I also treat my attention as a privilege that I can give people and not something someone can demand. I don’t phrase it that way to be egotistical, it’s just that my attention and focus is fleeting sometimes as it is so I need to defend it in that way to have any at all. This is also harder said than done but it’s also not too difficult, most people are understanding when you say “can I get back to you in 30 min when I’m done with I am doing” or “let’s put time on the calendar to work on that tomorrow” it turns out.

    Along this same line I also treat notifications everywhere as an opt-in activity, everything gets denied and I only let the most important ones through focus modes (I have an iPhone) that I actually need to receive and this includes all phone calls on all mediums. The only people that get let through focus modes are those that understand the gravity of interruptions on my brain (well and my parents because they are great hah).

    Well that was longer than I thought it would be but the short version is that you have to try to construct a situation for yourself that works with your brain and not against it, and it’s a long journey but you have to keep iterating on it like you have been.

    I hope some of that helps!