Orthography profiles edits

Updated all profiles except Proto-Austronesian , "Uraustronesich", and PMP.
I didn't bother too much with languages that just have a couple of forms.

@lvblum Just merged, recreated the CLDF data in the main branch and pushed.


Document how to integrate Quarkiverse Amazon DevServices with custom Dev Services

I have a quarkus app that uses Amazon S3 that I like to use in quarkus dev mode. I really enjoy and appreciate this extensions ability to start a localstack container and configure my AWS SDK inside the app.
My app has an external dependency on another service that I run locally with Docker. This service also needs access to the same localstack container as my app. I attempted to write a dev service and can quite easily create another extension that creates a new DevServicesResultBuildItem responsible for starting/stopping a docker container.
However, getting access to the localstack container's generated host name on the the network is quite challenging. This line of code is responsible for configuring the network with the hostname localstack-<random-string>.
It would be nice to be able to explicitly depend on the Amazon Dev Service build item in some way shape or form, but I was unable to do that. I can't reliably find that the amazon devservice container starts before my own build item so manually inspecting the docker daemon state and attempting to discover the localstack network/hostname/host port doesn't seem to work either.
Is there some mechanism I'm missing with quarkus extensions?

AFAIK, it is currently not possible to orchestrate order of dev services from different extensions. I guess each container should be responsible of waiting for its dependencies to be available to be ready. This should be enough if the dependency graph acyclic and it keeps things simple and isolated.
When not possible, this discussion is a good start describing your issue. you could also look at this DevServices Processor where it implements a consumer of DevServicesLauncherConfigResultBuildItem to ultimately start a container but you will not be able to return dev services properties.
As for, Quarkus Amazon extension, I think that if we add ability to configure a network alias for the container, you should be able to connect to it from your other dev services when using a shared network. The line ConfigureUtil.configureSharedNetwork should be rewrited accordingly to a more recent pattern introduced by this PR. Then when shared network is turned on, we can add a predictable network aliases based on the serviceName (something like .withNetworkAliases(serviceName);) The alias will be localstack-s3 in dev mode.
Would you like to contribute ?


new oneoff script to constructing PVs of a set of positions

I'm using FLAGS as a global instead of passing it around which is just easier. Given these scripts are <100 lines I think it's nice to avoid LONG parameter lists.

/ok-te-test

/ok-to-test

LGTM, thanks :)


No Such File or Directory

$ goaccess -p /usr/local/etc/goaccess/goaccess.conf mylog.log-20190502 ~/desktop/alpha.html

GoAccess - version 1.3 - Apr 29 2019 17:12:23
Config file: /usr/local/etc/goaccess/goaccess.conf

Fatal error has occurred
Error occurred at: src/parser.c - read_log - 2728
Unable to open the specified log file. No such file or directory

$ ll
-rwxr-xr-x   1 rich  admin    21K Oct 15  2018 mylog.log-20181003
-rwxr-xr-x@  1 rich  admin   1.1M May  2 07:59 mylog.log-20190502

For some reason, the log file cannot be opened.  It's there (last line) and it's copied and pasted so I'm not overlooking it.
Anything I should try?

Please specify the output flag. e.g.,
$ goaccess -p /usr/local/etc/goaccess/goaccess.conf mylog.log-20190502 -o ~/desktop/alpha.html

That was it.  Not sure how I missed that.


gdcm, or-tools: improve darwin build

Description of changes

Inspecting the build logs the following error message appeared several times during the cmakeConfigurePhase:
* Error: Could not run sw_vers:
  No such file or directory

This PR adds DarwinTools to the nativeBuildInputs for darwin builds to provide the sw_vers command during builds.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
ℹ 2 packages marked as broken and skipped: c3d ezminc
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release 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.

Add a :+1: reaction to pull requests you find important.

Friendly ping to @wegank, as there is on-going work on or-tools in #272425

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/1726

Thanks for merging this, @wegank, much appreciated 👍


[DDW-588] Refuse inserts over decimal separator

This PR fixes an issue with NumericInput when entering numbers after having selected the decimal separator in a numeric input configured to always show a specific precision. This resulted in weird numbers being produced because the decimal separator was deleted This is now simply refused, so the number is not changed at all:
https://user-images.githubusercontent.com/172414/113428477-269ce400-93d7-11eb-9d0a-8f86888cb67b.mp4
How to test:

[ ] Go to the storybook "numeric input > decimals places (6)" and try to insert (type) new numbers while having a selection that includes the decimal separator. This should be refused in all cases (it should never be possible to "delete" the decimal separator with the setting of having a fixed required number of decimal places)

Test Scenarios
Scenario 1 -  Select separator and insert a number
Given that I am on the "NumericInput" Screen
And a value is inserted in the field
When I select the decimal separator on the number
And I insert a number to replace the selection
Then the decimal separator is not replaced with the value
And the cursor moves to the right of the selection

Scenario 2 -  Select separator and at least a digit and insert a number
Given that I am on the "NumericInput" Screen
And a value is inserted in the field
When I select the decimal separator and at least one digit before or after it
And I insert a number to replace the selection
Then the decimal separator is not replaced with the value
And the cursor moves to the right of the selection

@DominikGuzei This looks good. I was wondering if this should be consistent and be implemented to the thousand separators as well, but I think the user could be limited if they want to replace part of the whole number. What do you think?
Also when you delete the value in NumericInput then you can't insert any value again and have to refresh the page to be able to do so. I'm just wondering if this is affected by this change in case the behavior transfers to Daedalus. Check this video.

thanks for the feedback @gabriela-ponce, I think it's ok if the users overwrite the thousand separators 👍
The second issue you found is definitely a bug

@gabriela-ponce please test again, the issue Also when you delete the value in NumericInput then you can't insert any value again and have to refresh the page to be able to do so. should be fixed now


Update Action.php. Add 'invoked by ' to the debug message.

Add 'invoked by ' to the debug message when \yii\base\Action is used.

Q
A

Is bugfix?
no

New feature?
no

Breaks BC?
no

Tests pass?
yes

Fixed issues
-

When InlineAction is used debug message looks like this:
Running action: User\Account\App\Controller\InfoController::actionPhoto()

But for \yii\base\Action it logs only action class name and doesn't log controller class name, it's useful to see the controller name which invoked the action like this:
Running action: App\Domain\Web\Actions\ListRecords::run(), invoked by Report\App\Controller\Frontend\LibraryController

Merged. Thanks!


3D file for non-touch basic screen is missing

Hi,
I've imported the 3 stp files in the 3D_file folder into Inventor and realized that there are two files containing the model of the touch screen, but none containing the model of the non-touch version.
See the screenshot below:

Could you also upload the non-touch version 3d files?
Best,
Hagen

I'll add it later

Done !
https://github.com/Xinyuan-LilyGO/T-Display-S3/blob/main/3D_file/noTouch.stl


[Bug] Cancellation when using local activities

