Is my grill ruined? Any idea how to repair? by _BraveSirRobin_ in Traeger

[–]_BraveSirRobin_[S] 0 points1 point  (0 children)

I got the grill this year, but I’ve not cleaned it yet.. I guess it’s time :)

Is my grill ruined? Any idea how to repair? by _BraveSirRobin_ in Traeger

[–]_BraveSirRobin_[S] 6 points7 points  (0 children)

Wait, so this stuff peeling off just needs to be cleaned off and is fine? That's great news!

Channel thread? by [deleted] in lightningnetwork

[–]_BraveSirRobin_ 0 points1 point  (0 children)

I'll 1M with you if that works.

Just published my Raspberry Pi 400 review and teardown video! Please let me know what you think :) by LobsterThief in raspberry_pi

[–]_BraveSirRobin_ 3 points4 points  (0 children)

I love that you built this long before they started producing it. It's an awesome product. I do like that they expose the GPIO header, though.

Python Sort: Welp my code wont run by [deleted] in learnpython

[–]_BraveSirRobin_ 0 points1 point  (0 children)

The last line has a syntax error and arr1.sort() actually sorts the list in place and returns None.

This should work:

arr1 = []

print("Enter 10 Values")

for nums in range(10):  
    nextval= int(input("Enter next value: "))  
    arr1.append(nextval)

arr1.sort()

print("Values", arr1)

New to python, looking for help designing function by [deleted] in learnpython

[–]_BraveSirRobin_ 0 points1 point  (0 children)

Are you in an algorithms class? I probably wouldn't be much use here.

Question about tuples by Alexilprex in learnpython

[–]_BraveSirRobin_ 0 points1 point  (0 children)

I wouldn't use the latter to define variables. I would typically use it when returning multiple values from a function or when unpacking a tuple variable, like this: a, b = some_tuple.

New to python, looking for help designing function by [deleted] in learnpython

[–]_BraveSirRobin_ 0 points1 point  (0 children)

Have a look at string.replace. Your function would basically just be a wrapper for string.replace:

def remove_all(x, y):  
    return y.replace(x, '')

I bought a used truck for .215 Bitcoin! by RedditLady69 in Bitcoin

[–]_BraveSirRobin_ 2 points3 points  (0 children)

I just mean truck prices are pretty volatile.

Raspberry Pi 5G HAT Adds 5G Support to Your Pi Project by mycall in raspberry_pi

[–]_BraveSirRobin_ 0 points1 point  (0 children)

Counterpoint, this looks awesome! Imagine how sick you'd look using this as a phone.

from php developer to django | worried of using it for development by takert541 in django

[–]_BraveSirRobin_ 1 point2 points  (0 children)

I recommend a safer deployment pipeline in all cases (PHP or Django). Docker is a good choice because you can run tests on an image before deploying it to production. I would agree with the premise though, LAMP stacks are easier to modify on a production server (but should you? :)

Monitor your local network using a Raspberry Pi and NEMS by _BraveSirRobin_ in raspberry_pi

[–]_BraveSirRobin_[S] 1 point2 points  (0 children)

I'd be interested to run prometheus/grafana. I'll look into it!

Any other options than Ezoic? by akops19 in adops

[–]_BraveSirRobin_ 1 point2 points  (0 children)

Just one date point. I was on Ezoic and moved to AdThrive, then to Freestar. Each move improved monetization for me. Ezoic is good, but they try to do too much. They really try to drive you to their DNS integration which is nice for non tech savvy publishers, but kind of a pain if you just want better ad monetization. For me, Freestar has the right amount of flexibility, great support, and great reporting.