clux

@clux@hachyderm.io

Nerd sniping target. Maintainer of https://kube.rs
Slowly Rewriting Kubernetes in Rust.
Timeline is mostly pixelart, puns, and procrastination.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

kernellogger, to rust
@kernellogger@fosstodon.org avatar

Andrea Righi[1] wrote a scheduler in / using sched-ext[2]; he claims he was "'"pretty shocked to see that it doesn't just work, but it can even outperform the default scheduler (EEVDF) with certain workloads (i.e., gaming):"'"

He shared it on the : https://twitter.com/arighi/status/1746938387968254371

Github page: https://github.com/sched-ext/scx/

Video: https://www.youtube.com/watch?v=oCfVbz9jvVQ

[1] engineer @ Canonical
[2] https://lwn.net/Articles/922405/

clux,

@kernellogger makes sense that it's gaming that benefits here. there are wrappers like https://github.com/FeralInteractive/gamemode that imo are basically mandatory for responsive gaming on Linux

clux,

@kernellogger ..yup :/
I would much rather this stuff worked well out of the box.

clux, to Kubernetes
nurkiewicz, to Kubernetes
@nurkiewicz@fosstodon.org avatar

OH: K8s GC - application has a memory leak but we don't care. We just let restart it once it runs out of memory

clux,

@nurkiewicz unapologetically ran this liveness check in prod for years:

livenessProbe:
exec:
command: [false]
initialDelaySeconds: 86400

clux, to rust

quick releases of the rewrite of yq (a multi-format wrapper) at https://github.com/clux/whyq

now handles all of jq's syntax, raw/compact/joined output, yaml/json/toml inputs & outputs, with jq module re-use for all formats!

clux, to rust

wasn't planning on finding all the flaws in the other yq implementations when doing a version, but now multidoc yaml input through jq is a thing

clux,

toml -> json -> jq -> yaml

clux,

the thing is super dumb, but have wanted a dumb wrapper for ages
(other impls often try to be smart and end up implementing a tiny subset of jq - which also just had a new version)

clux,

@onelson yeah, under a new org and everything https://github.com/jqlang/jq/releases/tag/jq-1.7

clux,

@onelson nice to see you alive and on here btw, was considering using jq-rs but thought it wasn't maintained 🤦

fasterthanlime, to random
@fasterthanlime@hachyderm.io avatar

Looking at cargo-chef again - how is docker layer caching better than just slapping --mount=type=cache in a RUN block again? https://github.com/LukeMathWalker/cargo-chef

clux,

@fasterthanlime buildx cache is a good substitute/simplification locally. on CI tho, the buildx cache is in some temp dir, so you don't actually cache that with a normal docker layer caching setup, or docker/build-push-action with cache-from

clux,

@fasterthanlime you only need to use build-push-action once to get layer caching with that action (you just can't have more than one output per invocation). something like https://github.com/kube-rs/version-rs/blob/1deeee2b2cc257c9ea7d55fe21bab89a60ed53c8/.github/workflows/ci.yml#L16-L44

clux, to random

on return to the office policies via https://www.cnbc.com/2023/08/11/80percent-of-bosses-say-they-regret-earlier-return-to-office-plans.html

> Many companies are realizing they could have been a lot more measured in their approach, rather than making big, bold, very controversial decisions based on executives’ opinions rather than employee data

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • thenastyranch
  • magazineikmin
  • InstantRegret
  • everett
  • osvaldo12
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • kavyap
  • Durango
  • ngwrru68w68
  • cubers
  • JUstTest
  • DreamBathrooms
  • khanakhh
  • anitta
  • modclub
  • ethstaker
  • tester
  • GTA5RPClips
  • cisconetworking
  • tacticalgear
  • megavids
  • Leos
  • normalnudes
  • lostlight
  • All magazines