Support New Benin Phone Number Format (Forced Effective November 30, 2024)

Support New Benin Phone Number Format (Effective November 30, 2024)
Description
Benin updated its phone number format on November 30, 2024, to accommodate the increasing number of users. The change includes the addition of the "01" prefix to all existing numbers, extending the total length to 10 digits.
New Format Details:

Country Code: +229
Prefix: 01 (new)
Example Conversion:

Old Format: +229 97 00 00 00
New Format: +229 01 97 00 00 00

Key Requirements:

Update the library to validate the new 10-digit phone numbers in Benin.
Ensure backward compatibility with the 8-digit numbers by recognizing and converting them into the new format.
Add test cases to verify both existing and new formats.

References:

Pawapay Blog - Benin Phone Number Format Change
Wikipedia - Telephone Numbers in Benin

It appears that the changes to support Benin's updated phone number format (effective October 31, 2024) have already been implemented in the metadata. Specifically:
The "01" prefix for 10-digit numbers is present in the patterns.
Legacy 8-digit numbers are still recognized.
Both PhoneMetadataFormatListDefinition and PhoneMetadataPatterns reflect these updates.
However, after testing, the following issues were observed:
Parsing: The library fails to correctly identify or parse some valid 10-digit numbers with the "01" prefix.
Formatting: Numbers that should follow the new 10-digit format are not being formatted as expected (e.g., +229 01 XX XX XX XX).
Validation: Certain valid numbers are incorrectly flagged as invalid.

ah, i see in commit 9bb32eb that the changes were made yesterday. When will this be released?

This repo would really benefit from an auto publish action, but I've no time to add that yet.
Will release now.

This repo would really benefit from an auto publish action, but I've no time to add that yet.
Will release now.

Happy to do the work for it if you wanted to assign me the ticket?

There is this issue #73 . Do you want / need write access ?

yeah for the ENV

I do not think you need write access for this.
I added the following configuration to the package on pub.dev

Cool thanks ill get on it soon


(GH-708) Add ability to detect branches when running on detached tags

This commit adds the ability to detect wether we
are running on one of the supported branches even
in the cases where the current commit is a tag,
and it is not directly attached to a specific branch.
The changes made have been tested locally on both a detached tag, and on seperate branches associated with the tag.
KNOWN PROBLEMS: If the current branch is not 1 of the currently supported branches, and it is the current head of both the tag and one of the supported branches, then the supported branch will be used instead of 'Unknown'
fixes #708

@AdmiringWorm thanks for doing this!  This was on my short term todo list to figure out, so I really appreciate you taking the time!

@gep13 not a problem, especially since I was the one affected by the problem :smile:


Tidy up init command impl, make it unpack into current folder

Unpacking into the current folder is much more useful due to the fact that we recommend people use a bootstrap script.

With the previous approach, you end up with a bootstrap script in the parent dir and a subfolder with another bootstrap script with the real build inside.
With the new approach, you download a bootstrap script, run init, and it fleshes out the example in place

Since we now unpack into an existing folder that may or may not have things already in it, we add a new heuristic to fail early if the unpacking would over-write any existing files. This is a compromise, since we cannot easily assume the folder is 100% empty (what if there's a .DS_STORE in it???), nor can we remove any previous files we do not understand (what if there's already a .gitignore or .git?), and we also do not want to stomp over any existing files (what if there's already a build.mill and someone accidentally calls init?).
Tweak the implementation to avoid using so many nested Trys, normal exception handling is enough
Tested manually via ./mill installLocalCache

@lefou with the current impl, we do not delete/overwrite any file, and fail early if there's any conflict between the zip example and the files already on disk

There's something funky with ./mill -iw main.init.test looping indefinitely, but that's already present in master and not unique to this PR. Will look into it

I was referring to he deleting of a per-existing mill script.


Relative virtualenv path being from with root (/) as prefix leading to ENOENT on all python backed tooling used by extensions (yapf, flake8, isort)

Type: Bug

Behaviour
Expected vs. Actual
Expected to see /home/dino/work/gpt-website/.venv/bin/python
Actual: /.venv/bin/python
Steps to reproduce:

No idea, I also started threw away all user+workspace settings, still the same issue.

Diagnostic data

Python version (& distribution if applicable, e.g. Anaconda): 3.11.5
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Poetry
Value of the python.languageServer setting: Default

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

XXX

User Settings

venvFolders: "<placeholder>"

languageServer: "Pylance"

testing
• pytestEnabled: true
• autoTestDiscoverOnSaveEnabled: false

terminal
• activateEnvironment: false

Extension version: 2023.20.0
VS Code version: Code 1.84.1 (2b35e1e6d88f1ce073683991d1eff5284a32690f, 2023-11-06T12:35:31.181Z)
OS version: Linux x64 6.5.9-arch2-1
Modes:

System Info

Item
Value

CPUs
AMD Ryzen 9 5950X 16-Core Processor (32 x 3739)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
1, 1, 1

Memory (System)
31.27GB (13.23GB free)

Process Argv
. --crash-reporter-id 0ea64d26-4c4a-46ca-aae0-8d47244e39f0 --crash-reporter-id 0ea64d26-4c4a-46ca-aae0-8d47244e39f0

Screen Reader
no

VM
0%

DESKTOP_SESSION
gnome

XDG_CURRENT_DESKTOP
GNOME

XDG_SESSION_DESKTOP
gnome

XDG_SESSION_TYPE
x11

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscoreces:30445986
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
py29gd2263cf:30880073
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
282f8724:30602487
89544117:30613380
2i9eh265:30646982
showlangstatbar:30737416
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
welcomedialogc:30882110
pythonnosmt12:30797651
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30869155
dsvsc013:30795093
dsvsc014:30804076
dsvsc015:30845448
pythontestfixtcf:30871695
pythonregdiag2:30871582
pyreplss1:30879912
pythonmypyd1:30879173
pythoncet00cf:30874137
pythontbext0:30879054
dsvsc017:30880892
dsvsc018cf:30880895
aa_t_chat:30882232

@dhensen Please provide logs from Output > Python

Try clearing the workspace setting using Python: Clear workspace interpreter setting command. If that doesn't work, use Python: Clear cache command.

@karthiknadig
2023-11-09 22:47:40.256 [info] Experiment 'pythonaa' is active
2023-11-09 22:47:40.256 [info] Experiment 'pythonPromptNewFormatterExt' is active
2023-11-09 22:47:40.256 [info] Experiment 'pythonPromptNewToolsExt' is active
2023-11-09 22:47:40.256 [info] Experiment 'pythonRecommendTensorboardExtcf' is active
2023-11-09 22:47:40.256 [info] Experiment 'pythonREPLSmartSend' is active
2023-11-09 22:47:40.256 [info] Experiment 'pythonTestAdaptercf' is active
2023-11-09 22:47:40.256 [info] Default formatter is set to null for workspace /home/dino/work/gpt-website
2023-11-09 22:47:40.256 [info] VS Code was launched from an activated environment: '.venv', selecting it as the interpreter for workspace.
2023-11-09 22:47:40.256 [info] Test server listening.
2023-11-09 22:47:40.256 [info] Python interpreter path: .venv/bin/python
2023-11-09 22:47:40.808 [info] > conda info --json
2023-11-09 22:47:40.878 [info] > ~/.conda/bin/conda info --json
2023-11-09 22:47:40.992 [info] > ~/.conda/envs/ldm/bin/conda info --json
2023-11-09 22:47:41.740 [info] Starting Pylance language server.

@karrtikr
I forgot to mention I already issues a Python: Clear workspace interpreter setting, this solves yapf and isort, but flake8 formatter still complains
I dont see a Python: Clear cache, but I see a Python: Clear cache and Reload Window, when doing that, all 3 issues come back again.
I've then tried spamming those two commands in different combinations, does not help. Any other ideas?

Allright I have a lead.
I start vscode like this:
I autojump to /home/dino/work/gpt-website
I'm using direnv, my .envrc looks like this:
export PYTHONPATH=$PWD
export VIRTUAL_ENV=.venv
PATH_add .venv/bin

When I unset VIRTUAL_ENV, then do code .
Now when I do Python: Clear workspace interpreter, then select my intepreter again, it works.
I can close vscode and from the same terminal do code . again.
When I now add back VIRTUAL_ENV=.venv again, it breaks again.
This has worked fine before, I don't know exactly when this started, since I also use neovim on a more regular basis.

I've changed a line in my .envrc to:
export VIRTUAL_ENV=$PWD/.venv problem solved. I guess something changed the way vscode/python handles relative paths in VIRTUAL_ENV.
Should this issue be closed?

@dhensen Why are you manually setting VIRTUAL_ENV? Activating virtual envs is done by source .vemv/bin/activate, what you are doing can break things in an undefined way.

I will see what happens when I don't do anything, but I have been using this for years like this, was never an issue.


doc: change documentation/website to hugo

Description
This replaces the current own documentation/website solution with Hugo. It uses the exactly same structure, theme, and style from official Flowbite documentation.
Type of change

[X] This change contains documentation update

Breaking changes
None.
How Has This Been Tested?

Manual test only :pray:

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules
[x] I have checked my code and corrected any misspellings

I'm merging this PR so we can continue to work on smaller PRs, otherwise it would be terrible to review. Keep in mind that this documentation doesn't replace the current documentation YET! But it is one step to get it done.


removeTags & addTags functions added.

fixes #41

Could you also update the readme?

Could you also update the readme?

Will do

@freekmurze could you check the updated PR please ?

Thanks!


paper icons need text labels

just installed the mitsubishi_hass custom component into hass.io and noticed that the icons don't have text labels on the dashboard. I'm totally blind and rely on a screen reader to speak what is happening, without text labels on the icons, my screen reader just says unlabelled button for everything.
Are you able to add text labels to the controls that are rendered in the lovelace UI?
You can use the aria-label attribute to add text labels to the controls. a screen reader will then be able to associate a text label to the control. e.g aria-label="mode"
Info on aria-label and other info on making web ui's more accessible can be found at
https://www.w3.org/TR/WCAG21/
I appreciate anything you can do.
Nick

Hi Nick,
Thanks for installing the component and sorry to hear about your usability issue. Unfortunately any specific issues with the implementation of the Lovalace UI are more in the realm of the Home Assistant Devs themselves. My custom component adheres to their interface specifications for the Home Assistant Thermostat model and uses the standard defined modes (heating, cooling, fan) but the actual view is rendered by the Lovelace UI which isn't really touched by my component.
What I will do is copy this issue over to the Home Assistant repo as it is highly likely that this issue impacts a lot of elements within the Lovelace UI and it should be sorted out. It shouldn't be too difficult for the Lovelace Devs to apply the aria-labels to all their UI elements and as good corporate citizens they absolutely must do this.
Kind Regards,
Scott Phillips.

Hi Nick,
I have opened up issue 30495 on the Home Assistant repo.
https://github.com/home-assistant/home-assistant/issues/30495
Kind regards,
Scott Phillips

Hi @scottyphillips thanks for that. I should have realized that the icons in the lovelace UI weren't being rendered by your code. I appreciate you following it up with the hass project.


Company Custom field Page - Show company name when change custom field view

Describe the bug

We can not find which company's custom field we are changing
Show company name in custom field view

https://www.berrycast.com/conversations/ab258956-295c-50eb-8315-a02cbb6b9df4


[Container Statistics Error] since new version

Hello,
since last version with the new container statistics dashboard, when the network is in "host", the message "Failure. Cannot read property 'rx_bytes' of undefined" is displayed and nothing is working on the page. It's working on "bridge" mode.
Thank you.

Thanks for the report, we will investigate.


DBZ-3006: Update Kafka Docker image Heap

The variable HEAP_OPTS value needs to be used.

@jpechane, does this need a doc update too (README)?

@rgannu Applied, thanks!


Proposal of another poolSettings parameter

Currently connection leak detection can destroy a connection in busy state if the query exceeds the "leakDetectionThreshold" timeout. I have tried this code in place of "idleTimeout" property just to check if it works. It will destroy connection only if the connection state is in "Idle" state and not released to the pool. Seems ideal for leaking connections. Or I'm missing something ?
_checkIdleTimeout(PooledConnectionImpl pconn) {
if (_connections.length > settings.minConnections) {
if (pconn._state != available //Not available
&& pconn._connection.state == idle //But in idle state
&& pconn._obtained != null
&& _isExpired(pconn._obtained, settings.idleTimeout)) {
_debug('Idle connection ${pconn.name}.');
_destroyConnection(pconn);
}
}
}

From memory I believe I copied this behaviour from Hikari https://github.com/brettwooldridge/HikariCP . But it has been a while since I wrote it - so my memory is a bit hazy about the specifics.
I believe the idea is that the pool can also clean up deadlocked connections, or connections which are taking too long to perform a query.
I'm open to adding settings for this - but perhaps it's worth first having a look at common Hikari production settings to get some inspiration.

After some investigation of the HikariCP driver I found these comments quite interesting:
https://groups.google.com/forum/#!topic/hikari-cp/zBKo96xoHXI - (the second comment)
and
https://github.com/brettwooldridge/HikariCP/pull/114
So in short they have two main arguments against having option like that. The first applies to threads and being not sure that some other thread is not using the same connection and the second as being bad practice. The first argument seems to not apply here, as for the second - yes it is bad practice and sure we should use that option with a coution, but sometimes it can be lifesafer till the leak is found.
I know see that this can be implemented outside the driver as we have access to "obtained" and "connectionState", so I'm a little confused wether it's a good place for this in the driver, but comparing it with leakDetectionThreshold it doesn't seem more damaging.

Thanks for digging into this.
Perhaps the right thing to do is to add a setting called something like :
closeLeakedConnectionsIfBusy
I'm pretty snowed under with work at the moment, but might be able to look
at this during the week.
On Tue, Aug 11, 2015 at 10:16 AM, Petar Sabev<EMAIL_ADDRESS>wrote:

After some investigation of the HikariCP driver I found these comments
quite interesting:
https://groups.google.com/forum/#!topic/hikari-cp/zBKo96xoHXI - (the
second comment)
and
brettwooldridge/HikariCP#114
https://github.com/brettwooldridge/HikariCP/pull/114
So in short they have two main arguments against having option like that.
The first applies to threads and being not sure that some other thread is
not using the same connection and the second as being bad practice. The
first argument seems to not apply here, as for the second - yes it is bad
practice and sure we should use that option with a coution, but sometimes
it can be lifesafer till the leak is found.
I know see that this can be implemented outside the driver as we have
access to "obtained" and "connectionState", so I'm a little confused wether
it's a good place for this in the driver, but comparing it with
leakDetectionThreshold it doesn't seem more damaging.
—
Reply to this email directly or view it on GitHub
https://github.com/xxgreg/dart_postgresql/issues/66#issuecomment-129631733
.

