• 1 Post
  • 105 Comments
Joined 2 years ago
cake
Cake day: July 10th, 2023

help-circle





  • 0x01@lemmy.mltoTechnology@lemmy.worldWhy LLMs can't really build software
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    7
    ·
    30 days ago

    I use it extensively daily.

    It cannot step through code right now, so true debugging is not something you use it for. Most of the time the llm will take the junior engineer approach of “guess and check” unless you explicitly give it better guidance.

    My process is generally to start with unit tests and type definitions, then a large multipage prompt for every segment of the app the llm will be tasked with. Then I’ll make a snapshot of the code, give the tool access to the markdown prompt, and validate its work. When there are failures and the project has extensive unit tests it generally follows the same pattern of “I see that this failure should be added to the unit tests” which it does and then re-executes them during iterative development.

    If tests are not available or if it is not something directly accessible to the tool then it will generally rely on logs either directly generated or provided by the user.

    My role these days is to provide long well thought out prompts, verify the integrity of the code after every commit, and generally just kind of treat the llm as a reckless junior dev. Sometimes junior devs can surprise you, like yesterday I was very surprised by a one shot result: asking for a mobile rn app for taking my rambling voice recordings and summarize them into prompts, it was immediately remarkably successful and now I’ve been walking around mic’d up to generate prompts.








  • 0x01@lemmy.mltoPolitical Memes@lemmy.worldOblivious
    link
    fedilink
    arrow-up
    11
    ·
    3 months 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.





  • We have one in an upstairs bedroom from midea, the window slides right between the front and back of the unit and it’s excellent. Our power consumption didn’t increase too terribly much and it’s actually decently quiet.

    Not gonna put the model here but just look for U shaped window units. It has little legs that go outside.

    Don’t get the inside standing units, they’re massive, loud, power hungry, and most of them are less effective than even the cheap window units.