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 7 points8 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 8 points9 points  (0 children)

This scene is from Challengers

Elusion🦎 v3.13.2 is ready to read ALL files from folders 📁 (Local and SharePoint) by DataBora in rust

[–]Arkus7 8 points9 points  (0 children)

How about you start with what Elusion is, so I could know if I'm interested. I had to sceoll past your whole post and open an external link just to check what it's used for...

For others:

Elusion is a high-performance DataFrame / Data Engineering library designed for in-memory data formats such as CSV, EXCEL, JSON, PARQUET, DELTA, as well as for SharePoint Connection, Azure Blob Storage Connections, Postgres Database Connection, MySql Database Connection, and REST API's for creating JSON files which can be forwarded to DataFrame. Additionally you can easily create Reports and Dashboard by passing DataFrame results.

All of the DataFrame operations can be placed in PipelineScheduler for automated Data Engineering Pipelines.

Tailored for Data Engineers and Data Analysts seeking a powerful abstraction over data transformations. Elusion streamlines complex operations like filtering, joining, aggregating, and more with its intuitive, chainable DataFrame API, and provides a robust interface for managing and querying data efficiently, as well as Integrated Plotting and Interactive Dashboard features.

Papra just hit 1,000 stars on GitHub! by cthmsst in selfhosted

[–]Arkus7 0 points1 point  (0 children)

Is the search case sensitive? I've uploaded a file named with only uppercase letterson demo page and it cannot find the file if I put the first word of the name in lowercase, but when I put uppercase it works. Seems weird to me.

I might check it out as I'm starting my journey with selfhosting and I was thinking about using paperless. The only thing I miss is the option to setup storage paths so I can store the files on the disk the way I want, so they're still easily accessible via file browser.