• 0 Posts
  • 48 Comments
Joined 2 years ago
cake
Cake day: June 20th, 2023

help-circle
  • pixelpop3toPythonProgram hangs instead of exiting
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    7 days ago

    Actually I think it may be your get_entry() code. The try traps all non-numbers and restarts the loop for new entry. So like typing “exit” or an empty string or anything that’s not convertible to a number is being trapped by the raise and sent back for reentry. And anything that is a number can’t hit the break. Just my guess.


  • pixelpop3toPythonProgram hangs instead of exiting
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    7 days ago

    Nothing really sticks out. It could also be something about how the automated checker provides input (maybe it expects to not press enter or something and it’s stuck at input()… hard to say)

    I personally would install ruff and run “ruff check yourfile.py” and then later “ruff check --select=ALL yourfile.py” and read about everything it complains about.

    Google the error codes and find the description and discussion of each and why it is complaining, sometimes they’re not a big deal, sometimes they are aha moments. Ruff has a page discussing each warning and error

    https://docs.astral.sh/ruff/rules/



  • This is the what really matters here IMHO:

    “It’s not just that the top hypothesis they provide was the right one,” he said.

    "It’s that they provide another four, and all of them made sense.

    “And for one of them, we never thought about it, and we’re now working on that.”

    Plausible hypothesis generation is really helpful and if it hadn’t even occured to them it either means it came from someone else’s work that they had been unable to understand, distill or anticipate from their own knowledge of what others are doing in the field or that it is actually novel (in the way that all science is small progress building on the blocks of others).

    Either way hypothesis generation saves a lot of time and gave their lab a new idea.


  • pixelpop3toLinuxI'm done with Ubuntu
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    I have a general philosophy of reinstalling my systems from scratch every few months and honestly Ubuntu is among the easiest for that (Debian is close second, but corporate overlords freak the hell out)












  • pixelpop3toReddit Migration@kbin.socialWelcome Newbies!
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    2 years ago

    Kbin is essentially the same as Lemmy.

    I also would say I don’t think the graphic is correct about the way “all” works. I’m pretty sure “all” is content from all local and remote communities any local users have subscribed to (which is shaped both by local user activity by the federation graph that local and remote server admins control). Communities on servers that admins have defederated from will not appear in “all”.

    So… individual local users and admins shape the “all” feed. I don’t think there’s any way to get a global feed of all Lemmy activity.


  • Well, he is going to try to make a subscription Infinity.

    But I’ve already moved on to RedReader because the dev is fully on my wavelength. He got the accessibility exception and continues to openly trash Reddit in a very gentlemanly, polite way. His goal now is to diversify the app to non-Reddit sites before Reddit doesn’t need him as a PR shield. Hopefully he’s able to add Lemmy and kbin support soon.

    The RedReader app’s use of menus is… slightly different than apps I have used in the past but it has sort of grown on me. It has a, “yeah I can see why Stephan Hawking would have used this sort of thing” vibe, but at the same time it’s actually not tedious or difficult to use once you get the hang of it.