[LayerNorm] Missing the mismatch cues of in_channels

Description
It seems that LayerNorm could work through even the setting of in_channels is wrong. As seen in the reproducible code snippet below, I am setting the parameters in_channels as 768 purposely in all cases which are unmatched receiving a input whose whose dimension of last axis is 1024. However, only the last of the three error cases would produce a "reasonable" error message.
I'm not entirely clear about the underlying implementation of nn.LayerNorm, and it make no sense to me that the first two cases are properly executable. I am wondering is there any chance to recheck the LayerNorm to generating an error message to infrom the user of the mismatch. It is now apparent that error messages occur only when there are other layers attached and the model is hybridized.
The above thinking and experimental process were inspired by a typo in the SQUAD fine-tuing scripts of XLNET which may need to be corrected. Surprisingly, this is a runable script even if the units size of xlnet large is 1024.
To Reproduce
import mxnet as mx
from mxnet.gluon import HybridBlock,nn
mx.npx.set_np()

class Foobar(HybridBlock):
    def __init__(self, units, prefix=None, params=None):
        super(Foobar, self).__init__(prefix=prefix, params=params)
        self.dense = nn.Dense(1, flatten=False)
        self.layernorm = nn.LayerNorm(epsilon=1e-12, in_channels=768)
    def hybrid_forward(self, F, x):
        out = self.layernorm(x)
        return out

class Foo(HybridBlock):
    def __init__(self, units, prefix=None, params=None):
        super(Foo, self).__init__(prefix=prefix, params=params)
        self.dense = nn.Dense(1, flatten=False)
        self.layernorm = nn.LayerNorm(epsilon=1e-12, in_channels=768)
    def hybrid_forward(self, F, x):
        out = self.layernorm(x)
        out = self.dense(out)
        return out

foo_0 = Foobar(units=1024)
foo_0.initialize(ctx=mx.gpu())
foo_0.hybridize()
out = foo_0(mx.np.random.normal(0,1,size=(10,1024), ctx=mx.gpu()))

foo_1 = Foo(units=1024)
foo_1.initialize(ctx=mx.gpu())
out = foo_1(mx.np.random.normal(0,1,size=(10,1024), ctx=mx.gpu()))

foo_2 = Foo(units=1024)
foo_2.initialize(ctx=mx.gpu())
foo_2.hybridize()
out = foo_2(mx.np.random.normal(0,1,size=(10,1024), ctx=mx.gpu()))

Error Message
DeferredInitializationError: Parameter 'dense2_weight' has not been initialized yet because initialization was deferred. Actual initialization happens during the first forward pass. Please pass one batch of data through the network before accessing Parameters. You can also avoid deferred initialization by specifying in_units, num_features, etc., for network layers.

During handling of the above exception, another exception occurred:
AssertionError: Expected shape (1024,) is incompatible with given shape (768,).

Comments
@sxjscience

@ZheyuYe The C++ side implementation of the shape inferring logic is here: https://github.com/apache/incubator-mxnet/blob/9dcf71d8fe33f77ed316a95fcffaf1f7f883ff70/src/operator/nn/layer_norm.cc#L39-L66
The python side is here: https://github.com/apache/incubator-mxnet/blob/9dcf71d8fe33f77ed316a95fcffaf1f7f883ff70/python/mxnet/gluon/nn/basic_layers.py#L609-L614
The problem should be to check the shape of gamma and beta:
https://github.com/apache/incubator-mxnet/blob/9dcf71d8fe33f77ed316a95fcffaf1f7f883ff70/src/operator/nn/layer_norm.cc#L56-L57
Would you try to investigate the issue? You can append std::cout << in_shape->at(layernorm::kGamma), which should not be empty when in_channel is given.
I think one way to solve the prioblem is to use the same SHAPE_ASSIGN_CHECK as here:
https://github.com/apache/incubator-mxnet/blob/9dcf71d8fe33f77ed316a95fcffaf1f7f883ff70/src/operator/numpy/np_where_op.cc#L42


Remove OnPrem Function GetVATRegistrationNo table 36 "Sales Header"

In order to be able to change target to cloud, please remove the scope OnPrem from the following functions:
[Scope('OnPrem')]
table 36 "Sales Header"
[Scope('OnPrem')]
procedure GetVATRegistrationNo(VendorNo: Code[20]): Text[20]
Thank you
Giuseppe Maino

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 13402.


Fix cert expiration issue for aggregator client

During 4.17.0-ec.1 testing we found out that it might be possible that
kubelet certs are not expired but aggregator one is and due to that our
apiserver not able to get the node info and fails with following error.
INFO Verifying validity of the kubelet certificates...
DEBU Running SSH command: date --date="$(sudo openssl x509 -in /var/lib/kubelet/pki/kubelet-client-current.pem -noout -enddate | cut -d= -f 2)" --iso-8601=seconds
DEBU SSH command results: err: <nil>, output: 2025-07-05T03:48:39+00:00
DEBU Running SSH command: date --date="$(sudo openssl x509 -in /var/lib/kubelet/pki/kubelet-server-current.pem -noout -enddate | cut -d= -f 2)" --iso-8601=seconds
DEBU SSH command results: err: <nil>, output: 2025-07-05T03:49:24+00:00
DEBU Running SSH command: date --date="$(sudo openssl x509 -in /etc/kubernetes/static-pod-resources/kube-apiserver-certs/configmaps/aggregator-client-ca/ca-bundle.crt -noout -enddate | cut -d= -f 2)" --iso-8601=seconds
DEBU SSH command results: err: <nil>, output: 2024-07-11T05:50:37+00:00
DEBU Certs have expired, they were valid till: 11 Jul 24 05:50 +0000

This PR make sure we also wait to recover the api server related certs
before checking the apiserver is responding.

I assume these changes also work on a 4.16 cluster with no significant impact on startup time/.. when cert renewal is involved?

I assume these changes also work on a 4.16 cluster with no significant impact on startup time/.. when cert renewal is involved?

Yes it works and it is not going to impact startup time in case cert is not expired and even it is expired it should add that ~8-10 mins which we already expect.


Read correct type for endpoint parameters

Currently, all endpoint parameters are presented as strings. This should fix that :-)

Thanks


When trying to pay 3 times without success, the mark should be changed to a failed symbol

resolved


Crash deleting entity

Happens on Windows 7, and sometimes on Windows 10.
Delete the entity named "chapter_tittle" in this map:
rp_c00_m1.zip

File marked as 'read only' in properties.
But even with this, I can't get crash in v4.

Happens on Windows 7, and sometimes on Windows 10.
Delete the entity named "chapter_tittle" in this map: rp_c00_m1.zip

@wootguy File marked as 'read only' in properties.
But even with this, I can't get crash in v4.

not happening anymore in master, built with VS 2019 on Windows 7.


Don't rely on the __call__ for writing the dvc.yaml

In the current version the __call__ is used to write the DVC file and the __init__(load=True) used the load argument.
This makes sense, but it might be beneficial to include a method Node.zntrack.load() and Node.zntrack.write_dvc (do not use save) that can replace the load=True and __call__ as exclusive methods. This could e.g. be the methods that are added by the @Node decorator to the respective methods, allowing for an argument in the @Node(use_call=False, use_init=False) to restrict to the actual methods. It should not replace them, because Node(load=True) is very useful!

We could also have:
@Node()
class HelloWorld:
    def __init__(self, param):
        self.param = param

HelloWorld(param="Lorem Ipsum")
HelloWorld.zntrack.write_dvc()
# and
HelloWorld(load=True)

using something like
class Node:
    def __init__(self):
        self.cls = None
    def __call__(self, *args, **kwargs):
        if self.cls is None:
            self.cls = args[0]
        self.apply_decorator()
        return self.cls

    def apply_decorator(self):
        setattr(self.cls, "__init__", self.init_deco(getattr(self.cls, "__init__")))

    def init_deco(self, func):
        def wrapper(cls, *args, **kwargs):
            try:
                if kwargs['load']:
                    print("Returning loaded Node")
                    # does not work like this, needs some creative thinking
                    return func(cls, *args, **kwargs)
            except KeyError:
                print("Init Wrap")
                return func(cls, *args, **kwargs)
        return wrapper

One could also add a classmethod that yields the loaded cls, like
hello_world = HelloWorld.load(name=...) which could be handled by a parent class for autocompletion.

will be fixed in #176


Fixing action urls when clicking into sub-build

The action urls had an extra build id after clicking to view the logs of a sub-build. https://jenkins/job/aheuermann/job/test/15/15/rebuild This updates them to use the root url.

@aheuermann Thanks for the PR. I fixed babel-version this morning https://github.com/groupon/DotCi/commit/2921a0923807e1fdd7eaf7d18ce632bc47bda991
(There was probably a release this morning) .
Do you mind rebasing master in.

Fixed

Thanks @aheuermann


Join list with ', ' for Inlay hint lead wrong format in Rust Analyzer

Like https://github.com/prabirshrestha/vim-lsp/issues/1430, yegappan/lsp join the list with ', '.
https://github.com/yegappan/lsp/blob/38970403dc4d602056ea4028664206ffce74e82a/autoload/lsp/inlayhints.vim#L47-L47
This leads the wrong format, like this:

If change ', ' to '', it looks good.


Create a contact info block

Add links to social networks (LinkedIn, Facebook, Instagram), phone number, email, Telegram username, etc.

Adding essential contact information to ensure easy reachability.


fix: now preserving source ip with external traffic policy local

@j-zimnowoda could you review this?

@j-zimnowoda could you review this?

I am on it


Add DEV to jest environment

Fixes #90

!merge

