Degrees of obligatory agreement.

i have  another question is that i change to use PBCCA,that will be a error ：
Degrees of obligatory agreement.
ml_trainFBCCA (line 27)
model.fbCoefs = (1:alg.options.nrFbs).^(-alg.options.a)+alg.options.b;

@gdddara what values did you use?

@gdddara what values did you use?

do you means the PBCCA values？is as the same as yours.i do not change.just move the %

@gdddara just change the variables from a vector to a single value and it'll work.

@gdddara just change the variables from a vector to a single value and it'll work.

i‘m so sorry that i don't understand，do you means change this？：
%% FBCCA
approach.classifier.learner = 'FBCCA';
approach.classifier.options.harmonics = 5;
approach.classifier.options.nrFbs = 5;
approach.classifier.options.a = [0, 2.5];
approach.classifier.options.b = [0, 1.5];

@gdddara
approach.classifier.options.a = 2.5;
approach.classifier.options.b = 1.5;

@gdddara
approach.classifier.options.a = 2.5;
approach.classifier.options.b = 1.5;

i change and run，it still have error：
Quotationless missing letter 'mode'.
Delivery ml_trainFBCCA (line 37)
     if (strcmp (alg.options.mode, 'sync') && ~ isempty (idle_ind))

@gdddara add this line :
approach.classifier.options.mode = 'sync';

approach.classifier.options.mode = 'sync';

i know.i add this.but still have the same error

@gdddara there was an error in ml_trainFBCCA, it's fixed now. download the latest version or use git to update the toolbox.

@gdddara there was an error in ml_trainFBCCA, it's fixed now. download the latest version or use git to update the toolbox.

it‘s ok.yesterday i ask you a question is that i want to know if i only load one data（like s1.mat）that calculate “average accuracy“，is the Average accuracy means s1.mat ‘s accuracy？

@gdddara the run_analysis_SSVEP_eval_Single evaluates the whole set, so the average accuracy is calculated on all subjects. you can write a custom function that evaluates a specified number of subjects.

the run_analysis_SSVEP_eval_Single evaluates the whole set, so the average accuracy is calculated on all subjects. you can write a custom function that evaluates a specified number of subjects.

ok，thank you so much


Value of type 'CustomPagingViewController' has no member 'menuItemSource'

Hi,
It seems there's a mistake in your last version and "MenuItemSource" not defined and it replaced with "MenuItemClass" every where in Parchment !
e.g. below line in Parchment (where MenuItemSource should have been defined) :
 public var menuItemClass: Parchment.PagingCell.Type

Hi @seangee777 🙂 I'm not sure I understand exactly what the issue is. The menuItemSource property replaced the menuItemClass. I can't find any remaining references to menuItemClass.

I added Parchment to my App using CocoaPods,
When I'm trying to run my App I get this error :
Value of type 'CustomPagingViewController' has no member 'menuItemSource'
I wanted to use "Unplash Example" from your sample project, So I exactly copied the "Unplash Example" folder contents and It just shows above error !
The error says that "MenuItemSource" has not defined !
So I compared your sample project that I'd downloaded from GitHub with my project,
Interesting! after comparing frameworks I realized the framework in my app have no "menuItemSource" and everywhere in framework instead of "menuItemSource" you'll face "menuItemClass" !

It sounds like your are using an old version of Parchment in your app. Can try to upgrade to the latest version?

I used Parchment by adding below line to my pod file :
pod 'Parchment'
My Xcode is updated And I think Xcode uses the latest version of Parchment automatically . .
Please correct me if I'm doing wrong.
Thanks for your nice support

Awesome!


[BugFix] Fix SinkIOBuffer use-after-free by skipping stop task

Fixes https://github.com/StarRocks/StarRocksTest/issues/2691
This PR is based on two guarantees:

Query context (including SinkIOBuffer) would not be destroyed if SinkIOBuffer is not finished yet. Once SinkIOBuffer becomes finished, the execution queue has no pending chunk tasks except a stop task following.
Execution queue would only enqueue a stop task once its refcnt becomes zero and ready to be destroyed.

This PR makes the consumer thread skip the stop task, avoiding use-after-free error. You may refer to sink_io_buffer_test.cpp for more details.
What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

@Mergifyio backport branch-3.1


Error while loading model

After train a model for a long time I saved it using
bst.save_model("xgboostModel.trail04.json")
I latter tried to load it with the same params to continue training
filemodel = 'xgboostModel.trail04.json'
bst = xgb.train(param, xgTrain, num_boost_round=numOfRounds, evals=watchList, early_stopping_rounds=2000, xgb_model=filemodel)

but I get this error:
  File "/home/user/programs/pycharm/plugins/python-ce/helpers/pydev/pydevd.py", line 1438, in _exec
    pydev_imports.execfile(file, globals, locals)  # execute the script
  File "/home/user/programs/pycharm/plugins/python-ce/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
    exec(compile(contents+"\n", file, 'exec'), glob, loc)
  File "/home/user/projects/temp/pythontmp/lastPointClassifiers.py", line 270, in <module>
    trial04()
  File "/home/user/projects/temp/pythontmp/lastPointClassifiers.py", line 256, in trial04
    xgb_model=filemodel)
  File "/home/user/.local/lib/python3.7/site-packages/xgboost/training.py", line 212, in train
    xgb_model=xgb_model, callbacks=callbacks)
  File "/home/user/.local/lib/python3.7/site-packages/xgboost/training.py", line 37, in _train_internal
    model_file=xgb_model)
  File "/home/user/.local/lib/python3.7/site-packages/xgboost/core.py", line 1175, in __init__
    self.load_model(model_file)
  File "/home/user/.local/lib/python3.7/site-packages/xgboost/core.py", line 1804, in load_model
    self.handle, c_str(os_fspath(fname))))
  File "/home/user/.local/lib/python3.7/site-packages/xgboost/core.py", line 190, in _check_call
    raise XGBoostError(py_str(_LIB.XGBGetLastError()))
xgboost.core.XGBoostError: [19:57:42] /workspace/src/common/json.cc:413: Expecting: ",", got: "

When I try the same exact thing but run it over a smaller number of rounds it loads fine and trains like a champ.
def Example():
    X, Y = getData(randomize=True)
    X = np.array(X)
    Y = np.array(Y)
    l = int(len(X) * .5)
    xgTrain = xgb.DMatrix(X[:l], label=Y[:l])
    xgTest = xgb.DMatrix(X[l:], label=Y[l:])
    param = {
        'objective': 'multi:softmax',
        'eta': 0.0001,
        'max_depth': 6,
        'nthread': 16,
        'num_class': 2,
        'tree_method': 'gpu_hist',
    }
    watchList = [(xgTrain, 'train'), (xgTest, 'test')]
    numOfRounds = 1000000
    filemodel = 'xgboostModel.trail04.json'

    print("fit()")
    if path.exists(filemodel):
        bst = xgb.train(param, xgTrain, num_boost_round=numOfRounds, evals=watchList, early_stopping_rounds=2000,
                        xgb_model=filemodel)
    else:
        bst = xgb.train(param, xgTrain, num_boost_round=numOfRounds, evals=watchList, early_stopping_rounds=2000)

    bst.save_model(filemodel)

Can you share the content of getData() in your example?

@hcho3 I think it would be "easier" to share the model. Without any context to the data, I'm sure I can share the model. The only possible issue is it's 2.9GB.  Would the model be helpful?
Something that may be of help is that this error still occurs even when using this method to load it.
    param = {
        'objective': 'multi:softmax',
        'eta': 0.0001,
        'max_depth': 6,
        'nthread': 16,
        'num_class': 2,
        'tree_method': 'gpu_hist',
    }
    bst = xgb.Booster(param)
    bst.load_model('xgboostModel.trail04.json')

@nathanhack I'd like to see how XGBoost produces a potentially invalid JSON representation, given some data. Do you see the same error with other data?

@hcho3 I think I see what your getting at. So the weird thing is, the above def Example() was literally what was ran to generate the problematic json.. But I've re-ran it after with no problems (on fewer rounds). I use pycharm and I've looked through my local history to verify I didn't change anything in between runs. I've tried recreating the issue but so far I've been unable to reproduce it. Since I couldn't reproduce it maybe it's a fluke, but I switched to saving .bin files since.  I lost so much time on that one model (I should have made smaller rounds and made checkpoints), so I figured I should post it so someone with more experience might help figure out the bug.
That said, I'm sure I can give a few samples of input data if you think that will help figure it out.

@nathanhack In that case, you should upload the model to Dropbox or a similar service and post a link.

@hcho3 https://file.io/utRYr3SY here's a link to the json file.  Note this link will only work one time. If needed again, I can post a new link it just let me know.

Will look into it.

@nathanhack I'm getting a 404.

@hcho3 this link is less ephemeral:  https://drive.google.com/file/d/1bRcVE7wnbBhzYliH_9FSDjJMZdtQekBY/view?usp=sharing
let me know if you can't get it.

@nathanhack I tried loading the JSON on my machine and did not see any error. I used
import xgboost as xgb
param = {
    'objective': 'multi:softmax',
    'eta': 0.0001,
    'max_depth': 6,
    'nthread': 16,
    'num_class': 2,
    'tree_method': 'gpu_hist'
}
bst = xgb.Booster(param)
bst.load_model('xgboostModel.trail04.json')

So. I definitely do not get that, check out my screenshot of pycharm with code you gave.

Here are some of my system details:
Fedora 31
Python 3.7.7
Cuda 10.2
RTX 2080 TI

How did you install XGBoost? Did you use pip or did you build from the source?

I used pip.
pip install --user xgboost

@nathanhack So I was using my Macbook first time. When I ran the same program on a Linux machine, it actually produced the same error
xgboost.core.XGBoostError: [18:40:58] /workspace/src/common/json.cc:413: Expecting: ",", got: "

This is strange, since the Mac and Linux binaries have been built using the same source. I will investigate further.

The error exists with the latest source too. Stacktrace:
Traceback (most recent call last):
  File "test.py", line 12, in <module>
    bst.load_model('xgboostModel.trail04.json')
  File "/home/phcho/tmp2/xgboost/python-package/xgboost/core.py", line 1501, in load_model
    self.handle, c_str(os_fspath(fname))))
  File "/home/phcho/tmp2/xgboost/python-package/xgboost/core.py", line 187, in _check_call
    raise XGBoostError(py_str(_LIB.XGBGetLastError()))
