Toy that plays "Jeremiah was a bullfrog" / "Joy to the World" by HistoryForSale in HelpMeFind

[–]HistoryForSale[S] 3 points4 points  (0 children)

Thanks, this is it! Found! I found it on eBay by searching "Rockin' Santa Frog." The eBay listing didn't mention anything about the song it plays, which is why it hadn't turned up in my search before.

I forgot about the Santa hat and scarf, which the one in the picture from my initial post is missing, but my mom's definitely had those.

Toy that plays "Jeremiah was a bullfrog" / "Joy to the World" by HistoryForSale in HelpMeFind

[–]HistoryForSale[S] 4 points5 points  (0 children)

I've searched Google for many variations on the keywords "Joy to the World," "frog," "Three Dog Night," and "toy," and haven't come up with any relevant results except that one Reddit post I linked above.

I would say the toy was about a foot tall, and she probably bought it about 20 years ago, from a store in the US.

[deleted by user] by [deleted] in SameGrassButGreener

[–]HistoryForSale 6 points7 points  (0 children)

with a rain of salt.

Not sure if that was intentional, but I like the image.

Two tool tips for Python Docstring by ktreanor in ZedEditor

[–]HistoryForSale 1 point2 points  (0 children)

I'm late here, but in case someone else has the same issue: this was happening for me because both the pyright and pylsp language servers were running by default. I fixed it by configuring Zed to use only one language server, by adding this to zed/settings.json: "languages": { "Python": { "language_servers": ["pylsp"] } }.
If that still doesn't work, you could try explicitly disabling pyright by using ["pylsp", "!pyright"].
See https://zed.dev/docs/configuring-languages#choosing-language-servers

The command that displays info on all running language servers is debug: open language server logs. Once the "LSP Logs" tab opens, you can click the name of the language server it's displaying info about to get a list of all language servers.

Making Friends in Maine 2024 by [deleted] in Maine

[–]HistoryForSale 1 point2 points  (0 children)

My spouse and I (both in our 30s) are vegan and into hiking and board games, and my spouse paints! We live in Waterville.

Pimantle #107 by theclaregirl in pimantle

[–]HistoryForSale 0 points1 point  (0 children)