Zeit services are currently down it seems :( Merging manually.


nixos/iproute2: Remove import from derivation

Description of changes
Previously, the iprout2 module used import from derivation for the rt_tables configuration. By using a slim derivation and symlinks instead, this is no longer the case.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable: Added module override in my nixfiles for testing

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

After #254534, etc/iproute2 files are now in lib/iproute2, consequently breaking nixos/iproute2 on master.
Let's get this PR merged with the right links?

Second thought, it was using fileContents for a reason: you can simply do environment.etc."iproute2/rt_protos".text = "something" to append lines to the file content.

We shall fix the breakage first and revisit this PR later.

This seems to have been resolved.


python psycopg plugin

Add an agent plugin to support

[x] Add a test case for the new plugin, refer to the doc
[x] Add a component id in the component-libraries.yml
[x] Add a logo in the UI repo

[ ] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #.
[ ] Update the CHANGES log.

See my comment https://github.com/apache/skywalking-rocketbot-ui/pull/504#issuecomment-855414137

Please remember to maintain the milestone and labels.


Mobiles default browser issue

Hi Team,
Its working fine for desktop browsers but its not working properly in mobiles browsers, Specially for mobile's default browsers. Please have a look.
Thanks

Can you give more details? Which browser? Which user agent? Running as an app?
Please follow this guide for opening issues: https://github.com/fnando/browser/blob/master/CONTRIBUTING.md#issues

In Android default browsers its giving true for [ browser.chrome? ] instead false.  its could be return something like Samsung default browser when browser.name so it may help.
I know default browser headers like Mozila\1.5 ....Chrome\28.0.0 safari*.*  But my intention is to check weather this is chrome or not. And in case of default browser its getting failed. its happens with all types of mobile's default browser(Android).
By the way thank you so much for your help.


Replace RawHTML fields with Markdown renderer

For the import / export feature discussed in Issue #8, using raw HTML fields that take user input is too dangerous, as the data no longer comes from a trusted source like in the original app, but from other users. To prevent misuse and to avoid the headache of properly sanitizing the HTML fields, we should switch to using Markdown to render formatted text.
We need to take special care that the Markdown renderer does not allow scripts in SVG elements (or better yet, does not support SVG elements at all) since this would bring us right back to the sanitization nightmare-

The editor component does have markdown import / export modules that we can use:
https://www.npmjs.com/package/draft-js-export-markdown
https://www.npmjs.com/package/draft-js-import-markdown

Since draft.js is no longer maintained, we should also switch to using Lexical (https://github.com/facebook/lexical) at the same time.


Use double splat operator in belongs_to call to super

I ran across this in a project I'm working on and found out other people were having the same problem: Issue #225.
super was calling the following method in ActiveRecord:
def belongs_to(name, scope = nil, **options)
  reflection = Builder::BelongsTo.build(self, name, scope, options)
  Reflection.add_reflection self, name, reflection
end

options was getting substituted into scope which was causing the bug.
There might be a better fix for this (Using ruby2_keywords?) so I can look over the code just in case, but this fixes the issue for me.

This was fixed in (f644831), but hasn't been included in a versioned release yet.


update include statements to use new pluginlib and class_loader headers

Disclaimer: This in an automated PR, if it is not relevant on this branch, apologies for the inconveniance, feel free close it.

pluginlib and class_loader headers have been refactored and renamed. The previous headers .h have been deprecated in favor of their .hpp equivalent. The new headers are available on all active ROS distributions and the deprecated ones will be removed in a future version of ROS (likely ROS-N).
This PR migrates the include statements to use the non-deprecated ones and should compile for any active ROS distribution starting with Indigo
The migration was done by running the scripts pluginlib_headers_migration.py and class_loader_headers_update.py on this repository.

wrong repo, should have been opened on the upstream repository


inject different allowlist based on different cluster type

https://github.com/stolostron/backlog/issues/23650
Signed-off-by: marcolan018<EMAIL_ADDRESS>

/retest

/approve
/lgtm
/hold


Fix test interferencies

Hi,
this PR resolves #5,
Your issue is that when testing GroupService you save entities to your ClubRepository and don't flush them afterwards. Therefore if the next executed test checks the repository's size expecting it to be empty it fails. (canSearchAllClubs, canSearchAllClubsWithResult, nullClubNotSaved, validClubIsSaved, canRemoveClub, canSearchByName)
The fact that your build succeeds or fails depending on the machine is most likely related to how the running JVM orders the test execution.

Codecov Report

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

@@            Coverage Diff            @@
##             master       #8   +/-   ##
=========================================
  Coverage     65.90%   65.90%
  Complexity       51       51
=========================================
  Files            14       14
  Lines           132      132
  Branches          6        6
=========================================
  Hits             87       87
  Misses           43       43
  Partials          2        2

Continue to review full report at Codecov.

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


PayPal reference code is missing with v5.4.0 in Prestashop (any Workaround?)

Expected behavior
The PayPal reference code in v5.4.0 should be sent to Prestashop as this is relevant information for accounting.
Actual behavior
Hi, our accounting department has the problem that with the module version v5.4.0 the PayPal reference code is not transferred to Prestashop.
Previously, we had PayPal PLUS as a payment service provider and the PayPal reference code was written in "transaction_id" in the database entry "xyz_order_payment" and specified in the order, so that we could automatically match the data from Prestashop and PayPal.
With Molli v5.4.0, the Mollie transaction number (e.g. tr_123456789x) is now written in "transaction_id". This would not be a problem for us either, if the PayPal reference code is at least passed in some other place.
According to Mollie support, the "problem" is solved with the current version 6.x.x, however we are still trapped on Prestashop 1.5.x for a while, so we have to live with v5.4.0 for this time.
In the Mollie backend, the PayPal reference code is stored, but cannot be exported via the export function. Unfortunately, I have not found anything in the Prestashop database entries (mol) either.
So the question is: Is there possibly a workaround to transfer the PayPal reference code to Prestashop in any way with Prestashop 1.5.x and Mollie v5.4.0 so that we can make a suitable mapping for our accounting?
Steps to reproduce the behavior
Every order with PayPal triggers the problem for us.
Environment

PrestaShop version: <IP_ADDRESS>
Mollie module version: 5.4.0
PHP version: 7.2

@TJatFJS hey, thanks for reaching us!
We could check the issue on your host, if you could send us your FTP/SSH credentials, credentials to your database, Back-Office admin email and password. Send everything to the<EMAIL_ADDRESS>Thanks.

Hi there @TJatFJS,
Thanks for waiting!
Could you please clarify how do you export the information so that the payment transaction ID is included? Could you please send us the steps on how to export payment information so that we can better understand it?
Best Regards,
Invertus Support team.

Hi there @TJatFJS,
Just in case you have missed it, could you answer my previous message?
Best Regards,
Invertus Support team.


[MRG] add deprecation for realtime objects

We would like to deprecate the realtime module object this release cycle so that they can be removed in the next. this PR attempts to do so.

It will also break every real-time example on circle because we treat warnings as errors there. Modify doc/conf.py to work around that. And please touch all real-time examples (make some minor edits) so that CircleCI will run them

things I should really learn regex

running pytest mne/realtime would have given pointers :P
Now it should be ok.
~/code/mne-python depr*
(mne) ❯ pytest mne/realtime
Test session starts (platform: linux, Python 3.6.8, pytest 4.4.0, pytest-sugar 0.9.2)
rootdir: /home/sik/code/mne-python, inifile: setup.cfg
plugins: timeout-1.3.3, sugar-0.9.2, pudb-0.7.0, mock-1.10.3, faulthandler-1.5.0, cov-2.6.1
collecting ...
 mne/realtime/tests/test_fieldtrip_client.py ss                                                                                18% █▊
 mne/realtime/tests/test_lsl_client.py ✓                                                                                27% ██▊
 mne/realtime/tests/test_mockclient.py ✓✓✓✓✓✓✓                                                                                91% █████████▏
 mne/realtime/tests/test_stim_client_server.py ✓                                                                                100% ██████████
---------------------------------------- generated xml file: /home/sik/code/mne-python/junit-results.xml -----------------------------------------
============================================================ short test summary info =============================================================
SKIPPED [1] mne/realtime/tests/test_fieldtrip_client.py:35: Test test_fieldtrip_rtepochs skipped, requires neuromag2ft.
  Use -vv to show these durations.)

Results (16.13s):
       9 passed
       2 skipped

Don't forget to update whats_new. If travis and azure are green you can skip them in the commit using [skip travis][skip azp]. you can also add [skip circle] since its broken.
(If we get to merge this we should update #6338)

LGTM. +1 for merge provided that @jasmainak and @LauriParkkonen are ok with it.

see my comments in #6340 . Basically I think you should first setup the CIs on mne-tools/mne-realtime before doing this.

see my comments in #6340 . Basically I think you should first setup the CIs on mne-tools/mne-realtime before doing this.

I don't think the CI setup shouldn't be a blocker for the release though. @massich and I are on that and  users will still be able to use the full functionality of the realtime in this next release cycle.

Now that 0.18 is on pypi stable we cannot deprecate realtime. It will be done in next release

I'd be fine cutting a 0.18.1 tomorrow

What are the benefits of a separate package in this case? Easier maintenance?
Eric Larson <notifications<EMAIL_ADDRESS>kirjoitti 19.5.2019 kello 21.17:
I'd be fine cutting a 0.18.1 tomorrow
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/mne-tools/mne-python/pull/6342?email_source=notifications&email_token=AAJ7C3CMIKXXQHTMO6ZAPGTPWGKTXA5CNFSM4HN3EUBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVXHTJY#issuecomment-493779367, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAJ7C3HOJPKBHZ3BKQOAZFLPWGKTXANCNFSM4HN3EUBA.

@larsoner, @agramfort yes, my plan was to:

merge this PR to 0.19.dev0
backport it to maint/0.18
bump 0.18.0 to 0.18.1rc0
publish 0.18.1rc0 in pypi (as a release candidate)
wait short amount of time (1-2 weeks) for:

get the feedback in case we broke something 0.18.0
allow mne-tools/mne-realtime to ship v.0.1rc0 in pypi
remove the mne.realtime and use the dependency

release 0.18.1

@LauriParkkonen MNE-Python is becoming a huge codebase, real-time is kind of its own thing, and the dependencies were not always stable on the CIs (especially the additions we did in 0.18)

Where are we in this process?
I wouldn't bother waiting a few weeks for feedback. I think we should just do this and cut 0.18.1, preferably today but if that's not possible, do it tomorrow.


WIP: Makefile: add a devenv setup

When folks are setting up management clusters and guest clusters against the root CI cluster, it's nice to have all of the scaffolding automated.

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/close


How to fix silenced push notifications on Android

https://jordyvanvorselen.com/posts/flutter-silent-notifications/?code=b3ef2bd7d5fa0408f6d5

Test


Add Greek and Turkish languages to wikipedia search

Description
I have added Turkish and Greek to wikipedia language list
Screencast

## Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

@pernielsentikaer oh sorry I thought it was supposed to be the github handle, creating one now

@pernielsentikaer wow this was pretty straightforward :D thanks :)


Istio Sidecar Allow External Service Calls but Restrict Service Mesh Calls

Is it possible to configure istio envoy proxies/sidecars that service mesh internal egress is namespace restricted, but any external services can be invoked?
In principal I have installed istio with outboundTrafficPolicy ALLOW_ANY and the following sidecar for a specific namespace:
apiVersion: networking.istio.io/v1beta1
kind: Sidecar
metadata:
  name: default
  namespace: my-namespace
spec:
  egress:
  - hosts:
    - ./*
    - istio-system/*

Unfortunately, the above sidecar definition seems to block calls to external services.

This is not really possible, at least not with Sidecar API. Depending on your specific setup you might be able to get this working with https://istio.io/docs/reference/config/security/authorization-policy/ or Kubnertes NetworkPolicy?

Technically, it works with network policies. However, restrictions via sidecar definitions are very important in regards to performance and size of the istio envoy proxies. If there is no limitation the CPU and memory resource requests of an istio envoy proxy become much larger as described in this article

I think I misread your problem. So you don't want to block traffic calls, you just want the performance optimizations that come with Sidecar? Or do you want both. If the former, thats definitely possible.

Unfortunately, the above sidecar definition seems to block calls to external services.

This should not happen if you have ALLOW_ANY set. Can you post the configdump and an example curl request that fails? See https://github.com/istio/istio/wiki/Troubleshooting-Istio.
A common related bug: https://github.com/istio/istio/issues/16458

I have ALLOW_ANY and the above sidecar installed. I have tested different external services and they work as expected. It seems the one I have chosen the first time really returns 403 independent of istio configurations. Thanks very much for helping. I will close this issue.


Added iOS troubleshooting

Hello,
I added some useful information (in my opinion) about usage on iOS device

Wonderfull @DawidZak 😁Thanks for PR


Amazon ec2 utils

Motivation for this change
Adding amazon-ec2-utils as a new package.
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

All scripts work.

All scripts work.


Add ArrayOrSpecificStringValidator to table of contents in readme

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
784

Relevant Lines:
784

💛  - Coveralls


new PR for updates to teddy, charity, and hotline

teddy greets the world
rearrange order of checks
teddy rollup
first pass on giving
re-add self.first_messages
donation logging and add back in bits that went missing
rename to charity.py
bugfix and rename
bugfix and rename
small typo fixes
teddy tweaks
stash
make charity first greeting optional; add status polling to outgoing payments, add do_set_dialog / do_dialog to the hotline (admin-only)
fix typing
typing fixes
bumps
breakout yes/no defaults, add rewards / levels / fulfillment info, lowercase multiple choice if possible
workflow rehash 0322
dedust
docker bumps and minor adjustment to FIRST_GREETING
dialog tuning, dialogkeys endpoint, bump to 16 dust fragments
use full_text for talkback, drop do_yes/do_no
typing fixes
small lints hat-tip sylv
fix hotline lint
with better payment_result handling
lots of comments, a bit of cleanup, and some linting
okay, no hide do_help
drop last clangat, disable pylint too-many-public-methods
run_bot(Teddy)
last teddy nits
readd followup flow
Dialog / DialogBot, nitfixes; this commit dedicated to @technillogue
finish dropping old timing
lint/typing
last run_bot
drop unused import
lint / dead code
the rest of the owl
yeesh
dump/load/state/followup
lint
send typing indicators before payments (#184)
auxin supports groups now
refactor into check_valid_recipient
rollup mobfriend, hotline, charity
typelint
extra typelint
use send_typing to indicate long-running tasks
replace msg.source -> msg.uuid
dialogdump messages can be forwarded, admins can reset other users
typo
bump
simplify
Revert "if there isn't a txo big enough to split into 15, split into however many we can (#182)"
fix sending how-to-donate
missing None
caching
add int_map, do_intset, make payment_amount and allowed_claims runtime adjustable
allow negative priced events
drop el-
no spaces in display names, add raisehand, loud flag for out of funds.
mute default help dialog on Charity
refactoring to allow list / event admins to reset signal session state for others
+Pipfile.lock
okay, reset it twice, then tell them we reset.
admins can reset anyone
semantic slip

nice. 🎊


TimezoneOffset error

Hello @stuartridout,
Sorry, I have another issue.
I'm receiving an error of "Expected a valid date value as the parameter to "TimezoneOffset" function, received value: null."
This is happening when I'm trying to view My Site and see who will be in the office on those days. Image below:
Any ideas please? Thanks very much,
Garry

Hi Garry,  I'm looking into this at the moment.  I'd not seen this before but this is the second occurrence.  I need to check if something has changed to cause this.

Hi, that happens because there is no date selected by default i.e. datetime value = null. I would change it so that when you open the Site view then first day is selected

Thanks @petepuu - we can't select the first day as a site needs to be selected also, but there is a pending change to handle the error so it doesn't call that function until you click the site.
Hoping to get an update out in the next couple of days.

@stuartridout you can set default for both galleries but I think it is better to not call that function until user selects site and day

This has now been fixed as part of the <IP_ADDRESS> release.  See https://github.com/stuartridout/teamlink/releases/tag/v1.18-main


The breakpoints set by the development plugin cannot be bound when debugging

Type: Bug
When I use yo code to create a plug-in extension, the breakpoint cannot be bound when debugging.
At this point I have disabled all plugins and have not modified the generated default code
VS Code version: Code - Insiders 1.83.0-insider (5a400e53e985dc5e24f6ee574b07ab23943841c5, 2023-09-07T17:35:42.740Z)
OS version: Windows_NT x64 10.0.22621

tsconfig.json
{
	"compilerOptions": {
		"module": "commonjs",
		"target": "ES2020",
		"outDir": "out",
		"lib": [
			"ES2020"
		],
		"sourceMap": true,
		"rootDir": "src",
		"strict": true   /* enable all strict type-checking options */
		/* Additional Checks */
		// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
		// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
		// "noUnusedParameters": true,  /* Report errors on unused parameters. */
	}
}

