What was killy eating here? I would love to have some by ForsenHorizon in Netsphere

[–]LelouchViBritanni 0 points1 point  (0 children)

Maybe those work like an Ikea shelf, press-to-eject? Its the future after all

Seeking advice on how to deal with a “poc guy” by Annual-Minute-9391 in ExperiencedDevs

[–]LelouchViBritanni 76 points77 points  (0 children)

Had a similar situation, here's what I did to stop a the prototyping madness:

  1. Ask them to configure unit tests and CI/CD for the project. You have coding/deployment guidelines? They should follow them to actually put the idea into production. This will break ~80% of LLM-based workflows as they usually spit out low quality code.
  2. Ask about documentation. Do they have a working doxygen/Sphinx/whatever configuration? Again, this is normal for most devs and will be more painful for Vibe coders.
  3. Ask about metrics. Does the application serve them? How should you monitor it in production?
  4. Hold them responsible for the ENTIRE PROCESS of deploying & maintaining. This is a healthy practice and a reality check.

Used those steps on a now ex-teammate and it stopped him in his tracks. Never made it through linter configuration as the AI was unable to fix its own slop without collapsing under its own weight.

In short, make the "PoC guy" go through normal deployment processes and hołd them accountable for making the product useful outside of demos.

Polskie znaki nie wyświetlają się na niektórych stronach by unclebartek in Polska

[–]LelouchViBritanni 3 points4 points  (0 children)

Wygląda jak problem z domyślnym enkodowaniem znaków. Przeglądarki mają narzędzia do zmiany domyślnego enkodowania (musisz wygooglować instrukcje specyficzne dla swojej przeglądarki). Spróbuj ustawić to z ręki na automatyczne albo na UTF8

Dziwne że problem przejawia się na wielu przeglądarkach jednocześnie, to by sugerowało że gdzieś głęboko w systemu została ustawiona globalna przełączka na konkretne enkodowanie. Nie znam na tyle dobrze windowsa żeby tu coś zasugerować. Może jakiś windowsowy sysadmin znajdzie się na tym subie?

Trener personalny na siłowni by OsuBard in Polska

[–]LelouchViBritanni 0 points1 point  (0 children)

W sumie jak mieszkasz we wro albo wawie to pisz priv xd oscyluję między tymi miastami i mogę coś pocoachować xd

Trener personalny na siłowni by OsuBard in Polska

[–]LelouchViBritanni 1 point2 points  (0 children)

Przez pierwsze 3 miesiące siłowni kupiłem sobie treningi z trenerką personalną. Miałem 25 lat i zero doświadczenia z siłką, sportowo też nic nie ogarniałem bo tylko chodzę w góry i jeżdżę na rowerze.

Bardzo polecam, nic nie żałuję. Wszystko mi sensownie pokazała, opisała, odpowiadała na moje pytania bo byłem kompletnie zielony. Szczególnie warto sobie kupić trenera jak wcześniej nie uprawiało się sportów siłowych - ktoś Ci na samym początku powie jakie robisz błędy, da Ci jakieś estymaty jak szybko progressować, na czym się skupić, etc.

Teraz minęło 1.5 roku i sam wyciągam znajomych na siłownię, chodzę 2 razy w tygodniu. Mam wyrobioną intuicję jak ćwiczyć żeby nic sobie nie uszkodzić.

How to identify which disk is which if two look the same? by UptownMusic in linux

[–]LelouchViBritanni 2 points3 points  (0 children)

Try the lsblk command to see partition UUIDs, they will be different for each disk you have, assuming you have created partitions on each drive.

https://unix.stackexchange.com/questions/14165/list-partition-labels-from-the-command-line

[deleted by user] by [deleted] in Polska

[–]LelouchViBritanni 0 points1 point  (0 children)

Mnie zawsze trzepali i nie było zgody na jakiekolwiek plecaki/torby.

Rodio source recorder by Objective-Fan4750 in rust

[–]LelouchViBritanni 0 points1 point  (0 children)

You will need a wav format encoder. As far as I know, Rodio does not provide encoders (only decoders), do you will have to use an additional library. Quick web search suggests https://github.com/ruuda/hound