What are you really trying to do?
In a workflow I am running a local activity. When I receive a signal I want to cancel the activity which runs in a cancellable scope and start a new activity.
Describe the bug
In some situations when the signal is received I get a
Fatal(\"Invalid transition while attempting to cancel LocalActivityMachine in MarkerCommandCreated\")

on which the workflow is stuck. This happens I think when a signal is received on the worker from the server while my local activity in the worker is finished before I handle this signal. The signal then tries to cancel the scope while it is already in a completed state resulting in an incorrect state machine?
I don't know how the state machine exactly works when having local activities. I thought that when you run local activities signals were not handled until the local activity is done. So maybe a question is then why the LocalActivityMachine cancelled?

Here local activity markers where received by the server in some other situations the local marker is not there probably this depends on the timing between local activity / workflow task and signal.
Minimal Reproduction
I tried to reproduce this but because this is a race condition I did not manage to reproduce this in a simple example...
Environment/Versions

Linux x86_64 AMD EPYC 7B12
Temporal Server Version | 1.22.0
Temporal UI Version | 2.16.2
Temporal TS SDK 1.9.1
Kubernetes

Ok, I missed that I was behind 😊 Seems like the last patch update has some fixes which might resolve this ^^
Unfortunately, I can't share this code. I will make a simplified case and try to randomly load it to see if I can reproduce.


Fix wrong buffer clear

In LwjglGL20.toIntBuffer use intBuffer instance to pass it to gl* functions, but before coping clear floatBuffer instance.

Thanks!


List all accounts in the service

As a DevOps
I needList all accounts in the service
So that [benefit]
Details and Assumptions
* [document what you know]

Acceptance Criteria
gherkin
Given [some context]
When [certain action is taken]
Then [the outcome of action is observed]

OK


Migration layer disappears after zooming

This is the first time I am using this plugin and I am facing a challenge. The map and migration layer load as expected, however, the migration layer disappears when I zoom in or out and does not reappear until I reload the page.
There are no errors in the console, I have changed browsers, and tried it on different computers but the problem still persists. I even recreated the demo on this page but the migration layer still disappears. If anybody encountered this same challenge in the past, please help me with the solution.
All ideas are welcomed. Thank you.

In case someone encounters a similar problem, this is how I solved it.

Visit the official demo page of this library. https://lycheelin.github.io/leaflet.migrationLayer/
Right-click on the page and select "inspect". Choose the "Sources" tab (I use Chrome).
Click on "src.js" under the "src" folder. Copy the entire code in the src.js file.
Go to your working directory and replace the "src.js" code with the one you just copied.

I don't know why but it worked for me.

Maybe it's because I didn't update in time, the source code, if you have time, can you help initiate a pr, I will merge it in.

Okay, sounds great.


Request for Model Usage and Citation in Research Paper

Hello, can I use this model in my own research paper, and how to cite it, thank you for your reply

Thanks @grndng -- would something like this work?
@misc {vik_2024,
author       = { {Vikhyat Korrapati} },
title        = { moondream2 (Revision 92d3d73) },
year         = 2024,
url          = { https://moondream.ai/ },
doi          = { 10.57967/hf/3219 }
}


Error on creating new meeting

I tested my servers and connection is true
dd(\Bigbluebutton::server($server)->isConnect());
I tried all three ways but it shows the same error

Cannot redeclare BigBlueButton\Parameters\CreateMeetingParameters::setFreeJoin()

It fixed itself and I did absolutely nothing about it🙄


Scala Hadoop Enrich: add test for SQL Query Enrichment

Test is disabled for now and needs to be enabled after https://github.com/snowplow/iglu-central/pull/349 merged.

Hey @alexanderdean! Just heads up that we need to release Iglu Central to make this test work.

That's fine - that's next on my list to do!


Target netstandard2.0 in all libraries

All the manual changes are in the first commit.

Just realized this won't include the REST APIs - will add another commit for those. Hold off reviewing :)

Done now - the third commit is one line of manual changes and the generated projects.


On-demand backup retention for SAP HANA DB.

Page seems to have some contradicting information for on-demand backup for SAP HANA DB.
It says: "This backup will be retained according to the policy associated with this backup item."
And then: "By default, the retention of on-demand backups is 45 days."
In reality, user interface allows choosing retention date when performing on-demand backup for SAP HANA DB. But it is later impossible to find it. So it is unclear, for how long SAP HANA DB on-demand backup will retain.
More clarification needed on this matter.

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

ID: 3098ab8e-c9fc-aa27-911a-079f9d2360a7
Version Independent ID: 19e00529-963b-f5f5-cd2c-9f09dd6a2b24
Content: Manage backed up SAP HANA databases on Azure VMs - Azure Backup
Content Source: articles/backup/sap-hana-db-manage.md
Service: backup
GitHub Login: @v-amallick
Microsoft Alias: v-amallick

#assign: @v-amallick
@peterzdovc - Thanks you bringing this to our notice. Currently, we support selecting a custom retention date for on-demand backup. The retention is fixed for 45 days.
We will update the document according. Thank you once again.

Users v-amallick are already assigned.

Hi @peterzdovc -
We have updated the article in private PR - #205625. This will be live soon.
Thanks!
#please-close

The confusion is due to the fact that it is possible to choose the retention date. See attached document.
SAPHanaDb-OnDemandBackup-Full.docx

@peterzdovc - Thanks for sharing the screenshot. We've issue/bug due to which we can't offer custom retention for now. We've planned to introduce it soon.

Hello,
has the bug been fixed? Thank you for the information.


⚠ ClamAV has degraded performance

In 7bbf4d2, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 62 ms

Resolved: ClamAV performance has improved in 205129d.


SubmitSauce page

Create the webpage for submitting custom sauces

i did the html/js/bootstrap part

well done mate


Support python 3.11 & 3.12

This PR expands the test grid to support Python 3.11 and 3.12
It also pins the recent stable 1.x version of polars, rather than the dev 0.x version.
It pins numpy < 2 as the the numpy 2 release, among other things, deprecates np.NaN for np.nan, which will necessitate some refactoring https://numpy.org/devdocs/release/2.0.0-notes.html
This PR disables the cache so that new versions of polars etc. are fetched. An alternative is to move to micromamba for the CI, which should give a speed improvement over conda

So I thought all the changes for numpy 2.0 were in already.  Of not maybe just fix them?
I'm pretty surprised by the 2.0 change as I don't remember np.NaN being deprecated and I don't understand why it needed to be removed.

Yeah I'm not sure why they felt the need to remove it, but it's an easy backward compatible change for us to make replacing np.NaN with np.nan. I'll replace it in this PR and unpin numpy in the requirements

I must have forgotten to push some of these changes as I'd already been using 2.0.   But that's fine I can rebase


Allow archiving from specified external domains

Issue: #CAP-1124
What Changed

Allows users to specify which external (to the site being tested) domains whose resources will be archived. This is done by specifying the allowedArchiveDomains value in the user's playwright.config.js file.
I've updated the calling code from Cypress to still work, but it doesn't pass this config option through yet.
I've also inlined more of the test's expected values, both to limit how much test-specific logic we have and to make it more explicit what the test expects.
How it works
We now (internally) make note of what URL the test is being run against. We then compare URLs against our external-domain-allow-list and archive resources from the origins that match.
When archiving other-domain URLs, we prepend their file path with the host.
How to test

Use this version of the package in your Playwright test
Create a test that references multiple assets (like images) from another domain
In the playwright.config.js file, specify one of these domains
Run npx playwright test
Verify that the asset at this domain has been archived
Run archive-storybook
Verify that the asset loads in as expected

Change Type

[ ] maintenance
[ ] documentation
[x] patch
[ ] minor
[ ] major

📦 Published PR as canary version: 0.0.39--canary.37.88cfa0f.0

:sparkles: Test out this PR locally via:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

:rocket: PR was released in v0.0.39 :rocket:


TEST DONT MERGE

Notes for Reviewers
This PR fixes #
Signed commits

[ ] Yes, I signed my commits.

🚀 Preview for commit b9b9aa6cd9695ab6a9d2f94576df4ca218a25596 at: https://66aae5d55dabdd43f1f0e93d--meshery-docs-preview.netlify.app


MAINT: Just take a PipelineEngine in TradingAlgorithm.

Instead of a function that produces a loader, just let the user pass a
PipelineEngine.

This is unlikely to be merged in its current form.


Add delivery jobs

-need to update delivery jobs book, json for deliveries, model, model manager and UI


getArticle last revision or cached version?

I have written a bot using this plugin, but I noticed some strange behaviour. At this point my bot is a bit inefficient, it edits the same article multiple times, i.e.:

get article
add a string somewhere
save article

(some other code)

get the same article
add a string somewhere
save article

But when I access this article the second time, it overwrites the changes made in the first time saving the article. So I thought, it probably accesses a cached version when I try to get the article the second time. Is this true? Can I avoid this by forcing to really get the last revision when requesting an article?

While debugging I found, jwbf generates the following url (just an example):
http://tibia.wikia.com/api.php?action=query&format=xml&prop=revisions&rvlimit=1&rvprop=content|comment|timestamp|user|ids|flags&rvdir=older&titles=Burster
If I do an edit and then access that url it gives me an older revision. To get the brand new one I can play with rvstart, e.g. this works:
http://tibia.wikia.com/api.php?action=query&format=xml&prop=revisions&rvlimit=1&rvprop=content|comment|timestamp|user|ids|flags&rvdir=newer&titles=Burster&rvstart=2017-02-26T18:35:16Z

Feels like an wika related problem - or is it reproducible with plain media wiki?

I'll try to reproduce it with plain media wiki and let you know.


Should probably list this as a prerequisite

.Net 7.0.4; 'Zelda 3 Launcher.exe' will not run until you have this installed.
https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-desktop-7.0.4-windows-x64-installer?cid=getdotnetcore

Did it prompt you to install the runtime when you attempted to run the application? Did it include a link to the runtime itself as well?

Yes it did.

Since the framework requirement is presented by Windows and a link is provided to download the necessary framework, I would consider that issue covered as you do not need to independently download the framework but are instead directed to it via Windows itself and not all people will need to install the framework as it may already be installed.


Feature Request: ignore (or extract) not specified extra options instead of fail

Hi there,
It would be great to be able to ignore not specified options when parsing arguments.
My use case is that some runtime invokes my python script with additional options for which I don't have any control. I'd just like to ignore them.
For instance, if I use the naval fate example from README.md, I'd like the following command to be valid:

naval_fate.py ship shoot 1 2 --unwanted-option
naval_fate.py ship --unwanted-option shoot 1 2
naval_fate.py --unwanted-option ship shoot 1 2

Another idea would be to, instead of ignoring them, simply extract them in another dict as the argparse library do via the parse_known_args method.

I plus that.
If you use a single interface for multiple scripts, it can be handy to simply ignore --unwanted-option otherwise you need either:

run a pre-parsing stage to filter all --unwanted-option(s) depending on each script (complicated)
or
add all possible --unwanted-option(s) to all scripts even if these scripts do not use the options (make scripts unclear))

Seems very strange at first reading. A command line interface is explicitly designed to refuse malformed call. And that's especially what docopt is for: you describe the command line argument you want, and everything else would be refused.
@ncolomer you said:

My use case is that some runtime invokes my python script with additional options for which I don't have any control. I'd just like to ignore them.

This means that the caller don't respect your provided command line interface, right?
Like a function call:
missile_inventory = {
"long_range" : 20,
"air_air" : 10,
"air_ground" : 100
}

def send_missile_to_ship(number_of_missile, missile_type):

If I call the function:
send_missile_to_ship("we will win the war", "nuclear missile", 35)

that will fail, right? prototype mismatch, in almost any programming language, right?
So it's up to the caller to adapt his call to match the given API.
Now, we can imagine that some extra argument are allowed and discarded, that would be a new interface (API, prototype):
one that could work is this alternative:
Usage: naval_fate.py ship new <name>... [--] [<garbage>...]

allowing to collect garbage at the end when -- is introduced
But it wont work at all suggested position.
python unwanted_option.py ship shoot 1 2 -- --unwanted-option
{'--': True,
 '--drifting': False,
 '--help': False,
 '--moored': False,
 '--speed': '10',
 '--version': False,
 '<garbage>': ['--unwanted-option'],
 '<name>': [],
 '<x>': '1',
 '<y>': '2',
 'mine': False,
 'move': False,
 'new': False,
 'remove': False,
 'set': False,
 'ship': True,
 'shoot': True}

So for me it seems a regression at first and parsing unwanted option could be tricky.
Could you provide more example where it would be necessary to not to fail in such wrong call, and collect garbage in a way or another.

Imagine I have a script that censors bad words and raises an error when bad words are present in file :
python censor_bad_words.py <filename> [--language=<lang>]
and another script which simply prints the content:
python print_file.py <filename> [--color=<col>]
Now, I want to build a script that does both:
python print_censor_bad_words.py  [--language=] [--color=]
[From the two doc strings, I can programmatically create a combined doc for docopt.]
If I call:
python print_censor_bad_words.py my_file.txt --language=eng --color=blue
I could simply transfer all parameters of the call to sub-scripts:
python censor_bad_words.py my_file.txt --language=eng --color=blue
python print_file.py my_file.txt --language=eng --color=blue

censor_bad_words.py will complain that it does not know what --color is.
print_file.py will complain that it does not know what --language is.

When a script is given all the mandatory arguments it needs, if an unknown/unwanted argument is passed, it can:

strict syntax: raise an error
practical: raise a warning and perform the task
perform the task

In docopt.py code:
if matched and left == []:  # better error message if left?
return Dict((a.name, a.value) for a in (pattern.flat() + collected))
Programmer already had interrogations about what to do when there are unwanted arguments left.

Thanks @mvillion
Yes we could add mode to the parser that would handle the 3 use-case you mention:

strict syntax: raise an error
practical: raise a warning about unsupported option, but still perform the task
perform the task (silently discarding ignored option)

Would you apply it only on option -s short option, --long-option or would it also apply to <argument> or command too?
only optional option or mandatory one?
Usage: mycommand censor FILE  [--language=<language_name>]
       mycommand color  FILE  [--color=<color_name>]
       mycommand parse  FILE  --language=<mandatory_language_name>

I'm not sure to follow your two scripts use-case. Given the unix philosophy: «  do one thing and do that one thing well ».
In docopt it translates to the documentation that explain the script behavior. And based on such syntax we can determine the parsing of the command line behavior.
in your example:

If I call:
python print_censor_bad_words.py my_file.txt --language=eng --color=blue
I could simply transfer all parameters of the call to sub-scripts:
python censor_bad_words.py my_file.txt --language=eng --color=blue
python print_file.py my_file.txt --language=eng --color=blue
censor_bad_words.py will complain that it does not know what --color is.
print_file.py will complain that it does not know what --language is.

You are just calling two distinct script here without adjusting the parameter, but they don't chain their result? I would expect, reading from the top call, that the censored word would be printed in blue:
python print_censor_bad_words.py my_file.txt --language=eng --color=blue
So I would have expect the alternative that could be (assuming that ./print_file.pywould read from stdin if  <filename> is -)
./censor_bad_words.py my_file.txt --language=eng | ./print_file.py - --color=blue
To be more precise, that doesn't seems to bring a use-case that would justify ignoring unmatched option. Because it seems trivial to fix: function call in python using if __name__ == "__main__": so you just wrap python algorithm  in a function and call it in a third script:
from censor_bad_words import censor_func
from print_file import colorize

"""
Usage: print_censor_bad_words.py FILE --language=<lang> --color=<color_name>
"""
# [...] call the function the way you want without docopt on the original script in your way

or alternatively a shell script:
#!/bin/bash
FILENAME=$1

python censor_bad_words.py $FILENAME --language=eng
python print_file.py $FILENAME --color=blue

I'm curious about some use-case that would require to call two (or more) script with the same arguments list? And of course that would not be solved by trivial wrapping.
Thanks pointing the if matched and left in the python's code, with your sample it gives with simple print(left) on the alternative:
python print_file.py my_file.txt --language=eng --color=blue
[Option(None, '--language', 1, 'eng')]
Usage: print_file.py <filename> [--color=<col>]

So effectively the non empty left show some unparsed option.
But I think the intend was to display a detailed error message.

"Would you apply it only on option -s short option, --long-option or would it also apply to  or command too?"
All arguments that do not match the definition are rejected.
[
This is not he object of this request but it raises the question about what to do with the "left" arguments:
a. just ignore them
b. pass them to the script anyway (in order to enable non documented arguments that the developer may not want to support)
I assume a.
]
only optional option or mandatory one?
As long as the script has the mandatory parameters that it wants, and it parses all the optional parameters that it knows, it is sufficient not to raise an error.
I bump into this when creating a C server that calls python scripts. I want a single python script as entry point as I do not want the client to execute any possible python script. In this script, there is argument that contains the name of the sub-script to be called. This script then calls the appropriate script with the remaining parameters. For this top-level, if I want to use docopt, I need a doc with only the sub-script name but then it refuses to execute as there are other parameters.

Hello everyone,
I recently encountered an issue while dealing with extra unknown arguments, and I've come up with a modified version of docopt/docopt-ng to address this. You can find the code (included unittest) and details in my GitHub repository: https://github.com/golang-vn/modified-docopt
Feel free to give it a try, and I would appreciate any feedback or suggestions.


Migrate to ES2015

Updated more files to ES2015 syntax.
I've added comments on interesting places, because GitHub produced quite messed up diff for this PR.

Travis failed with a strange error message when validating commit message:
Retrieving relevant commit message for 65b5c4279f29dd38104178e245e259fdbd70119d
fatal: bad object 65b5c4279f29dd38104178e245e259fdbd70119d

I would like to see these changes land, but unfortunately I am not able to get a long block of time to review large changes.   If you send each of these as a PR and set me as reviewer I will try to get to them the same day.

@johnjbarton Sure, will do it.


improve skip performance for SegmentPostings

The current implementation of skip_to is not specialized for SegmentPostings.
SegmentPostings is decoding blocks of 128 docs at a time, so rather than doing  a linear search within the block, we could at least check for the last element to see if we can skip the whole block, or do a binary search.
The problem with the latter is that it will perform not as well, when the skip_to does not skip much at all. This happens for instance when intersecting to posting list that are covering almost all documents, or that are strongly correlated.
Find a nice heuristic and improve the performance of SegmentPostings

@lnicola posted a MR here https://github.com/tantivy-search/tantivy/pull/153

Implemented in https://github.com/tantivy-search/tantivy/pull/153.


Create an ElasticsearchRepository interface with a custom "deleteBy...In" method

public interface ProductRepository extends ElasticsearchRepository<Product,String> {
    public Long deleteByProductGuidIn(Iterable<String> productGuids);
}

The associated Product @Document annotated class looks as follows:

Some notes:
2.a) In this case, the field I am deleting by is an @Id field, but I have observed this behavior with non-Id annotated fields.
2.b)I have not tested the behavior on non @Field(type = FieldType.keyword) annotated fields, the fields I am interested in deleting by are all of type keyword.
@Getter
@Setter
@Document(indexName = "products", type = "product")
public class Product implements Serializable {
    @Id
    @Field(type = FieldType.keyword)
    private String productGuid;
    @Field(type = FieldType.keyword)
    private String securityType;
    @Field(type = FieldType.keyword)
    private String clearingSymbol;