@xxgreg hello, any updates here?)


Elixir 1.6 update

Coverage remained the same at 100.0% when pulling c4281535e96fdf40f79cc2cedb20638072021d20 on elixir-1.6 into 871c11de07880bc4b2f2674eb663412cabc69ee6 on master.

Coverage remained the same at 100.0% when pulling c4281535e96fdf40f79cc2cedb20638072021d20 on elixir-1.6 into 871c11de07880bc4b2f2674eb663412cabc69ee6 on master.


Rewards not showing up?

Hello I have integrated your package into my unity 2019.4.10f1 project, upon setting up my authentication and running the example chat scene, messages show up fine, but rewards don't show up at all - I've tried with an external account too thinking maybe it won't show self account posted rewards but neither work.  Any ideas?

Hello I have integrated your package into my unity 2019.4.10f1 project, upon setting up my authentication and running the example chat scene, messages show up fine, but rewards don't show up at all - I've tried with an external account too thinking maybe it won't show self account posted rewards but neither work. Any ideas?

Only rewards with a message work. Otherwise it won't be detected. Please check it out and let me know!
Also It should work with your own account, you don't need an external account.


API Center Portal - Login Prompt appears then quickly disappears not allowing user to enter credentials

##Description
The Sign In button prompt dialog appears and quickly disappears without allowing the use to enter proper credentials. No consent dialog is shown either.
Reproduction steps
Followed the directions posted here to configure API Center Portal
https://learn.microsoft.com/en-us/azure/api-center/enable-api-center-portal
Expected behavior
User is promoted and shown a login dialog to Sign In. At least 1st time through the process. Tenant accounts can be in the form of Cloud only, Federated or External (EXT), or Corporate synched account.
Actual behavior
I used different scenarios. All produced the same.
1st. I am signed in to my browser using a corporate account that has been configured with access according to the documentation. 2nd. Same as 1st but with a private browser session.
3rd. Configured a cloud-only account in the Entra tenant.
Error messages (From browser developer tools dialog)
Error number one. Was leading me to re-think the user login/credential as well as application registration.
"error": "invalid_tenant", "error_description": "AADSTS90002: Tenant 'undefined' not found. Check to make sure you have the correct tenant ID and are signing into the correct cloud.
Error number two. Was not expected.
Uncaught (in promise) BrowserAuthError: interaction_in_progress: Interaction is currently in progress. Please ensure that this interaction has been completed before calling an interactive API.   For more visit: aka.ms/msaljs/browser-errors
Additional context
Configured the API Center portal in 2 different Entra tenants. Same result. In some cases, the login prompt would not even come up. Consent is not shown.

Thanks for bringing this issue to our attention @jharbieh-microsoft. This issue was caused by a build version issue in the East US region and should now be resolved. Could you try deleting and then recreating the Entra ID configuration in the Azure portal UI and then see if sign-in works?

Thanks @Bruce-Moe It worked as expected!  A couple of variances.
On my MSDN Azure benefit subscription with a @live.com account all is well. Consent was provided by the @live.com User. However, on my corporate tenant it still required Admin Consent even though the API Permissions screen says otherwise.

I am thinking Tenant Admins might still have a policy that overrides what we configured in our App Registration. I don't know.
Thoughts?
Thanks for looking into this.

Thanks @Bruce-Moe I appreciate you spending time on this. I will close this issue. All good here.


chore(asdf-vm): add shellcheck version

asdf was throwing an error about this.

@ReactorScram Seems like your commit signing doesn't work.

@thomaseizinger Thanks, I'll check that out. I must have missed something when setting up my Debian VM


Failed to build kv260 sd_card image

Hi,
After successful build of my first Ros2 publisher example I am trying to create image, but it is failing with below error:
jasvinder@jasvinder-ubuntu:~/jassi/ROS2/krs_ws$ colcon acceleration linux vanilla --install-dir install-kv260
SECURITY WARNING: This class invokes explicitly a shell via the shell=True argument of the Python subprocess library, and uses admin privileges to manage raw disk images. It is the user's responsibility to ensure that all whitespace and metacharacters passed are quoted appropriately to avoid shell injection vulnerabilities.
- Creating a new base image using /home/jasvinder/jassi/ROS2/krs_ws/acceleration/firmware/select/rootfs.cpio.gz ...
[sudo] password for jasvinder:
Something went wrong while creating sd card image.
Review the output: gzip: stdin: unexpected end of file

It is really hard to debug what went wrong. Are there any pointers where to debug for this issue.
PS: I am able to create the image on different Ubuntu machine, but it is failing on my local machine.

Can you try adding the debug flag to see what's failing under the hood? See the options as follows:
colcon acceleration linux -h
usage: colcon acceleration linux [-h] [--debug] [--install-dir INSTALL_DIR]
                                 [--mixin-files [FILE [FILE ...]]]
                                 [--mixin [mixin1 [mixin2 ...]]]
                                 [{preempt_rt,vanilla}] [rootfs]

Configure the Linux kernel.

positional arguments:
  {preempt_rt,vanilla}  Kernel type. Use "vanilla" key for a kernel with the default
                        config, or "preempt_rt" key for a fully preemptible (PREEMPT_RT) kernel.
  rootfs                rootfs name relative to firmware_dir path. If not provided, defaults to
                        rootfs.cpio.gz.

optional arguments:
  -h, --help            show this help message and exit
  --debug
  --install-dir INSTALL_DIR
                        relative path to the workspace directory to deploy in emulation
                        (typically 'install-*').

Mixin predefined sets of command line parameters:
  --mixin-files [FILE [FILE ...]]
                        Additional files providing mixins
  --mixin [mixin1 [mixin2 ...]]
                        No mixins are available for this verb

Do the following and report back in here:
colcon acceleration linux vanilla --install-dir install-kv260 --debug

