• 0 Posts
  • 13 Comments
Joined 5 months ago
cake
Cake day: June 4th, 2025

help-circle





  • I’m trying to do X in programming language Y, are there any libraries for that and can you give me an example"

    I found them to be really bad for that in my testing. They’ll happily hallucinate the existance of a library with a vaguely plausible name, spit out ‘sample’ code for it, and then when I ask for a link to the documentation, say “I’m sorry, that library doesn’t exist”. It drives me round the bend!


    • Heat a spoonful of butter in a pan.
    • Once it’s melted and just sizzling, add about a spoonful of white flour, and stir until you have a smooth paste.
    • Cook the roux until it’s slightly darker to give the sauce a richer flavour.
    • Add a spoonful of milk and stir until smooth. This is the critical step, but it works out fine unless you let it burn.
    • Keep adding milk, a spoonful or two at a time, and mixing, until the sauce is quite liquid and you’re not having to stir much.
    • Add the rest of the milk a little faster, still stiring.
    • Cook until the sauce is heated through, and bubbling.
    • Add unhealthy amounts of your prefered cheese, grated, and keep stiring.
    • Cook until the sauce starts to thicken and remove from the heat. It’ll thicken more as it cools.

    It seems like a lot of steps, but once you get the hang of it, it’s quick and reliable. The recipies that add flour to a lot if liquid have a tendency to get lumpy, this one cooks the flour in fat first and adds liquid slowly, which pretty much eliminates the issue.



  • I like what you’ve done so far. It’s quick and simple to use. The one bugbear I’ve come across so far is it converting tables to html, rather than storing them as proper markdown.

    I read the reasoning in the documentation, and certainly for my usecases, maintaining it as markdown is more important than trying to perfectly preserve the visual formating, especially as I use multiple devices with different sized screens, so I need different fornatting on each! That’s one of markdowns main strengths, it doesn’t preserve formatting so you don’t need to think about it and it’ll be displayed in a reasonable manner anywhere.

    Is there any reasonable chance that there could be an option, at the server level rather than per page, to store tables as markdown?


  • notabot@piefed.socialtoLemmy Shitpost@lemmy.worldThats fair
    link
    fedilink
    English
    arrow-up
    2
    ·
    21 days ago

    I would have assumed the more intelligence you have the more capacity to understand and worry about problems you would have.

    Intelligence gives you the ability to understand these things, and can also give you the understanding that worrying about the things you can’t change is of no benefit and the ability to then put those things aside so you can focus on changing the things you can improve.

    That doesn’t always come naturally, but it’s a valuable thing to practice.