SpeakinTelnet

joined 2 years ago
[–] SpeakinTelnet 230 points 6 months ago* (last edited 6 months ago) (2 children)

tar -h

Edit: wtf... It's actually tar -?. I'm so disappointed

[–] SpeakinTelnet 3 points 6 months ago

I get where you're coming from but I'll just say most fruits and vegetables already don't have any stickers on them here (Canada) and people have been surviving fine. The only time I see a sticker is when it's bundled in a pack.

If someone struggle that much he usually goes to a cashier instead of the self-checkout.

[–] SpeakinTelnet 6 points 6 months ago (2 children)

4770, most cashiers knows that code by heart

[–] SpeakinTelnet 12 points 6 months ago (1 children)

There you go:

# Start an infinite loop because True will always be True
while True: 
    # try to run the main function, usually where everything happens
    try:
        main()
    # in the case an exception is raised in the main function simply discard (pass) and restart the loop
    except:
        pass
[–] SpeakinTelnet 15 points 6 months ago (1 children)

For those curious about the drama & lack of wide adoption surrounding the walrus operator

https://dev.to/renegadecoder94/the-controversy-behind-the-walrus-operator-in-python-4k4e

It's a shame because it's a really nice feature.

[–] SpeakinTelnet 2 points 6 months ago

I started using hatch lately and really like how I can manage everything from the pyproject.toml file

https://github.com/pypa/hatch

[–] SpeakinTelnet 57 points 6 months ago (9 children)

My secret to high uptime:

while True:
    try:
        main()
    except:
        pass
[–] SpeakinTelnet 9 points 6 months ago (1 children)

Edit: something that are not arm based

You want pre-built to run ollama, that's at least gonna cost you an arm, maybe even a leg.

[–] SpeakinTelnet 10 points 6 months ago

I use those on server hardware that don't have onboard graphics from which I need more than simple CLI. Also useful if you have an HDMI KVM and only VGA output.

[–] SpeakinTelnet 4 points 6 months ago

Bunker fuel burns clean I swear!

[–] SpeakinTelnet 3 points 6 months ago (1 children)

Easy enough that I could get the car to pass the provincial inspection roughly a month after I got it. How long did it took you to get that Audi S2 road legal?

view more: ‹ prev next ›