• 7 Posts
  • 29 Comments
Joined 25 days ago
cake
Cake day: January 14th, 2025

help-circle

  • Yes, I see your point. Very true about “moving to the right”.

    “People need to vote, and they need to vote effectively. If you’ve got ranked choice, great, vote for the candidates that represent your views the best. If you have a first past the post system, then you need to vote for the least worst candidate that can actually win, even if they don’t align with your morals or ethics.”

    This I think is one thing what Progressives in America have been working on, without the help of the Democrats (also healthcare, labour protection etc.). Then when the election comes, Democrats are surprised they did not get more votes and did not motivate people to the polls. Then they blame Progressives, who they have been ignoring, for not voting for them even though Republicans have a worse guy. So, Democrats don’t serve the poeple and are sad when they don’t get votes, is that right? Also, Democrats only listen to campaign advice from donors, even though donors are not a majority of the base… and then surprised when they get less votes? It just seems absurd to blame anyone but the Party. It is plain and simple bad politicking. Even blaming Trump supporters makes more sense, but they might actually fight back.





  • This is such a strange take, but a popular one among Americans it seems. There are many more elements to why Trump is president, structural incentives especially money in politics and the specific democratic process that involves the Electoral College, districts etc. I’m not American yet even I know about these… don’t you guys? It’s sad because it seems like you guys are fucked, and have no idea what you did wrong. The burgler is in the house and you all are trying to wrestle down a potted plant.

    It’s also absurd because the US markets itself as the world leader of democracy, but Democratic voters are saying, “Why didn’t you vote with the Party? You shouldn’t have exercised democracy!”

    I know you don’t speak for all Americans, but maybe you can shed some light on this.








  • Ok, thanks for the tip. I’m still getting used to Lemmy.

    I ended up using

    for f in *; do find ./“$f” -type f | sort | tail -n 2 | xargs -n 1 rm; done

    and it worked perfectly. For the bonus question, I’m moving the html files from 127 subfolders. They are the only content of the subfolders. I want to prepend an integer to each and copy them to a different folder, so instead of

    • folder1/file1
    • folder1/file2
    • folder2/file1
    • folder2/file2
    • folder2/file3

    I’ll have

    • 001file1
    • 002file2
    • 003file1
    • 004file2
    • 005file3

  • 😍😍😍😍 thanks harsh!! I’ll study this and report back. I really appreciate your time and effort. There is a lot to learn here, and actually the padding is on my list of things to learn, so thank you sensei! As to your question about the integers, the files need to be in alphabetical order before getting the integer prepended to them, so like

    • folder1/file1
    • folder1/file2
    • folder2/file1
    • folder2/file2
    • folder2/file3

    turns to

    • folder1/001file1
    • folder1/002file2
    • folder2/003file1
    • folder2/004file2
    • folder2/005file3

    that way in the folder when it’s all said and done I’ll have

    • 001file1
    • 002file2
    • 003file1
    • 004file2
    • 005file3

    I’ll check if your method works out of the box for that or if I have to use the sort function like you showed me last time. Thanks again!