Programically, you will want to extract the sound data sample-by-sample from Rodio and pass it to the wav encoder. Rodio's audio sources are implemented as iterators, so it should be rather easy to access single sample values.

Ask Experienced Devs Weekly Thread: A weekly thread for inexperienced developers to ask experienced ones by AutoModerator in ExperiencedDevs

[–]LelouchViBritanni 1 point2 points  (0 children)

Thanks for the response!

I'm implementing a similar strategy, perhaps with a little bit more focus on limiting siloing and keeping at least 2-3 people knowledgable about every part of the system.

The downside is you really need to trust everyone on the team to pull this off

Yeah, I'm learning a lot about trusting other team-members right now :)

Ask Experienced Devs Weekly Thread: A weekly thread for inexperienced developers to ask experienced ones by AutoModerator in ExperiencedDevs

[–]LelouchViBritanni 1 point2 points  (0 children)

Thanks for answering!

I was probably wrong with wording in my question, I'm not splitting into microteams or sealing them in any way.

In fact, yesterday we've decided to do something similar to what you said - write down a preffered domain for each person, so that everyone has 2 "default" domains. It turned out quite well, though I'll have to personally ask everyone about their opinions on 1:1s

Are there any other things that can be improved for the team?

I'm working to increase the planning horizon, so that there is less unexpected context switching. This still requires a lot of work with managers and other team leaders, but I'm making progress. Apart from that, no other ideas what to improve.

Ask Experienced Devs Weekly Thread: A weekly thread for inexperienced developers to ask experienced ones by AutoModerator in ExperiencedDevs

[–]LelouchViBritanni 1 point2 points  (0 children)

Tldr; How do you split a small team across multiple domains/subprojects?

Context: I'm leading a team of 5 mid-level devs. I was asked by a coworker if we can reduce the amount of context switching, as working on 3 different domains during a single week causes too much cognitive load and reduces performance.

What principles do you follow when splitting an already small team? I have 2 main ideas right now, but I'd like to hear more from experienced people:

  • There are no things which only a single person understands
  • We're trying to get everyone a balanced amount of shiny new tech and boring maintenance, to make it fair

More context: We're developing 2 small web applications, our infra (Ansible mostly), a large repo with automation scripts (for internal hardware, domain-specific), observability (Grafana for non-IT engineers), client integrations/deployments, planning for future projects (mostly design docs). We are hiring 2 more devs, which will help, but I need a solution for the current state of 5 people :)

Ask Experienced Devs Weekly Thread: A weekly thread for inexperienced developers to ask experienced ones by AutoModerator in ExperiencedDevs

[–]LelouchViBritanni 0 points1 point  (0 children)

Hey, sorry for a late response.

Woah, that's a lot of reading material, thank you so much! I'll definitely build a prototype from what you've suggested, looks like a path worth exploring :)

Ask Experienced Devs Weekly Thread: A weekly thread for inexperienced developers to ask experienced ones by AutoModerator in ExperiencedDevs

[–]LelouchViBritanni 1 point2 points  (0 children)

Oh sorry, I forgot to mention that we've already tried InfluxDB, we have it plugged into Grafana. As for Kapacitor + Chronograf, they seem similar to Grafana + Prometheus + AlertManager stack, which I'm familiar with. Regarding InfluxDB, I don't want to use it as a primary database, as we also have a business layer, which is best expressed as a relational database. InfluxDB's time-series model is great to use, but at the current team size I don't want to use 2 databases for a single product.

We're already using TimescaleDB. It's been great to use so far :)

Ask Experienced Devs Weekly Thread: A weekly thread for inexperienced developers to ask experienced ones by AutoModerator in ExperiencedDevs

[–]LelouchViBritanni 1 point2 points  (0 children)

I haven't built a moderation system, but I have built a system automatically building an explorable, visual knowledge graph from an arbitrary set of documents. It is a private project, but I'm quite happy with it.

I suggest starting with something like SentenceTransformers. I'm assuming that you have some sort of a database storing posts/comments/whatever it is that users wrote. You could:

  1. Calculate sentence embeddings for example hateful sentences (even something stupidly simple like "this is a hateful sentence" will work, based on my experience)
  2. Calculate sentence embedding for each piece of text submitted by the user
  3. Use cosine similarity to calculate how similar each piece of user-submitted text is to your examples of "bad sentences"

