1
8
brie

@beehaw.org

brie 6 points 3 years ago
Guess

Kerbal Space Program?

path: 0 182920 183292, hotness: undefined, score: 6, children: 4
brie 5 points 3 years ago

It has the same plugin system, but they pull from Open VSX rather than Microsoft's extension marketplace. If there's an extension not available there, you can still download it from Microsoft's marketplace and then add it manually.

path: 0 30490 30768 37760, hotness: undefined, score: 5, children: 2
brie 5 points 3 years ago

As a fellow mostly-lurker, this is also how I felt about downvotes. For me I think it was also because of the concept of having a karma score for the account as a whole, rather only on individual comments.

path: 0 59072 59366, hotness: undefined, score: 5, children: 0
brie 4 points 3 years ago

For searching web archives, there's the Web Archives addon (GPLv3). It just opens a search page though, and doesn't have the ability to automatically archive.

For userscripts I use Violentmonkey (MIT).

path: 0 234 12886, hotness: undefined, score: 4, children: 1
brie 3 points 3 years ago

Oops. Hopefully it helps others though!

path: 0 18027 18433 18487, hotness: undefined, score: 3, children: 0
brie 2 points 3 years ago

Bad segments are definitely a problem. At least for the channels I watch, the sponsor segments tend to be well done, but for other categories there's often weird segments. Manual skip is still quite useful though.

path: 0 5839 5840 12923, hotness: undefined, score: 2, children: 0
brie 2 points 3 years ago

Shoot and build, capture intel.

Hint

The intel has returned to the heavens.

path: 0 183177, hotness: undefined, score: 2, children: 0
brie 2 points 3 years ago

That's actually pretty good for a beginner.

Some tips (take with a grain of salt since some are just personal preference):

Make collatz take a number, and parse the number outside the loop, which also avoids needing to repeat the conversion to int. It also means that you can remove the try-catch from inside collatz, since the only place a ValueError is expected is the conversion to int.

def collatz(number):
    ...

number = None # Declare number to give it the correct scope
while True:
    try:
        number = int(input('Type in a positive integer: '))
        break
    except ValueError:
        print("Input could not be parsed")

print(collatz(number))

Avoid commenting what your code does, and instead focus on getting across the intent, like how you commented that int(number) % 2 == 0 is a check for even numbers. It is fine to leave out comments for pieces of code that are truly self explanatory.

The elif condition can be replaced with just else, since it will only be run if the if condition is false.

Format with Black, it makes things look nicer without having to deal with manual formatting.

path: 0 18027, hotness: undefined, score: 2, children: 2

thanks for using Leebra!

go to feed...