lysdexic

joined 2 years ago
MODERATOR OF
[–] lysdexic@programming.dev 1 points 1 year ago (6 children)

None of the communities you have mentioned are dead. In fact according to the January stats, all the communities you mentioned have above average usage.

I'm sorry, you're trying to blatantly lie with statistics.

"Above average" means nothing if the majority of communities is already dead. You're just arguing that some communities are more dead, which is pointless.

You're also lying regarding what traffic is being posted to !dotnetmaui@programming.dev. All posts ranging back to the last two weeks come from a single user account: https://programming.dev/u/SmartmanApps .

To make this even more pathetic, the bulk of the posts going into !dotnetmaui@programming.dev were posted by your account after I pointed out the community was dead and already dead on arrival.

You're not refuting the point: you're proving the point that the community is dead.

[–] lysdexic@programming.dev 1 points 1 year ago* (last edited 1 year ago) (8 children)

I mod the MAUI Community, which was created shortly before Xmas, and I made some announcements then (like on Mastodon, Daily Dew Drop, etc.) and some people joined then.

I'm late to the game but I should point out that the MAUI community is a textbook example of how communities should definitely not be created, and it was clear from the start that it was already born a dead community.

The C# barely gets a single post per week. The .NET community is even more of a niche community, and in spite of all the non-organic posts it's already dead.

Even though you were fully aware of this and you were repeatedly pointed out the obvious fact that a niche of a niche won't take off, you ignored te feedback and still went ahead with the creation of the community. Which is of course dead.

Lemmy in general and programming.dev in particular already have groups with traction. I hope that moving forward the group creation process is based on peeling specialized topics from existing communities. Otherwise the MAUI fiasco will repeat itself and we'll end up with an even longer tail of dead communities vulnerable to spam and takeovers by bad actors.

[–] lysdexic@programming.dev -2 points 1 year ago* (last edited 1 year ago) (1 children)

See, you’re not claiming that processes are important, you’re claiming that your process is important and

No, I'm claiming that processes are important.

It's important that stumbling upon a tangentially related bug or even linting issue does not block your work, forces you to fork your work, nor forces you to work around it. It's important that you can just post a small commit, continue with your work, and only handle that in the very end.

It's also important that you can work on your feature branch as you please, iterate on tests and fixes as you see fit, and leave cleanup commits to the very end so that your PR contributes a clean commit history instead of reflecting your iterations.

It's important that you can do any work you feel is important without having to constrain yourself to adapt your work to what you absolutely have to push your changes in a squraky clean state without iterations.

It's important that you can work on tasks as well as cleanup commits, and not be forced to push them all in a single PR because you are incapable of editing your local commit history.

It's not about my workflow. It's about the happy path of a very mundane experience as a professional software developer, specially in a team which relies on a repository's commit history to audit changes and pinpoint regressions.

This is stuff anyone who works in professional teams can tell you right away. Yet, you talk about this if it was a completely alien concept to you. Why is that? Is everyone around you wrong and your limited superficial experience dictates the norm?

Yet you talk about autism.

[–] lysdexic@programming.dev -4 points 1 year ago* (last edited 1 year ago) (1 children)

Oh, okay. I’ve never encountered a situation where I needed that bug fixed for the task but it shouldn’t be fixed as part of the task;

So you never stumbled upon bugs while doing work. That's ok, but others do. Those who stumble upon bugs see the value of being able to sort out local commits with little to no effort.

Also, some teams do care about building their work on atomic commits, because they understand the problems caused by mixing up unrelated work on the same PR, specially when auditing changes to track where a regression was introduced. You might feel it's ok to post a PR that does multiple things like bumping up a package version, linting unrelated code, fixing an issue, and post comments on an unrelated package, but others know those are four separate PRs and should be pushed as four separate PRs.

if they’re touching the same functionality like that I really don’t see the need for two PRs.

That's ok, not everyone works with QA teams. Once you grow over a scale where you have people whose job is to ensure a bug is fixed following specific end to end tests and detect where a regression was introduced, you'll understand the value of having tests that verify if a bug is fixed, and only afterwards proceed with changing the user-facing behavior. For those with free-for-all commits where "fixes bug" and "update" show up multiple times in their commit history, paying attention to how a commit history is put together is hardly a concern.

