• 1 Post
  • 805 Comments
Joined 6 months ago
cake
Cake day: June 24th, 2025

help-circle

  • And Harley Davidson.

    They go hard on branding. They’re one of the few motorcycle brands that let you go for a test ride (others might have a special event day at a dealership where you can ride around the parking lot). If you go for it, expect to be suited up in all the Harley leathers by the sales guy. It’s not a motorcycle, it’s a branded lifestyle where you ride around sometimes.





  • I had a 370Z for a while. I dunno if they did this on the 350Z, but they stuck a very heavy flywheel on it that does terrible things for throttle response. Makes it as smooth as a V8, and that’s obviously a cop to people who aren’t buying it for performance. You can cut the flywheel weight in half and still have a perfectly functional car for regular road use.

    The shape of the trunk makes a difference. Yes, the 350Z/370Z trunk is larger on paper, but the Miata’s is shaped nice and square. Easier to drop things into.

    Felt like sitting in a bathtub. Has much worse rear visibility than a Miata (even with the top up).

    Its oil cooling isn’t sufficient on the track without upgrades. Engine will go into limp mode after a couple laps. Can be fixed, of course, but a Miata is pretty close to track ready out of the factory.

    Traded the 370Z for an NC Miata and have never looked back. On any kind of twisty track, the flywheel issue prevents the 370Z from being able to use its extra power; I don’t think my track times are significantly different between the two.




  • 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.









  • Frezik@lemmy.blahaj.zonetoLemmy Shitpost@lemmy.worldRadon
    link
    fedilink
    English
    arrow-up
    44
    arrow-down
    4
    ·
    18 days ago

    Is this really the message we want to send?

    Yes, our society makes lots of bullshit jobs. That’s because capitalism can only keep people employed by creating bullshit jobs, and unemployed people are six missed meals away from revolution. That is not the fault of the people who have bullshit jobs.

    And no, I won’t accept “this is just a shitposting sub, lighten up” as a response. This is just another form of kicking down, and it isn’t funny. The working class needs solidarity, not this.