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

help-circle

  • Hah, I installed Postiz just yesterday, interesting to see this thread. It’s like buffer or one of the other paid tools to schedule your social media posts and track engagement. Of course, of particular interest to our community, Postiz is self hosted.

    It doesn’t have as many features yet as the major SaaS businesses, but the software is looking good and quite usable right now. I’m sure the more people who use it and support the developer, the more this tool can grow.

    For example you can plug in your OpenAI API key and get an LLM chat interface inside the software while writing social posts. But I don’t think it learns your style or creates posts using any kind of system prompt yet unless you type it in each time.

    Another thing I couldn’t figure out so far is how to limit which social media channels individual users can see. For example my business has several different units and there’s a different marketing team on each unit, so they shouldn’t be able to post into other channels.

    If you’re in the business of needing to post regularly on a lot of channels I think postiz is worth checking out.



  • You’re not wrong about the first part and the constitution, by way of how the votes came in, says Trump is the next President.

    If that makes Biden derelict of his duty, however, that would be a leap because I don’t think Trump has been convicted or otherwise held to account of anything that would be disqualifying.

    If the sitting president can eliminate the incoming president because he believes him to be a threat then damn, were right back to where we started.



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






  • One of the best things ever about LLMs is how you can give them absolute bullshit textual garbage and they can parse it with a huge level of accuracy.

    Some random chunks of html tables, output a csv and convert those values from imperial to metric.

    Fragments of a python script and ask it to finish the function and create a readme to explain the purpose of the function. And while it’s at it recreate the missing functions.

    Copy paste of a multilingual website with tons of formatting and spelling errors. Ask it to fix it. Boom done.

    Of course, the problem here is that developers can no longer clean their inputs as well and are encouraged to send that crappy input straight along to the LLM for processing.

    There’s definitely going to be a whole new wave of injection style attacks where people figure out how to reverse engineer AI company magic.






  • Still think it’s a baited headline given their stated intention to go to court to fight the “unconstitutional ruling”. I’m not so sure the constitution gives foreign companies many legal rights so in that regard they’d perhaps be more protected if they were an American company. Whoops.

    TikTok’s 80% of investors who aren’t ByteDance won’t pass up billions of dollars in cash either if the alternative is that they forever get zero from the American market.

    They’ve been investing heavily in the US market for the last couple years too, so I doubt they are in the black.

    They’ve just all around played politics the American way very poorly. I can’t really comment on whether that’s good or bad but I’m blown away this Shou Chew CEO dude still has a job after this came down.