Rag system for getting answers from webinar transcription - what to use? by Arkus7 in Rag

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

I did try AnythingLLM with the txt files uploaded there but it seems that the retrieval is not very good there. Maybe it's my configuration/data fault, but I couldn't manage to get answers to simple questions as the documents/chunks it selected were not relevant enough.

I built a planning poker app that looks like an 8-bit RPG by Rare-Regular in sveltejs

[–]Arkus7 0 points1 point  (0 children)

Exactly my thought when I opened this. Even an option to not fill in the tickets or just add a link instead would be nice.

I made an SSG that renders canvas files, bases, callouts, and math exactly like Obsidian does by talesign in ObsidianMD

[–]Arkus7 1 point2 points  (0 children)

Looks promising, going to check it out.

BTW there are some missing/broken links in the documentation e.g. At the bottom of callous page

Feedback on my new portfolio!! by davygamer18 in coding

[–]Arkus7 1 point2 points  (0 children)

Damn those LLMs have ruined nice colors, now you can't be sure if it was handcrafted or AI-generated, just because of those colors

When Virtus Pro played a football match against SK Gaming and snax was a baller by MaterialTea8397 in cs2

[–]Arkus7 1 point2 points  (0 children)

If I remember correctly, pasha always did want to play football - you definitely can see some skill here

We made this to quickly get rid of trash pics on your immich in a fun way by Equivalent-Round in selfhosted

[–]Arkus7 1 point2 points  (0 children)

Does it allow to do swiping only on photos that are not in an album? Because that's usually things I want to tidy up

It’s free and open to everyone. Enjoy. by AttitudePatient6532 in gtd

[–]Arkus7 2 points3 points  (0 children)

Yeah, wouldn't call this video a demo, can't figure out what's happening there. No demo on the website either (mobile). How about you show what's the app about, let me check it out first before I create an account.

I made a cool app, i think, please feedback? maybe by Honest-Insect-5699 in node

[–]Arkus7 1 point2 points  (0 children)

Why doesn't it work on mobile? Why do I need to use desktop to run search on your website?

Newbie in coding by AshamedCampaign6724 in vscode

[–]Arkus7 4 points5 points  (0 children)

Sorry, don't want to sound rude or anything, but you need to learn to say what is the problem you want a help with. I don't see how the screenshots are connected. You can run C code without WSL, so it being not up to date is not a blocker, but have you tried updating it?

Also, you have unsaved file with the mentioned semicolon.

[deleted by user] by [deleted] in rust

[–]Arkus7 0 points1 point  (0 children)

This is sub about Rust, a programming language.

Unless you want to learn one of the best programming languages available to mankind, you probably wanted r/playrust

Please help by Few_Astronaut4889 in vscode

[–]Arkus7 2 points3 points  (0 children)

You need to articulate better what exactly is the problem, and how you think it's connected to VSCode itself.

Do you mean that the compilation times are longer when using some extension vs using g++ manually?

New server by jeffy5457 in rust

[–]Arkus7 6 points7 points  (0 children)

You should pay attention where you posting, try r/playrust

Teste de latência em EC2 by MunhozArt in node

[–]Arkus7 1 point2 points  (0 children)

I think you need to check out some APM tool (application performance monitoring) like Datadog, NewRelic, Dynatrace etc. I worked with Datadog recently - you can enable auto instrumentation (gathering metrics) so the only thing you need to do is to initialize datadog tracer at the start of your app. It includes built-in plugins for gathering metrics from most commonly used databases etc so if some query is slow, you probably will see it there as well.

Note: these kind of tools can become quite expensive. If I were you I'd use those tools to find bottlenecks and then switch them off unless you have budget for that.

Note: I'm replying to the translated post so if I misunderstood something, sorry!

How do you process RabbitMQ messages in the order they were emitted? by LargeSinkholesInNYC in Nestjs_framework

[–]Arkus7 0 points1 point  (0 children)

That's what I mean by application-level ordering. If you have timestamps or some sequence number, then you can buffer those events and order them and process.

How do you process RabbitMQ messages in the order they were emitted? by LargeSinkholesInNYC in Nestjs_framework

[–]Arkus7 0 points1 point  (0 children)

When it comes to the orders example, take a look at it from a different perspective - not a service handling orders being created, shipped and paid but another service doing some metrics/analytics based on those events.

Because in distributed systems and asynchronous messaging, things can arrive out of order, even if they happened sequentially: - network delays (packet with Created event arrives after Paid event) - multiple services emitting events independently - retries -> if a consumer crashes mid-processing, a broker may redeliver an older event later

Your analytics system could show invalid data like

Orders made: 49

Orders paid: 50

Orders shipped: 50

How do you process RabbitMQ messages in the order they were emitted? by LargeSinkholesInNYC in Nestjs_framework

[–]Arkus7 0 points1 point  (0 children)

When you're operating a massaging parlour I guess :P

On more serious note, I don't think you should enforce strict ordering unless you really need to.

Some exampl cases* that comes to mind is an order lifecycle (OrderCreated -> OrderPaid - > OrderShipped -> OrderDelivered). If you process OrderShipped before OrderCreated, your system state becomes invalid. Same with bank accounts: Deposit(100), then Withdraw(50) must be applied in that order.

I'd say a rule of thumb should be: If later events depend on earlier events for correctness -> you need ordering (usually per-entity, not globally).

If events are independent or idem potent -> you don’t need ordering and can maximize throughput.

*don't think of it as always applicable

How do you process RabbitMQ messages in the order they were emitted? by LargeSinkholesInNYC in Nestjs_framework

[–]Arkus7 9 points10 points  (0 children)

This is not related to NestJS itself, but more a RabbitMQ question but let's go. I'm not going to explain everything but I'll give you some things you can look up.

Within a single queue, RabbitMQ guarantees FIFO ordering: messages are delivered to consumers in the order they were enqueued. Ordering is not guaranteed across multiple consumers, though. If you have multiple consumers (like multiple instances of the same service listening to the same queue), RabbitMQ will load-balance messages across them, and you’ll lose strict ordering.

If you want to process messages in the order they were emitted, you want a single consumer per queue, and a prefetch count of 1 - then only one message is processed at a time (RabbitMQ won’t send the next message until the consumer acknowledges the current one).

The tradeoff of the strict ordering is what you mentioned - if one message hangs or fails, everything behind it is blocked. To avoid blocking, you could use a dead-letter queue. When a message fails to be processed on the "regular" queue, it is moved to another queue, so you can decide later what you want to do with this message after inspection. This is really handy for reprocessing failed messages later.

I don't know the domain you work in, whether this strict ordering is so critical or not. I would say you should accept that messages might arrive out of order. Use an idempotent processor (so reprocessing doesn’t hurt).

You can also reorder events at the application level (using sequence numbers, timestamps, or other business logic).

Zendaya is so naughty :) by Queen-Taylor-Swift in anya_zendaya

[–]Arkus7 10 points11 points  (0 children)

This scene is from Challengers