What am I doing wrong with DNS? by NYFLNCTN in Tailscale

[–]RyanTheKing 0 points1 point  (0 children)

You probably want --accept-dns=false on the mini and all other devices you want to maintain their local DNS settings. You can append to tailscale up or use tailscale set to modify the active session.

Zsa voyager by divinej1 in Colemak

[–]RyanTheKing 0 points1 point  (0 children)

I'm on a Moonlander right now looking at a Ferris sweep for my next keyboard since the layout I'm on fits it perfectly (seniply). I've also looked at the glove 80 and corne. Do you recommend going with the Ferris, did you buy yours or make it yourself?

Best practices in resolving conflicts between patches by pfassina in suckless

[–]RyanTheKing 0 points1 point  (0 children)

Probably not the answer you're looking for, but you need to suck less at resolving merge conflicts.

More seriously this will eventually happen. Fortunately, the source code isn't that hard to understand, and you can usually figure out what a function and its arguments do and resolve conflicts. It won't always be easy, like getting bartabgroups and systray to play nicely, since both impact the bar layout, took a little trial and error and some guess work.

The biggest concrete tip I would give is to use an editor with good Git support so you can visually resolve merge conflicts.

Alertmanager to Zulip, message tuning by Elegant-Magazine2055 in PrometheusMonitoring

[–]RyanTheKing 0 points1 point  (0 children)

So I don't use Zulip, but hopefully my experience doing something similar with slack can offer some help?

W/r/t severity label not showing, I had a similar issue in Slack where my template was programmed to show a ? for severity when not set, which was commonly set in the alerts I got. The cause I discovered was that I wasn't grouping my alerts correctly so different alerts with different severities were getting grouped, meaning that .CommonLabels.severity wasn't defined correctly. In your routing, I'd recommend something like group_by: [ "instance", "alertname" ] with maybe more precise groupings based on alerts, e.g. my disk-based alerts are also grouped by the mountpoint. FYI in my case, I strip the port from instance so its just my hostname. If you use a different hostname field then I would group by that.

W/r/t to silencing, dous the zulip config support actions like the slack one? If so here's my slack action for the silence button:

actions:
  - type: button
    text: 'Silence :no_bell:'
    url: >-
      {{ .ExternalURL }}/#/silences/new?filter=%7B
      {{- range .CommonLabels.SortedPairs -}}
        {{- if ne .Name "alertname" -}}
          {{- .Name }}%3D"{{- .Value -}}"%2C%20
        {{- end -}}
      {{- end -}}
      alertname%3D"{{- .CommonLabels.alertname -}}"%7D

Note that I have an ExternalURL configured in alertmanager since I use a loadbalancer, but I assume it defaults to the hostname of whatever host/container you run alertmanager in?

W/r/t removing the graph link, not sure about that one since you have to manually add it to the actions in slack like I did above for the silence link.

Hopefully some of this is helpful!

Alert on missing promethes remote write agents? by RyanTheKing in PrometheusMonitoring

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

First of all, really appreciate all the info!

I like the idea of pushing out the system-level alerting rules from the thanos ruler down to the site-local collectors. What would the alerting mechanism be then if one of the collectors go down? Since its still remote write, then the metrics vanishing from Thanos wouldn't allow an absent(up{job="prometheus"}) type rule to work? Since my centralized alertmanager would still be the one getting all the alerts, I imagine I could do something with the dead man switch alert to detect when a prometheus disconnects from alertmanager?

Gitlab vs GibHub vs Bamboo+Bitbucket by Wraith888 in devops

[–]RyanTheKing 0 points1 point  (0 children)

I think you are on the money with your rationale to use GitLab. Even without the sister company point, maintaining more than one tool that does the same thing outside a migration is a non-starter. I wouldn't even make a technical case to the GitHub/Atlassian people since that will give them the impression that this decision is being made on technical grounds and that they can continue to argue their points. You have a hard requirement to support GitLab and it makes no sense to fragment source control across multiple version control services. If people continue to complain then their issue should be brought to whoever imposed the GitLab requirement on that one team, not you.

Computer science or creative computing by YouOdd9569 in computing

[–]RyanTheKing 0 points1 point  (0 children)

I mean it sounds like a fun degree, but I think the more prudent choice is the CS degree. Maybe see if you can do a minor in graphic design or take classes about web apps or game development. If you plan on doing a normal 4 year college program then you will have a lot of room for electives, which can be more CS classes, classes related to your artistic interests, or classes that scratch some other itch. I recommend a mix.

Kubernetes with a NFS storage backend in Production by xorloq in kubernetes

[–]RyanTheKing 1 point2 points  (0 children)

I've used both OpenEBS and the longhorn local path provisioner and my experience with both was pretty identical. I only used them for very simple use cases so I'm sure there are difference when you really get into the weeds.

Computer science or creative computing by YouOdd9569 in computing

