Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
1 answer
69 views

I'm new in Typescript and building Typescript library, but I got a problem: I created a library say, @my-lib/my-first-lib. I created another library say, @my-lib/my-second-lib which depends on @my-...
Hodol's user avatar
  • 65
0 votes
2 answers
113 views

I want to write a library (a module) in Python for logging. The logger instance should be unique per process and global per process. (Meaning that it should not be passed around as an argument to ...
user2138149's user avatar
  • 18.6k
0 votes
1 answer
81 views

I've got an Ansible playbook I'm using to do SNMP user operations on FortiGates using the with_subelements module. I tried using a loop, but that was exhibiting some very bizarre behavior (outlined in ...
Jeremy D's user avatar
0 votes
1 answer
44 views

This question has been asked many times, here are a few for reference: Reimport a module while interactive Proper way to reload a python module from the console How to reload a module's function ...
Shayan's user avatar
  • 886
1 vote
0 answers
119 views

Here is the code: // A.cppm export module AMOD; export class A { public: virtual ~A() = default; virtual foo() = 0; }; // B.cppm export module BMOD; import AMOD; export class B : public A { ...
Grinlex's user avatar
  • 23
0 votes
1 answer
74 views

I have a React Native application where I need to find a specific file, DataXYZ.txt, when an external USB device is connected and be able to share it. Since, to my knowledge, React Native does not ...
Yuriy Proniagin's user avatar
0 votes
0 answers
23 views

I created a react web component (r2wc/react-to-web-component). The component is hosted on vercel under https://<my-project-name>.vercel.app/assets/js/widget.js. I try to embed the .js module via ...
smaica's user avatar
  • 825
8 votes
0 answers
279 views

I stumbled upon the image processing libraries from https://github.com/nothings/stb/ and as I experiment with C++ modules I tried to use stb_image.h "as module". For this I wrote a small ...
Gregor Grunz's user avatar
0 votes
1 answer
89 views

Problem I'm working on a Python project with the following structure: apx-cv/ ├── utils/ │ └── custom_object_functions.py │ └── utils.py ├── models/ │ └── sample_configurations.py └── test/ └...
Yash Kumar's user avatar
0 votes
0 answers
42 views

I am trying to download a module. It worked before but 2 weeks ago it gave me an error, and I can't install it again... I tried using the command: conda install -c conda-forge montreal-forced-aligner ...
nassima.crt's user avatar
2 votes
1 answer
78 views

I have created a PowerShell cmdlet in C#: using System.Management.Automation; using thosepeskyexternalclasses [Cmdlet(VerbsCommon.Get, "GetActivity", SupportsTransactions = false)] public ...
William Holmes's user avatar
0 votes
0 answers
32 views

<?php use Drupal\node\Entity\Node; /** * Implements hook_preprocess_page(). */ function alternative_title_preprocess_page(&$variables) { // Check if the current route contains a node. ...
svenjaleo's user avatar
0 votes
1 answer
240 views

Sometimes when I'm modifying some projects I get old modules leftovers, like when trying to sync my project I get this error: It has issues when syncing my gradle project because of an old module ...
Francisco Solis's user avatar
0 votes
1 answer
93 views

I have a problem in preparing a simple module that displays the word TEST both in the admin panel and on the user's side after accessing his account Module structure: [1]: https://i.sstatic.net/...
Fruitcake_Gary's user avatar
0 votes
0 answers
97 views

I have objc project https://github.com/facebookincubator/SocketRocket which I forked and adding SPM support. I create Package.swift: let package = Package( name: "SocketRocket", ...
ex4mpl3's user avatar
0 votes
0 answers
58 views

Resource of CalHeatmap not found when testing app in Electron. I check on my vscode that clicked new CalHeatmap(); will jump into the source file, so it should be work, but when try to npm start the ...
Restu's user avatar
  • 31
1 vote
0 answers
58 views

In nodejs v20, "global" keyword doesn't make a module global scoped. The node.js is recommending to use globalThis still globalThis is also not working. How to make a variable global scoped ...
Harsh Hingu's user avatar
0 votes
1 answer
98 views

Yesterday I was working on my project. Today, when I opened it, two modules aren't found. Yesterday they were, so that is pretty strange already. When I try to install using pip, it says 'Requirement ...
Just Verhagen's user avatar
0 votes
1 answer
136 views

I'm trying to use modules to speed up our windows builds a little bit. From my first impressions C++20 Modules are definitely faster than PCH (atleast on windows). Currently I'm only focussed on ...
JuliusCaesar's user avatar
  • 1,041
0 votes
1 answer
90 views

I am trying to write a unit test case for a lazy-loaded module with a canMatch guard. I have reviewed multiple threads on Stack Overflow, but the solutions provided are either outdated or not workable....
chetan's user avatar
  • 105
0 votes
1 answer
41 views

Load required assemblies Add-Type -AssemblyName System.Windows.Forms Add-Type -AssemblyName System.Drawing function Show-MessageBox { param ( [string]$message, [string]$title ) [System....
Sekhar K's user avatar
2 votes
1 answer
2k views

I have the following go.mod file. I'm unable to run the module as the compiler in VSCode asks me to run go mod tidy. When I run go mod tidy my go.mod file gets updated with go version getting bumped ...
10may's user avatar
  • 328
0 votes
0 answers
422 views

I activated the virtual environment of my project via the terminal and then opened the project path in VSCodium. Despite installing the Python library globally, VSCodium still doesn't recognize the ...
BeNavon's user avatar
0 votes
1 answer
131 views

I am working on a module that converts the value of a specific value into a new value when mutliplying it by a certain percentage. EX 100 * 1.3754 = 137.54. When I use the module, it spits out my ...
John's user avatar
  • 33
-1 votes
1 answer
25 views

I am trying to implement my api into my webpage so i can use this frontend as interface to access the api. I have created files namely api.js for the api: // src/api.js import axios from 'axios'; ...
Pranav Kanumuri's user avatar

1
3 4
5
6 7
455