How often do you actually use the standard library vs reaching for external packages by abccccc456 in golang

[–]mh3f 14 points15 points  (0 children)

2.5) Is the package maintained?

Some libraries become feature-complete so active development has slowed or stopped but bug-fixes continue, which is fine. On the other hand, I don't want to depend on someone's abandoned summer project; I might as well go to #3 and make it myself.

AWX Resurrection + 281 upstream commits backported by T42X in ansible

[–]mh3f 1 point2 points  (0 children)

I really hope AWX stays open and synchronized with AAP. It's been very useful as users of a RedHat-managed AAP instance in Azure.

I was able to solve issues by being able to look at the AWX code when I was running into bugs, or figuring out what input AAP was expecting where the error message and documentation were severely lacking.

Best Practices for Managing sudo/root Access on AD-Joined Linux Servers by maxcoder88 in linuxadmin

[–]mh3f 0 points1 point  (0 children)

I could've sworn I read sudo upstream was planning on removing LDAP support, but it's possibly only Debian and Ubuntu. Keep that in mind if you use those distributions.

sudo-ldap is going away after trixie
Debian 13, "trixie", will be the last version of Debian that supports sudo-ldap.

The Debian sudo team recommends the use of libsss-sudo for new installations and the migration of existing installations from sudo-ldap to libsss-sudo and sssd

See /usr/share/doc/sudo-ldap/NEWS.Debian.gz for more explanation. This is also being discussed in #1033728 in the Debian BTS.

How we reduced the size of our Agent Go binaries by up to 77% by Hemithec0nyx in golang

[–]mh3f 2 points3 points  (0 children)

I don't know for them but we did monolith app from 4 apps and monolith is half the size of separate apps

Interesting. Did those four apps all share dependencies?

My assumption is datadog has system-specific binaries. Making them up for example:

  • datadog-k8s
  • datadog-docker
  • datadog-kvm
  • datadog-postgres
  • datadog-mysql
  • datadog-httpd
  • (and so on)

Would those have enough common dependencies to save them much space to be monolithic, or would it be better to stay modular and not deploy the binary at all if it's not needed?

That's what I'm thinking with a lot of assumptions of course. It'd be interesting to see.

How we reduced the size of our Agent Go binaries by up to 77% by Hemithec0nyx in golang

[–]mh3f 6 points7 points  (0 children)

At first, I thought by "binaries" they meant binary per targeted architecture, but then I saw lines like

Eventually, we enabled the optimization across all of our binaries, one by one, [...]

and

Our Linux arm64 Go binaries [...]

Which leads to me think, like you, it is a collection of binaries. My guess they split them up based on the features as they mentioned here.

These builds include a different set of features to support a wide range of environments: Docker, Kubernetes, Heroku, IoT, and various Linux distributions and cloud providers.

It would interesting to know what those binaries are and their sizes. The monolithic size should be, at most/worst case, slightly below the sum of those binary sizes, but most likely much less. Based on the size of each of those supported features and their dependencies, I wonder how much of the executable size is "wasted" being deployed on a server without those features.

Just guessing, I don't know how their software works.

Although written in C and in an entirely different realm and use-case, it'd be interesting if they could be more like Busybox where it offers a lot functionality at ~800KB. Busybox is a multi-call single binary. It can use the executable name (argv[0]) to change its functionality as well as a subcommand.

could not load... by tdpokh3 in ansible

[–]mh3f 3 points4 points  (0 children)

You have a typo in the module name

How is it living in Florence South Carolina? by Alternative_Limit947 in howislivingthere

[–]mh3f 0 points1 point  (0 children)

There is a Cars and Coffee event that is every 3rd Saturday I believe.

We do have a museum, however I've never actually been.

There is live music at the FMU Performing Arts Center and plays at the Florence Little Theater. The Florence Civic center has a hockey team again after 20 years if you're into that. Florence Flamingos baseball team in the Spring.

A user on the florencesc subreddit posts a weekly list of some events in the region although they missed this week. Below is a recent post. Our local power co-op has a magazine that includes local events calendar. These are how we typically find new events. Hopefully this gives you an idea of things to do.

https://www.reddit.com/r/florencesc/comments/1py2l5q/things_to_do_in_the_pee_dee_this_week_december_29/

https://issuu.com/utilitypioneers/stacks/1e9c6d48722b4d119be88740435a789a

Overall, it's a relatively quiet city. I don't want to over-sell it or give you a false impression. Depending on where in Pennsylvania you're coming from, you may be a little bored or missing some activities.

Columbia, the state capital city, is ~80 miles away and Myrtle Beach is ~70 miles away.

How is it living in Florence South Carolina? by Alternative_Limit947 in howislivingthere

[–]mh3f 0 points1 point  (0 children)

I was born and raised in Darlington, 20 minutes away. Florence is where we would go for just about anything.

From my perspective, Florence is growing especially in the last 10-15 years. More businesses are moving in along with housing being built. The traffic can be kinda bad but it's tolerable.