   @Field(type = FieldType.keyword)
    private String exchangeClearing;
    @Field(type = FieldType.keyword)
    private String exchangeGlobex;
... other fields omitted ...
}

Persist a few Product documents to Elasticsearch

@Autowired
ProductRepository productRepo
...
Product p1 = new Product();
p1.setProductGuid("abc123");
p1.setSecurityType("FUT");
Product p2 = new Product();
p2.setProductGuid("xyz456");
p2.setSecurityType("OPT");
Product p3 = new Product();
p2.setProductGuid("ghi987");
p2.setSecurityType("CDS");
List products = new ArrayList<>();
products.add(p1);
products.add(p2);
products.add(p3);
productRepo.saveAll(products);
...
4)Call the custom deleteBy...In() method:
List idsToDelete = new ArrayList<>();
idsToDelete.add("abc123");
idsToDelete.add("xyz456");
productRepo.deleteByProductGuidIn(idsToDelete)
5)Observe that all documents have been removed from elasticsearch, not just the ones having an id specified in step 4.

Hi @mancini0 , thanks for your feedback. Can you tell me which version of Spring Data Jest do you use ?
I will investigate on it.
Julien.

Hi @mancini0 , your issue is related to this : https://github.com/VanRoy/spring-data-jest/pull/59
It fixed in 3.1.2.RELEASE released today.


Added new rebus

