• 0 Posts
  • 43 Comments
Joined 1 year ago
cake
Cake day: September 27th, 2023

help-circle
  • Mirodir@discuss.tchncs.detoProgrammer Humor@programming.devSus
    link
    fedilink
    arrow-up
    110
    arrow-down
    1
    ·
    edit-2
    7 days ago

    Sure. You have to solve it from inside out:

    • not()…See comment below for this one, I was tricked is a base function that negates what’s inside (turning True to False and vice versa) giving it no parameter returns “True” (because no parameter counts as False)
    • str(x) turns x into a string, in this case it turns the boolean True into the text string ‘True’
    • min(x) returns the minimal element of an iterable. In this case the character ‘T’ because capital letters come before non-capital letters, otherwise it would return ‘e’ (I’m not entirely sure if it uses unicode, ascii or something else to compare characters, but usually capitals have a lower value than non-capitals and otherwise in alphabetical order ascending)
    • ord(x) returns the unicode number of x, in this case turning ‘T’ into the integer 84
    • range(x) creates an iterable from 0 to x (non-inclusive), in this case you can think of it as the list [0, 1, 2, …82, 83] (it’s technically an object of type range but details…)
    • sum(x) sums up all elements of a list, summing all numbers between 0 and 84 (non-inclusive) is 3486
    • chr(x) is the inverse of ord(x) and returns the character at position x, which, you guessed it, is ‘ඞ’ at position 3486.

    The huge coincidental part is that ඞ lies at a position that can be reached by a cumulative sum of integers between 0 and a given integer. From there on it’s only a question of finding a way to feed that integer into chr(sum(range(x)))



  • after leaving can’t join another for a year

    Can you fix this? There was enough misinformation floating around about this already when this feature went into beta.

    Adults can leave a family at any time, however, they will need to wait 1 year from when they joined the previous family to create or join a new family.

    it should say something like: “After joining, can’t join another for a year”


  • When were talking about teaching kids the alphabet we need to train both individual and applied letters

    This is only slightly related but I once met a young (USAmerican) adult who thought the stripy horse animal’s name was pronounced zed-bra in British English and it was really hard to convince her otherwise. In her mind zebra was strongly connected to Z-bra, so of course if someone was to pronounce the letter “zed” it would turn into “zed-bra” and not just into “zeh-bra”.





  • Reading this comment gave me the idea to get Gemini’s “opinion”. Ironically, it turns out Google might’ve actually done better if they did that.

    AI conversation

    Prompt:

    I design ads for Google as a living and was charged with writing an ad for you (Gemini) to be aired during ad breaks at the Olympics .
    My current idea is as follows:
    A father wants to help his daughter write a letter to her idol, Olympic track star Sydney McLaughlin-Levrone. In a voiceover, the dad says his daughter “might even be the world’s No. 1 Sydney fan.” In the add he will ask you, Gemini, to “help my daughter write a letter telling Sydney how inspiring she is and be sure to mention that my daughter plans on breaking her world record one day. (She says sorry, not sorry.)”
    What do you think of this idea?

    Gemini output (emphasis mine):

    Evaluation of the Ad Idea
    The concept of using Gemini to help a young fan write a letter to her idol is heartwarming and relatable. It aligns well with the aspirational and inspiring tone of the Olympics.
    However, there are a few points to consider:
    Potential Issues
    Overemphasis on competition: The line “She says sorry, not sorry” might come across as overly competitive, which could potentially alienate viewers.
    Dependence on AI: While showcasing Gemini’s capabilities, it’s important to maintain a balance. Over-reliance on AI to write the letter might diminish the authenticity and emotional impact of the story.
    Target audience: Consider the target audience for the Olympics. While the story is heartwarming, it might resonate more with a family audience than with core sports fans.
    Suggestions
    Focus on inspiration: Instead of emphasizing competition, focus on the inspiring qualities of Sydney McLaughlin-Levrone and how she motivates the young girl.
    Highlight human connection: Emphasize the bond between the father and daughter and how they are using Gemini as a tool to connect with their idol.
    Visual storytelling: Use strong visuals to capture the emotion and excitement of the story. Show the girl’s admiration for Sydney, the father’s support, and the magic of Gemini helping them craft the perfect letter.
    Overall, the idea has potential, but refining the focus and execution can elevate the ad’s impact.
    Would you like to explore some alternative approaches or focus on developing the concept further?


  • It’s a bit of a weird article indeed. I also fully disagree with the author’s notion that reading a VN is faster than watching the anime equivalent. And I say this as someone who enjoys reading VNs every now and then. If I wanted to optimize the story/spent minute ratio I would just watch an anime or even better, read a manga.

    Overall I hope the article can push a few people who were on the fence to the try reading a VN to finally do so. I doubt it’ll affect anyone who was not very interested already. Likewise it also won’t do much for people who already took the plunge.

    Also I think DDLC isn’t a good starter VN at all. All the meta stuff will be lost on the reader and the time before the twist is a real slog that might easily turn people off VNs forever. I would argue the only reason it worked is because streamers had their chats pressure them into continuing and “normal people” had friends who told them the same.





  • I’d argue that with their definition of bots as “a software application that runs automated tasks over the internet” and later their definition of download bots as “Download bots are automated programs that can be used to automatically download software or mobile apps.”, automated software updates could absolutely be counted as bot activity by them.

    Of course, if they count it as such, the traffic generated that way would fall into the 17.3% “good bot” traffic and not in the 30.2% “bad bot” traffic.

    Looking at their report, without digging too deep into it, I also find it concerning that they seem to use “internet traffic” and “website traffic” interchangeably.


  • There are quite a few other roguelike (or roguelike adjacient) games that do beat it handily. To give a few examples:

    DF started development in October 2002 (according to their own website, scroll all the way down.)

    UnReal World’s first release was in 1992 and is also still getting regular updates.

    NetHack has gotten new versions ever since 1987. The latest big change was 3.6.0 in 2015, 3.6.7 came out in early 2023 but there’s no reason to believe there won’t be a next version. If we count that in 1987 it started as a fork of Hack, we could even add another 3 years in the front as Hack was published in 1984.

    Edit: I just realized: In the world of MMORPGs we also have a few examples: Everquest which came out in 2000 and is still getting expansions. Even WoW isn’t too far behind with a 2004 release date, which probably means development began before DF’s development too.



  • I’m pretty sure this was already the case in some games before, depending on the netcode of the game.

    The old FAQ said:

    What if a borrower is caught cheating or committing fraud while playing my shared games? Your Family Sharing privileges may be revoked and your account may also be VAC banned if a borrower cheats or commits fraud. In addition, not all VAC protected games are shareable. We recommend you only authorize familiar Steam Accounts and familiar computers you know to be secure. And as always, never give your password to anyone.

    If it’s a game with VAC it probably always worked as described above, but for example: People in Fall Guys did use this trick to avoid getting banned for cheating until they turned off Family Share for Fall Guys shortly after release.


  • The one year period of waiting after leaving one seems excessive.

    It’s slightly better than that for the person who leaves. It’s a one year period starting the moment they joined the previous one. So if you’ve been part of a family for 1+ years you can join/create a new one right away.

    The slot you occupied however does stay locked for an additional year.

    I also have my current setup with found family and as I live close to a country border I cannot switch over properly as I have members on both sides of the border. I understand their intent is “same household”, so I do understand why this is the case, still sucks for me though.

    I hope they have good separation of the logical family and the physical pc’s, It’s really annoying to resetup stuff with my partner every time one of us installs a different linux distro.

    After toying around in the beta, this seems to not be an issue anymore as they seem to actually go off accounts now and not hardware anymore. It was quite frustrating in the old system though.


  • Without knowing any specifics of the TOS or the exact setup beyond what I could gather in this thread: generally speaking they could still send you a bill through email or otherwise.

    After that, if you’re not paying up, they might be able to successfully get the money out of you through court regardless, depending on a few factors. What’s more likely for smaller sums is that they’ll just drop it and ban you though.

    IANAL of course.



  • I think the humor is meant to be in the juxtaposition between “reference” in media contexts (e.g. “I am your father”) and “reference” in programming contexts and applying the latter context to the former one.

    What does “I’m your father” mean if the movie is jaws?

    I think the absurdity of that question is part of said humor. That being said, I didn’t find it funny either.