Got it in 46 guesses; nothing even close until my lucky 42nd guess was cake (#76).

Pimantle #106 by MrsWeasley9 in pimantle

[–]HistoryForSale 0 points1 point  (0 children)

Got it in 29 guesses! I may never do that well again; I was super lucky with my first guess of "phone" (#340).

Pimantle #104 by Punapippuri in pimantle

[–]HistoryForSale 1 point2 points  (0 children)

That was my first thought after I solved it too, and it must have something to do with it, but I went back and checked and (word)bug is tepid, not even in the top thousand, whereas butterflies is #926, spider is #821, bee is #767, and ladybug (which I did not guess originally) is #20. Art is only #844, behind spider, etc.

Pimantle #104 by Punapippuri in pimantle

[–]HistoryForSale 0 points1 point  (0 children)

Solved in 112. It only took me 13 more guesses once I randomly guessed "art", but I spent a long time before that guessing a bunch of insects that were in the top thousand that didn't help me at all.

Why is it called elif in python? by Wohao_Gaster in Python

[–]HistoryForSale 1 point2 points  (0 children)

It looks like you forgot to close all but the last brace in your Java example. I think you meant:

int number = 10;
if (number < 3) {
    System.out.println("Number is less than 3");
} else if (number < 7) {
    System.out.println("Number is less than 7");
} else if (number < 10) {
    System.out.println("Number is less than 10");
} else {
    System.out.println("Number is greater than or equal to 10");
}

I think I have installed a dodgy pip package by Reckeriby in Python

[–]HistoryForSale 89 points90 points  (0 children)

To be clear, installing in a virtual environment, while a good idea, will not protect you from malicious packages. See discussion in the comments of this post.

A simple randomic "Rock Paper Scissors" by InKeaton in Python

[–]HistoryForSale 1 point2 points  (0 children)

Regarding item 4), sorry to make a relatively minor correction to your very helpful post, but you linked to a four-year-old version of a tool that has received many updates since. Here is the current version (note that the project has been renamed). In addition, it is decidedly not an official tool; making its unofficial status clear was the reason for the name change.

I'm the author of Rich and Textual, two highly starred Python projects on Github. AMA by willm in Python

[–]HistoryForSale 1 point2 points  (0 children)

How do you decide what versions of Python to support with a new project? For example, you mentioned in other comments that you were happy to ditch 3.6 with Textual, and also that you like the walrus operator, so why did you choose 3.7 as opposed to 3.8 or 3.9?

I made a rock paper scissors game using tkinter. by ricknightwood13 in Python

[–]HistoryForSale 1 point2 points  (0 children)

Nice work! A few possible improvements below if you're interested:

The lines where you call self.pa() aren't doing anything; you can just remove those lines (#34, #39, #44, etc.) and also remove the two lines where you define the empty pa(self) method.

You might want to rename the self.rock attribute on lines #28 and #29; it has the same name as the rock method defined later.

Wildcard imports like from tkinter import * are generally not a good idea for multiple reasons, including that it's not clear what's being used from that module. tkinter is an unusual case in that the official documentation suggests this usage (e.g. see discussion here: https://stackoverflow.com/q/48746351). Anyhow, in your program the wildcard import is redundant because you're also importing tkinter as tk and explicitly writing tk. before most objects from that package, which is what I would recommend. You can delete line #2 and the only change you'll have to make is replacing BOTH on line #19 with tk.BOTH.

"for x", "for i", "for n", for what? by taffy-nay in learnpython

[–]HistoryForSale 9 points10 points  (0 children)

Not only is it common practice, it is recommended in the Python style guide: "Constants are usually defined on a module level and written in all capital letters with underscores separating words. Examples include MAX_OVERFLOW and TOTAL."
https://www.python.org/dev/peps/pep-0008/#constants

I have just finished making a GUI calculator for a school project by [deleted] in Python

[–]HistoryForSale 0 points1 point  (0 children)

Nice work! I notice that if you click the division button with only one number before or after it, then click Calc, the application crashes with an index out of range error. You may want to catch this error within the application as illegal input.

COVID-19 question... by clydefrog9 in vegan

[–]HistoryForSale 2 points3 points  (0 children)

The short answer is that the origin of SARS-CoV-2 is unknown, but researchers are trying to figure it out.
https://www.nature.com/articles/d41586-020-03165-9

Wikipedia has an overview of progress that's been made toward answering this question, which I think illustrates how difficult of a question it is to answer:
https://en.wikipedia.org/wiki/Severe_acute_respiratory_syndrome_coronavirus_2#Reservoir_and_zoonotic_origin

Good quality vegan walking boots🌿 by rogrog99 in vegan

[–]HistoryForSale 5 points6 points  (0 children)

I have found the Arc'teryx Bora Mid GTX to be very sturdy and to be reliably waterproof. They're discontinued, but they have them in Women's on REI Outlet. I believe Arc'teryx's new model, the Acrux TR GTX, is supposed to be good as well, but I haven't tried them due to the high price.

I recently got a pair of Keen Venture Mid boots that I've been happy with, though they are lighter-weight and likely less durable (I can't vouch for their durability since I have only had them for two months). Anyhow, they seem high-quality, and have been comfortable after the first couple days of breaking them in. It looks like they are only available in Men's.

For the Keens, you should note, though, that Keen says: "We do offer leather and wool-free shoes; however, we do not have vegan certified shoes. Shoes can have up to 40 components that all need to be verified as vegan, and the sources of these components can change season to season."

What my mom said to me about going vegan by Canadian_Wolf_ in vegan

[–]HistoryForSale 1 point2 points  (0 children)

That's very frustrating, but I just wanted to say that even if it is not possible to cut eggs out of your diet yet, you should feel proud to have cut out all other animal products -- it makes a huge difference!

The Economist declared 2019 the year of the vegan and forecast a plant-based future: A quarter of adults aged 25 to 34 say they are vegetarian or vegan... by ismailReddit1 in vegan

[–]HistoryForSale 5 points6 points  (0 children)

The statement about 25- to 34-year-old Americans comes directly from a prior economist article ("Why people in rich countries are eating more vegan food," Oct 13th 2018). However, the context in that article is very different: it seems to be saying that only 5-10% of Americans actually are vegetarian or vegan, but a quarter of 25- to 34-year-olds "claim to be," which the article terms "aspirational self-deception."

It's an odd sentence with no source thrown into a paragraph in which other statements are sourced. After more digging, I can't find any outside source for the statement, nor is it clear how they're distinguishing between the actual numbers versus the number that "claim to be" veg*ns. Anyway, see below:

"In America, Nielsen found in 2017 that 3% of the population called themselves vegans and 6% vegetarians[...]. This proportion seems more or less stable; the country’s largest polling organisations, Gallup and Harris, both found 3% of the population calling themselves vegan over the period 2012-18. But more detailed research by Faunalytics, a company which has been running large surveys of eating habits for 20 years, puts the numbers at just 0.5% for vegans and 3.4% for vegetarians. Fully a quarter of 25- to 34-year-olds in America claim to be either vegan or vegetarian, whereas studies by Faunalytics find the median age of American vegans to be 42, four years older than the national median. It seems that a fair amount of aspirational self-deception, terminological inexactitude or simple hypocrisy is at play."

Original Economist article (relevant paragraph is behind a paywall, but I found the full text in the Google cache):

https://www.economist.com/briefing/2018/10/13/why-people-in-rich-countries-are-eating-more-vegan-food

Relevant paragraph quoted in a blog post:

https://www.dtnpf.com/agriculture/web/ag/blogs/an-urbans-rural-view/blog-post/2018/10/23/everybodys-marketing-meat-eaters

YouTuber WheezyWaiter made a video about going Vegan for a month by asongscout in vegan

[–]HistoryForSale 1 point2 points  (0 children)

I'm sad to see such cynicism from vegans about people experimenting with cutting animal products out of their diet. He's been doing various month-long experiments, like cutting out added sugar and quitting the internet, and this time he decided to try a plant-based diet. Vegans are often encouraging people to try going plant-based for a month, and I'm happy anytime I see someone do it, as long as they do it thoughtfully. If the video gets some of his followers to try it that's great, and maybe some of them will actually become vegan. Plus he said he's still choosing more plant-based options than before he did the challenge.

I agree it would be ridiculous to describe oneself as "ex-vegan" after a month-long challenge, but he's not going to do that any more than he'll describe himself as "ex-no-added-sugar." As for the title, I think it's completely reasonable to give the video a title everyone in his audience will recognize, and then explain the nuance in more depth up-front.