It is not giving any extra information:
jasvinder@jasvinder-ubuntu:~/jassi/ROS2/krs_ws$ colcon acceleration linux vanilla --install-dir install-kv260 --debug
SECURITY WARNING: This class invokes explicitly a shell via the shell=True argument of the Python subprocess library, and uses admin privileges to manage raw disk images. It is the user's responsibility to ensure that all whitespace and metacharacters passed are quoted appropriately to avoid shell injection vulnerabilities.
- Creating a new base image using /home/jasvinder/jassi/ROS2/krs_ws/acceleration/firmware/select/rootfs.cpio.gz ...
[sudo] password for jasvinder:
Something went wrong while creating sd card image.
Review the output: gzip: stdin: unexpected end of file

Then it's pretty early in the process. Something's failing in https://github.com/ros-acceleration/colcon-acceleration/blob/main/colcon_acceleration/subverb/linux.py#L300. Possibly a dependency that you have not installed.
I can't reproduce this behavior in my machine. I'd suggest debugging this function (note you'll need to rebuild your workspace for every change so that files are re-deployed in your overlay)? Just put some simple traces, until you bump with the issue.

@vmayoral , Thanks for a quick reply ! I will check and let you know what might be causing the issue.

@jasvinderkhurana any chance we can close this ticket?

@jasvinderkhurana I'm closing this, feel free to re-open providing more context if the issue still persists.


tests for exp_dist

IMPORTANT: Please search among the Pull requests before creating one.
Description

How has this been tested?

Closes

this is good test to take inspiration from @LLehner https://github.com/scverse/squidpy/blob/e561bc468cbf745e7ee2010b74824142625391a4/tests/graph/test_ppatterns.py#L16-L46


Use cache-api instead of QueryAPI for Proposals and Rfp's

Resolves #968
Resolves #987
This PR replaces all instances where we call the near-queryapi for proposals and rfps in events committee, infra and devhub.
As it is a sub issue of the 🔷 EPIC: Replace Indexer.
It does not include the snapshot logging between all relationship changes of proposals and rfp's YET. That is on purpose.
Skipping discussions test
I've updated this PR to intentionally skip the failing test due to RPC timeouts. I created a bug issue https://github.com/NEAR-DevHub/neardevhub-bos/issues/991 to track the problem and temporarily disabled the test to unblock the pipeline. A note referencing the issue has been added in the source code. The impact of losing test coverage is minimal, as we are considering removing communities from the platform entirely.

@Megha-Dev-19 we need to fix some of the tests and then this issues is finished.

@race-of-sloths include

@Tguntenaar Thank you for your contribution! Your pull request is now a part of the Race of Sloths!

Current status: waiting for scoring
We're waiting for maintainer to score this pull request with @race-of-sloths score [0,1,2,3,5,8,13] command. Alternatively, autoscoring [1,2] will be applied for this pull request
What is the Race of Sloths

Race of Sloths is a friendly competition where you can participate in challenges and compete with other open-source contributors within your normal workflow
For contributors:

Tag @race-of-sloths inside your pull requests
Wait for the maintainer to review and score your pull request
Check out your position in the Leaderboard
Keep weekly and monthly streaks to reach higher positions
Boast your contributions with a dynamic picture of your Profile

For maintainers:

Score pull requests that participate in the Race of Sloths and receive a reward
Engage contributors with fair scoring and fast responses so they keep their streaks
Promote the Race to the point where the Race starts promoting you
Grow the community of your contributors

Feel free to check our website for additional details!

Bot commands

For contributors

Include a PR: @race-of-sloths include to enter the Race with your PR

For maintainers:

Invite contributor @race-of-sloths invite to invite the contributor to participate in a race or include it, if it's already a runner.
Assign points: @race-of-sloths score [1/2/3/5/8/13] to award points based on your assessment.
Reject this PR: @race-of-sloths exclude to send this PR back to the drawing board.
Exclude repo: @race-of-sloths pause to stop bot activity in this repo until @race-of-sloths unpause command is called

@race-of-sloths score 13

I looked at it again, and I can't find anything. I hope our test-coverage is sufficient to ensure that critical functionality is not broken. Will you do a manual check of the functionality in all 3 instances after you've merged @Tguntenaar ?

@petersalomonsen I will do the manual check right now 👍🏻


New side panel indicator designs for 1.0 release

Purpose
Update the indicator design for the side panel:

Missing Data icon:

Skeleton:

Tasks

[ ] remove all up and down
[ ] replace the no smoking Icon with the missing icon
[ ] missing data should use the error_outline icon from the USWDS. it should go in the Value field.
[ ] instead of highlighting the entire indicator(with a baby blue background), only highlight the Value (dark blue background around the value) when the indicator is above the threshold. change the text color of the value to white.
[ ] instead of a blue dot on the category, change the entire background (to dark blue) of the category when it is above the associated threshold(s), otherwise leave as is. change the text color and the icon color (the plus sign) to white.
[ ] when data is missing, the SubText should say "missing data"
[ ] the value of missing data should be '--'
[ ] Title and Value should have the same font treatment (weight and size)

the new side panel design

missing data should use the error_outline icon from the USWDS

it should go in the value field.
the string should say
"missing data"

@KameronKerger - can you validate the tasks for this ticket? This will also serve as the QA checklist!
Thanks!

ok I edited the above @vim-usds

@KameronKerger - this is awesome! Thank you!


It's not working

I setup all the variables correctly even after that it's not working

What is the problem. Is there any screenshots or error logs?


chore(core): upgrade msrv of opendal core to 1.80

Which issue does this PR close?
Close https://github.com/apache/opendal/discussions/5253
Rationale for this change
This is a pre-modification of #5252. I want to keep the modification of #5252 as pure as possible.
What changes are included in this PR?

upgrade MSRV of opendal core: 1.75 => 1.80
use inspect and inspect_err instead of map and map_err to fix clippy warnings

Are there any user-facing changes?
MSRV: 1.75 => 1.80

As discussed in https://github.com/apache/opendal/discussions/5253 and https://github.com/apache/opendal/discussions/5256, it's unlikely this will be updated to 1.80 soon. Would you like to close this PR and wait?

Yeah, we can reopen this PR when we need it


Propagate attributes in std.allocator.make{,Array} [revived]

Awoken from the dead - here's a second comeback of #3031, after #3891 was abandoned.
The general idea is that
make and makeArray can be pure nothrow @safe for the GCAllocator and
nothrow @safe @nogc for other allocators.
The approach of @JakobOvrum is a bit strict as it requires pure constructors,
if anyone has an idea how we could widen this restriction, don't hesitate to share.
Moreover it doesn't work yet with Classes.

Current coverage is 88.68% (diff: 88.13%)

Merging #4677 into master will increase coverage by <.01%

@@             master      #4677   diff @@
==========================================
  Files           121        121
  Lines         73827      73858    +31
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits          65471      65501    +30
- Misses         8356       8357     +1
  Partials          0          0

Powered by Codecov. Last update 6db08d3...88c7b70

good job with the unittest coverage, but there are still a couple constructors that are never called.
this is pretty daunting in size. Is it possible to break this up into smaller, more incremental ones?

this is pretty daunting in size. Is it possible to break this up into smaller, more incremental ones?

Oh sorry. I tried my best, but there is still some dependency left.


Exclude filter by name or role

It seems that the exclude syntax (~) only works for tags.  It would be useful if I could use it for roles or feature names also, as in:
default:
  suites:
    user:
      filters:
        tags: ~@browser
        role: ~admin
    admin:
      filters:
        role: admin

Is there a way to achieve this currently?

@hackel yes, use narrative filter: https://github.com/Behat/Behat/blob/master/features/suite.feature#L413


Conflict with FomalhautShop plugin

Describe the bug
Conflict with FomalhautShop plugin
https://github.com/FxRayHughes/FomalhautShop
To Reproduce
Expected behavior
Enable two plugins to load properly
Screenshots

Server Information (please complete the following information):

Version: -
Version of plugin and eco -

Additional context

please update paper 1.20.6

please update paper 1.20.6

Hello, thank you for your answer, but it has nothing to do with the paper version

plugin conflict, ask  in discord so we can patch your fomalhautshop jar

plugin conflict, ask in discord so we can patch your fomalhautshop jar

Hello, thank you for your reply (although it's a bit late). The author of the fomalhautshop plugin has fixed this issue


Not open databse pre-populte db

Error opening pre-populated DB asset in app bundle www subdirectory: storage/emulated/0/Download/OutstandingPayable.SQLITE

Please use issue filign template. There is nothing in your post that can be of any use. If you do not provide the details I will close it for insufficient information.

Hello
var db = openDatabase({
name:  'OutstandingPayable,
createFromLocation: '/storage/emulated/0/Download/OutstandingPayable.SQLITE'
})
i have to access sqlite from my

device path but getting error

Error opening pre-populated DB asset in app bundle www subdirectory: storage/emulated/0/Download/OutstandingPayable.SQLITE(My sqlite file name)
if i have add manually .SQLITE file paste in assets then working proper

Please refer to documentation regarding location of the template database file especially createFromLocation parameter in opening database section.

ok thanx

Please close this issue, there is nothing wrong with database file opening.


PP-426/review-documentation

What

Make it clearer what’s the purpose of RIF Relay
How to run it from scratch
How to integrate your dApp/wallet with RIF Relay.

Why

To improve the information about RIF Relay Project

Refs

Jira issue

I did take in consideration the PR to update the Revenue Sharing feature documentation.

@franciscotobar I think you missed the hidden conversation. Please have a look at this for instance, but there are other comments that have no reply

I already inlcuded those changes in the branch, thank you for your support :)

@franciscotobar thank you for the changes, apart from the comments I left, I think we should:

update the table of content of the rif/relay/architecture page, it looks like it's outdated (i.e.: stake manager entry is wrong, custom smart wallet should be removed)
in rif/relay/gas-costs, should we consider the removal of the transaction batching section since that feature isn't implemented yet?

@franciscotobar I think those comments are still valid


Do not remove image when it is being used by a container

For https://github.com/containerd/cri/issues/990.
This PR:

Added a check in image_remove.go to make sure image can only be removed when it is not used by a container;
Added a leases field in Image to avoid the race condition between the check and container creation.

@mikebrow Rebased.
Note that this PR also changes the test containerd binary to be containerd-test, so that we can easily restart containerd in the test without breaking Docker 18.09+ on the node.

Hm, I'm really not sure whether we need this...
Let's wait for our customers' feedback. If removing image when containers exist cause issue in the future, we can always get back to this...

The master branch on this repository has been merged into containerd/containerd. If we still need this, we can add it back there.


Ran bundle update, but held back the mail gem

Run:
bundle update
rake
All tests should pass.  Once it is merged, this change should eliminate the potential security vulnerability warning that GitHub is currently giving us on the main repository page.

Coverage remained the same at 91.277% when pulling 6749ce35254974f95c08c9ca42cdf303be731b82 on bundle-update-with-mail-lock into a84ebc9cbd69121b8a37b92b95fb307d3382bcf7 on master.


Error in Powertoys notification. Showing placeholder name, instead of placeholder contents (basically shows variables and their names, instead of their contents)

ℹ Computer information

PowerToys version: v0.29.3
PowerToy Utility: The update utility
Running PowerToys as Admin: No.
Windows build number: [run "winver"] : 19041.685

📝 Provide detailed reproduction steps (if any)

…   I just  got a notification, one day after I had updated powertoys, but did not reboot, and just put the computer on hibernate.

✔ Expected result
What is the expected result of the above steps?
The text that a powertoys update was available was expected.
❌ Actual result
What is the actual result of the above steps?
I get {title} and {message}, instead of those variables being filled and shown.
📷 Screenshots
Are there any useful screenshots? WinKey+Shift+S and then just paste them directly into the form

@yatharth9
this is supposed to be fixed in 0.29 https://github.com/microsoft/PowerToys/issues/8550
If you are running 0.29.3 the notification you attached cannot be from 0.29.3 since there is no new version available.
It must be a notification generated by 0.27 and still cached by Windows.
What happens if you select "Update now"?

@yatharth9
this is supposed to be fixed in 0.29 https://github.com/microsoft/PowerToys/issues/8550
If you are running 0.29.3 the notification you attached cannot be from 0.29.3 since there is no new version available.
It must be a notification generated by 0.27 and still cached by Windows.
What happens if you select "Update now"?

When "Update now" is clicked, an installer runs, however there is no action occurring. It might just be the system caching the notification.

When "Update now" is clicked, an installer runs, however there is no action occurring. It might just be the system caching the notification.


download_all_remote_layers API: require client to specify max_concurr…

…ent_downloads
Before this patch, we would start all layer downloads simultaneously.
There is at most one download_all_remote_layers task per timeline. Hence, the specified limit is per timeline.
There is still no global concurrency limit for layer downloads. We'll have to revisit that at some point and also prioritize on-demand initiated downloads over download_all_remote_layers downloads. But that's for another day.

(@shanyp and I determined that this is not required for #3301 . I just had some spare cycles)

Note to self: after merging this, update https://github.com/neondatabase/neon/pull/3294

What is the default if you don't specify 'max_concurrent_downloads' ?

It's a required argument, both at python level and API level.

Remember to update openapi_spec.yml

It's an undocumented API, so, no need to update it.
Only consumer is my script in https://github.com/neondatabase/neon/pull/3294 and the unit tests.


Uncaught exception when setting Supervisor version

When trying to update the Supervisor for a device via the SDK method: sdk.models.device.setSupervisorRelease('<device uuid>', 'v12.3.5') we got the following error:
Uncaught (in promise) Error: Incompatible supervisor version: 6.3.6 - must be >= 7.0.0
    z device.js:136
    setSupervisorRelease device.js:2625
    a tslib.es6.js:71
    promise callback*u tslib.es6.js:73
    l tslib.es6.js:74
    l tslib.es6.js:70
    setSupervisorRelease device.js:2613
    n callbacks.js:18
    <anonymous> debugger eval code:1
device.js:136:18

This device was upgraded from balenaOS 2.7.5+rev1 to 2.69.1+rev1 and most of the OS seems current except the Supervisor so we wanted to manually update it via the SDK.

Is there no way then to upgrade the Supervisor version in the API ? This error seems to be by design so I don't expect a patch to be created.

@xginn8 I think this one is for you.
@20k-ultra we officially don't support supervisor updates for such old pre-MC supervisor releases.
The bug you faced, which cascaded here, is probably that the supervisor was not updated after HUP, which sounds like we should investigate any way.
A way to have the method also work for such "incomplete hup" cases, could be to first check the OS version and allow it if it's recent enough and it's just the supervisor that is on an old version. But for that we will need first Matt to confirm whether that's something that's safe to allow or whether we should prefer fixing it on support only.

I'd much rather fix these in support, rather than some workaround. We only prevent these upgrades via the self-serve mechanism, as HUP can still patch directly to upgrade the supervisor outside the SDK.


RowListIntersection?

Small utility I wrote for some demos that I think could maybe be useful for others, like when you want to figure out what fields are unique from another row that isn't a subtype.
Should I PR this? Are there some problems I've missed here? https://github.com/justinwoo/record-diff/blob/f326d8d1655b8d4ebb67c8f794a5b627e71539f6/src/Main.purs#L18

This implicitly depends on a sorted RowList, and seems to expect no duplicate keys.  So I would be hesitant to call it RowListIntersection.  But it sounds interesting.

Definitely needs a name with less false promises :smile:


Build: Added travis.yml and .releaserc

What is the purpose of this pull request? (put an "X" next to item)
[] Documentation update
[] Bug fix
[] New functionality
[] Changes an existing functionality
[X] Other, please explain: Test TravisCI

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Support for @vue/composition-api

Hi,
Really interested in this plugin, it would be great to have support for the Vue2 composition-api, are there any plans to implement this ?
Cheers

Hi @kenneth-hendricks, sorry for my late reply.
Technically, it does support Vue 2 composition api (with Vue v2.6 or above). However, I haven't tested yet to check whether it works or not.
The next release will certainly support Vue composition. (will be released in the next week).
Thanks.

Sorry I should have added more details, when using this with the Vue2 composition API, the plugin fails when trying to import reactive from vue.
I believe in the case of using the vue2 composition api you need to import directly from the composition api package, hence why some packages are using demi.

Oh, I just have forgetten it! Thank you @kenneth-hendricks for letting me know this. 🙏

Updated #6


Game loading performance

In Kiosk mode, I notice that it can take 3-5 seconds to load a game.

Would be great to:

Reduce the game load time
Put a progress indicator between the time you click on the game and when the game loads

@aznhassan is looking into first time load by caching the compiled code in the backend.
We should really cache the game locally in indexdb once downloaded. @srietkerk, @jwunderl


Using foundation for apps in an existing angular project

In an existing AngularJS project, I've installed foundation for apps using:
bower install foundation-apps --save
In foundation's bower.json file there are only these 2 files to be included:
"main": [
  "scss/foundation.scss",
  "js/angular/app.js"
],

I am using <!-- bower:js --> to include automatically all the files from bower dependencies. So only js/angular/app.js will be loaded (and maybe not necessary since I already bootstrap my app and define the routing?).
This obviously misses to load all necessary JS files to fully use Foundation.
What is the clean way to load the JavasScript files from Foundation?

+1

We can just add those missing files to the bower.json. Should that property also include every Sass file?

I think for the javascript there should be a distribution file that concats all of the javascript files similar to how Angular-UI Bootstrap packages their bower release. In regards to the CSS I think the same approach should be taken which is to build a foundation.css. Something like this:
"main": [
"dist/foundation-apps.css",
"dist/foundation-apps.js"
]
This way anyone who adds this bower dependency can get it working out of the box with just those two files. If anyone wishes to override the foundation SCSS files with _settings they can choose to ignore the foundation-apps.css and create their own.

I don't think you should expose the actual app.js file through bower. If someone wishes to use this framework as a bower dependency then they will already have their own Angular app file. Thoughts?

@joshuajohnson814 +1

@joshuajohnson814 I agree, and in fact it shouldn't be there anymore. Our documentation uses a different entry file, and the template stack also uses it's own. If you're incorporating the source files into your own build process, that file is unnecessary, although it does serve as a useful template.
As for including distribution files, we can look at it for the next patch. We're considering including a dist folder on the same repo, for this and perhaps also Foundation for Sites, to avoid the hassle of having a separate repo just for the Bower install.

@gakimball I definitely think having the app.js file in there adds value as a template like you said.
Currently I'm using this bower module in my project and I'm referencing the SCSS files directly so that I can override the styling in my own process. It will be awesome when I can just reference the foundation-apps.js file directly and not have to build those out in my process.
I'm really excited about the future of this framework! Great work guys.

@joshuajohnson814 The main issue we've had with the file is that some folks assumed it was a module to be included as a dependency, when it's just meant to be boilerplate. Also, since it's in the bower_components folder, which means it probably isn't in version control, you can't edit it.
But we haven't heard anything recently, so we can let it sit for now :)

So for JavaScript you just add every file, but how does it work with Sass files? I was looking at wiredep (which is what @laurent-le-graverend is using) but I couldn't figure out exactly how it works with Sass. Since Sass files are pre-compiled, it's not like you're concatenating them all together; you just need an import path. So I'm wondering if the main property of bower.json needs every Sass file or just the entry point.

You shouldn't be adding every file to main in bower. You should add the dist versions in the form of a single js file and CSS file.

I see, so it's not for source files. Thanks! We'll set up a dist folder for the next patch.

Yeah exactly. Wiredep is looking for the files it can take and inject straight into index.HTML. I like that you have the source in bower though so we can override

Having a dist is definitely a must when we install it with bower as a dependency, so everyone can quickly start with all necessary files.
Then if they want to customise their build and have only specific modules (JS and SCSS) from Foundation for Apps, they can use Gulp or Grunt to exclude dist files and include what they need.
This last part would be nice to be documented later, using Gulp for example to make clear for everyone that they have different options to work with Foundation.

Alright, this commit adds a Gulp task to create a dist folder with minified and un-minified CSS and JS: e6aab4e097abafce1ccce6586f0bd5d7726dde97
And this commit is me forgetting to update the main entry in bower.json ;) f5e33b0d3abf8d3817555c7b5a7361902794f1a7
We're trying to put out 1.0.3 this week, which will be the first version with the dist folder.

I noticed that you were including the bower_components dependencies in the dist JS file. The dist should only include foundation specific JS files.
https://github.com/zurb/foundation-apps/pull/433

@joshuajohnson814 Ah, okay. In that case, what would be the best way to package the other dependencies for distribution? Maybe just bundle all of the external libraries into one file?
Obviously wiredep helps with this dependency resolution, but not everyone will be using that. Some folks will just want to drop in finished files to get going.

You shouldn't package the dependencies for distribution. Your bower.json file lists the dependencies so when a user adds foundation-apps with bower it will automatically install the dependencies for them.
Take a look at my pull request. I separated the bower components into a separate array just to load for testing. The gulp watch task should only be watching your foundation-app files and gulp dist should only distribute foundation-app files.

I can't speak for others but I have no need for 3rd party dependencies to
be bundled with foundation. In general its often problematic if they are.
Surely people that have trouble with dependencies are the same people that
will be using the foundation boilerplate which do deal with them?
On Tue, 3 Feb 2015 7:57 pm Geoff Kimball<EMAIL_ADDRESS>wrote:

@joshuajohnson814 https://github.com/joshuajohnson814 Ah, okay. In that
case, what would be the best way to package the other dependencies for
distribution? Maybe just bundle all of the external libraries into one file?
Obviously wiredep helps with this dependency resolution, but not everyone
will be using that. Some folks will just want to drop in finished files to
get going.
—
Reply to this email directly or view it on GitHub
https://github.com/zurb/foundation-apps/issues/428#issuecomment-72700429
.

I thought of something else.... In order to properly distribute foundation-apps.js you will also need to add the component HTML files as angular templates to the javascript file using templateCache.
This is exactly how Angular UI Bootstrap distributes their framework.
https://github.com/angular-ui/bootstrap-bower

+1 for the templates into the JS directly, they are really small HTML files and it's better to avoid unnecessary http requests.
But the distribution with bower also needs to have uncompiled SCSS and JS files in order to let you make your own 'build' (select only the JS and SCSS components you needs).

Bower Recap:
dist/foundation-app.js, dist/foundation-app.min.js (concat all foundation angular JS files except app.js with HTML templates using templateCache)
dist/foundation-app.css, dist/foundation-app.min.css
js/
scss/
Do you want me to open up a separate issue for this request?

How about this (similar as jQuery)

bower.json ("main" will reference both JS and CSS min files)
dist/

foundation-app.css
foundation-app.min.css
foundation-app.js
foundation-app.min.js

src/

js/
scss/

Then, in your own top module
Choice 1: use all components (using min files)
  angular
    .module('myApp', [
      'foundation',
      'ui.router',
      ...
  ])

Choice 2: pick your own
  angular
    .module('myApp', [
      'foundation.core',
      'foundation.common',
      'foundation.offcanvas',
      ...,
      'ui.router',
      ...
  ])

Last thing to solve for this second choice would be also to use have components templates in the JS templateCache.
This could be a part of your own build documented.

@laurent-le-graverend The way you described module loading already works with our current file structure. Originally you had to add each UI component's module separately, but in version 1.0.2 we added a foundation module which is just a shorthand for all of the UI components.
But as far as the compilation step, it sounds like the dist file should just be our framework files, and not any of the five or so libraries we rely on. So we'll make that change. (This also brings into stark relief how many dependencies this library has right now. Maybe for version 2 we'll look at separating modules that have dependencies, like our touch stuff.)
As far as using template caching, we've gotten that request before, so we'll look into it.

