1,484 questions
0
votes
2
answers
71
views
onCreate is called twice with FLAG_ACTIVITY_NEW_TASK or FLAG_ACTIVITY_CLEAR_TASK
I've noticed that there are 2 times when startActivity with intent for the same Activity (FirstActivity) is called in my Android project, and it's called in both places like that:
FirstActivity.intent(...
0
votes
1
answer
207
views
Disabling Chrome Flags via Command Line: Not Working
Our cloud contact center platform is being negatively impacted by the chromium flag "allow webrtc to adjust the input volume." (
Manually disabling it works, but we have ~550 users and I ...
0
votes
0
answers
48
views
How enable experimental flags on Flutter Master Branch?
According this issue https://github.com/dart-lang/sdk/issues/57112,
Experiment flags only works for code that is on the most recent
language version, which is (theoretically) the language version the
...
0
votes
0
answers
27
views
how to disable popups to open external application for selenium webdriver
I want to disable the Zoom popup that asks to open the app when joining a meeting and stay on the browser. I have tried different flags but haven't been able to disable the popup.
how disable this ...
1
vote
1
answer
57
views
Flag observations with same ID/Date but different result
I am trying to flag observations with the same ID and Date but different results. Not all observations with the same ID and Date will have a different result but a large fraction do. I have already ...
0
votes
0
answers
24
views
how to fix clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]? [duplicate]
I downloaded homebrew, gcc14 and pasted the path on compiler.
Then it worked when I pasted the flags:
-DCMAKE_C_FLAGS="-Wall -Werror -pedantic-errors -lm -g"
But it didn’t build and showed:
...
7
votes
1
answer
3k
views
ld_classic will be deprecated in Xcode?
I am getting a warning in Xcode 16.0 that says "-ld_classic is deprecated and will be removed in a future release". I don't if I am supposed to replace ld_classic, although if I want to I ...
-1
votes
3
answers
92
views
How to create a flag based on partitioned column values in SQL
I have a table with 2 columns ,So for each of the loans Either Letter A, Letter B or both of them is being sent to the Loan applicant.
Base Table
I need to create a new column that sets a Flag =1 ( If ...
2
votes
1
answer
150
views
Is there a way to set command line options at the top of a Haskell file?
I have some Haskell source files with which I interact with and I was wondering:
Is there a way to set command line options at the top of the file?
I refer to GHCi command line options that we use ...
0
votes
0
answers
135
views
bash, postgresql - how to add additional flags to custom psql function [duplicate]
So I have this script:
#!/bin/bash
# Set the PostgreSQL database connection details
db_host="localhost"
db_port="5432"
db_name=""
db_user=""
db_password="&...
0
votes
0
answers
54
views
DXL - Flagging deleted object text
I currently have a dxl that will delete too much text when running to delete indentations from the object text. Since I have been working on fixing this issue, it seems it isn't straightforward at all ...
0
votes
1
answer
153
views
How to change UP (direction) flag in x86 assembly to 1?
I want to change flag UP to one, now it is UP = 0. I am using Visual Studio 64-bit assembly.
(Intel calls this the "direction flag", DF).
I tried this:
.data
source DB 'Hello, world!', 0
...
0
votes
1
answer
344
views
Bring back activity to the top in Android
I develop android application with launch mode "Single_instance". I want to run an external application from my activity, and bring back my activity to the screen. I'm using Intent....
0
votes
1
answer
132
views
How to use a flag variable to break all the for-loops in spmd statement?
I want to run multiple for-loops in Matlab, each for-loop have large number of iterations so I use spmd to run them in parallel. All the for-loops will be break out if in a for-loop, a criterion is ...
0
votes
2
answers
120
views
Higcharts - timeline series type- continuous color with datetime x axis
i would like to have something like a 'timeline' chart with a label/tooltip mixed with other series type like 'line'. I have a datatipe like a 'flag' that is very repetitive so I would like to "...
0
votes
0
answers
61
views
Which flag should I use when enabling MSAA in Directx9?
I enabled MSAA when creating a device in Directx9 and had to remove the D3DPRESENTFLAG_LOCKABLE_BACKBUFFER flag. However, since I removed this flag, SweetFX does not work. What can I do for it? ...
0
votes
2
answers
507
views
Why does the flags in ARM are not affected if there a change in the Register?
So I have this problem where
ANDS R1, R2, R3
and to assume the flags are initially
N=0 Z=0 C=0 V=1 Q=0
R1: 0000C5BF H
R2: 0000A0F9 H
R3: is 00000000 H
I have to examine the end results of the ...
0
votes
1
answer
171
views
Run a function once in MutationObserver for loop
I'm using MutationObserver to observe if any element with the class last-move changes its inline style. For example, it could look like this:
<square class="last-move" style="...
0
votes
1
answer
186
views
Are there any internal descriptions of the RFLAGS 32-63 bits?
Searched the Intel Manuals but couldn't find any internal descriptions of the reserved RFLAGS 32-63 bits.
In this godbolt demo, when executed in 64-bit mode, the output displays the current state of ...
0
votes
1
answer
119
views
Allow timer to start jenkins pipeline only if a global environment variable is set
I have set a global environment varaiable in jenkins - flag which takes in values on and off
I have multiple declarative pipelines in jenkins, some of which get triggered based on timers.
Now I don't ...
1
vote
1
answer
231
views
Reading .DBF files with deleted records in R
I want to read a .dbf file in R that contains "deleted" rows. However, I don´t know how to avoid reading all records. I am using the package "foreign" and the function read.dbf.
...
0
votes
1
answer
141
views
is there any mothod to Enforce Exact Case-Sensitive Flag Matching with argparse in Python
I am working on a Python script using argparse library to handle command-line arguments. I want to enforce strict and case sensitive match for a specific flag. such as --signup , without allowing any ...
0
votes
2
answers
154
views
Binary Flags: How to check for "1 must have and 1 of n must haves"
I have a flagable enumeration.
Flags
{
None = 0
A = 1
B = 2
C = 4
D = 8
}
Than I have a condition where I must check if a variable flags is set with Flags.A and at ...
0
votes
1
answer
114
views
How to Update the Contents of an "enum Flag" Instance using an Internal Class Method?
Good evening fellow coders,
I'm currently working on a python-based project that uses flags, for which I use the Flag class from the enum library.
What I am struggling to do, is update the contents of ...
0
votes
1
answer
692
views
golang / urfave.cli: can't get to set flags manually
We have an app which receives an urfave cli context object in a func:
import "gopkg.in/urfave/cli.v1"
func runApp(ctx *cli.Context) {
cache := ctx.GlobalInt(MyFlag.Name)
.... // do ...