Associated Issue: #121
Summary of Changes

Added new rebus for 'headphone'

Pull Request Test Coverage Report for Build 549

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.143%

Totals

Change from base Build 514:
0.0%

Covered Lines:
158

Relevant Lines:
180

💛  - Coveralls


Can't parse Bruker HyStar format with PDA spectra

I have a .d directory with .u2 file (attached) which supposed to contain PDA spectra, at least according to the docs:

To open the chromatogram(s) (called “1D” in HyStar, Fig. 38) open the file with .unt extension (Fig. 37d1).
If you used a PDA detector and recorded a 3D field (called “2D spectrum” in HyStar, Fig. 39) open the file with .u2 extension

But when opening it with ProteoWizard I'm getting an error:

Can ProteoWizard open such files or do you work exclusively with Mass Spec? I'd assume PDA spectra should have a similar structure - X-axis values and Y-axis values..
D2-300 + D3-100 r 70-100_BD3_02_323.d.zip

@chambm, eventually we reliazed that there are no spectra in these files. This is MVD, not a PDA detector. So there are only traces. I assume proteowizard requires spectra, and it won't be able to support these formats even if it starts to support UV.


mozc_tip32.dll build with Bazel is not 32-bit binary

Description
mozc_tip32.dll build with Bazel is actually 64-bit binary.
This is a regression introduced by de7615fd0739a3c949edb47caef495290a023740.
The root cause is that --cpu command line option has been ignored since Bazel 7.0.

https://github.com/bazelbuild/bazel/issues/7260
Migrating to Platforms

As we still rely on --cpu command line option here, we cannot remove --noincompatible_enable_cc_toolchain_resolution until we fully migrate to --platforms command line option.
https://github.com/google/mozc/blob/74384fdeac57b7eb1856ca9d0f4dd45057326c3c/src/win32/installer/transition.bzl#L35-L53
Our GYP build is not affected by this issue.
Steps to reproduce
Steps to reproduce the behavior:

Build Mozc64.msi
dotnet tool run wix msi decompile Mozc64.msi -x dump
dumpbin /headers dump\File\mozc_tip32.dll | findstr machine

Expected behavior
14C machine (x86)

Actual behavior
8664 machine (x64)

Version or commit-id
74384fdeac57b7eb1856ca9d0f4dd45057326c3c
Environment

OS: Windows 11 23H2

Unfortunately this is regressed again with 6dadef1c3d456649f8fbe48b6ee1f1515367b5e1, which switched to Bazel 8.0.
Looks like Bazel 8.0 removed --noincompatible_enable_cc_toolchain_resolution option, which we have relied on. We definitely need to fully migrate to --incompatible_enable_cc_toolchain_resolution to go forward.


Refactor project to support Netlify deployment and hosting

This pull request refactors the project to allow for deployments to Netlify. This change will allow us to streamline our development workflow, deployment process, and hosting environment.
You can review the Netlify-deployed version of the site at https://code-mil.netlify.com.
Code Changes
I'll document significant changes inline, so check out the Files Changed tab for details (or scroll down this page for the grouped commentary).
Verifying Changes

Clone the repo and git checkout netlify
Install Ruby 2.4.3 (e.g. rvm install 2.4.3) and install Bundler gem install bundler
bundle install
./scripts/build to build the site or ./scripts/serve to serve the site locally on http://localhost:4000

Workflow Changes
Presuming this pull request is merged and we move forward with Netlify hosting, I recommend we modify our workflow to follow a pattern like:

Developer implements changes in a feature branch
Developer issues a pull request against master

Pull requests are picked up by Travis CI and run through the test suite
Pull requests are auto-deployed by Netlify to a auto-generated subdomain (e.g. some-long-hash--code-mil.netlify.com)

Successful pull requests are merged into master which Netlify auto-deploys to a staging URL (e.g. beta.code.mil)
Successful review of beta.code.mil results in a promotion of master code to a protected production branch which Netlify auto-deploys to code.mil

Deploys to production would bypass CI, but this seems reasonable given the review process and auto-deployment of branches to URLs.
DNS Changes
We'll want to work with the relevant parties to update DNS entries for code.mil, www.code.mil, beta.code.mil, etc.
But! We may need to contact Netlify support if we want to keep using something like beta.code.mil:

If you need to set up branch subdomains without us managing your DNS, please contact support.

