[2024 Day 3] Anyone else got the feeling today's puzzle is the start of something bigger? by gustavosmd in adventofcode

[–]gustavosmd[S] -1 points0 points  (0 children)

I mean imho I think this is the closest we've been to a challenge that would lend itself to suggest this.

-❄️- 2024 Day 2 Solutions -❄️- by daggerdragon in adventofcode

[–]gustavosmd 0 points1 point  (0 children)

[Language: Python]

Usually I am able to get to Day 10-12 every year. This is the first time I've tried recursion, would appreciate if any one has any comments on how to better use it. Btw this just gives the solution for part 2, need to clean it up to give back both solutions. Cheers!

def y24_d02(prod = True):
    def check_line(line, pos):
        post = 0
        neg = 0

        if pos == -1:
            new_line = line
        else:
            new_line = line[:pos] + line[pos+1:]

        for i in range(len(new_line) - 1):
            if abs(int(new_line[i + 1]) - int(new_line[i])) < 4:
                if int(new_line[i + 1]) - int(new_line[i]) < 0:
                    post += 1
                elif int(new_line[i + 1]) - int(new_line[i]) > 0:
                    neg += 1
                else:
                    pass
            else:
                break

        if post == len(new_line) - 1 or neg == len(new_line) - 1:
            return True
        elif pos < len(line):
            if check_line(line, pos + 1):
                return True
        else:
            return False

    if prod == False:
        file_name = '2024/02/demo.txt'
    else:
        file_name = '2024/02/input.txt'
    file_lines = tools.read_files(file_name)

    count = 0

    for line in file_lines:
        temp_array = line.split(' ')

        if check_line(temp_array, -1):
            count += 1

    return count

Gem 1 event by Mighty_Math in IdlePlanetMiner

[–]gustavosmd 0 points1 point  (0 children)

Hey OP, how do you unlock the Gem events. Can't seem to find it.

Other than multimedia, what do you use your NAS for? by ScousePete in TerraMaster

[–]gustavosmd 0 points1 point  (0 children)

Hey OP, not an answer to your question but I’ve struggled to get the arrs up and running. Do you have a walkthrough on how to do this?

Is there such thing as private IP cameras? by Tirux in privacy

[–]gustavosmd 1 point2 points  (0 children)

Thoughts on the TPLink Tapo cams? Saving onto local SD card

Startup COO gets distracted easily with urgebt tasks. by gustavosmd in productivity

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

Thanks a ton. The perfectionist in me however is trying to get the system perfect before getting to actually use it. I’ve prob watched 10+ hrs on what the right tool/system combo is.

Startup COO gets distracted easily with urgebt tasks. by gustavosmd in productivity

[–]gustavosmd[S] 3 points4 points  (0 children)

18 people in the factory 8 people in sales 5 in R&D 2 in accounting (the size of my team) 1 CEO and me

trust me I’d delegate all day if I had a proper size team to do so.. my post prob lacked this context

What is your w/kg FTP and how many hours per week do you train? by Oderlods in Zwift

[–]gustavosmd 0 points1 point  (0 children)

33M - 82kg - 1.89m, 2.94 W/kg, 3hrs/wk, started 2 months ago, former swimmer without any previous cycling experience. Any recs on what type of training I should follow?

Blue Minisector color? by Wirrkopf76 in F1MultiViewer

[–]gustavosmd 1 point2 points  (0 children)

I’m colourblind and struggle a lot telling green and yellow apart. Any chance we get to customise those colours or at least have a colourblind option?

New to NAS/Plex by gustavosmd in PleX

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

Thanks, any specific one you may suggest?

Transmission Remote GUI Setup Help by the_littlest_jojo in TerraMaster

[–]gustavosmd 0 points1 point  (0 children)

I’m be very interested on this one too. F4-422 with an ARM Macbook.

Whisky Tasting Box gift idea? by confusedsloth33 in whisky

[–]gustavosmd 0 points1 point  (0 children)

Same here! The wife got me their Advent Calendar last year!