xgboost.core.XGBoostError: [19:34:32] ../src/common/json.cc:449: Stack trace:
  [bt] (0) /home/phcho/tmp2/xgboost/python-package/xgboost/../../lib/libxgboost.so(xgboost::JsonReader::Error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) const+0x4ed) [0x7f70c2dbd177]
  [bt] (1) /home/phcho/tmp2/xgboost/python-package/xgboost/../../lib/libxgboost.so(xgboost::JsonReader::Expect(char, char)+0x135) [0x7f70c2dbfea9]
  [bt] (2) /home/phcho/tmp2/xgboost/python-package/xgboost/../../lib/libxgboost.so(xgboost::JsonReader::ParseArray()+0x105) [0x7f70c2dbdb1b]
  [bt] (3) /home/phcho/tmp2/xgboost/python-package/xgboost/../../lib/libxgboost.so(xgboost::JsonReader::Parse()+0x92) [0x7f70c2dbcacc]
  [bt] (4) /home/phcho/tmp2/xgboost/python-package/xgboost/../../lib/libxgboost.so(xgboost::JsonReader::ParseObject()+0x2e1) [0x7f70c2dbdecf]
  [bt] (5) /home/phcho/tmp2/xgboost/python-package/xgboost/../../lib/libxgboost.so(xgboost::JsonReader::Parse()+0x69) [0x7f70c2dbcaa3]
  [bt] (6) /home/phcho/tmp2/xgboost/python-package/xgboost/../../lib/libxgboost.so(xgboost::JsonReader::ParseArray()+0xbb) [0x7f70c2dbdad1]
  [bt] (7) /home/phcho/tmp2/xgboost/python-package/xgboost/../../lib/libxgboost.so(xgboost::JsonReader::Parse()+0x92) [0x7f70c2dbcacc]
  [bt] (8) /home/phcho/tmp2/xgboost/python-package/xgboost/../../lib/libxgboost.so(xgboost::JsonReader::ParseObject()+0x2e1) [0x7f70c2dbdecf]
  [bt] (9) /home/phcho/tmp2/xgboost/python-package/xgboost/../../lib/libxgboost.so(xgboost::JsonReader::Parse()+0x69) [0x7f70c2dbcaa3]
  [bt] (10) /home/phcho/tmp2/xgboost/python-package/xgboost/../../lib/libxgboost.so(xgboost::JsonReader::ParseObject()+0x2e1) [0x7f70c2dbdecf]
  [bt] (11) /home/phcho/tmp2/xgboost/python-package/xgboost/../../lib/libxgboost.so(xgboost::JsonReader::Parse()+0x69) [0x7f70c2dbcaa3]
  [bt] (12) /home/phcho/tmp2/xgboost/python-package/xgboost/../../lib/libxgboost.so(xgboost::JsonReader::ParseObject()+0x2e1) [0x7f70c2dbdecf]
  [bt] (13) /home/phcho/tmp2/xgboost/python-package/xgboost/../../lib/libxgboost.so(xgboost::JsonReader::Parse()+0x69) [0x7f70c2dbcaa3]
  [bt] (14) /home/phcho/tmp2/xgboost/python-package/xgboost/../../lib/libxgboost.so(xgboost::JsonReader::ParseObject()+0x2e1) [0x7f70c2dbdecf]
  [bt] (15) /home/phcho/tmp2/xgboost/python-package/xgboost/../../lib/libxgboost.so(xgboost::JsonReader::Parse()+0x69) [0x7f70c2dbcaa3]
  [bt] (16) /home/phcho/tmp2/xgboost/python-package/xgboost/../../lib/libxgboost.so(xgboost::JsonReader::Load()+0x32) [0x7f70c2dbcc6e]
  [bt] (17) /home/phcho/tmp2/xgboost/python-package/xgboost/../../lib/libxgboost.so(xgboost::Json::Load(xgboost::StringView)+0x57) [0x7f70c2dbe9f7]
  [bt] (18) /home/phcho/tmp2/xgboost/python-package/xgboost/../../lib/libxgboost.so(XGBoosterLoadModel+0x37f) [0x7f70c2d673ab]
  [bt] (19) /home/phcho/miniconda3/envs/foobar/lib/python3.7/lib-dynload/../../libffi.so.7(+0x69dd) [0x7f70e7f529dd]
  [bt] (20) /home/phcho/miniconda3/envs/foobar/lib/python3.7/lib-dynload/../../libffi.so.7(+0x6067) [0x7f70e7f52067]
  [bt] (21) /home/phcho/miniconda3/envs/foobar/lib/python3.7/lib-dynload/_ctypes.cpython-37m-x86_64-linux-gnu.so(_ctypes_callproc+0x2ce) [0x7f70e7d8b27e]
  [bt] (22) /home/phcho/miniconda3/envs/foobar/lib/python3.7/lib-dynload/_ctypes.cpython-37m-x86_64-linux-gnu.so(+0x12cb4) [0x7f70e7d8bcb4]
  [bt] (23) python(_PyObject_FastCallKeywords+0x48b) [0x56467da9c00b]
  [bt] (24) python(_PyEval_EvalFrameDefault+0x51d1) [0x56467db009a1]
  [bt] (25) python(_PyFunction_FastCallKeywords+0xfb) [0x56467da9420b]
  [bt] (26) python(_PyEval_EvalFrameDefault+0x6a0) [0x56467dafbe70]
  [bt] (27) python(_PyEval_EvalCodeWithName+0x2f9) [0x56467da442b9]
  [bt] (28) python(PyEval_EvalCodeEx+0x44) [0x56467da451d4]
  [bt] (29) python(PyEval_EvalCode+0x1c) [0x56467da451fc]
  [bt] (30) python(+0x22bf44) [0x56467db5af44]
  [bt] (31) python(PyRun_FileExFlags+0xa1) [0x56467db652b1]
  [bt] (32) python(PyRun_SimpleFileExFlags+0x1c3) [0x56467db654a3]
  [bt] (33) python(+0x2375d5) [0x56467db665d5]
  [bt] (34) python(_Py_UnixMain+0x3c) [0x56467db666fc]
  [bt] (35) /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f70e7752b97]
  [bt] (36) python(+0x1dc3c0) [0x56467db0b3c0]

I found the root cause:
https://github.com/dmlc/xgboost/blob/e4f5b6c84f7350e8bc53330632d7f2cdbe5469d8/src/common/io.cc#L111-L128
We use POSIX functions to load the JSON file into memory, and there is a bug that introduces NUL letters (value 0) into the string. I'm trying to diagnose the bug. On MacOS, std::fread() is used instead and it works as expected and loads the JSON file correctly, without NUL letters.

@nathanhack I submitted a pull request to fix the bug: #5831. It will be part of the next upcoming release (1.2.0). Thanks!

Thanks for the thorough investigation of my issue, and for the quick fix!


Mapping and Bulk Edit

Currently when enabling Bulk Edit in Mapping, selecting multiple channels and editing a value, only the selected channel value gets changed and not all the selected channels.
To recreate, select Bulk Edit, check 2 or more channels, go into the settings of a single channel, change a value like "Active" or "XMLTV" and click "Done". Only that single channel should show the change.
Another issue, I can open a separate bug, present is that currently you can make changes on a channel settings and even if you don't click "Save" to save the changes, those changes are stored and saved.

I am not able to reproduce this. Are you using docker?

Right now only Active and starting channel number are bulk editable. I have to get XMLTV stuff working for bulk edit

Unfortuantely being able to bulk map xmltv would require a significant rewrite =/


[jvm-packages] update xgboost4j cross build script to be compatible with older glibc

@dbtsai you can check this, I have uploaded the version compiled with GLIBC 2.12 and tested with 2.19 environment,

Codecov Report

Merging #3307 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #3307   +/-   ##
=========================================
  Coverage     45.52%   45.52%
  Complexity      228      228
=========================================
  Files           166      166
  Lines         12970    12970
  Branches        466      466
=========================================
  Hits           5904     5904
  Misses         6874     6874
  Partials        192      192

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9a8211f...7eee733. Read the comment docs.

+@lindblombr and @
Thanks @CodingCat for this PR. How can I test it if it run in our older Linux runtime? Will you cut a release or snapshot?
Thanks.

@CodingCat I'm using the published xgboost 0.72, and getting the following error when running on my hadoop cluster
/lib64/libm.so.6: version GLIBC_2.23' not found`
the version of glibc on my cluster is 2.17
wasn't this PR supposed to solve this issue?
does 2.17 should work?
thanks


Sprites not shown with 0.10.1.

Bevy version
0.10.1 main (dd98e1)
[Optional] Relevant system information
cargo 1.69.0 (6e9a83356 2023-04-12)
AdapterInfo { name: "Intel(R) Iris(R) Xe Graphics", vendor: 32902, device: 39497, device_type: IntegratedGpu, driver: "Intel Corporation", driver_info: "Intel driver", backend: Vulkan }
SystemInfo { os: "Windows 11 Home", kernel: "22621", cpu: "11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz", core_count: "4", memory: "31.8 GiB" }

What you did
Run the sprite example using
cargo run --example sprite
What went wrong
The window is just a gray screen, the sprite is missing.
Additional information

There are no warnings or errors in the log output, just the regular info logs.
With 0.9.1 I didn't have any such issues on the same machine.

Try the DirectX12 backend. Iirc this is a known issue on some GPUs with the Vulkan backend.

Thanks @JMS55 , using dx12 works.

@JMS55: should we close this out as "won't fix", or is there an upstream issue we should link?

should we close this out as "won't fix", or is there an upstream issue we should link?

Iirc we never did find out what the issue is, I just vaguely remember people having the same issue a few weeks ago and using DX12 fixed it. It's probably an upstream (wgpu/driver) problem though, considering it works on DX12 but not Vulkan. I'll ask around and see if it's a known issue upstream or not. Lets leave this open for now, but change the title.

I believe this should be fixed in bevy 0.13. Could you test it to see if it's fixed?


Allow further options for linters

The current approach with IPython.core.magic_argument is restrictive because it requires duplicating all the linter's options, otherwise there's a UsageError. For example, it's not currently possible to write %allowed -m on in case pytype is installed, or %allowed -u 10 on if one wants to check the current notebook only against units 1–10. (This is necessary for the M269 TMAs.)
A more flexible approach is to simply write %<linter> on ... and pass ... to that linter. However, how to make sure that the default configuration (like --ignore for ruff or -c for allowed) is overwritten if the user specifies it?
Two approaches I can think of:

Add an optional positional string argument for the options to pass to the linter, e.g. %allowed -c tm112.json "-m -u 10" on. It's a bit clunky to have some options in a string and others not (those we have defaults for). Maybe there's a way to not require a string, and just have zero or more extra arguments for the command?
Do our own argument processing to permit %linter [on [...]|off], by splitting the arguments string around spaces and checking if one of the options overrides a default option.

The first option is less work, especially if we can do it without needing double-quotes for the extra options.

I prefer not to require the user to type more than needed. And since the args have hyphens themselves, will they be interpreted as unknown options, ie does -a b add -a and b to baz, or just b, or neither, with an error that -a is an unknown exception? I guess we'd have to experiment a bit...

Yes you are right, the dashes do not work.
Another option is ditch the @magic_arguments and @argument and instead use the parse_known_args() method from the regular argparser .
@register_line_magic
def my_magic(line: str) -> None:
    parser = argparse.ArgumentParser()
    parser.add_argument('--config')
    parser.add_argument(
        "status",
        choices=["on", "off"],
        type=str.lower,
        help="Activate or deactivate the linter. If omitted, show the current status.",
        nargs="?",
        default=None,
    )
    known, unknown = parser.parse_known_args(line.split())
    print(f"Known args: {known}")
    print(f"Unknown args: {unknown}")

