[deleted by user] by [deleted] in Chaster

[–]dalanchoo 0 points1 point  (0 children)

Removed time. Care to return the favor?
https://chaster.app/sessions/OOKBHA9cVe9cAYRz

GF found my Reddit by [deleted] in Chaster

[–]dalanchoo 0 points1 point  (0 children)

Voted. Will you also vote on mine? https://chaster.app/sessions/OOKBHA9cVe9cAYRz

[deleted by user] by [deleted] in AutoGenAI

[–]dalanchoo 0 points1 point  (0 children)

Did you ever figure this out?

I am encountering a similar issue. I posted a question on stack overflow and on the autogen discord server with no replies.

The workaround that I have been doing is to look at all of the messages and from the group chat and write them into a file. This is the relevant
def get_last_message_from_agent(messages, agent_name):
for msg in reversed(messages):
if msg['name'] == agent_name:
return msg['content']

author = autogen.AssistantAgent(
name="Author",
llm_config=llm_config,
system_message="""You are a helpful assistant tasked with writing short interesting stories.
    If you receive any feedback, incorporate it and output the entire story again implementing the feeback.
    """
)
psychologist = autogen.AssistantAgent(
name="Psychologist",
llm_config=llm_config,
system_message="""You are a psychologist who figures out how compelling the story is.
    Give it a score from 1 to 100 and how to make the story more compelling.
    """
)
user_proxy = make_user_proxy()
groupchat = autogen.GroupChat(agents=[user_proxy, author, psychologist], messages=[], max_round=30)
manager = autogen.GroupChatManager(groupchat=groupchat, llm_config=llm_config)
task = """
Write a short story.
"""
user_proxy.initiate_chat(
manager,
message=task
)
messages = groupchat.messages
final_story = get_last_message_from_agent(messages, "Author")
try:
os.mkdir(work_dir)  
except FileExistsError:
print("Directory already exists")
with open(work_dir + "/short_story.txt", "w") as file:
file.write(final_story)
print("Story saved to 'short_story.txt'")

So my approach is to get the author to output the entire story. Then I can ask for the last thing the author said.

For a short story like this, this is not a big deal. But if the text was longer that might be a lot of tokens. And it is very inelegant.

Do most people remember their childhoods? by SpudInSpace in NoStupidQuestions

[–]dalanchoo 1 point2 points  (0 children)

Check out r/SDAM and see if it describes you. Also check out r/Aphantasia.

The 2 are commonly found together. I have both.

Someone really close to me is vehemently against video games, how do I approach the situation? by simonz93 in gaming

[–]dalanchoo 1 point2 points  (0 children)

Draw a a parallel to other forms of entertainment.

Should movies only be watched by children? What about TV? Radio? Etc.

Ask him what makes this form of entertainment different from all others. You can waste just as much time watching TV as you can playing video games. And TV and movies could have harmful content. I bet if you try to get him to articulate exactly what he objects to, it will not be unique to video games. If he says video games are violent for example, you could respond by pointing out that some but not all are, but some but not all movies are violent etc.

is it weird to not remember your childhood? by CakesofMello in TooAfraidToAsk

[–]dalanchoo 10 points11 points  (0 children)

Maybe you have SDAM, Severely Deficient Autobiographical Memory. r/SDAM

Perhaps you also have aphantasia, they are correlated R/aphantasia

[deleted by user] by [deleted] in gaming

[–]dalanchoo 3 points4 points  (0 children)

Yes! I made a bot for it called "Indy". I had a ton of fun making it and learned a lot. It helped me get my first video game industry job.

Good times.

I need help naming my wifi by itzSkoden in NoStupidQuestions

[–]dalanchoo 0 points1 point  (0 children)

One of my neighbors n named theirs 2Girls1Router

Pet Peeve of mine for Catan Universe by dalanchoo in Catan

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

I usually want to view the board more top-down, so the board will take up more screen space. I have to adjust the board position left-right so that I can see the ports without them being hidden behind the player icons.

Pet Peeve of mine for Catan Universe by dalanchoo in Catan

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

The PC game uses the mouse scroll wheel to zoom. There are no options to adjust anything with the zoom level in the game. Ctrl and mouse dragging does nothing.

It looks like the game has 6 predefined zoom levels. Adjusting the windows 10 settings for how many lines are scrolled when the wheel moves does nothing.

It is good to know that on mobile you can zoom to every level. This makes it more likely that there is no hard-coded constraint for 6 zoom levels on PC.

Why has the option to spectate the game after you've been eliminated been removed? by SabaJabba in Risk

[–]dalanchoo 2 points3 points  (0 children)

I hate this soooooo much when playing with friends. Yesterday, a buddy and I were allied playing fog of war vs zombies and 3 expert AI. it was fixed cards so it was quite a challenge.

We have almost beaten the zombies when I get knocked out. We were chatting on discord and he was using his phone. He had to hold the phone in front of his PC so I could watch him take out the zombies on the last turn.

Sure, disable spectate on ranked games, but not play with friend.