launch.json
// A launch configuration that compiles the extension and then opens it inside a new window
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
{
	"version": "0.2.0",
	"configurations": [
		{
			"name": "Run Extension",
			"type": "extensionHost",
			"request": "launch",
			"args": [
				"--extensionDevelopmentPath=${workspaceFolder}"
			],
			"outFiles": [
				"${workspaceFolder}/out/**/*.js"
			],
			"preLaunchTask": "${defaultBuildTask}"
		},
		{
			"name": "Extension Tests",
			"type": "extensionHost",
			"request": "launch",
			"args": [
				"--extensionDevelopmentPath=${workspaceFolder}",
				"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
			],
			"outFiles": [
				"${workspaceFolder}/out/test/**/*.js"
			],
			"preLaunchTask": "${defaultBuildTask}"
		}
	]
}

task.json
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
{
	"version": "2.0.0",
	"tasks": [
		{
			"type": "npm",
			"script": "watch",
			"problemMatcher": "$tsc-watch",
			"isBackground": true,
			"presentation": {
				"reveal": "never"
			},
			"group": {
				"kind": "build",
				"isDefault": true
			}
		}
	]
}

webpack.config.js
//@ts-check

'use strict';

const path = require('path');

//@ts-check
/** @typedef {import('webpack').Configuration} WebpackConfig **/

/** @type WebpackConfig */
const extensionConfig = {
  target: 'node', // VS Code extensions run in a Node.js-context 📖 -> https://webpack.js.org/configuration/node/
	mode: 'none', // this leaves the source code as close as possible to the original (when packaging we set this to 'production')

  entry: './src/extension.ts', // the entry point of this extension, 📖 -> https://webpack.js.org/configuration/entry-context/
  output: {
    // the bundle is stored in the 'dist' folder (check package.json), 📖 -> https://webpack.js.org/configuration/output/
    path: path.resolve(__dirname, 'dist'),
    filename: 'extension.js',
    libraryTarget: 'commonjs2'
  },
  externals: {
    vscode: 'commonjs vscode' // the vscode-module is created on-the-fly and must be excluded. Add other modules that cannot be webpack'ed, 📖 -> https://webpack.js.org/configuration/externals/
    // modules added here also need to be added in the .vscodeignore file
  },
  resolve: {
    // support reading TypeScript and JavaScript files, 📖 -> https://github.com/TypeStrong/ts-loader
    extensions: ['.ts', '.js']
  },
  module: {
    rules: [
      {
        test: /\.ts$/,
        exclude: /node_modules/,
        use: [
          {
            loader: 'ts-loader'
          }
        ]
      }
    ]
  },
  devtool: 'nosources-source-map',
  infrastructureLogging: {
    level: "log", // enables logging required for problem matchers
  },
};
module.exports = [ extensionConfig ];

Modes:

System Info

Item
Value