%my_magic on --config m269.json -b another_arg --unknown -s

Known args: Namespace(config='m269.json', status='on')
Unknown args: ['-b', 'another_arg', '--unknown', '-s']

I've pushed the changes to allow for extra command options, and updated the docs. For some reason, argparse can separate known and unknown arguments only if on is the first argument. So, %allowed on -u 10 works but %allowed -u 10 on doesn't. I changed the docstrings for on to appear first.
Over to you to catch any command option errors. Thanks.

It seems argparse deems any arg added without a dash to be positional. This must be slightly different from the behaviour of the @magic_arguments
I've pushed the changes to handle better the errors caused from abnormal terminations from underlying linters. This mostly involves checking CompletedProcess.stderr for ruff  and pytype, but allowed prints errors to both, so this has been taken into account.
It might be best for allowed to print messages from abnormal termination to stderr in the future to follow convention.

It looks like the show_ruff_json function was filtering out a depreciation warning related to the structure of the ruff  configuration in the pyproject.toml.

Reopening this issue to allow @densnow to show both stderr and stdout, in case stderr has warnings. The message "{checker} didn't check code" must be changed.


Based on training my own flux model

when I use run.py to train the model, the model is downloaded automatically. I want to know where this model is downloaded to, and I want to replace it with my own base model for training

The better way would be tweaking the code to read from your own huggingface repo or local machine.


Access Restrictions using ServiceTags for az cli

Does az cli currently support setting access restrictions for service tags? If not, is this planned? The current documentation only seems to have a --ip-address property and nothing else.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: d90bbf62-44f9-30a6-d6ea-bbf776f6efc5
Version Independent ID: b3961eac-6c70-b345-f48c-e4c0ec67059c
Content: Azure App Service access restrictions - Azure App Service
Content Source: articles/app-service/app-service-ip-restrictions.md
Service: app-service
GitHub Login: @ccompy
Microsoft Alias: ccompy

@wahyuen Thanks for the feedback! We are currently investigating and will update you shortly.

@wahyuen Thanks again for the feedback! The product team is working on this and this will be rolled out in upcoming release.
We will now close this out but if you feel you need more information please just let us know.


Include macOS .dmg package in early access download list

Could we incude a .dmg version in the early access download list?
Thanks

We will do it. Thank you.

looks like this is done, thanks!

We are going to implement it in 21.1.5 release.


Cleeng as a separate module

Acceptance criteria
Cleeng is an optional module, which is by default off
Documention on how to enable Cleeng integration
Solution directions
Some ideas that came per mail:
Include an Cleeng module during the build
Lazyloading of the Cleeng module based on parameter
As a plug-in from a remote repository

This path has been started with v3 / v4 allowing jwp or cleeng integrations


Add new options for margin and padding

Currently, the text has no margin or padding. Padding can be hacked using the before and after text options, but that's nasty.
Shouldn't be too hard using the textDecoration property implemented in #6.

Done in d965c81 - also added some additional styles. Thanks for the idea - that is much nicer than using leading/trailing text.


Gpt4 support

I can only use gpt4 8k in "chat" mode not completion. Is it possible to modify this easily so I can connect gpt4?

looks like I can just set the model in completion.py lol. closing


Non-integer peak width breaks the 1D plot

When I enter a number with a decimal place into the ‘Peak width’ box in the Spectral plot sidebar, the 1D plot seems to break.

It was a problem with a missing parseFloat function. Fixed in the new commit and currently building the new public version. Closing.


App crash issue while updating an existing contact

E:Too many content provider operations between yield points. The maximum number of operations per yield point is 500
I have found out the issue is at FlutterContacts.kt file line 556. This happen when 1 contact have multiple numbers

Thanks @hssn-hassnain - closing as duplicate of https://github.com/QuisApp/flutter_contacts/issues/140


Add Experimental Django API

merging this to be able to test CI + helm charts. comments in this PR have been added as TODOs in the code


Fix dependency diagram gateway dependency

Codecov Report

Merging #169 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master     #169   +/-   ##
=======================================
  Coverage   13.97%   13.97%
=======================================
  Files          59       59
  Lines        2283     2283
  Branches      426      426
=======================================
  Hits          319      319
  Misses       1776     1776
  Partials      188      188

Impacted Files
Coverage Δ

...al/src/components/image/dependencyDiagram/index.js
5.66% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2bb525b...02399a5. Read the comment docs.


Changes in data retrieval from banks in Digitalt dødsbo

Description
We need to add a new input parameter for when the subject passed away. Data should be retrieved from three months before that date and up until the current date. The parameter should be optional in order not break any integrations until the Digitalt dødsbo app has been updated, return the last three months  if the parameter is not submitted.
New endpoint for sbanken (test): https://dsop-sandbox.sbanken.no/api/v1
The endpoints for the different banks should also be retrieved from https://data.norge.no/api/apis/endpoints?serviceType=Kontoopplysninger&environment=production and removed from config (supported banks should just be listed with organisation numbers and not the endpoints).
Additional Information
No response
Tasks
No response

Completed


Parallel stages in Jenkins fails to publish build info to Artifactory

Hello!
I'm running a job in Jenkins that has parallel stages where we are uploading different artifacts to Artifactory and then publishing the build information. The upload is successful but publishing the build info subsequently fails with error: [Error] open /tmp/jfrog/builds/c3BlZWNoIDo6IGRlcGxveV82OTc1/partials/details: no such file or directory. Since the upload succeeded, the build details should exist to publish the build record. We are running the jfrog-cli directly in Jenkins.
jfrog version 1.37.0
We are running:
jfrog rt config artifactory-server \
  --interactive=false \
  --url="https://na.artifactory.swg-devops.com/artifactory" \
  --apikey="$artifactory_api_key"

echo "Testing connection to Artifactory server: https://na.artifactory.swg-devops.com/artifactory"
jfrog rt ping >/dev/null 2>&1 || retval=$?
if ((retval != 0)); then
  die "Failed to connect to Artifactory. Check that the credential is correct and Artifactory is up and running."
fi
success "Artifactory server available."

jfrog rt upload \
  --build-name "$build_name" \
  --build-number "$build_number" \
  "$full_artifact_path_name" \
  "${artifactory_repo}/${artifactory_repo_path}/$artifact_name"

jfrog rt build-publish --build-url="$build_url" "$build_name" "$build_number"

And the output is:
[parallel stages]
# Successful stage run through Artifactory

 Checking for Artifactory API key and required arguments...
 Now creating the artifact, dvt-yamlFile-jenkins-speech-deploy-6975-dvt-stt-6975.zip...
   adding: rendered-configs/public/dvt/50_stt_dvt_job.yaml	(in=1168) (out=452) (deflated 61%)
 total bytes=1168, compressed=452 -> 61% savings
 Artifact successfully created.

 Will now deploy the artifact to:
 - repository: https://na.artifactory.swg-devops.com/artifactory/wcp-watson-core-hyboria-artifacts-generic-virtual
 - path: speech/deploy
 - build name: speech :: deploy
 - build number: 6975

 Testing connection to Artifactory server: https://na.artifactory.swg-devops.com/artifactory
Artifactory server available.
 [Info] [Thread 2] Uploading artifact: dvt-yamlFile-jenkins-speech-deploy-6975-dvt-stt-6975.zip
 {
   "status": "success",
   "totals": {
     "success": 1,
     "failure": 0
   }
 }
 [Info] Deploying build info...
 [Info] Build info successfully deployed. Browse it in Artifactory under https://na.artifactory.swg-devops.com/artifactory/webapp/builds/speech :: deploy/6975

 Artifact successfully deployed to Artifactory.

 Your artifact, dvt-yamlFile-jenkins-speech-deploy-6975-dvt-stt-6975.zip, can be found at https://na.artifactory.swg-devops.com/artifactory/wcp-watson-core-hyboria-artifacts-generic-virtual/speech/deploy/dvt-yamlFile-jenkins-speech-deploy-6975-dvt-stt-6975.zip

# Failed stage run through Artifactory

 Checking for Artifactory API key and required arguments...
 Now creating the artifact, dvt-yamlFile-jenkins-speech-deploy-6975-dvt-tts-6975.zip...
   adding: rendered-configs/public/dvt/50_tts_dvt_job.yaml	(in=1168) (out=452) (deflated 61%)
 total bytes=1168, compressed=452 -> 61% savings
 Artifact successfully created.

 Will now deploy the artifact to:
 - repository: https://na.artifactory.swg-devops.com/artifactory/wcp-watson-core-hyboria-artifacts-generic-virtual
 - path: speech/deploy
 - build name: speech :: deploy
 - build number: 6975

 Testing connection to Artifactory server: https://na.artifactory.swg-devops.com/artifactory

Artifactory server available.
 [Info] [Thread 2] Uploading artifact: dvt-yamlFile-jenkins-speech-deploy-6975-dvt-tts-6975.zip
 {
   "status": "success",
   "totals": {
     "success": 1,
     "failure": 0
   }
 }
 [Error] open /tmp/jfrog/builds/c3BlZWNoIDo6IGRlcGxveV82OTc1/partials/details: no such file or directory

Any help would be great. Would upgrading to the latest version 1.38.2 help?

@eyalbe4 Have you seen this issue before?

@anhuong thanks for reporting this issue.
The JFrog CLI collects the build information during the build and stores it in a temporary folder in the agent.
If you are using parallel stages where each step is running on a different agent, this behavior wouldn't work by default.
You can try, as a workaround, to configure your JFrog CLI temporary folder to be under your shared workspace. You can achieve this by setting JFROG_CLI_TEMP_DIR environment variable to be a path on your job's workspace, or a path to another shared folder.
A better approach would be to upload the files and publish the build info using the Jenkins Artifactory plugin. The Jenkins Artifactory plugin is already save the build info in a shared folder.
Please notice that there is one drawback using multi-agent build approach - The agent information in the build info (like environment variables) will be related to the agent that did publish it. Thus, we recommend you to upload the build artifacts and publish the build info in the same agent.
By the way, we are working on supporting aggregation of associated builds in the JFrog CLI. This feature will be available in the near future.
Please let me know if this information helps.

