[–] 3 points 11 months ago (1 child)

I don't think this is implemented in the standard datetime library, but in principle overriding sub is easily possible and you can define it as you'd wish.

However, I think subtracting a year is a bit ill defined, because it isn't clear which year you're subtracting given the leap year issue.

  • source
  • parent
  • context
  • [–] 4 points 1 year ago (4 children)

    I don't understand these things. All I've ever tried to use are waaayy too strong and cause water to splash everywhere. I do have an under-the-toilet-seat one and I like that very much, butI never got the hand of the handheld ones

  • source
  • parent
  • context
  •  

    It seems like with the current progress in ML models, doing OCR should be an easy task. After all, recognizing handwritten numbers was one of the prime benchmarks for image recognition (MNIST was released in 1994).

    Yet, when I try to OCR any of my handwritten notes all I ever get is a jumbled mess of nonsense. Am I missing something, is my handwriting really that atrocious or is it the models?

    Here's a quick example, a random passage from a scientific article:

    I tried EasyOCR, Tesseract, PPOCR and a few online tools. Only PPOCR was able to correctly identify the numbers and the words "J." and "Chem.". The rest is just a random mess of characters.

    Edit: thank you all for shitting on my handwriting. That was not asked for, and also not helpful. That sample was intentionally "not nice" but is how I would write a note for myself. (You should see how my notes look like when I don't need to read them again, lol)

    chatGPT can transcribe it perfectly, and also works on a slightly larger sample. Deepseek works ok-ish but made some mistakes, and gemini is apparently not available in my country atm. I guess the context awareness is what makes those models better in transcription, and also why I can read it back without problems.

    submitted 3 years ago* (last edited 3 years ago) by to c/gardening@lemmy.world
     

    So I got my hands on some flower bulbs which are typically meant to be planted in spring and I was wondering what I could do with them now. To be concrete, I have

    • Dahlia
    • Mirabilis jalapa
    • Ixia

    I'm in USDA zone 7b/8a and I could either place them on a south facing balcony or inside. I've also read that you can force flowers in a vase with some bulbs such as Hyacinths but I haven't read anything about that with the ones I have. Or should I just keep them in storage until next spring and plant them then?

    view more: next ›