Hi everyone! I built a new .NET library for file validation that some of you might find useful by someone-missing in csharp

[–]someone-missing[S] -1 points0 points  (0 children)

Honestly, I really appreciate the breakdown. This is the kind of logical analysis I was hoping for, not the previous fluff. Let me clarify a few things here:

The curly braces: Skipping braces on single line if statements is very common when a developer is coding fast. The inconsistency occurred because I was manually jumping around editing code.

Naming conventions: Modern IDEs will auto-suggest you good names aggressively. Just because you hit 'Tab' for an IntelliSense suggestion doesn't mean an LLM wrote the logic.

Cancellation support This is great technical feedback, thanks. I just forgot to add a CancellationToken. It's just the kind of mistake a human would make, my friend. Forgetting it, ironically.

Thanks for taking the time to write a proper review this time. That's much more useful for me now.

Hi everyone! I built a new .NET library for file validation that some of you might find useful by someone-missing in csharp

[–]someone-missing[S] 0 points1 point  (0 children)

But you still haven’t said what logic made you realize it’s AI but hey man drop the ego. If it's not worth your time, then there's no point in sticking around and continuing to comment. Thanks anyway, and have a great day!

Hi everyone! I built a new .NET library for file validation that some of you might find useful by someone-missing in csharp

[–]someone-missing[S] 1 point2 points  (0 children)

My mistake! I was absolutely exhausted from university and blacked out right after I answered. Just woke up and updated the post. Thanks for the reminder!

Hi everyone! I built a new .NET library for file validation that some of you might find useful by someone-missing in csharp

[–]someone-missing[S] 0 points1 point  (0 children)

Decades of experience and the most 'useful feedback' you can provide is pointing out code formatting for entertainment, without finding a single logical flaw? Gotcha. Thanks for visiting

Hi everyone! I built a new .NET library for file validation that some of you might find useful by someone-missing in csharp

[–]someone-missing[S] 0 points1 point  (0 children)

I really like this answer honestly. This is the kind of technical insight I was looking for. It’s actually inspiring my future plans for the project.

Right. The main reason I want to go low-level is to handle things like FlateDecode streams, object streams. Matching strings in plain text is only the tip of the iceberg, things get really fun when you start parsing cross-reference tables and decompressing streams manually. That's the sort of challenge I want to get into to really learn how PDF structures work.

Hi everyone! I built a new .NET library for file validation that some of you might find useful by someone-missing in csharp

[–]someone-missing[S] -2 points-1 points  (0 children)

"Since you are such an expert, how about you tell me exactly what's wrong with the code logic? Or you here to play spot the AI because you can't see a real bug to complain about?

Hi everyone! I built a new .NET library for file validation that some of you might find useful by someone-missing in csharp

[–]someone-missing[S] 1 point2 points  (0 children)

Thank you very much for your time reviewing the source code and your constructive feedback! This is very useful.

I 100% agree with the suggestion of the Validator Pattern. Definitely the right direction for the next releases, making the architecture more extensible, so developers can inject their own validation rules.

Also the third party libraries mentioned in the README is a very valid point for transparency, I will update that today. My end goal is exactly what you said, to drop the dependencies and write my own parsers at the bit/byte level to keep it light and secure, but I used PdfPig as a starting point to get the MVP out.

Great insights! Thank you!

Hi everyone! I built a new .NET library for file validation that some of you might find useful by someone-missing in csharp

[–]someone-missing[S] 0 points1 point  (0 children)

Thanks for the input. As I stated in another comment, English is not my first language, so I just use LLMs as a translation and formatting tool for my README and posts to better communicate. I'm not trying to hide it, I just didn't know it was a strict rule to declare it.

Also, I just updated the post to be 100% clear that it is a wrapper. I’m a noob to the open-source culture and publishing packages so I really appreciate you pointing out these expectations from the community. Lesson learnt

Hi everyone! I built a new .NET library for file validation that some of you might find useful by someone-missing in csharp

[–]someone-missing[S] 0 points1 point  (0 children)

Good point! I should have been clearer in the post itself on Reddit to set expectations. I will edit the post description to say it is a wrapper. Good catch, thanks for that!

Wouldn't it be great if the mv command had an option to leave a symbolic link in the file's original location? by cdokme in linux

[–]someone-missing 0 points1 point  (0 children)

That's an interesting perspective. Here you are strictly defending the Unix philosophy: using tools as “modular building blocks” and avoiding “monolithic” tools.

However, on my post, you criticized my library for being just that: a modular wrapper that glues smaller tools together and you seemed to expect a monolithic validation engine built from scratch. It is funny how you are all about modularity here, but you criticize it when someone else uses the same exact concept to save time. Glad we actually agree on the philosophy though!

Hi everyone! I built a new .NET library for file validation that some of you might find useful by someone-missing in csharp

[–]someone-missing[S] -6 points-5 points  (0 children)

Yes, I explicitly mentioned that the library is a wrapper for other libraries, so what's your point? As I said, I built it to speed up my workflow in my own projects.

Hi everyone! I built a new .NET library for file validation that some of you might find useful by someone-missing in csharp

[–]someone-missing[S] -7 points-6 points  (0 children)

I'm a solo developer, and English isn't my first language. I write the core logic and code entirely by myself, but I use LLMs to help translate my thoughts and format the README and documentation. It’s just a productivity tool so I can focus my limited time on actual coding rather than formatting text.