@yahavi I appreciate you taking a look at this and responding! You make some excellent points, we previously were using the Jenkins Artifactory plugin and it worked superbly. However, we have a CLI version of our common library methods and moved to using jfrog-cli so users could utilize the same commands via CLI and Jenkins.
Furthermore, you make a great point about how the agents may be changing due to the parallel stages and this may make it hard for jfog to keep track of it's temp dir. However, we are running the jfrog commands in succession each time.
jfrog rt config artifactory-server
jfrog rt upload
jfrog rt build-publish
This would make me think that there should not be an issue with a temp dir since we are running the config, upload, and publish each time.
We have added the JFROG_CLI_TEMP_DIR` to our automation. Thanks for the suggestion! Will try to remember to update this issue with how it goes.


Scene Unique Name disables itself randomly

Godot version
v3.5.rc4.official [e047c5006]
System information
Debian GNU/Linux 11 (bullseye)
Issue description
I use the new "Scene Unique Name" feature quite a lot in my GUI scenes, and sometimes the checkbox just unchecks itself randomly and the node is not accessible via % anymore. The fix in those cases is simply to re-enable it, but it is a bit annoying.
Steps to reproduce
I am honestly not sure as this appears to be a bit random to me. I made a new project from scratch with just a few nodes and weren't able to reproduce it, but then after a while it unchecked itself again. No clue what exactly caused this, I was just looking around in the interface and then ran the project again. Wasn't able to really come up with a reliable reproduction.
Minimal reproduction project
No response

Maybe you clicked the % icon in scene tree? It removes the flag.

Arghhhhh ok, uhm, kinda embarrassing. I was apparantly clicking on it by accident and didn't notice immediately. I'm not used to stuff there disabling settings (before scene unique names at worst it would be a script that opens). So I guess due to my muscle/visual memory I just clicked at positions that previously didn't had any effect. Now that I am aware of this, I didn't encounter the bug feature again...
I wonder if a popup confirmation would be good? Anyway, that would be more fit as a proposal so I'll close this


How to get the reported performance

I have some trouble evaluating the performance. Take experiments about image classification as an example,

Does the reported uniformity stand for the mean of uniformity computed per preference ray, but the std is not shown?
In Appendix A, PHN is evaluated over 25 rays, does it mean that the hyperparameters of PHN is determined w.r.t the HV over 25 points, while the HV reported in Table 1 is computed over the same 5 rays as baselines.

Hi,

Yes, we report the mean of uniformity.
No, in Table 1 we report the HV for PHN evaluated over 25 evenly spaced rays (using a single PHN model compared to 5 baseline models). We report the HV corresponds to the 5 baseline rays in Appendix B.4, Table 6.


argo login does not prompt user to proceed insecurely for SSL certificate related failures

The argo login command is supposed to prompt the user to proceed with an insecure configuration in the event he tries to login to a cluster with a self-signed certificate, which is the out-of-the box configuration of our clusters after a completed installation.

How about we set the default as a symlink to the currently installed cluster if the file is currently a symlink. If not we can copy the default to default.bak and convert it symlink. This will allow fresh installs of our cluster to directly use the argo command without any additional steps

I agree that new installations should behave this way. If we are creating the .argo directory for them, or .argo/default does not yet exist, we will make .argo/default a symlink to the one created during installation. However, changing the meaning of default from underneath the user (if they already had a default config), is not desirable.

Fixed in 1.0.1 and 1.1.


[MXNET-531] Add download util

Description
Create a Download Utils for all examples.
@nswamy @yzhliu @andrewfayres
Retry scheme added: #11797
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[x] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[x] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

@yzhliu @nswamy Can you review this PR and approve it if ready? tracking this one for MXNet 1.3 release. Thanks!


Separate method

https://github.com/sandders/euro-diffusion/blob/36d78e172f50a06cf77b48b3edd818f5c839b624/algorithm.py#L50
Consider making an addition as a separate method if it is possible

Fixed in https://github.com/sandders/euro-diffusion/pull/11


Enhance elements general UI

This is an ongoing task to improve the UI of the EOxElements. Basic functionality should be usable without any styling, but we want to provide a default style to make it look nice for the end user without much effort.
Some steps necessary:

[x] split up necessary styles for functionality and EOX styles
[x] add EOX style for all elements following material design (as much as possible) and material design icons
[ ] add option to change the primary color for the EOX style?
[ ] make it easy for the developer to add additional styles?

Current state of styling

eox-chart: basic styling, not fully responsive yet
eox-drawtools: basic styling
eox-itemfilter: styling complete for now
eox-layercontrol: advanced styling, find functionality missing
eox-map: not styled yet, maybe provide some color styling for the controls (zoom, attribution, etc)
eox-timecontrol: basic styling

a styleOverride functionality was introduced for itemfilter in https://github.com/EOX-A/EOxElements/commit/f51068a7945560093a98a5cd86137fcb2451ef4f. Maybe this could be a good functionality for all of the elements.

styling via variables is currently being done in https://github.com/EOX-A/EOxElements/pull/616


docs-bug(COMPONENT): Incomplete documentation for Tooltip

Documentation Feedback
What this property do?
PositionAtOrigin

Affected documentation page
https://material.angular.io/components/tooltip/api

Hi @giancarlo-dm,
Here is the missing description:

Default value for whether tooltips should be positioned near the click or touch origin
instead of outside the element bounding box.

I created a pull request to fix it on the website.

Thanks!


Money

Add native support for money and range messages to protip.

Look at #14 first; this PR is built on top of that one (though I could separate it out if that's preferable)

Closed #14 since all the new message types are in this PR.

Updated. Please take a look when convenient @tubergen @pmen.


Inform the user when retrieving a backup, that it is ready

At the moment, in order to download a backup from the Lagoon UI, you need to click "Retrieve" and then wait for an amount of time, refresh the page, and then click "Download".
It would be a better UX if the state of the button changed from "Retrieving" to "Download" without having to refresh the page.

We'll need to look into this - subscriptions in graphql are generally pretty painful, but there may be more UX friendly ways to do this


Custom Fonts.

Maybe a option to install Custom Fonts using URL or pasting them in addons? Something like this: https://steamcommunity.com/sharedfiles/filedetails/?id=1602122798&searchtext=Font

Thanks for the feature request! This is an unlikely addition as I want to keep the addon as lightweight as possible, but I'll consider it in a future update.
Licensing with fonts can be tricky too, and some require an addition license to distribute - I'm unlikely to ever include any fonts that aren't public domain, or have very flexible licenses.

If there's no possible support for custom addons, what about adding a serif font? All the current fonts are sans serif and, while they look nice, sometimes a serif font would be nice.

@wciesialka I'd be open to it. I don't see a serif font that's shipped by default in GMod though? https://wiki.garrysmod.com/page/Default_Fonts
So I'd have to ship a font (with applicable license) with the addon, inflating its filesize. I'm open to it. Do you have a font in mind?
PS. You can technically add your own fonts to the addon via the "internal" textscreensFont table: https://github.com/Cherry/3D2D-Textscreens/blob/master/lua/textscreens_config.lua. This is completely and intentionally undocumented because I use indexes to determine which font to use, and manipulation of this table could cause issues between versions if I change it.

I'm not a graphical artist, so I've not really got a favorite Serif font, so ultimately I'd trust your word over anything. I've found a few fonts with licenses to embed in software or applications, which I'd assume covers Garry's Mod addons, over at Fontsquirrel. One font that stood out to me, however, was Latin modern Roman. It seems to fit the bill of being a clean, regular Serif font. Abhaya Libre also caught my eye.

The "GUST Font License" license looks good for distribution. Thanks for taking a look.
I'll review things and update this when I can. I'm heading out of the country this weekend, so it may towards the end of the month before I can look at this again.

Before adding custom fonts, please make sure they work on MacOS and Linux as I've had issues with custom fonts on those operating systems in the past.


NIFI-4333: Providing Docker support of the NiFi Toolkit

NIFI-4333:
Providing Docker support of the NiFi Toolkit via Maven build and Docker
Hub.

Great, thanks!


forEach returns previously deleted records as nulls

Is there a reason that forEach iterates over deleted records, passing null as the value?

IIRC that shouldn't happen.

Iteration after deletion has test coverage and the tests are passing so I'm going to assume the problem is resolved.


Update ip-addresses.md

Added the China east 2  ip address

@v-vedara : Thanks for your contribution! The author, @mrbullwinkle, has been notified to review your proposed change.

@v-vedara : Thanks for your contribution! The author, @mrbullwinkle, has been notified to review your proposed change.

#sign-off


Allow defining maximum cache size for CachingAssetAccessor

The caching asset accessor currently allows defining the maximum request age, but there is no way to define the maximum cache size.
It would be more useful if requests were removed from the cache when it reaches a specific size limit rather than by request age.

I'm not sure what you mean by "request age". The SqliteCache lets you specify the maximum number of items to cache on disk. I agree a total size rather than a number of responses would be a bit better, but at the cost of more bookkeeping. If this is what you're referring to, can you explain more about your use-case and why a size (rather than number of items) would be a significant improvement for you?

I'm not sure what you mean by "request age".

The maxAge() parameter of the ResponseCacheControl - am I misunderstanding it?

If this is what you're referring to, can you explain more about your use-case and why a size (rather than number of items) would be a significant improvement for you?

We use the cache to accelerate tile loading and we want to cap the maximum cache file size. From that point of view the number of items in the cache is not really very relevant as the connection between that number and the size is very loose and depends on many factors. Some tiles may contain a lot of data while others may be very small. It is quite difficult to define that number that in way that will work across the entire dataset.
Is my understanding correct, that items are only removed during cache pruning, which in turn happens once a specified number of requests?
Does this mean that besides tweaking the maximum number of items, we also have to tweak the number of requests per prune to make sure that the cache does not overgrow considerably?
Also, how expensive is the prune operation?

ResponseCacheControl is a representation of the Cache-Control HTTP response header, and maxAge reflects the max-age parameter included in that header. cesium-native honors the max-age parameter specified by the server in its response headers, as a well-behaved HTTP client should.

From that point of view the number of items in the cache is not really very relevant as the connection between that number and the size is very loose and depends on many factors.

Understood, but that doesn't explain why it creates a particular problem in your case. Most environments, I'd argue, aren't going to be particularly fussed about whether the request cache ends up being 1 GB or 4 GB.
Anyway, I agree with you it's a good idea, but given the huge number of good ideas we'd like to implement, it takes a bit more than that to get it prioritized highly.

Is my understanding correct that items are only removed during cache pruning, which in turn happens once a specified number of requests?

Yes.

Does this mean that besides tweaking the maximum number of items, we also have to tweak the number of requests per prune to make sure that the cache does not overgrow considerably?

If you have unusually large tiles or are especially tight on disk space, I suppose so.

Also, how expensive is the prune operation?

It should be fairly quick, but it does stop requests completely while it's happening, so we try not to do it more often than necessary.

Ok, thanks for the explanation. By the way, are you in the process of integrating cesium-native into Diligent Engine? That'd be great to see!

Yes, we are now using cesium-native for some internal projects


Some currencies don't show up in the balance/wallet view and cause Firefly to be stuck on logo after restart

Issue description
Some currencies don't show up in the balance/wallet view and cause Firefly to be stuck on logo after restart
Wallet version
1.0.0
System specification
Windows 10
Is it a repeatable issue?
Y
Steps To reproduce the issue

Go to settings -> Currency -> Change USD to PLN

Also doesn't work with BGN, CHF, CZK, didn't check more.
Expected behaviour
Currency in the balance/wallet view is changed.
Actual behaviour
Currency in the balance/wallet view is not changed. This also causes Firefly to be stuck on loading logo after restart and entering PIN.
Errors
Error log:
Wed, 28 Apr 2021 21:56:09 GMT
ClientError: {}
Currency set to PLN:

Works in 1.1.0


fix: attributify auto complete

#2643 worked with the playground but wasn't working with the VSCode extension due to the behavior differences with the playground. This PR make it work with VSCode extension.

This PR's playground
the deployed playground


Train error need help!

I don't get my own data,so I make a data,like:  dataset = {'x':np.array([[0.1,0.3],[0.4,0.5],[0.3,0.2],[0.8,0.7],[0.5,0.2]],dtype = np.float32),'e':np.array([0,1,1,0,1],dtype = np.int32),'t':np.array([0.2,0.3,0.4,0.8,0.9],dtype = np.float32)}
please tell me whether the data is right?
can you give me a file about the data??
my train code:
import deepsurv
import pandas as pd
import numpy as np
#dataset = pd.read_csv('/home/mw/mw/work/DeepSurv-master/test.csv')
dataset = {'x':np.array([[0.1,0.3],[0.4,0.5],[0.3,0.2],[0.8,0.7],[0.5,0.2]],dtype = np.float32),'e':np.array([0,1,1,0,1],dtype = np.int32),'t':np.array([0.2,0.3,0.4,0.8,0.9],dtype = np.float32)}
train_data = dataset
valid_data = dataset
network = deepsurv.DeepSurv(n_in =2,learning_rate = 1e-5)
log = network.train(train_data, valid_data, n_epochs=500)
Again,when I train the network I meet a problem:
Traceback (most recent call last):
File "test.py", line 14, in
log = network.train(train_data, valid_data, n_epochs=500,logger = None)
File "/home/mw/mw/work/DeepSurv-master/deepsurv/deep_surv.py", line 397, in train
update_fn = update_fn, **kwargs
File "/home/mw/mw/work/DeepSurv-master/deepsurv/deep_surv.py", line 242, in _get_train_valid_fn
learning_rate=learning_rate, **kwargs
File "/home/mw/mw/work/DeepSurv-master/deepsurv/deep_surv.py", line 208, in _get_loss_updates
if self.restored_update_params:
AttributeError: DeepSurv instance has no attribute 'restored_update_params'
here
so I comment the code,but another question happens:
Traceback (most recent call last):
File "test.py", line 14, in
log = network.train(train_data, valid_data, n_epochs=500,logger = None)
File "/home/mw/mw/work/DeepSurv-master/deepsurv/deep_surv.py", line 410, in train
logger.logValue('loss', loss, epoch)
AttributeError: 'NoneType' object has no attribute 'logValue'
I don't know whether the cause of my data or other question,Please give me some help ! Thank you very much first !

It's not your data causing problems. I think you're using the deepsurv version from the master branch, which is not reflective of the documentation currently available.
I recommend uninstalling the current version you have now and reinstalling with pip. https://pypi.python.org/pypi/deepsurv/0.1.0.  You will not get the errors you are getting with the older version.
If you decide to use the latest version, which you are currently using, then follow what I wrote in https://github.com/jaredleekatzman/DeepSurv/issues/7 . There are new features that he added that aren't fully documented yet; it's not an official release.
I recommend reading @jaredleekatzman's paper on deepsurv. There he notes he used breast cancer survival data, which is available online and you can use that as your test data until you have your own data prepared.

Great! thank you very much!!!

Great! thank you very much again!

@m-wei I'm sorry that the package broke while I was updating and making modifications to the repo. I've released an updated version of DeepSurv. Let me know if the same problems persists.


After the application is restarted, duplicate data in the queue cannot be judged

Slack us first!
The easiest and fastest way to help you is via Slack. There's a free and easy signup to join our #defectdojo channel in the OWASP Slack workspace: Get Access.
If you're confident you've found a bug, or are allergic to Slack, you can submit an issue anyway.
Be informative
Please enter as much information as possible, otherwise we can't provide support. If possible upgrade to the latest release or dev version and try again.
Bug description
When I upload a bug that is very fast and causes the DefectDojo card owner, when I restart, the data that is queued up to determine whether it is duplicate will not be judged again.

I think the data in the queue that needs to be determined if it is repeated should be persisted, as with Kafka
Steps to reproduce
Steps to reproduce the behavior:
1、system setting enable the Delete duplicates 。
2. import many vul
2、restart the defect dojo
Expected behavior
A clear and concise description of what you expected to happen.
Deployment method (select with an X)

[x] Docker Compose
[ ] Kubernetes
[ ] GoDojo

Environment information

Operating System: [e.g. Ubuntu 18.04]
DefectDojo version (see footer) or commit message: [use git show -s --format="[%ci] %h: %s [%d]"]

Logs
Use docker-compose logs (or similar, depending on your deployment method) to get the logs and add the relevant sections here showing the error occurring (if applicable).
Sample scan files
If applicable, add sample scan files to help reproduce your problem.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context (optional)
Add any other context about the problem here.

Looks more like your restart didn't work correctly. What is in the logs? Please provide more details on the problem.


Should not SA1313 treat positional records as exception?

https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1313.md

Ah, it's fixed in 1.2, ok.


CF7 fails to map a route after push if the org/space is changed during the app staging REGRESSION

Describe the bug and the command you saw an issue with
I have a script which pushes multiple apps in multiple orgs and spaces. To minimize the wait time I run cf push commands in background. I try to push 10 apps to every space so when the 10th app in the space is pushed I change my current context and target the next space.
What happened
When the staging for the 10th app is finished it starts mapping route to it and it fails with:
For application 'bin-10': Routes cannot be mapped to destinations in different spaces.
Expected behavior
cf CLI should have a mechanism to save its context (space/org) when it's executed so the change in org/space doesn't affect already executed command.
This scenario was possible with CF6 but not with CF7.
Exact Steps To Reproduce
Steps to reproduce the behavior; include the exact CLI commands and verbose output:

cf target -s space1
cf push app-1 & sleep 5; cf target -s space2

Provide more context

cf version 7.1.0+4c3168f9a.2020-09-09
cf-for-k8s current develop branch
Linux ant 5.4.0-1024-gcp #24-Ubuntu SMP Sat Sep 5 02:07:13 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

@mike1808 - thanks for reporting this issue to us.
We're having trouble reproducing it.
Could you please run your script and for the 10th app in the loop, run the commands with a -v and include the verbose output here for us to review?

@mike1808 - we'll take a look at this once you've had a chance to provide us with the additional information requested in the previous comment.

@heyjcollins sorry for the delay. This is not critical, I'll provide repro script sooner this week.

You can assign a unique CF_HOME for each process to ensure consistent settings for each app.
I'm resolving this issue now. Please don't hesitate to reopen it if you have any more questions or comments.


Investigate scratch application container

We currently use a Debian-based image for running the application due to issues with native TLS support. If we can use rustls for everything, we can probably just ship a scratch container with the built binary.
Our Sentry, Postgres, and Sendgrid support will most likely be the obstacles for this.

It seems very tricky to remove all the native dependencies. Closing for now.


Feature/issue 813 client sends notification token to server

As it stands the permission step on iOS fails - we get a status of "undetermined". We'll need to look into this.

So from the docs:

iOS and Android simulators cannot receive push notifications. To test them out you will need to use a real-life device. Additionally, when calling Permissions.askAsync on the simulator, it will resolve immediately with "undetermined" as the status, regardless of whether you choose to allow or not.

We do still see the "undetermined" when running on a physical iOS device through the Expo app but I'd be tempted to test this further with a staging build.

As it stands the permission step on iOS fails - we get a status of "undetermined". We'll need to look into this.

So from the docs:

iOS and Android simulators cannot receive push notifications. To test them out you will need to use a real-life device. Additionally, when calling Permissions.askAsync on the simulator, it will resolve immediately with "undetermined" as the status, regardless of whether you choose to allow or not.

We do still see the "undetermined" when running on a physical iOS device through the Expo app but I'd be tempted to test this further with a staging build.

We also have the debug build that's available.


[REQ] Make callback for notify

like
UICORE:CreateNotify("Title", "Description", function()
   print("Hello world")
end)

Thank you for the suggestion.


Broken EIP-712 support: all EIP712Domain fields should be optional

Version
N/A
Platform
N/A
Description
According to the spec, all fields in EIP712Domain should be optional:

Protocol designers only need to include the fields that make sense for their signing domain. Unused fields are left out of the struct type.

whereas in ethers-rs currently only salt is:
https://github.com/gakonst/ethers-rs/blob/916e9a73341fab3b326be6ddb6fcd61550c8fc7f/ethers-core/src/types/transaction/eip712.rs#L106-L124
The library pre-computes two type hashes for the domain, but in reality all fields can be optional:
https://github.com/gakonst/ethers-rs/blob/916e9a73341fab3b326be6ddb6fcd61550c8fc7f/ethers-core/src/types/transaction/eip712.rs#L16-L32

I'm working with the Gnosis Safe contract and it only uses chainId and verifyingContract for the domain. I can't get it to work without manually implementing Eip712.

these are now optional
https://github.com/gakonst/ethers-rs/pull/1510
https://github.com/gakonst/ethers-rs/pull/1485


file content gone

a project file content i worked on every detail is saved after electricity came back is gone. is there any solution to get contents back.

The file could be in ~/.atom/recovery
Related to

https://github.com/atom/atom/issues/11406
https://github.com/atom/atom/issues/4161

Thanks for reaching out!
We require the template to be filled out on all new issues and pull requests. We do this so that we can be certain we have all the information we need to address your submission efficiently. This allows the maintainers to spend more time fixing bugs, implementing enhancements, and reviewing and merging pull requests.
Thanks for understanding and meeting us half way :grinning:

i tried but it didnt


Update repo to better organize and document scope and targeted scenarios

Add a typical scenario of usage to illustrate the scope of this tool
Improve dev experience of the repo so they can more easily know where and how to contribute
Overall clean up of repo to better organize and document the effort

I think an important first step in moving forward with the work is to "apply" some of the information [from the concept of operations diagram from NIST's BloSS@M Project[(https://github.com/usnistgov/blossom-case-study/blob/c29f536edf840fb0fb60204d8cec8c5543a395a2/docs/diagrams/Concept.drawio.svg), we may want to discuss the scope and targeted scenarios first and I can touch up the diagram.
To start, @adriandiglio, do we agree we should focus on the L1 maturity practices to form controls, discuss as a group how to prioritize those, and then consider the automation around each? I will try to build out a diagram and some notes in a PR. This work would be more around "how do we plan an OSCAL automation lifecycle" then another step which will focus on "ok, we will apply that lifecycle for S2C2F L1 practices" as a next step. Thoughts?


Update My Lists URL in NavBar to point to GitHub repo

This pull request updates the URL in the NavBar to point to the GitHub repository instead of the previous URL.

What about just updating the aka.ms link?

Good call


Broken links caused by non-standard casing of file names

Our samples have files with inconsistent casing. Such as:

README.md
readme.md
DEPLOY.md

This is causing issues with the Markdown on case-sensitive file systems (Mac, Linux), resulting in PR's such as #921.
We need to standardize the .md files as all lower case.

@cleemullins the model is to use CAPITAL.md for markdown files.  I'd like to follow what the viscose team is doing, which is this model.


basic cleanup of string functions in pdb.exe

Fixed the errors described in #343 (buffer overflow) & #349 (string function warnings) and recompiled using VS2019.  Should compile under 2017 as well, in which you may want to ignore the .vxproj modification.  Output from new version matches old for some fairly substantial PDBs.  Still a lot of hinky bits in the code - has my fingerprints all over it.   :(

I did a raincheck at the pdbdump source code and it seems to be straight forward to create a Java parser.

Looks like you accidentally committed a binary file (yajsw-stable-12.12.zip). You wanna take that out?

Oops - sorry about that.  Will yank it tomorrow.

Alright. I've got it in for review.

Gracias!


python3Packages.meshio: 4.3.10 -> 4.4.6

Motivation for this change
Update to latest version
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 131134 run on x86_64-linux 1

4 packages built:

python38Packages.meshio
python38Packages.sfepy
python39Packages.meshio
python39Packages.sfepy


Take context.Context in all functions

Thanks so much for creating Typesense and hosting the Go SDK! I would really like to pass my application's context when doing my batch imports so that I can properly cancel it and propagate timeouts. I made all such changes that I could see. Let me know if there are any missing.
Change Summary
All functions that were calling the OpenAPI generated code with a context.Background() have been changed to take a context argument.
This is obviously a breaking change in terms of function signatures, so let me know if you'd rather we do something else. We could e.g. add a DeleteContext function, a RetrieveContext function etc.
PR Checklist

[x] I have read and signed the Contributor License Agreement.

Closes #143.

@kishorenc This should be merged ASAP, as it brings this Client inline with Go standards. As of now, this Client is not usable in production without this change.
@vegarsti Thank you for this!

Thank you for these changes @vegarsti -- really appreciate it.
There are a few compile errors though when I attempt to run the integration tests:
TYPESENSE_URL=http://<IP_ADDRESS>:8108 TYPESENSE_API_KEY=abcd go test ./... -tags integration -v

Thank you for these changes @vegarsti -- really appreciate it.
There are a few compile errors though when I attempt to run the integration tests:
TYPESENSE_URL=http://<IP_ADDRESS>:8108 TYPESENSE_API_KEY=abcd go test ./... -tags integration -v

Oops, so sorry, was lazy of me to not check those. The integration tests pass now!

Thanks so much @kishorenc! Will you cut a release with this soon-ish? 😀

Just did a release: https://github.com/typesense/typesense-go/releases/tag/v1.0

Sweet, thanks!
On Fri, 22 Dec 2023 at 14:36, Kishore Nallan @.***>
wrote:

Just did a release:
https://github.com/typesense/typesense-go/releases/tag/v1.0
—
Reply to this email directly, view it on GitHub
https://github.com/typesense/typesense-go/pull/153#issuecomment-1867698083,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABLPSNKQGLI7BXVSO5K4MN3YKWEHXAVCNFSM6AAAAABAZHD6O2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRXGY4TQMBYGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

@kishorenc Can you please tag it as v1.0.0? It requires all three to be present. Currently it will either fail or try to get the v0.1.0 version:
go get<EMAIL_ADDRESS>go: downloading github.com/typesense/typesense-go v0.1.0

I have done that.

I have done that.

Thanks!


Theme issues when showing sources

Hey, thanks for the new features, they're great! I just had a problem with the newest update and how nvim-cmp interacts with themes. Before, everything in the completion menu used to be one uniform color. I was using lspkind as well and it worked just fine. Obviously, colours and bolding need to be used to get this effect:

However, this also changes the colours on the lspkind part of each completion entry, and most importantly, the colour on the source display.
For example:

The lspkind part looks fine no matter what theme I use with it, but the sources on the right are displaying really weirdly, such as that blue color which really clashes with the dracula theme (which is the one in that picture). In some other themes, it doesn't even show up.
For example, in the nord theme:

Here is my current nvim-cmp config. I've tried my best to set it up like it says in the README.
https://github.com/pranavrao145/dotfiles/blob/8ca584b7599270d4e54e1e73ae76ac0747b7e3a3/nvim/.config/nvim/lua/setup/cmp.lua
Does anyone know why this is happening and how to fix it? Thanks for any help in advance!

Alright cool, I had no idea those existed.
Putting these lines in my init.vim solved the problem:
hi CmpItemKind ctermfg=White
hi CmpItemMenu ctermfg=White

Thanks @jlbas, appreciate it.


skyux import path

Current coverage is 100% (diff: 100%)

Merging #8 into master will not change coverage

@@           master    #8   diff @@
===================================
  Files          14    14
  Lines         258   265     +7
  Methods        24    24
  Messages        0     0
  Branches       28    30     +2
===================================
+ Hits          258   265     +7
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last update 3dfe10a...d545ff7


Build System not finding system versions of pybind installed by conda

Short description explaining the high-level reason for the new issue.
Current behavior
The ngen build system is installing its own copy of pybind when there is a system install used.
Expected behavior
The build system should use the system pybind install unless it is out of date.
Steps to replicate behavior (include URLs)

Screenshots

As a note: this is expected behavior (currently) and doesn't have to do with conda. We intentionally use the vendored version of pybind11 (line 275): https://github.com/NOAA-OWP/ngen/blob/dd664668975e84a21d58c79300248210a0a256bf/CMakeLists.txt#L271-L276
The easiest change/fix for this is probably replacing line 275 with a find_package(pybind11 CONFIG) call, and conditionally calling add_subdirectory if pybind11_FOUND is false.


DROOLS-818: add test

Add test case for registering listeners to stateful and stateless KieSessions.
ProcessEventListener will be covered by a corresponding PR for jBPM repo.
Please let me know if there are any changes needed, thanks!

@psiroky added missing header, thanks!

Merged by https://github.com/droolsjbpm/drools/commits/master


Aggregate bonded gets dropped due to incorrect max fee

With Aggregate bonded transaction its harder to calculate the min fee required for the transaction to get process.  The problem is due to the cosigner signatures is not included in the submission of the tx to the server.  The SDK has two proposals to fix this issue.

Use the multisig account graph as state by @evias.

What about using the multisig account graph to determine the number of required signers ?
@Wayonb @fboucquez @rg911 http://api-01.us-west-1.symboldev.network:3000/account/TAWJ2M7BGKWGBPOUGD5NDKHYDDQ7OQD26HJMMQS2/multisig/graph
Knowing that aggregate bonded also have there own "announcement method". I can see this help because the account multisig graph can be iterated over to determine the needed total number of minApproval
Originally posted by @evias in https://github.com/nemtech/symbol-sdk-java/issues/251#issuecomment-601109696
This is gives an accurate min fee but has a lot of cost to figure out all the required cosigners.

Always calculate the max fee using the max cosigners as stated by @dgarcia360.
One costly option for the users would be adding maxCosignaturesPerAggregate * cosignatureSize to the aggregate transaction size. Users can still pay fewer fees if they want to adjust better the cost by reducing the transaction's maxFee multiplier.
 MaxCosignaturesPerAggregate can be retrieved from https://github.com/nemtech/catapult-server/blob/master/resources/config-network.properties#L47

 This change requires to have a configuration parameter on the SDK to define which is the default maxCosingaturesPerAggregate since it might vary per network. The value could also be retrieved from REST if not specified.

I would prefer using the multisigGraph as it is more 'accurate'.

However, if we have to call the multisigGraph, we lose the offline signing?

I think another option is as @Wayonb mentioned in Java SDK.

Take the feeMultiplier as an argument in signTransactionGivenSignatures with some rough calculations:

If fee provided with direct input (not using setMaxFee with multiplier`: NewFee = (oldFee / oldSize) * newSize
If fee provided using the setMaxFee: Add a private var to Transaction to hold the feeMultipler, then in the signTransactionGivenSignatures method replace old fee with: NewFee = newSize * feeMultiplier

