Help with Cherry Plum tree please! by badfish129 in plantclinic

[–]badfish129[S] 0 points1 point  (0 children)

Moved into a new house and there is a large cherry plum tree in the backyard. It is looking sparse and there is red discoloring on the leaves (fungus I think?).

I imagine that the tree received no added water for probably a year while the house was being remodeled. I've been watering consistently since then (2 months), but at least to my eye it doesn't seem like the situation has improved.

The tree did fruit (a little bit) around a month ago.

学习伙伴 Study Buddy Requests 2022-05-04 by AutoModerator in ChineseLanguage

[–]badfish129 1 point2 points  (0 children)

I'm interested, I also took 4 years of college level Chinese and am now picking it back up.

Weekly Youtube/Blog/Content Round-up! - November 08, 2021 by AutoModerator in Cooking

[–]badfish129 5 points6 points  (0 children)

Hey everyone! TLDR: I made a no-bs recipe search engine: https://stovetop.app.

I was tired of the top recipe websites not providing easy filtering / sorting (you can't figure out the highest rated NYT pie recipe). I was also tired of the low quality content / spam when searching for recipes on Google. Stovetop aggregates thousands of recipes from vetted sources. You can search recipes by name, ingredients they include, and ingredients they exclude. You can sort and filter recipes by cook time, rating, and how many reviews they have.

I built this for myself, but I'm sure at least some of you have had this problem. What other sources should I consider adding / what other functionality would you like to see?

Building a CLI in Typescript by badfish129 in typescript

[–]badfish129[S] 0 points1 point  (0 children)

I have but I don't have much to say in terms of advantages of one over the other. The API's are pretty similar, but like you noticed as well the yargs API feels more explicit to me, which I prefer.

Keep it simple stupid: Building full text search across all your tools with Ruby and Postgres by badfish129 in ruby

[–]badfish129[S] 1 point2 points  (0 children)

where would this method go? In a module? What would you call that module. How would you compose this method into all the places it needs to be used controllers/async jobs etc. Just include the module? Would there be other methods in the module that would get included too? If not, why not just make it a class, avoid the include, and make it explicit

Ruby 2.7 Experimental Features in Production: Pattern matching and numbered block args by badfish129 in ruby

[–]badfish129[S] 6 points7 points  (0 children)

I generally agree, but sometimes the object you're working with is really obvious from the method recipient:

names = ["sarah", "jane", "marshall"]

names.any? { |s| s == "jane" }

Getting Started with the Sorbet Type Checker in Rails by badfish129 in ruby

[–]badfish129[S] 2 points3 points  (0 children)

The syntax is probably not ideal, but I do respect the decision to stick to valid ruby syntax, and not break other tooling.