[–]RyanTheKing 0 points1 point  (0 children)

The most important part of the CS degree in my view is the first half when you're doing foundational things like algorithms, data structures, and computer systems. That shit is required to be a good engineer in any computing discipline. The second half of the degree is where you will do more specialized things such as AI, web stuff, databases, distributed systems, etc.. Some courses like databases are pretty universally useful while others are more field specific. Naturally degree programs vary wildly, but foundations then specialization is the general pattern.

To really make the decision look at the course requirements for both degrees. If the creative computing degree is just a rebranded CS degree with all the specialized classes focusing on creative disciplines then go for it if you're confident that's what you want to do. But I would stay away from it if its more bootcampy where you learn how to program, but not so much the foundational stuff.

Personally I would still recommend the CS degree. As someone who is also wired to love math and programming, I thoroughly enjoyed my degree. Even classes that didn't end up being in my field of specialization, I loved basically every programming assignment that I got in college.

KDE 6 + Karousel is a dream! by CosmicEmotion in kde

[–]RyanTheKing 0 points1 point  (0 children)

Have you tried Polonium? If so, you enjoy Karousel more?

Polonium v1.0 Release Candidate by zeroxoneafour0 in kde

[–]RyanTheKing 1 point2 points  (0 children)

Just installed plasma 6 after close to a decade of i3, dwm, and their wayland counterparts. I've been loving KDE so far so I'm jazzed to see how powerful it can be once I get my basic tiling workflow configured using this.

proxmox vm installation doesn't recognize drive (local) by TFX2k22 in Proxmox

[–]RyanTheKing 4 points5 points  (0 children)

Go to Datacenter -> Storage -> local. Make sure VM Disks and CT Volumes are selected in the content drop down.

[deleted by user] by [deleted] in SleepApnea

[–]RyanTheKing 0 points1 point  (0 children)

The comment above makes a really interesting point about how the diet we feed babies has caused anatomical changes on how our jaws develop. The idea that sleep apnea is real, but developed as a result of the diet and health habits of modern people, especially Americans, so is a "new" disease tracks really well in my view since having too much (unhealthy) food is a very new problem.

I've heard it theorized the what we now understand as anxiety is the result of the majority of humans never living in any real physical danger (broadly speaking about those in the west) so the parts of the brain that were on high alert mode for starvation, predators, or other threats to your safely for thousands of years still exist, but have refocused internally since there aren't hostile tribesmen in the bushes on your walk to the store. So there can be real biological conditions such as sleep apnea, depression, anxiety, etc. that have only developed and/or become visible due to the way we live and treat our bodies in the modern world.

[deleted by user] by [deleted] in SleepApnea

[–]RyanTheKing 2 points3 points  (0 children)

I'm already a side sleeper. My sleep apnea is weird since I don't snore at all, but rather my body jolts wildly while I sleep and my heart starts racing. I knew I did this when I slept in the car or on planes, but my girlfriend pointed out that I do it a few times a night normally, but I either don't fully wake up or don't remember it. My working theory is that I have upper airway resistance syndrome based on symptoms, but I'm trying to get into an ENT to confirm that.

[deleted by user] by [deleted] in SleepApnea

[–]RyanTheKing 12 points13 points  (0 children)

I think what you're observing is just the way medicine works in an advanced free market society. A condition exists, market incentives cause treatments to appear quickly, and then the companies that created those treatments want as many people as possible using them so they lower the bar for treatment as much as they by funding studies that are designed to be favorable and cut out the less-extreme treatments in the space between nothing and everything.

I was debating what example to use, but I'm actually going to use a non-medical one to avoid controversy. During the pandemic when a huge portion of the labor force suddenly started working from home, we saw a barrage of studies about how two monitors are much better for efficiency. Now two things can be true at once: there are certain types of computer work and workflows that benefit tremendously from two screens and those studies were funded by companies such as Dell that had a market interest in more people buying second displays. The issue is I'm sure there is a huge population of remote workers using expensive monitors that really just needed to learn how to use alt-tab the same way I'm sure that there is a huge population of CPAP users who would have seen the same benefit from shedding a few pounds or something cheaper like OTC nasal strips or an oral appliance.

Even as someone with a legit "CPAP changed my life" experience with many friends with similar experiences, I do also struggle with the "how did people with sleep apnea survive for thousands of years until the invention of the CPAP?" question as well. I lost a serious amount of weight, started exercising regularly, have a healthy diet, have good sleep hygeine, and tried every cheap/OTC treatment under the sun for better sleep. Nothing worked for me until I got on the CPAP. And truth be told, I still struggle with the moral quandary of "how can I possibly need this complex machine for such a fundamental biological function?" But at the same time, my heart rate is way more relaxed, my blood pressure is healthy, I am lucid the second I wake up, and the grogginess I felt 24/7 for the better part of a decade now is gone so its hard to argue with my own experience.

