• 0 Posts
  • 21 Comments
Joined 1 year ago
cake
Cake day: August 25th, 2023

help-circle
  • lol. Did this in my old building - the dryer was on an improperly rated circuit and the breaker would trip half the time, eating my money and leaving wet clothes.

    It was one of the old, “insert coin, push metal chute in” types. Turns out you could bend a coat hanger and fish it through a hole in the back to engage the lever that the push-mechanism was supposed to engage. Showed everyone in the building.

    The landlord came by the building a month later and asked why there was no money in the machines, I told him “we all started going to the laundromat down the street because it was cheaper”


  • It’s unavoidable - once the cheese gets hot enough the steam will either force the liquid cheese out of existing holes, or it will make its own holes.

    Make sure they are fresh out of the freezer when you put them in, as this lets the outside crisp up more before the inside becomes lava. Once you get close to the prescribed cooking time, you need to just sit in front of the oven door and watch them, and as soon as 2-3 break open, take the whole tray out












  • But running those pip commands you mentioned is only going to affect what version gets installed initially.

    I don’t follow. If my package-lock.json specifies package X v1.1 nothing stops me from manually telling npm to install package X v1.2, it will just update my package.json and package-lock.json afterwards

    If a requirements.txt specifies X==1.1, pip will install v1.1, not 1.2 or a newer version. If I THEN install package Y that depends on X>1.1, the pip install output will say 1.1 is not compatible and that it is being upgraded to 1.2 to satisfy package Y’s requirements. If package Y works fine on v1.1 and does not require the upgrade, it will leave package X at the version you had previously installed.


  • bjorney@lemmy.catoProgrammer Humor@lemmy.mlPackage managers be like
    link
    fedilink
    arrow-up
    10
    arrow-down
    2
    ·
    edit-2
    1 year ago

    Would that just create a list of the current packages/versions

    Yes, and all downstream dependencies

    without actually locking anything?

    What do you mean? Nothing stops someone from manually installing an npm package that differs from package-lock.json - this behaves the same. If you pip install -r requirements.txt it installs the exact versions specified by the package maintainer, just like npm install the only difference is python requires you to specify the “lock file” instead of implicitly reading one from the CWD






  • In this case, by “audit” it was more of a metaphorical “here is our setup, do we plug this into slot A or B, we don’t want to read the 300 page manual”, so 1 hour was literally all it needed

    Spoiler: I ended up reading the 300 page manual, it took a week. That was 3 years ago and we have never touched it since


  • Very much 4

    We wanted to get an engineer to audit something we set up, talking like 1 hour phone call, maybe 1 hour of work beyond that if something needed to be adjusted

    We wasted like 4 hours on the line with different agencies (talking to sales people) who wanted to connect us with a DIFFERENT agency to do the actual work, who wanted us to sign a 3 year service contract.

    Like no, “please just let us talk to one of your senior engineers and bill us $500/hr for his time”