we lose the offline signing ability right correct, that's why I didn't like to add this option by default.
To solve the optimal value issue, I propose to mix the options that @rg911 proposed to get the best of them. Note that the dev should still have the ability to define the absolute maxFee that they want to expend for the transaction (e.g. no more than 10 symbol.xym). Here there are the changes required:

Create a service for aggregate transactions to calculate maxFee the number of cosignatories required by calling the multisigGraph.
The aggregate transaction function setMaxFee(feeMultiplier: number) could be changed to setMaxFee(feeMultiplier: number, requiredCosignatures: number). The now takes as the second parameter the value retrieved from the new service, maxCosignaturesPerAggregate defined in the network properties, or any other desired value.


Add security context

There are two tests that fail in adding security context on the task itself.
Apparently in the python sdk the security_context is of type PodSecuiryContext and not SecurityContext which does not enable to specify Capabilities. Is it a bug in the argo python sdk?

Looks amazing! Just one last tiny suggestion then we're good to ship 🚢

This PR looks ready to ship! Let's push a MINOR version bump in VERSION and add a CHANGELOG.md entry then we're set! 🚀

Thank you for the contribution @GuyPozner! 🚀


Random selection of asciidoc files to be rendered

I can't seem to make lib work properly, are there any gochas? I did a standard / follow instructions bundle install and I've got a couple of files:

