SpeakinTelnet

joined 1 year ago
[–] [email protected] 3 points 3 weeks 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.

[–] [email protected] 6 points 3 weeks ago (2 children)

4770, most cashiers knows that code by heart

[–] [email protected] 12 points 3 weeks 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
[–] [email protected] 15 points 3 weeks 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.

[–] [email protected] 2 points 3 weeks ago

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

https://github.com/pypa/hatch

[–] [email protected] 55 points 3 weeks ago (9 children)

My secret to high uptime:

while True:
    try:
        main()
    except:
        pass
[–] [email protected] 9 points 3 weeks 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.

[–] [email protected] 9 points 4 weeks 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.

[–] [email protected] 4 points 1 month ago

Bunker fuel burns clean I swear!

[–] [email protected] 3 points 1 month 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?

[–] [email protected] 1 points 1 month ago (3 children)

A lot of the kei trucks and cars have a Suzuki F6A or K6A engine that was also used in some artic cat snowmobile. That kind of commonality makes it easy enough to find parts. Worst case scenario it is a 2 weeks wait time to get the part delivered from Japan. You know what took me more than 2 weeks to get some parts? A 2015 VW golf.

view more: ‹ prev next ›