(from https://www.netlify.com/docs/custom-domains/#branch-subdomains)
I'd venture, though, that we could auto-deploy all branches and work with the resulting auto-generated subdomains. This would be a non-issue if/when we control the DNS for code.mil.
WebPageTest Results
Before

https://www.webpagetest.org/result/180626_EK_8781fbf2ef406616be1f8859d2323d32/
https://www.webpagetest.org/result/180626_11_db765b63c06d770250923465b1ed4dad/
https://www.webpagetest.org/result/180626_RS_cc0d3a2b0b8d7bdca411f4213049eaca/

After

https://www.webpagetest.org/result/180626_WQ_c1e96e00e22eaa326b2136d1a606828d/
https://www.webpagetest.org/result/180626_AF_b4d07221111f21ed225385d26d04f1d8/
https://www.webpagetest.org/result/180626_KZ_b8ea22d96c9df286580832ff25400336/

I think we should talk about how we're going to roll this out initially... maybe Thursday when I'm back?

I think we should talk about how we're going to roll this out initially... maybe Thursday when I'm back?

@jordangov Thursday's good for me!


Public access to dashboard not working in 1.2.0rc2

In the 1.2.0rc2 version the feature that allows logged-out users to consume some Superset features is not working. I didn´t have this error in 1.1.0 with the same config.
Expected results
I expect logged-out users to be able to access some of my dashboards
Actual results
They get an unexpected error screen
Screenshots
The configuration needed:

Actual results:

The were no errors in the logs

Environment
(please complete the following information):

superset version: 1.2.0rc2

Checklist
Make sure to follow these steps before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[x] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

I can confirm this behavour. It's a show stopper.

If there would be a test for Public role, it would fail, and this new Superset version would not have been released with this bug...

Experiencing the same issue in 1.2.0 release

Experiencing the same issue in 1.2.0 release.

I respect that volunteering or busy maintainers have no time to look at a issues of such a great project.
But this issue is a fundamental feature of most usages of Superset (outside AirBnB?) and it's around since years.
See e.g. #19074, #17913 + #17914, #16718, #15280 and #14504.
And there seems to be a fix with #16507 around which is unconfirmed!?

Arbitrary public access to any dashboard will no longer work.
Users have to be part of Owner field or should have RBAC, i.e. a belong to a role which has been added to the dashboard's ROLE field in Dashboard Properties, basically making them Viewer.

I respect that volunteering or busy maintainers have no time to look at all issues of such a great project.
This is definitely the case! We're trying to whittle down the huge backlog of Issues and PRs to something that the small handful of us can maintain. Since this issue is reported as not reproducible, and is from two major versions ago, I'm going to close it. If there are problems in 3.x, you're welcome to post a new/updated Issue, and we'll do our best (and contributions are always welcome, we can use more hands!)


feature: Generate x:Name mapping without the GenerateTypedNameReferences attribute.

fixes #18
Current behavior
to generate the x:Name mapping you need to mark the class with the GenerateTypedNameReferencesAttribute attribute.
New behavior
when the nuget package is added, the x:Name mapping of all the classes deriving from the Avalonia.INamed interface is automatically generated without the need for the classes to be marked with the GenerateTypedNameReferencesAttribute  attribute; To revert to the previous behavior, simply add the following lines to the project:
  <PropertyGroup>
    <AvaloniaNameGenerator>false</AvaloniaNameGenerator>
  </PropertyGroup>

This is now shipped to 🚢 NuGet as 0.2.0-preview.


First two links, instead of 1

What i have found that first two links cover almost 99% of cases.

Closing, doesnt look like this is relevant for everyone. Just works for me.


go module picks untagged revision

Hello
I have not used the module system much before but I've recently started using it in a new project and I've noticed that the your package gets picked up as the raw commit, not the tagged version. For example, this is what I got in my go.mod file:
	go.bug.st/serial.v1 v0.0.0-20191202182710-24a6610f0541

Since there are three tags on the project I was expecting go to pick v1.1.1. Do you know if this is expected?

Use go.bug.st/serial (without the .v1 suffix)
I've changed the import because go modules now have their own way to handle major version updates: if in the future there will be a v2 the import will change to go.bug.st/serial/v2 (so keeping the old one would have lead to the weird go.bug.st/serial.v1/v2...).
(related to https://github.com/bugst/go-serial/issues/49 and https://github.com/bugst/go-serial/pull/66)


Get AccountId from table Sent Email

Describe the request
Please add the following function to the Sent Email table;
    /// <summary>
    /// Get the account id of the sent email.
    /// </summary>
    /// <returns>Account id.</returns>
    procedure GetAccountId(): Guid
    begin
        exit(Rec."Account Id");
    end;

Additional context
To have the possiblity to archive the sent emails in a custom table we need the possibility to get the account id of the sent email so that we are able to resend the email from our custom archive.
Internal work item: AB#551203

Please open PR with your suggested contribution on BCApps https://github.com/microsoft/BCApps


⚠ Bofrost.es has degraded performance

In e0edd73, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1684 ms

Resolved: Bofrost.es performance has improved in d40af50 after 6 minutes.


sms length only 160 words

Why I can't send it more than 160 words?

Please see issue #53

let's follow up there:https://github.com/cordova-sms/cordova-sms-plugin/issues/7


Add support for searching by variables

also adds cf-pandas as a req, though installed from github currently.

@lukecampbell the tests are failing now but it is an issue in the fake erddap server url used.

The tests are failing because the API changed. Prior to the branch, kwargs_search could be None but after this PR it will never be None it will always be a dictionary. This causes the branch in _load_df never to use e.to_pandas(). The tests either need to be updated to mock pd.read_csv or the logic needs to allow kwargs_search to assume None as a value.

Ah, yes kwargs_search couldn't be None anymore because mypy complained about it — or at least that is how I was able to fix the issue.

I think this was because kwargs_search is modified in the case the user wants to search for a variable too, so having it always a dict helped with that.

https://github.com/axiom-data-science/intake-erddap/blob/c435f820f9a98156b988dcdab2bca6a22d4965db/tests/test_erddap_cat.py#L26
https://github.com/axiom-data-science/intake-erddap/blob/c435f820f9a98156b988dcdab2bca6a22d4965db/intake_erddap/erddap_cat.py#L42
https://github.com/axiom-data-science/intake-erddap/blob/c435f820f9a98156b988dcdab2bca6a22d4965db/intake_erddap/erddap_cat.py#L47
https://github.com/axiom-data-science/intake-erddap/blob/c435f820f9a98156b988dcdab2bca6a22d4965db/intake_erddap/erddap_cat.py#L58
Is the path on main

if kwargs_search is never to assume a None value

Let's make sure the type is not Optional (haven't checked if it is or is not Optional)
we get can rid of the if self.kwargs_search is not None since it will never be None
Update tests to mock pd.read_csv instead of erddapy.ERDDAP.to_pandas

Oh I misremembered everything I changed. I kept the init as None, but then subsequently changed it so that after None, it is either a dict with search stuff in it or an empty dict. Is this ok?

Yeah that's fine but the type annotation should no longer be Optional and the tests need to be updated and the _load_df method should be updated so it never calls e.to_pandas since search kwargs will never be None.

the type annotation should no longer be Optional

even though going in, kwargs_search can be None, because it later can't have that value, it shouldn't be listed as Optional?

yes

We're almost there. Could you add a test (or 2) that tests the checks to ensure the __init__ method raises a ValueError when that argument contains an invalid combination? The other test would be for category_search. Probably could just assert "standard_name" in erddap_cat.kwargs_search or something.


Unable to extract tables from a image-based pdf file

I am trying to extract tables from a pdf which have text-based tables and image-based tables as well, but it is only able to extract text-based tables not image-based table. I have refered this example to do that.
Please guide me to this as I am very new to this.
Thanks!!

could you share the procedure of you operation?

Hello,
I do not understand what you mean by "text-based tables" and "image-based tables". Can you share an example of what you're trying to do ?

Hello,
I do not understand what you mean by "text-based tables" and "image-based tables". Can you share an example of what you're trying to do ?

Hello，I guess what he said is that some PDF files can be copied with the mouse, while others cannot be copied with the mouse

Hello,
I do not understand what you mean by "text-based tables" and "image-based tables". Can you share an example of what you're trying to do ?

Hello，I guess what he said is that some PDF files can be copied with the mouse, while others cannot be copied with the mouse

Yes you get it.

Hello,
I do not understand what you mean by "text-based tables" and "image-based tables". Can you share an example of what you're trying to do ?

Hello，I guess what he said is that some PDF files can be copied with the mouse, while others cannot be copied with the mouse

Yes you get it.

"Thank you  for your affirmation! We look forward to the author's support."

Ok,
There are no differences between native and "scanned" PDF files, the processing done by the library in order to identify tables will be exactly the same.
However, you will have to provide an OCR if you want to parse the table content for "scanned" PDFs. On native PDFs, text is directly extracted from the file

Ok, There are no differences between native and "scanned" PDF files, the processing done by the library in order to identify tables will be exactly the same.
However, you will have to provide an OCR if you want to parse the table content for "scanned" PDFs. On native PDFs, text is directly extracted from the file

Thank you, I got it


The question about the code

Hello!
Notice that you mention  implement other models in RecBole 1.0 and 2.0 in your paper.
Can you share that part of the code?

Thanks for your attention. The models we use have been implemented in RecBole 1.0 and 2.0, and you can directly follow the tutorial to run them.
RecBole 1.0 : https://github.com/RUCAIBox/RecBole
RecBole 2.0 DA : https://github.com/RUCAIBox/RecBole-DA

@KingGugu
The paper says to turn off the default data enhancement operation of Burroughs, do you know how to turn it off?

Please refer to these issues in RecBole:
https://github.com/RUCAIBox/RecBole/issues/1069
https://github.com/RUCAIBox/RecBole/issues/1298
https://github.com/RUCAIBox/RecBole/issues/1624

@KingGugu
I couldn't find a solution very well. Can I refer to your code?

The code for RecBole that was running at that time has been removed from the server, so I am currently unable to provide it. If there are issues with the use of RecBole, perhaps you can raise an issue with the author. Thank you!

@KingGugu
Hi, do you remember what loss function was used when you used RecBole to reproduce those baseline models, like SASRec? I found that using BPR as the value of the loss function gives much smaller results than using CE as the loss function.

We follow the default parameters of RecBole and make modifications based on the parameters reported in the paper.
Collaborative filtering models generally use BPR, and sequential models generally use CE. For SASRec Use CE as a loss function.
Regarding the issue with RecBole, you may submit an issue under its repositories.


Get modules from github

I think this project would be a lot better if it could get modules dynamically, not just through the hardcoded values. This pull request is my first revision of adding this ability, and I plan to do the following before taking it off draft.

[x] Get the version from tags and releases
[ ] Comments and log statements
[ ] Update readme to include new feature

Any feedback would be heavily appreciated.

Hi @Daniel-W-Innes, great idea, but how do you plan to handle GitHubs rate limit?

Hi @Daniel-W-Innes, great idea! But how do you plan to handle GitHub's rate limit?

I do not expect the rate limit to be an issue its 10 requests a minute for search requests which is plenty. This is a dev tool people are using it on their individual computers, therefore, no one person should be hammering the API. That being said I can add custom error messages so that if people go over the limit they know what went wrong.


🌟Feature request: Add option to focus specific element instead of first element

Is your feature request related to a problem? Please describe.
When opening the dropdown menu focus is only moved if the dropdown menu is opened with the keyboard. And then it is moved to the first item.

In this case I'd prefer to move the focus to the input field, so the user can start filtering immediately
Describe the solution you'd like
I'd like more control of how the focus is moved, it could be as simple as a selector passed to the constructor and this selector be used to focus instead of the first element
const context = createDropdownMenu({
        focusTarget: "[data-menu-item-autofocus='true']"
    });

Describe alternatives you've considered
I've tried manually focusing the intended element when the dropdown menu is opened - I couldn't get it to work though - because if the user opens using keyboard melt internally moves focus.

Going to be exploring some ideas with this, as I keep finding myself needing this same level of flexibility and control over the focus states when getting into some custom components.
Rather than setting a focusTarget, I think having the prop be a function that is called (if provided) before the default focus behavior, which would provide more flexibility and enable us to do the same when the various autofocus elements close as well.
This would enable use to leverage some of the cool things about Svelte like binding to elements.
Ideally we'd also have a way to fallback to the default behavior in the event that the element can't be focused or something else goes wrong in the process, to ensure the a11y goodness.
In this rough idea, if true is returned from the function, then the behavior falls back to default, otherwise it skips the autofocusing behavior. Not sure if true or false would be best here, but my idea was that it may be easier to handle on the lib side as we could do something like:
const defaults = {
  onOpenFocus: () => true,
  onCloseFocus: () => true,
}

export function someBuilder(props) {
   const withDefaults = { ...defaults, ...props }

  function someAutoFocusThing() {
    const falback = onOpenFocus()
    if (fallback) {
      // do our default autofocus behavior
   }
}

<script lang="ts">
  import { createDropdownMenu } from '@melt-ui/svelte'
  let openFocusEl: HTMLElement | undefined = undefined
  let closeFocusEl: HTMLElement | undefined = undefined

  const { /* ... */ } = createDropdownMenu({
   onOpenFocus: () => {
     if (openFocusEl) {
       openFocusEl.focus()
    } else {
      return true
   }
   },
  onCloseFocus: () => {
     if (closeFocusEl) {
       closeFocusEl.focus()
    } else {
       return true
     }
   }
 })
</script>

<button bind:this={openFocusEl}>
  Focus me on open
</button>
<!-- menu stuff... -->
<button bind:this={closeFocusEl}>
  Focus me on close
</button>

In this one, we the user returns the focus target from the function, which seems a bit meh to me considering the logic may exist elsewhere, or you don't want to fallback for one reason or another. Maybe if undefined is returned we fall back, and if false are returned we don't?
My brain is having a hard time coming up with something clean at, but curious to hear thoughts from others like @TGlide, as I'm finding myself needing this functionality as well!
<script lang="ts">
  import { createDropdownMenu } from '@melt-ui/svelte'
  let openFocusEl: HTMLElement | undefined = undefined

  const { /* ... */ } = createDropdownMenu({
   onOpenFocus: () => {
   // if openFocusEl exists, we'll focus it, otherwise fallback to the default behavior
    return openFocusEl
   },
  onCloseFocus: () => {
     // we don't want to fallback, maybe we're handling the focus some other way outside of this comp.
     return false
   }
 })
</script>

<button bind:this={openFocusEl}>
  Focus me on open
</button>
<!-- menu stuff... -->

I've discussed with @huntabyte privately as well, but just so it's out in the open, this is what I propose.
// $lib/helpers/focus.ts

type FocusTarget = string | HTMLElement | null

export type FocusProp = FocusTarget | (defaultEl?: HTMLElement) => FocusTarget

type HandleFocusArgs = {
	prop?: FocusProp;
	defaultEl?: HTMLElement;
}

export const handleFocus = ({prop, defaultEl}?: HandleFocusArgs = {}) => {
	if (prop === undefined) {
		defaultEl?.focus();
		return;
	}

	const returned = isFunction(prop) ? prop(defaultEl) : prop;

	if (typeof returned === 'string') {
		// Get selector, focus it, early return
	}

	if (isHTMLElement(returned)) {
		// Focus it, early return
	}
}

This basically means, if the focusProp is:

null, no element is focused.
a function that returns null or undefined, no element is focused.
undefined, the defaultElement is focused.
a string or HTMLElement, or a function that returns those, that gets focused

Love this solution @TGlide!

So this should now enabled through https://github.com/melt-ui/melt-ui/pull/663, no ? Trying it out on Popover but for some reason openFocus isn't get called...

So this should now enabled through #663, no ? Trying it out on Popover but for some reason openFocus isn't get called...

Please open an issue if that's the case 😄


Print out next steps with create-tina-app after a starter's been created

Summary
After creating a starter with create-tina-app, we should log out some instructions of what to do next.
Basic example
We currently tell them to do a yarn dev, but maybe we could add notes on:

Go to localhost:3000/admin to enter edit-mode.
Edit some content on localhost:3000 (See https://tina.io/using-tina-editor )
Check out our concept docs, to learn how Tina powers the starters under the hood.
Learn how Tina can be extended to create new field components.
Make your site editable with Tina on production.

Motivation
If we show the create-tina-app command on our homepage, the user will have more context on how to use the starter, and where to take it next

@jamespohalloran I added this in the CLI and it is deployed now. Going to close this for now but feel free to re-open it if we should revisit it.


Limit documentation TOC depth

The behaviour seems to have changed with a newer version of Sphinx. These changes are needed to limit the expansion of the sidebar and the extra bullet points on the TOC page.

Looks good.


How to tag someone in a story/in a post?

Hey,
First of all, thank you for this great library!
I've been trying for hours playing with the customization possibilities when publishing a post and a story. Still, I haven't succeeded to tag an Instagram user (so when I click on the post/story, I can visit their profile.)
Is it feasible? Do you have any hint about how I could do this?
Thank you

There's an example. Essentially you only need to specify a user_id and a position.


fix: do not dup text siblings in reparent_node_with(xmlAddChild)

What problem is this PR intended to solve?
Closes #2916
Related to #283 and #595
Have you included adequate test coverage?
Yes
Does this change affect the behavior of either the C or the Java implementations?
Brings C in line with Java behavior.

Fixed in Release 1.15.3 / 2023-07-05 · sparklemotion/nokogiri


cant build

ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/home/kali). Please verify you invoked Maven from the correct directory. -> [Help 1]

s

I am having the same issue. How did you solve this?

Change into the correct directory.

Change into the correct directory.

What is the correct directory?


Add Support for eBPF Maps (Per CPU Array)

Description
As part of enhancing our eBPF-based tracing and monitoring tool, we would like to introduce support for eBPF maps of type "per CPU array." These maps are a powerful construct in the eBPF ecosystem, allowing us to efficiently handle per-CPU data and significantly improve the performance of our data collection and processing.
Goals

Implement support for eBPF maps of type "per CPU array" in our tracing and monitoring tool.
Utilize these maps to store and access per-CPU data efficiently.
Leverage the per CPU arrays to reduce contention and enhance parallelism during data collection and processing.

Tasks

[x] Research and understand the concept and usage of "per CPU array" eBPF maps.
[ ] Identify the specific scenarios and use cases where using per CPU arrays will provide the most significant benefits.
[ ] Implement the necessary changes in our tool's eBPF module to support per CPU arrays.
[ ] Design and conduct performance tests to measure the improvements achieved by using per CPU arrays.
[ ] Handle potential corner cases and error scenarios related to per CPU arrays.

Expected Behavior
After the implementation of eBPF maps of type "per CPU array," our tracing and monitoring tool will be able to efficiently manage and process per-CPU data. This will lead to reduced contention and improved parallelism, resulting in better performance and scalability when collecting and analyzing data from different CPU cores.

Changed perf event map to ring buff in kernel space program
Changed perf reader to ring buff reader in userspace program
Changes made in following folders
network_socket
network_connect
network_accept
network_bind
network_listen
pull : https://github.com/intelops/tarian-detector/pull/34


Add NestObservation models

Encounter can have:

HatchedNestObs (from data sheet)
FreshNestObs (NTP)
FalseCrawlObs (NTP)

turtle encounter + turtlenestobs = tagging
nest encounter + nestobs = NTP nest obs or Hatched nest obs
nest encounter (age=false crawl) = NTP false crawl obs


requirements.txt throws error in devcontainer

Attempting to install requirements via pip3 install -r ./requirements.txt from within vscode dev container currently result in the following error:
Obtaining realms_cli from git+ssh://****@github.com/BibliothecaForAdventurers/realms-contracts.git@6bf43122777e06e979c84818711e51bd472580e7#egg=realms_cli&subdirectory=realms_cli (from -r ./requirements.txt (line 76))
  Cloning<EMAIL_ADDRESS>(to revision 6bf43122777e06e979c84818711e51bd472580e7) to ./src/realms-cli
  Running command git clone --filter=blob:none --quiet<EMAIL_ADDRESS>/workspaces/realms-contracts/src/realms-cli
  fatal: cannot run C:/Windows/System32/OpenSSH/ssh.exe: No such file or directory

The simple solution is to switch from using ssh to https for pulling down the realms_cli in requirements.txt

@ponderingdemocritus says we don't need to pull in realms_cli from requirements so solution is to simply remove that line


Confusing Steps

In the heading Register the app in the Finance and Operations app so that Retail Server trusts it, step 3 uses the following text:
"On the Relying parties FastTab, select Add. Enter the client ID that was generated during the Retail server app registration in Azure. Set the Type field to Confidential and the UserType field to Application."
Emphasis mine.
This statement should be revised to state the following; again, emphasis mine:
"On the Relying parties FastTab, select Add. Enter the client ID that was generated during the app registration for the client in Azure. Set the Type field to Confidential and the UserType field to Application."
The reason for this changes is that the "Retail server app registration" client ID is different from the "app registration for the client" client ID, and using the incorrect one leads to failure in configuration.  These quoted names are the same used by prior headings--leading to the confusion.
Thanks!

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

ID: 2aaab0fa-b1ac-51c0-2329-73ab077477b2
Version Independent ID: dc8cf3fc-4c9f-731c-a99e-d70b8b940428
Content: Consume Retail Server APIs in external applications - Commerce | Dynamics 365
Content Source: articles/commerce/dev-itpro/consume-retail-server-api.md
Service: dynamics-365-commerce
Product: ****
Technology: ****
GitHub Login: @mugunthanm
Microsoft Alias: mumani

Thanks for the feedback, updated the document.

Thanks!


label: add $FAIL and $ATTEMPTS

should resolve #179
should resolve #180
$ATTEMPTS[blabla] can be used to show blabla or nothing when no failed attempts
https://github.com/hyprwm/hyprlock/assets/130279855/f68dc058-b7f1-448d-a1cb-c7196bfe8f96
one thing to mention, when $ATTEMPTS used in cmd, sometimes failasset in input-field doesn't draw
maybe smth could be done?
when sleep 0.1 is the first command in cmd, all ok

needs a wiki mr

sure just thought you maybe against [] format


Comments coming in on blogs feed

Hi @ajmaradiaga , there are comments comming in on blogs feeds, e.g. https://raw.githubusercontent.com/ajmaradiaga/feeds/main/scmt/topics/SAP-Fiori-blog-posts.xml
Was that a intended change? For me I would have prefered to just have original blog posts in feed.

@abap-weasel Thanks for letting me know. Not intended at all.... I've not changed the code that generates the feed. Will check.

@ajmaradiaga Any news on this issue by now? It looks like also topics get mixed up.
e.g. this blog https://community.sap.com/t5/technology-blogs-by-sap/migration-of-sap-hana-on-premise-database-to-sap-hana-cloud/ba-p/13654501 is served from SAP Fiori feed (https://raw.githubusercontent.com/ajmaradiaga/feeds/main/scmt/topics/SAP-Fiori-blog-posts.xml ) although it does not have the correspondig tag.

I'm afraid that something changed in the API because comments are now coming in the response and you rightly point out... even content from other topics are coming through. Will see if I can find out something about what's going on.

@abap-weasel the right data is now coming through in the system. You will see that reflected in the next refresh of the feeds.

Hi @ajmaradiaga , I think there is another issue with the feeds now and they don't get updates at all. Can that be? 😥

@abap-weasel apologies for the inconvenience.... someone included a secret/password within a blog post/q&a in SAP Community and GitHub scanning for secrets wasn't letting through the pushes because of that. The feeds are working fine now.


wiki: executeSQL() shouldn't used for update - why?

There isn't a strict prohibition to do it, but it imposes several drawbacks.

Can't use resolvers -> query should contain serialization
It is impossible to obtain the result
Can't use embedded request arguments escaping -> stay alone with sql injection hazard :scream:

So it is preferable use executeSQL() for DDL, and get, put, delete for CRUD operations =)

@nikitin-da Thanks for clarification.
Sometimes it's just necessary to execute just a statement. :)

Just as addition, if you need to perform some custom SQL query that does
not fit into our Query object -> please use RawQuery where you can write
any kind of SQL (JOINS, etc) and safely bind arguments to it.
On Thu, Apr 28, 2016 at 12:57 PM, Rainer-Lang<EMAIL_ADDRESS>wrote:

Closed #645 https://github.com/pushtorefresh/storio/issues/645.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/pushtorefresh/storio/issues/645#event-644081782

@artem-zinnatullin Yes, I'm using RawQuery already. Thanks.


Localization

I see things in the code like:
parameters.language = "en"
but is there support for localization ?

Is the "parameters.language = "en"" in newtools.html?

Yes, but also in several levels*.html.

I had one time a plan to make different localizations, but I didn't finish it.
Pull request of other languages are more than welcome though. ;)

