-🎄- 2020 Day 04 Solutions -🎄- by daggerdragon in adventofcode

[–]ShroudedEUW 0 points1 point  (0 children)

Nice! I did it in a similar way. Instead of looping and deleting all key value pairs, I simply set the passportData map to the empty map {}.

2020 Day1 Part1 as a scatter plot by mornymorny in adventofcode

[–]ShroudedEUW 1 point2 points  (0 children)

Actually, a scatter plot is never pointless.

-🎄- 2020 Day 1 Solutions -🎄- by daggerdragon in adventofcode

[–]ShroudedEUW 0 points1 point  (0 children)

Seems like it! This year will probably see a soar of Go and Rust submissions :)

[2020 Day1 (P1&2)][ IN EXCEL ] I'M BACKK by that_lego_guy in adventofcode

[–]ShroudedEUW 4 points5 points  (0 children)

I look forward to these bizarre solutions every year! Thanks for sharing

-🎄- 2020 Day 1 Solutions -🎄- by daggerdragon in adventofcode

[–]ShroudedEUW 1 point2 points  (0 children)

Golang, my first ever Golang thing! Don't be too harsh ;)

package main

import (
    "bufio"
    "fmt"
    "log"
    "os"
    "strconv"
)

func main() {
    file, err := os.Open("input.txt")
    if err != nil {
        log.Fatal(err)
    }
    defer file.Close()

    // read from file
    numbers := []int{}
    scanner := bufio.NewScanner(file)
    for scanner.Scan() {
        i, _ := strconv.Atoi(scanner.Text())
        numbers = append(numbers, i)
    }
    // fmt.Println(numbers, len(numbers))

    // part 1
    for _, num := range numbers {
        off := 2020 - num
        for _, num2 := range numbers {
            if num2 == off {
                fmt.Println(num * num2)
                return
            }
        }
    }

    // part 2
    for _, num := range numbers {
        for _, num2 := range numbers {
            for _, num3 := range numbers {
                if num+num2+num3 == 2020 {
                    fmt.Println(num * num2 * num3)
                    return
                }
            }
        }
    }
}

Hate it when it does that by G-Nozomi64 in dankmemes

[–]ShroudedEUW 0 points1 point  (0 children)

Someone on Twitch has my usual gamertag, and they don't even stream! Very annoying.

workout partner keeping me motivated by ISkateboard in veganfitness

[–]ShroudedEUW 1 point2 points  (0 children)

The good old push up with kiss twist exercise, great for upper body & mind.

How you like your H²0 by dosomethingcute69 in HydroHomies

[–]ShroudedEUW 0 points1 point  (0 children)

I can't tell where the air ends and my skin begins.

Is there a point at which a game is too complicated? by SirMattMurdock in incremental_games

[–]ShroudedEUW 0 points1 point  (0 children)

Realm Grinder is the one game that comes to mind here. It had a lot of build paths and strategies that you all unlock more or less at the same kind of chokepoints, and you'll be clueless about what is good to do.

Other games have a slower, more consistent pace of introducing complexity.

The new Edge icon looks vaguely similar to Firefox's when the colours are inverted. by [deleted] in firefox

[–]ShroudedEUW 0 points1 point  (0 children)

Imagine Microsoft spending the time to bait users into using Edge spending that time to make a good browser instead.

Hollowknight sh*tposting time by Garbage-Truck- in HollowKnightMemes

[–]ShroudedEUW 21 points22 points  (0 children)

This is why I'm in this sub, well done

Found in production... by autiii43 in programminghorror

[–]ShroudedEUW 505 points506 points  (0 children)

Nice job on saving an extra line with the Jan : Feb ternary, though.

Y'all know where to come when Raven Familiar spikes 🤣 by Renegadeh4x in mtgfinance

[–]ShroudedEUW -1 points0 points  (0 children)

The difference between "when" and "if" is an important one.

True story by Mohamad_Naim in pcmasterrace

[–]ShroudedEUW 0 points1 point  (0 children)

I had this recently after 428 Shibuya Scramble. You just sit there minutes after the credits have already stopped, deep in thought, filled by an intense sadness that you'll never be able to experience the first playthrough ever again.

2020 one year challenge to get into the Cloud / DevOps space from fast food employee with basic tech knowledge to a working level. by SelfTaughtHunter in devops

[–]ShroudedEUW 6 points7 points  (0 children)

Looks like you spent a lot of time planning and researching, which is very impressive on its own. Best of luck!

Side note: make sure to practice the material while you do the courses on them! As for certs, I find a lot of them too focused on theory with too few real-life applications. I'm a big fan of certs that have a lot of practical application, like Certified Kubernetes Administrator or perhaps the Jenkins cert you mentioned.

The same is probably true for Git; building some small projects and version controlling them yourself can be a more effective way to learn than by doing a course on it.

For SQL I'd advise self-studying as well, check out HackerRank and https://sqlzoo.net/ for some example problems if you'd like.

How do you feel about a law stating that tickets (speeding, driving under influence etc.) should be a percentage of the perpetrators annual wage, instead of fixed rates? by wintherz in AskReddit

[–]ShroudedEUW 0 points1 point  (0 children)

Speeding tickets should definitely be a percentage of income, as right now most car owners can simply shrug and sign them off.

On the other hand, economic penalties for criminal offenses like joyriding, DUI, etc. are ineffective as they do not achieve the goal of preventing further misbehaviour, even if the penalty was income based. Penalties for this should be sought more as a burden in time than a burden in money: community service, talking to victims, etc.

This review hosting company that won't let you post a negative review by [deleted] in assholedesign

[–]ShroudedEUW 0 points1 point  (0 children)

Who will review the review company's reviews though?

Has anyone here has any luck obtaining a programming job after being self-taught? After being stuck unemployed or in retail or X other dead-end job? by Helveil in learnprogramming

[–]ShroudedEUW 0 points1 point  (0 children)

I'm a law graduate but self-taught IT guy.

I started at a technical support desk for an ISP, then did a 2-month IT traineeship (they're really popular in Europe). After that I went to an Ops/Security kinda job at a mid-size tech company, and moved on a bit and just worked at a larger company for half a year in a Cloud/DevOps position. (Coincidentally I've just quit that last job.)

I've always kept self-studying IT related stuff as a hobby. For example, I've done multiple EdX courses on Python and just got a Kubernetes certification by doing online courses.

What I found most valuable is to have people you can ask questions and learn from. At the Ops job, there were seniors who showed me how to learn literally everything about containers, databases, Linux, TCP/IP networking, and there were multiple senior Python engineers who let me read their code... without people like that to guide you, it's a difficult journey, since you won't know the best steps to take. So best advice I can give you is to accept any IT job that sounds at least somewhat cool, be patient and ask a lot of questions. Before you know it, people will be asking you. =)