Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
35 views

After trying Lavi Kumar's example it seems the package import pdbext.debug in ~/.pdbrc goes out of scope when another source file is called. ~/.pdbrc: !import pdbext.debug alias pl !pdbext.debug....
CharlieB's user avatar
7 votes
6 answers
2k views

I have some code in which an array of strings is defined in a conditional statement. The array is out of scope where I need it. So I defined another pointer in the outer scope. In the conditional ...
Johannes Linkels's user avatar
1 vote
1 answer
85 views

I have a workflow where I download a file, do some stuff to it, upload it, and then download it again to verify that the changes took place. I want my download logic to be in a reusable YAML file that ...
The Lemon's user avatar
  • 1,467
3 votes
3 answers
119 views

I am trying to dynamically add buttons to a list, and have $Button (or another variable) be set to whatever is clicked (No OK/Cancel button needed). The below code creates the buttons, and resizes the ...
user66001's user avatar
  • 950
-5 votes
1 answer
117 views

I have a kaggle notebook(link here). The notebook iterates over a list of number(candidate_max_leaf_nodes) and then gets a mae for each number by massing it as a parameter(ignore the other parameters) ...
HAK's user avatar
  • 450
2 votes
1 answer
99 views

I'm working on an ECS system, but in order to iterate across pairs of queries, I need to be able to fetch components only for a limited scope when executing a system. To do this, I'm trying to make a ...
gjh33's user avatar
  • 121
0 votes
0 answers
52 views

Limite de débit de l’application We would like to monitor in real time the changes in the number of followers (subscribers) of a Facebook Page. Is there a Webhook field that allows receiving a ...
malek mtibaa's user avatar
0 votes
1 answer
78 views

I'm having some issues in defining styles of my items. Or actually in the scope of the styles I set. My question is how do I make sure, that a style I'm setting is not propagated for the elements of ...
Mike-Kilo's user avatar
  • 1,354
0 votes
1 answer
108 views

First I linked two JavaScript files to my HTML <script src="script.js"></script> <script src="main.js"></script> On the first file ( the "script.js&...
Emmanuel Ayomide Fatolu's user avatar
1 vote
0 answers
53 views

I am trying to put together some code to find duplicated files between two or more directories, for this I am using C libs like tinydir, and plibsys, the idea is traverse dirs get the hash of every ...
anewb33's user avatar
  • 121
4 votes
2 answers
155 views

In C17's final draft N2176, in the 1st paragraph of 6.2.1 it says member of an enumeration is called an enumeration constant. in the 7th paragraph 6.2.1 it says Each enumeration constant has scope ...
Cinverse's user avatar
  • 333
0 votes
0 answers
94 views

I have an app using SceneKit in a SwiftUI framework, and I am trying to properly organise my views by defining a separate view for the interface panel as an ZStack overlay. I have moved the buttons (...
user23510612's user avatar
1 vote
1 answer
98 views

Per Import-Module's -Scope parameter documentation: By default, when Import-Module cmdlet is called from the command prompt, script file, or scriptblock, all the commands are imported into the global ...
mmseng's user avatar
  • 959
2 votes
1 answer
83 views

I used ChatGPT to generate the code to understand how to do it myself, and it mostly works. The script is to check my TV & Movie folders for missing files to make Plex work better (folder.jpg, ...
marion's user avatar
  • 23
1 vote
1 answer
57 views

I'm working on a game that will take a random object, and use that same random object for a series of questions/functions. I'm having trouble getting the next piece of code to run after clicking the &...
Christina Bohn's user avatar
-2 votes
1 answer
56 views

I'm working on a practice game that uses an array of objects (plants) that will be chosen randomly. Questions are asked about light and water requirements, winning or losing the plant and moving onto ...
Christina Bohn's user avatar
0 votes
0 answers
63 views

I have a Flutter web and android app using google calendar api, create/edit/delete a calendar for the app's own use. I use googleapis package, and chose "calendarScope" to access google ...
Jimmy's user avatar
  • 41
-2 votes
1 answer
123 views

Is it possible to declare a global variable that is invisible to the importing script? For example, in script a.py I have a variable var_a that is accessible to any function in a.py. However, in ...
ysap's user avatar
  • 8,241
3 votes
2 answers
159 views

When shadowing i inside the for loop, the following code #include <stdio.h> int main() { for (int i = 1; i < 5; i++) { printf("%d", i); int i = i; ...
Lumin's user avatar
  • 483
2 votes
0 answers
62 views

I have the below min repro application which is meant to build a graph (tree) from a vec (split string). (It is meant to be part of a larger loop that would modify the graph/tree multiple times.) The ...
Rogus's user avatar
  • 1,290
0 votes
0 answers
43 views

So I have a number of CMake files - and I am trying to refactor many common things across multiple projects. One example is we turn on features due to the compiler version (GCC) I am having problems ...
user3696153's user avatar
0 votes
1 answer
176 views

I'm working on a Rust project and have a trait called Auth with an asynchronous method auth_login. The issue I'm facing is that when I try to make the method accessible from other modules using pub, I ...
Fahed's user avatar
  • 205
0 votes
0 answers
23 views

shouldn't it be able to access the object "something"? var problem = { something: {thing:23}, somethingElse: [function(){return this.something.thing}] }; console.log(...
M D's user avatar
  • 1
0 votes
0 answers
27 views

A website I built 10+ years ago for a fishing club needs a few changes. I haven't changed the site for 5+ years and am immediately getting build errors when it compiled fine under VS 2017 - but won't ...
William Stukeley's user avatar
0 votes
0 answers
113 views

Here is the function in question: /** * @el [Element] Target HTML Element * @attr [String] attribute to bind * @match [Object] Result from regex.exec */ const bindValue = (el, attr, match) => { ...
hobberwickey's user avatar
  • 6,464

1
2 3 4 5
354