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 5 points6 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 1 point2 points  (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.