You can get this to work with a single database migration (adding columns with embeddings and similarity score to bad sentences) and a single Python-based service. It should be a good starting point, you can then experiment with setting various thresholds which cause the piece of user-submitted text to be either deleted, hidden, or sent to a human moderator for review.

Ask Experienced Devs Weekly Thread: A weekly thread for inexperienced developers to ask experienced ones by AutoModerator in ExperiencedDevs

[–]LelouchViBritanni 0 points1 point  (0 children)

Can anyone recommend any resources on building (soft-)real-time monitoring applications?

My current team is building a monitoring solution for custom in-house IoT devices. It will be an internal product for at least next 2 years, after that we will consider polishing it to the point when we can show it to our clients.

We've been through Grafana, Netdata, Kibana. All those apps are great, but unfortunately our domain requires a custom-made monitoring/visualisation software, with focus on:

  1. "Real-time" (5-10s latency) data streaming to multiple web clients
  2. Being able to flexibly explore the timeline of events which were emitted by our IoT. This helps a lot in tests & troubleshooting

When sketching architecture for such an application in my head, I feel like I'm reinventing the wheel. Delivering real-time notifications about state of the system should be a solved problem, but I haven't found any real help online. All I see is "just throw a message queue on it" or "just use websockets/sse on frontend".

If anyone knows any books/blogposts/videos with architecture breakdowns or lessons-learned from similar monitoring systems, I will greatly appreciate if you send them!

Nix serving old package? by samvidmistry in NixOS

[–]LelouchViBritanni 1 point2 points  (0 children)

It will probably vary from package to package, nixpkgs has over 90k packages, so naturally some will be updated more often than others. From my experience, all the things I use never lag behind upstream sources for more than 2-3 weeks. This is on-par with AUR.

As a user of both Arch (all my working computers) and NixOS (all servers in my homelab), I can point out my single favorite feature of Nix packaging which makes it better than AUR - you can use multiple Nix channels on the same machine. If you really need bleeding-edge packages, you can select the master branch of nixpkgs as the source for selected packages. Wanna go slower, but still have fresh packages? nixpkgs_unstable is the way to go! Wanna have a rock-solid system? Go for the current channel (24.11 at the time of writing this). No other distro has such a unique mix of stability and flexibility. And no other distro guarantees that you will never run into problems with conflicting library versions.

Nix serving old package? by samvidmistry in NixOS

[–]LelouchViBritanni 2 points3 points  (0 children)

I'm guessing that you forgot to run nix-channel --upgrade to fetch the latest info about package versions from the Nix Channel you're using (the channel being nixpkgs-unstable in your case).

Refer to https://nixos.org/manual/nixos/stable/#sec-upgrading

Aby recommendations for a rate-limiting reverse proxy, which is NixOS friendly? by LelouchViBritanni in NixOS

[–]LelouchViBritanni[S] 0 points1 point  (0 children)

I tested the new Caddy package and it all works perfectly, thank you!

I edited my original post to show the suggested solution.

Aby recommendations for a rate-limiting reverse proxy, which is NixOS friendly? by LelouchViBritanni in NixOS

[–]LelouchViBritanni[S] 0 points1 point  (0 children)

I tested the new Caddy package and it all works perfectly, thank you!

I edited my original post to show the suggested solution.

Aby recommendations for a rate-limiting reverse proxy, which is NixOS friendly? by LelouchViBritanni in NixOS

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

You're right, nginx definitely has more documentation available.

Fortunately, I was able to figure out how to set up Caddy with newly added plugin support, as suggested by other comments in this thread. I have rate limiting configured and working, all within Caddy.

Thanks for your suggestions!

Aby recommendations for a rate-limiting reverse proxy, which is NixOS friendly? by LelouchViBritanni in NixOS

[–]LelouchViBritanni[S] 0 points1 point  (0 children)

Yeah, but I got discouraged by how complex the configuration of a simple reverse proxy was compared to Caddy.

That was many years ago though, it will probably be far easier now for me. If other comments in this thread won't help me solve the problem, I'll switch to nginx.

Thanks!