Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
114 views

I have a regression test for a PostgreSQL database that checks to make sure a particular user cannot self-assign additional privileges to a particular schema. I do this by logging in as the user "...
Erik Knowles's user avatar
  • 1,015
0 votes
1 answer
88 views

I need to create a modified version of a function found within a package namespace to perform a specific statistical calculation. E.g., say I have a function function and save the modified version as ...
user2352714's user avatar
0 votes
0 answers
34 views

I have two namespaces, ns1 and ns2. I created two veth pairs and connected the namespaces to the host via these veth pairs. Now, I want to enable these two namespaces to ping each other using a very ...
light_rain's user avatar
2 votes
0 answers
29 views

In file1.ts I have: export namespace MyGlobal { export namespace File1 { export const X = 2 } } In file2.ts I have: export namespace MyGlobal { export namespace File2 { export const X = ...
Richard's user avatar
  • 21
1 vote
1 answer
102 views

I am using Composer version 2.2.25 Per https://getcomposer.org/doc/05-repositories.md#path, I have this structure: ├── path │ └── to │ └── composer_stuff │ └── compiled │ ...
MonkeyZeus's user avatar
  • 20.8k
0 votes
1 answer
80 views

When working on a larger app that has Shiny modules that include modules themselves, I've noticed that I can't put a downloadbutton in a renderUI call without it being disabled. Here's an example: ...
mkranj's user avatar
  • 549
0 votes
0 answers
41 views

Well, I found that flask-restx may no longer be maintained (last commit was 10 months ago as of this post). That's too bad seeing as I spent a decent amount of time learning it and overall thought it ...
AKA_Tom's user avatar
  • 95
4 votes
1 answer
210 views

Let's say I'm trying to rename a namespace with lots of symbols in a huge monorepo codebase. I want to go from old_namespace to new_ns, but I can't atomically update every user, and there are so many ...
jacobsa's user avatar
  • 7,875
0 votes
0 answers
31 views

I'm using the Dgraph community version and I want to copy all data from one namespace to another (for example, from namespace 1 to namespace 2). I understand this can be achieved using a Python script ...
Ravindra Gupta's user avatar
-1 votes
1 answer
106 views

This CS0030 error occurred after switching from a Windows 10 pc to a new Windows 11 machine. The solution (and all the code) is located on my onedrive, used both on W10 and on W11. Both systems use ...
guivho's user avatar
  • 363
1 vote
1 answer
139 views

All this time, I thought that the global namespace resolution operator was optional, and for instances where a symbol refers to something in the global namespace, eg: void my_func() {} int main() { ...
Zebrafish's user avatar
  • 16.3k
7 votes
1 answer
334 views

Related to : Why might one load a library more than once in an R script? Now, usually, with a complete library import, it is a good idea that a library is not loaded a second time. However, if my main ...
ivo Welch's user avatar
  • 3,098
1 vote
1 answer
91 views

I have a set of classes that all are in the namespace A.B, like A.B.Class1 A.B.C.Class2 etc... But I have a referenced assembly that uses the namespace B.C, for example in a fully qualified class B.C....
Mark A Johnson's user avatar
2 votes
2 answers
87 views

Why do I get the xmlns=""? I've tried putting the namespace in many other places and messed with the prefix but can't seem to remove the empty xmlns="" attributes. XML: <?xml ...
Jack Creed's user avatar
2 votes
1 answer
90 views

I am trying to load my class through namespacing but Im struggling to find the right configuration and I keep getting a class not found error. Here is the psr-4 property in my composer.json "psr-...
Alex Knopp's user avatar
-1 votes
1 answer
70 views

I am loading a script with the jQuery getScript function after the document is ready. The script has these 2 lines: const myNameSpace={}; function myNameSpace.test() { } I am getting this error: I ...
Cymro's user avatar
  • 1,484
2 votes
3 answers
193 views

I'm reading a book. Obviously there are some failures in it. In the code below, how can I access plant::operator<< in run() and plant::debug::operator<< in diagnostic()? The compiler can't ...
Chris Ri's user avatar
6 votes
1 answer
158 views

This is a follow-up of this question: `requires` expressions and function namespaces Trying to design an answer I stumbled on this strange behavior: #include <cstdio> // dummy default ...
Oersted's user avatar
  • 3,834
5 votes
2 answers
212 views

How can I define a C++ constraint that involves a namespace-specified function? Example: template<typename T> concept C = requires(T t) { { N::foo(t) } -> std::same_as<void>; }; ...
Paolo M's user avatar
  • 12.9k
0 votes
1 answer
124 views

I've been reading multiple discussions on the web relating to my issue. I've been trying to read appointments from a specific Outlook calendar (non-default) via Excel using VBA. I can't seem to find a ...
Joey56's user avatar
  • 35
-6 votes
1 answer
78 views

I am creating a static class for use with multiple projects, in its own file with its own namespace. When I try to call the class and invoke its methods from within another file, namespace, and class,...
kapnKronik's user avatar
-3 votes
1 answer
59 views

<label for="indoor"><input id="indoor" type="radio" name="indoor-outdoor"> Indoor</label> <label If you omit the value attribute, the ...
Halifax Lane's user avatar
0 votes
0 answers
52 views

This question may have a simple answer. I have a near-trivial module0.py: a = 1 b = a + 3 I import this module into a script and redefine module0's global constant a: import module0 as m0 m0.a = 2 ...
SapereAude's user avatar
5 votes
3 answers
139 views

We have dozens of string-like classes spread across dozens of namespaces, but they each have a similar structure: namespace N::N1 { struct S1 { std::string_view sv() const; }; } We'd like to ...
Greg's user avatar
  • 473
0 votes
2 answers
77 views

When compiling my program, I get the following error: No matching function for call to 'fillWithRandomNum' Candidate function not viable: no known conversion from 'double[10][Globals::MAX_COL]' to '...
ImDarkk's user avatar
  • 257
1 vote
1 answer
87 views

In my Dart project pubspect.yaml uses on_audio_query: 2.9.0 , which depends on on_audio_query_android. I have recently upgraded to Java 21.0.4 and Gradle 8.1 The upgrade was motivated by switching to ...
tom.g.c's user avatar
  • 163
3 votes
1 answer
308 views

I want to specialize std::formatter inside my namespace. However, this does not work as I want to (variant 1). It works outside the namespace (variant 3) as well as with a workaround inside the ...
bers's user avatar
  • 6,309
0 votes
1 answer
42 views

I have worked on a flutter project in 2023. I was facing errors with gradle settings. I managed to migrate the gradle settings following the official Flutter documentation(https://docs.flutter.dev/...
Saad Mushtaq's user avatar
0 votes
0 answers
36 views

In Python, I am having trouble with referencing between methods within a package of mine. My package is structured like so mypackage (folder) __init__.py (containing ...
Octavius's user avatar
  • 139
1 vote
1 answer
63 views

I'd like to be able to parse some info from xml data while uses namespaces. I have been trying to read/follow steps in: https://docs.python.org/3/library/xml.etree.elementtree.html#parsing-xml-with-...
most.of.a.shark's user avatar
-1 votes
1 answer
151 views

I am trying to build C++ code with ASIO and OpenSSL (on windows, without boost). I have been using ASIO no problem for a while now. However, I now tried to include "asio/ssl.hpp" and I get a ...
indjev99's user avatar
  • 122
1 vote
0 answers
64 views

I'm working on isolating namespaces using clone() in a Linux environment and I have a question regarding CIFS mounts. If I use clone() to isolate the network namespace (and potentially other ...
김한서's user avatar
3 votes
2 answers
170 views

Where the C++ standard allows an identifier with name space of a structure (a "non-ordinary" identifier in C) in a primary expression? Consider the following code (which is a valid C++, but ...
pmor's user avatar
  • 6,757
3 votes
1 answer
66 views

I have a function template in namespace namespace sft { template <typename To, typename From> auto safe_cast(From from) -> To { // assert cast return static_cast<To>(from); } } /...
Tomáš Nadrchal's user avatar
2 votes
1 answer
116 views

The following code works as expected: template <int N> struct Int { constexpr auto dec() const -> Int<N - 1> { return {}; } constexpr operator int() const { ...
eyelash's user avatar
  • 4,126
0 votes
1 answer
38 views

In this error ('package="io'), there has an operator " between ' and '.is it a system error? How do I solve it? Error: Namespace 'package="io.flutter.plugin.pathprovider"' is not ...
IMUL's user avatar
  • 1
0 votes
0 answers
50 views

I have a namespace package called foo, which contains multiple distribution packages: foo.bar_one, foo.bar_two, and foo.bar_three are installed as distribution packages via pip from a private GitLab ...
EKI's user avatar
  • 876
1 vote
0 answers
126 views

I am trying to find the equivalent of MailItem.SentOnBehalfOf for an AppointmentItem. My extensive research tells me AppointmentItem.SendUsingAccount is the only option. After re-thinking my e-mails (...
Joey56's user avatar
  • 35
1 vote
0 answers
105 views

I have a Rails app with namespaced models and routes: # config/routes.rb namespace :bank do resources :exams resources :exam_sections resources :exam_units # ... end # Migration file class ...
박상원's user avatar
2 votes
0 answers
50 views

I've been coding in PostScript for a couple of months, and I'm wondering how one would implement namespaces, and use libraries. As usual, the idea is to address: name collisions keeping separate ...
John's user avatar
  • 1,673
3 votes
1 answer
117 views

This is a follow-up to no match for operator<<(std::ostream, ns::Type) when in the global namespace, combined with the namespace numerical_chars trick from https://stackoverflow.com/a/21389821/...
jozxyqk's user avatar
  • 17.7k
0 votes
0 answers
27 views

I have created a solution in Visual Studio and I have the solution in a good place now to create a template that I can use for future projects. I have added ApplicationDbContext with Identity and ...
David.Warwick's user avatar
-2 votes
2 answers
93 views

Can someone explain why the << operator cannot be found when it's in the global namespace? Also, why might it be a problem if it could be? #include <ostream> #include <iostream> ...
jozxyqk's user avatar
  • 17.7k
1 vote
1 answer
354 views

Summary: When calling BatchV1Api.createNamespacedJob with a hard-coded namespace (“audio-processing”)—both as the first argument and in the job manifest metadata—the client throws a RequiredError ...
lopezdp's user avatar
  • 1,609
1 vote
2 answers
122 views

I have different custom Module paths/ Namespaces in my CodeIgniter4 project, and I just recently upgraded to version 4.4.0. in this upgrade the route settings will move from Config/Routes.php to ...
Olisa Agbafor's user avatar
0 votes
0 answers
162 views

I am trying to create a program that runs a command in a new network namespace. I'd like to be able to run my program without being root. What I have working at the moment is that I first create a new ...
Alex Flint's user avatar
  • 6,917
1 vote
1 answer
120 views

A problem occurred configuring project ':agora_rtm'. Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl. Namespace not specified. Specify a namespace in ...
Deepak suthar's user avatar
0 votes
0 answers
123 views

Task :react-native-safe-area-context:processDebugManifest package="com.th3rdwave.safeareacontext" found in source AndroidManifest.xml: C:..\node_modules\react-native-safe-area-context\...
Dev Fritz's user avatar
1 vote
1 answer
83 views

I have this big namespace for my entire Project and then each componenet (file) has its own nested namespace inside that file. The big namespace is called IEEngine and the nested ones are called ...
SusgUY446's user avatar
0 votes
1 answer
26 views

Assuming that the user will only interface with a Stata .ado package program through any data supplied, and via command syntax (i.e. with options, etc.), do I gain any protection around namespace ...
Alexis's user avatar
  • 852

1
2 3 4 5
250