I would be glad to do a french translation, but I don't understand how the localization is done.
Is there a file with all the strings to translate?

No there is no localization framework yet. I think I will rewrite the
complete website in the summer, to allow for localization. In the meantime,
I'm afraid you need to include some localization framework as well in your
PR.
2015-02-23 22:53 GMT+01:00 hferee<EMAIL_ADDRESS>
I would be glad to do a french translation, but I don't understand how the
localization is done.
Is there a file with all the strings to translate?
—
Reply to this email directly or view it on GitHub
https://github.com/kasperpeulen/euclidthegame/issues/328#issuecomment-75644760
.

--
Kasper


Add support for custom fetch options while requesting WMS Capabilities

Adds support for passing custom fetch options. This can become handy if someone wants to pass additional (authorization) headers or similiar.
Please review @terrestris/devs.

Looks good!


.ort.yml: Remove @here/harp-test-utils as it's publisbed

@here/harp-test-utils is part of the released artifacts, see
https://www.npmjs.com/package/@here/harp-test-utils.
Signed-off-by: Thomas Steenbergen<EMAIL_ADDRESS>

@harpgl-bot ok to test

Codecov Report

Merging #1512 into master will decrease coverage by 0.06%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1512      +/-   ##
==========================================
- Coverage   60.07%   60.00%   -0.07%
==========================================
  Files         275      262      -13
  Lines       24147    23855     -292
  Branches     5422     5368      -54
