• 4 Posts
  • 223 Comments
Joined 2 years ago
cake
Cake day: July 10th, 2023

help-circle
  • 0x01@lemmy.mltolinuxmemes@lemmy.worldWhich git branch are you on?
    link
    fedilink
    arrow-up
    36
    arrow-down
    2
    ·
    3 days ago

    The default branch for some projects is “production” since CD deploys on pushing to that branch

    For new projects, main. My thought is that even if master is not offensive, since the industry has generally made the change, the only reason to stick with master is stubbornness or hating political correctness, neither of which aligns with my self-view so I’ll use main and move on.

    In general if people are genuinely hurt by the use of some words, I’m not sadistic so I’ll avoid using them. From my perspective morality is the pursuit of the reduction of suffering, even if that suffering is internal.














  • 0x01@lemmy.mltoPolitical Memes@lemmy.worldOblivious
    link
    fedilink
    arrow-up
    11
    arrow-down
    1
    ·
    17 days ago

    After thinking about it a bit I actually think this makes sense.

    Imagine a bully on the playground, in a group of other bullies who have all convinced themselves they’re the victims. The bully has a baseball bat in their locker that they use to terrorize smaller children who wear blue hats because that means they’re secretly out to get the bully. The bully heard one time on another playground a kid in a blue hat hit a kid with a baseball bat, just like our bully. Every time a bully beats the hell out of a random kid at recess there are short term exclamations from the all kids asking for the school to take away the weapons, even though they die out quickly, the bully takes offense at the idea of someone taking away his only tool to protect themselves from spooky blue hats kids.

    He stands tall with the other bullies at recess holding little signs, we dare you to take away our baseball bats! Genuinely simultaneously afraid and empowered. They inflict actual threat of violence because they internally have conjured the idea of violence against themselves.

    In this recess analogy, hall monitors would stand with the bullies, having baseball bats themselves and also being afraid of the blue hat kids.

    If one day a blue hat kid brought a baseball bat to protect themselves the hall monitors and teachers all immediately crack down on them and take it away, because obviously it’s not for self defense they’re “clearly” out to get the hall monitors.

    I don’t think ideologically cops would take guns from people who think like them and ally with them, rather from “rebels” and “others” who start a genuine rebellion against a facist regime. Obviously from the perspective of the enforcement of laws against guns the police are the arm of the executive among the people, but they choose when and where to enforce laws all the time.


  • Ngl I love tailwind, I’ve been through so many different css paradigms

    • separate css files: why did we ever do this, if you’ve ever used kendo’s css stuff you’ll understand how unfathomable hundreds of thousands of lines of css with complex rules is. Identifying all the things that affect a single component is the work of dozens of minutes at minimum, sometimes hours, you have to understand every nook and cranny of the css spec.
    • inline styles: fine, but verbose and requires object spreading, harder to compose, theming is tough and requires discipline to be consistent in your theme conventions, almost impossible to also theme imported library components
    • module.css with imported classes: my go to outside of tailwind
    • scss: I actually really like scss but it exacerbates the complexity and mystery of css, great for small projects but terrible as projects bloat
    • bootstrap: basically just worse tailwind, providing only components and colors

    That’s all I can think of right now, but tailwind is my preferred way to style a new project, I love how easy theming and style consistency is