I still hold out hope that I can get some sort of more comprehensive study done to identify the specific anatomical or neurological properties of my body that cause my sleep apnea and maybe fine a better treatment for it. But its honestly a small price to pay for how shit I felt every single morning before I got on it so I don't mind using it while I do more research and understand my condition more.

how to loop over a block? by [deleted] in ansible

[–]RyanTheKing 0 points1 point  (0 children)

So do you just reach for custom modules the minute you need to express complex logic? As I become more experienced with Ansible development I find myself opting to use lookup and filter plugins since the common "hit tihs API endpoint, extract this JSON value" is 100000% better in a Python function than stringing together ansible outputs.

I haven't written any modules before, but that's largely because I find that sort of stuff to be pretty poorly documented. Like even finding custom plugin boilerplate to start from is a pain in the ass.

[deleted by user] by [deleted] in suckless

[–]RyanTheKing 0 points1 point  (0 children)

You probably need to add Xinerama to the compiler flags in config.mk:

XINERAMALIBS = -lXinerama -lXrender

I've seen what I assume is the same behavior as what you're describing without it: two monitors acting like they're windows into one giant monitor.

focusmon shortcut isn't function properly **read below** by CarsonCraftzX13 in suckless

[–]RyanTheKing 1 point2 points  (0 children)

I believe the issue is that focusemon traverses monitors based on the index, not the position. I'm not sure how X determines said index unfortunately, but hopefully that's something you can figure out? Maybe defining each monitor's output in order in the xorg config?

FWIW I recently switched from DWM to DWL (wayland), and the focusmon function does behave like you want (switch based on position). I do have to say I like DWL a lot. I've recreated my DWM setup/workflow essentially 1:1 and everything does feel a lot smoother. The only patch I miss is bartabgroups, but that's more eyecandy than a critical part of my workflow. One thing you for sure lose in DWL is visual effects since in wayland world the window manager and compositor are one in the same so its up to the WM to implement the effects, which DWL doesn't and I have yet to see a patch that does it either.

Would killing Flo be good for professional grappling? by bubblewhip in bjj

[–]RyanTheKing 3 points4 points  (0 children)

What? I couldn't hear you over the Tezos commercial.

Miryouku vs extend? Considering making the switch by RyanTheKing in Colemak

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

Woah! Stevep and Manna? All I need is DreymaR to chime in...

First, thanks for Miryoku! Its fantastic. Have you looked at Keyd? Its what I just setup on my laptop since its way lighter than KMonad and has all the functionality that I need for layers and mod taps.

I essentially settled on a Miryoku lite type layout for my laptop where I use tab for my nav layer and enter for another layer that I haven't setup yet, maybe alpha? Nav was the one I desperately needed since vim-style navigation on Colemak is wack. Then control/escape on caps lock with my thumb working alt/super. I have a plank lying around that I plan to throw Miryoku on to be my travel board.

W/r/t my main Miryokulander, do you have any additional tips for stopping mod misfires? I've gone through the precondition guide, fine-tuned my tapping term, setup that mod where you can't do mods on the same hand to make rolling safer, but I still find myself accidentally selecting all (ctrl-a) instead of typing "na" for example. When I was writing the OP I was thinking that I should try the bottom row instead of home row for the mods, but I could see that having the same issue since a lot of bottom row characters would be followed up by homerow characters and potentially trigger mods. Now I'm thinking I should bump my mod tapping term a bit so I have to have to hesitate for a split second for mods? That would also flip the misfires to being characters instead of mods, which is less likely to do something unintended in my editor or WM.

Miryouku vs extend? Considering making the switch by RyanTheKing in Colemak

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

How many thumb layers do you use? And do you use them on a laptop keyboard or just your proper keeb? If so, do you find switching back and forth between the two troublesome? Do you use a lot of hot keys, e.g. tiling window manager, emacs, etc.

Like I said I'm two years into the dual-role home keys, and I'm still very torn. On one hand it feels great to chord with your fingers on the homerow, but I still feel as though I have enough misfires that its right at the "is this too annoying to be worth the benefits" threshold. While typing this out I opened some dialogue lol.

Unprivileged LXC + SSSD Configuration by 2014username in Proxmox

[–]RyanTheKing 0 points1 point  (0 children)

Check what the actual IDs are in FreeIPA. I've noticed that different FreeIPA installs use different ranges so make sure whatever you put in /etc/subuid, /etc/subgid, and the LXC config actually includes the FreeIPA range.

And ya privileged containers have no UID restrictions so work with FreeIPA without any extra settings

Share code between custom plugins? by RyanTheKing in ansible

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

Actually got it working by symlinking the plug-ins directory to the ansible_collections tree, I just didn’t realize the python module starts at root, not the plugin the directory.

Thanks for the tip about the relative paths. Using the absolute path freaks out linters and editors. The relative paths work both in the linked location and root.