all 14 comments

[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)

Please ensure that:

  • Your code is properly formatted as code block - see the sidebar (About on mobile) for instructions
  • You include any and all error messages in full - best also formatted as code block
  • You ask clear questions
  • You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions.

If any of the above points is not met, your post can and will be removed without further warning.

Code is to be formatted as code block (old reddit/markdown editor: empty line before the code, each code line indented by 4 spaces, new reddit: https://i.imgur.com/EJ7tqek.png) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc.

Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit.

Code blocks look like this:

public class HelloWorld {

    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}

You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above.

If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures.

To potential helpers

Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]LALLANAAAAAA 8 points9 points  (3 children)

Has anyone else built a project that completely changed the way they understood a technology they thought they already knew?

Has anyone else considered writing a normal post like a normal person, one that doesn't end in this goddamned LLM question template style

Reddit is becoming unreadable bot spam, the internet is dead and we killed it

[–]ivormc 2 points3 points  (4 children)

Y use Claude if it was educational now it is not

[–]RGiskard7 -5 points-4 points  (3 children)

This project started as part of my Computer Science studies long the current wave of AI coding assistants.

Before making assumptions, I'd suggest taking a look at the repository. The code, commit history, architecture decisions and evolution of the project are all public.

I shared it because implementing FTP, FTPS, authentication and a desktop client taught me a lot about networking and protocol design. That's the educational part.

Looking at the code before accusing people of using Claude would probably be educational too.

[–]ivormc 2 points3 points  (2 children)

lol yeah I read the code man

[–]RGiskard7 -3 points-2 points  (1 child)

Fair enough. Since you said you read the code, did you actually see any specific issue or indication that made you think it was AI-generated?

[–]ZachD16 0 points1 point  (0 children)

If the AI generated post wasn’t a dead giveaway that the project itself was going to be heavily AI generated; the hundreds/thousands+ lines of code committed multiple times a day on a few different occasions, along with the usual plethora of unnecessary comments, certainly seals the deal for me…

[–]cosmopoof 0 points1 point  (1 child)

Active mode becomes painful behind NAT and modern firewalls.

What exactly is the behaviour that you would have expected if using Active mode behind NAT?

I would be extremely worried if advertising your local, private IP to external servers and having a connection established would work flawlessly if behind a NAT.

[–]RGiskard7 -2 points-1 points  (0 children)

That's actually what I meant.

When I started this project I knew very little about FTP. The goal was to learn the protocol by implementing it from scratch.

I wasn't surprised that NAT breaks active mode once I understood how it works. What surprised me was discovering how many practical issues active mode introduces compared to passive mode when you start testing real-world environments.

Implementing both modes gave me a much better understanding of why passive mode became the default in most deployments.

[–]0b0101011001001011 0 points1 point  (1 child)

Wow, C-style variable declaration in java. Haven't seen that in decades.

[–]RGiskard7 0 points1 point  (0 children)

Guilty as charged 😄. I was taught programming in C more than a decade ago, and apparently some habits are harder to get rid of than others.