Skip to main content
Filter by
Sorted by
Tagged with
Advice
2 votes
7 replies
117 views

I know that it's possible to take the address of an inline function, just like with ordinary functions. But if each translation unit has its own inline definition, and I take the address of the ...
Morel's user avatar
  • 1
-4 votes
0 answers
39 views

An uncaught Exception was encountered Type: ParseError Message: syntax error, unexpected identifier "cek_login", expecting variable. class login_model extends CI_Model { public funtion ...
Celvin gilank's user avatar
0 votes
1 answer
52 views

In Google Sheets, I have a database on which I want to apply a filter depending on 10 criteria from 10 columns, using values from 10 specific cells. I can do this, but I would like that the filter ...
Fabien GALOPIN's user avatar
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
Advice
0 votes
4 replies
73 views

I want to calculate resistance and resilience of the soil microbial community in my experiment. I have an experimental design with 4 treatments: ambient (control), drought, warmed, and warmed & ...
Moriah's user avatar
  • 27
3 votes
2 answers
55 views

Description I'm having an issue with a collapsible requiring 2 clicks of a button to open, then another 2 clicks to close. The Show/Hide text inside the button gets mixed up as well. I think it might ...
strawberrymilkrats's user avatar
0 votes
3 answers
209 views

I have just encountered a case in this C program: void row_del(int**& a, int& row, int col, int k) { for (int j = 0; j < col; j++) { for (int i = k; i < row - 1; i++) { ...
hacklo's user avatar
  • 17
3 votes
2 answers
88 views

The PostgreSQL documentation for argtype in function and procedure definitions states: The type of a column is referenced by writing table_name.column_name%TYPE. This works fine for IN mode ...
qrpnxz's user avatar
  • 45
0 votes
1 answer
69 views

i'm trying to automate a few basic tasks for a helpdesk team and I cannot seem to understand why I cannot get the desired result from this code: I did try to explicityl define $Tile as a [string] but ...
user3023421's user avatar
0 votes
1 answer
40 views

I am writing a function to generate a file name to avoid repetitions with a suffix similar to "(1)", which are automatically substituted by most browsers and other programs when downloading ...
QWerProg's user avatar
0 votes
1 answer
50 views

I want to create a table summary but want to use a custom value as the denominator in my percentage calculations. I wrote the following to divide by 25 instead of the total (17), which was working ...
Jenna V's user avatar
0 votes
2 answers
50 views

I was trying to plot a function with absolute values and it's piecewise counterpart, but matplotlib was ploting the function with jagged corners. Here is my full code: import matplotlib.pyplot as plt ...
Steve03's user avatar
-1 votes
1 answer
66 views

I have no idea how to fix it I try this: @Router.message(F.text == "/start") async def send_welcome(message: types.Message, state: FSMContext): await state.set_state(UserState....
Balsam _'s user avatar
-2 votes
1 answer
83 views

I'm making a quiz-type thing with Google Sheets- one as the user-end (where the quiztaker would input answers) and one as the answersheet. What I want to do is have a function in conditional ...
bunnie's user avatar
  • 3
1 vote
1 answer
121 views

I have two configuration classes with functional beans: @Configuration public class PositionReporter { @Bean public Supplier<Aircraft> reportPositions() { return () -> new ...
tibotka's user avatar
  • 214
2 votes
3 answers
128 views

I am trying to save some date to a PSCustomObject in one function and pass that object to another function so I can access the objects properties and values. I am doing something incorrect as I can ...
RookieMistake's user avatar
2 votes
0 answers
188 views

Is there any good reason why some STL functions are implemented as free functions instead of members? I understand the benefit when you need to provide explicit template parameters, like std::get<N&...
Dominik Kaszewski's user avatar
0 votes
0 answers
48 views

I have three function blocks in my simulink model; A, B, C. I am feeding block A with data 'waypoints', which is an 11x2 array. I want block A to create a 'passthrough' for 'waypoints', such that ...
Tom W's user avatar
  • 1
0 votes
2 answers
85 views

I'm new to Python and I am building a simple interactive calculator as a project. When I run the code in the terminal, it takes all the inputs but does not return the final output. The code restarts ...
new_coder's user avatar
1 vote
1 answer
97 views

Is there a tsconfig flag or eslint rule to disallow this ? interface Order { title?: string; orderName?: string; } interface Product { title?: string; productId?: string; } var product: ...
TSR's user avatar
  • 21.5k
1 vote
1 answer
86 views

I was experimenting with closures in JavaScript and ran into something confusing. function outer() { let x = 10; return new Function("return x;"); } const fn = outer(); console.log(fn()); I ...
Prince verma's user avatar
2 votes
2 answers
139 views

I would like to build a function such as: test <- function( fct = "default" ) { # here test that fct is a string # ... } in which it is tested that fct is a string of length one. ...
Denis Cousineau's user avatar
0 votes
1 answer
47 views

I've setup a custom container in Azure that will run a Function App, with the intention of connecting to my organisations GitHub (GHE) instance and using GH CLI pull a list of repos. I have a PAT ...
JT 19's user avatar
  • 3
0 votes
0 answers
78 views

I am using Typescript with Webpack for a static browser application. Here are the relevant code snippets: [spell.ts] export class Spell { // Various properties and functions, Nothing relevant. ...
Prof Susan Satsumas's user avatar
1 vote
1 answer
68 views

I have class example: export class Test{ private func: (...args: any[]) => void; constructor(func: (...args: any[]) => void) { this.func = func; } method(...args: any[]) {...
Алексей Смирнов's user avatar

1
2 3 4 5
2230