• 2 Posts
  • 45 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle
  • People don’t like to admit that we are ants. We are valuable and important. Each one of us is unique and deserves a full, good, life. But we are also ants. We are susceptible to group think, mob behavior, and we tend to follow the scent trail most of the time. It’s not a bad thing. It’s tied to our evolutionary desire to be a part of a community; to fit in and blend in.

    But it also means individuals are likely to do what keeps them alive. We are likely all bad in some way or another.

    But as long as you aren’t, actively, willfully, or gleefully harming people, you’re probably ok.





  • Laughter helps a lot. But if I’m consuming a ton of media, it’s sometimes better to just take a break and drink water while doing nothing else. I also have mantras about life like: “if I have my family, I’m ok”, “home can be anywhere”, “nothing in life is more important that food, shelter, water”, etc. Sometimes I worry about bills, future costs, etc. But worrying doesn’t always make it easier. A little bit of worry keeps me from ignoring finances all together. But too much worry isn’t helping. If you can free yourself from worrying about money, you’d be surprised how much weight gets lifted. I’m privileged because I have family and friends that I love. If I ever hit hard times, I know I have a home with them. Reminding myself of that keeps me from staying up all night with worry.





  • Captain Janeway@lemmy.worldOPtoaww@lemmy.worldJFK Airport. I'm not taking their advice.
    link
    fedilink
    English
    arrow-up
    26
    arrow-down
    2
    ·
    edit-2
    8 days ago

    Obviously don’t pet service dogs. Just to be clear. This photo was intentionally photoshopped to make it appear as though the airport was saying “Travel Advisory: when traveling don’t pet dogs”. As in, when in the UK never touch a dog. I thought it was funny/cutesy. I didn’t intend on sparking a big debate about the ethics of petting dogs or the rules about service dogs.

    Don’t touch service dogs.

    Pet dogs if you know them or are introduced to them.

    Basic dog rules people. Teach your children



  • I just picture you floating in an endless void 100 billion years after entropy has moved every single subatomic particle away from each other. Somehow you have been sustained. The last sophisticated entity in the universe. Your billions of years of loneliness have already driven you to the point of insanity, enlightenment, insanity again, and finally a state of which no one could imagine. Because you don’t consume food or water, you’re in a perpetual state of hunger and thirst. You don’t feel harmed, but you do feel peckish all the time. You could do with a draught. Your wish didn’t allow for pain “thank God”, you think.





  • Display and layout rules aren’t difficult at all. Maybe I’m just not experienced enough. I’ve been a web dev for nearly a decade now and I feel like I’ve got the hang of it. That being said, I don’t work on projects that have to work on everything from a Nokia to an ultra wide monitor. We shoot for a few common sizes and hope it clears between edge cases nicely. What is an example of something that wraps randomly?


  • Genuinely, though, CSS is fairly clear cut about the rules of positioning and space. Relative positioning is one of the most important concepts to master since it allows things to flow via the HTML structure and not extra CSS. Fixed positioning is as if you had no relative container other than the window itself. Absolute positioning is a little weird, but it’s just like fixed positioning except within the nearest parent with relative positioning.

    Everything else is incredibly straight forward. Padding adds space within a container. Margins add space outside a container. Color changes text color. Background-color changes the background color of an element.

    Top, left, right, and bottom dictate where the element should be positioned after the default rules are applied. So if you have a relative div inside a parent which is half way down the page, top/right/left/bottom would move the element relative to it’s position within the parent. If you made the div fixed, it would be moved relative to the window.

    Lastly, if you’re designing a webpage just think in boxes or rows and columns. HTML can define 75% of the webpage structure. Then with just a bit of CSS you can organize the content into rows/columns. That’s pretty much it. Most web pages boil down to simple boxes within boxes. It just requires reading and understanding but most people don’t want to do that to use CSS since it feels like it should just “know”.

    As someone who has built QT, Swing, and JavaFx applications, I way prefer the separation of concerns that is afforded us via HTML JS and CSS.


  • If we spent half the energy on improving our lives that we spend on fucking people over, we’d have a utopia by now. Or at least less lead in our pipes.

    America is a global superpower which - apparently - spends some of its most secretive efforts on petty lashbacks to Chinese propaganda. And I’ll be damned if our most secretive efforts don’t also end up costing us the most taxes (relative to their effective output). I know that Twitter opens its firehouse of data to government programs to support social media analysis. I’m sure Google and Meta do as well. They are aiding these psychological campaigns.




  • It’s not just the boiling process. The alcohol in beer is anti-bacterial which allows the water to remain safer to drink for longer.

    It wasn’t beer in many cases. Grog is basically rum, water, and limes/citrus which help sailors prevent scurvy whilst also protecting them from bacterial infections. I don’t believe they boiled the water at all in that case. I believe it was just mixed all together.


  • I see. Well without a command line, I wouldn’t call it a terminal. I think you just want tooling to be available on an Android? It would probably look like a button or series of buttons on an app. Maybe you could connect the dots between them to insinuate a pipe? E.g., you have a “mv” button and a “file” button. When you drag from mv -> file you could maybe kick off a process that moves the file. Maybe it would prompt you for other arguments like destination? I suppose this theoretical app could allow people to install additional tooling and make their own custom commands.

    But I just feel like a button UI for these kinds of things will always be awkward. If you don’t have a keyboard/terminal interface, it’s hard to implement anything that would even behave like terminals in terms of functionality.