• 7 Posts
  • 25 Comments
Joined 9 months ago
cake
Cake day: December 27th, 2023

help-circle
  • That was my intuition but then consider this bug in unpaper:

    https://github.com/unpaper/unpaper/issues/230

    I have a script that runs unpaper on PGM files. When the DPI is 600, that bug in unpaper is triggered, but no problem if the source is 300dpi. So it means there is a difference. Although I suppose it’s possible that it’s not really DPI that causes unpaper to produce a truncated image; it could come down to sheer number of pixels. Guess I could work that out by testing further with smaller source scans.

    The reason for my question is that I’d like to write my script to work around that bug. If a source file has more than 300 dpi, I would use ImageMagick instead of unpaper to do the bileveling.

    (update)
    I cropped a 600dpi image in half using GIMP. Then fed that into unpaper. The bug was not triggered and the full canvas was processed correctly. So I think you are right… DPI is not a concept on PGM files. Which implies unpaper’s bug is simply a limitation on the number of pixels it can handle. It’s apparently incidental that scanning a full size page at 600 dpi results in more pixels than unpaper can handle.

















  • If you read the whole thread, I would not have to spell this out. These are preservatives (source):

    • honey
    • salt
    • garlic
    • sugar
    • ginger
    • sage
    • rosemary
    • sage
    • mustard
    • mustard seed
    • cumin
    • black pepper
    • turmeric
    • cinnamon
    • cardamom
    • cloves
    • vinegar
    • citric acid
    • lemon/lime juice

    They generally work by killing/repelling/deterring microbes that to a notable extent happen to be of the unwanted variety. Before yesterday, I thought salt worked similarly to the others on that list. Yesterday I learnt that salt is uniquely functions as a preservative due to a different mechanism (a drying effect).

    Your logic is nonsense. To claim that because substance X does not kill /everything/, it cannot serve as a preservative – this is broken logic that you brought to the thread. Nothing on that list of food preservatives kills or deters every microbe - not even every harmful microbe. Of course they selectively mitigate /some of/ “the bad bacteria” (but note it’s a bit straw mannish for you to use the article “the” in your phrasing imply /all/ unwanted microbes). Most preservatives mitigate enough unwanted microbes without unacceptable overkill to beneficial microbes to justify use as a preservative. They are selected as preservatives for this reason. Foods that fail to significantly select against unwanted microbes (i.e. most foods) don’t get tagged as a preservative. How are you not grasping this?

    You also have noteworthy bad assumption: that evolution does not happen outside of the ocean. The claim that because life started in the ocean, the ocean is therefore suitable for everything – this is bogus. Try putting a freshwater fish in the ocean. If a complex organism can evolve to become intolerant to the environment of its ancestors, why wouldn’t microbes also evolve to develop intolerances?


  • Indeed, that’s a good point. I wonder how many people don’t know that. I used to think “nothing will survive 250°F in my pressure cooker” and was tempted to cook some questionable pork. But yeah, would have been dangerous because chemical toxins from bacteria output would “survive” (persist) in 250°F. So after some quick research, I tossed it.

    Though I might be surprised if 24hrs is enough time for brine to not only accumulate bacteria in high numbers but also allow enough time for bacteria toxins to be produced. How fast does that happen? I would have thought a day is too short (I don’t think I ever let more than a day pass between boils).