Skip Navigation
What are you looking forward to in 2024?
  • Honestly, nothing really. It feels like each year more fucked up things are happening, so I lost the positivity I had for the upcoming years.

    Don't get me wrong I am in a good place personally, but with all the stuff going on in the world it sometimes feel hard to believe it's gonna get better any time soon.

  • The State of Developer Ecosystem 2023
  • Nothing really surprising to me, but the burnout rate really worries me.

    Also having only 5% females in the field is a shame, would love to see that increased over the next decade.

  • The German government is working on an OSS "Sovereign Workplace"
  • But surprised by the backlash here, but I was thinking 21 century Germany.

    And in the last 20 years germany did not manage to do anything when it comes to digitalization. Hell, our schools still use overhead projectors.

  • The German government is working on an OSS "Sovereign Workplace"
  • But surprised by the backlash here, but I was thinking 21 century Germany.

    And in the last 20 years germany did not manage to do anything when it comes to digitalization. Hell, our schools still use overhead projectors.

  • The German government is working on an OSS "Sovereign Workplace"
  • I am curious how this will turn out. Germany is not known for state driven digital innovation and this is a huge project.

    Even though I am highly sceptic, I hope they finally manage to get something going because Germany and whole Europe needs more independence from US hyperscalers.

    I fear this will die in good old German bureaucracy though.

  • Tech workers - what did your IT Security team do that made your life hell and had no practical benefit?
  • Took away Admin rights, so everytime you wanted to install something or do something in general that requires higher privileges, we had to file a ticket in the helpdesk to get 10 minutes of Admin rights.

    The review of your request took sometimes up 3 days. Fun times for a software developer.

  • need help with some fundamentals of for loops. it looks like im so close to fully grasping grabbing an item out of a list, but not quite. examples below
  • Not sure how to help you with this, since that will change with what you want to archive in the loop. But maybe writing it in pseudo code might help:

    For each letter in the word

    for letter, position in enumerate(word):

    You want to check if your guess is the letter

    if letter == guess:

    If it is you want to add the letter to your display , exactly on the position it is in the original word

    display[position] = letter

    Does that kind of thinking help?

  • need help with some fundamentals of for loops. it looks like im so close to fully grasping grabbing an item out of a list, but not quite. examples below
  • I think the other guys have already explained it quite well, but here are some more goodies that might interest you.

    Your first attempt of filling the display is the more pythonic way in my opinion and it works, so instead of initializing an empty array and the filling it, just use display = ["_"]*word_length

    Also for evaluating if the guess is in the word, there is a very nice iterator called enumerate, that hands you two values, the index and the actual value of the item, so you can use it like this:

    for position, letter in enumerate(chosen_word):
        if letter == guess:
            display[position] = letter
    

    Also, to play the full game you want to surround your guessing part with a while loop, so you can keep guessing until you have found the word. For this you will have to create a list of characters that resemble your chosen_word. There are several ways to do so and I will try to explain some of them.

    Here we are using the unpacking asterisk, that unpacks each character of your string into an item in the list

    while (display != [*chosen_word]):
        guess = input("Guess a letter: ").lower()
    
        for position, letter in enumerate(chosen_word):
            if letter == guess:
                display[position] = letter
        print(display)
    

    Another way would be explicitly casting the string into a list with the list function like this:

    while (display != list(chosen_word)):
    

    Last but not least we could use something like list comprehension, which is seen as very pythonic but a bit weird to look at when you are not used to it.

    while (display != [letter for letter in chosen_word]):
    

    What this essentially does is the same as creating a for loop and filling a list like this, but more comprehensive:

    chosen_word_list = []
    for letter in chosen_word:
        chosen_word_list.append(letter)
    

    W3Schools has some nice info about list comprehension. It is a rather advanced concept though so don't let it bother you if you don't get it right away.

    Happy coding :)

  • What are your programming hot takes?
  • Disagree on this one, even though I can see where you are coming from. I first learnt programming in Java, and it gave me massive problems to understand the structure and typings. Obviously Java isn't the most beautiful language anyways, but once I picked up python it started to click for me on how to solve problems, because I didn't have to think about that many things. I could just go for it. Yes, my code was messy in the beginning, but I wasn't working on any important projects. It was just for fun.

    So I think learning how to solve problems is as important as writing clean code. And python really helped me with that.

  • How do/did you learn to play?
  • I am nowhere near playing on tournaments so take my advice with a grain of salt.

    Pick a main character (for now), does not matter if it is the best in the game but it should be at least B+ in the Tier list . It's more important that you feel comfortable with the character and have fun playing it than if its S Tier. Then go on YouTube and find out the basic and advanced combos for this character and practice them in practice mode until you can execute the almost without thinking

    Disclaimer, some characters do not really have a combo game while others just go bonkers in combos. For example Lucina is a good character without a crazy combo game. If you have a character like this the next step is even more important.

    Learn the spacing of you character, how to approach and how to keep control of center stage. Those are usually rather vague concept, but if you go into matches just thinking about one of them you will progress there.

    Lastly, watching more YouTube. Thereby you learn a lot of match ups, characters and their usual habits without playing yourself on hours in crappy wifi. I can recommend poppt1 as one of my favorite, who also has a series where he picks up different characters to learn them for tournaments.

    Good luck, have fun

  • Join amathenedit, a fun little game to make OP look bad

    How it works:

    • OP makes an AmA like post
    • People ask questions,
    • OP answers,
    • Asker edits question, -> Big fun :)

    Links:

    amathenedit

    !lemmy.world@amathenedit

    https://lemmy.world/c/amathenedit

    Come over and enjoy some stupidity

    2
    EarthPorn @lemmy.ml Herrmens @lemmy.world
    [OC] Kvalvika Beach, Lofoten, Norway 4000x3000
    0
    EarthPorn @lemmy.ml Herrmens @lemmy.world
    [OC] Årbostadtinden seen from Salangen, Norway 4000x3000
    0
    What are some examples of modest dictators in history?
  • In Jugoslavia most people saw Tito as a benevolent dictator. Once he died Jugoslavia fell apart. Obviously the history behind it is a bit more complex, but most people I have talked to in those countries saw him as a "good leader" that lead the country in a direction the people appreciated. Propaganda still played a big role in it and people with more historical knowledge will be able to comment a bit better in this topic. But he is the only one who comes to my mind.

  • 5 Tips to Help You Get Started with Coding
  • As much as I like the idea of pointing newcomers into the right direction, post says basically nothing at all. All 5 points can be used for literally everything not specific to coding really.

    Coding and CS in general has become so huge that finding a place to start can be very overwhelming, so just linking some resources won't do the trick.

    A beginner should ask himself "what do I like to do" which then would point into a direction of what programming language to use. E.g. "I want to automate my daily tasks" would point towards python. Whereas "I want to make own game' would point towards the unity world and C#. "I want to make my own website" to javascript. And obviously "I want to write almost unreadable loads of boilerplate code" would be java.

    From then on your resources could make sense to explore.

    Also "talk to people" is easier said then done. Most people not in a programmer bubble don't even have the access, so linking to programming communities would be nice.

    Hope my 2 cents help to make it a bit more concrete

  • Reine, Lofoten, Norway, 2016 [OC]
  • This year really was horrible up until mid June I would say. So much that even the farmers can see it in their first harvesting season, it's way worse than the last year's because most of the fields were under water. Sorry you got the wrong end of it. But even if the forecast ist supposed to be good it can all change really quickly up here. Still amazing to visit :)

  • Competitive scene on Lemmy

    I just arrived here and was wondering if there is a space to talk about competitive pokemon similar to what r/stunfisk is?

    0
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)HE
    Herrmens @lemmy.world
    Posts 4
    Comments 19