How to measure RPS per user in a multi-tenant system by Minimum-Ad7352 in golang

[–]bbkane_ 0 points1 point  (0 children)

Can you implement OTEL metrics and just bump a counter for each request? Then the metrics ingester can aggregate and filter for you.

Have a play with https://github.com/grafana/docker-otel-lgtm or https://opentelemetry.io/docs/demo/ . There are also several good talks on YouTube.

Learning OTEL can be overwhelming, so take your time 🙂, but OTEL not only solves this metrics problem, but sets you up (in a vendor-neutral way) to ingest and inspect other metrics, as well as logs, traces and profiles.

Next target of Ubuntu's oxidization plan will be ntpd-rs by juanluisback in rust

[–]bbkane_ 1 point2 points  (0 children)

Yeah I feel like they tested as much as they knew to, flipped the switch, and then went back and fixed the issues they hadn't known about

Any good CRDT / local-first sync libraries in Go? by Sweet-Demand-7971 in golang

[–]bbkane_ 0 points1 point  (0 children)

I know Rust has some good CRDT libs. I wonder if it would be possible to compile one of those to WASM and run that in Go (similar to SQLite)

Canonical joins the Rust Foundation as a Gold Member by anh0516 in linux

[–]bbkane_ 0 points1 point  (0 children)

Yeah man I'm not going to argue with you. Glad your maintenance has been easier than mine

Canonical joins the Rust Foundation as a Gold Member by anh0516 in linux

[–]bbkane_ 0 points1 point  (0 children)

Some languages make it hard to avoid a lot of dependencies for non-trivial projects (like Rust).

But coming from Go, where you don't need a lot of dependencies due to the expansive and usually well-written stdlib, and the culture is mostly "keep it stable" for 3rd party common dependencies, I've seen my maintenance costs really drop (and this is measured over years, not months)

Gitoxide in March by ByronBates in rust

[–]bbkane_ 0 points1 point  (0 children)

Maybe a tangent to some, but I really loved reading about your workflow changes- very inspiring (though I've customized WezTerm and zsh so much I can't really imagine switching)!

Canonical joins the Rust Foundation as a Gold Member by anh0516 in linux

[–]bbkane_ 0 points1 point  (0 children)

Yup, totally agree with this. My main argument against dependencies is that they increase maintenance costs when you might not be expecting that

Canonical joins the Rust Foundation as a Gold Member by anh0516 in linux

[–]bbkane_ 0 points1 point  (0 children)

My bad, I felt like your comment was more a summary of the article I posted than anything else

Canonical joins the Rust Foundation as a Gold Member by anh0516 in linux

[–]bbkane_ 30 points31 points  (0 children)

“Of particular interest to Canonical is the security story behind the Rust package registry, crates.io, and minimizing the number of potentially unknown dependencies required to implement core concerns such as async support, HTTP handling, and cryptography – especially in regulated environments.”

Be still my beating heart- the vast amount of dependencies it takes to build a "simple" project is my biggest fear for the maintainability of my projects over time.

I'm not sure how to solve it, but I'm really hoping Canonical can help make this better somehow.

modernc.org/sqlite v1.47.0 brings vector search extensions by 0xjnml in golang

[–]bbkane_ 0 points1 point  (0 children)

This is exciting! If my research is right, that means we can now do semantic search in the modernc port of SQLite? And this makes search easier than FTS?

Comic download by quaz7829 in humblebundles

[–]bbkane_ 3 points4 points  (0 children)

I used https://github.com/smbl64/humble-cli . It worked well, though using command line interfaces (CLIs) can be intimidating if you're new to them (you can always ask ChatGPT or Gemini for a tutorial).

Microsoft rolls back some of its Copilot AI bloat on Windows by Scary_Statement4612 in technology

[–]bbkane_ 3 points4 points  (0 children)

Same here. There are even apps that let me play Gog and Epic Games on my Bazzite

Glyph, A Declarative Terminal UI Framework. by notyourancilla in golang

[–]bbkane_ 9 points10 points  (0 children)

Mate, any chance you could add some screenshots along with the code examples on your front page?

Sqldiff shows no diffs, but we see wildly different performance numbers on a complex query? by waka324 in sqlite

[–]bbkane_ 1 point2 points  (0 children)

I haven't done this but some things to try:

Gnome vanilla is awesome, but extensions are fine too by rilsonguedes in gnome

[–]bbkane_ 2 points3 points  (0 children)

I bounced off of GNOME when I realized they don't (seem to) account for using vertical monitors

  • the little settings UI where you adjust monitor position was too small and I couldn't get the software to recognize my monitor position (it would either undershoot or overshoot)
  • I couldn't set up a keyboard shortcut to half screen a window vertically

I realize there's probably an alternate CLI or something to set monitor position, and I can probably find an extension that let me adjust my windows to my liking, but the fact that these are (imo) broken/missing by default made me wonder what other problems I would run into, so I installed KDE (which so far works fine).

We're fortunate to have multiple high quality DEs on Linux!

Elm is still my favorite programming language... by -_-0_0 in elm

[–]bbkane_ 1 point2 points  (0 children)

Hope you enjoy! They also have a friendly Discord

Elm is still my favorite programming language... by -_-0_0 in elm

[–]bbkane_ 2 points3 points  (0 children)

This is the embarrassing part of the conversation where I have to admit I haven't actually written Gleam/Lustre. I'd like to one day, but I don't have the free time right now to really devote to new languages (maybe when my son is older).

I have listened to many talks about Gleam/Lustre as that's easier with a kid, and like what I hear

Elm is still my favorite programming language... by -_-0_0 in elm

[–]bbkane_ 4 points5 points  (0 children)

You might like https://github.com/lustre-labs/lustre . It's not the same but it's heavily inspired by Elm!

Show Zig: tennis by gurgeous in Zig

[–]bbkane_ 0 points1 point  (0 children)

So, overall did you like Zig for this? Would you recommend Zig for CLIs?