• 0 Posts
  • 18 Comments
Joined 5 months ago
cake
Cake day: June 24th, 2025

help-circle





  • This is what gives away the answer (emphasis added):

    Russian ultranationalist milbloggers, a key pro-war constituency for Russian President Vladimir Putin, continued to reject the modified peace proposal, criticize the United States for moving away from Russian demands, and claim that Europe only wants to continue the war in Ukraine.[16] The milbloggers called for Russia to achieve its war aims by force instead.[17] The Kremlin has refused to meaningfully negotiate in response to all US-led peace initiatives thus far in 2025, and has shown no willingness to make the significant compromises required of a negotiation process.[18] The Kremlin very likely aims to prolong negotiations to end the war to allow Russian forces to continue advancing on the battlefield. The Kremlin likely plans to use Russian advances to further intensify information operations aimed at convincing the West and Ukraine that a Russian military victory is inevitable and that Ukraine should capitulate to Russia’s demands. The Kremlin continues to show no willingness to compromise for good-faith peace negotiations and has not set conditions for Russians to accept anything less than a full Russian victory in Ukraine.

    If they aren’t setting up conditions for the civilian population of Russia to accept less than full victory–propaganda like “we have accomplished what we need to in Ukraine, and now is the time for the Russian people to have peace”–then don’t expect them to negotiate in good faith. Even the full 28-point peace proposal, which was clearly written by Russia and has been whittled down to 19 points, was never meant to be taken seriously. It was meant to say “see, we made an offer, and they rejected it”.



  • A bit of Perl code from the late 90s/early 2000s that worked something like this (working from memory, untested):

    my $hits = `grep $search_string $file`;
    my @lines = split /\n/, $hits;
    my @real_hits;
    for( my $i = 0; $i < scalar(@lines); $i++ ) {
        my $line = $lines[0];
        if( $line =~ /$search_string/ ) {
            push @real_hits, $line;
        }
    }
    

    Let me explain a bit about what this does. Instead of reading a file line-by-line and using Perl’s regex engine to match, it uses backticks to call out to the shell for grep. Those are split up by line. Then go through those lines (in a C-style for loop, not the perfectly good foreach version that Perl has had for a long time) and now we use a regex to match that line. You know, just in case shell grep didn’t do its one job.

    If anything, I’m probably making this code look better by declaring variables with my and following use strict standards.

    This was written by a guy who was the main programmer before I was hired. I was told he was a real piece of shit. He often had some checks in his code that, if not passed, threw messages to the client like “WE HAVE DETECTED YOUR HACKING AND LOGGED YOUR IP ADDRESS WE’RE GOING TO GET YOU”. Never met him personally, but his code is a pretty good example of why everyone came to hate Perl.











  • Georgia’s 14th district has a Cook Partisan Voting Index is R+19. That means that if the Republican candidate for President gets 45% nationwide, then the vote is expected to be 64% in that district.

    Normally, an R+19 district would be untouchable for Democrats. Probably wouldn’t even run a candidate, and if they do, it’d be a strategic move to force the GOP to spend money on what should be a gimme. I met a woman once who ran in a race like that, and it ain’t a fun job.

    That said, Democrats overperformed in the recent elections to close to that number, so it’s not out of reach.