HackerTrans
TopNewTrendsCommentsPastAskShowJobs

huffstler

no profile record

comments

huffstler
·2 anni fa·discuss
I believe they're showing an example of where people would use (incorrect) regex patterns to validate. That's the whole thrust of the previous paragraph. `hadc0ffee` is not valid hex, but the function says it is due to, I presume, an incorrect regex pattern. I'm not familiar enough with regex to know why it's wrong though.

Edit: I was curious, so I looked through the linked docs for regex. They have the exact same pattern for checking hex in there as they do in this one. I guess it was just an error after all?
huffstler
·4 anni fa·discuss
Does anybody know of a good place to get seasonality information for fruits and veggies?

I found an open source application[1] for showing that stuff, and have been looking around to be able to add information for the North America region. [2]

The FDA database is good and this one is too, but they don't offer any seasonality about fruits or veg :/

[1] https://flunzmas.com/seasonal-foods-calendar/

[2] https://github.com/seasoncalendar/seasoncalendar/issues/115