• 0 Posts
  • 236 Comments
Joined 2 years ago
cake
Cake day: July 13th, 2023

help-circle
  • Weird quirk of English… why do we say “6 o’clock in the morning”, “2 o’clock in the afternoon”, and “6 o’clock in the evening”, but then we say “9 o’clock at night”? It doesnt sound right to say “at morning”, “at afternoon”, or “at evening”. You can say something happened “in the night”, but only in a non-specific way, like “she passed in the night”. But “I go to work at 11 o’clock in the night” just doesnt work.






  • Even if it weren’t fuck nuts suggesting it, this is surely a bad idea. We need direct sunlight to hit the earth. The problem is the dissipation of the heat generated by that light due to greenhouse gas saturation. Blocking the sunlight in the first place WILL cool the Earth, but with the cost of decreased capacity for plant and algae life to carry out photosynthesis and, thus, remove carbon dioxide from the air and produce oxygen at a minimum. Seems like that would contribute to the greenhouse gas problem, rather than address it, with the additional consequence of reduced yield for crops. I’m sure there would be other consequences too. They have the potential of being MASSIVE!



  • But anyway, I kind of like goto too much. I find it more intuitive to just jump around and re-use parts rather than think about how to do loops without too much nesting.

    Might I introduce you to functions?

    Need to write a prompt to the console and get an input? That could be a function. Need to check if a character matches some option(s)? That’s could be a function. Need to run a specific conditional subroutine? That could be a function. And function names, done correctly, are their own documentation too.

    You main function loop could look almost like pseudo code if you do it right.

    #include <stdio.h>
    #include <stdlib.h>
    #include <stdbool.h>
    #include <string.h>
    
    char* prompt_for_input(const char* prompt_message) {
        char temp[100];
        printf(prompt_message);
        fgets(temp, 100, stdin);
        temp[strlen(temp)-1] = '\0';
        char* input = malloc(strlen(temp));
        strcpy(input,temp);
        return input;
    }
    
    int string_to_int(char* input) {
        return (int)strtol(input, NULL, 10);
    }
    
    int prompt_for_loop_count() {
        char *input = prompt_for_input("\nI'll loop over this many times: ");
        int loop_count = string_to_int(input);
        free(input);
        return loop_count;
    }
    
    bool prompt_to_do_again(){
        char *input = prompt_for_input("Let's do that again!\nShallow we? (y/n): ");
        bool do_again = (strcmp(input, "y") == 0 || strcmp(input, "Y") == 0);
        free(input);
        return do_again;
    }
    
    void print_and_decrement_counter(int loops_remaining) {
        do {
            printf("Current = %d\n", loops_remaining);
            loops_remaining--;
        } while (loops_remaining > 0);
    }
    
    int main() {
        bool need_to_get_loop_count = true;
        printf("Hello.");
        while(need_to_get_loop_count) {
            int loops_remaining = prompt_for_loop_count();
            print_and_decrement_counter(loops_remaining);
            need_to_get_loop_count = prompt_to_do_again();
        }
        printf("\nBye\n\n");
    }


  • They literally dont see the difference. Making fun of Catelyn’s shitty behavior and crimes and making fun of trans women in general is one and the same to them. They think that actions necessarily stem, fundamentally, from the “kinds” of people they are. Everyone is a characticture, a stereotype.

    “You’re gay? Well you’re a leftie, socialist, gun-hating, pedophile who speaks effeminately, dresses flamboyantly, and does drag” They wouldnt even know how to handle a gay man that wears carhartt and camo, has a big bushy beard, votes Republican and owns a gun store, becuase such a thing is self-contradictory to them. How can this masculine beast of a guy be attracted to other men and want to have sex with them? It doesn’t compute.

    It’s why gay men, black men, women and others that join Republican groups, people that don’t fit the mold, find themselves often targetted with hatred and derision by their own “allies”. It’s not just that they are hateful bigots (and they are), but that they genuinely do not actually believe that they can be sincere in their shared beliefs because they aren’t the right kind of people.

    They are literally deciding Charlie Kirk’s assassin must have been a leftie based entirely on the possibility that he might have had a sexual relationship with a trans roommate. Yes, a big part of that conclusion is grasping at anything to escape culpability and scape goat the left as usual, but they do also fully beleive that that is damning evidence. Becuase right wingers never have anything but herero-normative sex lives. Dont tell Grindr.




  • Having a team touch base, followed by a daily standup, followed by a quality initiative meeting, followed by a biweekly support touch base, followed by a demo for a tool your team will never use, followed by lunch and learn session over some AI tool you’ll be forced to use, followed by your biweekly 1:1 with the manager, followed by the department touch base, followed by the company all hands… Aaaaand done with meetings. Finally, some time to get some work done… then your downstream customer wants you to investigate why their counts don’t match yours… “could you run the totals again? Could you run them broken down by hour? By minute? By second? Can you get me a list of each record at these 6 timestamps? Can I get them in a different format? Oops, the problem was on our end.” Great. And it’s 5 o’clock. Scrum master gonna be up my ass about story points tomorrow.