LGUG2Z

joined 1 year ago
 

I'm sure most of us have had to deal with issues reported by end users that we ourselves aren't able to reproduce

This video is an extended case study going through my thought process as I tried to track down and fix a mysterious performance regression which impacted a small subset of end users

I look at the impact of acquiring mutex locks across different threads, identifying hot paths by attaching to running processes, using state snapshot comparisons to avoid triggering hot paths unnecessarily, the memory implications of bounded vs unbounded channels, and much more

1
submitted 3 months ago* (last edited 3 months ago) by LGUG2Z@lemmy.world to c/nix@programming.dev
 

I updated my NixOS on WSL starter template for NixOS 24.05 and created a fresh walkthrough video.

WSL is how I first got started with NixOS (and now I use it to manage more servers and machines than I can keep track of!) and I'm a big proponent of being able to quickly spin up a simple flake with a relatively flat structure where people can play around with settings to come up with something they feel comfortable applying to a bare metal machine at a later point in time.

 

cross-posted from: https://lemmy.world/post/13113247

After learning how to add an unstable overlay to nixpkgs, being able to override individual service modules from unstable was something that I still struggled with until fairly recently. Hopefully this helps someone else looking to do common-but-not-very-obvious operation.

 

cross-posted from: https://lemmy.world/post/9143654

Apologies in advance for sharing two link posts here two days in a row. Unemployment may be driving me a little nuts... ๐Ÿ˜…

I've been working on Satounki since I got laid off last month. It's the culmination of a lot of experience building similar ad-hoc internal tooling at various places throughout my professional career.

Satounki already includes:

  • AWS support
  • GCP support
  • Cloudflare support
  • Auto-generated Terraform providers from the Rust API
  • Auto-generated Typescript client wrapper from the Rust API
  • Slack bot for request notifications, approvals and rejections
  • CLI for requests, approvals and rejections
  • Dashboard for exploring policies, requests and stats

The scope of this project is pretty big and I'm looking for contributors.

The majority of the project is written in Rust, including the generated Go and TS code. The stack is pretty simple; Actix, Diesel, SQLite, Tera etc., so if you have experience with writing web apps in Rust it should feel familiar!

Even if this is a totally new stack to you, this is a great project to develop some familiarity and experience with it, especially if you can help improve the quality of the generated Go and TS code at the same time!

 

I [posted this on !youshouldknow@lemmy.world yesterday](https://lemmy.world/post/1080409?scrollToComments=true) and I thought it was worth sharing here too to help people looking for specific types of communities on the Lemmyverse:

I built this for myself some years ago and used it a lot to find many interesting niche subreddits. Today I expanded it to also help myself and others find interesting niche communities across the Lemmyverse!

There is a longer explanation here from an older article, but basically:

  • You give this a link that you found interesting
  • It will (try to) find everywhere it has been shared on the Lemmyverse (and other websites)
  • It will show you all comments from everywhere it's been shared on a single page
  • You can do all the regular stuff like filter, sort, isolate etc.

One thing I find myself doing very often is hitting "toggle sources" on the top banner; this shows me everywhere the link has been shared and commented on, and if I see a community I'm not familiar with, I'll isolate the comments from that source and have a look through to see if it's a community I'd like to engage with.

There are also browser extensions and an iOS shortcut available.

You can check out an example from a post that just hit "Hot" on lemmy.world here!

I hope this helps people find interesting, engaging and fulfilling communities in this next chapter of the internet! ๐Ÿš€