Merged in #433 which addresses this. Thanks for your help, friends!


Build issues

Installing apps sometimes fails. Sometimes you get a missing app type error. Other times the CSS is not loading.

Issues only occur you you don't yarn start from root before you build.


Add timestamp to logs

Add a timestamp at the beginning of each log output:
2023-05-15T16:47:25.767|INFO|CSPBillingAdapter|Updating CSP config with: {'billing_api_access_ok': True, 'errors': [], 'timestamp': '2023-05-15T17:05:46.968960+00:00', 'expire': '2023-05-15T18:05:46.968960+00:00'}

Agreed that we definitely want timestamps in logs.
However, depending on how logs are going to be stored this could be a somewhat "redundant" timestamp... E.g. if the logs are ultimately being logged to the system logger, rather than to an on-disk logfile, to be accessed via journalctl, they will automatically get timestamps prepended to the logged message, making the inclusion of a timestamp in the log message itself redundant, though of course the journald message timestamps may not be exactly the same as the application ones.
For example if running interactively, it would be useful to see timestamps in any log meesages output, but if being run as a systemd service with output being sent to journald, it would potentially make the logged messages harder to read without significant benefit.
So, in the long run, this probably should be either a stream specific setting, or something handled by a hooked logger setup/configuration, or possibly both.