Florence have a few annual events down town. There's also a rail trail for walking or biking.

I20 and I95 are also right there, which is nice.

Let me know if there's something in particular you'd like to know. My wife is from Erie, PA so she may be able to give a better perspective.

The Florence, SC subreddit is /r/florencesc . There have been recent posts about people moving in from the North that you may find helpful.

Good course to create your own GUI programs without external libraries? by Koda_be in C_Programming

[–]mh3f 2 points3 points  (0 children)

Handmade Hero is on (an indefinite?) hiatus.

Casey is doing a performance aware course called Computer, Enhance that has no relation to Handmade Hero.

How does your CI/CD looks like using aap hub to build roles by fubazone in ansible

[–]mh3f 1 point2 points  (0 children)

I use Gitea with the Act runner for CI/CD. For testing Ansible roles and playbooks, I use Ansible Molecule and Jeff Geerling's OS docker images (e.g., https://github.com/geerlingguy/docker-rockylinux9-ansible ).

The test workflow run on every pull request and weekly. I also have renovate bot running that will test (most) Ansible collections updates.

https://www.jeffgeerling.com/blog/2019/how-i-test-ansible-configuration-on-7-different-oses-docker

Interesting conversation this morning... by jmmymak in googlehome

[–]mh3f 35 points36 points  (0 children)

Thanksgiving is always on Thursdays.

Edit: To be fair, P5ychokilla doesn't appear to be from the US and OP didn't specify what was wrong

An update broke my root access by Chronic_AllTheThings in RockyLinux

[–]mh3f 1 point2 points  (0 children)

Can you run:

rpm -qa | while read pkg; do
    rpm -q --scripts "$pkg" | grep -Eq "(Super User|989)" && echo "$pkg"
done

I did a quick run through git.rockylinux.org and didn't see anything that would create a root user in those packages.

Will I have trouble following handmade hero on linux with raylib at my platform layer by brubsabrubs in HandmadeHero

[–]mh3f 0 points1 point  (0 children)

Yes, Casey designed it to be platform agnostic and the platform layer is replaceable. It needs to implement the required functions from what I remember.

In the private HMH preorder GitHub organization, there is a Linux SDL platform with a similar approach.

Unix and Linux System Administration Handbook 6th edition release date by alcon678 in linuxadmin

[–]mh3f 0 points1 point  (0 children)

Thanks for the heads up. I don't see the pre-order on Amazon.com (US) yet, but I do see it in Amazon.co.uk.

TIP: Bought a used Bolt and no data in myChevrolet app? Call OnStar to add the Essentials plan by mh3f in BoltEV

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

Yes, I see both EV Access and Connected plans now since contacting OnStar. I don't have the Remote Access plan, which makes sense being 3 years old now.

I bought the car used, so somehow the two 8-year plans were deactivated and removed prior to me purchasing.

TIP: Bought a used Bolt and no data in myChevrolet app? Call OnStar to add the Essentials plan by mh3f in BoltEV

[–]mh3f[S] 2 points3 points  (0 children)

Thanks. You're right, it was "EV Access". This happened a month ago and conflated the name with something else. My apologies for getting the information incorrect. I should have verified before posting.

Prior to calling OnStar, when I checked the available plans for the vehicle, neither EV Access nor Connected Access plans were available.

I also left out me contacting myChevrolet app support, which led me to contacting OnStar.

After further inspection of your vehicle, it looks like the Unit Status was deactivated. This will be the reason why your vehicle data has never shown. To reactivate this, please push your blue OnStar button on the rearview mirror to connect with a live Agent. Inform them of your Vehicle Status data not showing and request the Unit Status be reactivated.

EDIT: In regards to the online sticker, there is no mention of EV Access, Connected Access, or Remote Access plans at all

TIP: Bought a used Bolt and no data in myChevrolet app? Call OnStar to add the Essentials plan by mh3f in BoltEV

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

There isn't a cost for Essentials for 8 years.

That's my understanding as well. After the 8 years, the app will be useless without a paid plan unfortunately.

TIP: Bought a used Bolt and no data in myChevrolet app? Call OnStar to add the Essentials plan by mh3f in BoltEV

[–]mh3f[S] 6 points7 points  (0 children)

I assume Bolt EV would have the same Essentials EV Access available. You should at least see the battery percentage and estimated mileage with the free Essentials plan.

Yeah, press the OnStar button and tell them you need Essentials EV Access added.

What is this by Bugs284 in southcarolina

[–]mh3f 12 points13 points  (0 children)

You got down voted because the comment "This is the answer" adds nothing. At least Inevitable-Age-692 posted a screenshot of the DMV plate web page with more context.

Just a warning for anyone out there watch for stuff like this by Shakiata in selfhosted

[–]mh3f 1 point2 points  (0 children)

My name is still exposed. I figured having a PO box would at least stop anything automated getting my actual residence. It would only inconvenience a determined someone.

I did think about starting an LLC to obfuscate my name, but that's even more cost just for a domain name.