• 2 Posts
  • 73 Comments
Joined 2 years ago
cake
Cake day: June 21st, 2023

help-circle






  • nucleative@lemmy.worldtoMemes@lemmy.mltime to think
    link
    fedilink
    English
    arrow-up
    17
    ·
    2 months ago

    I know we’re in a meme community but this did get me thinking… Not only is the Earth spinning but it’s also in an orbit around the Sun which is also orbiting around the center of the Milky Way which is moving through space relative to other galaxies and so on.

    Do we have enough information to calculate a position in space in the future for Earth without a fixed reference other than current point?




  • My TikTok feed is full of content that I find interesting and educational, from creators who work hard to make something valuable.

    For them, banning TikTok means the work they put in to curating an audience will be partially lost, they’ll retain only the followers who find them on another app. If they are monetizing, they’ll potentially have to start over. That may discourage some who are just getting started from developing their craft.

    If china, bytedance, meta, or any other platform is collecting user data in such a way as to be a national threat they definitely need to cut it out and this should be regulated. For example, it should be impossible to identify the location of military generals based on where their wives access TikTok from, or who’s having an affair with who based on proximity to each other, or to develop a vast dataset of individually identifiable profiles of every user that could be used to selectively damage their character.

    Aside from these problems, which are potentially solvable, I think the individual creator/maker economy is an awesome way to give more power to the people.


  • I think there are two answers to this. First, there is a long standing tradition in the US that the new guy doesn’t put the old guy in jail.

    Look at so many other countries and so much of world history to see how that style of governing is problematic to the transfer of power from one regime to the next and why it causes its own set of problems.

    The second, and arguably the most important, is that the American people as a whole can elect whoever the fuck they want to be president, no matter what any mid level beurocrat, judge, lawmaker or even current president or other official says about the issue, even if said person is in jail at the time.

    The law and its punishments should still apply to all, including the president and former presidents, however.



  • Python developer here. Venv is good, venv is life. Every single project I create starts with

    python3 -m venv venv

    source venv/bin/activate

    pip3 install {everything I need}

    pip3 freeze > requirements.txt

    Now write code!

    Don’t forget to update your requirements.txt using pip3 freeze again anytime you add a new library with pip.

    If you installed a lot of packages before starting to develop with virtual environments, some libraries will be in your OS python install and won’t be reflected in pip freeze and won’t get into your venv. This is the root of all evil. First of all, don’t do that. Second, you can force libraries to install into your venv despite them also being in your system by installing like so:

    pip3 install --ignore-installed mypackage

    If you don’t change between Linux and windows most libraries will just work between systems, but if you have problems on another system, just recreate the whole venv structure

    rm -rf venv (…make a new venv, activate it) pip3 install -r requirements.txt

    Once you get the hang of this you can make Python behave without a lot of hassle.

    This is a case where a strength can also be a weakness.


  • He seems to lack competence in many ways, but some of the guys around him are a whole lot more conniving and potentially effective.

    It’s also not likely Trump feels any urge to hire a somewhat moderate(ish) cabinet of professionalls like he did last time. I assume he learned his lesson given that they all eventually turned on him.

    So let’s see. I think he’s spent the past 4 years surrounding himself with some bad hombres, to borrow a saying, and now he’s ready to act with fewer guardrails.







  • I was the president of my HOA. Somewhat not intentionally.

    It was my first home, a condo, and I bought it at launch right after it was built. After about 6 months of living there, a neighbor approached me and said the whole rest of the board had flaked out, and would I like to be president of the HOA?

    I said sure, it seems interesting and I definitely want the value of my ownership to be protected.

    So me, him, and another guy formed a new board.

    Oh man, the messes we started to uncover. The super low dues didn’t even cover the trash removal, hallway electric lighting bill, elevator maintenance contract… Much less any landscaping. No wonder the place was looking rough.

    And of course there was no budget to put money away for long term needs like reroofing or whatever.

    So we worked hard on a plan to propose to the owners to increase the dues about 70% so that we’d have a well landscaped place and hopefully no surprise expenses ever because of an ample rainy day fund.

    Less than 10% of the owners even showed up to the HOA meeting, so we didn’t meet quorum.

    We tried again, and finally got quorum after knocking on doors and asking for people to please come and vote.

    This was just one issue. I’d get regular calls like hey, somebody dumped an old mattress by the dumpster. Can you call the removal company (the regular trash service wouldn’t take that kind of thing). Or calls like “there’s some sick trees in the front yard, when are you finally going to get an arborist out here?” And so and so’s room is leaving trash in the hallway, can you please go talk to them?

    I resigned within a year. Screw those guys and I’ll never co-own without getting to choose my partners again.