The log format string could be part of config file. In k8s environment timestamp is missing.


Tweak attribution visualization

Tweaked plotting of attribution.
@Soorya19Pradeep @alishbaimran I added a matplotlib style sheet that will produce the exact typeface and fontsize in latex for your reference. For a script in applications/contrastive_phenotyping/evaluation, it can be used with:
plt.style.use("./figure.mplstyle")

@Soorya19Pradeep @alishbaimran UMAP scatter plot like this can achieve a density-like effect, good for overlaying tracks on:
https://github.com/mehta-lab/VisCy/blob/e423b2a932c6c582a4400af2e81bf44d5c61a512/applications/contrastive_phenotyping/figures/organelle_dynamics.py#L161-L163


Add the Google Colab Logo with Clickable Link

Also installation note at front page.

Here's a Colab notebook which contains an example for tCCCCCC

[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/XYSSDFFSDFS)


Is there any solution to make nested segments?

For example: 2 outer segments have 1 inner

The best solution at this time is to use an image for the face of the wheel as detailed in this tutorial: http://dougtesting.net/winwheel/docs/tut9_creating_with_an_image
This way you have complete control over the visuals of the wheel and can create all sorts of interesting designs beyond what the code-drawn option offers.

@doubledare704 There is another option, which is to create a couple of code-drawn wheels on the canvas and have them sit over the top of each other so that they appear as one to the user.
I have just experimented with it this morning and the following code will create a wheel with 2 outer segments for each inner segment, including animating correctly (insure the head of the document includes Winwheel.js and TweenMax.js)...

Two Part wheel

                    <canvas id="canvas" width="434" height="434">

Sorry, your browser does not support canvas. Please try another.

                    </canvas>

@zarocknz , looks like too complex. I thought it could have one wheel, but nested dicts in it.


A mistake code on Model Maker Guide

The image classification code on official Model Maker Guide may get a mistake on training data name.

Mistake code in above red rectangle, I think should be replace with following code snippet.
model = image_classifier.create(train_data)

Thank you for the suggestion! Will fix it soon.


function disregards the direction logic & also enters an enters infinite loop

https://github.com/dartclub/turf_equality/blob/50f121bba2097b411bf11ddf89ed77a6df03d8a2/lib/src/turf_equality_base.dart#L118-L124
in case the comparison of the first Positions after on LineString's coordinate is reversed produces false, because of the direction flag we create an infinite loop that keeps flipping coordinates and comparing them.

Is this resolved?

it's resolved in c9a2ef4


check that user is available

If you make changes to a model from CLI, such as when running migrations with some logic, the trait will attempt to fill in user data, and it's unavailable.
We should check that the app/auth/user data is available before trying to use it.

good point.

when running in console we should auth->onceUsingId(xx) before creating / updating / deleting the model


[jnigen] FixCI

Fix a bug where the package would either be fully resolved by sources or classes but not by both.
Fix CI.

Health / breaking changes bot is unhappy.
Is it misconfigured?

I think this is a bug in the dart_apitool - I filed a bug there.

coverage: 90.766%. first build
when pulling 1b9d189da7dbb6cf352e87a4fa000916241a0ab3 on fix-ci
into e3f90b271a59165be77fb497e0fb23b2a560655a on main.


Model convergence changes; option to initialize weights

Adding a command line option to initialize weights  -wInit  none | kaiming | xavier
Adding a googlenet version with batch normalization

thanks!


hw: Support multi-ID DMA

The new iDMA supports multiple channels by instantiating multiple backends that can serve different streams independently to prevent ordering requirements.
TODO

[x] Set proper defaults in config
[x] Add test dma_mchan to verify independence and correctness of streams
[x] Additional HW configuration to test multi channel in CI
[x] Switch to proper release of iDMA once ready
[x] Evaluate overhead of multichannel iDMA and bigger Xbar (DMA grows from 76kGE to 296kGE; Wide Xbar from 110kGE to 186kGE) in a 4 channel configuration.
[x] Revert DMA ISA extension assembly instructions to .word for better interoperability with non-pulp toolchains

Version 0.6.3 of the iDMA has been released containing the mentioned changes. The iDMA in Snitch has already been bumped in https://github.com/pulp-platform/snitch_cluster/pull/156 so we can undraft this after rebasing on top of it.

I see the programming interface of the DMA changes, specifically for what concerns the config field.
Can you also update the documentation accordingly?

I added the new config documentation as well now.


ATEAM-253: Fix broken docs links

It looks like the reason that these links are broken and the others aren't is because we have ClientApp.md hardcoded in the doc/index.md file and we just need to change that to ClientApp.html. Also, while I was in the docs I also noticed that we were missing the return type for the ClientApp.about method, so I went ahead and added that bonus change here.

So we've decided to bring in some regex transformation to avoid hardcoding the .html extension in the index.md file. Now, all of the relative links in the docs will have the same specified extension. This also adds support for extensionless links (when/if the dev center allows this). Extensionless links also work well when navigating within markdown, so we could think about dropping .md extension support and just use either .html or extensionless.


Board dosen't show the information of k8s nodes

In GitLab by @luotian-github on Dec 15, 2018, 11:53
The value of PV status in the PV list and PV detail should be same.

In GitLab by @yhua123 on Nov 8, 2019, 08:01
can you provide reproduce steps?
we need more detail for analysis. thanks~

In GitLab by @sokril on Nov 8, 2019, 08:29
closed

In GitLab by @sokril on Nov 8, 2019, 08:29
assigned to @luotian-github


Revamp AppEngine API

AppEngine's API is currently too cumbersome and prevents some use cases from being fulfilled. Come up with a new design with is backwards compatible with 0.10.

Closing this in favor of https://github.com/astarte-platform/astarte/issues/751


Error when building geqr2 example via make

The geqr2 example's README says it can be built with cmake or make. I populated make.inc with my installation information, but when I tried to run make I got the following output
(base) riley@borneophant:~/Documents/Research/protorandlapack/cpp/extern/tlapack/examples/geqr2$ make
g++ -I"/opt/tlapack/include" -Wall -pedantic -c -o example_geqr2.o example_geqr2.cpp
g++ -I"/opt/tlapack/include" -Wall -pedantic -o example_geqr2 example_geqr2.o -L"/opt/tlapack/lib" -ltblas
/usr/bin/ld: cannot find -ltblas
collect2: error: ld returned 1 exit status