CPUs
AMD Ryzen 7 5800H with Radeon Graphics          (16 x 3194)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
14.87GB (8.85GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (90)

Extension
Author (truncated)
Version

better-comments
aar
3.0.2

vscode-nginx-conf
ahm
0.3.2

Bookmarks
ale
13.4.1

flutter-snippets
ale
3.0.0

tsl-problem-matcher
amo
0.6.2

vite
ant
0.2.5

svelte-intellisense
ard
0.7.1

vscode-tailwindcss
bra
0.10.0

path-intellisense
chr
2.8.4

ytheme
czf
1.3.18

dart-code
Dar
3.72.2

vscode-deno
den
3.21.0

docs-article-templates
doc
1.0.3

docs-yaml
doc
1.0.1

es7-react-js-snippets
dsz
4.4.3

gitlens
eam
14.3.0

vscode-html-css
ecm
1.13.1

prettier-vscode
esb
10.1.0

auto-rename-tag
for
0.1.10

shell-format
fox
7.2.5

vscode-google-translate
fun
1.4.13

remotehub
Git
0.60.0

vscode-pull-request-github
Git
0.70.0

markdown-image
han
1.1.36

vscode-test-explorer
hbe
2.21.1

npm-dependency-links
her
1.2.0

svg
joc
1.5.3

rust-doc-viewer
JSc
4.0.0

jsdelivr
jsD
1.0.2

vscode-gutter-preview
kis
0.30.0

vscode-language-babel
mgm
0.0.39

git-graph
mhu
1.30.0

code-beautifier
mic
2.3.3

fluent-icons
mig
0.0.18

mojo-lang
moj
0.1.0

vscode-less
mrm
0.6.3

vscode-scss
mrm
0.10.0

vscode-language-pack-zh-hans
MS-
1.82.2023090609

vscode-edge-devtools
ms-
2.1.3

python
ms-
2023.17.12501006

vscode-pylance
ms-
2023.9.10

jupyter
ms-
2023.8.1002501831

vscode-jupyter-powertoys
ms-
0.0.8

remote-containers
ms-
0.310.0

remote-ssh
ms-
0.106.1

remote-ssh-edit
ms-
0.86.0

remote-wsl
ms-
0.81.2

hexeditor
ms-
1.9.12

mono-debug
ms-
0.16.3

powershell
ms-
2023.6.0

remote-explorer
ms-
0.5.2023090609

remote-repositories
ms-
0.38.1

remote-server
ms-
1.5.2023082209

test-adapter-converter
ms-
0.1.8

vscode-github-issue-notebooks
ms-
0.0.129

vscode-js-profile-flame
ms-
1.0.5

vscode-serial-monitor
ms-
0.10.0

vscode-typescript-next
ms-
5.3.20230907

resourcemonitor
mut
1.0.7

gradle-language
nac
0.2.3

vetur
oct
0.37.3

cargo
pan
0.2.3

convert-css-in-js
pau
1.1.3

material-icon-theme
PKi
4.30.1

gotestexplorer
pre
0.1.13

svelte-preview
Raf
2.7.0

google-search
Rav
1.0.0

vscode-xml
red
0.26.1

vscode-yaml
red
1.14.0

rust-analyzer
rus
0.4.1653

crates
ser
0.6.0

markdown-preview-enhanced
shd
0.7.3

vscode-scss-formatter
sib
3.0.0

svelte-vscode
sve
107.10.1

vscode-rust-test-adapter
Swe
0.11.0

even-better-toml
tam
0.19.2

tauri-vscode
tau
0.2.6

pdf
tom
1.2.2

vscodeintellicode
Vis
1.2.30

vscodeintellicode-completions
Vis
1.0.22

vscode-vlang
vla
0.1.14

vscode-gradle
vsc
3.12.2023090704

vscode-spring-initializr
vsc
0.11.2

vscode-icons
vsc
12.5.0

vscode-typescript-vue-plugin
Vue
1.8.10

debug
web
0.26.1

JavaScriptSnippets
xab
1.8.0

licenser
ymo
1.9.0

material-theme
zhu
3.16.0

html-css-class-completion
Zig
1.20.0

(1 theme extensions excluded)

I found another problem, also related to debugging. When I used the code generated by yo code, the code and configuration were not modified at this time. When I was debugging, I restarted the debugging, and after about After three to four times, debugging will fail to restart. And the debugging floating bar will be lost. And debugging will no longer be able to be started. Debugging can only be done by reloading the window or reopening vscode. At this time, I have disabled all plug-ins. You You can check the details in the GIF below. If you want to know more information, you can contact me and I will help you reproduce it.

/jsDebugLogs

Please collect trace logs using the following instructions:

If you're able to, add "trace": true to your launch.json and reproduce the issue. The location of the log file on your disk will be written to the Debug Console. Share that with us.
⚠ This log file will not contain source code, but will contain file paths. You can drop it into https://microsoft.github.io/vscode-pwa-analyzer/index.html to see what it contains. If you'd rather not share the log publicly, you can email it to<EMAIL_ADDRESS>

This is the log of what we just did
vscode-debugadapter-00ea6760.json.gz

This is the log of what we just did
vscode-debugadapter-00ea6760.json.gz

It doesn't looks like any breakpoints were set in that debug session. I also noticed that your extension was never activated. Please set some breakpoints and ensure your extension is activated so we can see the issue. Thanks.

@connor4312
As you said, you will indeed have to wait until the plug-in is activated before you can see the breakpoints being bound. But when I feel the problem now, when I restart the debugging process several times, the debugging bar will disappear and I cannot restart or Close the current debugging session. This will only work if you reload or close vscode and restart debugging. This is only encountered when developing extensions, I don’t know if it is also encountered in other debugging situations.

I tried it on the preview version and the stable version, and this phenomenon has not been reproduced.


Update readme.md

Changing lacework_api_token to lacework_api_key
Clarifying the account option, it just needs to be the subdomain of their api URL (account instead of account.lacework.net for example)

Based on Trevor's tests


Support Istio Sidecar

sidecar support, with priority calculated in allowed_connections stage

Another question: is it possible to use some of the functionality of IstioGenericYamlParser within IstioTrafficResourcesYamlParser.py ?

I don't see much in common
might call  IstioGenericYamlParser.parse_generic_istio_policy_fields from IstioTrafficResourcesYamlParser.parse_gateway to check the validity of the general fields (apiVersion, kind, metadata and spec)

Another question: is it possible to use some of the functionality of IstioGenericYamlParser within IstioTrafficResourcesYamlParser.py ?

I don't see much in common might call IstioGenericYamlParser.parse_generic_istio_policy_fields from IstioTrafficResourcesYamlParser.parse_gateway to check the validity of the general fields (apiVersion, kind, metadata and spec)

Actually I think this parse_generic_istio_policy_fields may be moved to GenericYamlParser.py and then all yamlParser objects we have may call it.

Another question: is it possible to use some of the functionality of IstioGenericYamlParser within IstioTrafficResourcesYamlParser.py ?

I don't see much in common. might call IstioGenericYamlParser.parse_generic_istio_policy_fields from IstioTrafficResourcesYamlParser.parse_gateway to check the validity of the general fields (apiVersion, kind, metadata and spec)

Actually I think this parse_generic_istio_policy_fields may be modified and moved to GenericYamlParser.py and then all *yamlParser objects we have may call it. @adisos , Should I do this here or in another, separate PR?

ok, good idea.
you can do it on this branch.


Adapt capabilities to use uppercase letters for ALL keyword

Description
Please include the following:
Updates the securityContext to drop ALL capabilities in uppercase instead of lowercase which fixes #1035
How can this be tested?
Should work as before, so applying our manifests should also propagate the DROP: [ALL] securityContext to webhook etc.
Checklist

[x] Unit tests have been updated/added
[x] PR is labeled accordingly
[x] I have read and understood the contribution guidelines

@pierluigilenoci will be released with the next release (v0.8.1)


Remove version: Stackers.Stack version 3.2.0

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://binaries.getstack.app/builds/prod/win/x64/Stack Setup 3.2.0-x64.exe
Response status code does not indicate success: 530 ().
(Automated message - build 896)


fix: no regen on new cluster

regression from #930

/cc @tomhobson
It's a good thing we have the bdd tests... https://dashboard-jx.infra.jenkins-x.rocks/ns-jx/jenkins-x/jx3-versions/PR-3801/3


Board.Actions will only return 50 Items

Hi, I only started using Manatee.Trello yesterday and figured out how to get it working for the most part.  Anyway, I want to get ALL Actions from a Board but not matter what I do it will only return 50 when I know there is a lot more. I don't know what I'm doing wrong.
This is a .NET Forms App with C#. I'm using private form level declarations to make it easy. I'm not using the Return on the Sync calls at all.
The other weird thing is that I have to call this twice in order to get the data. First when the form opens and then second when I call the same thing from a Button on the form.
`
private TrelloAuthorization _trelloAuthorization;
private TrelloFactory _factory;
private Board _board;
    public async Task<Board>  GetBoard()
    {
        _factory = new TrelloFactory();
        var board = _factory.Board("5d6eae8fd0ad2b7111f9120a", _trelloAuthorization);

        _board = (Board)board;
        _board.Actions.Limit = 10000;
        _board.Actions.Filter(System.DateTime.Now, System.DateTime.Now.AddYears(-1));
        await _board.Refresh();

        return (Board)_board;
    }`

I expected to get all the Actions back from the Board, not just 50. Please help. Thanks!

OS: Windows 10 Pro
.Net Target 4.7.2
Version 4.0.0

Hi @davestuart!  Thanks for the question.
The 50 item limit is actually imposed by the Trello API.  I do have a .Limit property on all collections that you can use to override this, but they do have a ceiling for how high it can go (1000).

Hi, thanks for the super fast reply! Can you let me know how I can get around the API limit? Do I maybe have to iterate using the Last Date of the returned 50 to get another 50 with the Filter(Start, End)? Then for each of these I have to call the Refresh?

I'll set up a test tonight to ensure that the filter method is working as expected.
Regarding the count, as I mentioned before, you can modify the .Limit property.

I found that I already have tests for the limit.  I've added one for filtering on dates.  Everything seems to work as expected.
Looking at your code, this line is concerning:
_board.Actions.Filter(DateTime.Today.AddDays(-30), DateTime.Today.AddYears(-1));

The parameters are start and end in that order, so you're looking from -30d to -1y.  Your start is after your end.  I don't know what Trello does with that.  Maybe ignores it???

Hi, thanks again for the reply. Even just using "_board.Actions.Limit = 1000;" returns 50. As for the dates, even if I switch them around it still does nothing, or even "_board.Actions.Filter(DateTime.Today.AddDays(-1), DateTime.Today.AddDays(-1));" makes no difference. I still cannot control Limit or Filter. I can send you my Visual Studio Solution if you'd like to take a look at it. It's a very simple demo. Can I e-mail that to you?

Yeah, I can take a look.
_board.Actions.Filter(DateTime.Today.AddDays(-1), DateTime.Today.AddDays(-1));
won't do anything since you're looking at a zero-length time span.

Greg,
I sent a OneDrive link to<EMAIL_ADDRESS><EMAIL_ADDRESS>. Will you get that or should I use a different e-mail address?
Best Regards,
Dave Stuart MCPD
Microsoft Certified Professional Developer
http://www.dafran.ca/ Dafran Inc.
403 606-2345
<EMAIL_ADDRESS><EMAIL_ADDRESS>http://www.dafran.ca/
From: Greg Dennis<EMAIL_ADDRESS>Sent: December 11, 2019 6:32 PM
To: gregsdennis/Manatee.Trello<EMAIL_ADDRESS>Cc: davestuart<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [gregsdennis/Manatee.Trello] Board.Actions will only return 50 Items (#317)
Yeah, I can take a look.
_board.Actions.Filter(DateTime.Today.AddDays(-1), DateTime.Today.AddDays(-1));
won't do anything since you're looking at a zero-length time span.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/gregsdennis/Manatee.Trello/issues/317?email_source=notifications&email_token=AEIBZG5B5IU2EPWWF7IQD73QYGICBA5CNFSM4JYBO4ZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGVE5EY#issuecomment-564809363 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AEIBZG66RB6YFNSWKXXXKPLQYGICBANCNFSM4JYBO4ZA .  https://github.com/notifications/beacon/AEIBZG4WFOCN45Y6CZZ3MUDQYGICBA5CNFSM4JYBO4ZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGVE5EY.gif

Hi Greg, let me know how I can send you my Project. I can e-mail you a OneDrive link but do not want to post it here.

You can email me at my username here @ Yahoo.

It looks like the limit and fields aren't respected when getting the actions as part of the board.Refresh() call.  My suggestion is to remove actions from the Board.DownloadedFields static property.  This will mean that you'll need to refresh the actions separately, but at the actions collection will need to be refreshed independently.
I have this working and you should get 587 actions.

I also found that Trello is returning memberCreator (which I'm not deserializing) instead of idMemberCreator (which I am deserializing) so you get a NRE when trying to print the full name.  I'll need to post an update to fix this.

Thanks Greg. _board.Actions.Limit = 1000; followed by await _board.Actions.Refresh(); worked! But like you said action.Creator.FullName is producing a NullReferenceException (NRE). So you are going to fix this and release a new version?
I'm also a bit confused about the Board.DownloadedFields static property you mentioned, can you explain what you mean?

v4.1.1 is out which should fix the NRE.  Just update the Nuget package and you should be good.

That's perfect Greg! I just got v4.1.1 and the FullName is coming through now, plus I have all 621 Actions now. I understand about the DownloadedFields property so thanks for pointing that out.


Build with Ruby 2.7

Pull Request Test Coverage Report for Build 26

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 97.727%

Totals

Change from base Build 21:
0.0%

Covered Lines:
129

Relevant Lines:
132

💛  - Coveralls


OpenJDK installation is failing

OpenJDK installation is failing.
Hi, @nikolaik  please could you advise how to solve the issue while installing RUN apt-get install -y openjdk-8-jdk. This step was working fine with the Node10 base image.

Do you have any output from the failing install command?

@nikolaik yes
Step 23/48 : RUN apt-get install -y openjdk-8-jdk
 ---> Running in c4e7c6085752
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package openjdk-8-jdk
The command '/bin/sh -c apt-get install -y openjdk-8-jdk' returned a non-zero code: 100

E: Unable to locate package openjdk-8-jdk

This indicates that there is no package called openjdk-8-jdk available in any repository apt has fetch package metadata from.
You are trying to install a legacy version of openjdk which was last available in debian stretch, openjdk-8-jdk. These images have switched the debian base image to debian buster and bullseye a while ago.
For newer distros (that these images use) you need to use openjdk-11-jdk for buster or bullseye or if you can openjdk-17-jdk.

Thanks @nikolaik I haven't upgraded it to jdk11 since I was unsure about the dependency. But it's compatible and all went well with jdk11 and python 3.7

Thanks @nikolaik I haven't upgraded it to jdk11 since I was unsure about the dependency. But it's compatible and all went well with jdk11 and python 3.7

stay fresh 😎


What this plugin should have

I am the owner of my server and I made pets for the admin but they don't teleport through worlds . 😔
But you should add the ability to get pets teleporting through worlds and you could enable and disable it it would start disabled and also you could restrict them from entering worlds and if you had LibsDisguises they would keep there disguises please add this more people would get this plugin and it would mabby also be good for LibsDisguises

Um will anyone tell me if this idea is good???

disguises not persisting through worlds shouldn't be a multiverse problem as far as I can tell.
When you say pets, do you mean wolves or EchoPets. If EchoPets arn't following owners across world teleports that sounds more like an EchoPets issue.

I mean normal pets

I believe EchoPet and MyPet both have this feature now. Locking ticket after a year and a bit of inactivity.


Idea: Add a border to custom-controls

I think it would be cool if there were variables that let us control the border of custom-controls.
With borders something like in the picture below would be possible in bootstrap natively.

Since we don't set a border by default, we wouldn't add an empty variable by default. For now we'll punt on any changes to this.


Add trailing-slash to sbt-pgp link to fix GA defect

Clicking on the sbt-pgp link on
http://www.scala-sbt.org/1.0/docs/Using-Sonatype.html
produce a 404 not found, because Google Analytics is appending a query string:
http://www.scala-sbt.org/sbt-pgp?_ga=1.200222766.1442054452.1475176157
If it's possible for GitHub sites to ignore query strings for files, that would probably also fix this.  Interestingly, though, making it a directory by adding a trailing-slash seems to work regardless of the query string.  e.g.  http://www.scala-sbt.org/sbt-pgp/?_ga=1.200222766.1442054452.1475176157

Or alternatively, disable whatever it is that Google Analytics is doing to links, assuming it isn't necessary.


fix env->stack misadjusting: fix #4029

Currently envadjust checks oldbase <= env->stack < oldbase + newsize, but it's wrong - we should use oldbase + oldsize as the upper bound.
After https://github.com/mruby/mruby/pull/3991, in one envadjust call, an env can be checked 2 times (when ci[0]->env and ci[1]->proc->e.env are identical). If newbase is allocated immediately after oldbase, env->stack pointer accidentally gets adjusted 2 times and refers out of range of the new stack area.
To reproduce, consume large amount of stack and then refer some lexical variable (x) in a closure.
def doit(depth)
  return if depth == 0
  v0, v1, v2, v3, v4, v5, v6, v7, v8, v9 = (1..10).map { 'BROKEN' }
  doit(depth - 1)
end

x = 'OK'
proc {
  doit(100)
  puts x
}.call

$ seq 10 | xargs  -n 1 build/host/bin/mruby repro.rb
OK
OK
OK
OK
OK
OK
BROKEN
OK
BROKEN
OK

As far as I checked, OSX seems to often reallocate a new buffer immediately after old buffer, but in Linux it's not so often.

Thank you!


Implement UserStore to connect to WSO2 Identity Server

Description:

The broker should be able to use WSO2 Identity server as a user store.
For this, we need to implement the io.ballerina.messaging.broker.auth.authorization.UserStore to connect to WSO2 Identity server using org.wso2.carbon.um.ws.api.stub.RemoteUserStoreManagerServiceStub

@a5anka We didn't do much on this. It's still at the very early stages of design review.


Slow NVM issue

NVM takes about 3 seconds to load, making ZSH takes really long to start. For the time being use node@8 and brew link node@8 --force to have node installed

went for n


[ncm2_go@yarp] TypeError: expected str, bytes or os.PathLike object, not NoneType

I always saw this in my neovim status line...
have to press control c to stop it.
a little annoying, but I don't know how to fix this.

You should create minimal vimrc and reproduce instruction for it.


IMDB query question

Not an issue but a question. I'm hoping this isn't the wrong place for this...
In the IMDB example used in the youtube arangodb search video:
https://www.youtube.com/watch?v=iDznGhelajY&t=2137s
What would a query look like that would show all the connections between to individual people.
ie: 6 degrees of Kevin Bacon.
So if you picked: Matt Damon and Tim Burton one of the results would be
Matt Damon->The Departed->Alec Baldwin->BeatleJuice->Tim Burton
Thanks!

Hi @undeadindustries,
your requested query seems to be a better fit for Graph Traversals than ArangoSearch.
The query below is an example for the mps_graph with start vertex mps_verts/A and end vertex mps_verts/C. mps_edges is the edge collection in use. This query returns only paths with length of 2. In case you want to return paths of different lengths, please specify a different range (e.g. 2..5 for all paths from length 2 to 5.
Query:
  FOR v, e, p IN 2..2 OUTBOUND "mps_verts/A" mps_edges
     FILTER v._id == "mps_verts/C"
       RETURN CONCAT_SEPARATOR(" -> ", p.vertices[*]._key)

Query result:
[
  "A -> B -> C",
  "A -> D -> C"
]

Please find more details in the links below:
https://docs.arangodb.com/3.4/AQL/Graphs/Traversals.html
https://docs.arangodb.com/3.4/AQL/Graphs/ShortestPath.html
https://docs.arangodb.com/3.4/AQL/Examples/MultiplePaths.html

The reason I asked about arangosearch for this, was because of how you could add a weight criteria to it. Meaning, You could make acting in the movie more relevant than directing in a movie, and it would choose actor->movie->actor traversals over actor->movie->director. Is that possible with a simple traversal? Or would search be better fit for that?
Thanks!

One way to achieve this using Traversals would be adding IS_SAME_COLLECTION FILTER's on the path's vertices. However this way no weight is added but the path pattern is strictly specified.
E.g. the first vertex of the traversal has to be out of the collection "actor", 2nd out of collection "movie", 3rd "actor" etc.
  FOR v, e, p IN 2..4 OUTBOUND "mps_verts/A" mps_edges
     FILTER IS_SAME_COLLECTION('actor', p.vertices[0])
     FILTER IS_SAME_COLLECTION('movie', p.vertices[1])
     FILTER IS_SAME_COLLECTION('actor', p.vertices[2])
     FILTER v._id == "mps_verts/C"
       RETURN CONCAT_SEPARATOR(" -> ", p.vertices[*]._key)

Thanks again. But, in theory, is adding a weight to certain criteria what search would be good for? I don't mean specifically with the IMDB example. I mean ... generally.

Thanks again. But, in theory, is adding a weight to certain criteria what search would be good for? I don't mean specifically with the IMDB example. I mean ... generally.

https://github.com/arangodb/arangodb/issues/8016 related.


[Feature][Typesense] Support typesense connector source/sink

Search before asking

[X] I had searched in the feature and found no similar feature requirement.

Description
Currently, we already support the milvus connector, would anyone like to add support for typesense?
reference
https://github.com/typesense/typesense
https://github.com/typesense/typesense-java
milvus connector pr
https://github.com/apache/seatunnel/pull/7158
Usage Scenario
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

please assign it to me

hi @zhangshenghang
Is there any progress on this task?

hi @zhangshenghang
Is there any progress on this task?

hi @zhangshenghang
Is there any progress on this task?

hi @zhangshenghang Is there any progress on this task?

Yes, I will submit it soon @hailin0
Because I am handling issue #7059 at the same time, the update is a bit slow

hi @zhangshenghang Is there any progress on this task?

Yes, I will submit it soon @hailin0
Because I am handling issue #7059 at the same time, the update is a bit slow

ok, good


Update release-notes.md - Release 94

Docs Build status updates of commit 04d9db7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/webview2/release-notes.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 8e6f064:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/webview2/release-notes.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit fe8c5f3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/webview2/release-notes.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 88e5932:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/webview2/release-notes.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 07f561c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/webview2/release-notes.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 07f561c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/webview2/release-notes.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 527d78a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/webview2/release-notes.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

need backticks around PlatformTarget & IFoo

Docs Build status updates of commit 14ec779:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-PullRequestMergeConflict] Cannot sync git repo to specified state. Please make sure the pull request is mergeable.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 6b8fe07:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-PullRequestMergeConflict] Cannot sync git repo to specified state. Please make sure the pull request is mergeable.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Vite define constants not applied to library build

Describe the bug
For regular applications, define replaces constants as expected, but for component libraries this is not the case.
Reproduction
https://stackblitz.com/edit/sveltejs-kit-template-default-3zfndg
Logs
No response
System Info
System:
    OS: Windows 10 10.0.22000
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz
    Memory: 10.57 GB / 31.69 GB
  Binaries:
    Node: 18.16.0 - ~\AppData\Local\Programs\NodeJS\node.EXE
    Yarn: 1.22.19 - ~\AppData\Local\Programs\NodeJS\yarn.CMD
    npm: 9.5.1 - ~\AppData\Local\Programs\NodeJS\npm.CMD
  Browsers:
    Edge: Spartan (44.22000.120.0), Chromium (114.0.1823.58)
    Internet Explorer: 11.0.22000.120

Severity
annoyance
Additional Information
No response

svelte-package does not use Vite in any way. It does a per-file preprocessing of Svelte files if needed, resolves aliases defined through kit.alias but that's it. Adding Vite into the build chain could have unintended side effects and would change the way everything's build dramatically. It would also make svelte-package depend on Vite probably, which today is not the case (theoretically you can use it in webpack/rollup setup).


HingeJoint3D

Description
This issue tracks the progress of implementing the functionality of Godot's HingeJoint3D node type. Below you'll find all user-facing properties, methods and signals, including ones inherited from relevant node types. If you notice any missing from this list, please leave a comment down below.
Status

Not supported
Not started
Partial (not functional)
Partial (functional)
Done (as much as it can be) 👈
Done (completely)

Links
Documentation: HingeJoint3D
Inherits: Joint3D, Node3D
Legend

🚧 indicates a partial, incomplete or broken implementation.
🛑 indicates that it's blocked or incompatible with Jolt in some way.

Properties
Params

[ ] 🛑 Bias (PARAM_BIAS)

Not compatible with Jolt's HingeConstraint

Angular Limit

[x] Enable (FLAG_USE_LIMIT)
[x] Upper (PARAM_LIMIT_UPPER)
[x] Lower (PARAM_LIMIT_LOWER)
[ ] 🛑 Bias (PARAM_LIMIT_BIAS)

Not compatible with Jolt's HingeConstraint

[ ] 🛑 Softness (PARAM_LIMIT_SOFTNESS)

Not compatible with Jolt's HingeConstraint

[ ] 🛑 Relaxation (PARAM_LIMIT_RELAXATION)

Not compatible with Jolt's HingeConstraint

Motor

[x] Enable (FLAG_ENABLE_MOTOR)
[x] Target Velocity (PARAM_MOTOR_TARGET_VELOCITY)
[x] Max Impulse (PARAM_MOTOR_MAX_IMPULSE)

Propertes (Joint3D)
Uncategorized

[x] Node A (node_a)
[x] Node B (node_b)
[ ] 🛑 Solver Priority (solver_priority)

Not supported by Jolt

[x] Exclude Nodes From Collision (exclude_nodes_from_collision)

Properties (Node3D)
Transform

[x] Position (position)
[x] Rotation (rotation)
[x] Scale (scale)

Methods

[x] get_flag
[x] get_param
[x] set_flag
[x] set_param

This tracking issue has served its purpose and will now be closed. 🫡
Any remaining work has had new issues created for it.


Upload offline XML submission to ODK Central Server manually

There are some issues with uploading the recorded form to the server. So I want to upload the forms manually by importing each XML submission record saved in the internal storage of the application and upload it to the central server.
The option used to be there in ODK aggregate but in central it's not showing anywhere.

Please use ODK Briefcase. If you think the upload issue might be related to a client bug, it would be good to know about that as well. In general, please start on the form if you need help so more people in the community can be involved!


Missing a part of Store Procedure for the User Account Table

There is no store procedure for the following tables.
Organization Table
OrgGroupRole Table
OrgGroupRoleSSRS Table

These tables are not part of SSRS or used in the Sample. If its not related to these items, feel free to provide more context and reopen this item.


How to add custom week in Psych Engine 0.3.2?

What is your question?
how

Update your engine to the latest version.


Gentoo on Google+

Please remove this from layout.html.

Removed all social media links from our fork.


On-board to community localization platform

The initial on-boarding step is done for May.  We'll still need to finish getting to 100% loc UI.


server: move proxystore up one level

@astoycos move proxystore up one level so it's more obvious that it's the core thing of kpng's server side.

Sweet I think this is nice for readability :)

/lgtm
Thanks for this bit!


For a 0.1.4 release

#21

Codecov Report

Merging #23 (fad20b6) into master (c240303) will increase coverage by 0.21%.
The diff coverage is n/a.

:exclamation: Current head fad20b6 differs from pull request most recent head a3b70ba. Consider uploading reports for the commit a3b70ba to get more accurate results

@@            Coverage Diff             @@
##           master      #23      +/-   ##
==========================================
+ Coverage   91.62%   91.83%   +0.21%
==========================================
  Files           6        5       -1
  Lines         394      392       -2
==========================================
- Hits          361      360       -1
+ Misses         33       32       -1

Impacted Files
Coverage Δ

src/CategoricalDistributions.jl

src/types.jl
97.14% <0.00%> (+0.91%)
:arrow_up:

Continue to review full report at Codecov.

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


Multiple fields to display other Model in a Relationship

Laravel Version: 5.5
Voyager Version: 1.0
PHP Version: 7.2
Database Driver & Version: mysql

Description:
I have two models with a belongsTo relationship between them.
Is there an easy way in Voyager to use multiple columns to display the dropdown select second model by editing the first?
I can only chose one column (name) for the moment in the BREAD edition. Let's say I want to display the model with a concatenation of the fields "name"_"value". Is there a way to achieve that in Voyager?
Thanks,

Not really.  You could try a few different things.  Either make a dynamic field in the database and let Voyager use that, or use an accessor method for one of the fields.  I can't guarantee Voyager will handle either of these options well, but it's worth a shot.  This is certainly not a supported feature right now.

If you need help with one of those possible workarounds, feel free to join our Slack group and ask.

I also need a solution to this problem.

We actually have a way for a few month now and its also mentioned in our Docs.

https://voyager.readme.io/docs/custom-relationship-attributes

How can I create dependent dropdown i have School, Branches and Student Bread, now i want to add student in which if i choose school then branches dropdown will get branches for that particular schools. any help will be appreciated.

pls see:
https://voyager-docs.devdojo.com/customization/custom-realtionship-attributes


[AppConfiguration] 403 when using DefaultAzureCredential or VisualStudioCodeCredential with App Configuration

Package Name: app-configuration
Package Version: 1.1.0
Operating system: Windows 10
[x] nodejs

version: 12.16.0

[X] typescript

version: 4.0.5

Describe the bug
With VSCode with the Azure Account extension described here I'm trying to access App Configuration, but I'm getting a 403 error when attempting to read a configuration key.
RestError:
 {
  "name": "RestError",
  "statusCode": 403,
  "request": {
    "streamResponseBody": false,
    "url": "https://[app-config-name].azconfig.io/kv/inf%2FcdnUrl?api-version=1.0",
    "method": "GET",
    "headers": {
      "_headersMap": {
        "content-type": "application/json; charset=utf-8",
        "user-agent": "azsdk-js-app-configuration/1.1.0 core-http/1.2.0 Node/v12.16.0 OS/(x64-Windows_NT-10.0.18362)",
        "x-ms-client-request-id": "[clientid]",
        "authorization": "REDACTED",
        "cookie": "REDACTED"
      }
    },
    "withCredentials": false,
    "timeout": 0,
    "requestId": "b3acfdcf-748b-4ca1-a926-278359bbd592"
  },
  "details": {},
  "message": ""
}

To Reproduce
Steps to reproduce the behavior:

With the following dependencies:

    "@azure/app-configuration": "^1.1.0",
    "@azure/identity": "^1.1.0",
    "@azure/keyvault-secrets": "^4.1.0",
    "dotenv": "^8.2.0"

When I run this code:

import { VisualStudioCodeCredential, DefaultAzureCredential } from "@azure/identity"
import { AppConfigurationClient } from "@azure/app-configuration"
import { SecretClient } from "@azure/keyvault-secrets"

const credentials = new DefaultAzureCredential()

const client = new SecretClient(process.env.KV_ENDPOINT!, credentials)
console.log(await client.getSecret("test-secret")) // Works

const appConfigClientSecret = new AppConfigurationClient(process.env.CONNECTION_STRING!)
console.log(await appConfigClientSecret.getConfigurationSetting({ key: "inf/cdnUrl" })) // Works

const appConfigClient = new AppConfigurationClient(process.env.APPCONFIG_ENDPOINT!, credentials)
console.log(await appConfigClient.getConfigurationSetting({ key: "inf/cdnUrl" })) // Fails with 403:

The first two calls (Key Vault and App Configuration with connection string) works.
Expected behavior
The call to:
appConfigClient.getConfigurationSetting({ key: "inf/cdnUrl" })

should work with DefaultAzureCredential like the Key Vault call does.
Additional context
Originally there was a problem with the Azure Account extension. It was addressed here: https://github.com/microsoft/vscode-azure-account/issues/234

Just wanted to add that I've tested with the latest dev version of the package "@azure/app-configuration": "^1.1.1-alpha.20201030.1" and the problem persists.

Any news on this one? We are super-keen to start using DefaultAzureCrendetial in all our code, but until this works I'm reluctant to roll it out to all our developers.

facing the same issue.

@rudfoss  and @pkvpraveen
I was able to run the following sample successfully from within my vscode terminal:
import { AppConfigurationClient } from "@azure/app-configuration";
import { DefaultAzureCredential } from "@azure/identity"

async function run() {
  const credentials = new DefaultAzureCredential();

  const client = new AppConfigurationClient(process.env.ENDPOINT, credentials);
  const result = await client.getConfigurationSetting({ key: 'my-super-neat-config' });
  console.log(result);
}

run();

Since you're getting a 403 which indicates your user isn't authorized, can you confirm you've given your user role-based access to the App Configuration resource?
If you haven't, you can do this through the portal doing the following:

Open you app configuration resource.
Click the Access control (IAM) blade on the left side bar.
Click +Add -> Role Assignment
When selecting a role select either App Configuration Data Reader (readonly) or App Configuration Data Owner (read/write).
Select your developer account as the user and save.

Please let me know if this helps.

Hi @chradek, thanks for the reply.
My account is a subscription admin and listed as an Owner in the Access Control page:

I'm also able to modify all configurations through the portal.
But for completeness I added the role specifically:

Signed out and back in and retried with this code with and without the VisualStudioCodeCredential explicitly:
import dotenv from "dotenv"
dotenv.config()

import { VisualStudioCodeCredential, DefaultAzureCredential } from "@azure/identity"
import { AppConfigurationClient } from "@azure/app-configuration"

const start = async () => {
	const credentials = new DefaultAzureCredential()
	console.log("Instance", process.env.APP_CONFIG_ENDPOINT)
	const appConfigClient = new AppConfigurationClient(process.env.APP_CONFIG_ENDPOINT!, credentials)
	console.log(await appConfigClient.getConfigurationSetting({ key: "inf/cdnUrl" })) // Fails with 403:
}

start().catch((error) => {
	console.error(error)
	console.error(error.stack)
	process.exit(1)
})

The error is the same:
RestError:
 {
  "name": "RestError",
  "statusCode": 403,
  "request": {
    "streamResponseBody": false,
    "url": "https://[instance].azconfig.io/kv/inf%2FcdnUrl?api-version=1.0",
    "method": "GET",
    "headers": {
      "_headersMap": {
        "content-type": "application/json; charset=utf-8",
        "user-agent": "azsdk-js-app-configuration/1.1.1 core-http/1.2.0 Node/v12.16.0 OS/(x64-Windows_NT-10.0.18363)",
        "x-ms-client-request-id": "3d6409d6-c9a2-4de6-920e-244c5a299956",
        "authorization": "REDACTED",
        "cookie": "REDACTED"
      }
    },
    "withCredentials": false,
    "timeout": 0,
    "requestId": "3d6409d6-c9a2-4de6-920e-244c5a299956"
  },
  "details": {},
  "message": ""
}

@rudfoss
I was able to reproduce the 403 error if I removed user's App Configuration Data Owner  role assignment, and if I changed the role assignment to App Configuration Data Reader.
Can you try setting your role assignment to  App Configuration Data Owner and see if that at least gets you past the 403 error?
In either case, I'd have expected the App Configuration Data Reader to work with the getConfigurationSetting operation based on the roles documented here. We'll need to follow up with the service team to determine what's going on with that scenario.

Hi @chradek
I tried again this morning and for some reason I'm able to read config with just the Owner role now. Has there been some update to the service? I've tested with several role assignments and logging out and back in between each test:

Owner: ✔
App Configuration Data Owner: ✔
App Configuration Data Reader: ✔

I've even tried assigning the App Configuration Data Reader role, verifying it works and removing the user again. It still works even after signing out and back in so I guess there is some caching of roles going on here. Unsure how I can properly vet this.

I did a retest and here are the results. This time I waited for at least 10 minutes in an attempt to ensure the role assignments were updated.

Role
Access config via API
Access config via portal
Access to resource via portal

Owner
❌
✔
✔

Reader
❌
❌
✔

App Configuration Data Reader
✔
❌
❌

App Configuration Data Owner
✔
❌
❌

Based on this it seems that the Owner role is not sufficient to read data via the API, but it is enough to read through the portal which I find strange. Shouldn't the roles grant the same access regardless of the method used for access?
In any case since this now seems to work for App Configuration roles I'll set up our assignments to reflect this so that developers can work with it.
Since I'm not sure if this is a bug or not I'm fine with closing this issue. But maybe some clarity on the Owner and Reader roles could be added to the documentation?

I did a retest and here are the results. This time I waited for at least 10 minutes in an attempt to ensure the role assignments were updated.
Role 	Access config via API 	Access config via portal 	Access to resource via portal
Owner 	❌ 	✔ 	✔
Reader 	❌ 	❌ 	✔
App Configuration Data Reader 	✔ 	❌ 	❌
App Configuration Data Owner 	✔ 	❌ 	❌
Based on this it seems that the Owner role is not sufficient to read data via the API, but it is enough to read through the portal which I find strange. Shouldn't the roles grant the same access regardless of the method used for access?
In any case since this now seems to work for App Configuration roles I'll set up our assignments to reflect this so that developers can work with it.
Since I'm not sure if this is a bug or not I'm fine with closing this issue. But maybe some clarity on the Owner and Reader roles could be added to the documentation?

I was trying to access config from an app service. with App Configuration Data Reader app service is able to access the config. Thank you @rudfoss

Apologies for the delayed response here. I reached out to the service team to let them know the page on roles could use some clarification so am closing the issue here on our side.
This comment summarizes the access behavior working in the portal vs the API very well.

Apologies for the delayed response here. I reached out to the service team to let them know the page on roles could use some clarification so am closing the issue here on our side.
This comment summarizes the access behavior working in the portal vs the API very well.


/world/Topic() is not supported

https://www.byond.com/docs/ref/#/world/proc/Topic
~Looks like it's an HTTP GET request handler on the server~ It's a custom TCP protocol!
As used by the BYOND.TopicSender library here

Reopened since #1382 was reverted by #1398

Should be fixed soon or OD isn't gonna be in the initial release of TGS 6

And by soon, I mean by about a month from now


📝[Documentation Update]: Adding information on service cards

Is there an existing issue for this?

[X] I have searched the existing issues

Issue Description
The service cards show very less information.

Suggested Change
I will add some more information on those so our customers get to know better.
Rationale
No response
Urgency
Medium
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

assigning


[Doc]: adding Stargazers and Forkers section to readme.md

Is there an existing issue for this?

[X] I have searched the existing issues

Issue Description
adding Stargazers and Forkers section to readme.md
use case

Stargazers highlight the GitHub users' profiles who starred the repository.
And forkers show the people who have already forked the repository

Suggested Change
update in

readme.md
Rationale
No response
Urgency
High
Acknowledgements

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24-Extd contributor
[X] I'm a Hacktoberfest contributor
[X] I have starred the repository
[X] I am willing to work on this issue (optional)

@amiya-cyber As of now, we do not need it. We will let you know in the future if there is a need. Please search for another issue and raise it, which I'm happy to assign to you.


day 61 progress

Day 61!! nice and well done @nayabatir1 - let me know if you would like to contribute something to kubesimplify.com (A new initiative I started)

Day 61!! nice and well done @nayabatir1 - let me know if you would like to contribute something to kubesimplify.com (A new initiative I started)

Yeah sure, happy to help. 😄


Locale/option based first day of the week

Right now the first day of the week is set to Sunday as it is used in en_US. But lots of languages, spanish for example, use other day, usually Monday, as first day of the week. We already have text and dates translations/localization which is great but this new feature I think should be a must.
I've tried myself coding this feature but failed. The only thing I've managed to change is the order of the days array (S, M, T, ...) based on moment().localeData().firstDayOfWeek() replacing this code in Calendar.prototype.calendarHTML:
$.each(this.days_array || moment.weekdaysMin(), function(i, elem) {
  ul_days_of_the_week.append('
' + elem + '
');
});

With this code:
var days = this.days_array || moment.weekdaysMin();
days = days.splice(moment().localeData().firstDayOfWeek()).concat(days.splice(0, moment().localeData().firstDayOfWeek()));
$.each(days, function(i, elem) {
  ul_days_of_the_week.append('
' + elem + '
');
});

Any news on this one?

No not yet as we don't currently need this for Baremetrics. I also haven't heard much from other people needing this feature. I don't think it'd be super hard to do but it'd take some time to think through the best way. You'd definitely want it to be an option, though maybe a function option that doesn't automatically do anything until you explicitly tell it which day of the week it should start the week on.

Added in https://github.com/Baremetrics/calendar/releases/tag/v1.0.6


support multiple arguments to addToSet

model.add_to_set :set, 1, 2
TypeError Exception: can't convert Symbol into Integer

Note that passing an array [1,2] will add an array to the set.
mongoDB supports multiple arguments to addToSet.
http://www.mongodb.org/display/DOCS/Updating#Updating-%24addToSet
Is there a way to do this in mongoid currently? If not I would consider the current API to have a defect- at a minimum instead of a TypeError there should be an error: "multiple values not supported..."

Oh yeah, already did this. :)


Debug info is lacking or nonexistant

Hello
I've recently just reset my server and have been having some issues with permissions issues as you do when you start fresh. In the past I've relied heavily on the PeX debug information, however since using Spigot 1.9.4 (Unsure when exactly the issue itself would have started as it worked okay previously on 1.9.3 and below), PeX seems to refuse to display any information at all when using the command "/pex user  toggle debug". When you do the command, console output that the debug mode for the user has been toggled on, however nothing at all appears to come up afterward.
Previously I'd be seeing permissions checks for worldguard if I were to move or permissions checks for sending messages to chat and so on, now nothing at all appears to show up, even in the latest.log of spigot. If I toggle it globally using 'pex toggle debug', it does display very.. very.. limited permissions checks (that being from only 1 or 2 plugins and nothing else at all).
Spigot version:
CraftBukkit version git-Spigot-8a048fe-5ff377a (MC: 1.9.4)
(Implementing API version 1.9.4-R0.1-SNAPSHOT)
My PeX config file:
http://pastebin.com/dqTGwRdr
Console output:
http://pastebin.com/c94h8pEF
Note - In the time I had debug enabled for myself, I talked in chat, moved around and broke a few blocks (none of which was checked for permissions, according to the debug).
I've probably missed something simple in my configuration somewhere but it's becoming an issue now as players are finding more problems that I could easily solve with the aid of PeX debug.
Any help is appreciated, thanks!
Asa

Unfortunately user-specific debug toggling had to be removed because of performance issues. You'll have to use global debug mode for now.

If this were a solution, I wouldn't of created this issue on here. However if you actually look at what I posted I say:
"If I toggle it globally using 'pex toggle debug', it does display very.. very.. limited permissions checks (that being from only 1 or 2 plugins and nothing else at all)."
I did forget to add a snippet of the output from global debug, so here it is: http://pastebin.com/jTcP774F
I've used the debug information generated from PeX in the past to fix a large amount of issues, so to have it only output minimal permissions checks and not every single one it's actually doing is absolutely useless. From what I can tell important checks like worldguard and essentials for example aren't showing up at all or if they are they're not showing up very often or not showing up any permissions that matter. Was the global debug output scaled back as well for 'performance issues'?


templates/java: add OuterClass suffix when conflict with all enums and messages

According to
https://developers.google.com/protocol-buffers/docs/reference/java-generated\#invocation,
OuterClass suffix should be appended not only top-level but also nested enums and
messages.
Signed-off-by: leafs99<EMAIL_ADDRESS>

Thanks for your contribution @leafs99!


Fix typo in nf-winnls-lcmapstringex.md

In the "Return value" section, the first paragraph already talks about what is returned when the function is used for string mapping. The second paragraph intended to say what is returned when the function is used to generate a sort key, but repeated the words for the string mapping scenario.

Many thanks for following up @Karl-Bridge-Microsoft :+1:


Add example app build that uses expo

I found a nice guide: https://blog.callstack.io/adding-an-example-app-to-your-react-native-library-d23b9741a19c
The expo demo app should have a simple index.js or App.js file that imports and uses example/AllStories.js, in a similar fashion to example/native/index.js and example/web/example.js.
This would really help me as I had trouble with the native build of the example app on both Android and iOS.
I hope to contribute this in the near future.

You are genious


CSS Styling

modify the spacing and add color to the web page

did not complete css framework, but added spacing and color to page.


Avoid reinstalling pkgs if config has not changed

Summary
The main time sink when doing devbox shell or devbox run is installing the nix packages. Most of the time, the packages actually haven't changed and there's really no need to "reinstall" anything (reinstall is in quotes because we're not reinstalling anything, just checking the packages are actually installed).
This PR writes a SHA256 sum of config.json into a file. At install time, we check the file and see if it matches the checksum, and if so, we skip the install altogether.  Reduces latency from ~12 seconds to ~1 second on my devbox.json with 8 packages.
Of course, this comes at a cost: we don't always want to skip the install. Maybe the user mucked around the Nix store without modifying devbox.json, or maybe I don't know, something else happened that breaks the assumption that no changes in devbox.json means that our nix packages are gucci. So (1) the cache only works within a 1 hour timeframe, which should help developers who don't change their config but who run devbox run often while develping, and (2) we should build an escape hatch. (2) is not in this PR. Of course, the user can just manually delete the hash file, or make a change to the config in order to force the install, but that's not very user-friendly.
How was it tested?
> ./devbox run -- echo "hi"
Installing nix packages. This may take a while...
✓ [1/8] nixpkgs
✓ [2/8] go_1_19
✓ [3/8] golangci-lint
✓ [4/8] hello
✓ [5/8] redis
✓ [6/8] ruby
✓ [7/8] cowsay
✓ [8/8] curl
Done.
hi

> ls -la .devbox/gen/hash.txt   # look at time
-rw-r--r--  1 rodrigo.ipince  staff  32 Jan 25 00:45 .devbox/gen/hash.txt

> ./devbox run -- echo "hi"   # after a couple mins
hi

> ls -la .devbox/gen/hash.txt   # check mod time was not changed, so we eventually expire cache (also verified by changing expiry time to 1 minute)
-rw-r--r--  1 rodrigo.ipince  staff  32 Jan 25 00:45 .devbox/gen/hash.txt

> echo "" >> devbox.json   # invalidate checksum
> ./devbox run -- echo "hi"
Installing nix packages. This may take a while...
✓ [1/8] nixpkgs
✓ [2/8] go_1_19
✓ [3/8] golangci-lint
✓ [4/8] hello
✓ [5/8] redis
✓ [6/8] ruby
✓ [7/8] cowsay
✓ [8/8] curl
Done.
hi

> ./devbox rm curl   # uninstalls are not cached
Uninstalling nix packages. This may take a while...
✓ [1/7] nixpkgs
✓ [2/7] go_1_19
✓ [3/7] golangci-lint
✓ [4/7] hello
✓ [5/7] redis
✓ [6/7] ruby
✓ [7/7] cowsay
Done.
curl (curl-7.87.0) is now removed.

This change is simple enough, but I'm a bit wary of hidden consequences (aka caching is hard?). Happy to put behind a feature flag or something.

This is a neat idea!

Maybe the user mucked around the Nix store without modifying devbox.json, or maybe I don't know, something else happened that breaks the assumption that no changes in devbox.json means that our nix packages are gucci. So (1) the cache only works within a 1 hour timeframe, which should help developers who don't change their config but who run devbox run often while develping,

hmm I feel we're being a bit too careful here. If the user has mucked around with their /nix/store they are (1) an advanced user (2) doing something kinda rare (3) can be told to also "nuke their .devbox folder and try again".
We can then let this hash be valid for much longer (I'm thinking N days).
I feel that's an acceptable tradeoff for most of our users who are not nix experts.

This is good!
I think the 1 hour cache makes this pretty safe (and agree it could be longer).  We could also add the devbox version to cache hash which would invalidate any outdated cache. (For example a newer version of devbox might have more plugins that requires sym link update)
Main issue I have with merging this is that we could also achieve this by checking installed packages using nix-env -q which feels a bit cleaner?

Closing since we've changed approach to installing packages and it doesn't seem as slow anymore.


Expose acodex plugin

Add the plugin instance to acode.require
I'm trying to develop a plugin to run file that uses termux
So i want to be able to do something like:
terminal = acode.require('acodex').getTerminal();

if (terminal) {
  terminal.execute("python " + filepath )
}

Done ,
Check v2.0.0

It works but can you make it so we can do something like:
result = await acodex.execute('ls');
acodex.openInTerminal('ls');

// or
let terminal = acodex.Terminal({ port: 9000 });
terminal.maximise();
terminal.execute('ls')

Because right now when I run the code it works but I don't see the output untill I open the terminal and I also want to see the prompt in the terminal
And also add a way to check if a terminal is currently opened.

Ok, wait for next update

Hi
I've uploaded the plugin
https://acode.foxdebug.com/plugin/acode.coderunner.plugin
Currently working on the stop button
Was hoping I could do something like.
run() {
 setStopBtn();
  execute(command).then(setRunBtn())
}

stop() {
  execute("^C")
}

Yes you can stop using the same execute method.
Ref: https://github.com/bajrangCoder/acode-plugin-acodex/blob/b832a70dd785390c734035ace8ccf00d876ab6af/src/main.js#L615
For eg:
execute("\x03"); // Ctrl+c , it will intrupt the running process

I thought these methods are enough.
Methods:
execute(command)
isMinimized()
isTerminalOpened()
maximiseTerminal()
openTerminal(termContainerHeight, port)
closeTerminal()
convertAcodeUriToTermReadable(path)

It is but I was wondering if it would be possible to make like tabs for the terminals
So something like:
new acodex.Terminal()
will create a new tab
So you only need to expose getActiveTerminal function and Terminal class
Or should I try to create it then submit a pull request??

I will think about it later . because there is no any implementation of multiple sessions or tabs in AcodeX .
If you want you can. But first wait for v2.1.0 because I have changed a lot of things .

Version 2.1.0 will be out either today or tomorrow.

Okayy..


New Motherboard Platform / NIC To Add

Please add:
ASUS ROG STRIX B550-I GAMING.
This is an AM4 AMD Ryzen platform. The motherboard delivers with an Intel Wi-Fi 6 AX-200 M.2 NIC installed.
Requires the addition of:
hw.vmm.amdvi.enable=1
along with the usual
pptdevs="{num}/{num}/{num}"
to /boot/loader.conf
Been testing for about 4 weeks now, and have had 0 issues. Performance difference between using FreeBSD's if_iwlwifi.ko driver (limited to a/b/g modes) and wifibox is about 7x or 8x network speed, along with all the WiFi 6 AX features of course & 0 dropped frames.
Currently mostly tested on FreeBSD 14-CURRENT due to the CPU being a 5600G APU and using the iGPU, which requires most recent drm-kmod -- in particular drm-devel-kmod-5.7-xxxx

That is great to hear about another working configuration!  I created cdb565dd67f22efca39a11553e90ce0f552ab4b2 for this, please review it.
Interesting that you had to set hw.vmm.amdvi.enable explicitly.  Is not this something that is managed by vmm(4) automatically?  I never had to touch hw.vmm.iommu.enable for the activation of Intel VT-d.  I am not using the loader.conf(5) entry either, I believe this is also something that vmm(4) does not require.

Hrm, https://wiki.freebsd.org/bhyve/pci_passthru says that AMD-Vi passthrough support is disabled by default.  In that case, it might worth a mention in the man page.

Indeed. This had me miffed as well. I suppose it because the Ryzen (AMD-Vi v1 or v2 ?) platform isn't as broadly adopted among BSD servers... or perhaps it is a memory-piracy mitigation strategy. In any case, inspecting dmesg -a very quickly led to the need to add it to loader.conf
Ideally, I'd test it with 13-RELEASE and/or 13-STABLE as well, but I'd lose drm-devel-kmod support; which is outside my purposes. I suspect it probably works all the same however.
I suppose it might best to mention in the man, to make it a clear distinction to any users from the start, to enable hw.vmm.amdvi.enable=1 & avoid having to go on a wild goose chase -- instead of there being a small "oh BTW this" note at the bottom of the manpage. I'm old-school, tend to look at all the caveats first, doubt there's many who do the same.

Okay, I have updated the manual page.  I guess the issue can now be closed.


Fixes async demotions to Cold not being noticed

Description
This fixes the bug where when a peer disconnected it could no longer be connected to due to the governor not picking it up.

Yes there's an issue to write all PeerSelection tests into Testnet cases


Line density maps

I can't find a module to do a line density map in qgis 3.0 or qgis 2.18 LTR. Similar to spatial Analist Line Density tool in ArcGIS. If you can help me with that i really appreciate

Please ask for help in qgis-user list (see support channels).
This repository is actually dedicated to issues related to the main website of QGIS project.
Thanks for your understanding. I'm closing.