==========================================
- Hits        14506    14314     -192
+ Misses       9641     9541     -100

Impacted Files
Coverage Δ

@here/harp-geometry/lib/ClipPolygon.ts
96.96% <0.00%> (-0.47%)
:arrow_down:

@here/harp-utils/lib/Mixins.ts
76.92% <0.00%> (ø)

@here/harp-test-utils/lib/WebGLStub.ts
100.00% <0.00%> (ø)

@here/harp-utils/lib/SampleBilinear.ts
100.00% <0.00%> (ø)

@here/harp-materials/lib/CopyMaterial.ts
100.00% <0.00%> (ø)

@here/harp-materials/lib/MSAAMaterial.ts
100.00% <0.00%> (ø)

@here/harp-omv-datasource/lib/OmvTile.ts
100.00% <0.00%> (ø)

@here/harp-utils/lib/UrlPlatformUtils.ts
100.00% <0.00%> (ø)

@here/harp-datasource-protocol/lib/Outliner.ts
100.00% <0.00%> (ø)

...ere/harp-geoutils/lib/projection/EarthConstants.ts
100.00% <0.00%> (ø)

... and 30 more

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 65cb8c6...6521e1f. Read the comment docs.


Best practices with tables size

I know it may be asked several times, but I can't find a satisfying way to display a nice table.
I usually develop management/database application, so I use tables to display and manipulate data. So my tables aren't the classic tables with text data, instead each cell may contain text (very long / very short), buttons, inputs, checkboxes, ..., and the cell content may vary with user actions (i.e. a text in a cell may become a input text for edit the value).
My goal is to make sure that:

columns width doesn't not flicker around as a cell content change (i.e. from text to input text).
columns width remains between some borders, meaning that if the screen size is small a text in a cell doesn't wrap like a word per line.
columns width and cells content should be somehow responsive, i.e. if the screen size is large, a cell which contains two buttons shows them one next to the other, while if the screen size is small, such a cell shows the two buttons stacked BUT, if the screen size is very small the column width shouldn't be less than some value (making the buttons unreadable) and, if the screen size is very small, the column width shouldn't be greater than some value (making the buttons width huge or instead making the margin between them huge).
rows height should be controllable, i.e. if a text in a cell is long and wraps making the row height larger, I may want that all the other rows share the same larger height.

I tried with the table and table-responsive classes, I tried with the grid system, I tried with flex, but I haven't found a clean way to have full control on a table.
May you help me to understand which way should I pursue?
Thanks a lot

columns width doesn't not flicker around as a cell content change (i.e. from text to input text).

You must explicitly set the width to the tablecells to achieve this behaviour. This really depends on how many columns you have and how you want them to behave.

columns width remains between some borders, meaning that if the screen size is small a text in a cell doesn't wrap like a word per line.

Check out the .text-nowrap class: https://getbootstrap.com/docs/4.0/utilities/text/#text-wrapping-and-overflow

columns width and cells content should be somehow responsive, i.e. if the screen size is large, a cell which contains two buttons shows them one next to the other, while if the screen size is small, such a cell shows the two buttons stacked BUT, if the screen size is very small the column width shouldn't be less than some value (making the buttons unreadable) and, if the screen size is very small, the column width shouldn't be greater than some value (making the buttons width huge or instead making the margin between them huge).

This looks very case specific. Totally depends on content of the buttons, how many buttons, ...

Rows height should be controllable, i.e. if a text in a cell is long and wraps making the row height larger, I may want that all the other rows share the same larger height.

As far as I know, this is not possible with only css.
Personally, I think you should stick to with the tables bootstrap provides, use .text-nowrap to prevent some text from wrapping add custom classes to control the width of the tablecells.

@MartijnCuppens has a solid answer here for you. I'm unsure why you need such strict control of the table's layout, but what you're asking for seems out of scope for our help. We can provide some of the various tools you'll need to do this, but not everything.


Low Performance on Most of the Baseline Algorithms

Hello,
Thank you for your hard efforts in making such a dataset.
I noticed that the performance for most of the baseline algorithms applied on Twibot-22 is very low. Precisely, for the F1 score since it is not a balanced dataset. At the same time, the same algorithms achieve much higher F1 scores in Twibot-20 and other benchmarks.
Is this supposed to be a problem in the dataset itself? What explains this low performance?
Thanks in advance

I agree that this is mostly caused by class imbalance, which is also the case in real-world social media (genuine users >> bots). Maybe a) include ML techniques that combat class imbalance in model training or b) create a subset of TwiBot-22 that is more balanced?

I'll consider these approaches, thanks!


Pass language and namespace(s) to custom ajax method

In order to prevent extraneous requests, I would like to short circuit requests for languages and/or namespaces I know won't exist. i18next will cause a request to load the default translate namespace, but I want to prevent that request to my backend so that only whitelisted languages/namespaces are requested.
Thoughts?

namespaces are only loaded if in namespaces or requested explicitely
languages can be set using whitelist, fallbackLng: false, ...
https://www.i18next.com/overview/configuration-options#languages-namespaces-resources

@jamuhl Probably good point and we're doing a withNamespace()(...) somewhere which is going to fallback to translate as the namespace.


Set up codacy code review and add button

https://www.codacy.com
It's free for open source projects

Done. See codacy button on top of README. md file.

cool


Fix Clifford gate identities in 2.4

Fixes #135

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Case-insensitive lexicographical sorting

Let's say I have the following __all__ already set:
$ cat ./__init__.py

from click import *
from cloup import *

__all__ = [
    "Argument",
    "argument",
    "BOOL",
    "Choice",
    "clear",
    "ClickException",
    "color_option",
    "ColorOption",
    ...
]

When running asort 0.1.3, I get the following results:
$ poetry run python -m pip install asort
Collecting asort
  Downloading asort-0.1.3-py3-none-any.whl (9.8 kB)
Installing collected packages: asort
Successfully installed asort-0.1.3

$ poetry run asort ./__init__.py

$ cat ./__init__.py

from click import *
from cloup import *

__all__ = [
    "Argument",
    "BOOL",
    "Choice",
    "ClickException",
    "ColorOption",
    "argument",
    "clear",
    "color_option",
    ...
]