index.adoc
api.adoc
support.adoc
(and installed a theme via rubygems).

When I do bundle exec jekyll serve, support.adoc and api.adoc get rendered to HTML, but index.adoc remains untouched. Any ideas how I could tackle the issue down? Tried include/exclude, copy pasting the contents, enable debug for more logs, nothing works.

You have to add "front matter" to the top of the document, even if it's empty. An empty front matter looks like this:
---
---

We'd like to get rid of this requirement. That's what we're researching in #57.

@mojavelinux thanks for reply but I don't think this is the topic. All files contain the front matter header, in this format:
---
layout: page
permalink: /support
---

Can I increase the log level and see what class performs the actual selection (I think, based on file extension asciidoc_ext: adoc

Thanks for confirming that. With that out of the way, we can look at the next possibility.
By default, it will match files that end in .asciidoc, .adoc or .ad. Yes, the configuration option asciidoc_ext overrides that, but it's not necessary unless you are matching some other extension.
To debug, run the following:
vim `gem which jekyll-asciidoc`

And add the following to line 101:
warn ::File.join(page.dir, page.name)

That will show you which pages (not posts) the AsciiDoc plugin processes.
I tried with an index.adoc just to be sure it wasn't being excluded and it worked fine for me.
It would be helpful if you could share a project that exhibits this error. That always gets us to a solution fastest.

This is a stripped down version that reproduces the issue:
https://github.com/djalexd/asciidoc-jekyll-test_62
I've also tried your suggestion but doesn't provide much help in logs.
vim `gem which jekyll-asciidoc`

FYI I tried bundle exec jekyll serve --verbose --watch and jekyll serve --verbose --watch, is there other option?

Thanks. I'll dig in and see if I can figure out what's going on.

FYI I tried bundle exec jekyll serve --verbose --watch and jekyll serve --verbose --watch, is there other option?

Not that I'm aware of. Though, it does make me realize that perhaps we should add some logging if the --verbose flag is set. Can you file a separate issue?

I can file a separate issue, sure.
However, I don't think there is a bug in this plugin, it performs correctly. For some reason, they are considered static files, not pages, by Jekyll, hence their contents is simply copied. Unfortunately, I am really noob at Jekyll / ruby in general, so there's not much output I can work with (e.g. https://github.com/jekyll/jekyll/issues/2650 but I don't see any "render page" output).
I will continue digging

I've updated project https://github.com/djalexd/asciidoc-jekyll-test_62, copied file contents from index.adoc to new-api.adoc. Guess what, new-api.html exists while index.html not!

My original instinct was right. It was just my explanation that was wrong. Some of your AsciiDoc files begin with a BOM (Byte Order Mark). You can see it by opening the file with vim using the -b flag.
vim -b index.adoc

Jekyll is not smart enough to ignore the Byte Order Mark, so it its eyes, the file does not have front matter.
This is likely going to be fixed once we solve #57 because we will drop this whole requirement to have front matter in AsciiDoc files and we will also pass through all AsciiDoc files automatically.

I'll add this point to the README.

I still think there's good reason to log the files being processed when the --verbose flag is set. Had you seen that index.adoc was not in the list of pages being processed, you would have know there was a problem with that file.

Documentation updated. Let me know if you think that is clear enough.
https://github.com/asciidoctor/jekyll-asciidoc#creating-pages

Yes, I can confirm that as well :)
I've narrowed the problem down to jekyll/utils.rb#132-142:
    # Determines whether a given file has
    #
    # Returns true if the YAML front matter is present.
    def has_yaml_header?(file)
      fm = !!(File.open(file, 'rb') { |f| f.readline } =~ /\A---\s*\r?\n/)
      Jekyll.logger.info("FM header on file #{file} is #{fm}")
      fm
    rescue EOFError
      false
    end

Based on this (modified) method, I can finally see when Jekyll does not consider those files as pages:
FM header on file .asciidoc/index.adoc is false
FM header on file .asciidoc/introduction.adoc is false
FM header on file .asciidoc/new-api.adoc is true
FM header on file .asciidoc/setup.adoc is false
FM header on file .asciidoc/support.adoc is true

Probably I need a smarted editor, one that can A. display BOM and B. Remove BOM on demand

I'm pretty sure that's the method we're going to overload in this extension so that we can control that decision for AsciiDoc files. Once we do that, and we add logging for pages this converter converts, I think things will become a lot clearer.

I'd like to help with a PR but my ruby skill is practically zero. But still, while this regex /\A---\s*\r?\n/ in Jekyll core is perfectly fine, I would also check for BOM header (and display a warning in logs). let me know if I can help you out with anything, and thanks a lot for your time and effort.

If we take over the has_yaml_header? check, we don't need to worry about the BOM header because Asciidoctor already handles it correctly.

I'm going to close this issue as being solved by documentation. The handling of the BOM we'll address in #57.

I still think there's good reason to log the files being processed when the --verbose flag is set.

As it turns out, Jekyll already does this. However, it only reports files that have front matter header (which is where #57 comes in).
Here's an example:
  Rendering: index.adoc
  Pre-Render Hooks: index.adoc
  Rendering Liquid: index.adoc
  Rendering Markup: index.adoc
  Rendering Layout: index.adoc

That's pretty detailed information.


Fix

Based on speculation with community member davidobrien1985. There could be Grant Condition, that does not include any MFA like conditions. Other idea is that similar condition can include MFA conditions, but technically still contain OR condition to something like TOS acceptance

Based on speculation with community member davidobrien1985. There could be Grant Condition, that does not include any MFA like conditions. Other idea is that similar condition can include MFA conditions, but technically still contain OR condition to something like TOS acceptance


Bumped to pdoc 0.9.0.

Currently failing to build from pdoc issue https://github.com/pdoc3/pdoc/issues/245, so this
will need to be updated when that issue gets resolved or reverted.
Will close #94 once fixed.

The issue has been solved and this should now work.
Btw, since this is a bit in the scope of this pr, mind adding slots to the BotAware trait? Its missing them and a weakref_slot is being assigned to it

The issue has been solved and this should now work.
Btw, since this is a bit in the scope of this pr, mind adding slots to the BotAware trait? Its missing them and a weakref_slot is being assigned to it

On it.


Chapter 5 docker-compose -f docker/docker-compose.yml up Fails.

I cloned the projects and followed the instructions in the md, but docker-compose is failing.  My understanding is docker/docker-compose.yml must be processed first to start Postgres and configserver.  After that, the licensing-service can be started.  The attached file shows the output from processing docker/docker-compose.yml.
chapter5 docker-compose -f docker docker-compose.yml up.txt

Can you run the docker-compose up command again? It should be fixed now. The problem was that I was using an incorrect database service id on the licensing-service-dev.properties file in the configuration GitHub repository.
The part that you previously mentioned is right, but for that specific case, I added the depends on section in the docker-compose file for the licensing-service. The requirement to start the licensing service is to have a database instance healthy and a config server instance up and running.

I reran C:\Users\ezazpi\Documents\IntelliJ\manning-smia\chapter5>docker-compose -f docker\docker-compose.yml up and the postgres, licensingservice, and configserver successfully started.  However, when I ran a database query, postgres couldn't find the license table.  I'll open a separate issue.  Thank you.
C:\Users\ezazpi\Documents\IntelliJ\manning-smia\chapter5>docker ps
CONTAINER ID        IMAGE                                     COMMAND                  CREATED              STATUS                        PORTS                    NAMES
af298ee5f75f        ostock/licensing-service:0.0.2-SNAPSHOT   "java -cp app:app/li…"   About a minute ago   Up About a minute             <IP_ADDRESS>:8080->8080/tcp   docker_licensingservice_1
0475d6887237        ostock/configserver:0.0.1-SNAPSHOT        "java -cp app:app/li…"   About a minute ago   Up About a minute             <IP_ADDRESS>:8071->8071/tcp   docker_configserver_1
2352673e6083        postgres:latest                           "docker-entrypoint.s…"   About a minute ago   Up About a minute (healthy)   <IP_ADDRESS>:5432->5432/tcp   docker_database_1


[Automation] Generate Fluent Lite from Swagger apimanagement#package-2022-08

[Automation] Generate Fluent Lite from Swagger apimanagement#package-2022-08

/azp run java - apimanagement - mgmt - tests

API change check
APIView has identified API level changes in this PR and created following API reviews.
com.azure.resourcemanager:azure-resourcemanager-apimanagement

/azp run java - apimanagement - mgmt - tests

/azp run java - apimanagement - mgmt - tests


Allow manual docker image build

Hey, I just made a Pull Request!
Currently you can't run deploy_docker-image.yml manually to validate fixes to this workflow. As you can see it's been failing for some time now with effort put in to fix it but no easy way to validate the fixes: https://github.com/backstage/backstage/actions/workflows/deploy_docker-image.yml
This change adds on workflow_dispatch and does a check to see if it should push or not. This should give us a bit more flexibility should we have issue with this workflow.
:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Thanks @freben 🚀


feat: Use Earthly for deploying containers

Adds Earthfile for simpler deployment of the components in the monorepo.

@saibatizoku Should we merge it?


Enable Dev builds with Xcode 13.1

Description
Enables builds with Xcode 13.1. Fix found in https://github.com/luggit/react-native-config/issues/365#issuecomment-627236621.
Other changes
N/A
Tested

Debug and builds successful in Xcode 13.1 on Monterey.

How others should test

Create a debug build in Xcode 12.5 on Big Sur.
Create a release build in Xcode 12.5 on Big Sur.

Related issues

Fixes #1322

Backwards compatibility
Investigating

For those attempting to run Xcode 12.5.1 in Monterey there is the following workaround:

Download Xcode 12.5.1.
Move it to your applications folder overwriting Xcode 13.1.
Run from terminal with /Applications/Xcode.app/Contents/MacOS/Xcode.


Export to PDF does not work when the markdown contains images from Google +

When I attached a bunch of images to the markdown file, the export to PDF results in an error saying "Document is damaged". Also the export to HTML too is wonky as the images are not aligned according to the way it is shown in the preview

I have the same problem I cant figure out  till you said it's problem of containing photo from Google+.

I have test it，Maybe this problem  have nothing with Google+ photos.I delete all photo in my doc,the pdf is still broken.At last,I finally find out,I have some code embed in quote <  .And I think maybe this is the problem,so I move the code out of quote,the exported
pdf is just fine to open.
Hope this can help you:)


How are changes to the java-cnb build and detect communicated?

Recently the cflinuxfs3 builder image was updated. This update resulted in the removal of the archiveexpanding buildpack:
➜ pack inspect-builder cloudfoundry/cnb:0.0.68-cflinuxfs3
Detection Order:
  Group #1:
    org.cloudfoundry.archiveexpanding             (optional)
    org.cloudfoundry.openjdk
    org.cloudfoundry.buildsystem                  (optional)
    org.cloudfoundry.jvmapplication
    org.cloudfoundry.tomcat                       (optional)
    org.cloudfoundry.springboot                   (optional)
    org.cloudfoundry.distzip                      (optional)
    org.cloudfoundry.procfile                     (optional)
    org.cloudfoundry.azureapplicationinsights     (optional)
    org.cloudfoundry.debug                        (optional)
    org.cloudfoundry.googlestackdriver            (optional)
    org.cloudfoundry.jdbc                         (optional)
    org.cloudfoundry.jmx                          (optional)
    org.cloudfoundry.springautoreconfiguration    (optional)

➜ pack inspect-builder cloudfoundry/cnb:cflinuxfs3
Detection Order:
  Group #1:
    org.cloudfoundry.openjdk
    org.cloudfoundry.buildsystem                  (optional)
    org.cloudfoundry.jvmapplication
    org.cloudfoundry.tomcat                       (optional)
    org.cloudfoundry.springboot                   (optional)
    org.cloudfoundry.distzip                      (optional)
    org.cloudfoundry.procfile                     (optional)
    org.cloudfoundry.azureapplicationinsights     (optional)
    org.cloudfoundry.debug                        (optional)
    org.cloudfoundry.googlestackdriver            (optional)
    org.cloudfoundry.jdbc                         (optional)
    org.cloudfoundry.jmx                          (optional)
    org.cloudfoundry.springautoreconfiguration    (optional)

A consequence of removing archiveexpanding is that it changes the semantics of pack build. With archiveexpanding in the detection group, it is possible to run pack build some-project from within the directory that contains the jar/war and successfully generate an image which will run some-project.
Now that it's removed, that command will fail with the following (truncated) output:
[detector] ERROR: No buildpack groups passed detection.
[detector] ERROR: Please check that you are running against the correct path.
[detector] ERROR: failed to detect: no buildpacks participating
ERROR: failed with status code: 6

The resolution is to change the pack invocation to pack build -p path-to-warfile some-project.
I have no strong opinion about the value provided by the archiveexpanding buildpack. However the behavior of the pack build command changing with an update to the cflinuxfs3 builder (and mitigation steps) was a surprise and a proved to be a bit of a challenge to track down.
I have two questions:

Was it intentional to make specifying --path required?
How are builder changes (and their mitigation steps) which can impact build / detect behavior communicated?

cc @cloudfoundry/cf-uaa

Was it intentional to make specifying --path required?

Yes.  In fact we'd always assumed that's what people were doing, and hadn't even thought that people might be pushing a directory with only a built JAR inside of it.  The goal is to make this equivalent to the cf push behavior around archives and it now is.

How are builder changes (and their mitigation steps) which can impact build / detect behavior communicated?

This would typically go out as semver changes to the major along with a release note.  At this time, we're very much pre-production and so we're not holding to that strictly.  That being said, some of the builders in the world did rev major versions (note the oldest tag) for it, but not all.
This could certainly have been communicated better, but I had expected it to be non-breaking (not envisioning how you were using it).

and hadn't even thought that people might be pushing a directory with only a built JAR inside of i

Isn't that the use case described here:
https://buildpacks.io/docs/app-journey/

and hadn't even thought that people might be pushing a directory with only a built JAR inside of it

I can imagine that these directions were followed and it was a happy accident that the war was unpacked.
At any rate, I totally get that this repo is pre-production. I want to be able to understand what is changing while it stabilizes so that we can address issues in our environment (like this) as they come up.


fix: resolve BackHandler problem with floating elements (modal, tooltip, alert)

Hey @DennisHesler, this issue will be fixed in this #1745 PR.


Bloxshade installer asking to move Roblox installation

As the title says, the Bloxshade installer does not allow for the Roblox installation to be in "C:\Program Files". It suggests that I move my Roblox installation to anywhere else, so I tried moving Roblox to my D:\ drive. Now the installer does not recognise Roblox anywhere and asks me to download it, which would make this a loop. What I've tried so far:

I have an NVIDIA GPU (Quadro RTX 3000)
My system is capable of using Roblox with shaders
Asking for help on the Discord (the guide to solve my issue did not work)

What would be the correct place to move the Roblox installation so that the Bloxshade installer recognises it? Screenshots attached with the error code(s).
At the time of writing this issue, I've reinstalled roblox a couple of times and checked all versions from v2.8.16 to v2.8.12 and Bloxshade doesn't even recognise my Roblox installation anymore. I've started up the game before installation to make sure Roblox generated all the necessary files. Does someone have an idea of how to fix this?

bro, I also have this problem, but it only appeared after the Bloxstrap update, I tried reinstalling Bloxstrap and Bloxshade, but nothing worked.

you might want to install a earlier version or earlier versions of blox strap for it to work with blox shade


Warning: #1287 'VALUES function' is deprecated and will be removed in a future release

Laravel Version
10.37.3
PHP Version
8.2.13
Database Driver & Version
8.0.35
Description
Warning: #1287 'VALUES function' is deprecated and will be removed in a future release. Please use an alias (INSERT INTO ... VALUES (...) AS alias) and replace VALUES(col) in the ON DUPLICATE KEY UPDATE clause with alias.col instead
The upsert function uses VALUES function and  VALUES function is deprecated
Steps To Reproduce
Laravel:
Example::upsert(Example::find(1)->toArray(), ['id','created_at']);

MySql:
INSERT INTO `example` (`id`, `name`, `created_at`)
VALUES (1, "test", "2023-12-14")
ON DUPLICATE KEY UPDATE
   `id` = values(`id`),
   `name` = values(`name`),
   `created_at` = values(`created_at`)

change to:
INSERT INTO `example` (`id`, `name`, `created_at`)
VALUES values (1, "test", "2023-12-14") AS new_record
ON DUPLICATE KEY UPDATE
   `id` = new_record.`id`,
   `name` = new_record.`name`,
   `created_at` = new_record.`created_at`

Heya, if you could send in a PR that fixes this in a backwards compatible way with MySQL 5.7 we could consider it, thanks.


Attribute reporting in large networks

What would be the best way of keeping track of attribute changes in a large Matter network? For instance, if we had 50 nodes and one controller, which needs to get notified on attribute changes, would the controller just create 50 subscriptions? Doesn't this strategy incur a "huge" overhead on the controller's side - e.g. for each subscription we have to create a ReadClient to handle the liveliness checks and and possibly do re-subscriptions? In a ZigBee setup we would normally create bindings and receive attribute reports without having to implement any management logic on the controller's side. Matter also supports bindings, but I'm not quite sure whether these can be only used to trigger commands.
Any thoughts or suggestions are highly appreciated.

would the controller just create 50 subscriptions?

That is the way it's expected to work, yes.

Matter also supports bindings, but I'm not quite sure whether these can be only used to trigger commands.

What exactly bindings do is not defined in the spec, and in practice it's left to the application what to do with them.  But there is no way to do the equivalent of ZigBee's "configure reporting" (which is needed in addition to bindings) apart from subscriptions.


Linkify http://localhost:4200 in README.

I've signed it!

I signed it!

@tstirrat I'd assumed it might come in handy for re-use elsewhere in the doc, but regardless, I've force pushed a re-commit with inline link.


Contradictory info about supported versions of Python

In Supported Python Versions, it's written that only Python v. 3.6 and 3.7 are officially supported and that there are no guarantees for versions <=3.5 / >= 3.8. Simultaneously, in Installation the environmental file environment.yml has the dependency python>=3.8.
Would you clarify, please?

Hi @iGulitch, thank you for catching that! Foyer is supporting Python 3.8-3.11. We will update the docs page to reflect that.

Hi @daico007 and thanks for your quick reply!
What about Python v. 3.12.3? I got this one when install Foyer just now.

Python 3.12 could be fine for foyer, but not some of its dependencies (mBuild/mdtraj). I would recommend using Python 3.11

Clear, thanks!
Then, from my side, I'd suggest you to double the yml files with environment, since a fresh installation via git clone with given environment.yml will give the latest available Python version that is 3.12.2 now. Besides, the one for Windows has the dependency python <=3.8 unlike all other yml files, where it's python >=3.8 instead.


Add Steve Jobs quotes

Description
We have some vaccant space at bottom of home page, We can fill by adding famous Steve jobs quotes.
Mocks

Acceptance Criteria
Update [Required]

[x] [Must be Jobs quote]

Enhancement to Update [Optional]

[x] [Add -Steve Jobs as a writer name after the quote in next line]

Definition of Done

[x] All of the required items are completed.
[x] Approval by 1 mentor.

I want to work on it

I want to work on it

Send a clean PR ASAP.

I'm on it, you'll get the PR in 1h max.

Done, let me know if you want me to change anything about it.

I want to work on it

Send a clean PR ASAP.

Should I work or is it done. I planned to add a slideshow of quotes

I want to work on it

Send a clean PR ASAP.

Should I work or is it done. I planned to add a slideshow of quotes

Send your PR with changes I mentioned in @Neox63 PR.

Hey, thank you for merging. But you merged the 2 PR's and there's huge incoherences in the code rn. There is my script in the js folder (quote.js) that references a deleted tag in index.html (because of the merge of the 2nd PR) AND the script tag of @nilisha-jais that references the 'spam' id at line 845.
It's very unlogical and it make the code heavier for nothing. i read the PR of @nilisha-jais and tbh, the script should not work like that.
I saw severals things in the @nilisha-jais 's PR that is not good for a good 2021 JS code :
First of all, you are using innerHTML, this is REALLY dangerous and may cause many XSS flaws in the website. You should not use it for something like that.
Second point, you are making and array with var, this cause hoisting and it's not good for the readability and performance.
Third point, in the array, the class 'quote' is named 'quote;', so the CSS code doesn't apply to it as you call the .quote selector in the CSS file.
Fourth point, you probably took the structure of HTML in my PR, this is totally OK but there is empty tag : 'span.quote-notation' should not be empty, i removed the tag in my second PR as i just put the quote signs in the array directly. You can also delete the .quote-notation in CSS.
Fifth point, using ' ` ' (template strings) in the array is not good for performance as you append 0 variables to it. It slows down the script.
And lastly, i think you should use .js file directly instead of making a script tag in the source code. It's way better for readability.
That's pretty all the mistakes i saw (I'm a Javascript dev and i'm very annoying with theses standards, i'm sorry but i had to say it x) )
You should merge just one PR at once. RN the code is working, but my js script is useless as the tag was deleted by @nilisha-jais 's PR.
I can make another PR if you want where i clean all of this. Just tell me !
PS : Theses are just advices, don't take it as an offense, i just like well written code ! :)