I was able to get cmake to work. Is building this example with make still supported? If so, what's "tblas"?

Update: It builds with make and runs successfully after removing "-ltblas" this line from make.inc: https://github.com/tlapack/tlapack/blob/22d451d19e6a72ccb2c04149257626ac2c435d2a/examples/geqr2/make.inc#L7

Hi @rileyjmurray, thanks for noticing that! Indeed, I recently turned tblas into a header-only package so all -ltblas are wrong.
Would you like to create a PR to solve this?
Another thing is: I am not sure what is wrong with the example_geqr2. It runs as expected in my computer:
run< float  >( 7, 5 )
time = +7.81450e-02 ms,   GFlop/sec = +6.82492e-03
||QR - A||_F/||A||_F  = +1.53518e-07,        ||Q'Q - I||_F  = +6.22242e-07
-----------------------
run< double >( 7, 5 )
time = +8.29910e-02 ms,   GFlop/sec = +6.42640e-03
||QR - A||_F/||A||_F  = +2.52670e-16,        ||Q'Q - I||_F  = +9.09353e-16
-----------------------
run< long double >( 7, 5 )
time = +1.16634e-01 ms,   GFlop/sec = +4.57271e-03
||QR - A||_F/||A||_F  = +1.03292e-19,        ||Q'Q - I||_F  = +2.92372e-19

