Skip to main content
Filter by
Sorted by
Tagged with
2 votes
2 answers
122 views

This is a follow up question to the Ignore boolean property = true in JSON serialization. I have a record with multiple bool properties, some of them having default value true and some false: private ...
Theodor Zoulias's user avatar
1 vote
1 answer
70 views

After executing the following script: alter table test_table add (test1 varchar2(1 char), test2 varchar2(1 char) default 'T' not null); I got interesting results... both columns are filled with ...
stelmee's user avatar
  • 63
1 vote
2 answers
39 views

I have a function fun foo( id: String, vararg values: Int, ){ ... } and there are calls like these fun bar1(){ foo("id_1") foo("id_2", 1) foo("id_3&...
gstackoverflow's user avatar
0 votes
1 answer
342 views

We have react-hook-form + zod + react-query. How do I type values with TypeScript to let it catch a bug if I do not provide optional default values? https://codesandbox.io/p/sandbox/react-form-form-...
Anton Arbus's user avatar
0 votes
1 answer
286 views

`I'm working on a survey using SurveyJS, and I need help configuring a matrix dropdown question. My goal is to set a default value for a specific cell in this matrix. Problem Description In my survey, ...
user avatar
0 votes
0 answers
426 views

Say I have a very large vector, I want to set all its indices to some default value. How can I achieve this? I seached online but couldn't find an answer. Note that this is not a postgresql array, ...
Berkan Kadioglu's user avatar
1 vote
1 answer
318 views

I'm using sqlalchemy to create a table in mysql. I would like to have a JSON column, with a default value, but mysql doesn't allow literals to be the default value, only expressions. If I create the ...
mazalan01's user avatar
4 votes
1 answer
54 views

I am using Modified Mann Kendal test in R. I want to know its by default value for significance level. Can we set the significance level manually? For example: 5%, 10% etc. if possible, then how can ...
tom's user avatar
  • 75
0 votes
1 answer
64 views

I have 2 <input type="text"> elements. What users type in input 1 will be the default value of input 2. The value of input 2 will be used for other tasks. The tasks should run right ...
Ooker's user avatar
  • 3,404
0 votes
0 answers
26 views

Today, while tackling this question on Project Euler, I stumbled upon an intriguing use-case for employing mutable objects as default arguments in Python functions. Typically, this practice is ...
user21524036's user avatar
0 votes
2 answers
548 views

Is there a way in C# to access the default value of a non-static, non-const property that is defined in an abstract class? For example, given: public abstract class SomeClass { public int ...
alelom's user avatar
  • 3,257
0 votes
0 answers
672 views

For the following types' structure public class Person { public string Name { get; set; } } public class Adult : Person { public string Occupation { get; set; } } ... // many more subtypes I need to ...
Yola's user avatar
  • 19.4k
2 votes
2 answers
94 views

I have the following problem: I want to write a function that is supposed to get multiple similar sets of inputs, lets say: FUN <- function(part1.x, part1.y, part1.z, part2.x, part2.y, part2.z){} ...
Finn Lübber's user avatar
1 vote
1 answer
2k views

Why I got error? Column datatype is integer like a sequence value... SQL> create sequence SEQ_TEST_ID; Sequence created. SQL> desc test Name ...
Dmytro's user avatar
  • 41
-3 votes
1 answer
440 views

At the beginning, everything is going well. I have a configuration to read from drivers with the help of the package github.com/kelseyhightower/envconfig type NXConfig struct { Enable bool `...
Marc Le Bihan's user avatar
1 vote
1 answer
773 views

I have this scenario: A value is read from a cookie and passed as an $option to a FormType: $indexOrder = $request->cookies->get('clientfile-order') ?? 'date-last'; $advancedSearchform = $this-&...
K. Weber's user avatar
  • 2,793
0 votes
2 answers
325 views

I am pretty new to this, so please be nice ;) I have created a function in PL/SQL where I feed the function a UserNo and it gives me an email-address. What I would like to be able to do, is to add a ...
Morten Sørensen's user avatar
0 votes
1 answer
82 views

I am trying to write a function that sets the default for some arguments to NULL. However, when I then want to specify those arguments to not be NULL when calling the function, I receive the error ...
Reid's user avatar
  • 37
1 vote
0 answers
202 views

Below is my github actions ISSUE_TEMPLATE that seeks input from user. name: GH Action details description: GH Issue form title: "GH Action details" assignees: - my-devops labels: - ...
Ashar's user avatar
  • 3,195
2 votes
3 answers
134 views

In a code that evaluates a web response, I would like to zip elements from several lists. However, the elements of the iterators are dict's. Therefore, I would like to fill up the missing values also ...
Wör Du Schnaffzig's user avatar
0 votes
1 answer
1k views

I'm working at a ToDo app and I managed to make a menu section with two buttons switching between the app section. The problem is that when it's first opened the 'About me' button should be clicked by ...
Valery's user avatar
  • 11
1 vote
2 answers
82 views

I'd like to default values in place on jq, and return root document. What I have (note that some property is missing from the inner object) is following, but length is not fixed: [{"foo":{}},...
user-id-14900042's user avatar
1 vote
1 answer
100 views

I want to use a function with a default argument (as in argument with default value) in two separate scripts in which that default argument is set differently. Of course, the function may also be ...
silence_of_the_lambdas's user avatar
1 vote
1 answer
339 views

I would like to call a Lua script, say "test.lua", with an input argument through any of the following options: Piping in the output of an earlier command, say as: echo "value" | ...
Marcos's user avatar
  • 135
0 votes
0 answers
84 views

I have a menu where you filter geographical locations using two dropdown menus. Then the user proceeds to the main screen. On the main screen, if the user wants to change the geographical location ...
TheCoolest2's user avatar

1
2 3 4 5
41