[–] lysdexic@programming.dev -3 points 1 year ago (3 children)

And those who don’t immediately insult

Pointing out someone's claim that they don't care about processes when it's the critical aspect of any professional work is hardly what I'd call an insult.

Just go ahead and say you don't use a tool and thus you don't feel the need to learn it. Claiming that a tool's basic functionality is "a solution in search for a problem" is as good as announcing your obliviousness,and that you're discussing stuff you hardly know anything about.

[–] lysdexic@programming.dev -2 points 1 year ago (3 children)

See, I don't think you understood the example. The commits built upon each other (bugs are fixed while you work on the task, and to work on your task you need the bugs to be fixed) and reordering commits not only take no time at al but they are also the very last thing you do and you have to do the just once.

[–] lysdexic@programming.dev 2 points 1 year ago (5 children)

It's ok if you don't feel a need to change your persona workflow.

Nevertheless I'm not sure you understood the example, so I'm not sure you fully grasp the differences.

The whole point of my example was to point out the fact that, thanks to interactive rebase, you do not even need to switch branches to work on multiple unrelated PRs. You can just keep going by doing small commits to your local feature branch and keep doing what you're doing. In the end all you need to do is simply reorder, squash, and even drop commits to put together multiple PRs from commits that are built upon each other.

Simple, and straight to the point.

[–] lysdexic@programming.dev 12 points 1 year ago* (last edited 1 year ago) (16 children)

If you need anything more complex than cherrypick, you already screwed up big time.

I think this is a clueless comment. You can use Git to greatly improve your development workflow if you dare going beyond the naive pull/commit/push workflow.

Take for example interactive rebase. It let's you do very powerful stuff such as changing the order of commits in a local branch and merge/squash contiguous commits. This unlocks workflows such as peeling off bugfix and cleanup commits from your local feature branch without having to switch branches. I'm talking about doing something like:

a) - you're working on your task, b) - you notice a bug that needs fixing, c) - you fix the bug and commit your fix, e) - you continue to work on your task, f) - you notice a typo in your bugfix code, so you post a fixup commit. g) - you post a few commits to finish your task, h) - you noticed your bugfix commit didn't had the right formatting, so you post a couple of commits to lint your code both in your bugfix commits and task.

When you feel you're done, you use interactive rebase to put everything together.

a) you reorder your commits to move your bugfix commit to the top of your local branch, followed by the typo fixup commit and the linter commit. b) you mark both the typo and linter commits as fixup commits to merge them with the bugfix one, c) you post a PR with the single bugfix commit, d) you finally post a PR for your task.

Notice that thanks go git interactive rebase you did not had to break out of your workflow or do any sort of context switch to push multiple PRs. You just worked on things you had to work, and in the end you just reorganize the commit history in your local branch to push your work.

Is this what you call "screwed up big time"?

[–] lysdexic@programming.dev 1 points 1 year ago (1 children)

I think it's hard to provide examples of a binary format beyond a few benchmarks.

[–] lysdexic@programming.dev 1 points 1 year ago

I think that this article is missing the most obvious and perhaps most used package manager for C and C++ projects: Linux distro's package repositories.

It should be stressed that package managers are a requirement for Windows and, to a far lesser degree, macOS. On any Linux distro, you'd just apt install <dependency>-dev and you'd be mostly set. It's mainly Windows development that draws this need to install packages to be able to develop anything.

[–] lysdexic@programming.dev 1 points 1 year ago

Honestly, I would argue that git submodule should count as a package manager. I simply list out the repos I want to pull in and update them as needed.

I see your point, but I think that when developers refer to package managers, implicitly that means accessing standalone precompiled binaries that are ready to just be integrated into a project.

With git submodules, unless they are used to track standalone projects or even precompiled binaries, you still have to resolve their dependencies, which is the responsibility of a package manager and the main reason they are used.

view more: ‹ prev next ›