but it is completely wrong on the Github Actions (e.g., https://github.com/tlapack/tlapack/runs/5061265088?check_suite_focus=true):
 run< float  >( 7, 5 )
time = +4.00000e-04 ms,   GFlop/sec = +1.33333e+00
||QR - A||_F/||A||_F  = +1.03999e+00,        ||Q'Q - I||_F  = +5.86638e+00
-----------------------
run< double >( 7, 5 )
time = +2.00000e-04 ms,   GFlop/sec = +2.66667e+00
||QR - A||_F/||A||_F  = +5.83075e-01,        ||Q'Q - I||_F  = +5.44579e+00
-----------------------
run< long double >( 7, 5 )
time = +2.00000e-04 ms,   GFlop/sec = +2.66667e+00
||QR - A||_F/||A||_F  = +8.03419e-01,        ||Q'Q - I||_F  = +9.64909e+00

Please tell me if you find something weird. Thanks!
Also, I recently committed a more readable version of example_geqr2 in 640dc35. Since you started looking at the code, I will avoid direct commits from now on.

@weslleyspereira happy to make a PR!
My example_geqr2 works correctly. I'll be sure to let you know if I encounter failures there or elsewhere.


Fix/create django view to return hello world

Fixes #324
created a simple Django view that returns a "Hello, World!" message to the browser.
Made changes to files hello_world/urls.py and hello_world_app/views.py to return "Hello, World!" when navigated to http://<IP_ADDRESS>:8000/hello/ in your web browser.

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out my other projects. Just click here to find more. These projects contain real issues that you can help resolve. You can also check out the Influences section in the README to find more projects similar to this one.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!


Get routing data loading .bag files

Hi,
We are running Apollo just by loading .bag files. Using the ros topics, we have been able to get data from prediction, localization and planning but we cannot get the data from the routing module. A few questions about this trouble:

Is it possible to find this data just by loading .bag files? Which is the right topic to find this messages?
Should this data be published in the topics /apollo/routing_response?

Thanks in advance,

This data should be in topic: /apollo/routing_response
If it is not there in the rosbag, you can create it by yourself.
First, make sure the routing module has been enabled in "Module Controller" on the left side of Dreamview;
Then use the 'Route Editing' button on the left side of Dreamview.
Click at least two points on the map, then click 'Send Routing Request", you should be able to see new red routing lines in Dreamview.

Thanks, we got it. I also was wondering about the software design decisions you have made in Apollo.

The /apollo/routing request are send periodically from the planning to the routing, including the current location and the target location. Correct me if I'm wrong. So, why is not the routing module subscribed to a localization topic directly?
Why there is no topic for the HD-Map?

Thanks in advance!

Dear Rseibane,
How to get the data of localization?
Thanks in advance!

Closing this issue as there has been no communication in a while. Feel free to open it if you have any more questions.


[mtl] no buffer features on depth and compressed formats

Improves our reporting of image capabilities and buffer view creation
PR checklist:

[ ] make succeeds (on *nix)
[ ] make reftests succeeds
[ ] tested examples with the following backends:
[ ] rustfmt run on changed code

bors r=Thomspoon


increase the max allowed number of clusters per database

OrientDB Version, operating system, or hardware.

v2.2.7

Operating System

[x] Linux

Expected behavior and actual behavior
Currently, the documentation (http://orientdb.com/docs/2.1/Administration.html) describes that a database can have a maximum of 32767 clusters.
We intend to tightly control which clusters are replicated and on which servers, so for each class we are going to create the clusters ourselves with a strict naming convention, which is then reflected by the contents in the distributed config file "distributed-db-config.json"
This results in creating 6 clusters per date of the records of each class. For a full year worth, this yields into 366*6=2196 clusters for a single class.
With that maximum of 32767 (2^15-1, clearly stored in a 16-bit word) clusters per database, that would allow only about 14 classes in the database.
-> can this max allowed number of clusters per database be increased to -say- the max value of a 32-bit word (2^31-1 = 2147M clusters) ?

Also a requirement when proceeding with the strategy described in previous topic #6497 : date/time based clusters per class, for easy DROP CLUSTER based removal of old data without creating 'gaps' in the class data blocks.

We already have an issue for this enhancement. Once this limit is extended to 31 bits, the next problem is managing so many opened files. Most OS have limitation with it.

Ubuntu can raise the limits of open files per process, dunnow where the limit is but that's outside this topic.
@lvca What is the other issue where this same enhancement has been requested (to extend to 31bits), please?

Look at: https://github.com/orientechnologies/orientdb/issues/1930

@lvca
ok, I guess this one can be closed then. Thanks for your feedbacks!

@lvca
Re "We already have an issue for this enhancement. Once this limit is extended to 31 bits, the next problem is managing so many opened files. Most OS have limitation with it."
-> has this limit already been extended meanwhile ? What are the current (eg version 2.2.17) limits for number of classes and numbers of clusters?

can anyone please confirm if this issue has been implemented (ie raise of max number of clusters)?

Hi @rdelangh
The limit with open files was fixed in 2.2, but the raise of max number of cluster was not.
Please wait for the storage team for comments
Thanks
Luigi

Hi no. Limit of number open clusters was not extended yet.

The main reason is that we found that with thousands of clusters = files and the OS could have an hard time to manage all of them, even with custom configuration. So we put this on hold for a while.

The reason for us is that we have a real big database. Storing all the data in few classes (because we are limited on the number of clusters used by these classes), is not recommended:

corruption of one class means a loss of very much data
fixing a class, or one of its indexes, means very long timeframe and high impact on the rest of the usage of that class
the indexes are (currently?) stored in a single file; an index of very much data will result in a huge (> 100GB) size file, which will never fit somewhere in RAM

So we have to spread the data over several classes, currently we use a class per week of data. This way we would immediately hit that maximum number of possible clusters. So we also pre-create clusters for each class, 6 clusters per class. But still then, we need to limit seriously the number of classes for different sorts of data.
-> a raise of the number of possible clusters would be essential to keep data in enough separate classes

@lvca no, because then we cannot distribute the data of one class over different servers.

@rdelangh so are you using sharding?

@lvca our config file "default-distributed-db-config.json" contains this:
{
  "autoDeploy": true,
  "readQuorum": 1,
  "writeQuorum": "majority",
  "executionMode": "undefined",
  "readYourWrites": true,
  "newNodeStrategy": "static",
  "servers": {
    "*": "master"
  },
  "clusters": {
    "internal": {
    },
    "cl_*_p0": { "servers": [ "orient1", "orient2", "orient4" ] },
    "cl_*_p1": { "servers": [ "orient2", "orient3", "orient5" ] },
    "cl_*_p2": { "servers": [ "orient3", "orient4", "orient6" ] },
    "cl_*_p3": { "servers": [ "orient4", "orient5", "orient1" ] },
    "cl_*_p4": { "servers": [ "orient5", "orient6", "orient2" ] },
    "cl_*_p5": { "servers": [ "orient6", "orient1", "orient3" ] },
    "*": {
      "servers": ["orient1"]
    }
  }
}


Catch possible throws when constructing Command class

We're currently not catching what the Command class constructor can throw.
(the throws got implemented in PR #87 )

We have added a check at server initialization to prevent the use of empty password. However, we didnt fix the try/catch related to it.


[WIP] Add Webpack Config

Description
This PR will add a fully functional webpack and build configuration.
Checklist:

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the master branch of the repository.
[x] My commit messages follow best practices.
[x] I added tests for the changes I made (if applicable).
[x] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no
visible errors.

Developer Certificate of Origin
Version 1.1
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.

This is mostly working, but there are some issues with the minified js. Currently, control callbacks are handled with HTML attributes like onclick or onchange. When the js is minified, the function names are minified, but the function names used in the event attributes are not. This breaks the page :/

RE the HTML event attributes not using the minified function names, we're going to skip this for now, and will be fixed when we refactor to Vue components.


Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=io.realm Code=1 "fcntl() inside prealloc() failed: Invalid argument" UserInfo={NSLocalizedDescription=fcntl() inside prealloc() failed: Invalid argument, Error Code=1}: file /BuildRoot/Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-9<IP_ADDRESS>/src/swift/stdlib/public/core/ErrorType.swift, line 181

Since upgrading to version 3.30 some of my customers have this error:
Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=io.realm Code=1 "fcntl() inside prealloc() failed: Invalid argument" UserInfo={NSLocalizedDescription=fcntl() inside prealloc() failed: Invalid argument, Error Code=1}: file /BuildRoot/Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-9<IP_ADDRESS>/src/swift/stdlib/public/core/ErrorType.swift, line 181
Realm framework version:
3.30
Xcode version:
9.2
iOS/OSX version:
11.2.5
Dependency manager + version:
cocoapods 1.4

3.3.0 does include the linked PR. The changes there appear to have been insufficient.

@tgoyne thanks for the 3.3.1! However it's not showing up from CocoaPods (yet) - any steps needed or would it solve itself after a few hours?

The website deploy is currently failing, and that has to complete before we can push the new version to cocoapods.

3.3.1 is now fully released.

@tgoyne fyi on X I still get crash when adding multiple things at once, although it's possible there's a separate issue

the same issue with me.
Realm framework version: latest
Realm (3.2.0-beta.3), RealmSwift (3.2.0-beta.3)
Xcode version: 9.2,
iOS/OSX version: 11.2.5
Swift version 3.2
@tgoyne do you mean version 3.3.1 fix the problem? any way to get it

+1
Realm 3.9.0
iOS version: 12.0.1, 11.4.1


CARGO_CFG_TARGET_FEATURE not set for build scripts

I'm having a panic due to using CARGO_CFG_TARGET_FEATURE  in build.rs.
The work-around ("rust-analyzer.cargo.loadOutDirsFromCheck": true) described in #6556 no longer seems to work.

Can you post the output? We use Cargo to run build scripts

I haven't been able to reproduce it with the latest nightly. I'll re-open if this pops up again.


Duke 3D .sh set resolution and path dynamically on start, cleanup

Duke 3D .sh set resolution and path dynamically on start, cleanup
reported and tested here
https://discord.com/channels/1122861252088172575/1122882437291188345/1240676683061788783
https://discord.com/channels/1122861252088172575/1122882437291188345/1241110874056560691

whoa, where did all this come from, going to redo this


Link to Elm Discourse from the community overview

It seems to me that https://discourse.elm-lang.org/ is currently more used than the subreddit, and I think it should be mentioned on http://elm-lang.org/community.

+1

Change from #749 should be live now.


feat: add an option to listen on a specific IP address

Close #126.

Thanks for your contribution. Let me check the code.


mdl: added NilIfEmpty function;

Some apis returning empty values instead of null for optional values. With this function we can set the values on our end to nil if they are not set.

Will be added to https://github.com/justtrackio/gosoline/pull/901


Issue using RS_FromGeoTiff (1.5.0)

Expected behavior
I am reading in sample raster data provided for the rasters demo notebooks using the method outlined in the docs. I expected to extract raster geometry.
Actual behavior
Getting error java.lang.NoClassDefFoundError: org/geotools/coverage/grid/GridCoverage2D when executing RS_FromGeoTiff(content). I originally thought this could be related to my original raster data using a custom crs, however this error is the outcome regardless of the source data (either my own data or the demo data provided in the Sedona examples).
Steps to reproduce the problem
%python
rawDf = sedona.read.format("binaryFile").load("<path>/T21HUB_4704_4736_8224_8256.tif")
rawDf.createOrReplaceTempView("rawdf")
rawDf.show()

\\SUCCESS

%sql
SELECT RS_FromGeoTiff(content) AS rast, modificationTime, length, path FROM rawdf

java.lang.NoClassDefFoundError: org/geotools/coverage/grid/GridCoverage2D

Py4JJavaError: An error occurred while calling o348.sql.
: java.lang.NoClassDefFoundError: org/geotools/coverage/grid/GridCoverage2D

Likewise when running:
df = sedona.read.format("binaryFile").load("/some/path/T21HUB_4704_4736_8224_8256.tif")
df = df.withColumn("raster", f.expr("RS_FromGeoTiff(content)"))

java.lang.NoClassDefFoundError: org/geotools/coverage/grid/GridCoverage2D

Py4JJavaError: An error occurred while calling o1016.withColumn.
: java.lang.NoClassDefFoundError: org/geotools/coverage/grid/GridCoverage2D

Settings
Sedona version = 1.5.0
Apache Spark version = 3.3.2
API type = Python
Scala version = 2.12
Environment = Databricks

@JHEBentley have you added the geotools-wrapper 1.5.0-25.2 dependency to your Python setup? Please see here: https://sedona.apache.org/1.5.0/setup/install-python/

Apologies, I still had the 1.4.1 dependency lingering on the cluster, my bad!

Apologies, I still had the 1.4.1 dependency lingering on the cluster, my bad!


Is there a way to catch unsuccessful uploads to DQMGUI?

Can a flag be created on the DQMUpload code that is set when a DQMIO file is harvested and uploaded correctly to the DQMGUI, but the file is empty and shows no results?  The DQM team wants to be aware of these kind of problems and they are requesting a flag or something that shows when an empty file gets uploaded to the DQMGUI. Also they want to keep (in EOS probably) the file that is produced after the harvesting for some time instead of deleting it right away after it is uploaded. If they keep the file for some time it will allow us to reupload it if something goes wrong. Is it possible to allocate some space for this topic?

Andres, we might be able to flag a job in the JobFactory/JobCreator in case the sum of files to be harvested don't have any lumi section, such that we could for instance skip this job and/or mark as createfailed or so.
Finding this information during runtime is going to be a bit trickier, we do not check the root file produced out of the harvesting job. The root file is also not staged anywhere, it's simply uploaded to the DQMGUI and that's it, so once the job exists the worker node, that root file is lost.
What's the impact on having an "empty file" in the DQM Gui?

DQM people told me that if they have empty files on DQMGUI they won't be able to notice an issue after some time has passed, and it will prevent them from harvesting the job again due to the input files being erased faster than they could check some of the uploads. They are looking at that flag as a way to notice it sooner and be able to reharvest it.

Alan, the impact is that if the upload fails, then they cannot certify the failed upload PD for that run (or whatever certification is done).
The discussion about handling DQM Harvesting job output is in progress on JIRA:
https://its.cern.ch/jira/projects/CMSTZ/issues/CMSTZ-753
And there is no clear decision yet on how we want to avoid these upload failures.

Then I suggest we just follow it there to avoid x-discussion in these two issues.
Failing to upload is one thing, uploading a valid root file with no content is something completely different (and considered as a successful jobs). We need to get these basics straight first.
I'll join that discussion once I have a free slot, and we can come back here once we have the final requirements and wanted behaviour.

This was solved and needs to be tested on Run 3 but there should not be any problem with it.


.onConflict() without arguments doesn't work for postgresql

It's impossible to get ON CONFLICT DO NOTHINK
PMAd.query()
    .insert(data)
    .onConflict(true)
    .ignore()

generates:
... on conflict ("true") do nothing
expecting
... on conflict do nothing

It's not supposed to work like that.


driver.execute_script doesn't work

I can run the code and it will open up GISAID and put in my login details. However, it cannot hit the login button or proceed any further.

It started happening to me as well since yesterday.
Try clicking "login" button yourself and the script should continue.
Actually, you might need to do the same with the "Browse" button once in the EpiCoV tab.


Consider adding a timestamp to the index files

Current Implementation
Date, hour, country and version index files only contain a JSON array with the respective values.
Suggested Enhancement
Add a timestamp telling since when the information in the index file is valid.
Expected Benefits
For example, if there were no submissions in the last hour, the index file would remain unchanged (after #140 and #148 are fixed). This could cause confusion regarding if the day/hour is really just empty or if the distribution run failed. This could also enable the apps to take a simpler caching approach.
Cross link
#137

Maybe it would be better to have the distribution service push a "meta" file to the object store instead, which contains this kind of information (e.g. last distribution run). Could be placed directly in the root directory, also as a JSON format for easy consumption.

Changing the index files will be a breaking change. The mobile app would need to adapt to these changes. A metadata file will not be a breaking change, but bring only a low value-added, since the mobile apps do not evaluate the file yet.
Further investigation regarding this topic can be done after Google/Apple have finished the specification for sharing the diagnosis keys between countries.


Fixed a typo in Javadoc - AccessDeniedException class.

@sachingadagi Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@sachingadagi Thank you for signing the Contributor License Agreement!

Thanks for the PR @sachingadagi. This is now in master.


Update README documentation

Is your feature request related to a problem? Please describe.
My README and contributor documentation is light and semi-outdated after the Next.js overhaul. Make this really useful and relevant and comprehensive.
Describe the solution you'd like
README is the one-stop shop for all things Micrsoft Graveyard developer experience.
Describe alternatives you've considered
Build a documentation site to co-exist alongside the graveyard?
Additional context

Need to consider not all users of Microsoft products are developers. What if they do not have a GitHub account?

#172 updated some readme docs that were outdated.  Closing as complete.


adds an example for policy annotation

Description of changes:
Adds an example for getting policy annotations

LGTM.


Can't register new user

I followed setup instructions. Everything seems working fine except registering new user. On filling email address and password (along with confirmation), when I click "Register" , it takes me back to the same /register route, nothing else seems to happen. I have checked database and no new user is registered!

There is a register route Route::auth(); but registration is not implemented yet. Validation fails right now. As you can see on AuthController@validator there are 2 rules( username, name ) that are never used by register.blade.php, as it has only email, password, confirm_password inputs.


The requested module 'node:module' does not provide an export named 'register'

file:///Users/xxx/xxx/ace.js:22
import { register } from 'node:module'
The requested module 'node:module' does not provide an export named 'register'

Update your Node version.

Using node v20.11.0

I am getting result for: node ace
Options:
--ansi|--no-ansi    Force enable or disable colorful output
--help              View help for a given command ,

While using extension, this is the result:
Error: Command failed with exit code 1: node --dns-result-order=ipv4first ace list:routes --json
file:///Users/xxxx/xxxx/ace.js:22
import { register } from 'node:module'
^^^^^^^^
SyntaxError: The requested module 'node:module' does not provide an export named 'register'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:128:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:194:5)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:385:24)
at async loadESM (node:internal/process/esm_loader:88:5)
at async handleMainPromise (node:internal/modules/run_main:61:12)

As Romain said, please upgrade your Node version

https://docs.adonisjs.com/guides/installation

Ok Thanks


API Categories page needs to be updated

Location : https://apim.docs.wso2.com/en/next/Learn/ConsumeAPI/Customizations/CustomizingTheDeveloperPortal/CustomizeAPIListing/categorizing-and-grouping-apis/

The fix is available in -

3.1.0
master


Update Procfile

I got some very exciting news. Due to a slightly different way of configuring the heroku application. It's able to auto update!
So, a user forks your repo, can use backstore for himself to get a very nice pull of the orgin. Accepts that. And then the update kicks right into the heroku app!
Using the env variables makes this also secure too! The only things exposed to the public is the id of the admin.
There is only one last thing preventing this to be a fully automated, controller solution. And that is how to auto accept a pull from backstroke...

This pull is mainly to streamline it with Heroku more. As it isn't necassary to include a web worker hehe

if you can put it into dev branch instead of master, I can accept the PR 👍

Sure


False positive

Hello, I have found  www.youtube.com being flagged as drb_ra_domains . Is it false positive? Thanks
source in: drb_ra_domain.intel
www.youtube.com	Intel::DOMAIN	DRB-RA	F	C2

I'll remove it, immediately. I'll also work with the upstream provider to have it removed.

Thanks for your help

You are most welcome! The removal should be in this next batch.
Reopening the ticket until I confirm resolution.

Issue confirmed as resolved. Thank you for reporting the issue!


The filter chain of encodeData is paused when filters add trailers

If you are reporting any crash or any potential security issue, do not
open an issue in this repo. Please report the issue via emailing
<EMAIL_ADDRESS>where the issue will be triaged appropriately.
Title: One line description
Description:

What issue is being seen? Describe what should be happening instead of
the bug, for example: Envoy should not crash, the expected value isn't
returned, etc.
When I configure a decompressor filter and a Json to Metadata filter for upstream response, my request will be stalled until timeout. From the log looks like it is because decompressor calls addEncodedTrailers() in the encodeData(), which causes Json to Metadata filter(I have a local patch to support response) paused at encodeData() and encodeTrailer() is not called.

some investigation: In the response side if filterA adds trailers and filterB returns StopInteration in EncodeData, commonHandleAfterDataCallback will return in the file_manager::EncodeData and skip handling EncodeTrailer for filterB at the last data chunk, i.e, end_stream==true.
There was a fix https://github.com/envoyproxy/envoy/pull/18055/files but it only fixed decodeData, encodeData still has the issue.
Repro steps:

Include sample requests, environment, etc. All data and inputs
required to reproduce the bug.

In the response filter chain, add decompressor filter first and then add another filter which will return StopInteration in EncodeData if end_stream==false; and it will be blocked on the second filter until timeout.

@KBaichoo @mattklein123

From prior art we need a runtime guard and it's unclear how large the scope is. If we want to get unblocked, are we able to make trailer optional in the decompression filter?

Let's keep it open. @KBaichoo or @zuercher  could you help to open? Thanks.
I could work on this while I get a chance.


Issues when using in conjunction with minitest reporters.

I've asked this in minitest reporters, but I figure I may as well ask here too as the error references mini_backtrace...
The :test of my gemfile consists of:
group :test do
gem 'minitest-reporters', '1.0.10'
gem 'mini_backtrace', '0.1.3'
gem 'minitest-rails-capybara', '2.1.1'
end
If I use anything other than the DefaultReporter provided by minitest-reporters, if a test fails, the backtrace goes a little bit crazy. If I use DefaultReporter, the red/green works just fine and none of this happens.
The error I get with anything other than the default reporter is:
/Users/maoshouse/.rvm/gems/ruby-2.1.5/gems/mini_backtrace-0.1.3/lib/mini_backtrace/unit.rb:4:in filter_backtrace_with_rails': undefined methodbacktrace_cleaner' for Minitest::Rails:Module (NoMethodError)
...
I'd appreciate any help. Thanks!

@maoshouse My branch might help you as a temporary solution. I opened pull request too.
group :test do
  gem 'minitest-reporters', '1.0.10'
  # gem 'mini_backtrace', '0.1.3'
  gem 'mini_backtrace', github: 'JunichiIto/mini_backtrace', branch: 'fix-backtrace_cleaner-undefined-issue'
  gem 'minitest-rails-capybara', '2.1.1'
end


tutorial.ipynb "Using Tools" IncompleteParseError

installed on windows 10 with Anaconda Python 3.10.9 openai-0.27.6
ran pip install guidance
notebook tutorial.ipynb worked until "Using Tools" section
IncompleteParseError                      Traceback (most recent call last)
Cell In[8], line 87
35 program = guidance('''
36 {{#system~}}
37 You are a helpful assistant.
(...)
82 {{~/assistant}}
83 ''')
85 query = "What is Facebook's stock price right now?"
---> 87 program = program(
88     user_query=query,
89     search=search,
90     is_search=is_search,
91     practice=practice_round
92 )
File ~\AppData\Roaming\Python\Python310\site-packages\guidance_program.py:204, in Program.call(self, **kwargs)
195 new_program = Program(
196     text=self.marked_text,
197
(...)
200     {{k: v if callable(v) else copy.deepcopy(v) for k,v in self._variables.items()}, **kwargs}
201 )
203 # create an executor for the new program (this also marks the program as executing)
--> 204 new_program._executor = ProgramExecutor(new_program)
206 # if we are in async mode schedule the program in the current event loop
207 if new_program.async_mode:
File ~\AppData\Roaming\Python\Python310\site-packages\guidance_program_executor.py:50, in ProgramExecutor.init(self, program)
48 except parsimonious.exceptions.ParseError as e:
49     self._check_for_simple_error(text)
---> 50     raise e
File ~\AppData\Roaming\Python\Python310\site-packages\guidance_program_executor.py:47, in ProgramExecutor.init(self, program)
45 # parse the program text
46 try:
---> 47     self.parse_tree = grammar.parse(text)
48 except parsimonious.exceptions.ParseError as e:
49     self._check_for_simple_error(text)
File ~\AppData\Roaming\Python\Python310\site-packages\parsimonious\grammar.py:112, in Grammar.parse(self, text, pos)
106 """Parse some text with the :term:default rule.
107
108 :arg pos: The index at which to start parsing
109
110 """
111 self._check_default_rule()
--> 112 return self.default_rule.parse(text, pos=pos)
File ~\AppData\Roaming\Python\Python310\site-packages\parsimonious\expressions.py:143, in Expression.parse(self, text, pos)
141 node = self.match(text, pos=pos)
142 if node.end < len(text):
--> 143     raise IncompleteParseError(text, node.end, self)
144 return node
IncompleteParseError: Rule 'template' matched in its entirety, but it didn't consume all the text. The non-matching portion of the text begins with '{{#each practice}}
{' (line 14, column 1).

same problem. resolved by upgrading to version 0.0.48

version 0.0.48 of what?

Thanks for reporting this! I updated the tutorial.ipynb to fix a typo (and add lots more comments, cleaning etc.) and this should be fixed now.


Remove singular check for LU decomposition and add const qualifier to the CUDA kernels

This PR:

removes the singular check for LU decomposition (previously the GPU code is not checking the singularity correctly).
adds the const qualifier to the CUDA kernels (it reduces the time of 64 tests (including all CUDA tests) to 245 seconds now!)

fix #664
fix #637

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.35%. Comparing base (c756a3d) to head (cc70d62).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #671      +/-   ##
==========================================
+ Coverage   93.33%   93.35%   +0.02%
==========================================
  Files          53       53
  Lines        3603     3569      -34
==========================================
- Hits         3363     3332      -31
+ Misses        240      237       -3

Flag
Coverage Δ

93.35% <100.00%> (+0.02%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


ci/coverage: Adjust quic limit

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

cc @alyssawilk

pushing through to fix ci


Remove null body stream

fixes: #1740
See: https://apiview.dev/Assemblies/Review/3bd21beb2d9941a78683ac117c7bae33#Azure::Core::Http::BodyStream

Looks like intermittent gtest related infra issue. Some how it only impacted the template ci leg. @danieljurek heads up for something to keep an eye out for if it starts recurring more often.
https://dev.azure.com/azure-sdk/public/_build/results?buildId=754078&view=logs&j=becb4c78-6d46-5b40-696d-491037a3748a&t=3c0f3813-13c3-526e-c326-5499b0d57b57
2021-02-25T21:18:13.4612534Z See also "D:/a/_work/1/s/build/CMakeFiles/CMakeOutput.log".
2021-02-25T21:18:13.4613194Z   Creating directories for 'googletest-populate'
2021-02-25T21:18:13.4613960Z   Performing download step (git clone) for 'googletest-populate'
2021-02-25T21:18:13.4614606Z   Cloning into 'googletest-src'...
2021-02-25T21:18:13.4615355Z   fatal: unable to access 'https://github.com/google/googletest.git/': Could not resolve host: github.com
2021-02-25T21:18:13.4616110Z   Cloning into 'googletest-src'...
2021-02-25T21:18:13.4616826Z   fatal: unable to access 'https://github.com/google/googletest.git/': Could not resolve host: github.com
2021-02-25T21:18:13.4617515Z   Cloning into 'googletest-src'...
2021-02-25T21:18:13.4618232Z   fatal: unable to access 'https://github.com/google/googletest.git/': Could not resolve host: github.com
2021-02-25T21:18:13.4619151Z   -- Had to git clone more than once:
2021-02-25T21:18:13.4620197Z             3 times.
2021-02-25T21:18:13.4621258Z   CMake Error at googletest-subbuild/googletest-populate-prefix/tmp/googletest-populate-gitclone.cmake:31 (message):
2021-02-25T21:18:13.4621991Z     Failed to clone repository: 'https://github.com/google/googletest.git'


Remove body from all GET requests

this was not able to be supported with the console or in any browser api

Codecov Report

Merging #482 (624a693) into main (efe0d22) will increase coverage by 0.51%.
The diff coverage is 3.03%.

@@            Coverage Diff             @@
##             main     #482      +/-   ##
==========================================
+ Coverage   20.31%   20.83%   +0.51%
==========================================
  Files          48       48
  Lines        5591     5669      +78
==========================================
+ Hits         1136     1181      +45
- Misses       4257     4279      +22
- Partials      198      209      +11

Impacted Files
Coverage Δ

pkg/server/router/credential.go
3.47% <0.00%> (ø)

pkg/server/router/operation.go
0.00% <0.00%> (ø)

pkg/server/router/presentation.go
2.64% <0.00%> (-0.05%)
:arrow_down:

pkg/server/server.go
67.29% <100.00%> (+0.15%)
:arrow_up:

... and 3 files with indirect coverage changes


[SPARK-44277][BUILD] Upgrade to Avro 1.11.2

What changes were proposed in this pull request?

Upgrade Avro dependency to version 1.11.2
Why are the changes needed?

To keep up with upstream
Does this PR introduce any user-facing change?

No
How was this patch tested?

Normal Spark build tests.

R: @dongjoon-hyun

Looks fine but mind retriggering https://github.com/iemejia/spark/runs/14739443286?

Merged to master.