You can see above how all title-cased and upper-cased strings bubble up at the top of the list. This is normal as it is the natural order of sorted strings in Python.
What I would like to have is a parameter or a configuration option so I can instead have the elements of the __all__ list sorted regardless of the case. I.e., in the case I presented here, I expect the __all__ to look like this:
__all__ = [
    "Argument",
    "argument",
    "BOOL",
    "Choice",
    "clear",
    "ClickException",
    "color_option",
    "ColorOption",
    ...
]

My main motivation to have this flavour of sorting is so I can visually inspect that for each of my main classe (like Argument), I have a corresponding decorator (the lower-cased argument) publicly available at the root of my library.

For the context, this example is based on my Click Extra project: https://github.com/kdeldycke/click-extra/blob/v3.10.0/click_extra/init.py

And for reference, here is the code I use in my unittests to check that my __all__ is properly sorted: https://github.com/kdeldycke/click-extra/blob/e83ac9ffe653eaa69bad28d7a08c202b85bb5133/click_extra/tests/test_commands.py#L44-L86


How can I make this work?

So, this is my JSON:
{
  '-KIEUvGDw2Mm36W_EM68': {
        author: 'Sean Bean',
        hearts: 3,
        text: '006 was such an interesting character and the film really explored his friendship with Bond and how it all went wrong, so it was a very personal journey for both characters.'
  }
  '-KIEUvGJP3qMC3p5_-pZ': {
        author: 'Rosa DeLauro',
        hearts: 2,
        text: '1 month ago the American people stopped to remember the third anniversary of the beginning of the Iraq war. We thought first and foremost of the selflessness, patriotism and heroism by our troops, our National Guard and Reserves.'
  },
  '-KIEUvGJP3qMC3p5_-p_': {
        author: 'Bo Derek',
        hearts: 4,
        text: '10\' was amazing! I had no career before \'10\' and then all of a sudden I was able to do pretty much whatever I was able to do in the business.'
  }
}
How do I get all objects with 3 or more hearts? Or, the objects with authors starting with "B"?
I tried everything but I.m stuck in the keys (E.g. '-KIEUvGJP3qMC3p5_-pZ').

Any help would be enormously appreciated.

This didn't use to be possible, but is now supported since version 2.0.0.
jsonQuery('[*][*hearts>=3]', {data: data})

To match "starts with" you can use regular expressions:
jsonQuery('[*][*author~/^B/]', {data: data, allowRegexp: true})

If you need multiple conditions use boolean logic:
jsonQuery('[*][* hearts>=3 & author~/^B/]', {data: data, allowRegexp: true})

By the way, the [*] flattens the object into an array just containing values.

Thank you so much! Really appreciated.

Still does not work. When I try to do what you recommend, I get this error:
TypeError: Cannot read property 'slice' of undefined

Can you send me an example of code that throws this error?

data: {
 '-KIiI017ZHO4pDSKoPli':
   { author: 'Sean Bean',
     hearts: 3},
  '-KIiI01AvL2M-9LLkPjN':
   { author: 'Rosa DeLauro',
     hearts: 2},
  '-KIiI01BiBeO9tzDGl4G':
   { author: 'Bo Derek',
     hearts: 4},
  '-KIiI01BiBeO9tzDGl4H':
   { author: 'Billy Bush',
     hearts: 5},
  '-KIiI01CHVr6l_YGEV3Z':
   { author: 'Doc Hastings',
     hearts: 3}
 }

Here is the code (authorParam="Derek"):
var queryResults = jsonQuery(`[*][*author~/${authorParam}/i]`, {
                data: objects,
                allowRegexp: true
            });
            console.log(queryResults);

And the stack:
TypeError: Cannot read property 'slice' of undefined
    at tokenizeSelect (........../node_modules/json-query/lib/tokenize.js:172:17)
    at Object.handlers.select (................/node_modules/json-query/lib/tokenize.js:52:14)
    at handleBuffer (................
    at module.exports (................................/node_modules/json-query/lib/tokenize.js:123:9)
    at jsonQuery (..................................node_modules/json-query/index.js:16:29)
    at ...................................app.js:82:32
    at process._tickCallback (internal/process/next_tick.js:103:7)

Seems to be working for me. Are you using the latest version of json-query? (v2.1.0)
This is the code I'm using:
var data = {
   '-KIiI017ZHO4pDSKoPli':
     { author: 'Sean Bean',
       hearts: 3},
    '-KIiI01AvL2M-9LLkPjN':
     { author: 'Rosa DeLauro',
       hearts: 2},
    '-KIiI01BiBeO9tzDGl4G':
     { author: 'Bo Derek',
       hearts: 4},
    '-KIiI01BiBeO9tzDGl4H':
     { author: 'Billy Bush',
       hearts: 5},
    '-KIiI01CHVr6l_YGEV3Z':
     { author: 'Doc Hastings',
       hearts: 3}
}

var authorParam = "Derek";
var queryResults = jsonQuery(`[*][*author~/${authorParam}/i]`, {
    data: data,
    allowRegexp: true
}).value;

console.log(queryResults);

Also as of v2.1.0, you no longer need to use a regexp for matching includes. This will now work too:
var authorParam = "Derek";
var queryResults = jsonQuery(`[*][*author~${authorParam}]`, {
    data: data
}).value;

Also to be safe (instead of just injecting stuff into queries), you can use the built in param escaping:
var authorParam = "Derek";
var queryResults = jsonQuery(["[*][*author~?]", authorParam], {
    data: data
}).value;


Pretrained weights for QAT version of Maskrcnn

Hi,
While performing a quantization aware training for maskrcnn, which model weights should i use ?
Like for faster rcnn the link is there but in model zoo i couldn't find any link to pretrained weights for qat_maskrcnn*****.
And if i use the qat config and use normal weights. The predictions are simply random. And if i don't use qat, its great

@rsadiq we usually use fully trained weight from floating point model to initialize QAT, for example, a real world config for QAT faster_rcnn_fbnetv3a_C4  would be like:
_BASE_: "faster_rcnn_fbnetv3a_C4.yaml"
MODEL:
  WEIGHTS: <fully trained weight that can be found from model zoo>
SOLVER:
  ...
QUANTIZATION:
  ...

The faster_rcnn_fbnetv3a_C4 .yaml is just a dummy example, as you can see the SOLVER. MAX_ITER is only 50, in real world, it needs to train for thousands of iterations.


Set splitNamespaceBundle with readonly=false.

Master Issue: #14668
Fixes: #14668
Motivation
When we split a not loaded namespace bundle, we will meet the below error:
Failed to find ownership for ServiceUnit:tenant/namespace/0x00000000_0x10000000

Because when validating namespace bundle ownership with readonly=true :
https://github.com/apache/pulsar/blob/fe7e55d9f353925a559e88f8ceef2b47b59668e0/pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/NamespacesBase.java#L1145-L1151
and if the bundle is not owned by any broker, it will return empty(line-392):
https://github.com/apache/pulsar/blob/fe7e55d9f353925a559e88f8ceef2b47b59668e0/pulsar-broker/src/main/java/org/apache/pulsar/broker/namespace/NamespaceService.java#L388-L400
so throw the below exception :
https://github.com/apache/pulsar/blob/fe7e55d9f353925a559e88f8ceef2b47b59668e0/pulsar-broker/src/main/java/org/apache/pulsar/broker/web/PulsarWebResource.java#L576-L582
Modification

Change readonly from true to false when validating namespace bundle ownership.

Documentation

[x] no-need-doc

As the difference I said in #14668, I'm still curious why standalone works while cluster doesn't work. See the following screenshot, even if readOnly is true, the webUrl is still retrieved successfully.

As the difference I said in #14668, I'm still curious why standalone works while cluster doesn't work. See the following screenshot, even if readOnly is true, the webUrl is still retrieved successfully.

This is not for cluster only, standalone is also not work. My test could reproduce.

I deleted my reply at this moment. I'll dig deeper into this issue.

I think the difference is that when I ran a standalone, each bundle was owned by the broker because I've sent some messages to some partitions. See the original code snippet:
            try (PulsarClient client = PulsarClient.builder().serviceUrl("pulsar://localhost:6650").build()) {
                for (int i = 0; i < numPartitions; i++) {
                    client.newProducer().topic(topic + TopicName.PARTITIONED_TOPIC_SUFFIX + i)
                            .create().send("1".getBytes());
                }
            }

When I debugged in a standalone, i.e. the nsData returned by ownershipCache.getOwnerAsync(bundle) is not empty.

There is another weird thing I've described in #14668. I'm not sure if it's related.

The standard output is also weird:
[0x00000000, 0x10000000, 0x20000000, 0x30000000, 0x40000000, 0x50000000, 0x60000000, 0x70000000, 0x80000000, 0x90000000, 0xa0000000, 0xb0000000, 0xc0000000, 0xd0000000, 0xe0000000, 0xf0000000, 0xffffffff]
The defaultNumberOfNamespaceBundles is 4, but the initial number of bundles is 16.

Maybe some bundles were not owned by the broker. I'll try to split all bundle ranges to see if there is any bundle range that can be split.

It works now.
When I ran a standalone, there were 4 bundle ranges. However, when I ran a cluster, there were 16 bundle ranges and some bundle ranges were not owned.
I think we need another issue to track the issue that defaultNumberOfNamespaceBundles doesn't work for cluster mode.