Hints are not displayed

Win 10 ver 1.83.0 hints are not displayed, can some extension be installed? I need them to be visible how to make sure that there were inscriptions in the place “—–“ As I see it rebooted ? yes Have you tried installing an extension ? yes an extension conflict? no (problem before installing extensions) One … Read more

Discord.py Reactions

My discord.py bot adds the role and emoji to the name when I react to the embed, but it doesn’t remove the role and emoji when I remove the reaction. My script: # Event when the user reacts to a message @bot.event async def on_reaction_add(reaction, user): if user.bot: return emoji = reaction.emoji if emoji in … Read more

Pyrogram – Sending videos

I’m trying to send videos via pyrogram, but every time I get the error pyrogram.errors.exceptions.bad_request_400.WebpageCurlFailed: Telegram says: [400 WEBPAGE_CURL_FAILED] – Telegram server could not fetch the provided URL (caused by “messages.SendMedia”) I tried with youtube videos links and with mp4 link, ex. https://www.youtube.com/watch?v=0I647GU3Jsc&pp=ygUHbmF0dXJhbA%3D%3D or https://server41.cherrycloud.net/DDL/ANIME/NarutoITA/Naruto_Ep_001_ITA.mp4 url = “” @client.on_message(filters.text) def send_video_from_url(c:Client, m:Message): c.send_video( m.chat.id, url … Read more

Whonix Workstation DNS fails to resolve some hostnames

I’m using WhonixGateway+WhonixWorkstation. From Workstation: ‘github.com’ resolves fine, ‘repo.packagist.org’ doesn’t resolve at all /etc/resolv.conf ## Copyright (C) 2012 – 2023 ENCRYPTED SUPPORT LP <[email protected]> ## See the file COPYING for copying conditions. #### meta start #### project Whonix #### category networking and dns #### description ## set <code>nameserver 10.152.152.10</code> ## This works different in Qubes-Whonix. … Read more

How to write a unit test with vitest for a function of type StackContext and check sns subscriptions

so basically mode code is like export function abc({ stack }: StackContext) { const myTopic = new sns.Topic(stack, ‘Topic’, { displayName: “hello_world”, topicName: envName(appName) }) if(env == stage){ myTopic.addSubscription( new subscriptions.EmailSubscription(“[email protected]”) ) myTopic.addSubscription( new subscriptions.EmailSubscription(“[email protected]”) )} const testingEnv = env.RANDOM_EMAIL if (testEnvironment){ myTopic.addSubscription(new subscriptions.EmailSubscription(testEnvironment)) } } how would I write unit tests with vitest for … Read more

What is generative AI and how does it work? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 18 hours ago. Improve this question What is generative AI and how does it work in society? I need help understanding … Read more

How can I revive this game?

My AS3 code: public class PHPConnect extends EventDispatcher { public static const DATA_LOADED:String = “phpLoaded”; public static const RETURN_XML:String = “returnXML”; public static const RETURN_VARS:String = “returnVars”; private var variables:URLVariables; private var request:URLRequest; private var loader:URLLoader; private var phpContent:Object; public function PHPConnect(param1:String, param2:String = “returnVars”) { var isActive:int; var vars:String = param1; var type:String = … Read more