( @anubhavsingh16 )


Use fine-grained dependencies on Buildkite

This allows removing the checkstatus.sh logic.

@huonw is this a draft, or ready for review? If the latter, should Denis be a reviewer?

In theory yes, but this is superseded by #545 (in particular https://github.com/stellargraph/stellargraph/pull/545#issuecomment-562464251).


Support edits for file rename

Codecov Report

Merging #270 (1afba2b) into main (382f971) will increase coverage by 0.18%.
The diff coverage is 0.35%.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 382f971...1afba2b. Read the comment docs.


Fix anonymize method

There is currently a method called anonymize that lives in /lib/anonymize.js.
It is incomplete and needs to be fixed!
Returns the users name anonymized such that only the first letter of each name is exposed

The remaining characters are each replaced with '*'
Ex. anonymize("John Smith Doe") returns "J*** S**** D**"

Acceptance Criteria:

Running yarn test anonymize results in tests passing.
You have written a skeleton method for someone else to work on.
You have written tests surrounding your skeleton method.
Running yarn lint does not print any errors to the console!
Optional: write one or two more tests surrounding the method you are solving to account for potential edge cases.

Please include the skeleton of a new method + an accompanying test for someone else to work on at the time of creating a pull request! A pull request will most likely be denied if it does not contain a skeleton method for someone else to work on! For more information, please read the Contributing Guide.
Thank you so much for your contribution!

I'll take this one

Cool @ChrisPlease - it's yours

@BlakeGuilloud in, created a new ticket for the method I added here: #331


How do i access this programatically?

I installed this via a fork from this repo and merged it up with another fork that works better than this one for my needs
I would like to do something like
from src.django_coupons.coupons.models import foobar
I would like to know how to use this module programmatically to create coupons on demand based on actions.

issue seemed to resolve itself after i reloaded pycharm