Questions tagged [default]

Refers to an initial, most commonly used option, setting, or value that is automatically assigned to an application or device, outside of user intervention, with the intention of making it usable "out of the box".

A , in computer science, refers to a setting or a value automatically assigned to a software application, computer program or device, outside of user intervention. Such settings are also called presets, especially for electronic devices. Default values are generally intended to make a device (or control) usable "out of the box". A common setting, or at least a usable setting, is typically assigned.

tag should be used for questions regarding

  • Default features of programming languages (like default return type of C functions).
  • Default configuration of and Applications.

SOURCE

Wikipedia

3506 questions
1
vote
0 answers

How to set the default program to open knitted Word files from RStudio?

I have Windows 7+ PCs with both LibreOffice and MS Office installed. I'm trying to figure out how to make RStudio to open DOCX file produced via Knit to Word in LibreOffice Writer and not MS Word. Is there an option to choose the default viewer for…
andselisk
  • 869
  • 2
  • 19
  • 26
1
vote
0 answers

C#: How to specify default parameter value, for container type?

E.g, I've got a member function like this: void f(List listInt)... Can I specify a default value for this listInt? Seems I cannot directly give it a "new" value as compiler requires a compile time constant for default values. How to achieve…
Troskyvs
  • 7,537
  • 7
  • 47
  • 115
1
vote
1 answer

Error Code: 1366. Incorrect integer value: ' ' for column 'branch_id' at row 20

I am currently new in SQL. I am using myySQL and when trying to upload data in a column for which i have null values in some cases i get the response in the topic. My script for the creation of the table is: CREATE TABLE `transactions` ( …
zenous
  • 11
  • 2
1
vote
2 answers

Play! framework CRUD module: adding default values and change date format?

I'm using Play! frameworks CRUD module but I can't figure something out: my database table has a created field which is basically the time that a row was created. I don't want my user to set this, I want to do it in the backend, simply add the…
user393964
1
vote
2 answers

In DevOpsServer 2019, rules with doubles seem to be different in different locations

In DevOps Server, I am trying to set a default value for the WIT "bug". Story points should always be set to 0.5 So I changed and uploaded the witd in that way:
1
vote
1 answer

What are the differences with the following templated functions using default template parameters/arguments

I don't think I understand what the difference is between the 5 templated functions below, and hope that someone can explain. When should each one be used? The first 2 has no default template parameters, but the last 2 do. The first and third ones…
24n8
  • 1,898
  • 1
  • 12
  • 25
1
vote
3 answers

adding new column in existing table for default timestamp in snowflake

i am trying to add new column which contain default time in existing table but it wont allow any current timestamp or '2019-11-14 00:00:00.000' this time format in snowflake.
patel94
  • 85
  • 2
  • 11
1
vote
0 answers

When opening VBA Editor (Alt+F11) in Excel, which module loads first?

I have 3 Modules in the following order, with the following names: CodeMain DeltaKommCode Testing Everytime I open the VBA Editor after a fresh start of Excel (Alt+F11), it shows the Testing Module. Why is that? Why doesn't it show the first module…
J. Hill
  • 33
  • 6
1
vote
4 answers

PHP - Inherit function default value

I have a function that look like this: function test($arg1 = 'my_value', $arg2 = 'second') { } When I call it I only want to set the second value to something different, like this: test(inherit, 'changed value'); I found out that it is possible to…
Jens Törnell
  • 23,180
  • 45
  • 124
  • 206
1
vote
1 answer

Add title automathically when add new product in woocommerce

Im a stock photographer and now Im building my own stock images website with woocommerce in wordpress. Now im configuring all to be automathically as possible (imagine upload 50k images and edit title, tags and file to download one by one). At the…
1
vote
0 answers

Can I use defaults in a dynamic query to avoid querying the user for parameters?

I created a button for users that generates multiple crosstabs, and then combine the crosstabs, into a single table that auto-exports to Excel. Unfortunately, because of the data, sometimes the crosstabs have different numbers of columns (based on…
ErrorMeck
  • 43
  • 8
1
vote
1 answer

How to implement a default interface method that adds a value to the object instance

How do I implement void add(Number number) so it adds number to the object instance public interface Numbers { static int toIntValue(); static void fromIntValue(int value); default void add(Number number) { // what do i write here …
nsol
  • 75
  • 7
1
vote
1 answer

Show default printer's properties and preferences

I'm trying to create batch file which opens printer properties for the default printer, but I get an error. I tried using rundll32 printui.dll,PrintUIEntry /e /n "printername" but it opens properties only if you will write a printer name with your…
laniakea
  • 81
  • 1
  • 11
1
vote
0 answers

MS-Excel, change default custom formatting?

If you enter 20/11 into a cell excel automatically applies a default custom format to 20-Nov (dd-mmm) on the cell. How does one prevent this default behaviour from happening or modify it to yyyy/mm/dd without manually formatting cells? Thanks
Reon
  • 11
  • 1
1
vote
0 answers

defaults does not exist for com.microsoft.VSCode

I have VSCode installed, and I'm wanting to set the ApplePressAndHoldEnabled boolean to false. When I try: >defaults read com.microsoft.VSCode 2019-11-29 14:13:42.734 defaults[644:2080008] Domain com.microsoft.VSCode does not exist If I…
purplehey
  • 127
  • 1
  • 12